/* _content/THOTH/AI/Phoenix/reports/BusinessDevelopmentReport.razor.rz.scp.css */
.bd-report[b-ho0f10i6rh] {
    --bd-navy: #091b35;
    --bd-gold: #c5a260;
    --bd-ink: #142842;
    --bd-muted: #68768a;
    max-width: 1450px;
    margin: 0 auto;
    padding: 36px 36px 64px;
    color: var(--bd-ink)
}

.bd-topline[b-ho0f10i6rh], .bd-eyebrow[b-ho0f10i6rh], .bd-period[b-ho0f10i6rh], .bd-kpi-label[b-ho0f10i6rh], .bd-panel-tag[b-ho0f10i6rh], .bd-partner-table th[b-ho0f10i6rh], .bd-footnote[b-ho0f10i6rh] {
    font-size: 11px;
    font-weight: 750;
    letter-spacing: .14em
}

.bd-topline[b-ho0f10i6rh] {
    color: #6d7b8e;
    margin-bottom: 28px
}

    .bd-topline span[b-ho0f10i6rh] {
        color: var(--bd-gold);
        padding: 0 10px
    }

.bd-heading[b-ho0f10i6rh] {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 35px
}

.bd-eyebrow[b-ho0f10i6rh] {
    color: #a17b3b;
    margin-bottom: 10px
}

.bd-heading h1[b-ho0f10i6rh] {
    font-size: clamp(32px,3.5vw,53px);
    font-weight: 750;
    letter-spacing: -.045em;
    line-height: 1.08;
    margin: 0 0 14px
}

.bd-gold-dot[b-ho0f10i6rh] {
    color: var(--bd-gold)
}

.bd-heading p[b-ho0f10i6rh], .bd-panel-description[b-ho0f10i6rh], .bd-people p[b-ho0f10i6rh] {
    color: var(--bd-muted);
    font-size: 14px;
    margin: 0;
    line-height: 1.6
}

.bd-controls[b-ho0f10i6rh] {
    min-width: 255px
}

    .bd-controls label[b-ho0f10i6rh] {
        display: block;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: .08em;
        margin-bottom: 8px
    }

.bd-control-row[b-ho0f10i6rh] {
    display: flex;
    gap: 8px
}

    .bd-control-row select[b-ho0f10i6rh], .bd-control-row button[b-ho0f10i6rh] {
        border-radius: 8px;
        padding: 11px 12px;
        font-size: 13px
    }

    .bd-control-row select[b-ho0f10i6rh] {
        background: white;
        color: var(--bd-ink);
        border: 1px solid #d8dfe8;
        min-width: 88px
    }

    .bd-control-row button[b-ho0f10i6rh] {
        background: var(--bd-navy);
        color: white;
        border: 1px solid var(--bd-navy);
        cursor: pointer;
        white-space: nowrap
    }

        .bd-control-row button:disabled[b-ho0f10i6rh] {
            opacity: .6;
            cursor: wait
        }

.bd-period[b-ho0f10i6rh] {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #6b7788;
    margin-bottom: 15px
}

.bd-period-mark[b-ho0f10i6rh] {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--bd-gold)
}

.bd-kpis[b-ho0f10i6rh] {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 14px;
    margin-bottom: 20px
}

.bd-kpi[b-ho0f10i6rh] {
    border-radius: 12px;
    background: var(--bd-navy);
    color: white;
    padding: 23px 23px 22px;
    min-height: 164px;
    position: relative;
    overflow: hidden
}

    .bd-kpi[b-ho0f10i6rh]:after {
        content: "";
        position: absolute;
        width: 110px;
        height: 110px;
        border: 1px solid rgba(197,162,96,.14);
        border-radius: 50%;
        right: -55px;
        bottom: -56px
    }

.bd-kpi-label[b-ho0f10i6rh] {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    color: #c6d0df
}

    .bd-kpi-label span[b-ho0f10i6rh] {
        color: #d5b977
    }



.bd-panels[b-ho0f10i6rh] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px
}

.bd-panel[b-ho0f10i6rh] {
    background: #fff;
    border: 1px solid #e0e5ec;
    border-radius: 12px;
    padding: 27px;
    min-width: 0;
    box-shadow: 0 7px 30px rgba(9,27,53,.035)
}

.bd-panel-heading[b-ho0f10i6rh] {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 14px
}

.bd-panel h2[b-ho0f10i6rh], .bd-people h2[b-ho0f10i6rh] {
    font-size: 22px;
    letter-spacing: -.025em;
    margin: 0 0 10px
}

.bd-panel-tag[b-ho0f10i6rh] {
    color: #8b6a34;
    background: #f7f0e3;
    border-radius: 6px;
    padding: 7px 9px;
    white-space: nowrap
}

.bd-panel-description[b-ho0f10i6rh] {
    margin-bottom: 28px
}

.bd-bars[b-ho0f10i6rh] {
    display: grid;
    gap: 22px
}

.bd-bar-head[b-ho0f10i6rh] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    margin-bottom: 9px
}

    .bd-bar-head span[b-ho0f10i6rh] {
        overflow-wrap: anywhere
    }

    .bd-bar-head strong[b-ho0f10i6rh] {
        font-size: 14px;
        font-variant-numeric: tabular-nums
    }

.bd-bar-track[b-ho0f10i6rh] {
    height: 9px;
    background: #edf0f4;
    border-radius: 99px;
    overflow: hidden
}

.bd-bar-fill[b-ho0f10i6rh] {
    height: 100%;
    background: linear-gradient(90deg,#a67d3c,#e3c587);
    border-radius: 99px
}

.bd-partner-table-wrap[b-ho0f10i6rh] {
    max-height: 460px;
    overflow: auto
}

.bd-partner-table[b-ho0f10i6rh] {
    border-collapse: collapse;
    width: 100%;
    font-size: 13px
}

    .bd-partner-table th[b-ho0f10i6rh] {
        text-align: left;
        color: #788496;
        border-bottom: 1px solid #e4e8ee;
        padding: 0 10px 12px
    }

        .bd-partner-table th:last-child[b-ho0f10i6rh], .bd-partner-table td:last-child[b-ho0f10i6rh] {
            text-align: right
        }

    .bd-partner-table td[b-ho0f10i6rh] {
        padding: 13px 10px;
        border-bottom: 1px solid #edf0f4
    }

        .bd-partner-table td:first-child[b-ho0f10i6rh] {
            overflow-wrap: anywhere
        }

        .bd-partner-table td strong[b-ho0f10i6rh] {
            color: #a27a37;
            font-size: 15px;
            font-variant-numeric: tabular-nums
        }

.bd-partner-mark[b-ho0f10i6rh] {
    display: inline-block;
    width: 7px;
    height: 7px;
    background: #c6a363;
    border-radius: 50%;
    margin-right: 11px
}

.bd-people[b-ho0f10i6rh] {
    margin-top: 20px;
    background: #f5f7fa;
    border: 1px solid #e0e5ec;
    border-radius: 12px;
    padding: 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px
}

.bd-people-stats[b-ho0f10i6rh] {
    display: flex;
    align-items: center;
    gap: 35px
}

    .bd-people-stats > div:not(.bd-people-divider)[b-ho0f10i6rh] {
        display: flex;
        flex-direction: column;
        gap: 6px
    }

    .bd-people-stats span[b-ho0f10i6rh] {
        font-size: 11px;
        color: #748195;
        font-weight: 750;
        letter-spacing: .13em
    }

    .bd-people-stats strong[b-ho0f10i6rh] {
        font-size: 38px;
        letter-spacing: -.04em;
        font-variant-numeric: tabular-nums
    }

.bd-people-divider[b-ho0f10i6rh] {
    width: 1px;
    height: 50px;
    background: #d6dce5
}

.bd-footnote[b-ho0f10i6rh] {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    color: #8290a1;
    margin-top: 23px;
    font-size: 10px;
    line-height: 1.7
}

.bd-empty[b-ho0f10i6rh], .bd-message[b-ho0f10i6rh] {
    padding: 32px;
    text-align: center;
    color: #6e7b8c;
    background: #f5f7fa;
    border-radius: 9px
}

.bd-message[b-ho0f10i6rh] {
    margin: 25px 0
}

.bd-error[b-ho0f10i6rh] {
    color: #a33d3d;
    background: #fff1f1
}

@media(max-width:1050px) {
    .bd-kpis[b-ho0f10i6rh] {
        grid-template-columns: repeat(2,minmax(0,1fr))
    }

    .bd-panels[b-ho0f10i6rh] {
        grid-template-columns: 1fr
    }
}

@media(max-width:650px) {
    .bd-report[b-ho0f10i6rh] {
        padding: 22px 15px 45px
    }

    .bd-heading[b-ho0f10i6rh], .bd-people[b-ho0f10i6rh] {
        flex-direction: column;
        align-items: stretch
    }

    .bd-controls[b-ho0f10i6rh] {
        min-width: 0
    }

    .bd-kpis[b-ho0f10i6rh] {
        gap: 9px
    }

    .bd-kpi[b-ho0f10i6rh] {
        padding: 18px 14px;
        min-height: 143px
    }

    .bd-kpi-label[b-ho0f10i6rh] {
        font-size: 9px
    }

    .bd-kpi-caption[b-ho0f10i6rh] {
        font-size: 11px
    }

    .bd-panel[b-ho0f10i6rh] {
        padding: 20px 16px
    }

    .bd-people-stats[b-ho0f10i6rh] {
        justify-content: space-around
    }

    .bd-footnote[b-ho0f10i6rh] {
        flex-direction: column
    }
}

/* 91C refinement: Administration-inspired reports sidebar */
.bd-workspace[b-ho0f10i6rh] {
    display: flex;
    align-items: stretch;
    gap: 22px;
    min-width: 0;
    padding: 26px 28px 52px;
    background: #f5f7fa;
    min-height: calc(100vh - 85px)
}

.bd-sidebar[b-ho0f10i6rh] {
    flex: 0 0 228px;
    width: 228px;
    align-self: flex-start;
    position: sticky;
    top: 20px;
    background: #f3eee7;
    border: 1px solid #e2d7ca;
    border-radius: 16px;
    padding: 22px 13px;
    box-shadow: 0 8px 24px rgba(9,27,53,.035)
}

.bd-sidebar-heading[b-ho0f10i6rh] {
    color: #8c5b35;
    font-weight: 800;
    letter-spacing: .16em;
    font-size: 13px;
    margin: 3px 12px 21px
}

.bd-sidebar-link[b-ho0f10i6rh] {
    display: block;
    padding: 13px 12px;
    margin-bottom: 6px;
    border-radius: 10px;
    color: #5a4336;
    text-decoration: none;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.35
}

    .bd-sidebar-link:hover[b-ho0f10i6rh], .bd-sidebar-link.active[b-ho0f10i6rh] {
        background: #e8d9c8;
        color: #603b28;
        text-decoration: none
    }

.bd-report[b-ho0f10i6rh] {
    flex: 1;
    min-width: 0;
    max-width: none;
    margin: 0;
    padding: 18px 10px 55px
}
/* Editorial white cards, based on supplied visual reference */
.bd-kpi[b-ho0f10i6rh] {
    background: #fff;
    color: #091b35;
    border: 1px solid #d4dce5;
    border-radius: 15px;
    box-shadow: 0 5px 18px rgba(9,27,53,.045);
    padding: 23px 22px 22px;
    min-height: 196px
}

    .bd-kpi[b-ho0f10i6rh]:after {
        display: none
    }

.bd-kpi-label[b-ho0f10i6rh] {
    justify-content: flex-start;
    align-items: center;
    gap: 12px;
    color: #091b35;
    font-size: 12px;
    letter-spacing: .11em;
    font-weight: 800
}

.bd-kpi-icon[b-ho0f10i6rh] {
    font-family: Georgia,serif;
    font-size: 30px;
    font-weight: 400;
    color: #9c740f;
    line-height: 1;
    min-width: 28px;
    text-align: center
}

.bd-kpi-number[b-ho0f10i6rh] {
    font-family: Georgia,'Times New Roman',serif;
    font-weight: 500;
    font-size: clamp(40px,4.4vw,70px);
    letter-spacing: -.055em;
    margin-top: 22px
}

.bd-kpi-rule[b-ho0f10i6rh] {
    height: 2px;
    width: 34px;
    background: #b18a2e;
    margin-top: 17px
}

.bd-kpi-caption[b-ho0f10i6rh] {
    color: #263a54;
    font-size: 13px;
    margin-top: 15px
}
/* Vertical discipline chart */
.bd-column-chart[b-ho0f10i6rh] {
    display: flex;
    align-items: stretch;
    gap: 12px;
    min-height: 300px;
    padding: 15px 0 0;
    overflow-x: auto
}

.bd-column-item[b-ho0f10i6rh] {
    flex: 1 0 75px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center
}

.bd-column-value[b-ho0f10i6rh] {
    font-size: 13px;
    color: #091b35;
    font-variant-numeric: tabular-nums
}

.bd-column-area[b-ho0f10i6rh] {
    width: 100%;
    height: 205px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    border-bottom: 1px solid #d8dfe8;
    background: repeating-linear-gradient(to top,transparent 0,transparent 50px,#eef1f5 51px)
}

.bd-column-bar[b-ho0f10i6rh] {
    width: min(55%,65px);
    min-height: 2px;
    border-radius: 6px 6px 0 0;
    background: linear-gradient(180deg,#d9b56d,#a77a32)
}

.bd-column-label[b-ho0f10i6rh] {
    font-size: 11px;
    color: #43546a;
    line-height: 1.35;
    overflow-wrap: anywhere;
    max-width: 100%
}

@media(max-width:1150px) {
    .bd-workspace[b-ho0f10i6rh] {
        gap: 14px;
        padding: 20px 15px
    }

    .bd-sidebar[b-ho0f10i6rh] {
        flex-basis: 185px;
        width: 185px
    }

    .bd-kpis[b-ho0f10i6rh] {
        grid-template-columns: repeat(2,minmax(0,1fr))
    }
}

@media(max-width:720px) {
    .bd-workspace[b-ho0f10i6rh] {
        display: block;
        padding: 12px
    }

    .bd-sidebar[b-ho0f10i6rh] {
        position: static;
        width: auto;
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 8px;
        padding: 10px;
        margin-bottom: 10px
    }

    .bd-sidebar-heading[b-ho0f10i6rh] {
        margin: 0 10px 0 2px
    }

    .bd-sidebar-link[b-ho0f10i6rh] {
        margin: 0;
        padding: 10px
    }

    .bd-report[b-ho0f10i6rh] {
        padding: 16px 2px 40px
    }

    .bd-kpi[b-ho0f10i6rh] {
        min-height: 170px;
        padding: 17px
    }

    .bd-kpi-number[b-ho0f10i6rh] {
        font-size: 46px
    }

    .bd-column-chart[b-ho0f10i6rh] {
        gap: 8px
    }
}

/* 91C.5: white report heading, visual KPI illustrations, visible vertical bars */
.bd-heading-card[b-ho0f10i6rh] {
    background: #fff;
    border: 1px solid #dce3eb;
    border-radius: 18px;
    padding: 28px 32px;
    box-shadow: 0 5px 20px rgba(9,27,53,.035);
    margin-bottom: 28px
}



.bd-column-area[b-ho0f10i6rh] {
    position: relative;
    min-height: 205px
}

.bd-column-bar[b-ho0f10i6rh] {
    display: block;
    flex: none;
    min-height: 3px;
    background: #c79d51 !important;
    box-shadow: inset 0 0 0 1px rgba(107,73,22,.06);
    position: relative;
    z-index: 2
}

@media(max-width:720px) {
    .bd-heading-card[b-ho0f10i6rh] {
        padding: 20px 16px
    }

    .bd-kpi-art[b-ho0f10i6rh] {
        font-size: 45px;
        right: 10px;
        bottom: 40px
    }

    .bd-kpi-number[b-ho0f10i6rh] {
        max-width: 100%
    }
}


/* New Matters drill-down modal � append to existing scoped CSS */
.bd-kpi-clickable[b-ho0f10i6rh] {
    width: 100%;
    font: inherit;
    text-align: left;
    cursor: pointer;
    color: inherit;
}

    .bd-kpi-clickable:hover[b-ho0f10i6rh] {
        box-shadow: 0 10px 32px rgba(9,27,53,.14);
        transform: translateY(-2px);
    }

    .bd-kpi-clickable:focus-visible[b-ho0f10i6rh] {
        outline: 3px solid #bb9651;
        outline-offset: 3px;
    }

.bd-modal-backdrop[b-ho0f10i6rh] {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(4,15,33,.66);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 24px;
}

.bd-modal[b-ho0f10i6rh] {
    width: min(1250px,96vw);
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 28px 85px rgba(0,0,0,.3);
    color: #091b35;
}

.bd-modal-header[b-ho0f10i6rh] {
    padding: 22px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e8ebf0;
}

    .bd-modal-header h2[b-ho0f10i6rh] {
        margin: 4px 0 0;
        font-size: 26px;
    }

.bd-modal-close[b-ho0f10i6rh] {
    background: transparent;
    border: 0;
    color: #091b35;
    font-size: 32px;
    cursor: pointer;
    line-height: 1;
}

.bd-modal-toolbar[b-ho0f10i6rh] {
    padding: 18px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}

.bd-modal-search[b-ho0f10i6rh] {
    border: 1px solid #d8dde5;
    border-radius: 9px;
    padding: 11px 13px;
    min-width: min(420px,100%);
    max-width: 100%;
    font: inherit;
}

.bd-modal-table-wrap[b-ho0f10i6rh] {
    overflow: auto;
    min-height: 120px;
    flex: 1;
}

.bd-modal-table[b-ho0f10i6rh] {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

    .bd-modal-table th[b-ho0f10i6rh] {
        position: sticky;
        top: 0;
        z-index: 1;
        background: #f3f5f8;
        color: #526174;
        text-align: left;
        padding: 13px 15px;
        white-space: nowrap;
    }

    .bd-modal-table td[b-ho0f10i6rh] {
        border-top: 1px solid #edf0f4;
        padding: 12px 15px;
        vertical-align: top;
    }

        .bd-modal-table td:nth-child(3)[b-ho0f10i6rh] {
            min-width: 240px;
        }

    .bd-modal-table tbody tr:hover[b-ho0f10i6rh] {
        background: #faf9f5;
    }

.bd-modal-footer[b-ho0f10i6rh] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 16px 28px;
    border-top: 1px solid #e8ebf0;
}

.bd-modal-pager[b-ho0f10i6rh] {
    display: flex;
    gap: 8px;
}

    .bd-modal-pager button[b-ho0f10i6rh] {
        border: 1px solid #d8dde5;
        border-radius: 8px;
        background: #fff;
        color: #091b35;
        padding: 8px 14px;
        cursor: pointer;
    }

        .bd-modal-pager button:disabled[b-ho0f10i6rh] {
            opacity: .4;
            cursor: default;
        }

.bd-modal-status[b-ho0f10i6rh] {
    padding: 24px 28px;
}

@media(max-width:650px) {
    .bd-modal-backdrop[b-ho0f10i6rh] {
        padding: 8px;
    }

    .bd-modal[b-ho0f10i6rh] {
        max-height: 96vh;
    }

    .bd-modal-header[b-ho0f10i6rh], .bd-modal-toolbar[b-ho0f10i6rh], .bd-modal-footer[b-ho0f10i6rh] {
        padding: 14px;
    }

    .bd-modal-search[b-ho0f10i6rh] {
        min-width: 0;
        width: 100%;
    }
}
.bd-kpi-number[b-ho0f10i6rh] {
    font-size: clamp(35px,3.2vw,50px);
    font-weight: 700;
    letter-spacing: -.05em;
    margin-top: 17px;
    line-height: 1
}

.bd-kpi-caption[b-ho0f10i6rh] {
    font-size: 12px;
    color: #aab8c9;
    margin-top: 12px
}

.bd-kpi[b-ho0f10i6rh] {
    isolation: isolate
}

.bd-kpi-number[b-ho0f10i6rh], .bd-kpi-label[b-ho0f10i6rh], .bd-kpi-rule[b-ho0f10i6rh], .bd-kpi-caption[b-ho0f10i6rh] {
    position: relative;
    z-index: 1
}

.bd-kpi-art[b-ho0f10i6rh] {
    position: absolute;
    right: 16px;
    bottom: 27px;
    font-size: clamp(52px,5vw,85px);
    line-height: 1;
    opacity: .82;
    filter: drop-shadow(0 8px 10px rgba(9,27,53,.12));
    transform: rotate(-9deg);
    pointer-events: none;
    z-index: 0
}

.bd-kpi-art-2[b-ho0f10i6rh] {
    transform: rotate(8deg)
}

.bd-kpi-art-3[b-ho0f10i6rh] {
    transform: rotate(-5deg)
}

.bd-kpi-art-4[b-ho0f10i6rh] {
    transform: rotate(9deg)
}

.bd-kpi-number[b-ho0f10i6rh] {
    max-width: 75%
}
/* New Matters KPI � proper vertical layout */

.bd-kpi-clickable[b-ho0f10i6rh] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

    .bd-kpi-clickable .bd-kpi-label[b-ho0f10i6rh] {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .bd-kpi-clickable .bd-kpi-number[b-ho0f10i6rh] {
        display: block;
        width: 100%;
        max-width: none;
        flex-shrink: 0;
    }

    .bd-kpi-clickable .bd-kpi-rule[b-ho0f10i6rh] {
        display: block;
    }

    .bd-kpi-clickable .bd-kpi-caption[b-ho0f10i6rh] {
        display: block;
        width: 65%;
        max-width: 65%;
        margin-top: 12px;
        line-height: 1.5;
        text-align: left;
    }

    .bd-kpi-clickable .bd-kpi-art[b-ho0f10i6rh] {
        right: 14px;
        bottom: 18px;
    }
/* _content/THOTH/AI/Phoenix/reports/SharePointReport.razor.rz.scp.css */
.sp-workspace[b-9i2d3239dd] {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    min-width: 0;
    padding: 24px;
    background: #f7f5f0;
    color: #091b35;
    font-family: inherit
}

.sp-sidebar[b-9i2d3239dd] {
    flex: 0 0 205px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 24px 15px;
    background: #f0ece3;
    border-radius: 18px
}

.sp-sidebar-heading[b-9i2d3239dd] {
    font-size: 11px;
    letter-spacing: 2px;
    font-weight: 800;
    color: #a17a2d;
    padding: 0 12px 13px
}

.sp-sidebar-link[b-9i2d3239dd] {
    display: block;
    text-decoration: none;
    color: #263a54;
    font-weight: 650;
    font-size: 14px;
    padding: 12px;
    border-radius: 9px
}

    .sp-sidebar-link:hover[b-9i2d3239dd], .sp-sidebar-link.active[b-9i2d3239dd] {
        background: #fff;
        color: #091b35;
        box-shadow: 0 2px 10px #091b3510
    }

.sp-report[b-9i2d3239dd] {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px
}

.sp-heading[b-9i2d3239dd], .sp-panel[b-9i2d3239dd] {
    background: #fff;
    border-radius: 20px;
    padding: 30px 34px;
    box-shadow: 0 5px 22px #091b350a
}

.sp-heading[b-9i2d3239dd] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px
}

.sp-eyebrow[b-9i2d3239dd] {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.8px;
    color: #a17a2d
}

.sp-heading h1[b-9i2d3239dd] {
    font-size: clamp(26px,3vw,39px);
    margin: 10px 0 7px;
    font-weight: 800;
    letter-spacing: -1px;
    color: #091b35
}

.sp-gold-dot[b-9i2d3239dd] {
    color: #b58b36
}

.sp-heading p[b-9i2d3239dd], .sp-panel p[b-9i2d3239dd] {
    margin: 0;
    color: #68788b;
    font-size: 14px;
    line-height: 1.65
}

.sp-refresh[b-9i2d3239dd] {
    background: #091b35;
    border: 0;
    color: white;
    border-radius: 10px;
    padding: 13px 20px;
    font-weight: 650;
    cursor: pointer;
    white-space: nowrap
}

    .sp-refresh:hover[b-9i2d3239dd] {
        background: #193653
    }

    .sp-refresh:disabled[b-9i2d3239dd] {
        opacity: .55;
        cursor: wait
    }

.sp-period[b-9i2d3239dd] {
    font-size: 12px;
    letter-spacing: 1.3px;
    font-weight: 800;
    color: #53657a;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 0 4px
}

.sp-period-mark[b-9i2d3239dd] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #c39a48
}

.sp-kpis[b-9i2d3239dd] {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 20px
}

.sp-kpi[b-9i2d3239dd] {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    min-height: 216px;
    padding: 26px 30px;
    background: #fff;
    border: 1px solid #eee9df;
    border-radius: 18px;
    cursor: pointer;
    color: #091b35;
    box-shadow: 0 5px 22px #091b350a;
    transition: transform .18s,box-shadow .18s
}

    .sp-kpi:hover[b-9i2d3239dd] {
        transform: translateY(-2px);
        box-shadow: 0 12px 30px #091b3518
    }

    .sp-kpi:focus-visible[b-9i2d3239dd] {
        outline: 3px solid #b58b36;
        outline-offset: 3px
    }

.sp-kpi-label[b-9i2d3239dd] {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.4px;
    z-index: 1
}

.sp-kpi-icon[b-9i2d3239dd] {
    font-size: 20px
}

.sp-kpi-number[b-9i2d3239dd] {
    font-size: clamp(44px,5vw,64px);
    line-height: 1.15;
    margin-top: 18px;
    z-index: 1;
    font-weight: 800
}

.sp-kpi-rule[b-9i2d3239dd] {
    display: block;
    width: 58px;
    height: 3px;
    background: #c49a45;
    border-radius: 3px;
    margin-top: 12px;
    z-index: 1
}

.sp-kpi-caption[b-9i2d3239dd] {
    font-size: 13px;
    line-height: 1.5;
    color: #66788c;
    margin-top: 12px;
    max-width: 72%;
    z-index: 1
}

.sp-kpi-art[b-9i2d3239dd] {
    position: absolute;
    right: 23px;
    bottom: 24px;
    font-size: 66px;
    opacity: .13;
    pointer-events: none
}

.sp-panel h2[b-9i2d3239dd] {
    font-size: 22px;
    margin: 10px 0 8px;
    color: #091b35
}

.sp-bars[b-9i2d3239dd] {
    display: grid;
    gap: 24px;
    margin-top: 27px
}

.sp-bar-label[b-9i2d3239dd] {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 10px
}

.sp-bar-track[b-9i2d3239dd] {
    height: 16px;
    background: #f1f2f5;
    border-radius: 30px;
    overflow: hidden
}

.sp-bar[b-9i2d3239dd] {
    height: 100%;
    border-radius: 30px;
    transition: width .3s
}

.sp-bar-corporate[b-9i2d3239dd] {
    background: #c49a45
}

.sp-bar-dispute[b-9i2d3239dd] {
    background: #234a75
}

.sp-footnote[b-9i2d3239dd] {
    color: #7a8898;
    font-size: 12px;
    padding: 0 5px
}

.sp-message[b-9i2d3239dd] {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    color: #34445c
}

.sp-error[b-9i2d3239dd] {
    color: #9d3131
}

.sp-modal-backdrop[b-9i2d3239dd] {
    position: fixed;
    inset: 0;
    background: #07182b9c;
    z-index: 3000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 24px
}

.sp-modal[b-9i2d3239dd] {
    background: #fff;
    color: #091b35;
    width: min(1100px,100%);
    max-height: min(88vh,900px);
    display: flex;
    flex-direction: column;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 30px 90px #0005
}

.sp-modal-header[b-9i2d3239dd] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 25px 30px;
    border-bottom: 1px solid #e9edf1
}

    .sp-modal-header h2[b-9i2d3239dd] {
        font-size: 26px;
        margin: 7px 0 0
    }

.sp-modal-close[b-9i2d3239dd] {
    border: 0;
    background: #f1f3f6;
    border-radius: 9px;
    width: 37px;
    height: 37px;
    font-size: 25px;
    cursor: pointer;
    color: #142a45
}

.sp-modal-toolbar[b-9i2d3239dd] {
    padding: 17px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    color: #5b6c7f;
    font-size: 14px;
    flex-wrap: wrap
}

.sp-modal-search[b-9i2d3239dd] {
    width: min(410px,100%);
    padding: 11px 13px;
    border: 1px solid #d9e0e8;
    border-radius: 9px;
    font: inherit;
    color: #091b35
}

.sp-modal-table-wrap[b-9i2d3239dd] {
    overflow: auto;
    min-height: 100px
}

.sp-modal-table[b-9i2d3239dd] {
    border-collapse: collapse;
    width: 100%;
    font-size: 13px;
    text-align: left
}

    .sp-modal-table th[b-9i2d3239dd] {
        position: sticky;
        top: 0;
        background: #f3f5f8;
        color: #53657a;
        font-size: 11px;
        letter-spacing: .5px;
        white-space: nowrap;
        padding: 14px 17px
    }

    .sp-modal-table td[b-9i2d3239dd] {
        padding: 13px 17px;
        border-bottom: 1px solid #eef0f3;
        vertical-align: top;
        line-height: 1.5
    }

    .sp-modal-table tbody tr:hover[b-9i2d3239dd] {
        background: #fbf9f4
    }

    .sp-modal-table td:nth-child(3)[b-9i2d3239dd] {
        min-width: 260px
    }

.sp-modal-status[b-9i2d3239dd] {
    padding: 25px 30px;
    color: #66788c
}

.sp-modal-footer[b-9i2d3239dd] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 16px 30px;
    border-top: 1px solid #e9edf1;
    font-size: 13px;
    color: #66788c;
    flex-wrap: wrap
}

.sp-modal-pager[b-9i2d3239dd] {
    display: flex;
    gap: 8px
}

    .sp-modal-pager button[b-9i2d3239dd] {
        padding: 9px 15px;
        border-radius: 8px;
        background: #091b35;
        color: white;
        border: 0;
        cursor: pointer
    }

        .sp-modal-pager button:disabled[b-9i2d3239dd] {
            background: #e9edf1;
            color: #94a0ac;
            cursor: default
        }

@media(max-width:850px) {
    .sp-workspace[b-9i2d3239dd] {
        flex-direction: column;
        padding: 14px
    }

    .sp-sidebar[b-9i2d3239dd] {
        flex: auto;
        width: 100%;
        padding: 12px;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center
    }

    .sp-sidebar-heading[b-9i2d3239dd] {
        padding: 8px
    }

    .sp-heading[b-9i2d3239dd] {
        padding: 22px;
        align-items: flex-start;
        flex-direction: column
    }

    .sp-kpis[b-9i2d3239dd] {
        grid-template-columns: 1fr
    }

    .sp-panel[b-9i2d3239dd] {
        padding: 22px
    }

    .sp-modal-backdrop[b-9i2d3239dd] {
        padding: 10px
    }

    .sp-modal-header[b-9i2d3239dd], .sp-modal-toolbar[b-9i2d3239dd], .sp-modal-footer[b-9i2d3239dd] {
        padding: 15px
    }
}
/* _content/THOTH/Components/KnowledgeBase/ChunkCard.razor.rz.scp.css */
/* Styles an interactive Knowledge Base chunk inspection card. */

.chunk-card[b-5osmxo68ia] {
    overflow: hidden;
    border: 1px solid var(--bs-border-color);
    border-radius: 1rem;
    background: var(--bs-body-bg);
    box-shadow: 0 0.35rem 1.25rem rgba(0, 0, 0, 0.05);
}

.chunk-card-header[b-5osmxo68ia] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--bs-border-color);
    background: var(--bs-secondary-bg);
}

.chunk-heading[b-5osmxo68ia] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.chunk-number[b-5osmxo68ia] {
    font-size: 1rem;
    font-weight: 700;
}

.chunk-token-count[b-5osmxo68ia] {
    padding: 0.25rem 0.55rem;
    border-radius: 999px;
    background: var(--bs-tertiary-bg);
    color: var(--bs-secondary-color);
    font-size: 0.78rem;
    font-weight: 600;
}

.chunk-card-body[b-5osmxo68ia] {
    padding: 1.25rem;
}

.chunk-metadata-grid[b-5osmxo68ia] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: hidden;
    margin-bottom: 1.5rem;
    border: 1px solid var(--bs-border-color);
    border-radius: 0.75rem;
}

.chunk-metadata-item[b-5osmxo68ia] {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 0.9rem 1rem;
    border-right: 1px solid var(--bs-border-color);
    border-bottom: 1px solid var(--bs-border-color);
}

    .chunk-metadata-item:nth-child(even)[b-5osmxo68ia] {
        border-right: 0;
    }

.chunk-metadata-wide[b-5osmxo68ia] {
    grid-column: 1 / -1;
    border-right: 0;
}

.chunk-metadata-label[b-5osmxo68ia] {
    margin-bottom: 0.3rem;
    color: var(--bs-secondary-color);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.chunk-metadata-value[b-5osmxo68ia] {
    min-width: 0;
    color: var(--bs-body-color);
    font-size: 0.9rem;
}

.chunk-break[b-5osmxo68ia] {
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.chunk-text-section[b-5osmxo68ia] {
    min-width: 0;
}

.chunk-text-header[b-5osmxo68ia] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 0.85rem;
}

    .chunk-text-header h3[b-5osmxo68ia] {
        margin: 0 0 0.2rem;
        font-size: 1rem;
    }

    .chunk-text-header p[b-5osmxo68ia] {
        margin: 0;
        color: var(--bs-secondary-color);
        font-size: 0.85rem;
    }

.chunk-actions[b-5osmxo68ia] {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.chunk-content[b-5osmxo68ia] {
    width: 100%;
    margin: 0;
    padding: 1rem;
    border: 1px solid var(--bs-border-color);
    border-radius: 0.75rem;
    background: var(--bs-tertiary-bg);
    font-family: Consolas, monospace;
    font-size: .9rem;
    line-height: 1.6;
    white-space: pre-wrap;
    word-break: break-word;
}



.chunk-empty-state[b-5osmxo68ia] {
    padding: 1rem;
    border: 1px dashed var(--bs-border-color);
    border-radius: 0.75rem;
    color: var(--bs-secondary-color);
    text-align: center;
}

@media (max-width: 768px) {
    .chunk-metadata-grid[b-5osmxo68ia] {
        grid-template-columns: 1fr;
    }

    .chunk-metadata-item[b-5osmxo68ia],
    .chunk-metadata-item:nth-child(even)[b-5osmxo68ia],
    .chunk-metadata-wide[b-5osmxo68ia] {
        grid-column: auto;
        border-right: 0;
    }

    .chunk-text-header[b-5osmxo68ia] {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .chunk-card-header[b-5osmxo68ia] {
        align-items: flex-start;
        flex-direction: column;
    }

    .chunk-actions[b-5osmxo68ia] {
        width: 100%;
    }

        .chunk-actions .btn[b-5osmxo68ia] {
            flex: 1;
        }

    .chunk-list-header h2[b-5osmxo68ia] {
        color: var(--thoth-copper);
        font-weight: 700;
        margin: 0;
    }

    .chunk-list-header p[b-5osmxo68ia] {
        color: var(--thoth-blue);
        margin-top: .35rem;
    }

    .chunk-count-badge[b-5osmxo68ia] {
        border: 1px solid var(--thoth-copper);
        color: var(--thoth-copper);
        background: #fffaf6;
        border-radius: 8px;
        padding: .25rem .6rem;
        font-size: .8rem;
        font-weight: 600;
    }
}
/* _content/THOTH/Components/KnowledgeBase/ChunkList.razor.rz.scp.css */
/* Styles the document chunk list container. */
.content-card[b-09iod5kmro] {
    padding: 1.5rem;
    border: 1px solid var(--bs-border-color);
    border-radius: 1rem;
    background: var(--bs-body-bg);
    box-shadow: 0 0.35rem 1.25rem rgba(0, 0, 0, 0.05);
}

.document-chunk-list[b-09iod5kmro] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
/* Styles individual chunks using copper headings and blue content. */
.chunk-card[b-09iod5kmro] {
    padding: 1rem 0;
    border-bottom: 1px solid var(--thoth-border);
}

    .chunk-card:last-child[b-09iod5kmro] {
        border-bottom: 0;
    }

.chunk-card-header[b-09iod5kmro] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.chunk-card h3[b-09iod5kmro] {
    margin: 0;
    color: var(--thoth-copper);
    font-size: 1.05rem;
    font-weight: 700;
}

.chunk-meta[b-09iod5kmro] {
    margin-top: 0.35rem;
    color: var(--thoth-blue);
    font-size: 0.85rem;
}

.chunk-content[b-09iod5kmro] {
    margin-top: 0.75rem;
    color: var(--thoth-blue);
    line-height: 1.75;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

/* Applies copper branding to the principal document section headings. */
.document-details-heading h1[b-09iod5kmro],
.document-metadata-card > h2[b-09iod5kmro],
.document-overview-card > h2[b-09iod5kmro],
.chunk-list-header > h2[b-09iod5kmro] {
    color: var(--thoth-copper);
    font-weight: 700;
}

/* Applies dark-blue branding to the document title and section content. */
.document-title-row h2[b-09iod5kmro],
.document-metadata-card strong[b-09iod5kmro],
.document-overview-card strong[b-09iod5kmro],
.chunk-card .chunk-meta[b-09iod5kmro],
.chunk-card .chunk-content[b-09iod5kmro] {
    color: var(--thoth-blue);
}
/* _content/THOTH/Components/KnowledgeBase/DocumentMetadata.razor.rz.scp.css */
/* Styles the document metadata card using the THOTH visual theme. */
.document-metadata-card[b-tpoic5zsys] {
    min-width: 0;
    padding: 1.5rem;
    border: 1px solid var(--thoth-border, #d9dde3);
    border-radius: 1rem;
    background: #ffffff;
    box-shadow: 0 0.35rem 1.25rem rgba(15, 23, 42, 0.06);
}

.document-metadata-header[b-tpoic5zsys] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

    .document-metadata-header h2[b-tpoic5zsys] {
        margin: 0;
        color: var(--thoth-copper, #954e0e);
        font-size: 1.5rem;
        font-weight: 700;
    }

    .document-metadata-header p[b-tpoic5zsys] {
        margin: 0.35rem 0 0;
        color: var(--thoth-blue, #121f6b);
    }

.metadata-grid[b-tpoic5zsys] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid var(--thoth-border, #d9dde3);
    border-radius: 0.75rem;
}

.metadata-item[b-tpoic5zsys] {
    display: grid;
    grid-template-columns: minmax(130px, 0.8fr) minmax(0, 1.2fr);
    align-items: baseline;
    gap: 1rem;
    min-width: 0;
    padding: 0.85rem 1rem;
    border-right: 1px solid var(--thoth-border, #d9dde3);
    border-bottom: 1px solid var(--thoth-border, #d9dde3);
}

    .metadata-item:nth-child(even)[b-tpoic5zsys] {
        border-right: 0;
    }

.metadata-item-wide[b-tpoic5zsys] {
    grid-column: 1 / -1;
    border-right: 0;
}

.metadata-label[b-tpoic5zsys] {
    color: var(--thoth-copper, #954e0e);
    font-size: 0.9rem;
    font-weight: 600;
}

.metadata-value[b-tpoic5zsys] {
    min-width: 0;
    color: var(--thoth-blue, #121f6b);
    font-size: 0.95rem;
}

strong.metadata-value[b-tpoic5zsys] {
    font-weight: 700;
}

code.metadata-value[b-tpoic5zsys] {
    padding: 0;
    background: transparent;
    color: var(--thoth-blue, #121f6b);
    font-family: inherit;
}

.metadata-break[b-tpoic5zsys] {
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.metadata-error[b-tpoic5zsys] {
    margin: 0.75rem;
    padding: 1rem;
    border: 1px solid rgba(220, 53, 69, 0.35);
    border-radius: 0.65rem;
    background: rgba(220, 53, 69, 0.06);
}

    .metadata-error .metadata-label[b-tpoic5zsys],
    .metadata-error .metadata-value[b-tpoic5zsys] {
        color: var(--thoth-danger, #dc3545);
    }

@media (max-width: 800px) {
    .document-metadata-header[b-tpoic5zsys] {
        flex-direction: column;
    }

    .metadata-grid[b-tpoic5zsys] {
        grid-template-columns: 1fr;
    }

    .metadata-item[b-tpoic5zsys],
    .metadata-item:nth-child(even)[b-tpoic5zsys],
    .metadata-item-wide[b-tpoic5zsys] {
        grid-column: auto;
        border-right: 0;
    }
}

@media (max-width: 520px) {
    .metadata-item[b-tpoic5zsys] {
        grid-template-columns: 1fr;
        gap: 0.25rem;
    }
}
/* _content/THOTH/Components/KnowledgeBase/DocumentStatistics.razor.rz.scp.css */
/* Styles the document indexing statistic cards. */
.document-statistics-grid[b-1kxln6lo0k] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.document-stat-card[b-1kxln6lo0k] {
    min-width: 0;
    padding: 1.25rem;
    border: 1px solid var(--bs-border-color);
    border-radius: 1rem;
    background: var(--bs-body-bg);
    box-shadow: 0 0.35rem 1.25rem rgba(0, 0, 0, 0.05);
}

    .document-stat-card span[b-1kxln6lo0k] {
        display: block;
        margin-bottom: 0.4rem;
        color: var(--bs-secondary-color);
        font-size: 0.85rem;
    }

    .document-stat-card strong[b-1kxln6lo0k] {
        display: block;
        font-size: 1.8rem;
        line-height: 1.1;
    }

.progress-stat-card[b-1kxln6lo0k] {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.progress[b-1kxln6lo0k] {
    width: 100%;
    height: 0.65rem;
    overflow: hidden;
    border-radius: 999px;
}

.progress-bar[b-1kxln6lo0k] {
    height: 100%;
}

@media (max-width: 992px) {
    .document-statistics-grid[b-1kxln6lo0k] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 576px) {
    .document-statistics-grid[b-1kxln6lo0k] {
        grid-template-columns: 1fr;
    }
}

/* Arranges the document indexing statistics vertically. */
.document-statistics[b-1kxln6lo0k] {
    display: grid;
    gap: 0.45rem;
    margin: 1rem 0 1.5rem;
}

.statistics-item[b-1kxln6lo0k] {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
}
/* _content/THOTH/Components/Layout/AdministrationWorkspace.razor.rz.scp.css */
/* THOTH Legal Workspace — scoped to this page only */
.lw-shell[b-f3bgzg6a25] { --navy:#091B35; --library:#122945; --chat:#152E4C; --control:#304D70; --gold:#E8C477; --paper:#fff; --editor:#E9EDF3; background:var(--navy); color:#e9edf3; padding:14px; border-radius:20px; font: 15px/1.5 "Segoe UI",Arial,sans-serif; min-height:75vh; }
.lw-shell *[b-f3bgzg6a25] {box-sizing:border-box;}
.lw-shell .lw-header[b-f3bgzg6a25] {display:flex;align-items:center;gap:16px;padding:4px 0 16px;flex-wrap:wrap;}
.lw-shell .lw-header strong[b-f3bgzg6a25] {font-size:1.65rem;font-weight:650;color:var(--gold);}
.lw-shell .lw-header span[b-f3bgzg6a25] {margin-left:auto;font-size:.78rem;color:#aabbd0;}
.lw-shell a[b-f3bgzg6a25] {color:#a9d3ff;overflow-wrap:anywhere;}
.lw-shell .lw-grid[b-f3bgzg6a25] {display:grid;gap:14px;align-items:stretch;min-height:72vh;}
.lw-shell .templates-sidebar[b-f3bgzg6a25],.lw-shell .lw-chat[b-f3bgzg6a25],.lw-shell .lw-editor[b-f3bgzg6a25] {min-width:0;min-height:0;border-radius:12px;padding:20px;display:flex;flex-direction:column;gap:12px;overflow:auto;max-height:calc(100dvh - 145px);}
.lw-shell .templates-sidebar[b-f3bgzg6a25] {background:var(--library);color:#e9edf3;width:auto;position:static;}
.lw-shell .lw-chat[b-f3bgzg6a25] {background:var(--chat);}
.lw-shell .lw-editor[b-f3bgzg6a25] {background:var(--editor);color:var(--navy);}
.lw-shell h3[b-f3bgzg6a25] {font-size:1.12rem;font-weight:700;margin:0;color:var(--gold);}
.lw-shell .lw-editor h3[b-f3bgzg6a25] {color:var(--navy);}
.lw-shell button[b-f3bgzg6a25] {font:inherit;font-size:.88rem;border:0;border-radius:6px;padding:8px 12px;background:var(--control);color:#fff;cursor:pointer;max-width:100%;white-space:normal;}
.lw-shell button:hover:not(:disabled)[b-f3bgzg6a25] {filter:brightness(1.12);}
.lw-shell button:disabled[b-f3bgzg6a25] {opacity:.5;cursor:not-allowed;}
.lw-shell :is(button,input,textarea,select,summary,[contenteditable]):focus-visible[b-f3bgzg6a25] {outline:2px solid #B79A58;outline-offset:2px;}
.lw-shell .templates-sidebar-heading[b-f3bgzg6a25],.lw-shell .lw-editor-head[b-f3bgzg6a25],.lw-shell .lw-link[b-f3bgzg6a25] {display:flex;align-items:center;gap:8px;justify-content:space-between;flex-wrap:wrap;}
.lw-shell .templates-sidebar-heading button[b-f3bgzg6a25],.lw-shell .lw-editor-head:first-child button[b-f3bgzg6a25] {font-size:.72rem;padding:4px 7px;background:transparent;color:inherit;border:1px solid #8193aa;}
.lw-shell .templates-folder-tree[b-f3bgzg6a25] {overflow:auto;min-height:80px;flex:0 1 auto;}
.lw-shell .templates-sidebar button[b-f3bgzg6a25] {text-align:left;}
.lw-shell .templates-category-button[b-f3bgzg6a25],.lw-shell .templates-folder-node[b-f3bgzg6a25],.lw-shell .templates-sidebar-file-name[b-f3bgzg6a25] {background:transparent;color:#e9edf3;}
.lw-shell .templates-sidebar-file-row[b-f3bgzg6a25] {display:flex;align-items:center;gap:4px;}
.lw-shell .templates-sidebar-file-name[b-f3bgzg6a25] {flex:1;min-width:0;overflow-wrap:anywhere;}
.lw-shell .templates-sidebar-file-name.is-selected[b-f3bgzg6a25] {background:var(--gold);color:var(--navy);}
.lw-shell .templates-sidebar-footer[b-f3bgzg6a25] {font-size:.7rem;overflow-wrap:anywhere;color:#aabbd0;}
.lw-shell .templates-sidebar .lw-new[b-f3bgzg6a25] {margin-top:auto;background:#B79A58;color:var(--navy);font-weight:700;text-align:center;padding:12px;flex-shrink:0;}
.lw-shell .lw-scroll[b-f3bgzg6a25] {flex:1 1 auto;overflow:auto;min-height:180px;}
.lw-shell .lw-message[b-f3bgzg6a25] {background:#203D5E;border-radius:10px;padding:14px;margin-bottom:8px;overflow-wrap:anywhere;}
.lw-shell .lw-message strong[b-f3bgzg6a25] {display:block;color:var(--gold);margin-bottom:5px;}
.lw-shell .lw-message small[b-f3bgzg6a25] {display:block;color:#bdcde0;}
.lw-shell .lw-user[b-f3bgzg6a25] {background:var(--control);margin-left:8%;}
.lw-shell .lw-assistant[b-f3bgzg6a25] {margin-right:3%;}
.lw-shell .lw-compose[b-f3bgzg6a25] {display:grid;gap:8px;border:1px solid #657D9B;border-radius:10px;background:#10253E;padding:12px;flex-shrink:0;margin-top:auto;}
.lw-shell input:not([type=checkbox])[b-f3bgzg6a25],.lw-shell textarea[b-f3bgzg6a25],.lw-shell select[b-f3bgzg6a25] {width:100%;min-width:0;background:#10253E;color:#fff;border:1px solid #657D9B;border-radius:6px;padding:9px;font:inherit;}
.lw-shell input[b-f3bgzg6a25]::placeholder,.lw-shell textarea[b-f3bgzg6a25]::placeholder {color:#b3c3d6;opacity:1;}
.lw-shell .lw-link input[b-f3bgzg6a25] {flex:1;}
.lw-shell .lw-compose textarea[b-f3bgzg6a25] {border:0;resize:vertical;min-height:75px;}
.lw-shell .lw-compose > button:last-child[b-f3bgzg6a25] {justify-self:end;color:var(--gold);background:transparent;font-weight:700;}
.lw-shell .lw-compose small[b-f3bgzg6a25],.lw-shell .lw-note[b-f3bgzg6a25] {font-size:.78rem;}
.lw-shell .lw-note[b-f3bgzg6a25] {color:#65758a;margin:0;border-bottom:1px solid #bcc8d6;padding-bottom:10px;}
.lw-shell .lw-editor button[b-f3bgzg6a25] {background:var(--navy);}
.lw-shell .lw-editor :is(input:not([type=checkbox]),textarea,select)[b-f3bgzg6a25] {background:white;color:var(--navy);border-color:#bcc8d6;}
.lw-shell .lw-editor :is(input,textarea)[b-f3bgzg6a25]::placeholder {color:#65758a;}
.lw-shell .lw-editor .lw-message[b-f3bgzg6a25] {background:#d5dde8;color:var(--navy);}
.lw-shell .lw-editor .lw-message strong[b-f3bgzg6a25],.lw-shell .lw-editor .lw-message small[b-f3bgzg6a25] {color:var(--navy);}
.lw-shell .lw-paper[b-f3bgzg6a25] {background:white;color:var(--navy);border:1px solid #ccd5e0;border-radius:7px;padding:28px;flex:1;min-height:420px;width:100%;font:16px/1.6 Georgia,serif;}
.lw-shell .lw-rich[b-f3bgzg6a25] {flex:1 0 auto;min-height:440px;gap:8px;}
.lw-shell .lw-rich-tools[b-f3bgzg6a25] {border-bottom:1px solid #bcc8d6;padding-bottom:8px;gap:3px;}
.lw-shell .lw-rich-tools button[b-f3bgzg6a25] {background:transparent;color:var(--navy);padding:5px 7px;font-size:.76rem;border:1px solid #c6d0dd;}
.lw-shell .lw-rich-paper:empty[b-f3bgzg6a25]:before {content:'Your legal draft\A\A Awaiting agreed drafting instructions from your conversation with THOTH.';display:block;text-align:center;white-space:pre-line;font:500 17px/1.6 "Segoe UI",Arial,sans-serif;color:var(--navy);padding:clamp(40px,12vh,140px) 8px 0;pointer-events:none;}
.lw-shell .lw-amend[b-f3bgzg6a25],.lw-shell .lw-saved[b-f3bgzg6a25] {padding:10px;margin:0;flex-shrink:0;}
.lw-shell summary[b-f3bgzg6a25] {cursor:pointer;font-weight:600;}
.lw-shell .lw-export[b-f3bgzg6a25] {margin-top:auto;flex-wrap:nowrap;flex-shrink:0;}
.lw-shell .lw-export button[b-f3bgzg6a25] {flex:1;padding:13px 8px;font-size:1rem;}
.lw-shell .lw-export button:first-child[b-f3bgzg6a25] {background:#d5dde8;color:var(--navy);}
.lw-shell [role=alert][b-f3bgzg6a25],.lw-shell .templates-tree-error[b-f3bgzg6a25] {color:#ffd2d2;}
.lw-shell .lw-editor [role=alert][b-f3bgzg6a25] {color:#9b2424;}
.lw-shell [hidden][b-f3bgzg6a25] {display:none!important;}
@media(max-width:1000px){.lw-shell .lw-grid[b-f3bgzg6a25]{grid-template-columns:1fr!important}.lw-shell .lw-header span[b-f3bgzg6a25]{margin-left:0}.lw-shell .templates-sidebar[b-f3bgzg6a25],.lw-shell .lw-chat[b-f3bgzg6a25],.lw-shell .lw-editor[b-f3bgzg6a25]{max-height:none}.lw-shell .lw-paper[b-f3bgzg6a25]{min-height:350px}.lw-shell .lw-scroll[b-f3bgzg6a25]{max-height:55vh}}

/* 03.10B — approved screenshot refinements */
.lw-shell .lw-header[b-f3bgzg6a25] {justify-content:space-between;flex-wrap:nowrap;padding:0 4px 12px;min-height:52px;}
.lw-shell .lw-brand[b-f3bgzg6a25] {display:flex;align-items:center;gap:12px;min-width:0;}
.lw-shell .lw-brand img[b-f3bgzg6a25] {width:38px;height:50px;object-fit:contain;flex:none;}
.lw-shell .lw-header strong[b-f3bgzg6a25] {font-size:1.55rem;}
.lw-shell .lw-header > a[b-f3bgzg6a25] {font-size:.85rem;flex-shrink:0;}
.lw-shell .lw-chat .lw-scroll-empty[b-f3bgzg6a25] {flex:0 1 auto;min-height:0;max-height:40%;}
.lw-shell .lw-chat:has(.lw-scroll-empty) .lw-compose[b-f3bgzg6a25] {margin-top:12px;}
.lw-shell .lw-compose[b-f3bgzg6a25] {gap:6px;padding:10px;}
.lw-shell .lw-compose textarea[b-f3bgzg6a25] {min-height:64px;max-height:120px;}
.lw-shell .lw-compose input[type=file][b-f3bgzg6a25] {padding:5px;}
@media(min-width:1001px){
.lw-shell[b-f3bgzg6a25] {min-height:0;}
.lw-shell .lw-grid[b-f3bgzg6a25] {min-height:0;height:max(420px,calc(100dvh - 205px));}
.lw-shell .templates-sidebar[b-f3bgzg6a25],.lw-shell .lw-chat[b-f3bgzg6a25],.lw-shell .lw-editor[b-f3bgzg6a25] {max-height:none;height:100%;padding:16px;gap:8px;}
.lw-shell .lw-scroll[b-f3bgzg6a25] {min-height:0;}
.lw-shell .lw-rich[b-f3bgzg6a25] {flex:1 0 auto;min-height:200px;}
.lw-shell .lw-paper[b-f3bgzg6a25] {min-height:200px;padding:20px;}
.lw-shell .lw-rich-paper:empty[b-f3bgzg6a25]:before {padding:clamp(20px,7vh,75px) 8px 0;}
.lw-shell .lw-export[b-f3bgzg6a25] {position:sticky;bottom:0;background:var(--editor);padding:6px 0 0;z-index:2;}
.lw-shell .templates-sidebar .lw-new[b-f3bgzg6a25] {position:sticky;bottom:0;z-index:2;}
}
@media(max-width:600px){.lw-shell .lw-header[b-f3bgzg6a25]{flex-wrap:wrap}.lw-shell .lw-header strong[b-f3bgzg6a25]{font-size:1.2rem}}

/* 03.10C — keep conversation visible; evidence lives in library */
.lw-shell .lw-library-evidence[b-f3bgzg6a25] {display:grid;gap:7px;flex-shrink:0;min-width:0;border-top:1px solid #304D70;padding-top:10px;}
.lw-shell .lw-library-evidence label[b-f3bgzg6a25] {display:grid;gap:5px;font-weight:600;color:var(--gold);}
.lw-shell .lw-library-evidence small[b-f3bgzg6a25] {font-size:.75rem;color:#bdcde0;}
.lw-shell .lw-library-evidence input[type=file][b-f3bgzg6a25] {padding:5px;font-size:.78rem;}
.lw-shell .lw-library-evidence .lw-link[b-f3bgzg6a25] {flex-wrap:nowrap;}
.lw-shell .lw-library-evidence .lw-message[b-f3bgzg6a25] {margin:0;padding:8px;font-size:.82rem;}
.lw-shell .lw-chat .lw-scroll[b-f3bgzg6a25],.lw-shell .lw-chat .lw-scroll-empty[b-f3bgzg6a25] {flex:1 1 0;min-height:0;max-height:none;overflow-y:auto;}
.lw-shell .lw-chat:has(.lw-scroll-empty) .lw-compose[b-f3bgzg6a25],.lw-shell .lw-chat .lw-compose[b-f3bgzg6a25] {margin-top:0;flex:0 0 auto;}
.lw-shell .lw-chat .lw-compose textarea[b-f3bgzg6a25] {height:78px;min-height:60px;max-height:110px;resize:vertical;}
.lw-shell .lw-chat .lw-stage[b-f3bgzg6a25] {flex:0 1 auto;max-height:30%;overflow:auto;}
.lw-shell .templates-folder-tree[b-f3bgzg6a25] {flex:0 0 auto;max-height:35%;min-height:0;}
@media(min-width:1001px){.lw-shell .lw-chat[b-f3bgzg6a25] {overflow:hidden;}.lw-shell .lw-chat > h3[b-f3bgzg6a25] {flex-shrink:0;}}
@media(max-width:1000px){.lw-shell .lw-chat .lw-scroll[b-f3bgzg6a25],.lw-shell .lw-chat .lw-scroll-empty[b-f3bgzg6a25] {flex:0 1 auto;min-height:120px;max-height:55vh;}.lw-shell .templates-folder-tree[b-f3bgzg6a25]{max-height:35vh;}}

/* Visual refresh: preserve dynamic grid and existing controls. */
.lw-shell .lw-header[b-f3bgzg6a25] { min-height: 60px; padding: 0 0 14px; }
.lw-shell .lw-header strong[b-f3bgzg6a25] { font-size: 1.65rem; }
.lw-shell .templates-sidebar[b-f3bgzg6a25] { background: linear-gradient(155deg,#172E49,#12263F); }
.lw-shell .lw-chat[b-f3bgzg6a25] { background: linear-gradient(155deg,#19334F,#142940); }
.lw-shell .lw-editor[b-f3bgzg6a25] { background: #E9EDF3; }
.lw-shell .lw-library-evidence[b-f3bgzg6a25] { border: 1px solid #657D9B; border-radius: 10px; padding: 10px; background: #10253E; }
.lw-shell .lw-compose[b-f3bgzg6a25] { padding: 12px; }
.lw-shell .lw-chat .lw-compose textarea[b-f3bgzg6a25] { height: 100px; max-height: 160px; }
.lw-shell .lw-editor-head button:disabled[b-f3bgzg6a25] { background: #808995; color: white; opacity: 1; }
@media (min-width: 1001px) {
 .lw-shell .templates-sidebar[b-f3bgzg6a25],.lw-shell .lw-chat[b-f3bgzg6a25],.lw-shell .lw-editor[b-f3bgzg6a25] { padding: 20px; gap: 10px; }
 .lw-shell .lw-paper[b-f3bgzg6a25] { min-height: 420px; }
 .lw-shell .lw-rich-paper:empty[b-f3bgzg6a25]:before { padding: clamp(40px,12vh,140px) 8px 0; }
}
@media (max-width: 600px) { .lw-shell .lw-header strong[b-f3bgzg6a25] { font-size: 1.2rem; } }
/* _content/THOTH/Components/Layout/LandingLayout.razor.rz.scp.css */
/* Provides a full-screen shell without the authenticated application navigation. */
.landing-layout[b-g6zx4rhlf6] {
    min-height: 100vh;
    width: 100%;
}
/* _content/THOTH/Components/Layout/MainLayout.razor.rz.scp.css */
/* ==========================================================
   THOTH Main Layout
   Component-scoped styles only.
   The app-shell, sidebar, navigation, and main-content styling
   are provided by the Enterprise Theme.
   ========================================================== */

/* Keeps the secure logout form visually aligned with navigation. */
.thoth-logout-form[b-po6oc2urti] {
    margin: 0;
    padding: 0;
}

/* Makes the secure logout button inherit the navigation appearance. */
.thoth-logout-button[b-po6oc2urti] {
    width: 100%;
    padding: 0;
    color: inherit;
    border: 0;
    background: transparent;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

/* 24-10-2026 */

/* Shared layout container */

.thoth-layout-container[b-po6oc2urti] {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    min-height: 100vh;
}

/* Shared header */

.thoth-site-header[b-po6oc2urti] {
    width: 100%;
    box-sizing: border-box;
    background: #0E2E2B;
    border-bottom: 3px solid #315B56;
}

.thoth-site-header[b-po6oc2urti] {
    padding: 12px 10px;
}

.thoth-site-navigation[b-po6oc2urti] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

    .thoth-site-navigation[b-po6oc2urti]  a {
        display: inline-flex;
        align-items: center;
        padding: 9px 16px;
        border-radius: 8px;
        color: #ffffff;
        font-weight: 600;
        text-decoration: none;
    }

        .thoth-site-navigation[b-po6oc2urti]  a:hover {
            background: #f7ebdd;
            color: #954e0e;
        }

        .thoth-site-navigation[b-po6oc2urti]  a.active {
            background: #f7ebdd;
            color: #954e0e;
        }

/* the dropdown styling */

/* Admin-only Data Entry dropdown */

.thoth-data-entry-menu[b-po6oc2urti] {
    position: relative;
    margin-left: auto;
}

.thoth-data-entry-trigger[b-po6oc2urti] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: transparent;
    color: #ffffff;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
}

    .thoth-data-entry-trigger:hover[b-po6oc2urti] {
        background: #f7ebdd;
        color: #954e0e;
    }

.thoth-data-entry-dropdown[b-po6oc2urti] {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 100;
    width: 240px;
    padding: 8px;
    border: 1px solid #e3e7ee;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(18, 31, 107, 0.12);
}

.thoth-data-entry-menu:hover .thoth-data-entry-dropdown[b-po6oc2urti],
.thoth-data-entry-menu:focus-within .thoth-data-entry-dropdown[b-po6oc2urti] {
    display: flex;
    flex-direction: column;
}

.thoth-data-entry-dropdown[b-po6oc2urti]  a {
    padding: 10px 12px;
    border-radius: 7px;
    color: #121f6b;
    font-size: 0.85rem;
    text-decoration: none;
}

    .thoth-data-entry-dropdown[b-po6oc2urti]  a:hover {
        background: #f5f7fa;
        color: #954e0e;
    }

    .thoth-data-entry-dropdown[b-po6oc2urti]  a.active {
        background: #f7ebdd;
        color: #954e0e;
    }

@media (max-width: 768px) {
    .thoth-data-entry-menu[b-po6oc2urti] {
        margin-left: 0;
    }
}

.thoth-site-header[b-po6oc2urti] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.thoth-site-navigation[b-po6oc2urti] {
    flex: 1;
    min-width: 0;
}

.thoth-header-profile[b-po6oc2urti] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 12px;
    border-radius: 12px;
    background: transparent;
}

.thoth-header-avatar[b-po6oc2urti] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #d9a052, #954e0e);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 800;
}

.thoth-header-profile-details[b-po6oc2urti] {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

    .thoth-header-profile-details strong[b-po6oc2urti] {
        color: #ffffff;
        font-size: 0.82rem;
    }

    .thoth-header-profile-details span[b-po6oc2urti] {
        color: #f3d8bf;
        font-size: 0.75rem;
    }

/* logout */
/* ==========================================================
   THOTH — Header Account / Logout
   ========================================================== */

.thoth-header-account[b-po6oc2urti] {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-left: auto;
    flex-shrink: 0;
}

.thoth-logout-form[b-po6oc2urti] {
    margin: 0;
}

.thoth-logout-button[b-po6oc2urti] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 14px;
    background: #f7ebdd;
    border: 1px solid #f7ebdd;
    border-radius: 9px;
    color: #954e0e;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

    .thoth-logout-button:hover[b-po6oc2urti] {
        background: #f7ebdd;
        border-color: #954e0e;
    }

    .thoth-logout-button:focus-visible[b-po6oc2urti] {
        outline: 3px solid rgba(149, 78, 14, 0.25);
        outline-offset: 3px;
    }

@media (max-width: 768px) {
    .thoth-header-account[b-po6oc2urti] {
        gap: 10px;
    }

    .thoth-logout-button[b-po6oc2urti] {
        padding: 9px 11px;
    }
}
/* Accessible keyboard focus for top-level navigation */
.thoth-site-navigation[b-po6oc2urti]  a:focus-visible,
.thoth-data-entry-trigger:focus-visible[b-po6oc2urti] {
    outline: 2px solid #fff1dc;
    outline-offset: 2px;
}

.thoth-data-entry-trigger:focus-visible[b-po6oc2urti] {
    background: #f7ebdd;
    color: #954e0e;
}

/* Phoenix Reports navigation */

.thoth-phoenix-menu[b-po6oc2urti] {
    position: relative;
    display: flex;
    align-items: center;
}

.thoth-phoenix-main-link[b-po6oc2urti] {
    display: inline-flex;
    align-items: center;
}

.thoth-phoenix-dropdown[b-po6oc2urti] {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 260px;
    padding: 8px;
    background: #091B35;
    border: 1px solid rgba(212, 175, 55, 0.28);
    border-radius: 10px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.24);
    z-index: 1000;
}

.thoth-phoenix-menu:hover .thoth-phoenix-dropdown[b-po6oc2urti],
.thoth-phoenix-menu:focus-within .thoth-phoenix-dropdown[b-po6oc2urti] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.thoth-phoenix-dropdown a[b-po6oc2urti] {
    display: block;
    padding: 11px 14px;
    color: #f2f4f8;
    text-decoration: none;
    border-radius: 6px;
    font-size: 13px;
    white-space: nowrap;
}

    .thoth-phoenix-dropdown a:hover[b-po6oc2urti],
    .thoth-phoenix-dropdown a.active[b-po6oc2urti] {
        background: rgba(212, 175, 55, 0.13);
        color: #f5d47a;
    }



/* Phoenix arrow */

.thoth-phoenix-main-link[b-po6oc2urti] {
    gap: 9px;
}

.thoth-phoenix-arrow[b-po6oc2urti] {
    font-size: 11px;
    transition: transform 0.2s ease;
}

.thoth-phoenix-menu:hover .thoth-phoenix-arrow[b-po6oc2urti],
.thoth-phoenix-menu:focus-within .thoth-phoenix-arrow[b-po6oc2urti] {
    transform: rotate(180deg);
}

/* Smaller report names */

.thoth-phoenix-dropdown a[b-po6oc2urti] {
    font-size: 13px;
    line-height: 1.5;
}

    /* Elegant separator between reports */

    .thoth-phoenix-dropdown a + a[b-po6oc2urti] {
        border-top: 1px solid rgba(212, 175, 55, 0.28);
        border-top-left-radius: 0;
        border-top-right-radius: 0;
    }

/* Header visual refresh */
.thoth-site-header[b-po6oc2urti] { min-height: 76px; }
.thoth-site-navigation[b-po6oc2urti]  a:hover,
.thoth-site-navigation[b-po6oc2urti]  a.active { background: transparent; color: #E8C477; text-shadow: 0 0 16px rgba(232,196,119,.75); }
.thoth-header-profile-details span[b-po6oc2urti] { color: #C5D4D1; }
.thoth-logout-button[b-po6oc2urti] { width: auto; background: #FCE8D0; border-color: #D6B88D; padding: 11px 14px; }
.thoth-logout-button:hover[b-po6oc2urti] { background: #FFF1DC; }
@media (max-width: 768px) {
 .thoth-site-header[b-po6oc2urti] { gap: 8px; padding: 10px; }
 .thoth-site-navigation[b-po6oc2urti] { flex-basis: 100%; }
 .thoth-site-navigation[b-po6oc2urti]  a { padding: 8px 10px; }
 .thoth-header-account[b-po6oc2urti] { flex-wrap: wrap; max-width: 100%; }
}
/* _content/THOTH/Components/Pages/AdminExchangeTest.razor.rz.scp.css */
/* Exchange Test — THOTH visual language */
.exchange-page[b-0ryhbqus8o] {
    min-width: 0;
}

.exchange-hero[b-0ryhbqus8o] {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: clamp(22px, 4vw, 38px) clamp(18px, 4vw, 44px);
    margin-bottom: 26px;
    background: #ffffff;
    border-radius: 20px;
}

.exchange-hero-logo[b-0ryhbqus8o] {
    display: block;
    width: 50px;
    height: 60px;
    object-fit: contain;
    flex-shrink: 0;
    transform-origin: 50% 70%;
    animation: exchange-thoth-look-b-0ryhbqus8o 10s ease-in-out infinite;
}

@keyframes exchange-thoth-look-b-0ryhbqus8o {
    0%, 8%, 23%, 38%, 100% {
        transform: rotate(0deg);
    }

    13%, 18% {
        transform: rotate(-6deg);
    }

    28%, 33% {
        transform: rotate(6deg);
    }
}

.exchange-hero-text[b-0ryhbqus8o] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    min-width: 0;
}

    .exchange-hero-text h1[b-0ryhbqus8o] {
        margin: 0;
        color: #B68A47;
        font-size: clamp(24px, 3vw, 36px);
        font-weight: 700;
    }

    .exchange-hero-text span[b-0ryhbqus8o] {
        color: #091B35;
        font-size: 15px;
    }

@media (prefers-reduced-motion: reduce) {
    .exchange-hero-logo[b-0ryhbqus8o] {
        animation: none;
    }
}

@media (max-width: 768px) {
    .exchange-hero[b-0ryhbqus8o] {
        padding: 22px 18px;
    }
}

/* Exchange page — shared THOTH palette */
.exchange-page[b-0ryhbqus8o] {
    padding: 20px;
    background: #152E4C;
    color: #E9EDF3;
    border-radius: 16px;
    min-width: 0;
    box-sizing: border-box;
}
.exchange-hero[b-0ryhbqus8o] { padding: 18px 22px; margin-bottom: 20px; }
.exchange-page .btn-primary[b-0ryhbqus8o] {
    background: linear-gradient(110deg, #F1CB83, #CE9948);
    border: 1px solid #E8C477;
    color: #091B35;
    border-radius: 9px;
    padding: 11px 20px;
    font-weight: 700;
}
.exchange-page .btn-primary:hover:not(:disabled)[b-0ryhbqus8o] { background: #F1CB83; color: #091B35; }
.exchange-page .btn:disabled[b-0ryhbqus8o] { opacity: .55; cursor: not-allowed; }
.exchange-page h3[b-0ryhbqus8o] { color: #E8C477; font-size: 1.15rem; font-weight: 700; }
.exchange-page .table-responsive[b-0ryhbqus8o] { background: #fff; border: 1px solid #304D70; border-radius: 12px; overflow-x: auto; }
.exchange-page .table[b-0ryhbqus8o] {
    --bs-table-color: #091B35;
    --bs-table-bg: #FFFFFF;
    --bs-table-striped-color: #091B35;
    --bs-table-striped-bg: #F1F4F8;
    --bs-table-border-color: #DCE3ED;
    margin-bottom: 0;
    color: #091B35;
}
.exchange-page .table thead th[b-0ryhbqus8o] { background: #091B35; color: #E8C477; --bs-table-bg: #091B35; --bs-table-color: #E8C477; white-space: nowrap; }
.exchange-page .table th[b-0ryhbqus8o], .exchange-page .table td[b-0ryhbqus8o] { padding: 12px 14px; vertical-align: middle; }
.exchange-page .table td[b-0ryhbqus8o] { overflow-wrap: anywhere; }
.exchange-page .btn-outline-primary[b-0ryhbqus8o] { color: #091B35; border-color: #B68A47; background: #F7EBDD; border-radius: 7px; }
.exchange-page .btn-outline-primary:hover[b-0ryhbqus8o] { background: #E8C477; color: #091B35; }
.exchange-page .btn:focus-visible[b-0ryhbqus8o] { outline: 3px solid #E8C477; outline-offset: 3px; }
@media (max-width: 768px) { .exchange-page[b-0ryhbqus8o] { padding: 12px; } .exchange-page .table th[b-0ryhbqus8o], .exchange-page .table td[b-0ryhbqus8o] { padding: 9px; } }
/* _content/THOTH/Components/Pages/AdminIngestionTest.razor.rz.scp.css */
/* THOTH Ingestion Test — matches the completed Exchange and Processing pages. */
.ingestion-test-page[b-ys0txnnbyt] {
    min-width: 0;
}

.ingestion-test-hero[b-ys0txnnbyt] {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: clamp(22px, 4vw, 38px) clamp(18px, 4vw, 44px);
    margin-bottom: 26px;
    background: #ffffff;
    border-radius: 20px;
}

.ingestion-test-hero-logo[b-ys0txnnbyt] {
    display: block;
    width: 50px;
    height: 60px;
    object-fit: contain;
    flex-shrink: 0;
    transform-origin: 50% 70%;
    animation: ingestion-thoth-look-b-ys0txnnbyt 10s ease-in-out infinite;
}

@keyframes ingestion-thoth-look-b-ys0txnnbyt {
    0%, 8%, 23%, 38%, 100% {
        transform: rotate(0deg);
    }

    13%, 18% {
        transform: rotate(-6deg);
    }

    28%, 33% {
        transform: rotate(6deg);
    }
}

.ingestion-test-hero-text[b-ys0txnnbyt] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    min-width: 0;
}

    .ingestion-test-hero-text h1[b-ys0txnnbyt] {
        margin: 0;
        color: #B68A47;
        font-size: clamp(24px, 3vw, 36px);
        font-weight: 700;
    }

    .ingestion-test-hero-text span[b-ys0txnnbyt] {
        color: #091B35;
        font-size: 15px;
    }

@media (prefers-reduced-motion: reduce) {
    .ingestion-test-hero-logo[b-ys0txnnbyt] {
        animation: none;
    }
}

@media (max-width: 768px) {
    .ingestion-test-hero[b-ys0txnnbyt] {
        padding: 22px 18px;
    }
}

/* THOTH approved white / navy / gold theme. Page-local CSS only. */
.ingestion-test-page[b-ys0txnnbyt] {
    box-sizing: border-box;
    width: 100%;
    padding: 20px;
    border-radius: 20px;
    background: #ffffff;
    color: #091B35;
    overflow-wrap: anywhere;
}
.ingestion-test-hero[b-ys0txnnbyt] { padding: 12px 4px 20px; margin-bottom: 8px; }
.ingestion-test-page > .mb-3[b-ys0txnnbyt] {
    padding: 16px 20px;
    border: 1px solid #304D70;
    border-radius: 12px;
    background: #152E4C;
    color: #E9EDF3;
}
.ingestion-test-page .form-label[b-ys0txnnbyt] {
    color: #E8C477;
    font-weight: 600;
    margin-bottom: 8px;
}
.ingestion-test-page[b-ys0txnnbyt]  .form-control,
.ingestion-test-page[b-ys0txnnbyt]  .form-select,
.ingestion-test-page[b-ys0txnnbyt]  input[type="file"] {
    box-sizing: border-box;
    width: 100%;
    min-height: 44px;
    padding: 10px 14px;
    border: 1px solid #657D9B;
    border-radius: 9px;
    background-color: #10253E;
    color: #F1F4F8;
    color-scheme: dark;
}
.ingestion-test-page[b-ys0txnnbyt]  .form-select { padding-right: 36px; background-image: none; appearance: auto; }
.ingestion-test-page[b-ys0txnnbyt]  input::placeholder { color: #B8C8DA; opacity: 1; }
.ingestion-test-page[b-ys0txnnbyt]  input[readonly] { background-color: #203D5E; }
.ingestion-test-page[b-ys0txnnbyt]  input[type="file"]::file-selector-button {
    border: 0; border-radius: 6px; padding: 7px 12px; margin-inline-end: 12px;
    background: #E8C477; color: #091B35; font-weight: 600;
}
.ingestion-test-page .form-text[b-ys0txnnbyt] { color: #C5D4E5; margin-top: 8px; }
.ingestion-test-page > .btn-primary[b-ys0txnnbyt] {
    padding: 12px 24px; border: 1px solid #D6A44D; border-radius: 9px;
    background: linear-gradient(110deg, #F1CB83, #D09A43);
    color: #091B35; font-weight: 700;
}
.ingestion-test-page > .btn-primary:hover:not(:disabled)[b-ys0txnnbyt] { background: #F1CB83; }
.ingestion-test-page[b-ys0txnnbyt]  :is(input, select, button):focus-visible {
    outline: 2px solid #E8C477; outline-offset: 3px;
}
.ingestion-test-page > .mt-3[b-ys0txnnbyt] {
    padding: 16px 20px; background: #122945; color: #E9EDF3; border-radius: 12px;
}
.ingestion-test-page > .mt-3 strong[b-ys0txnnbyt] { color: #E8C477; }
.ingestion-test-page .alert[b-ys0txnnbyt] { border-radius: 10px; }
@media (max-width: 768px) {
    .ingestion-test-page[b-ys0txnnbyt] { padding: 12px; }
    .ingestion-test-page > .mb-3[b-ys0txnnbyt] { padding: 12px; }
    .ingestion-test-page > .btn-primary[b-ys0txnnbyt] { width: 100%; }
}
/* _content/THOTH/Components/Pages/Administration.razor.rz.scp.css */
/* THOTH Administration — scoped to the existing page wrapper. */
.admin-page-scope[b-1eqro9hbjz] {
    width: 100%; min-width: 0; box-sizing: border-box;
    background: #fff; border-radius: 20px; padding: 16px;
}
.admin-page-scope[b-1eqro9hbjz]  .thoth-admin-workspace {
    display: flex; align-items: stretch; gap: 14px; width: 100%;
    min-width: 0; min-height: calc(100vh - 120px); margin: 0;
    padding: 0; box-sizing: border-box; background: #fff; border-radius: 20px;
}
.admin-page-scope[b-1eqro9hbjz]  .thoth-admin-sidebar {
    flex: 0 0 270px; width: 270px; min-width: 0; box-sizing: border-box;
    padding: 18px 14px; background: #122945; color: #E8C477;
    border: 1px solid #304D70; border-radius: 16px;
    transition: flex-basis .2s ease, width .2s ease;
}
.admin-page-scope[b-1eqro9hbjz]  .thoth-admin-sidebar.collapsed {
    flex-basis: 58px; width: 58px; padding: 14px 8px;
}
.admin-page-scope[b-1eqro9hbjz]  .thoth-admin-sidebar-header {
    display: flex; align-items: center; justify-content: space-between;
    gap: 8px; margin-bottom: 20px; color: #E8C477; font-weight: 700;
}
.admin-page-scope[b-1eqro9hbjz]  .thoth-admin-sidebar-toggle {
    border: 1px solid #304D70; border-radius: 8px; background: #122945;
    color: #E9EDF3; padding: 7px 10px; cursor: pointer;
}
.admin-page-scope[b-1eqro9hbjz]  .thoth-admin-sidebar-link {
    display: flex; align-items: center; gap: 12px; width: 100%;
    box-sizing: border-box; padding: 11px 10px; margin-bottom: 5px;
    border-radius: 9px; color: #E9EDF3; text-decoration: none;
    font-size: .9rem; font-weight: 500; white-space: normal;
    transition: background-color .2s ease;
}
.admin-page-scope[b-1eqro9hbjz]  .thoth-admin-sidebar-link:hover,
.admin-page-scope[b-1eqro9hbjz]  .thoth-admin-sidebar-link.active {
    background: #304D70; color: #E8C477; text-decoration: none;
}
.admin-page-scope[b-1eqro9hbjz]  .thoth-admin-sidebar-link.active { font-weight: 700; }
.admin-page-scope[b-1eqro9hbjz]  .thoth-admin-sidebar-link i,
.admin-page-scope[b-1eqro9hbjz]  .thoth-admin-sidebar-link svg { color: #E8C477; flex-shrink: 0; }
.admin-page-scope[b-1eqro9hbjz]  .thoth-admin-sidebar.collapsed .thoth-admin-sidebar-link {
    justify-content: center; padding: 12px 4px;
}
.admin-page-scope[b-1eqro9hbjz]  .thoth-admin-menu-heading {
    margin: 24px 6px 12px; padding-top: 18px; border-top: 1px solid #304D70;
    color: #E8C477; font-size: .7rem; font-weight: 700; letter-spacing: .08em;
}
.admin-page-scope[b-1eqro9hbjz]  .thoth-admin-content {
    flex: 1; min-width: 0; padding: 20px; box-sizing: border-box;
    background: #152E4C; color: #E9EDF3; border-radius: 16px; overflow-x: auto;
}
.thoth-admin-hero[b-1eqro9hbjz] {
    display: flex; align-items: center; gap: 16px; padding: 18px 22px;
    margin-bottom: 20px; background: #fff; border-radius: 14px;
}
.thoth-admin-hero-logo[b-1eqro9hbjz] { width: 50px; height: 60px; object-fit: contain; flex-shrink: 0; transform-origin: 50% 70%; animation: thoth-admin-look-b-1eqro9hbjz 10s ease-in-out infinite; }
@keyframes thoth-admin-look-b-1eqro9hbjz {
    0%, 8%, 23%, 38%, 100% { transform: rotate(0deg); }
    13%, 18% { transform: rotate(-6deg); }
    28%, 33% { transform: rotate(6deg); }
}
.thoth-admin-hero-text[b-1eqro9hbjz] { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; }
.thoth-admin-hero-text h1[b-1eqro9hbjz] { margin: 0; color: #B68A47; font-size: clamp(24px, 3vw, 36px); font-weight: 700; }
.thoth-admin-hero-text span[b-1eqro9hbjz] { color: #091B35; font-size: 15px; }
.admin-page-scope[b-1eqro9hbjz]  .thoth-admin-content > p { color: #E8C477; }
.admin-page-scope[b-1eqro9hbjz]  .thoth-admin-content .form-control {
    background: #10253E; color: #fff; border: 1px solid #657D9B; border-radius: 10px; padding: 12px 15px;
}
.admin-page-scope[b-1eqro9hbjz]  .thoth-admin-content .form-control::placeholder { color: #C5D4E5; opacity: 1; }
.admin-page-scope[b-1eqro9hbjz]  .thoth-admin-content .form-control:focus { border-color: #E8C477; box-shadow: 0 0 0 3px #e8c47726; }
.table-responsive[b-1eqro9hbjz] { background: #fff; border-radius: 12px; overflow-x: auto; color: #091B35; }
.table[b-1eqro9hbjz] { --bs-table-color: #091B35; --bs-table-bg: #fff; --bs-table-striped-bg: #F1F4F8; --bs-table-striped-color: #091B35; --bs-table-hover-bg: #E5EDF6; --bs-table-hover-color: #091B35; width: 100%; margin: 0; vertical-align: middle; }
.table > thead > tr > th[b-1eqro9hbjz] { background: #091B35; color: #E8C477; padding: 13px 12px; white-space: nowrap; border-color: #304D70; }
.table > tbody > tr > td[b-1eqro9hbjz] { padding: 11px 12px; vertical-align: middle; overflow-wrap: anywhere; border-color: #E1E7EF; }
/* Existing markup has six headings but only five body cells. Hide the empty Last Login heading until data is implemented. */
.table > thead > tr > th:nth-child(5)[b-1eqro9hbjz] { display: none; }
.table > tbody > tr > td:last-child[b-1eqro9hbjz] { white-space: nowrap; }
.thoth-user-status[b-1eqro9hbjz] { display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; border-radius: 999px; font-size: .82rem; font-weight: 600; white-space: nowrap; }
.thoth-user-status.active[b-1eqro9hbjz] { background: #E5F5EB; color: #167347; }
.thoth-user-status.inactive[b-1eqro9hbjz] { background: #FCE9E7; color: #A83232; }
.table .btn-outline-primary[b-1eqro9hbjz], .table .btn-primary[b-1eqro9hbjz] { background: #E8C477; color: #091B35; border: 1px solid #B68A47; border-radius: 7px; font-weight: 600; padding: 5px 12px; }
.table .btn-outline-primary:hover:not(:disabled)[b-1eqro9hbjz], .table .btn-primary:hover:not(:disabled)[b-1eqro9hbjz] { background: #D5A453; color: #091B35; }
.table .btn-outline-secondary[b-1eqro9hbjz] { border-color: #657D9B; color: #091B35; border-radius: 7px; }
.table .btn:disabled[b-1eqro9hbjz] { opacity: .5; }
.table .form-check-input:checked[b-1eqro9hbjz] { background-color: #122945; border-color: #122945; }
.table .form-select[b-1eqro9hbjz] { color: #091B35; border-color: #AAB8CA; }
@media (max-width: 768px) {
    .admin-page-scope[b-1eqro9hbjz] { padding: 8px; }
    .admin-page-scope[b-1eqro9hbjz]  .thoth-admin-workspace { gap: 10px; }
    .admin-page-scope[b-1eqro9hbjz]  .thoth-admin-sidebar:not(.collapsed) { flex-basis: 190px; width: 190px; padding: 12px 8px; }
    .admin-page-scope[b-1eqro9hbjz]  .thoth-admin-content { padding: 12px; }
    .thoth-admin-hero[b-1eqro9hbjz] { padding: 14px; }
    .table[b-1eqro9hbjz] { min-width: 680px; }
}
@media (prefers-reduced-motion: reduce) { .thoth-admin-hero-logo[b-1eqro9hbjz] { animation: none; } .admin-page-scope[b-1eqro9hbjz]  .thoth-admin-sidebar { transition: none; } }
/* _content/THOTH/Components/Pages/AdminSearchIndex.razor.rz.scp.css */
/* THOTH Administration: Search pages. Scoped to the page wrapper. */
.thoth-search-admin-page[b-58o2ndrpre] {
    min-width: 0;
    background: transparent;
    color: #17263a;
}

.thoth-search-admin-hero[b-58o2ndrpre] {
    display: flex;
    align-items: center;
    gap: 18px;
    min-height: 150px;
    padding: 28px clamp(20px, 3vw, 44px);
    margin: 0 0 26px;
    background: #091b35;
    border-radius: 20px;
}

.thoth-search-admin-logo[b-58o2ndrpre] {
    width: 54px;
    height: 62px;
    object-fit: contain;
    flex-shrink: 0;
    animation: thoth-search-gold-glow-b-58o2ndrpre 4.5s ease-in-out infinite;
}

.thoth-search-admin-hero-text[b-58o2ndrpre] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

    .thoth-search-admin-hero-text h1[b-58o2ndrpre] {
        margin: 0;
        color: #f1be72;
        font-size: clamp(25px, 3vw, 36px);
        line-height: 1.2;
        font-weight: 700;
    }

    .thoth-search-admin-hero-text span[b-58o2ndrpre] {
        color: #fff;
        font-size: 15px;
    }

@keyframes thoth-search-gold-glow-b-58o2ndrpre {
    0%, 100% {
        filter: brightness(1) drop-shadow(0 0 1px rgba(241,190,114,.2));
    }

    50% {
        filter: brightness(1.12) drop-shadow(0 0 7px rgba(241,190,114,.48));
    }
}

@media (prefers-reduced-motion: reduce) {
    .thoth-search-admin-logo[b-58o2ndrpre] {
        animation: none;
    }
}

@media (max-width: 640px) {
    .thoth-search-admin-hero[b-58o2ndrpre] {
        min-height: 120px;
        padding: 20px;
        gap: 12px;
    }

    .thoth-search-admin-logo[b-58o2ndrpre] {
        width: 42px;
        height: 50px;
    }
}
/* _content/THOTH/Components/Pages/AdminSearchTest.razor.rz.scp.css */
/* THOTH Administration: Search pages. Scoped to the page wrapper. */
.thoth-search-admin-page[b-xi2u4tpw8a] {
    min-width: 0;
    background: transparent;
    color: #17263a;
}

.thoth-search-admin-hero[b-xi2u4tpw8a] {
    display: flex;
    align-items: center;
    gap: 18px;
    min-height: 150px;
    padding: 28px clamp(20px, 3vw, 44px);
    margin: 0 0 26px;
    background: #091b35;
    border-radius: 20px;
}

.thoth-search-admin-logo[b-xi2u4tpw8a] {
    width: 54px;
    height: 62px;
    object-fit: contain;
    flex-shrink: 0;
    animation: thoth-search-gold-glow-b-xi2u4tpw8a 4.5s ease-in-out infinite;
}

.thoth-search-admin-hero-text[b-xi2u4tpw8a] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

    .thoth-search-admin-hero-text h1[b-xi2u4tpw8a] {
        margin: 0;
        color: #f1be72;
        font-size: clamp(25px, 3vw, 36px);
        line-height: 1.2;
        font-weight: 700;
    }

    .thoth-search-admin-hero-text span[b-xi2u4tpw8a] {
        color: #fff;
        font-size: 15px;
    }

@keyframes thoth-search-gold-glow-b-xi2u4tpw8a {
    0%, 100% {
        filter: brightness(1) drop-shadow(0 0 1px rgba(241,190,114,.2));
    }

    50% {
        filter: brightness(1.12) drop-shadow(0 0 7px rgba(241,190,114,.48));
    }
}

@media (prefers-reduced-motion: reduce) {
    .thoth-search-admin-logo[b-xi2u4tpw8a] {
        animation: none;
    }
}

@media (max-width: 640px) {
    .thoth-search-admin-hero[b-xi2u4tpw8a] {
        min-height: 120px;
        padding: 20px;
        gap: 12px;
    }

    .thoth-search-admin-logo[b-xi2u4tpw8a] {
        width: 42px;
        height: 50px;
    }
}
/* _content/THOTH/Components/Pages/AdminSharePointTest.razor.rz.scp.css */
/* THOTH SharePoint Test — matches the completed Administration pages. */
.sharepoint-test-page[b-2swog7j0t6] {
    min-width: 0;
}

.sharepoint-test-hero[b-2swog7j0t6] {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: clamp(22px, 4vw, 38px) clamp(18px, 4vw, 44px);
    margin-bottom: 26px;
    background: #091b35;
    border-radius: 20px;
}

.sharepoint-test-hero-logo[b-2swog7j0t6] {
    display: block;
    width: 50px;
    height: 60px;
    object-fit: contain;
    flex-shrink: 0;
    transform-origin: 50% 70%;
    animation: sharepoint-thoth-look-b-2swog7j0t6 10s ease-in-out infinite;
}

@keyframes sharepoint-thoth-look-b-2swog7j0t6 {
    0%, 8%, 23%, 38%, 100% {
        transform: rotate(0deg);
    }

    13%, 18% {
        transform: rotate(-6deg);
    }

    28%, 33% {
        transform: rotate(6deg);
    }
}

.sharepoint-test-hero-text[b-2swog7j0t6] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    min-width: 0;
}

    .sharepoint-test-hero-text h1[b-2swog7j0t6] {
        margin: 0;
        color: #f1be72;
        font-size: clamp(24px, 3vw, 36px);
        font-weight: 700;
    }

    .sharepoint-test-hero-text span[b-2swog7j0t6] {
        color: #FFFFFF;
        font-size: 15px;
    }

@media (prefers-reduced-motion: reduce) {
    .sharepoint-test-hero-logo[b-2swog7j0t6] {
        animation: none;
    }
}

@media (max-width: 768px) {
    .sharepoint-test-hero[b-2swog7j0t6] {
        padding: 22px 18px;
    }
}
/* _content/THOTH/Components/Pages/Chat.razor.rz.scp.css */
/* SESHAT UI — copper / navy / light grey. Scoped to Chat.razor. */

.seshat-welcome[b-pfq11my10a] {
    background-image: url('/images/seshat-design-2-edge-to-edge.png');
    background-color: #eaf2f9;
    background-position: center;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    border-radius: 16px;
    overflow: hidden;
}


.seshat-brand[b-pfq11my10a] {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.seshat-thoth-logo[b-pfq11my10a] {
    display: block;
    width: 70px;
    height: 90px;
    object-fit: contain;
    transform-origin: 50% 70%;
    animation: seshat-thoth-look-b-pfq11my10a 10s ease-in-out infinite;
}

@keyframes seshat-thoth-look-b-pfq11my10a {
    0%, 8%, 23%, 38%, 100% {
        transform: rotate(0deg);
    }

    13%, 18% {
        transform: rotate(-6deg);
    }

    28%, 33% {
        transform: rotate(6deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .seshat-thoth-logo[b-pfq11my10a] {
        animation: none;
    }
}

.seshat-brand-text[b-pfq11my10a] {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

    .seshat-brand-text strong[b-pfq11my10a] {
        color: #954e0e;
        font-size: 1rem;
    }

    .seshat-brand-text span[b-pfq11my10a] {
        color: #64748b;
        font-size: .75rem;
        letter-spacing: .04em;
    }

.seshat-welcome h1[b-pfq11my10a] {
    margin: 0;
    color: #061427;
    font-size: clamp(1.4rem, 2.3vw, 2.2rem);
    font-weight: 400;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .seshat-welcome[b-pfq11my10a] {
        padding: 14px;
    }

    .seshat-thoth-logo[b-pfq11my10a] {
        width: 55px;
        height: 72px;
    }

    .seshat-brand-text span[b-pfq11my10a] {
        font-size: .65rem;
    }
}

/* Question composer and microphone (preserved) */

.seshat-question-panel[b-pfq11my10a] {
    padding: 24px 28px;
    border: 1px solid #e2e6ee;
    border-radius: 18px;
    background: #F5F5F5;
}

.seshat-question-heading[b-pfq11my10a] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 12px;
}

    .seshat-question-heading .form-label[b-pfq11my10a] {
        margin: 0;
        color: #121f6b;
        font-weight: 700;
    }

.seshat-language-indicator[b-pfq11my10a] {
    color: #64748b;
    font-size: 0.8rem;
}

.seshat-question-input[b-pfq11my10a] {
    position: relative;
}

    .seshat-question-input textarea[b-pfq11my10a] {
        width: 100%;
        min-height: 120px;
        padding: 16px 62px 42px 16px;
        border: 1px solid #dce2ea;
        border-radius: 12px;
        background: #ffffff;
        color: #121f6b;
        line-height: 1.6;
        resize: vertical;
    }

        .seshat-question-input textarea:focus[b-pfq11my10a] {
            border-color: #954e0e;
            outline: none;
            box-shadow: 0 0 0 3px rgba(149, 78, 14, 0.12);
        }

.seshat-microphone-placeholder[b-pfq11my10a] {
    position: absolute;
    right: 14px;
    bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #f7ebdd;
    color: #954e0e;
    opacity: 0.65;
}

.seshat-question-actions[b-pfq11my10a] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
}

.seshat-question-hint[b-pfq11my10a] {
    color: #64748b;
    font-size: 0.82rem;
}

.seshat-question-actions .btn-primary[b-pfq11my10a] {
    padding: 10px 22px;
    border-color: #121f6b;
    border-radius: 9px;
    background: #121f6b;
    color: #ffffff;
    font-weight: 600;
}

    .seshat-question-actions .btn-primary:hover[b-pfq11my10a] {
        background: #1d3185;
    }

@media (max-width: 768px) {
    .seshat-question-panel[b-pfq11my10a] {
        padding: 18px;
    }
}


/* ==========================================================
   SESHAT — Collapsible Chat History
   ========================================================== */

.seshat-workspace[b-pfq11my10a] {
    display: flex;
    align-items: stretch;
    gap: 24px;
    width: 100%;
    min-width: 0;
    min-height: calc(100vh - 88px);
    padding: 32px;
    box-sizing: border-box;
    background: #FFFFF7;
}

.seshat-history-sidebar[b-pfq11my10a] {
    flex: 0 0 270px;
    width: 270px;
    min-width: 0;
    padding: 22px 16px;
    background: #ffffff;
    border: 1px solid #e3e7ee;
    border-radius: 16px;
    transition: flex-basis 0.2s ease, width 0.2s ease;
}

    .seshat-history-sidebar.collapsed[b-pfq11my10a] {
        flex-basis: 58px;
        width: 58px;
        padding: 14px 8px;
    }

.seshat-history-header[b-pfq11my10a] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 20px;
    color: #121f6b;
}

    .seshat-history-header strong[b-pfq11my10a] {
        font-size: 0.95rem;
    }

.seshat-history-toggle[b-pfq11my10a] {
    border: none;
    border-radius: 8px;
    background: #f1f4f8;
    color: #121f6b;
    padding: 7px 10px;
    cursor: pointer;
}

.seshat-new-chat[b-pfq11my10a] {
    width: 100%;
    padding: 12px;
    background: #121f6b;
    color: #ffffff;
    border: none;
    border-radius: 9px;
    font-weight: 600;
    cursor: pointer;
}

    .seshat-new-chat:hover[b-pfq11my10a] {
        background: #1d3185;
    }

.seshat-history-label[b-pfq11my10a] {
    margin: 24px 6px 12px;
    color: #64748b;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.seshat-history-list[b-pfq11my10a] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.seshat-history-item[b-pfq11my10a] {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 9px;
    background: transparent;
    color: #334155;
    text-align: left;
    cursor: pointer;
}

    .seshat-history-item span[b-pfq11my10a] {
        display: block;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .seshat-history-item:hover[b-pfq11my10a] {
        background: #f1f4f8;
    }

    .seshat-history-item.active[b-pfq11my10a] {
        background: #f7ebdd;
        color: #954e0e;
        font-weight: 700;
    }

.seshat-history-empty[b-pfq11my10a] {
    padding: 12px 6px;
    color: #64748b;
    font-size: 0.85rem;
}

.seshat-workspace-content[b-pfq11my10a] {
    flex: 1;
    min-width: 0;
}

.seshat-history-sidebar button:disabled[b-pfq11my10a] {
    opacity: 0.55;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .seshat-workspace[b-pfq11my10a] {
        flex-direction: column;
        gap: 16px;
        padding: 16px;
    }

    .seshat-history-sidebar[b-pfq11my10a],
    .seshat-history-sidebar.collapsed[b-pfq11my10a] {
        flex: none;
        width: 100%;
    }

    .seshat-workspace-content[b-pfq11my10a] {
        width: 100%;
    }
}


/* ==========================================================
   SESHAT — Complete Conversation Display
   ========================================================== */

.seshat-conversation[b-pfq11my10a] {
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-width: 0;
}

.seshat-conversation-heading[b-pfq11my10a] {
    color: white;
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.seshat-message[b-pfq11my10a] {
    padding: 22px 26px;
    border-radius: 16px;
    border: 1px solid #e3e7ee;
    background: #ffffff;
    min-width: 0;
}

.seshat-message-user[b-pfq11my10a] {
    background: #f0f3fa;
    border-left: 4px solid #121f6b;
}

.seshat-message-assistant[b-pfq11my10a] {
    background: #ffffff;
    border-left: 4px solid #954e0e;
}

.seshat-message-role[b-pfq11my10a] {
    color: #121f6b;
    font-size: 0.85rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.seshat-message-assistant .seshat-message-role[b-pfq11my10a] {
    color: #954e0e;
}

.seshat-message-text[b-pfq11my10a] {
    color: #253247;
    font-size: 1rem;
    line-height: 1.8;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.seshat-message-references[b-pfq11my10a] {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid #e3e7ee;
}

    .seshat-message-references h4[b-pfq11my10a] {
        color: #121f6b;
        font-size: 1.1rem;
        font-weight: 700;
        margin-bottom: 16px;
    }

    .seshat-message-references .reference-card[b-pfq11my10a] {
        margin-bottom: 12px;
    }

@media (max-width: 768px) {
    .seshat-message[b-pfq11my10a] {
        padding: 16px;
    }
}

.seshat-microphone-placeholder[b-pfq11my10a] {
    border: none;
    cursor: pointer;
}

    .seshat-microphone-placeholder[aria-pressed="true"][b-pfq11my10a] {
        background: #fce8e6 !important;
        color: #c62828 !important;
        opacity: 1;
    }

    .seshat-microphone-placeholder[aria-pressed="false"][b-pfq11my10a] {
        background: transparent !important;
        color: inherit !important;
    }

/* toogle button for microphone language */

.seshat-voice-language[b-pfq11my10a] {
    display: flex;
    align-items: center;
    gap: 8px;
    position: absolute;
    right: 68px;
    bottom: 18px;
    font-size: 12px;
    font-weight: 600;
    color: #17316d;
}

.seshat-language-switch[b-pfq11my10a] {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
    cursor: pointer;
}

    .seshat-language-switch input[b-pfq11my10a] {
        opacity: 0;
        width: 0;
        height: 0;
    }

.seshat-language-slider[b-pfq11my10a] {
    position: absolute;
    inset: 0;
    background: #0875d1;
    border-radius: 26px;
    transition: background 0.2s;
}

    .seshat-language-slider[b-pfq11my10a]::before {
        content: "";
        position: absolute;
        width: 20px;
        height: 20px;
        left: 3px;
        bottom: 3px;
        background: white;
        border-radius: 50%;
        transition: transform 0.2s;
    }

.seshat-language-switch input:checked + .seshat-language-slider[b-pfq11my10a]::before {
    transform: translateX(22px);
}

.seshat-language-switch input:focus-visible + .seshat-language-slider[b-pfq11my10a] {
    outline: 2px solid #17316d;
    outline-offset: 3px;
}

.seshat-language-switch input:disabled + .seshat-language-slider[b-pfq11my10a] {
    opacity: 0.5;
    cursor: not-allowed;
}



/* THOTH animated emblem beside the question heading */

.thoth-chat-heading[b-pfq11my10a] {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 26px;
    padding: clamp(22px, 4vw, 38px) clamp(18px, 4vw, 44px);
    background: #091b35;
    border-radius: 20px;
}

    .thoth-chat-heading .thoth-heading-text h1[b-pfq11my10a] {
        margin: 0;
        color: #f1be72;
        font-size: clamp(24px, 3vw, 36px);
        font-weight: 700;
    }

    .thoth-chat-heading .thoth-heading-text span[b-pfq11my10a] {
        color: #d8e2f0;
        font-size: 15px;
    }

.thoth-chat-logo[b-pfq11my10a] {
    width: 50px;
    height: 60px;
    max-width: 50px;
    max-height: 60px;
    object-fit: contain;
    flex-shrink: 0;
    transform-origin: 50% 70%;
    animation: seshat-thoth-look-b-pfq11my10a 10s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
    .thoth-chat-logo[b-pfq11my10a] {
        animation: none;
    }
}

/* THOTH searching animation — full rotation 360*/
.thoth-searching[b-pfq11my10a] {
    animation: thoth-search-spin-b-pfq11my10a 1.8s linear infinite !important;
    transform-origin: center center;
}

@keyframes thoth-search-spin-b-pfq11my10a {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Stack subtitle below Ask THOTH */
.thoth-heading-text[b-pfq11my10a] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

    .thoth-heading-text h2[b-pfq11my10a] {
        margin: 0;
    }

    .thoth-heading-text span[b-pfq11my10a] {
        font-size: 0.8rem;
        color: #718096;
    }

.seshat-history-icon[b-pfq11my10a] {
    background: transparent;
    border: none;
    box-shadow: none;
    color: #B87333;
    padding: 4px;
    cursor: pointer;
    font-size: 17px;
    line-height: 1;
}

    .seshat-history-icon:hover[b-pfq11my10a] {
        color: #8B4513;
        background: transparent;
    }

    .seshat-history-icon:disabled[b-pfq11my10a] {
        opacity: 0.4;
        cursor: not-allowed;
    }

.seshat-clear-all[b-pfq11my10a] {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: none;
    box-shadow: none;
    color: #B87333;
    padding: 8px 10px;
    cursor: pointer;
    font-size: 13px;
}

    .seshat-clear-all:hover:not(:disabled)[b-pfq11my10a] {
        color: #8B4513;
        background: transparent;
    }

    .seshat-clear-all:disabled[b-pfq11my10a] {
        opacity: 0.4;
        cursor: not-allowed;
    }

.seshat-history-sidebar:not(.collapsed)[b-pfq11my10a] {
    display: flex;
    flex-direction: column;
}

.seshat-history-list[b-pfq11my10a] {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
}

.seshat-clear-all[b-pfq11my10a] {
    margin-top: auto;
    flex-shrink: 0;
    margin-bottom: 12px;
}
/* Hide Clear All Chats when the sidebar is collapsed */
.seshat-history-sidebar.collapsed .seshat-clear-all[b-pfq11my10a] {
    display: none !important;
}

.seshat-message-header[b-pfq11my10a] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.seshat-reply-toggle[b-pfq11my10a] {
    background: transparent;
    border: none;
    box-shadow: none;
    color: #B87333;
    font-size: 24px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    padding: 2px 8px;
}

    .seshat-reply-toggle:hover[b-pfq11my10a] {
        color: #8B4513;
    }

/* Approved Ask THOTH workspace — CSS-only redesign. */
.seshat-workspace[b-pfq11my10a] {
    --navy: #091B35;
    --library: #122945;
    --chat: #152E4C;
    --gold: #E8C477;
    --ink: #E9EDF3;
    --muted: #B3C3D6;
    --line: #405B78;
    position: relative;
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 14px;
    margin: 18px auto;
    width: calc(100% - 36px);
    height: max(580px, calc(100dvh - 110px));
    min-height: 0;
    padding: 100px 20px 20px;
    border-radius: 20px;
    background: #FFFFFF;
    color: var(--ink);
}
.seshat-workspace:has(.seshat-history-sidebar.collapsed)[b-pfq11my10a] { grid-template-columns: 58px minmax(0, 1fr); }
.thoth-chat-heading[b-pfq11my10a] {
    position: absolute;
    top: 12px; left: 20px; right: 20px;
    margin: 0; padding: 4px 10px;
    background: transparent;
    gap: 18px;
}
.thoth-chat-heading .thoth-heading-text h1[b-pfq11my10a] { color: #B68A47; font-size: clamp(24px, 2.2vw, 34px); }
.thoth-chat-heading .thoth-heading-text span[b-pfq11my10a] { color: var(--navy); }
.seshat-history-sidebar[b-pfq11my10a], .seshat-workspace-content[b-pfq11my10a] {
    min-height: 0; min-width: 0;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-sizing: border-box;
}
.seshat-history-sidebar[b-pfq11my10a] { width: 100%; background: var(--library); padding: 16px; color: var(--ink); overflow: hidden; }
.seshat-history-sidebar.collapsed[b-pfq11my10a] { width: 100%; }
.seshat-history-header[b-pfq11my10a] { color: var(--gold); margin-bottom: 12px; }
.seshat-history-toggle[b-pfq11my10a] { background: transparent; border: 1px solid var(--line); color: var(--ink); }
.seshat-new-chat[b-pfq11my10a], .seshat-question-actions .btn-primary[b-pfq11my10a] {
    background: linear-gradient(110deg, #F4CA83, #CB9340);
    border: 1px solid #E8C477; color: var(--navy); font-weight: 700;
}
.seshat-new-chat:hover[b-pfq11my10a], .seshat-question-actions .btn-primary:hover[b-pfq11my10a] { background: #F5D49B; color: var(--navy); }
.seshat-history-label[b-pfq11my10a] { color: var(--ink); margin: 16px 4px 8px; }
.seshat-history-list[b-pfq11my10a] { gap: 2px; }
.seshat-history-item[b-pfq11my10a] { color: var(--ink); padding: 8px; }
.seshat-history-item:hover[b-pfq11my10a] { background: #203D5E; }
.seshat-history-item.active[b-pfq11my10a] { background: #304D70; color: var(--gold); }
.seshat-history-item small[b-pfq11my10a] { color: var(--gold) !important; }
.seshat-history-icon[b-pfq11my10a], .seshat-clear-all[b-pfq11my10a], .seshat-reply-toggle[b-pfq11my10a] { color: var(--gold); }
.seshat-history-icon:hover[b-pfq11my10a], .seshat-clear-all:hover:not(:disabled)[b-pfq11my10a], .seshat-reply-toggle:hover[b-pfq11my10a] { color: #FFE0A0; }
.seshat-history-empty[b-pfq11my10a] { color: var(--muted); }
.seshat-clear-all[b-pfq11my10a] { border-top: 1px solid var(--line); padding-top: 14px; margin-bottom: 0; }
.seshat-workspace-content[b-pfq11my10a] { display: flex; flex-direction: column; gap: 12px; padding: 16px; background: var(--chat); overflow-y: auto; }
/* The composer precedes replies in Razor; keep its visual position at the bottom. */
.seshat-question-panel[b-pfq11my10a] { order: 10; margin: auto 0 0; position: sticky; bottom: 0; z-index: 3; flex-shrink: 0; padding: 12px 18px; border: 1px solid #657D9B; background: #10253E; border-radius: 16px; box-shadow: none; }
.seshat-question-input textarea[b-pfq11my10a] { background: #10253E; border: 1px solid #8193AA; color: var(--ink); min-height: 82px; }
.seshat-question-input textarea[b-pfq11my10a]::placeholder { color: var(--ink); opacity: 1; }
.seshat-question-input textarea:focus[b-pfq11my10a] { background: #10253E; color: var(--ink); border-color: var(--gold); box-shadow: 0 0 0 2px #E8C47733; }
.seshat-question-input[b-pfq11my10a] { color: var(--ink); }
.seshat-question-actions[b-pfq11my10a] { margin-top: 8px; }
.seshat-question-hint[b-pfq11my10a], .seshat-language-indicator[b-pfq11my10a], .seshat-voice-language[b-pfq11my10a] { color: var(--muted); }
.seshat-conversation[b-pfq11my10a] { gap: 12px; margin-top: 0 !important; }
.seshat-conversation-heading[b-pfq11my10a], .seshat-message-role[b-pfq11my10a], .seshat-message-assistant .seshat-message-role[b-pfq11my10a], .seshat-message-references h4[b-pfq11my10a] { color: var(--gold); }
.seshat-message[b-pfq11my10a] { background: #203D5E; border: 1px solid var(--line); color: var(--ink); }
.seshat-message-user[b-pfq11my10a] { background: #304D70; border-left: 3px solid #8193AA; }
.seshat-message-assistant[b-pfq11my10a] { border-left: 3px solid var(--gold); }
.seshat-message-text[b-pfq11my10a] { color: var(--ink); }
.seshat-message-text[b-pfq11my10a]  a, .seshat-workspace-content a[b-pfq11my10a] { color: #A9D3FF; }
.seshat-message-references[b-pfq11my10a] { border-color: var(--line); }
.seshat-workspace-content .reference-card[b-pfq11my10a], .seshat-workspace-content .diagnostic-card[b-pfq11my10a], .seshat-workspace-content .answer-box[b-pfq11my10a], .seshat-workspace-content .ai-response[b-pfq11my10a] { background: #203D5E; color: var(--ink); border-color: var(--line); }
.seshat-workspace-content .reference-title[b-pfq11my10a], .seshat-workspace-content .diagnostic-title[b-pfq11my10a], .seshat-workspace-content .ai-response h3[b-pfq11my10a] { color: var(--gold); }
.seshat-workspace-content .reference-meta[b-pfq11my10a], .seshat-workspace-content .reference-path[b-pfq11my10a], .seshat-workspace-content .diagnostic-message[b-pfq11my10a] { color: var(--muted); }
.seshat-answer-actions .btn[b-pfq11my10a] { color: var(--gold); border-color: var(--line); }
.seshat-workspace button:focus-visible[b-pfq11my10a] { outline: 2px solid var(--gold); outline-offset: 2px; }
@media (max-width: 768px) {
    .seshat-workspace[b-pfq11my10a], .seshat-workspace:has(.seshat-history-sidebar.collapsed)[b-pfq11my10a] { grid-template-columns: minmax(0,1fr); height: auto; padding: 100px 12px 12px; margin: 12px auto; width: calc(100% - 24px); }
    .seshat-history-sidebar[b-pfq11my10a] { max-height: 320px; }
    .seshat-workspace-content[b-pfq11my10a] { min-height: 55vh; overflow: visible; }
    .thoth-chat-heading[b-pfq11my10a] { left: 12px; right: 12px; gap: 8px; }
    .thoth-chat-heading .thoth-heading-text span[b-pfq11my10a] { font-size: 12px; }
    .seshat-question-panel[b-pfq11my10a] { position: static; padding: 12px; }
}
/* _content/THOTH/Components/Pages/Home.razor.rz.scp.css */
/* ==========================================================
   THOTH Executive Dashboard
   ========================================================== */

.thoth-dashboard[b-tca1e3a3i3] {
    --dashboard-copper: #954e0e;
    --dashboard-copper-light: #d79a55;
    --dashboard-gold: #d8ad62;
    --dashboard-blue: #121f6b;
    --dashboard-navy: #061327;
    --dashboard-text: #101828;
    --dashboard-muted: #667085;
    --dashboard-border: #e2e7ef;
    --dashboard-surface: #ffffff;
    --dashboard-background: #f5f7fa;
    width: 100%;
    min-height: 100dvh;
    padding: clamp(2rem, 3vw, 3.5rem);
    box-sizing: border-box;
    color: var(--dashboard-text);
    background: radial-gradient( circle at 95% 5%, rgba(18, 31, 107, 0.07), transparent 27% ), var(--dashboard-background);
}

.dashboard-header[b-tca1e3a3i3] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: clamp(1.5rem, 3vw, 3rem);
    margin-bottom: clamp(1.7rem, 2.5vw, 2.2rem);
}

    .dashboard-header > div:first-child[b-tca1e3a3i3] {
        min-width: 0;
        max-width: 900px;
    }

.dashboard-eyebrow[b-tca1e3a3i3],
.section-eyebrow[b-tca1e3a3i3] {
    margin: 0 0 0.7rem;
    color: var(--dashboard-copper);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.dashboard-header h1[b-tca1e3a3i3] {
    margin: 0;
    padding: 0;
    color: var(--dashboard-blue);
    font-size: clamp(2rem, 3.2vw, 3.25rem);
    line-height: 1.08;
    font-weight: 700;
    /* Protect against global heading styles */
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
}

    .dashboard-header h1:focus[b-tca1e3a3i3],
    .dashboard-header h1:focus-visible[b-tca1e3a3i3] {
        border: 0 !important;
        outline: 0 !important;
        box-shadow: none !important;
    }

    .dashboard-header h1 span[b-tca1e3a3i3] {
        color: var(--dashboard-copper);
    }

.dashboard-introduction[b-tca1e3a3i3] {
    max-width: 760px;
    margin: 0.85rem 0 0;
    color: var(--dashboard-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

.dashboard-user-card[b-tca1e3a3i3] {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex: 0 0 auto;
    min-width: 230px;
    max-width: 320px;
    padding: 0.85rem 1rem;
    border: 1px solid var(--dashboard-border);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 10px 30px rgba(16, 24, 40, 0.06);
}

    .dashboard-user-card strong[b-tca1e3a3i3],
    .dashboard-user-card span[b-tca1e3a3i3] {
        display: block;
    }

    .dashboard-user-card strong[b-tca1e3a3i3] {
        overflow: hidden;
        color: var(--dashboard-blue);
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .dashboard-user-card span[b-tca1e3a3i3] {
        margin-top: 0.2rem;
        color: var(--dashboard-muted);
        font-size: 0.82rem;
    }

.user-avatar[b-tca1e3a3i3] {
    display: grid;
    place-items: center;
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    color: #ffffff;
    border-radius: 50%;
    background: linear-gradient( 145deg, var(--dashboard-copper-light), var(--dashboard-copper) );
    font-weight: 800;
    letter-spacing: 0.04em;
}

.seshat-hero[b-tca1e3a3i3] {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(1.5rem, 3vw, 3rem);
    overflow: hidden;
    margin-bottom: clamp(1.8rem, 3vw, 2.3rem);
    /* reduced */
    padding: 1.8rem 2.5rem;
    color: #ffffff;
    border: 1px solid rgba(216, 173, 98, 0.45);
    border-radius: 22px;
    background: linear-gradient( 120deg, #061326 0%, #0b2143 58%, #07172e 100% );
    box-shadow: 0 20px 55px rgba(6, 19, 39, 0.16);
}

    .seshat-hero[b-tca1e3a3i3]::before {
        position: absolute;
        inset: 0;
        content: "";
        opacity: 0.16;
        background-image: linear-gradient( rgba(67, 133, 230, 0.2) 1px, transparent 1px ), linear-gradient( 90deg, rgba(67, 133, 230, 0.2) 1px, transparent 1px );
        background-size: 48px 48px;
        pointer-events: none;
    }

.seshat-copy[b-tca1e3a3i3] {
    position: relative;
    z-index: 1;
    max-width: 760px;
}

.seshat-label[b-tca1e3a3i3] {
    display: inline-flex;
    margin-bottom: 1rem;
    padding: 0.35rem 0.75rem;
    color: var(--dashboard-gold);
    border: 1px solid rgba(216, 173, 98, 0.55);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.16em;
}

.seshat-copy h2[b-tca1e3a3i3] {
    margin: 0;
    color: var(--dashboard-gold);
    font-size: clamp(1.65rem, 3vw, 2.65rem);
    line-height: 1.15;
}

.seshat-copy p[b-tca1e3a3i3] {
    max-width: 680px;
    margin: 0.8rem 0 1.25rem;
    color: #c8d0dd;
    line-height: 1.7;
}

.dashboard-primary-button[b-tca1e3a3i3] {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.85rem 1.15rem;
    color: #ffffff;
    border: 1px solid #c9823f;
    border-radius: 9px;
    background: linear-gradient( 135deg, #b7672c, var(--dashboard-copper) );
    box-shadow: 0 10px 26px rgba(149, 78, 14, 0.28);
    font-weight: 700;
    text-decoration: none;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

    .dashboard-primary-button:hover[b-tca1e3a3i3] {
        color: #ffffff;
        transform: translateY(-2px);
        box-shadow: 0 14px 32px rgba(149, 78, 14, 0.36);
    }

/* ==========================================================
   SESHAT — restrained character animation
   The GIF animates the eyes. The portrait itself remains stable.
   ========================================================== */
.seshat-visual[b-tca1e3a3i3] {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: clamp(300px, 25vw, 390px);
    isolation: isolate;
}

    .seshat-visual[b-tca1e3a3i3]::before {
        position: absolute;
        z-index: -1;
        width: 118%;
        aspect-ratio: 1;
        content: "";
        border-radius: 50%;
        background: radial-gradient(circle, rgba(31, 113, 255, 0.16) 0%, rgba(31, 113, 255, 0.06) 40%, transparent 74%);
        filter: blur(8px);
        pointer-events: none;
    }

.seshat-portrait[b-tca1e3a3i3] {
    position: relative;
    width: clamp(250px, 21vw, 320px);
    aspect-ratio: 1;
    overflow: hidden;
    border: 2px solid rgba(216, 173, 98, 0.82);
    border-radius: 50%;
    background: #061327;
    box-shadow: 0 0 0 7px rgba(31, 113, 255, 0.045), 0 0 32px rgba(31, 113, 255, 0.14);
}

    .seshat-portrait[b-tca1e3a3i3]::after {
        position: absolute;
        inset: 8px;
        z-index: 3;
        content: "";
        border: 1px solid rgba(56, 137, 255, 0.24);
        border-radius: 50%;
        pointer-events: none;
    }

.seshat-picture[b-tca1e3a3i3] {
    display: block;
    width: 100%;
    height: 100%;
}

.seshat-dashboard-image[b-tca1e3a3i3] {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 24%;
}

@media (prefers-reduced-motion: reduce) {
    .seshat-dashboard-image[b-tca1e3a3i3] {
        transition: none;
    }
}

.dashboard-section[b-tca1e3a3i3] {
    margin-top: 1rem;
}

.section-heading[b-tca1e3a3i3] {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 1.15rem;
}

    .section-heading h2[b-tca1e3a3i3] {
        margin: 0;
        color: var(--dashboard-blue);
        font-size: clamp(1.45rem, 2.3vw, 2rem);
    }

.workspace-grid[b-tca1e3a3i3] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1rem, 1.6vw, 1.4rem);
}

.workspace-card[b-tca1e3a3i3] {
    position: relative;
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) auto;
    align-items: start;
    gap: 1rem;
    min-width: 0;
    min-height: 145px;
    padding: clamp(1.15rem, 1.5vw, 1.35rem);
    color: inherit;
    border: 1px solid var(--dashboard-border);
    border-radius: 16px;
    background: var(--dashboard-surface);
    box-shadow: 0 10px 30px rgba(16, 24, 40, 0.045);
    text-decoration: none;
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

    .workspace-card:hover[b-tca1e3a3i3] {
        color: inherit;
        border-color: rgba(149, 78, 14, 0.48);
        transform: translateY(-4px);
        box-shadow: 0 18px 42px rgba(16, 24, 40, 0.09);
    }

.workspace-icon[b-tca1e3a3i3] {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    color: var(--dashboard-copper);
    border: 1px solid rgba(149, 78, 14, 0.24);
    border-radius: 12px;
    background: rgba(149, 78, 14, 0.06);
    font-size: 1.35rem;
}

.workspace-card h3[b-tca1e3a3i3] {
    margin: 0;
    color: var(--dashboard-blue);
    font-size: 1.08rem;
}

.workspace-card p[b-tca1e3a3i3] {
    margin: 0.65rem 0 0;
    color: var(--dashboard-muted);
    line-height: 1.55;
}

.workspace-arrow[b-tca1e3a3i3] {
    color: var(--dashboard-copper);
    font-size: 1.2rem;
    transition: transform 180ms ease;
}

.workspace-card:hover .workspace-arrow[b-tca1e3a3i3] {
    transform: translateX(4px);
}

.administration-card[b-tca1e3a3i3] {
    background: linear-gradient( 145deg, rgba(18, 31, 107, 0.035), #ffffff );
}

@media (max-width: 1280px) {
    .workspace-grid[b-tca1e3a3i3] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .thoth-dashboard[b-tca1e3a3i3] {
        padding: 1rem;
    }

    .dashboard-header[b-tca1e3a3i3] {
        display: grid;
        gap: 1rem;
    }

        .dashboard-header h1[b-tca1e3a3i3] {
            font-size: clamp(1.9rem, 7vw, 2.75rem);
        }

    .dashboard-user-card[b-tca1e3a3i3] {
        width: 100%;
        max-width: none;
        box-sizing: border-box;
    }

    .seshat-hero[b-tca1e3a3i3] {
        grid-template-columns: 1fr;
    }



    .workspace-grid[b-tca1e3a3i3] {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .workspace-card[b-tca1e3a3i3] {
        grid-template-columns: 44px minmax(0, 1fr);
    }

    .workspace-icon[b-tca1e3a3i3] {
        width: 42px;
        height: 42px;
    }

    .workspace-arrow[b-tca1e3a3i3] {
        display: none;
    }
}

.dashboard-logout-form[b-tca1e3a3i3] {
    margin: 0.45rem 0 0;
    padding: 0;
}

.dashboard-logout-button[b-tca1e3a3i3] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0;
    color: var(--dashboard-copper);
    border: 0;
    background: transparent;
    font: inherit;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    transition: color 160ms ease, transform 160ms ease;
}

    .dashboard-logout-button span[b-tca1e3a3i3] {
        margin: 0;
        color: inherit;
        font-size: inherit;
    }

    .dashboard-logout-button:hover[b-tca1e3a3i3] {
        color: var(--dashboard-blue);
        transform: translateX(2px);
    }

    .dashboard-logout-button:focus-visible[b-tca1e3a3i3] {
        outline: 2px solid var(--dashboard-copper);
        outline-offset: 4px;
        border-radius: 2px;
    }
/* _content/THOTH/Components/Pages/KnowledgeBaseIndex.razor.rz.scp.css */
.knowledge-base-page[b-56y5ek1wt8] {
    min-width: 0;
}

.page-header[b-56y5ek1wt8] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

    .page-header h1[b-56y5ek1wt8] {
        margin: 0;
        font-size: 2rem;
        font-weight: 700;
    }

    .page-header p[b-56y5ek1wt8] {
        margin: 0.5rem 0 0;
        color: #64748b;
    }

.summary-grid[b-56y5ek1wt8] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.summary-card[b-56y5ek1wt8],
.content-card[b-56y5ek1wt8] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.summary-card[b-56y5ek1wt8] {
    padding: 1.25rem;
}

    .summary-card strong[b-56y5ek1wt8] {
        display: block;
        margin-top: 0.5rem;
        font-size: 1.75rem;
    }

.summary-label[b-56y5ek1wt8] {
    color: #64748b;
}

.toolbar[b-56y5ek1wt8] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.content-card[b-56y5ek1wt8] {
    overflow: hidden;
}

.table[b-56y5ek1wt8] {
    margin-bottom: 0;
}

.document-path[b-56y5ek1wt8] {
    margin-top: 0.25rem;
    color: #64748b;
    font-size: 0.875rem;
}

.empty-state[b-56y5ek1wt8] {
    padding: 4rem 2rem;
    text-align: center;
}

.status-badge[b-56y5ek1wt8] {
    display: inline-flex;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    background: #e2e8f0;
}

.status-indexed[b-56y5ek1wt8] {
    color: #166534;
    background: #dcfce7;
}

.status-pending[b-56y5ek1wt8] {
    color: #92400e;
    background: #fef3c7;
}

.status-failed[b-56y5ek1wt8] {
    color: #991b1b;
    background: #fee2e2;
}

@media (max-width: 900px) {
    .summary-grid[b-56y5ek1wt8] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .toolbar[b-56y5ek1wt8] {
        grid-template-columns: 1fr;
    }
}

/* Styles document links and readable persisted chunk content. */
.document-title-link[b-56y5ek1wt8] {
    font-weight: 600;
    text-decoration: none;
}

    .document-title-link:hover[b-56y5ek1wt8] {
        text-decoration: underline;
    }

.document-chunk-list[b-56y5ek1wt8] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chunk-content[b-56y5ek1wt8] {
    max-height: 28rem;
    overflow: auto;
    padding: 1rem;
    border: 1px solid var(--bs-border-color);
    border-radius: 0.5rem;
    background: var(--bs-tertiary-bg);
    color: inherit;
    font-family: inherit;
    font-size: 0.925rem;
    line-height: 1.6;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

/* Polishes the Knowledge Base document details page. */
.document-details-page[b-56y5ek1wt8] {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.document-details-header[b-56y5ek1wt8] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.document-subtitle[b-56y5ek1wt8] {
    color: var(--bs-secondary-color);
    font-size: 1.1rem;
}

.document-file-icon[b-56y5ek1wt8] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    border-radius: 1rem;
    background: var(--bs-primary-bg-subtle);
    color: var(--bs-primary);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.04em;
}

.document-header-actions[b-56y5ek1wt8] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.document-version-badge[b-56y5ek1wt8] {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: var(--bs-secondary-bg);
    font-size: 0.875rem;
    font-weight: 600;
}

.document-statistics-grid[b-56y5ek1wt8] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.document-stat-card[b-56y5ek1wt8] {
    padding: 1.25rem;
    border: 1px solid var(--bs-border-color);
    border-radius: 0.9rem;
    background: var(--bs-body-bg);
    box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.04);
}

    .document-stat-card span[b-56y5ek1wt8] {
        display: block;
        color: var(--bs-secondary-color);
        font-size: 0.85rem;
        margin-bottom: 0.35rem;
    }

    .document-stat-card strong[b-56y5ek1wt8] {
        display: block;
        font-size: 1.75rem;
        line-height: 1.1;
    }

.progress-stat-card[b-56y5ek1wt8] {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.document-details-grid[b-56y5ek1wt8] {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(16rem, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.document-overview-card[b-56y5ek1wt8] {
    padding: 1.5rem;
    border: 1px solid var(--bs-border-color);
    border-radius: 0.9rem;
    background: var(--bs-body-bg);
    box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.04);
}

.overview-item[b-56y5ek1wt8] {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--bs-border-color);
}

    .overview-item:last-child[b-56y5ek1wt8] {
        border-bottom: 0;
    }

    .overview-item span[b-56y5ek1wt8] {
        color: var(--bs-secondary-color);
    }

.document-chunk-list[b-56y5ek1wt8] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chunk-content[b-56y5ek1wt8] {
    max-height: 32rem;
    overflow: auto;
    padding: 1.1rem;
    border: 1px solid var(--bs-border-color);
    border-radius: 0.75rem;
    background: var(--bs-tertiary-bg);
    color: inherit;
    font-family: inherit;
    font-size: 0.95rem;
    line-height: 1.65;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

@media (max-width: 992px) {
    .document-statistics-grid[b-56y5ek1wt8] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .document-details-grid[b-56y5ek1wt8] {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .document-statistics-grid[b-56y5ek1wt8] {
        grid-template-columns: 1fr;
    }

    .document-stat-card strong[b-56y5ek1wt8] {
        font-size: 1.5rem;
    }
}

/* THOTH Knowledge Base header — matches Processing Dashboard */
.knowledge-base-hero[b-56y5ek1wt8] {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: clamp(22px, 4vw, 38px) clamp(18px, 4vw, 44px);
    margin-bottom: 26px;
    background: #091b35;
    border-radius: 20px;
}

.knowledge-base-hero-logo[b-56y5ek1wt8] {
    display: block;
    width: 50px;
    height: 60px;
    object-fit: contain;
    flex-shrink: 0;
    transform-origin: 50% 70%;
    animation: knowledge-thoth-look-b-56y5ek1wt8 10s ease-in-out infinite;
}

@keyframes knowledge-thoth-look-b-56y5ek1wt8 {
    0%, 8%, 23%, 38%, 100% {
        transform: rotate(0deg);
    }

    13%, 18% {
        transform: rotate(-6deg);
    }

    28%, 33% {
        transform: rotate(6deg);
    }
}

.knowledge-base-hero-text[b-56y5ek1wt8] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    min-width: 0;
}

    .knowledge-base-hero-text h1[b-56y5ek1wt8] {
        margin: 0;
        color: #f1be72;
        font-size: clamp(24px, 3vw, 36px);
        font-weight: 700;
    }

    .knowledge-base-hero-text span[b-56y5ek1wt8] {
        color: #ffffff;
        font-size: 15px;
    }

@media (prefers-reduced-motion: reduce) {
    .knowledge-base-hero-logo[b-56y5ek1wt8] {
        animation: none;
    }
}

@media (max-width: 768px) {
    .knowledge-base-hero[b-56y5ek1wt8] {
        padding: 22px 18px;
    }
}

/* THOTH unified Knowledge Base theme */
.knowledge-base-page[b-56y5ek1wt8] { background:#fff; border-radius:20px; padding:16px; color:#091B35; box-sizing:border-box; }
.knowledge-base-hero[b-56y5ek1wt8] { background:#fff; padding:18px 22px; margin-bottom:18px; }
.knowledge-base-hero-text h1[b-56y5ek1wt8] { color:#B68A47; }
.knowledge-base-hero-text span[b-56y5ek1wt8] { color:#091B35; }
.summary-card[b-56y5ek1wt8] { background:#122945; border:1px solid #304D70; border-radius:14px; box-shadow:none; }
.summary-card strong[b-56y5ek1wt8] { color:#E8C477; }
.summary-label[b-56y5ek1wt8] { color:#E9EDF3; }
.upload-wrapper[b-56y5ek1wt8] { margin-bottom:18px; }
.upload-button[b-56y5ek1wt8] { background:linear-gradient(110deg,#F1CB83,#CD9845); color:#091B35; border:1px solid #B68A47; border-radius:9px; padding:10px 20px; font-weight:700; }
.upload-button:hover[b-56y5ek1wt8] { background:#E8C477; color:#091B35; border-color:#B68A47; }
.upload-wrapper:focus-within .upload-button[b-56y5ek1wt8] { outline:2px solid #B68A47; outline-offset:3px; }
.toolbar[b-56y5ek1wt8] { background:#152E4C; border-radius:14px; padding:16px; }
.toolbar .form-control[b-56y5ek1wt8],.toolbar .form-select[b-56y5ek1wt8] { background-color:#10253E; color:#fff; border:1px solid #657D9B; border-radius:9px; padding:10px 14px; }
.toolbar .form-control[b-56y5ek1wt8]::placeholder { color:#C5D4E5; opacity:1; }
.toolbar .form-select[b-56y5ek1wt8] { color-scheme:dark; }
.toolbar .form-control:focus[b-56y5ek1wt8],.toolbar .form-select:focus[b-56y5ek1wt8] { border-color:#E8C477; box-shadow:0 0 0 3px #e8c47726; }
.content-card[b-56y5ek1wt8] { border:1px solid #304D70; border-radius:14px; overflow-x:auto; box-shadow:none; }
.content-card .table[b-56y5ek1wt8] { --bs-table-bg:#fff; --bs-table-color:#091B35; --bs-table-striped-bg:#F1F4F8; width:100%; min-width:680px; margin:0; }
.content-card .table thead th[b-56y5ek1wt8] { background:#091B35; color:#E8C477; padding:13px 14px; white-space:nowrap; border-color:#304D70; }
.content-card .table tbody td[b-56y5ek1wt8] { padding:12px 14px; border-color:#E1E7EF; vertical-align:middle; overflow-wrap:anywhere; }
.content-card .table tbody tr:nth-child(even) td[b-56y5ek1wt8] { background:#F1F4F8; }
.document-title-link[b-56y5ek1wt8] { color:#173C65; }
.document-title-link:hover[b-56y5ek1wt8] { color:#805A24; }
.content-card > p[b-56y5ek1wt8] { padding:20px; margin:0; }
.status-badge[b-56y5ek1wt8] { white-space:nowrap; }
@media(max-width:576px) { .knowledge-base-page[b-56y5ek1wt8] { padding:10px; } .summary-grid[b-56y5ek1wt8] { grid-template-columns:1fr; } .knowledge-base-hero[b-56y5ek1wt8] { padding:12px; } }
/* _content/THOTH/Components/Pages/KnowledgeBase/DocumentDetails.razor.rz.scp.css */
/* Styles the overall document details page and header layout. */
.document-details-page[b-9hca491r82] {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Separates the page heading from document-specific information. */
.document-details-header[b-9hca491r82] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

/* Keeps the main page title on its own line. */
.document-details-heading[b-9hca491r82] {
    width: 100%;
}

    .document-details-heading h1[b-9hca491r82] {
        color: var(--thoth-copper);
        font-weight: 700;
    }

.document-title-row h2[b-9hca491r82] {
    color: var(--thoth-blue);
    font-weight: 500;
}

    .document-title-row h2[b-9hca491r82] {
        margin: 0;
        font-size: 1.45rem;
        font-weight: 400;
        line-height: 1.3;
    }

/* Styles the file extension as a compact badge. */
.document-extension-badge[b-9hca491r82] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    background: #eaf2ff;
    color: #0d6efd;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}


    .document-details-header h1[b-9hca491r82] {
        margin: 0;
        font-size: clamp(2rem, 4vw, 3.5rem);
        line-height: 1.1;
    }

.document-subtitle[b-9hca491r82] {
    color: var(--bs-secondary-color);
    font-size: 1.15rem;
}

.document-file-icon[b-9hca491r82] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4.25rem;
    height: 4.25rem;
    flex-shrink: 0;
    border-radius: 1rem;
    background: var(--bs-primary-bg-subtle);
    color: var(--bs-primary-text-emphasis);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.document-header-actions[b-9hca491r82] {
    
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.document-version-badge[b-9hca491r82] {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.85rem;
    border: 1px solid var(--bs-border-color);
    border-radius: 999px;
    background: var(--bs-secondary-bg);
    font-size: 0.875rem;
    font-weight: 600;
}

.document-details-grid[b-9hca491r82] {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(18rem, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.document-overview-card[b-9hca491r82] {
    padding: 1.5rem;
    border: 1px solid var(--bs-border-color);
    border-radius: 1rem;
    background: var(--bs-body-bg);
    box-shadow: 0 0.35rem 1.25rem rgba(0, 0, 0, 0.05);
}

.overview-item[b-9hca491r82] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--bs-border-color);
}

    .overview-item:last-child[b-9hca491r82] {
        border-bottom: 0;
    }

    .overview-item span[b-9hca491r82] {
        color: var(--bs-secondary-color);
    }

    .overview-item strong[b-9hca491r82] {
        text-align: right;
    }

@media (max-width: 992px) {
    .document-details-grid[b-9hca491r82] {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .document-details-header[b-9hca491r82] {
        flex-direction: column;
    }

    .document-file-icon[b-9hca491r82] {
        width: 3.5rem;
        height: 3.5rem;
    }
}

.document-metadata-card h2[b-9hca491r82],
.document-overview-card h2[b-9hca491r82],
.chunk-list-card h2[b-9hca491r82],
.chunk-list-header h2[b-9hca491r82] {
    color: var(--thoth-copper);
    font-weight: 700;
}

.document-metadata-card span[b-9hca491r82],
.document-overview-card span[b-9hca491r82] {
    color: var(--thoth-copper);
}

.document-metadata-card strong[b-9hca491r82],
.document-overview-card strong[b-9hca491r82] {
    color: var(--thoth-blue);
    font-weight: 500;
}

/* Keeps individual chunk headings dark blue while section headings remain copper. */
.chunk-card h3[b-9hca491r82],
.chunk-title[b-9hca491r82] {
    color: var(--thoth-blue);
    font-weight: 700;
}
.chunk-card .chunk-meta[b-9hca491r82] {
    color: var(--thoth-blue);
}

.result-chunk-content[b-9hca491r82],
.chunk-content[b-9hca491r82],
.chunk-text[b-9hca491r82] {
    color: var(--thoth-blue);
    line-height: 1.75;
}

.statistics-label[b-9hca491r82] {
    color: var(--thoth-copper);
}

.statistics-value[b-9hca491r82] {
    color: var(--thoth-blue);
    font-weight: 700;
}

.btn-outline-primary[b-9hca491r82] {
    color: var(--thoth-copper);
    border-color: var(--thoth-copper);
}

    .btn-outline-primary:hover[b-9hca491r82] {
        background: var(--thoth-copper);
        color: white;
    }
.progress-bar[b-9hca491r82] {
    background: var(--thoth-copper);
}

.content-card[b-9hca491r82],
.document-overview-card[b-9hca491r82],
.document-metadata-card[b-9hca491r82],
.chunk-list-card[b-9hca491r82],
.search-result-card[b-9hca491r82] {
    background: white;
    border: 1px solid var(--thoth-border);
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(15,23,42,.05);
}
/* _content/THOTH/Components/Pages/Login.razor.rz.scp.css */
/* ==========================================================================
   THOTH Login Page
   ========================================================================== */

.thoth-landing[b-er1y71hkp9] {
    --landing-copper: #954e0e;
    --landing-copper-dark: #783d0a;
    --landing-copper-light: #d79a55;
    --landing-gold: #d8ad62;
    --landing-blue: #121f6b;
    --landing-navy: #020817;
    --landing-text: #f6f8fc;
    --landing-muted: #b7c0d0;
    --landing-border: rgba(142, 164, 195, 0.5);
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    color: var(--landing-text);
    background: radial-gradient( circle at 52% 44%, rgba(16, 75, 145, 0.25), transparent 31% ), radial-gradient( circle at 8% 85%, rgba(149, 78, 14, 0.18), transparent 27% ), linear-gradient( 120deg, #01050e 0%, #041126 47%, var(--landing-navy) 100% );
}

/* ==========================================================================
   Background atmosphere
   ========================================================================== */

.landing-atmosphere[b-er1y71hkp9] {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.circuit-grid[b-er1y71hkp9] {
    position: absolute;
    inset: 0;
    opacity: 0.22;
    background-image: linear-gradient( rgba(53, 135, 255, 0.08) 1px, transparent 1px ), linear-gradient( 90deg, rgba(53, 135, 255, 0.08) 1px, transparent 1px );
    background-size: 78px 78px;
    mask-image: radial-gradient( circle at 55% 45%, #000 0%, transparent 67% );
}

/* ==========================================================================
   Main layout
   ========================================================================== */

.landing-content[b-er1y71hkp9] {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(420px, 0.9fr) minmax(300px, 0.82fr) minmax(390px, 0.75fr);
    align-items: center;
    gap: clamp(1.5rem, 3vw, 4.5rem);
    width: min(100%, 1780px);
    min-height: 100vh;
    margin: 0 auto;
    padding: clamp(2rem, 4vw, 4.5rem) clamp(1.5rem, 4vw, 5rem);
}

.landing-hero[b-er1y71hkp9] {
    position: relative;
    z-index: 2;
    min-width: 0;
    align-self: start;
}

/* ==========================================================================
   THOTH branding
   ========================================================================== */

.thoth-brand[b-er1y71hkp9] {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    /*margin-bottom: clamp(2.2rem, 5vh, 4.6rem);*/
    margin-bottom: clamp(4rem, 9vh, 7rem);
}

.thoth-brand-mark[b-er1y71hkp9] {
    width: clamp(78px, 7vw, 130px);
    height: auto;
    object-fit: contain;
    filter: drop-shadow( 0 0 18px rgba(216, 173, 98, 0.2) );
}

.thoth-wordmark[b-er1y71hkp9] {
    color: var(--landing-gold);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.8rem, 5vw, 5rem);
    line-height: 0.95;
    letter-spacing: 0.04em;
}
.thoth-wordmark-adham[b-er1y71hkp9] {
    color: white;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(0.5rem, 1.5vw, 1.5rem);
    line-height: 0.95;
    letter-spacing: 0.04em;
}

.thoth-brand-subtitle[b-er1y71hkp9] {
    margin-top: 0.8rem;
    color: #f4f5f7;
    font-size: clamp(0.72rem, 0.9vw, 1rem);
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

/* ==========================================================================
   Hero message
   ========================================================================== */

.hero-copy h1[b-er1y71hkp9] {
    margin: 0;
    font-size: clamp(2.6rem, 4.2vw, 5rem);
    font-weight: 400;
    line-height: 1.08;
}

    .hero-copy h1 span[b-er1y71hkp9],
    .hero-copy h1 strong[b-er1y71hkp9] {
        display: block;
    }

    .hero-copy h1 span[b-er1y71hkp9] {
        color: var(--landing-copper-light);
        font-weight: 400;
    }

    .hero-copy h1 strong[b-er1y71hkp9] {
        margin-top: 0.35rem;
        color: #ffffff;
        font-weight: 400;
    }

.hero-copy > p[b-er1y71hkp9] {
    max-width: 720px;
    margin: clamp(1.7rem, 3vh, 2.5rem) 0 clamp(2rem, 4vh, 3.2rem);
    color: #d3d8e2;
    font-size: clamp(1rem, 1.25vw, 1.25rem);
    line-height: 1.75;
}

/* ==========================================================================
   Platform features
   ========================================================================== */

.landing-features[b-er1y71hkp9] {
    display: grid;
    gap: 1.25rem;
}

.landing-feature[b-er1y71hkp9] {
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr);
    align-items: center;
    gap: 1rem;
}

.feature-icon[b-er1y71hkp9] {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    color: var(--landing-copper-light);
    border: 1px solid rgba(215, 154, 85, 0.75);
    border-radius: 50%;
    font-size: 1.45rem;
}

.landing-feature h2[b-er1y71hkp9] {
    margin: 0;
    color: var(--landing-copper-light);
    font-size: 1.05rem;
    font-weight: 600;
}

.landing-feature p[b-er1y71hkp9] {
    margin: 0.25rem 0 0;
    color: var(--landing-muted);
    font-size: 0.95rem;
    line-height: 1.45;
}



/* ==========================================================
   SESHAT robot transition
   ========================================================== */

.robot-stage[b-er1y71hkp9] {
    position: relative;
    align-self: center;
    justify-self: center;
    width: min(38vw, 610px);
    aspect-ratio: 4 / 5;
    min-width: 0;
    pointer-events: none;
    transform: translateX(-45px);
}

.robot-halo[b-er1y71hkp9] {
    position: absolute;
    z-index: 1;
    top: 8%;
    left: 50%;
    width: min(31vw, 485px);
    aspect-ratio: 1;
    border: 1px solid rgba(215, 154, 85, 0.28);
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 0 22px rgba(33, 114, 230, 0.035), 0 0 0 48px rgba(215, 154, 85, 0.025);
}

.seshat-image[b-er1y71hkp9] {
    position: absolute;
    z-index: 2;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    filter: drop-shadow( 0 0 34px rgba(31, 113, 255, 0.18) );
}

/* SESHAT: stable transparent animation, proportionally contained in the halo */
.seshat-stable[b-er1y71hkp9] {
    opacity: 1;
    animation: none;
    width: 82%;
    height: 82%;
    left: 9%;
    top: 7%;
    object-fit: contain;
    object-position: center;
}

/* No decorative rectangle around the hero headline. */
.hero-copy[b-er1y71hkp9], .hero-copy h1[b-er1y71hkp9], .hero-copy h1 span[b-er1y71hkp9], .hero-copy h1 strong[b-er1y71hkp9] {
    border: none;
    outline: none;
    box-shadow: none;
    background: transparent;
}

    .hero-copy[b-er1y71hkp9]::before, .hero-copy[b-er1y71hkp9]::after,
    .hero-copy h1[b-er1y71hkp9]::before, .hero-copy h1[b-er1y71hkp9]::after {
        content: none;
    }

/* ==========================================================================
   Login panel
   ========================================================================== */

.login-panel[b-er1y71hkp9] {
    position: relative;
    z-index: 4;
    width: 100%;
    max-width: 510px;
    justify-self: end;
    overflow: hidden;
    border: 1px solid rgba(215, 154, 85, 0.66);
    border-radius: 22px;
    background: linear-gradient( 145deg, rgba(8, 29, 55, 0.94), rgba(2, 13, 30, 0.9) );
    box-shadow: 0 34px 90px rgba(0, 0, 0, 0.46), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(14px);
}

.login-panel-inner[b-er1y71hkp9] {
    padding: 2rem clamp(2rem, 4vw, 4rem) 1.25rem;
}

.login-header[b-er1y71hkp9] {
    margin-bottom: 2.5rem;
}

.login-eyebrow[b-er1y71hkp9] {
    margin: 0 0 0.5rem;
    color: var(--landing-copper-light);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.login-header h2[b-er1y71hkp9] {
    margin: 0;
    color: var(--landing-copper-light);
    font-size: clamp(2.1rem, 3vw, 3rem);
    font-weight: 500;
}

.login-header > p:last-child[b-er1y71hkp9] {
    margin: 0.65rem 0 0;
    color: var(--landing-muted);
    font-size: 1.1rem;
}

/* ==========================================================================
   Login form
   ========================================================================== */

.thoth-login-form[b-er1y71hkp9] {
    width: 100%;
}

.login-field[b-er1y71hkp9] {
    margin-bottom: 1.55rem;
}

    .login-field label[b-er1y71hkp9] {
        display: block;
        margin-bottom: 0.55rem;
        color: #ffffff;
        font-weight: 600;
    }

.login-input-shell[b-er1y71hkp9] {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    align-items: center;
    min-height: 62px;
    overflow: hidden;
    border: 1px solid var(--landing-border);
    border-radius: 9px;
    background: rgba(2, 12, 27, 0.48);
    transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

    .login-input-shell:hover[b-er1y71hkp9] {
        border-color: rgba(215, 154, 85, 0.62);
    }

    .login-input-shell:focus-within[b-er1y71hkp9] {
        border-color: var(--landing-copper-light);
        background: rgba(2, 12, 27, 0.65);
        box-shadow: 0 0 0 3px rgba(215, 154, 85, 0.11);
    }

.input-icon[b-er1y71hkp9] {
    display: grid;
    place-items: center;
    color: var(--landing-copper-light);
}

.login-input[b-er1y71hkp9] {
    width: 100%;
    min-width: 0;
    padding: 1rem 0.5rem;
    color: #ffffff;
    border: 0;
    outline: 0;
    background: transparent;
    font: inherit;
}

    .login-input[b-er1y71hkp9]::placeholder {
        color: #8995aa;
    }

    .login-input:-webkit-autofill[b-er1y71hkp9],
    .login-input:-webkit-autofill:hover[b-er1y71hkp9],
    .login-input:-webkit-autofill:focus[b-er1y71hkp9] {
        -webkit-text-fill-color: #ffffff;
        transition: background-color 9999s ease-in-out 0s;
        caret-color: #ffffff;
    }

.password-toggle[b-er1y71hkp9] {
    margin-right: 0.8rem;
    padding: 0.4rem;
    color: #aab5c7;
    border: 0;
    background: transparent;
    font-size: 0.78rem;
    cursor: pointer;
}

    .password-toggle:hover[b-er1y71hkp9],
    .password-toggle:focus-visible[b-er1y71hkp9] {
        color: var(--landing-copper-light);
        outline: none;
    }

/* ==========================================================================
   Login options
   ========================================================================== */

.login-options[b-er1y71hkp9] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: 0.25rem 0 1.75rem;
}

.remember-option[b-er1y71hkp9] {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin: 0;
    color: #e6e9ef;
    cursor: pointer;
    user-select: none;
}

    .remember-option input[b-er1y71hkp9] {
        width: 1rem;
        height: 1rem;
        accent-color: var(--landing-copper);
    }

/* ==========================================================================
   Sign-in button
   ========================================================================== */

.thoth-sign-in[b-er1y71hkp9] {
    width: 100%;
    min-height: 64px;
    color: #ffffff;
    border: 1px solid #d08a43;
    border-radius: 9px;
    background: linear-gradient( 135deg, #b7672c, var(--landing-copper) );
    box-shadow: 0 10px 28px rgba(149, 78, 14, 0.23);
    font-size: 1.15rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

    .thoth-sign-in:hover:not(:disabled)[b-er1y71hkp9] {
        transform: translateY(-2px);
        filter: brightness(1.08);
        box-shadow: 0 15px 35px rgba(149, 78, 14, 0.32);
    }

    .thoth-sign-in:focus-visible[b-er1y71hkp9] {
        outline: 3px solid rgba(215, 154, 85, 0.34);
        outline-offset: 3px;
    }

    .thoth-sign-in:active:not(:disabled)[b-er1y71hkp9] {
        transform: translateY(0);
    }

    .thoth-sign-in:disabled[b-er1y71hkp9] {
        cursor: wait;
        opacity: 0.68;
    }

/* ==========================================================================
   Error and validation messages
   ========================================================================== */

.login-error[b-er1y71hkp9] {
    margin-bottom: 1rem;
    padding: 0.8rem 1rem;
    color: #ffd5d5;
    border: 1px solid rgba(255, 105, 105, 0.35);
    border-radius: 8px;
    background: rgba(133, 24, 24, 0.2);
    line-height: 1.45;
}

.validation-message[b-er1y71hkp9] {
    display: block;
    margin-top: 0.4rem;
    color: #ffb5b5;
    font-size: 0.82rem;
}

/* ==========================================================================
   Legal trust and footer
   ========================================================================== */

.legal-trust[b-er1y71hkp9] {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 2.3rem 0 0.9rem;
}

.legal-line[b-er1y71hkp9] {
    flex: 1;
    height: 1px;
    background: linear-gradient( 90deg, transparent, rgba(215, 154, 85, 0.55) );
}

    .legal-line:last-child[b-er1y71hkp9] {
        transform: scaleX(-1);
    }

.legal-symbol[b-er1y71hkp9] {
    color: var(--landing-copper-light);
    font-size: 1.55rem;
}

.legal-message[b-er1y71hkp9],
.login-footer[b-er1y71hkp9] {
    text-align: center;
    color: var(--landing-muted);
}

.legal-message[b-er1y71hkp9] {
    margin-bottom: 1rem;
}

    .login-footer[b-er1y71hkp9] {
    margin: 0;
    font-size: 0.8rem;
}

/* ==========================================================================
   Ambient particles
   ========================================================================== */

.particle[b-er1y71hkp9] {
    position: absolute;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #2f8cff;
    box-shadow: 0 0 10px #2f8cff;
    animation: particle-drift-b-er1y71hkp9 14s ease-in-out infinite;
}

.particle-one[b-er1y71hkp9] {
    top: 14%;
    left: 38%;
}

.particle-two[b-er1y71hkp9] {
    top: 64%;
    left: 31%;
    animation-delay: -4s;
}

.particle-three[b-er1y71hkp9] {
    top: 30%;
    right: 10%;
    background: var(--landing-copper-light);
    box-shadow: 0 0 10px var(--landing-copper-light);
    animation-delay: -8s;
}

.particle-four[b-er1y71hkp9] {
    bottom: 13%;
    left: 57%;
    animation-delay: -11s;
}

@keyframes particle-drift-b-er1y71hkp9 {
    0%, 100% {
        opacity: 0.25;
        transform: translate3d(0, 0, 0);
    }

    50% {
        opacity: 0.85;
        transform: translate3d(14px, -18px, 0);
    }
}

/* ==========================================================================
   Medium desktop
   ========================================================================== */

@media (max-width: 1250px) {
    .landing-content[b-er1y71hkp9] {
        grid-template-columns: minmax(360px, 1fr) minmax(340px, 0.78fr);
    }

    .robot-stage[b-er1y71hkp9] {
        position: absolute;
        top: 7%;
        right: 28%;
        width: min(45vw, 570px);
        opacity: 0.48;
    }

    .login-panel[b-er1y71hkp9] {
        grid-column: 2;
    }
}

/* ==========================================================================
   Tablet
   ========================================================================== */
@media (max-width: 900px) {
    .thoth-landing[b-er1y71hkp9] {
        overflow-y: auto;
    }

    .landing-content[b-er1y71hkp9] {
        grid-template-columns: 1fr;
        align-items: start;
        min-height: auto;
    }

    .robot-stage[b-er1y71hkp9] {
        position: absolute;
        top: 12%;
        right: -12%;
        width: min(60vw, 540px);
        opacity: 0.28;
    }

    .login-panel[b-er1y71hkp9] {
        grid-column: 1;
        justify-self: start;
        max-width: 620px;
        margin-top: 1rem;
    }
}


/* ==========================================================================
   Mobile
   ========================================================================== */

@media (max-width: 600px) {
    .robot-stage[b-er1y71hkp9] {
        display: none;
    }
}
/* ==========================================================================
   Reduced motion accessibility

       ========================================================================== */

@media (prefers-reduced-motion: reduce) {
    .seshat-stable[b-er1y71hkp9] {
        animation: none;
    }
}



.microsoft-sign-in[b-er1y71hkp9] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    width: 100%;
    min-height: 58px;
    box-sizing: border-box;
    padding: 14px 20px;
    border-radius: 10px;
    background: #ffffff;
    color: #172b4d;
    border: 1px solid #d8dee8;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

    .microsoft-sign-in:hover[b-er1y71hkp9] {
        background: #f3f6fa;
        color: #172b4d;
        transform: translateY(-1px);
    }

    .microsoft-sign-in:focus-visible[b-er1y71hkp9] {
        outline: 3px solid #d99a50;
        outline-offset: 3px;
    }

.microsoft-logo[b-er1y71hkp9] {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}


.microsoft-login-card[b-er1y71hkp9] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    width: 100%;
    min-height: 145px;
    box-sizing: border-box;
    padding: 24px;
    background: #ffffff;
    border: 1px solid #d9e1eb;
    border-radius: 14px;
    color: #172b4d;
    font-size: 22px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

    .microsoft-login-card:hover[b-er1y71hkp9] {
        background: #f2f6fc;
        color: #172b4d;
        transform: translateY(-2px);
    }

    .microsoft-login-card:focus-visible[b-er1y71hkp9] {
        outline: 3px solid #d99a50;
        outline-offset: 4px;
    }

.microsoft-login-icon[b-er1y71hkp9] {
    width: 62px;
    height: 62px;
    flex-shrink: 0;
}

@media (max-width: 520px) {
    .microsoft-login-card[b-er1y71hkp9] {
        min-height: 120px;
        gap: 16px;
        font-size: 18px;
    }

    .microsoft-login-icon[b-er1y71hkp9] {
        width: 48px;
        height: 48px;
    }
}

/* _content/THOTH/Components/Pages/Phoenix.razor.rz.scp.css */
/* SESHAT UI — copper / navy / light grey. Scoped to Chat.razor. */

.seshat-welcome[b-tto7y38ddh] {
    background-image: url('/images/seshat-design-2-edge-to-edge.png');
    background-color: #eaf2f9;
    background-position: center;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    border-radius: 16px;
    overflow: hidden;
}


.seshat-brand[b-tto7y38ddh] {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.seshat-thoth-logo[b-tto7y38ddh] {
    display: block;
    width: 70px;
    height: 90px;
    object-fit: contain;
    transform-origin: 50% 70%;
    animation: seshat-thoth-look-b-tto7y38ddh 10s ease-in-out infinite;
}

@keyframes seshat-thoth-look-b-tto7y38ddh {
    0%, 8%, 23%, 38%, 100% {
        transform: rotate(0deg);
    }

    13%, 18% {
        transform: rotate(-6deg);
    }

    28%, 33% {
        transform: rotate(6deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .seshat-thoth-logo[b-tto7y38ddh] {
        animation: none;
    }
}

.seshat-brand-text[b-tto7y38ddh] {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

    .seshat-brand-text strong[b-tto7y38ddh] {
        color: #954e0e;
        font-size: 1rem;
    }

    .seshat-brand-text span[b-tto7y38ddh] {
        color: #64748b;
        font-size: .75rem;
        letter-spacing: .04em;
    }

.seshat-welcome h1[b-tto7y38ddh] {
    margin: 0;
    color: #061427;
    font-size: clamp(1.4rem, 2.3vw, 2.2rem);
    font-weight: 400;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .seshat-welcome[b-tto7y38ddh] {
        padding: 14px;
    }

    .seshat-thoth-logo[b-tto7y38ddh] {
        width: 55px;
        height: 72px;
    }

    .seshat-brand-text span[b-tto7y38ddh] {
        font-size: .65rem;
    }
}

/* Question composer and microphone (preserved) */

.seshat-question-panel[b-tto7y38ddh] {
    padding: 24px 28px;
    border: 1px solid #e2e6ee;
    border-radius: 18px;
    background: #F5F5F5;
}

.seshat-question-heading[b-tto7y38ddh] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 12px;
}

    .seshat-question-heading .form-label[b-tto7y38ddh] {
        margin: 0;
        color: #121f6b;
        font-weight: 700;
    }

.seshat-language-indicator[b-tto7y38ddh] {
    color: #64748b;
    font-size: 0.8rem;
}

.seshat-question-input[b-tto7y38ddh] {
    position: relative;
}

    .seshat-question-input textarea[b-tto7y38ddh] {
        width: 100%;
        min-height: 120px;
        padding: 16px 62px 42px 16px;
        border: 1px solid #dce2ea;
        border-radius: 12px;
        background: #ffffff;
        color: #121f6b;
        line-height: 1.6;
        resize: vertical;
    }

        .seshat-question-input textarea:focus[b-tto7y38ddh] {
            border-color: #954e0e;
            outline: none;
            box-shadow: 0 0 0 3px rgba(149, 78, 14, 0.12);
        }

.seshat-microphone-placeholder[b-tto7y38ddh] {
    position: absolute;
    right: 14px;
    bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #f7ebdd;
    color: #954e0e;
    opacity: 0.65;
}

.seshat-question-actions[b-tto7y38ddh] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
}

.seshat-question-hint[b-tto7y38ddh] {
    color: #64748b;
    font-size: 0.82rem;
}

.seshat-question-actions .btn-primary[b-tto7y38ddh] {
    padding: 10px 22px;
    border-color: #121f6b;
    border-radius: 9px;
    background: #121f6b;
    color: #ffffff;
    font-weight: 600;
}

    .seshat-question-actions .btn-primary:hover[b-tto7y38ddh] {
        background: #1d3185;
    }

@media (max-width: 768px) {
    .seshat-question-panel[b-tto7y38ddh] {
        padding: 18px;
    }
}


/* ==========================================================
   SESHAT — Collapsible Chat History
   ========================================================== */

.seshat-workspace[b-tto7y38ddh] {
    display: flex;
    align-items: stretch;
    gap: 24px;
    width: 100%;
    min-width: 0;
    min-height: calc(100vh - 88px);
    padding: 32px;
    box-sizing: border-box;
    background: #FFFFF7;
}

.seshat-history-sidebar[b-tto7y38ddh] {
    flex: 0 0 270px;
    width: 270px;
    min-width: 0;
    padding: 22px 16px;
    background: #ffffff;
    border: 1px solid #e3e7ee;
    border-radius: 16px;
    transition: flex-basis 0.2s ease, width 0.2s ease;
}

    .seshat-history-sidebar.collapsed[b-tto7y38ddh] {
        flex-basis: 58px;
        width: 58px;
        padding: 14px 8px;
    }

.seshat-history-header[b-tto7y38ddh] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 20px;
    color: #121f6b;
}

    .seshat-history-header strong[b-tto7y38ddh] {
        font-size: 0.95rem;
    }

.seshat-history-toggle[b-tto7y38ddh] {
    border: none;
    border-radius: 8px;
    background: #f1f4f8;
    color: #121f6b;
    padding: 7px 10px;
    cursor: pointer;
}

.seshat-new-chat[b-tto7y38ddh] {
    width: 100%;
    padding: 12px;
    background: #121f6b;
    color: #ffffff;
    border: none;
    border-radius: 9px;
    font-weight: 600;
    cursor: pointer;
}

    .seshat-new-chat:hover[b-tto7y38ddh] {
        background: #1d3185;
    }

.seshat-history-label[b-tto7y38ddh] {
    margin: 24px 6px 12px;
    color: #64748b;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.seshat-history-list[b-tto7y38ddh] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.seshat-history-item[b-tto7y38ddh] {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 9px;
    background: transparent;
    color: #334155;
    text-align: left;
    cursor: pointer;
}

    .seshat-history-item span[b-tto7y38ddh] {
        display: block;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .seshat-history-item:hover[b-tto7y38ddh] {
        background: #f1f4f8;
    }

    .seshat-history-item.active[b-tto7y38ddh] {
        background: #f7ebdd;
        color: #954e0e;
        font-weight: 700;
    }

.seshat-history-empty[b-tto7y38ddh] {
    padding: 12px 6px;
    color: #64748b;
    font-size: 0.85rem;
}

.seshat-workspace-content[b-tto7y38ddh] {
    flex: 1;
    min-width: 0;
}

.seshat-history-sidebar button:disabled[b-tto7y38ddh] {
    opacity: 0.55;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .seshat-workspace[b-tto7y38ddh] {
        flex-direction: column;
        gap: 16px;
        padding: 16px;
    }

    .seshat-history-sidebar[b-tto7y38ddh],
    .seshat-history-sidebar.collapsed[b-tto7y38ddh] {
        flex: none;
        width: 100%;
    }

    .seshat-workspace-content[b-tto7y38ddh] {
        width: 100%;
    }
}


/* ==========================================================
   SESHAT — Complete Conversation Display
   ========================================================== */

.seshat-conversation[b-tto7y38ddh] {
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-width: 0;
}

.seshat-conversation-heading[b-tto7y38ddh] {
    color: white;
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.seshat-message[b-tto7y38ddh] {
    padding: 22px 26px;
    border-radius: 16px;
    border: 1px solid #e3e7ee;
    background: #ffffff;
    min-width: 0;
}

.seshat-message-user[b-tto7y38ddh] {
    background: #f0f3fa;
    border-left: 4px solid #121f6b;
}

.seshat-message-assistant[b-tto7y38ddh] {
    background: #ffffff;
    border-left: 4px solid #954e0e;
}

.seshat-message-role[b-tto7y38ddh] {
    color: #121f6b;
    font-size: 0.85rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.seshat-message-assistant .seshat-message-role[b-tto7y38ddh] {
    color: #954e0e;
}

.seshat-message-text[b-tto7y38ddh] {
    color: #253247;
    font-size: 1rem;
    line-height: 1.8;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.seshat-message-references[b-tto7y38ddh] {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid #e3e7ee;
}

    .seshat-message-references h4[b-tto7y38ddh] {
        color: #121f6b;
        font-size: 1.1rem;
        font-weight: 700;
        margin-bottom: 16px;
    }

    .seshat-message-references .reference-card[b-tto7y38ddh] {
        margin-bottom: 12px;
    }

@media (max-width: 768px) {
    .seshat-message[b-tto7y38ddh] {
        padding: 16px;
    }
}

.seshat-microphone-placeholder[b-tto7y38ddh] {
    border: none;
    cursor: pointer;
}

    .seshat-microphone-placeholder[aria-pressed="true"][b-tto7y38ddh] {
        background: #fce8e6 !important;
        color: #c62828 !important;
        opacity: 1;
    }

    .seshat-microphone-placeholder[aria-pressed="false"][b-tto7y38ddh] {
        background: transparent !important;
        color: inherit !important;
    }

/* toogle button for microphone language */

.seshat-voice-language[b-tto7y38ddh] {
    display: flex;
    align-items: center;
    gap: 8px;
    position: absolute;
    right: 68px;
    bottom: 18px;
    font-size: 12px;
    font-weight: 600;
    color: #17316d;
}

.seshat-language-switch[b-tto7y38ddh] {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
    cursor: pointer;
}

    .seshat-language-switch input[b-tto7y38ddh] {
        opacity: 0;
        width: 0;
        height: 0;
    }

.seshat-language-slider[b-tto7y38ddh] {
    position: absolute;
    inset: 0;
    background: #0875d1;
    border-radius: 26px;
    transition: background 0.2s;
}

    .seshat-language-slider[b-tto7y38ddh]::before {
        content: "";
        position: absolute;
        width: 20px;
        height: 20px;
        left: 3px;
        bottom: 3px;
        background: white;
        border-radius: 50%;
        transition: transform 0.2s;
    }

.seshat-language-switch input:checked + .seshat-language-slider[b-tto7y38ddh]::before {
    transform: translateX(22px);
}

.seshat-language-switch input:focus-visible + .seshat-language-slider[b-tto7y38ddh] {
    outline: 2px solid #17316d;
    outline-offset: 3px;
}

.seshat-language-switch input:disabled + .seshat-language-slider[b-tto7y38ddh] {
    opacity: 0.5;
    cursor: not-allowed;
}



/* THOTH animated emblem beside the question heading */

.thoth-chat-heading[b-tto7y38ddh] {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 26px;
    padding: clamp(22px, 4vw, 38px) clamp(18px, 4vw, 44px);
    background: #091b35;
    border-radius: 20px;
}

    .thoth-chat-heading .thoth-heading-text h1[b-tto7y38ddh] {
        margin: 0;
        color: #f1be72;
        font-size: clamp(24px, 3vw, 36px);
        font-weight: 700;
    }

    .thoth-chat-heading .thoth-heading-text span[b-tto7y38ddh] {
        color: #d8e2f0;
        font-size: 15px;
    }

.thoth-chat-logo[b-tto7y38ddh] {
    width: 70px;
    height: 90px;
    max-width: 70px;
    max-height: 90px;
    object-fit: contain;
    flex-shrink: 0;
    transform-origin: 50% 70%;
    animation: seshat-thoth-look-b-tto7y38ddh 10s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
    .thoth-chat-logo[b-tto7y38ddh] {
        animation: none;
    }
}

/* THOTH searching animation — full rotation 360*/
.thoth-searching[b-tto7y38ddh] {
    animation: thoth-search-spin-b-tto7y38ddh 1.8s linear infinite !important;
    transform-origin: center center;
}

@keyframes thoth-search-spin-b-tto7y38ddh {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Stack subtitle below Ask THOTH */
.thoth-heading-text[b-tto7y38ddh] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

    .thoth-heading-text h2[b-tto7y38ddh] {
        margin: 0;
    }

    .thoth-heading-text span[b-tto7y38ddh] {
        font-size: 0.8rem;
        color: #718096;
    }

.seshat-history-icon[b-tto7y38ddh] {
    background: transparent;
    border: none;
    box-shadow: none;
    color: #B87333;
    padding: 4px;
    cursor: pointer;
    font-size: 17px;
    line-height: 1;
}

    .seshat-history-icon:hover[b-tto7y38ddh] {
        color: #8B4513;
        background: transparent;
    }

    .seshat-history-icon:disabled[b-tto7y38ddh] {
        opacity: 0.4;
        cursor: not-allowed;
    }

.seshat-clear-all[b-tto7y38ddh] {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: none;
    box-shadow: none;
    color: #B87333;
    padding: 8px 10px;
    cursor: pointer;
    font-size: 13px;
}

    .seshat-clear-all:hover:not(:disabled)[b-tto7y38ddh] {
        color: #8B4513;
        background: transparent;
    }

    .seshat-clear-all:disabled[b-tto7y38ddh] {
        opacity: 0.4;
        cursor: not-allowed;
    }

.seshat-history-sidebar:not(.collapsed)[b-tto7y38ddh] {
    display: flex;
    flex-direction: column;
}

.seshat-history-list[b-tto7y38ddh] {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
}

.seshat-clear-all[b-tto7y38ddh] {
    margin-top: auto;
    flex-shrink: 0;
    margin-bottom: 12px;
}
/* Hide Clear All Chats when the sidebar is collapsed */
.seshat-history-sidebar.collapsed .seshat-clear-all[b-tto7y38ddh] {
    display: none !important;
}

.seshat-message-header[b-tto7y38ddh] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.seshat-reply-toggle[b-tto7y38ddh] {
    background: transparent;
    border: none;
    box-shadow: none;
    color: #B87333;
    font-size: 24px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    padding: 2px 8px;
}

    .seshat-reply-toggle:hover[b-tto7y38ddh] {
        color: #8B4513;
    }
/* PHOENIX — Static emblem */
.thoth-chat-logo[b-tto7y38ddh] {
    animation: none !important;
    transform: none !important;
}

    /* Prevent searching animation on the Phoenix logo */
    .thoth-chat-logo.thoth-searching[b-tto7y38ddh] {
        animation: none !important;
    }

/* Phoenix conversation heading */
.seshat-conversation-heading[b-tto7y38ddh] {
    color: #121f6b;
}


.phoenix-next-steps[b-tto7y38ddh] {
    padding-top: 18px;
    border-top: 1px solid #e3e7ee;
}

    .phoenix-next-steps strong[b-tto7y38ddh] {
        display: block;
        margin-bottom: 14px;
        color: #121f6b;
    }

.phoenix-next-step-option[b-tto7y38ddh] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    margin-bottom: 8px;
    border: 1px solid #dce2ea;
    border-radius: 9px;
    background: #ffffff;
    color: #121f6b;
    cursor: pointer;
}

    .phoenix-next-step-option:hover[b-tto7y38ddh] {
        background: #f7ebdd;
    }

    .phoenix-next-step-option input[b-tto7y38ddh] {
        accent-color: #121f6b;
        cursor: pointer;
    }
/* Append to Components/Pages/Phoenix.razor.css */
.phoenix-history-row[b-tto7y38ddh] {
    display: flex;
    align-items: center;
    gap: 6px;
}

    .phoenix-history-row .seshat-history-item[b-tto7y38ddh] {
        flex: 1;
        min-width: 0;
    }

    .phoenix-history-row small[b-tto7y38ddh] {
        display: block;
        color: #B87333;
    }

.phoenix-next-steps[b-tto7y38ddh] {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #e3e7ee;
}

    .phoenix-next-steps strong[b-tto7y38ddh] {
        display: block;
        margin-bottom: 14px;
        color: #121f6b;
    }

.phoenix-next-step-option[b-tto7y38ddh] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    margin-bottom: 8px;
    border: 1px solid #dce2ea;
    border-radius: 9px;
    background: #fff;
    color: #121f6b;
    cursor: pointer;
}

    .phoenix-next-step-option:hover[b-tto7y38ddh] {
        background: #f7ebdd;
    }

    .phoenix-next-step-option input[b-tto7y38ddh] {
        accent-color: #121f6b;
        cursor: pointer;
    }

.phoenix-markdown[b-tto7y38ddh] {
    white-space: normal;
}

    .phoenix-markdown p[b-tto7y38ddh] {
        margin: 0 0 12px;
    }

    .phoenix-markdown ul[b-tto7y38ddh], .phoenix-markdown ol[b-tto7y38ddh] {
        padding-inline-start: 24px;
        margin: 8px 0 14px;
    }

    .phoenix-markdown li[b-tto7y38ddh] {
        margin-bottom: 5px;
    }

    .phoenix-markdown table[b-tto7y38ddh] {
        width: 100%;
        border-collapse: collapse;
        margin: 12px 0 18px;
        font-size: .94rem;
    }

    .phoenix-markdown th[b-tto7y38ddh], .phoenix-markdown td[b-tto7y38ddh] {
        padding: 9px 12px;
        border: 1px solid #dce2ea;
        text-align: start;
    }

    .phoenix-markdown th[b-tto7y38ddh] {
        background: #f7ebdd;
        color: #121f6b;
    }

    .phoenix-markdown h2[b-tto7y38ddh], .phoenix-markdown h3[b-tto7y38ddh] {
        color: #121f6b;
        font-size: 1.1rem;
        margin: 16px 0 8px;
    }


/* Phoenix structured matter grid */
.phoenix-grid-panel[b-tto7y38ddh] {
    margin: 16px 0;
    border: 1px solid #dce3ee;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    color: #142543;
}

.phoenix-grid-toolbar[b-tto7y38ddh], .phoenix-grid-footer[b-tto7y38ddh] {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: #f3f6fb;
    font-size: 13px;
}

    .phoenix-grid-toolbar select[b-tto7y38ddh] {
        margin-left: 6px;
        padding: 5px;
        border: 1px solid #ccd6e6;
        border-radius: 5px;
    }

.phoenix-grid-scroll[b-tto7y38ddh] {
    overflow-x: auto;
    max-width: 100%;
}

.phoenix-matter-grid[b-tto7y38ddh] {
    border-collapse: collapse;
    width: 100%;
    min-width: 1050px;
    font-size: 13px;
    table-layout: fixed;
}

    .phoenix-matter-grid th[b-tto7y38ddh] {
        background: #e5edf8;
        text-align: left;
        position: sticky;
        top: 0;
    }

    .phoenix-matter-grid th[b-tto7y38ddh], .phoenix-matter-grid td[b-tto7y38ddh] {
        padding: 11px 10px;
        border-bottom: 1px solid #e0e6ef;
        vertical-align: top;
        overflow-wrap: anywhere;
    }

        .phoenix-matter-grid th:nth-child(1)[b-tto7y38ddh] {
            width: 105px;
        }

        .phoenix-matter-grid th:nth-child(2)[b-tto7y38ddh] {
            width: 34%;
        }

        .phoenix-matter-grid th:nth-child(3)[b-tto7y38ddh] {
            width: 90px;
        }

        .phoenix-matter-grid th:nth-child(4)[b-tto7y38ddh] {
            width: 105px;
        }

        .phoenix-matter-grid th:nth-child(5)[b-tto7y38ddh] {
            width: 110px;
        }

        .phoenix-matter-grid th:nth-child(6)[b-tto7y38ddh], .phoenix-matter-grid th:nth-child(7)[b-tto7y38ddh] {
            width: 135px;
        }

.phoenix-description summary[b-tto7y38ddh] {
    cursor: pointer;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.phoenix-description details[open] summary[b-tto7y38ddh] {
    display: block;
}

.phoenix-description details > div[b-tto7y38ddh] {
    margin-top: 8px;
    white-space: pre-wrap;
}

.phoenix-grid-footer button[b-tto7y38ddh] {
    border: 1px solid #1a2b71;
    color: #1a2b71;
    background: white;
    padding: 6px 14px;
    border-radius: 6px;
}

    .phoenix-grid-footer button:disabled[b-tto7y38ddh] {
        opacity: .4;
        cursor: not-allowed;
    }



.phoenix-client-report[b-tto7y38ddh] {
    padding: 24px;
    border: 1px solid #e2e5eb;
    border-radius: 18px;
}

    .phoenix-client-report h3[b-tto7y38ddh] {
        margin: 0 0 22px;
        font-size: 22px;
        color: #091b35;
    }

.phoenix-client-stats[b-tto7y38ddh] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

    .phoenix-client-stats > div[b-tto7y38ddh] {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .phoenix-client-stats span[b-tto7y38ddh] {
        color: #687182;
        font-size: 14px;
    }

    .phoenix-client-stats strong[b-tto7y38ddh] {
        color: #091b35;
        font-size: 30px;
        font-weight: 700;
    }

.phoenix-client-summary[b-tto7y38ddh] {
    margin-bottom: 24px;
    line-height: 1.7;
}

@media (max-width: 700px) {
    .phoenix-client-stats[b-tto7y38ddh] {
        grid-template-columns: 1fr;
    }
}


/* Phoenix Client Intelligence — Column Widths */

.phoenix-client-grid[b-tto7y38ddh] {
    width: 100%;
    table-layout: fixed;
}

    .phoenix-client-grid th:nth-child(1)[b-tto7y38ddh],
    .phoenix-client-grid td:nth-child(1)[b-tto7y38ddh] {
        width: 35%;
    }

    .phoenix-client-grid th:nth-child(2)[b-tto7y38ddh],
    .phoenix-client-grid td:nth-child(2)[b-tto7y38ddh] {
        width: 12%;
    }

    .phoenix-client-grid th:nth-child(3)[b-tto7y38ddh],
    .phoenix-client-grid td:nth-child(3)[b-tto7y38ddh] {
        width: 18%;
    }

    .phoenix-client-grid th:nth-child(4)[b-tto7y38ddh],
    .phoenix-client-grid td:nth-child(4)[b-tto7y38ddh] {
        width: 15%;
    }

    .phoenix-client-grid th:nth-child(5)[b-tto7y38ddh],
    .phoenix-client-grid td:nth-child(5)[b-tto7y38ddh] {
        width: 12%;
    }

    .phoenix-client-grid th:nth-child(6)[b-tto7y38ddh],
    .phoenix-client-grid td:nth-child(6)[b-tto7y38ddh] {
        width: 8%;
    }

    .phoenix-client-grid td[b-tto7y38ddh] {
        overflow-wrap: anywhere;
        vertical-align: top;
    }



/* Approved Ask Phoenix workspace — CSS-only redesign. */
.seshat-workspace[b-tto7y38ddh] {
    --navy: #091B35;
    --library: #122945;
    --chat: #152E4C;
    --gold: #E8C477;
    --ink: #E9EDF3;
    --muted: #B3C3D6;
    --line: #405B78;
    position: relative;
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 14px;
    margin: 18px auto;
    width: calc(100% - 36px);
    height: max(580px, calc(100dvh - 110px));
    min-height: 0;
    padding: 100px 20px 20px;
    border-radius: 20px;
    background: #FFFFFF;
    color: var(--ink);
}
.seshat-workspace:has(> .seshat-history-sidebar:not(.phoenix-reports-sidebar).collapsed)[b-tto7y38ddh] { grid-template-columns: 58px minmax(0, 1fr); }
.thoth-chat-heading[b-tto7y38ddh] {
    position: absolute;
    top: 12px; left: 20px; right: 20px;
    margin: 0; padding: 4px 10px;
    background: transparent;
    gap: 18px;
}
.thoth-chat-heading .thoth-heading-text h1[b-tto7y38ddh] { color: #B68A47; font-size: clamp(24px, 2.2vw, 34px); }
.thoth-chat-heading .thoth-heading-text span[b-tto7y38ddh] { color: var(--navy); }
.seshat-history-sidebar[b-tto7y38ddh], .seshat-workspace-content[b-tto7y38ddh] {
    min-height: 0; min-width: 0;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-sizing: border-box;
}
.seshat-history-sidebar[b-tto7y38ddh] { width: 100%; background: var(--library); padding: 16px; color: var(--ink); overflow: hidden; }
.seshat-history-sidebar.collapsed[b-tto7y38ddh] { width: 100%; }
.seshat-history-header[b-tto7y38ddh] { color: var(--gold); margin-bottom: 12px; }
.seshat-history-toggle[b-tto7y38ddh] { background: transparent; border: 1px solid var(--line); color: var(--ink); }
.seshat-new-chat[b-tto7y38ddh], .seshat-question-actions .btn-primary[b-tto7y38ddh] {
    background: linear-gradient(110deg, #F4CA83, #CB9340);
    border: 1px solid #E8C477; color: var(--navy); font-weight: 700;
}
.seshat-new-chat:hover[b-tto7y38ddh], .seshat-question-actions .btn-primary:hover[b-tto7y38ddh] { background: #F5D49B; color: var(--navy); }
.seshat-history-label[b-tto7y38ddh] { color: var(--ink); margin: 16px 4px 8px; }
.seshat-history-list[b-tto7y38ddh] { gap: 2px; }
.seshat-history-item[b-tto7y38ddh] { color: var(--ink); padding: 8px; }
.seshat-history-item:hover[b-tto7y38ddh] { background: #203D5E; }
.seshat-history-item.active[b-tto7y38ddh] { background: #304D70; color: var(--gold); }
.seshat-history-item small[b-tto7y38ddh] { color: var(--gold) !important; }
.seshat-history-icon[b-tto7y38ddh], .seshat-clear-all[b-tto7y38ddh], .seshat-reply-toggle[b-tto7y38ddh] { color: var(--gold); }
.seshat-history-icon:hover[b-tto7y38ddh], .seshat-clear-all:hover:not(:disabled)[b-tto7y38ddh], .seshat-reply-toggle:hover[b-tto7y38ddh] { color: #FFE0A0; }
.seshat-history-empty[b-tto7y38ddh] { color: var(--muted); }
.seshat-clear-all[b-tto7y38ddh] { border-top: 1px solid var(--line); padding-top: 14px; margin-bottom: 0; }
.seshat-workspace-content[b-tto7y38ddh] { display: flex; flex-direction: column; gap: 12px; padding: 16px; background: var(--chat); overflow-y: auto; }
/* The composer precedes replies in Razor; keep its visual position at the bottom. */
.seshat-question-panel[b-tto7y38ddh] { order: 10; margin: auto 0 0; position: sticky; bottom: 0; z-index: 3; flex-shrink: 0; padding: 12px 18px; border: 1px solid #657D9B; background: #10253E; border-radius: 16px; box-shadow: none; }
.seshat-question-input textarea[b-tto7y38ddh] { background: #10253E; border: 1px solid #8193AA; color: var(--ink); min-height: 82px; }
.seshat-question-input textarea[b-tto7y38ddh]::placeholder { color: var(--ink); opacity: 1; }
.seshat-question-input textarea:focus[b-tto7y38ddh] { background: #10253E; color: var(--ink); border-color: var(--gold); box-shadow: 0 0 0 2px #E8C47733; }
.seshat-question-input[b-tto7y38ddh] { color: var(--ink); }
.seshat-question-actions[b-tto7y38ddh] { margin-top: 8px; }
.seshat-question-hint[b-tto7y38ddh], .seshat-language-indicator[b-tto7y38ddh], .seshat-voice-language[b-tto7y38ddh] { color: var(--muted); }
.seshat-conversation[b-tto7y38ddh] { gap: 12px; margin-top: 0 !important; }
.seshat-conversation-heading[b-tto7y38ddh], .seshat-message-role[b-tto7y38ddh], .seshat-message-assistant .seshat-message-role[b-tto7y38ddh], .seshat-message-references h4[b-tto7y38ddh] { color: var(--gold); }
.seshat-message[b-tto7y38ddh] { background: #203D5E; border: 1px solid var(--line); color: var(--ink); }
.seshat-message-user[b-tto7y38ddh] { background: #304D70; border-left: 3px solid #8193AA; }
.seshat-message-assistant[b-tto7y38ddh] { border-left: 3px solid var(--gold); }
.seshat-message-text[b-tto7y38ddh] { color: var(--ink); }
.seshat-message-text[b-tto7y38ddh]  a, .seshat-workspace-content a[b-tto7y38ddh] { color: #A9D3FF; }
.seshat-message-references[b-tto7y38ddh] { border-color: var(--line); }
.seshat-workspace-content .reference-card[b-tto7y38ddh], .seshat-workspace-content .diagnostic-card[b-tto7y38ddh], .seshat-workspace-content .answer-box[b-tto7y38ddh], .seshat-workspace-content .ai-response[b-tto7y38ddh] { background: #203D5E; color: var(--ink); border-color: var(--line); }
.seshat-workspace-content .reference-title[b-tto7y38ddh], .seshat-workspace-content .diagnostic-title[b-tto7y38ddh], .seshat-workspace-content .ai-response h3[b-tto7y38ddh] { color: var(--gold); }
.seshat-workspace-content .reference-meta[b-tto7y38ddh], .seshat-workspace-content .reference-path[b-tto7y38ddh], .seshat-workspace-content .diagnostic-message[b-tto7y38ddh] { color: var(--muted); }
.seshat-answer-actions .btn[b-tto7y38ddh] { color: var(--gold); border-color: var(--line); }
.seshat-workspace button:focus-visible[b-tto7y38ddh] { outline: 2px solid var(--gold); outline-offset: 2px; }
@media (max-width: 768px) {
    .seshat-workspace[b-tto7y38ddh], .seshat-workspace:has(> .seshat-history-sidebar:not(.phoenix-reports-sidebar).collapsed)[b-tto7y38ddh] { grid-template-columns: minmax(0,1fr); height: auto; padding: 100px 12px 12px; margin: 12px auto; width: calc(100% - 24px); }
    .seshat-history-sidebar[b-tto7y38ddh] { max-height: 320px; }
    .seshat-workspace-content[b-tto7y38ddh] { min-height: 55vh; overflow: visible; }
    .thoth-chat-heading[b-tto7y38ddh] { left: 12px; right: 12px; gap: 8px; }
    .thoth-chat-heading .thoth-heading-text span[b-tto7y38ddh] { font-size: 12px; }
    .seshat-question-panel[b-tto7y38ddh] { position: static; padding: 12px; }
}


/* Phoenix-specific three-column layout; reports remain permission-controlled. */
.seshat-workspace[b-tto7y38ddh] { --history-width: 300px; --reports-width: 250px; grid-template-columns: var(--history-width) minmax(0,1fr); }
.seshat-workspace:has(> .seshat-history-sidebar:not(.phoenix-reports-sidebar).collapsed)[b-tto7y38ddh] { --history-width: 58px; grid-template-columns: var(--history-width) minmax(0,1fr); }
.seshat-workspace:has(> .phoenix-reports-sidebar)[b-tto7y38ddh] { grid-template-columns: var(--history-width) minmax(0,1fr) var(--reports-width); }
.seshat-workspace:has(> .phoenix-reports-sidebar.collapsed)[b-tto7y38ddh] { --reports-width: 48px; }
.seshat-workspace > .phoenix-reports-sidebar[b-tto7y38ddh] { width: 100%; display:flex; flex-direction:column; }
.seshat-workspace > .phoenix-reports-sidebar.collapsed[b-tto7y38ddh] { width:100%; padding:14px 6px; }
.phoenix-reports-vertical[b-tto7y38ddh] { color:var(--gold); }
.phoenix-reports-sidebar[b-tto7y38ddh]  .phoenix-report-link { color:var(--ink); overflow-wrap:anywhere; }
.phoenix-reports-sidebar[b-tto7y38ddh]  .phoenix-report-link:hover { background:#203D5E; color:var(--gold); }
.thoth-chat-logo[b-tto7y38ddh] { width:60px; height:70px; max-width:60px; max-height:70px; }
.phoenix-next-steps[b-tto7y38ddh] { border-color:var(--line); }
.phoenix-next-steps strong[b-tto7y38ddh] { color:var(--gold); }
.phoenix-next-step-option[b-tto7y38ddh] { background:#10253E; color:var(--ink); border-color:var(--line); }
.phoenix-next-step-option:hover[b-tto7y38ddh] { background:#304D70; }
.phoenix-next-step-option input[b-tto7y38ddh] { accent-color:var(--gold); }
.phoenix-markdown[b-tto7y38ddh]  :is(h1,h2,h3,h4,th) { color:var(--gold); }
.phoenix-markdown[b-tto7y38ddh]  th { background:#10253E; }
.phoenix-markdown[b-tto7y38ddh]  :is(th,td) { border-color:var(--line); }
/* Keep structured business tables light for readability. */
.phoenix-grid-panel[b-tto7y38ddh] { background:#fff; color:#142543; }
.phoenix-grid-panel h3[b-tto7y38ddh] { color:#091B35; }
.seshat-history-icon[b-tto7y38ddh] { font-variant-emoji:text; }
@media(max-width:1000px) {
 .seshat-workspace[b-tto7y38ddh], .seshat-workspace:has(> .phoenix-reports-sidebar)[b-tto7y38ddh], .seshat-workspace:has(> .seshat-history-sidebar:not(.phoenix-reports-sidebar).collapsed)[b-tto7y38ddh] { grid-template-columns:minmax(0,1fr); height:auto; padding:110px 12px 12px; }
 .seshat-workspace > .phoenix-reports-sidebar[b-tto7y38ddh], .seshat-workspace > .phoenix-reports-sidebar.collapsed[b-tto7y38ddh] { width:100%; max-height:240px; }
 .phoenix-reports-vertical[b-tto7y38ddh] { writing-mode:horizontal-tb; transform:none; }
 .seshat-workspace-content[b-tto7y38ddh] { min-height:55vh; overflow:visible; }
 .seshat-question-panel[b-tto7y38ddh] { position:static; }
}

/* Reports menu — match conversation sidebar; NavLink renders a child anchor. */
.phoenix-reports-sidebar:not(.collapsed) .seshat-history-header[b-tto7y38ddh] {
    justify-content: space-between;
    margin-bottom: 12px;
}
.phoenix-reports-sidebar:not(.collapsed) .seshat-history-header strong[b-tto7y38ddh] { order: -1; }
.phoenix-reports-sidebar[b-tto7y38ddh]  a.phoenix-report-link {
    display: flex;
    align-items: center;
    gap: 10px;
    box-sizing: border-box;
    width: 100%;
    padding: 10px 8px;
    border-radius: 9px;
    font-size: .9rem;
    line-height: 1.45;
    text-decoration: none;
    white-space: normal;
    color: var(--ink);
}
.phoenix-reports-sidebar[b-tto7y38ddh]  a.phoenix-report-link::before {
    content: "";
    display: block;
    flex: 0 0 18px;
    width: 18px;
    height: 20px;
    background-color: var(--gold);
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8zM14 2v6h6M8 17v-3m4 3v-6m4 6v-4'/%3E%3C/svg%3E") center / contain no-repeat;
}
.phoenix-reports-sidebar[b-tto7y38ddh]  a.phoenix-report-link:hover,
.phoenix-reports-sidebar[b-tto7y38ddh]  a.phoenix-report-link.active {
    background: #304D70;
    color: var(--gold);
}
.phoenix-reports-sidebar[b-tto7y38ddh]  a.phoenix-report-link:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: -2px;
}
/* _content/THOTH/Components/Pages/ProcessingDashboard.razor.rz.scp.css */
/* Processing Dashboard — THOTH shared visual language */
.processing-dashboard[b-3lc4ki63rh] {
    min-width: 0;
}

.processing-dashboard-hero[b-3lc4ki63rh] {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: clamp(22px, 4vw, 38px) clamp(18px, 4vw, 44px);
    margin-bottom: 26px;
    background: #091b35;
    border-radius: 20px;
}

.processing-dashboard-hero-logo[b-3lc4ki63rh] {
    display: block;
    width: 50px;
    height: 60px;
    object-fit: contain;
    flex-shrink: 0;
    transform-origin: 50% 70%;
    animation: processing-thoth-look-b-3lc4ki63rh 10s ease-in-out infinite;
}

@keyframes processing-thoth-look-b-3lc4ki63rh {
    0%, 8%, 23%, 38%, 100% {
        transform: rotate(0deg);
    }

    13%, 18% {
        transform: rotate(-6deg);
    }

    28%, 33% {
        transform: rotate(6deg);
    }
}

.processing-dashboard-hero-text[b-3lc4ki63rh] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    min-width: 0;
}

    .processing-dashboard-hero-text h1[b-3lc4ki63rh] {
        margin: 0;
        color: #f1be72;
        font-size: clamp(24px, 3vw, 36px);
        font-weight: 700;
    }

    .processing-dashboard-hero-text span[b-3lc4ki63rh] {
        color: #ffffff;
        font-size: 15px;
    }

@media (prefers-reduced-motion: reduce) {
    .processing-dashboard-hero-logo[b-3lc4ki63rh] {
        animation: none;
    }
}

@media (max-width: 768px) {
    .processing-dashboard-hero[b-3lc4ki63rh] {
        padding: 22px 18px;
    }
}
/* _content/THOTH/Components/Pages/SearchExplorer.razor.rz.scp.css */
/* Styles the Search Explorer retrieval interface and responsive result cards. */
.search-explorer-page[b-v89y3alzgc] {
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
}

.search-explorer-header[b-v89y3alzgc] {
    margin-bottom: 1.5rem;
}

.search-explorer-eyebrow[b-v89y3alzgc] {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #0d6efd;
}

.search-explorer-header h1[b-v89y3alzgc] {
    margin: 0;
    font-size: clamp(2.2rem, 4vw, 4rem);
    font-weight: 700;
    line-height: 1;
}

.search-explorer-header p[b-v89y3alzgc] {
    margin: 0.8rem 0 0;
    font-size: 1.05rem;
    color: #5d6470;
}

.search-panel[b-v89y3alzgc] {
    padding: 1.5rem;
    margin-bottom: 1.25rem;
    border: 1px solid #dfe3e8;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 8px 25px rgba(15, 23, 42, 0.05);
}

.search-query-group label[b-v89y3alzgc],
.search-option label[b-v89y3alzgc] {
    display: block;
    margin-bottom: 0.45rem;
    font-weight: 600;
    color: #252a31;
}

.search-query-row[b-v89y3alzgc] {
    display: flex;
    gap: 0.75rem;
}

.search-query-input[b-v89y3alzgc] {
    min-height: 48px;
    font-size: 1rem;
}

.search-button[b-v89y3alzgc] {
    min-width: 130px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
}

.search-options-grid[b-v89y3alzgc] {
    display: grid;
    grid-template-columns: repeat(2, minmax(180px, 260px));
    gap: 1rem;
    margin-top: 1rem;
}

.search-summary[b-v89y3alzgc] {
    display: grid;
    grid-template-columns: repeat(4, minmax(130px, 1fr));
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.search-summary-item[b-v89y3alzgc] {
    padding: 1rem;
    border: 1px solid #dfe3e8;
    border-radius: 12px;
    background: #ffffff;
}

.summary-label[b-v89y3alzgc] {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #6c757d;
}

.search-summary-item strong[b-v89y3alzgc] {
    font-size: 1.15rem;
}

.search-state-card[b-v89y3alzgc],
.search-introduction[b-v89y3alzgc] {
    padding: 3.5rem 2rem;
    text-align: center;
    border: 1px dashed #bec5ce;
    border-radius: 16px;
    background: #ffffff;
}

    .search-state-card h2[b-v89y3alzgc],
    .search-introduction h2[b-v89y3alzgc] {
        margin-top: 1rem;
        font-size: 1.5rem;
    }

    .search-state-card p[b-v89y3alzgc],
    .search-introduction p[b-v89y3alzgc] {
        max-width: 650px;
        margin: 0.6rem auto 0;
        color: #666e78;
    }

.introduction-icon[b-v89y3alzgc] {
    font-size: 3.5rem;
    line-height: 1;
    color: #0d6efd;
}

.results-heading[b-v89y3alzgc] {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 1rem;
}

    .results-heading h2[b-v89y3alzgc] {
        margin: 0;
        font-size: 1.75rem;
    }

    .results-heading p[b-v89y3alzgc] {
        margin: 0.35rem 0 0;
        color: #68707b;
    }

.search-results-list[b-v89y3alzgc] {
    display: grid;
    gap: 1rem;
}

.search-result-card[b-v89y3alzgc] {
    overflow: hidden;
    border: 1px solid #dfe3e8;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
}

.result-card-header[b-v89y3alzgc] {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: start;
    padding: 1.25rem 1.25rem 0;
}

.result-rank[b-v89y3alzgc] {
    display: flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 700;
    color: #0d6efd;
    background: #eaf2ff;
}

.result-title-area h3[b-v89y3alzgc] {
    margin: 0;
    font-size: 1.25rem;
}

    .result-title-area h3 a[b-v89y3alzgc] {
        color: #20242a;
        text-decoration: none;
    }

        .result-title-area h3 a:hover[b-v89y3alzgc] {
            color: #0d6efd;
        }

.result-badges[b-v89y3alzgc] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.55rem;
}

.result-badge[b-v89y3alzgc] {
    padding: 0.25rem 0.55rem;
    border-radius: 999px;
    font-size: 0.78rem;
    background: #f0f2f5;
    color: #49515a;
}

.result-score[b-v89y3alzgc] {
    min-width: 85px;
    text-align: right;
}

    .result-score span[b-v89y3alzgc] {
        display: block;
        font-size: 0.72rem;
        text-transform: uppercase;
        letter-spacing: 0.06em;
        color: #77808b;
    }

    .result-score strong[b-v89y3alzgc] {
        font-size: 1.05rem;
    }

/* Styles the retrieved chunk text container. */
/*.result-chunk-content {
    margin: 1.1rem 1.25rem 0;
    padding: 1rem;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    border-radius: 10px;
    background: #f7f8fa;
    color: #30353b;
    line-height: 1.65;
}*/



.result-actions[b-v89y3alzgc] {
    display: flex;
    gap: 0.6rem;
    padding: 1rem 1.25rem;
}

.result-metadata[b-v89y3alzgc] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    padding: 1.2rem 1.25rem;
    border-top: 1px solid #e4e7eb;
    background: #fafbfc;
}

    .result-metadata div[b-v89y3alzgc] {
        min-width: 0;
    }

    .result-metadata span[b-v89y3alzgc] {
        display: block;
        margin-bottom: 0.2rem;
        font-size: 0.72rem;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        color: #737c87;
    }

    .result-metadata strong[b-v89y3alzgc] {
        display: block;
        overflow-wrap: anywhere;
        color: #252a31;
    }

.metadata-wide[b-v89y3alzgc] {
    grid-column: span 2;
}

@media (max-width: 800px) {
    .search-explorer-page[b-v89y3alzgc] {
        padding: 1rem;
    }

    .search-query-row[b-v89y3alzgc] {
        flex-direction: column;
    }

    .search-button[b-v89y3alzgc] {
        width: 100%;
    }

    .search-options-grid[b-v89y3alzgc],
    .search-summary[b-v89y3alzgc] {
        grid-template-columns: 1fr 1fr;
    }

    .result-card-header[b-v89y3alzgc] {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .result-score[b-v89y3alzgc] {
        grid-column: 2;
        text-align: left;
    }

    .result-metadata[b-v89y3alzgc] {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 520px) {
    .search-options-grid[b-v89y3alzgc],
    .search-summary[b-v89y3alzgc],
    .result-metadata[b-v89y3alzgc] {
        grid-template-columns: 1fr;
    }

    .metadata-wide[b-v89y3alzgc] {
        grid-column: auto;
    }

    .result-actions[b-v89y3alzgc] {
        flex-direction: column;
    }

        .result-actions .btn[b-v89y3alzgc] {
            width: 100%;
        }

    .result-chunk-content[b-v89y3alzgc] {
        transition: max-height .2s ease;
    }

        .result-chunk-content.collapsed[b-v89y3alzgc]::after {
            content: "";
            position: absolute;
            left: 0;
            right: 0;
            bottom: 0;
            height: 40px;
            background: linear-gradient(transparent, #f7f8fa);
        }
}

/* THOTH Search Explorer — matching Processing Dashboard hero */
.search-explorer-hero[b-v89y3alzgc] {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: clamp(22px, 4vw, 38px) clamp(18px, 4vw, 44px);
    margin-bottom: 26px;
    background: #091b35;
    border-radius: 20px;
}

.search-explorer-hero-logo[b-v89y3alzgc] {
    display: block;
    width: 50px;
    height: 60px;
    object-fit: contain;
    flex-shrink: 0;
    transform-origin: 50% 70%;
    animation: search-explorer-thoth-look-b-v89y3alzgc 10s ease-in-out infinite;
}

@keyframes search-explorer-thoth-look-b-v89y3alzgc {
    0%, 8%, 23%, 38%, 100% {
        transform: rotate(0deg);
    }

    13%, 18% {
        transform: rotate(-6deg);
    }

    28%, 33% {
        transform: rotate(6deg);
    }
}

.search-explorer-hero-text[b-v89y3alzgc] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    min-width: 0;
}

    .search-explorer-hero-text h1[b-v89y3alzgc] {
        margin: 0;
        color: #f1be72;
        font-size: clamp(24px, 3vw, 36px);
        font-weight: 700;
    }

    .search-explorer-hero-text span[b-v89y3alzgc] {
        color: #ffffff;
        font-size: 15px;
    }

@media (prefers-reduced-motion: reduce) {
    .search-explorer-hero-logo[b-v89y3alzgc] {
        animation: none;
    }
}

@media (max-width: 768px) {
    .search-explorer-hero[b-v89y3alzgc] {
        padding: 22px 18px;
    }
}
/* _content/THOTH/Components/Pages/SparkImport.razor.rz.scp.css */
/* THOTH Spark Import — same header as the completed Administration pages. */
.spark-import-page[b-l2to94qxo9] {
    min-width: 0;
}

.spark-import-hero[b-l2to94qxo9] {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: clamp(22px, 4vw, 38px) clamp(18px, 4vw, 44px);
    margin-bottom: 26px;
    background: #091b35;
    border-radius: 20px;
}

.spark-import-hero-logo[b-l2to94qxo9] {
    display: block;
    width: 50px;
    height: 60px;
    object-fit: contain;
    flex-shrink: 0;
    transform-origin: 50% 70%;
    animation: spark-import-thoth-look-b-l2to94qxo9 10s ease-in-out infinite;
}

@keyframes spark-import-thoth-look-b-l2to94qxo9 {
    0%, 8%, 23%, 38%, 100% {
        transform: rotate(0deg);
    }

    13%, 18% {
        transform: rotate(-6deg);
    }

    28%, 33% {
        transform: rotate(6deg);
    }
}

.spark-import-hero-text[b-l2to94qxo9] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    min-width: 0;
}

    .spark-import-hero-text h1[b-l2to94qxo9] {
        margin: 0;
        color: #f1be72;
        font-size: clamp(24px, 3vw, 36px);
        font-weight: 700;
    }

    .spark-import-hero-text span[b-l2to94qxo9] {
        color: #FFFFFF;
        font-size: 15px;
    }

@media (prefers-reduced-motion: reduce) {
    .spark-import-hero-logo[b-l2to94qxo9] {
        animation: none;
    }
}

@media (max-width: 768px) {
    .spark-import-hero[b-l2to94qxo9] {
        padding: 22px 18px;
    }
}
/* _content/THOTH/Components/Pages/Templates.razor.rz.scp.css */

.templates-workspace[b-ctfgyz16q7] {
    display: flex;
    align-items: stretch;
    gap: 26px;
    width: 100%;
    padding: 28px;
    box-sizing: border-box;
}

.templates-sidebar[b-ctfgyz16q7] {
    width: 280px;
    min-width: 280px;
    min-height: 560px;
    display: flex;
    flex-direction: column;
    background: #F5F5F5;
    border: 1px solid #e2e6ee;
    border-radius: 18px;
    padding: 22px 16px;
}

.templates-sidebar-heading[b-ctfgyz16q7] {
    padding-bottom: 20px;
    border-bottom: 1px solid #edf0f5;
}

    .templates-sidebar-heading h3[b-ctfgyz16q7] {
        margin: 0;
        color: #121e66;
        font-size: 18px;
        font-weight: 700;
    }

    .templates-sidebar-heading span[b-ctfgyz16q7] {
        display: block;
        margin-top: 7px;
        color: #718096;
        font-size: 12px;
    }

.templates-folder-tree[b-ctfgyz16q7] {
    flex: 1;
    padding-top: 22px;
}

.templates-tree-group[b-ctfgyz16q7] {
    padding: 14px 12px;
    margin-bottom: 10px;
    border-radius: 10px;
    color: #14266b;
    font-weight: 600;
    cursor: default;
}

    .templates-tree-group:first-child[b-ctfgyz16q7] {
        background: #f5f7fc;
    }

.templates-sidebar-footer[b-ctfgyz16q7] {
    border-top: 1px solid #edf0f5;
    padding-top: 16px;
    font-size: 11px;
    color: #8190a4;
}

.templates-main[b-ctfgyz16q7] {
    flex: 1;
    min-width: 0;
}

.templates-hero[b-ctfgyz16q7] {
    background: #091b35;
    border-radius: 20px;
    padding: 38px 44px;
    color: #ffffff;
}

    .templates-hero p[b-ctfgyz16q7] {
        margin: 0 0 12px;
        color: #e8b365;
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 1px;
    }

    .templates-hero h1[b-ctfgyz16q7] {
        margin: 0 0 16px;
        color: #f1be72;
        font-size: 36px;
        font-weight: 700;
    }

    .templates-hero span[b-ctfgyz16q7] {
        color: #d8e2f0;
        font-size: 15px;
    }

.templates-content[b-ctfgyz16q7] {
    margin-top: 26px;
    padding: 30px;
    background: #ffffff;
    border: 1px solid #e2e6ee;
    border-radius: 18px;
}

    .templates-content h2[b-ctfgyz16q7] {
        margin: 0 0 10px;
        color: #121e66;
        font-size: 21px;
    }

    .templates-content > p[b-ctfgyz16q7] {
        color: #6b7890;
        font-size: 14px;
    }

.templates-empty-state[b-ctfgyz16q7] {
    margin-top: 35px;
    padding: 55px 20px;
    text-align: center;
    border: 1px dashed #d6dce7;
    border-radius: 14px;
    background: #fafbfe;
}

    .templates-empty-state > span[b-ctfgyz16q7] {
        font-size: 42px;
    }

    .templates-empty-state h3[b-ctfgyz16q7] {
        margin: 16px 0 8px;
        color: #17266c;
    }

    .templates-empty-state p[b-ctfgyz16q7] {
        color: #7a8799;
        font-size: 13px;
    }

@media (max-width: 900px) {
    .templates-workspace[b-ctfgyz16q7] {
        flex-direction: column;
        padding: 16px;
    }

    .templates-sidebar[b-ctfgyz16q7] {
        width: 100%;
        min-width: 0;
        min-height: auto;
    }

    .templates-hero[b-ctfgyz16q7] {
        padding: 28px;
    }

        .templates-hero h1[b-ctfgyz16q7] {
            font-size: 28px;
        }
}


/* Live SharePoint folder navigation */

.templates-category-button[b-ctfgyz16q7],
.templates-folder-button[b-ctfgyz16q7] {
    display: block;
    width: 100%;
    border: none;
    background: transparent;
    color: #10244a;
    text-align: left;
    cursor: pointer;
    font: inherit;
    padding: 10px 12px;
    border-radius: 10px;
}

.templates-category-button[b-ctfgyz16q7] {
    font-weight: 700;
}

.templates-folder-button[b-ctfgyz16q7] {
    font-size: 0.92rem;
}

    .templates-category-button:hover[b-ctfgyz16q7],
    .templates-folder-button:hover[b-ctfgyz16q7] {
        background: #eef3fb;
    }

.templates-folder-node[b-ctfgyz16q7] {
    margin-top: 3px;
}

.templates-tree-message[b-ctfgyz16q7],
.templates-tree-error[b-ctfgyz16q7] {
    padding: 12px;
    font-size: 0.9rem;
}

.templates-tree-error[b-ctfgyz16q7] {
    color: #b42318;
}

.templates-tree-retry[b-ctfgyz16q7] {
    margin: 8px 12px;
    cursor: pointer;
}

.templates-content-header[b-ctfgyz16q7] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
}

.templates-file-list[b-ctfgyz16q7] {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.templates-file-row[b-ctfgyz16q7] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 16px 18px;
    border: 1px solid #e4eaf2;
    border-radius: 12px;
    background: #fff;
}

    .templates-file-row:hover[b-ctfgyz16q7] {
        background: #f8faff;
        border-color: #cbd8eb;
    }

.templates-file-info[b-ctfgyz16q7] {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

    .templates-file-info strong[b-ctfgyz16q7] {
        display: block;
        overflow-wrap: anywhere;
        color: #10244a;
    }

    .templates-file-info small[b-ctfgyz16q7] {
        display: block;
        margin-top: 4px;
        color: #75839a;
    }

.templates-file-icon[b-ctfgyz16q7] {
    font-size: 1.5rem;
}

.templates-open-link[b-ctfgyz16q7] {
    color: #1458a4;
    text-decoration: none;
    white-space: nowrap;
    font-weight: 600;
    font-size: 0.85rem;
}

    .templates-open-link:hover[b-ctfgyz16q7] {
        text-decoration: underline;
    }

@media (max-width: 700px) {
    .templates-file-row[b-ctfgyz16q7] {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Document preparation workspace */

.templates-select-file[b-ctfgyz16q7] {
    padding: 0;
    border: 0;
    background: transparent;
    color: #10244a;
    font: inherit;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
}

    .templates-select-file:hover[b-ctfgyz16q7] {
        color: #1458a4;
        text-decoration: underline;
    }

.templates-preparation[b-ctfgyz16q7] {
    margin-top: 30px;
    padding: 28px;
    border: 1px solid #dce5f1;
    border-radius: 16px;
    background: #f9fbff;
}

.templates-preparation-heading[b-ctfgyz16q7] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 24px;
}

.templates-eyebrow[b-ctfgyz16q7] {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #b4772b;
}

.templates-preparation-heading h2[b-ctfgyz16q7] {
    margin: 8px 0;
}

.templates-close-preparation[b-ctfgyz16q7] {
    border: 0;
    background: transparent;
    color: #52647d;
    cursor: pointer;
}

.templates-selected-document[b-ctfgyz16q7] {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px;
    margin-bottom: 24px;
    border: 1px solid #dce5f1;
    border-radius: 12px;
    background: white;
}

    .templates-selected-document strong[b-ctfgyz16q7],
    .templates-selected-document small[b-ctfgyz16q7] {
        display: block;
    }

    .templates-selected-document small[b-ctfgyz16q7] {
        margin-top: 5px;
        color: #75839a;
    }

.templates-form-field[b-ctfgyz16q7] {
    margin-bottom: 24px;
}

    .templates-form-field label[b-ctfgyz16q7] {
        display: block;
        margin-bottom: 10px;
        font-weight: 700;
        color: #10244a;
    }

.templates-textarea[b-ctfgyz16q7] {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 14px;
    border: 1px solid #ccd8e8;
    border-radius: 10px;
    background: white;
    font: inherit;
    resize: vertical;
}

    .templates-textarea:focus[b-ctfgyz16q7] {
        outline: 2px solid #91b6e9;
        outline-offset: 1px;
    }

.templates-upload-zone[b-ctfgyz16q7] {
    padding: 28px;
    border: 2px dashed #b8cbe4;
    border-radius: 14px;
    background: white;
    text-align: center;
}

.templates-upload-icon[b-ctfgyz16q7] {
    font-size: 2rem;
}

.templates-upload-zone input[b-ctfgyz16q7] {
    display: block;
    max-width: 100%;
    margin: 18px auto;
}

.templates-upload-zone small[b-ctfgyz16q7] {
    color: #75839a;
}

.templates-attachments[b-ctfgyz16q7] {
    margin-bottom: 24px;
}

    .templates-attachments h3[b-ctfgyz16q7] {
        font-size: 1rem;
        margin-bottom: 12px;
    }

.templates-attachment-row[b-ctfgyz16q7] {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 14px;
    margin-bottom: 8px;
    border: 1px solid #e4eaf2;
    border-radius: 9px;
    background: white;
    overflow-wrap: anywhere;
}

.templates-preparation-actions[b-ctfgyz16q7] {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    flex-wrap: wrap;
}

.templates-clear-button[b-ctfgyz16q7],
.templates-generate-button[b-ctfgyz16q7] {
    padding: 12px 20px;
    border-radius: 10px;
    font: inherit;
    font-weight: 700;
}

.templates-clear-button[b-ctfgyz16q7] {
    border: 1px solid #cbd8e8;
    background: white;
    cursor: pointer;
}

.templates-generate-button[b-ctfgyz16q7] {
    border: 0;
    background: #10244a;
    color: white;
}

    .templates-generate-button:disabled[b-ctfgyz16q7] {
        opacity: 0.5;
        cursor: not-allowed;
    }

.templates-preparation-note[b-ctfgyz16q7] {
    margin-top: 16px;
    font-size: 0.85rem;
    color: #75839a;
}

@media (max-width: 700px) {
    .templates-preparation[b-ctfgyz16q7] {
        padding: 18px;
    }

    .templates-preparation-heading[b-ctfgyz16q7] {
        flex-direction: column;
    }
}

.templates-sidebar-file-row[b-ctfgyz16q7] {
    display: flex;
    align-items: flex-start;
    gap: 4px;
    min-width: 0;
    margin: 2px 0;
}

.templates-sidebar-file-name[b-ctfgyz16q7] {
    flex: 1;
    min-width: 0;
    border: 0;
    background: transparent;
    text-align: left;
    cursor: pointer;
    color: #10244a;
    font: inherit;
    font-size: 0.85rem;
    overflow-wrap: anywhere;
    padding: 6px 4px;
}

    .templates-sidebar-file-name:hover[b-ctfgyz16q7] {
        color: #1458a4;
        text-decoration: underline;
    }

    .templates-sidebar-file-name.selected[b-ctfgyz16q7] {
        background: #e8f0fc;
        border-radius: 6px;
        font-weight: 700;
    }

.templates-sidebar-sharepoint-link[b-ctfgyz16q7] {
    flex-shrink: 0;
    padding: 6px 3px;
    text-decoration: none;
    color: #1458a4;
    font-size: 0.85rem;
}

/* Clean, compact SharePoint file explorer */

.templates-sidebar-file-row[b-ctfgyz16q7] {
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
    margin: 1px 0;
    padding: 0;
}

.templates-sidebar-file-name[b-ctfgyz16q7] {
    display: block;
    flex: 1;
    min-width: 0;
    width: 100%;
    margin: 0;
    padding: 5px 4px;
    border: none !important;
    outline: none;
    box-shadow: none !important;
    background: transparent !important;
    color: #243653;
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 400;
    line-height: 1.35;
    text-align: left;
    overflow-wrap: anywhere;
    cursor: pointer;
}

    .templates-sidebar-file-name:hover[b-ctfgyz16q7] {
        background: #eef3fb !important;
        color: #1458a4;
        border-radius: 5px;
    }

    .templates-sidebar-file-name.selected[b-ctfgyz16q7] {
        background: #e8f0fc !important;
        color: #10244a;
        font-weight: 600;
        border-radius: 5px;
    }

.templates-sidebar-sharepoint-link[b-ctfgyz16q7] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 3px;
    margin: 0;
    border: none;
    background: transparent;
    font-size: 0.75rem;
    line-height: 1;
    text-decoration: none;
}

    .templates-sidebar-sharepoint-link:hover[b-ctfgyz16q7] {
        background: #eef3fb;
        border-radius: 4px;
    }

/* Slightly smaller folder labels */

.templates-folder-button[b-ctfgyz16q7] {
    font-size: 0.82rem;
    line-height: 1.4;
    border: none !important;
    box-shadow: none !important;
    background: transparent;
}

/* Remove browser-default boxes from template filenames */

.templates-folder-tree .templates-sidebar-file-row button[b-ctfgyz16q7],
.templates-folder-tree .templates-sidebar-file-row button[type="button"][b-ctfgyz16q7],
.templates-folder-tree .templates-sidebar-file-name[b-ctfgyz16q7] {
    appearance: none !important;
    -webkit-appearance: none !important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    margin: 0 !important;
    padding: 4px 3px !important;
    font-family: inherit !important;
    font-size: 0.76rem !important;
    font-weight: 400;
    line-height: 1.35;
    text-align: left;
    color: #243653;
    cursor: pointer;
}

    .templates-folder-tree .templates-sidebar-file-row button:hover[b-ctfgyz16q7] {
        background: #eef3fb !important;
        border-radius: 4px;
    }

.templates-folder-tree .templates-sidebar-file-row[b-ctfgyz16q7] {
    display: flex;
    align-items: center;
    gap: 5px;
    width: 100%;
    min-width: 0;
    margin: 2px 0;
}

    /* Keep the SharePoint link compact */

    .templates-folder-tree .templates-sidebar-file-row a[b-ctfgyz16q7] {
        flex-shrink: 0;
        font-size: 0.72rem;
        text-decoration: none;
    }

/* Compact, borderless template file rows */

[b-ctfgyz16q7] .templates-sidebar-file-row {
    display: flex !important;
    align-items: center !important;
    gap: 3px !important;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    margin: 1px 0 !important;
}

[b-ctfgyz16q7] .templates-sidebar-file-name {
    appearance: none !important;
    -webkit-appearance: none !important;
    display: flex !important;
    align-items: flex-start !important;
    gap: 5px !important;
    flex: 1 1 auto;
    min-width: 0;
    width: auto !important;
    margin: 0 !important;
    padding: 4px 2px !important;
    border: 0 !important;
    border-radius: 4px;
    outline: none;
    box-shadow: none !important;
    background: transparent !important;
    color: #243653 !important;
    font-family: inherit !important;
    font-size: 0.75rem !important;
    font-weight: 400 !important;
    line-height: 1.3 !important;
    text-align: left !important;
    cursor: pointer;
}

[b-ctfgyz16q7] .templates-sidebar-file-label {
    min-width: 0;
    overflow-wrap: anywhere;
}

[b-ctfgyz16q7] .templates-sidebar-file-icon {
    flex-shrink: 0;
    font-size: 0.75rem;
}

[b-ctfgyz16q7] .templates-sidebar-file-name:hover {
    background: #eef3fb !important;
}

[b-ctfgyz16q7] .templates-sidebar-file-name.is-selected {
    background: #e8f0fc !important;
    color: #10244a !important;
    font-weight: 600 !important;
}

[b-ctfgyz16q7] .templates-sidebar-sharepoint-link {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    flex: 0 0 18px;
    width: 18px;
    height: 20px;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #1458a4;
    font-size: 0.75rem;
    line-height: 1;
    text-decoration: none;
}

    [b-ctfgyz16q7] .templates-sidebar-sharepoint-link:hover {
        background: #eef3fb !important;
        border-radius: 4px;
    }

.templates-workspace[b-ctfgyz16q7] {
    background-color: #FFFFF7;
}

/* THOTH Templates — matching Chat header and requested surfaces */
.templates-workspace[b-ctfgyz16q7] {
    background: #F5F5F5;
}

.templates-hero[b-ctfgyz16q7] {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 0;
    padding: clamp(22px, 4vw, 38px) clamp(18px, 4vw, 44px);
    background: #091b35;
    border-radius: 20px;
}

.templates-thoth-logo[b-ctfgyz16q7] {
    display: block;
    width: 50px;
    height: 60px;
    max-width: 50px;
    max-height: 60px;
    object-fit: contain;
    flex-shrink: 0;
    transform-origin: 50% 70%;
    animation: templates-thoth-look-b-ctfgyz16q7 10s ease-in-out infinite;
}

@keyframes templates-thoth-look-b-ctfgyz16q7 {
    0%, 8%, 23%, 38%, 100% {
        transform: rotate(0deg);
    }

    13%, 18% {
        transform: rotate(-6deg);
    }

    28%, 33% {
        transform: rotate(6deg);
    }
}

.templates-hero-text[b-ctfgyz16q7] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.templates-hero .templates-hero-text h1[b-ctfgyz16q7] {
    margin: 0;
    color: #f1be72;
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 700;
}

.templates-hero .templates-hero-text span[b-ctfgyz16q7] {
    color: #ffffff;
    font-size: 15px;
}

.templates-content[b-ctfgyz16q7],
.templates-empty-state[b-ctfgyz16q7] {
    background: #ffffff;
}

@media (prefers-reduced-motion: reduce) {
    .templates-thoth-logo[b-ctfgyz16q7] {
        animation: none;
    }
}

/* THOTH Templates — Correct background layers */

.templates-workspace[b-ctfgyz16q7] {
    background-color: #FFFFF7 !important;
}

.templates-content[b-ctfgyz16q7] {
    background-color: #F5F5F5 !important;
}

.templates-empty-state[b-ctfgyz16q7] {
    background-color: #FFFFFF !important;
}
