/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-b6x7ds76pl] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-b6x7ds76pl] {
    flex: 1;
}

.sidebar[b-b6x7ds76pl] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-b6x7ds76pl] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-b6x7ds76pl]  a, .top-row[b-b6x7ds76pl]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-b6x7ds76pl]  a:hover, .top-row[b-b6x7ds76pl]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-b6x7ds76pl]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-b6x7ds76pl] {
        justify-content: space-between;
    }

    .top-row[b-b6x7ds76pl]  a, .top-row[b-b6x7ds76pl]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-b6x7ds76pl] {
        flex-direction: row;
    }

    .sidebar[b-b6x7ds76pl] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-b6x7ds76pl] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-b6x7ds76pl]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-b6x7ds76pl], article[b-b6x7ds76pl] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-b6x7ds76pl] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-b6x7ds76pl] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-qo01g2je59] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

.navbar-toggler:checked[b-qo01g2je59] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-qo01g2je59] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-qo01g2je59] {
    font-size: 1.1rem;
}

.bi[b-qo01g2je59] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-qo01g2je59] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-qo01g2je59] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-qo01g2je59] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.nav-item[b-qo01g2je59] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-qo01g2je59] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-qo01g2je59] {
        padding-bottom: 1rem;
    }

    .nav-item[b-qo01g2je59]  .nav-link {
        color: #d7d7d7;
        background: none;
        border: none;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
    }

.nav-item[b-qo01g2je59]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-qo01g2je59]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-scrollable[b-qo01g2je59] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-qo01g2je59] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-qo01g2je59] {
        display: none;
    }

    .nav-scrollable[b-qo01g2je59] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Components/Pages/Configuration/Category/CategoryConfiguration.razor.rz.scp.css */
#category-root-subject:focus[b-49v69kmeoj],
#category-grade-level:focus[b-49v69kmeoj] {
    border-color: var(--accent);
    outline: none;
    box-shadow: none;
}
/* /Components/Pages/Configuration/StandardCombination/StandardCombination.razor.rz.scp.css */

.combination-columns[b-38glb2ys8m] {
    display: grid;
    grid-template-columns: 500px minmax(0, 1fr);
    gap: 16px;
    flex: 1;
    min-height: 0;
    min-width: 0;
}

.catalog-panel[b-38glb2ys8m] {
    width: 500px;
    max-width: 100%;
    min-height: 0;
}

.combination-content[b-38glb2ys8m] {
    --question-type-width: 88px;
    --ability-width: 48px;
    --data-column-width: 28px;
    min-height: 0;
    min-width: 0;
    overflow: auto;
}

.matrix-surface[b-38glb2ys8m] {
    min-width: calc(var(--question-type-width) + var(--ability-width) + 30 * var(--data-column-width) + 18px);
}

.matrix-container[b-38glb2ys8m] {
    overflow: visible;
}

.matrix-container table[b-38glb2ys8m] {
    width: 100%;
    min-width: calc(var(--question-type-width) + var(--ability-width) + 30 * var(--data-column-width));
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 0;
}

.matrix-qtype-column[b-38glb2ys8m] { width: var(--question-type-width); }
.matrix-ability-column[b-38glb2ys8m] { width: var(--ability-width); }

.matrix-container thead th[b-38glb2ys8m] {
    position: sticky;
    top: 0;
    z-index: 10;
    background: var(--surface);
}

.matrix-container thead .matrix-content-header[b-38glb2ys8m] {
    height: 32px;
    background: var(--surface-accent);
}

.matrix-level-header[b-38glb2ys8m] { height: 30px; }

.matrix-container thead tr:nth-child(2) th[b-38glb2ys8m] {
    top: 32px;
    height: 30px;
}

.matrix-container thead tr:nth-child(3) th[b-38glb2ys8m] {
    top: 62px;
    height: 28px;
}

.matrix-container .sticky-col-1[b-38glb2ys8m] {
    position: sticky;
    left: 0;
    z-index: 5;
    background: var(--surface);
    vertical-align: top;
    overflow-wrap: anywhere;
}

.matrix-container .sticky-col-2[b-38glb2ys8m] {
    position: sticky;
    left: var(--question-type-width);
    z-index: 5;
    background: var(--surface);
    overflow-wrap: anywhere;
}

.matrix-container thead .sticky-col-1[b-38glb2ys8m],
.matrix-container thead .sticky-col-2[b-38glb2ys8m] {
    z-index: 15;
}

.matrix-cell[b-38glb2ys8m] {
    min-width: var(--data-column-width);
    text-align: center;
    padding: 1px 0;
    font-size: 13px;
    cursor: default;
    user-select: none;
    transition: background-color 0.1s;
}

.matrix-cell .matrix-toggle[b-38glb2ys8m],
.matrix-cell .matrix-count[b-38glb2ys8m] {
    width: 100%;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.matrix-cell:hover[b-38glb2ys8m] {
    background-color: #EEF2FF !important;
}

.matrix-cell.active[b-38glb2ys8m] {
    color: #059669;
    font-weight: 600;
}

.matrix-cell.inactive[b-38glb2ys8m] {
    color: #D1D5DB;
}

.level-col-start[b-38glb2ys8m] {
    border-left: 1px solid var(--border-strong) !important;
}

.content-col-start[b-38glb2ys8m] {
    border-left: 2px solid var(--border-strong) !important;
}

.qtype-row-start > *[b-38glb2ys8m] {
    border-top: 2px solid var(--border-strong) !important;
}

.matrix-container .bg-level-1[b-38glb2ys8m] { background-color: var(--support-subtle); }
.matrix-container .bg-level-2[b-38glb2ys8m] { background-color: var(--surface-subtle); }
.matrix-container .bg-level-3[b-38glb2ys8m] { background-color: var(--surface-page); }

.matrix-container .qtype-header-abcd[b-38glb2ys8m],
.matrix-container .qtype-header-fill[b-38glb2ys8m],
.matrix-container .qtype-header-true-false[b-38glb2ys8m],
.matrix-container .qtype-header-essay[b-38glb2ys8m] { background-color: var(--surface-subtle); }

@media (max-width: 1535px) {
    .combination-content[b-38glb2ys8m] {
        --data-column-width: 24px;
    }
}

@media (max-width: 1199px) {
    .combination-columns[b-38glb2ys8m] {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: minmax(160px, 30vh) minmax(0, 1fr);
    }
}

.tree-item[b-38glb2ys8m] {
    padding: 9px 8px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s;
    font-size: 13px;
}

.tree-item:hover[b-38glb2ys8m] { background-color: #F3F4F6; }
.tree-item.selected[b-38glb2ys8m] { background-color: #EEF2FF; color: #4F46E5; font-weight: 500; }

button:disabled[b-38glb2ys8m] { cursor: default; opacity: .55; }
select:focus[b-38glb2ys8m] { outline: none !important; box-shadow: none !important; border-color: var(--accent); }
/* /Components/Pages/Configuration/TextBook/CreateTextBook.razor.rz.scp.css */
.textbook-focus-border:focus[b-9u5moylzk3],
.textbook-focus-border:focus-visible[b-9u5moylzk3] {
    border-color: var(--accent) !important;
    box-shadow: none !important;
    outline: none !important;
    outline-offset: 0 !important;
}
/* /Components/Pages/Reports/ApiLogEntry.razor.rz.scp.css */
.api-log-header[b-mkxm9x937q] {
    padding: 12px 16px;
    border-top: 2px solid var(--border-strong, #bed3cf);
    background: var(--surface-subtle, #edf5f4);
}

.api-log-metadata[b-mkxm9x937q] {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px 16px;
    align-items: start;
    margin: 0;
}

.api-log-metadata-item[b-mkxm9x937q] {
    display: flex;
    align-items: baseline;
    gap: 4px;
    min-width: 0;
    min-height: 32px;
    line-height: 32px;
}

.api-log-metadata-item dt[b-mkxm9x937q] { flex-shrink: 0; }
.api-log-metadata-item dd[b-mkxm9x937q] { min-width: 0; margin: 0; overflow-wrap: anywhere; }
.api-log-user-link[b-mkxm9x937q] { display: inline; padding: 0; line-height: inherit; vertical-align: baseline; }
.api-log-user-link:focus-visible[b-mkxm9x937q] { color: var(--accent, #0f766e); text-decoration-thickness: 2px; }

@media (max-width: 480px) {
    .api-log-metadata[b-mkxm9x937q] { grid-template-columns: minmax(0, 1fr); }
    .api-log-metadata-item[b-mkxm9x937q] { min-height: 44px; line-height: 44px; }
}
/* /Components/Pages/Reports/ArchitectureVisualizer.razor.rz.scp.css */
.arch-graph[b-f54or51hve] {
    background-color: #f8fafc;
    background-image:
        linear-gradient(rgba(148, 163, 184, 0.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.12) 1px, transparent 1px);
    background-size: 24px 24px;
    cursor: grab;
}

.arch-graph.arch-panning[b-f54or51hve] {
    cursor: grabbing;
}
/* /Components/Pages/Reports/CourseContentReport.razor.rz.scp.css */
.course-content-report[b-0zfi9eih4j] { min-width: 0; max-width: 100%; background: var(--surface-page); color: var(--text-secondary); font-size: 13px; line-height: 1.6; }
.report-heading[b-0zfi9eih4j] { font-size: 14px; font-weight: 600; line-height: 1.5; color: var(--text); }
.report-meta[b-0zfi9eih4j], .report-label[b-0zfi9eih4j] { font-size: 12px; }
.report-muted[b-0zfi9eih4j] { color: var(--text-muted); }
.report-surface[b-0zfi9eih4j] { min-width: 0; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); box-shadow: var(--shadow-card); }
.report-label[b-0zfi9eih4j] { display: block; margin-bottom: 4px; color: var(--text-muted); font-weight: 500; }
.report-label-inline[b-0zfi9eih4j] { font-weight: 500; color: var(--text); }
.report-field[b-0zfi9eih4j] { min-width: 160px; max-width: 100%; }
.report-control[b-0zfi9eih4j] { min-height: 44px; max-width: 100%; padding: 8px 12px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); color: var(--text-secondary); font-size: 13px; }
.course-content-report .report-control:focus[b-0zfi9eih4j] { outline: none; box-shadow: none; border-color: var(--accent); }
.report-control:disabled[b-0zfi9eih4j] { color: var(--text-muted); background: var(--surface-subtle); cursor: not-allowed; }
.report-button[b-0zfi9eih4j] { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: 8px 16px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); color: var(--accent); font-weight: 500; font-size: 13px; transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease; }
.report-button:hover:not(:disabled)[b-0zfi9eih4j] { border-color: var(--accent); background: var(--surface-accent); }
.report-button:disabled[b-0zfi9eih4j] { opacity: .6; cursor: not-allowed; }
.report-primary[b-0zfi9eih4j] { border-color: var(--accent); background: var(--accent); color: var(--surface); }
.report-primary:hover:not(:disabled)[b-0zfi9eih4j] { border-color: var(--accent-strong); background: var(--accent-strong); color: var(--surface); }
.report-link[b-0zfi9eih4j], .report-text-button[b-0zfi9eih4j] { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.report-link:hover[b-0zfi9eih4j], .report-text-button:hover[b-0zfi9eih4j] { color: var(--accent-strong); }
.report-text-button[b-0zfi9eih4j] { display: inline-flex; min-height: 44px; align-items: center; font-weight: 500; }
.report-detail-link[b-0zfi9eih4j] { display: inline-flex; min-height: 44px; align-items: center; }
.report-notice[b-0zfi9eih4j] { padding: 12px 16px; border-radius: 8px; background: var(--surface-subtle); color: var(--text-secondary); overflow-wrap: anywhere; }
.report-warning[b-0zfi9eih4j] { color: var(--warning); }
.report-error[b-0zfi9eih4j] { color: var(--error); }
.report-breadcrumb[b-0zfi9eih4j] { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; margin-top: 8px; overflow-wrap: anywhere; }
.report-breadcrumb a[b-0zfi9eih4j] { display: inline-flex; align-items: center; min-height: 44px; color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.report-breadcrumb [aria-current="page"][b-0zfi9eih4j] { color: var(--text); font-weight: 600; text-decoration: none; }
.report-context-line[b-0zfi9eih4j] { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding-top: 12px; border-top: 1px solid var(--border); overflow-wrap: anywhere; }
.report-metrics[b-0zfi9eih4j] { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.report-value[b-0zfi9eih4j] { margin: 8px 0; color: var(--text); font-size: 24px; line-height: 1.2; font-weight: 600; font-variant-numeric: tabular-nums; }
.report-facts[b-0zfi9eih4j] { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; }
.report-facts dt[b-0zfi9eih4j] { color: var(--text-muted); font-size: 12px; }
.report-facts dd[b-0zfi9eih4j] { margin-top: 4px; font-weight: 600; font-variant-numeric: tabular-nums; }
.report-table-scroll[b-0zfi9eih4j] { max-width: 100%; overflow-x: auto; }
.report-table[b-0zfi9eih4j] { width: 100%; border-collapse: collapse; text-align: left; }
.report-table thead[b-0zfi9eih4j] { background: var(--surface-subtle); }
.report-table th[b-0zfi9eih4j], .report-table td[b-0zfi9eih4j] { padding: 12px; vertical-align: middle; border-bottom: 1px solid var(--border); }
.report-table th[b-0zfi9eih4j] { font-weight: 500; }
.report-table thead th[b-0zfi9eih4j] { color: var(--text-muted); font-size: 12px; white-space: nowrap; }
.report-table tbody tr:hover[b-0zfi9eih4j] { background: var(--surface-accent); }
.report-table .number-cell[b-0zfi9eih4j] { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.report-distribution-table[b-0zfi9eih4j] { min-width: 520px; }
.report-distribution-table th:first-child[b-0zfi9eih4j] { width: 45%; }
.report-bar-row[b-0zfi9eih4j] { display: flex; align-items: center; gap: 12px; }
.report-bar-row span[b-0zfi9eih4j] { min-width: 52px; text-align: right; }
.report-bar-row progress[b-0zfi9eih4j] { width: 100%; min-width: 100px; height: 8px; border: 0; border-radius: 8px; appearance: none; background: var(--surface-subtle); color: var(--accent); }
.report-bar-row progress[b-0zfi9eih4j]::-webkit-progress-bar { border-radius: 8px; background: var(--surface-subtle); }
.report-bar-row progress[b-0zfi9eih4j]::-webkit-progress-value { border-radius: 8px; background: var(--accent); }
.report-bar-row progress[b-0zfi9eih4j]::-moz-progress-bar { border-radius: 8px; background: var(--accent); }
.report-curriculum-table[b-0zfi9eih4j] { min-width: 820px; }
.report-curriculum-table th:first-child[b-0zfi9eih4j] { width: 48%; min-width: 300px; }
.report-comparison-table[b-0zfi9eih4j] { min-width: 680px; }
.report-comparison-table th:first-child[b-0zfi9eih4j] { min-width: 220px; }
.curriculum-depth-0[b-0zfi9eih4j] { padding-left: 0; }
.curriculum-depth-1[b-0zfi9eih4j] { padding-left: 12px; }
.curriculum-depth-2[b-0zfi9eih4j] { padding-left: 24px; }
.curriculum-depth-3[b-0zfi9eih4j] { padding-left: 36px; }
.report-pagination[b-0zfi9eih4j] { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; }
.report-findings[b-0zfi9eih4j] { list-style: none; margin-bottom: 0; padding: 0; }
.report-findings li[b-0zfi9eih4j] { padding: 16px 0; border-bottom: 1px solid var(--border); }
.report-findings li:first-child[b-0zfi9eih4j] { padding-top: 0; }
.report-findings li:last-child[b-0zfi9eih4j] { padding-bottom: 0; border-bottom: 0; }
.report-severity[b-0zfi9eih4j] { font-size: 12px; font-weight: 500; }
.severity-warning[b-0zfi9eih4j] { color: var(--warning); }
.severity-error[b-0zfi9eih4j] { color: var(--error); }
.severity-success[b-0zfi9eih4j] { color: var(--success); }
.severity-info[b-0zfi9eih4j] { color: var(--info); }
.report-skeleton[b-0zfi9eih4j] { min-height: 180px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.report-skeleton div[b-0zfi9eih4j] { min-height: 140px; border-radius: 8px; background: var(--surface-subtle); }
@media (max-width: 1023px) { .report-metrics[b-0zfi9eih4j], .report-skeleton[b-0zfi9eih4j] { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) {
    .course-content-report[b-0zfi9eih4j] { font-size: 16px; }
    .report-control[b-0zfi9eih4j], .report-button[b-0zfi9eih4j], .report-text-button[b-0zfi9eih4j] { font-size: 16px; }
    .report-field[b-0zfi9eih4j] { flex: 1 1 160px; }
    .report-field .report-control[b-0zfi9eih4j] { width: 100%; }
    .report-metrics[b-0zfi9eih4j], .report-skeleton[b-0zfi9eih4j] { grid-template-columns: minmax(0, 1fr); }
    .report-facts[b-0zfi9eih4j] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .report-pagination > div[b-0zfi9eih4j] { width: 100%; justify-content: flex-end; }
}
@media (prefers-reduced-motion: reduce) { .report-button[b-0zfi9eih4j] { transition: none; } }
/* /Components/Pages/Reports/DistributionBirthYearPanel.razor.rz.scp.css */
.heatmap-cell[b-j1e2c33cok] { position: relative; min-width: 92px; width: 100%; min-height: 48px; border: 1px solid #cbd5e1; border-radius: 8px; padding: 6px; color: #0f172a; cursor: pointer; transition: border-color 150ms, background-color 150ms; }
.heatmap-cell:hover[b-j1e2c33cok], .heatmap-cell:focus-visible[b-j1e2c33cok] { border-color: #4f46e5; outline: 2px solid #4f46e5; outline-offset: 2px; }
.heat-0[b-j1e2c33cok] { background: #f8fafc; }.heat-1[b-j1e2c33cok] { background: #eef2ff; }.heat-2[b-j1e2c33cok] { background: #e0e7ff; }.heat-3[b-j1e2c33cok] { background: #c7d2fe; }.heat-4[b-j1e2c33cok] { background: #a5b4fc; }.heat-5[b-j1e2c33cok] { background: #818cf8; color: #1e1b4b; }
@media (prefers-reduced-motion: reduce) { .heatmap-cell[b-j1e2c33cok] { transition: none; } }
/* /Components/Pages/Reports/DistributionDashboard.razor.rz.scp.css */
.distribution-dashboard[b-gv4qtuob29] { --surface: #fff; --surface-subtle: #f1f5f9; --text: #0f172a; --text-secondary: #334155; --border-strong: #cbd5e1; --accent: #4f46e5; min-width: 0; max-width: 100%; }
.distribution-dashboard label[b-gv4qtuob29] { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--text-secondary); }
.distribution-dashboard input[b-gv4qtuob29], .distribution-dashboard select[b-gv4qtuob29], .filter-button[b-gv4qtuob29] { min-height: 44px; padding: 8px 12px; border: 1px solid var(--border-strong); border-radius: 8px; background: var(--surface); color: var(--text); font-size: 13px; }
.filter-button[b-gv4qtuob29] { transition: background-color 150ms; }
.filter-button:hover[b-gv4qtuob29] { background: var(--surface-subtle); }
.filter-button-active[b-gv4qtuob29] { border-color: var(--accent); background: #eef2ff; color: #3730a3; font-weight: 600; }
.advanced-filters[open][b-gv4qtuob29] { background: #f8fafc; }
.distribution-dashboard :is(button, input, select, summary):focus-visible[b-gv4qtuob29] { outline: 2px solid var(--accent); outline-offset: 2px; }
.distribution-dashboard fieldset:disabled[b-gv4qtuob29] { opacity: .65; }
.distribution-dashboard progress[b-gv4qtuob29] { height: 8px; accent-color: var(--accent); }
@media (max-width: 640px) { .distribution-dashboard input[b-gv4qtuob29], .distribution-dashboard select[b-gv4qtuob29] { font-size: 16px; } }
@media (prefers-reduced-motion: reduce) { .filter-button[b-gv4qtuob29] { transition: none; } }
/* /Components/Pages/Reports/DistributionDashboardV2.razor.rz.scp.css */
.distribution-v2[b-eexgju0ow4] {
    --v2-page: #f4f7fb;
    --v2-surface: #ffffff;
    --v2-surface-subtle: #eaf0f7;
    --v2-text: #172033;
    --v2-text-secondary: #34445a;
    --v2-text-muted: #68778c;
    --v2-border: #dce4ee;
    --v2-border-strong: #c7d2e0;
    --v2-accent: #2563eb;
    --v2-accent-dark: #1d4ed8;
    --v2-accent-subtle: #eff6ff;
    --v2-support: #0f766e;
    --v2-support-subtle: #ecfdf5;
    --v2-panel: #ffffff;
    min-width: 0;
    max-width: 100%;
    background: var(--v2-page);
    color: var(--v2-text);
}

.dashboard-heading[b-eexgju0ow4] { padding: 4px 2px 0; }

.dashboard-backlink[b-eexgju0ow4] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--v2-accent);
    font-size: 12px;
    font-weight: 650;
    text-decoration: none;
    transition: color 180ms ease;
}

.dashboard-backlink:hover[b-eexgju0ow4] { color: var(--v2-accent-dark); }

.live-badge[b-eexgju0ow4] {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    background: var(--v2-support-subtle);
    padding: 4px 9px;
    color: #15803d;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.live-badge span[b-eexgju0ow4] {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, .45);
    animation: live-pulse-b-eexgju0ow4 2s infinite;
}

.device-switcher[b-eexgju0ow4] {
    width: fit-content;
    max-width: 100%;
    border: 1px solid var(--v2-border);
    border-radius: 8px;
    background: var(--v2-surface);
    padding: 4px;
    box-shadow: 0 1px 2px rgba(23, 32, 51, .05);
}

.device-tab[b-eexgju0ow4] {
    display: inline-flex;
    min-height: 40px;
    min-width: 112px;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    padding: 8px 18px;
    color: var(--v2-text-muted);
    font-size: 13px;
    font-weight: 650;
    transition: background-color 180ms ease, color 180ms ease;
}

.device-tab:hover[b-eexgju0ow4] { background: var(--v2-accent-subtle); color: var(--v2-accent-dark); }

.device-tab-active[b-eexgju0ow4] {
    background: var(--v2-accent);
    color: #fff;
}

.device-tab-active:hover[b-eexgju0ow4] { background: var(--v2-accent-dark); color: #fff; }

.device-tab-icon[b-eexgju0ow4] {
    display: grid;
    width: 22px;
    height: 22px;
    place-items: center;
    border-radius: 8px;
    background: rgba(148, 163, 184, .12);
    font-size: 10px;
    font-weight: 800;
}

.device-tab-icon svg[b-eexgju0ow4] { width: 16px; height: 16px; }

.device-tab-active .device-tab-icon[b-eexgju0ow4] { background: rgba(255, 255, 255, .18); }

.dashboard-toolbar[b-eexgju0ow4] {
    border: 1px solid var(--v2-border);
    border-radius: 8px;
    background: var(--v2-panel);
    padding: 16px;
    box-shadow: 0 1px 2px rgba(23, 32, 51, .05);
}

.report-context[b-eexgju0ow4] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    border: 1px solid var(--v2-border);
    border-radius: 8px;
    background: var(--v2-surface);
    padding: 10px 13px;
    color: var(--v2-text-muted);
    font-size: 11px;
}

.report-context-item[b-eexgju0ow4] { display: inline-flex; align-items: center; gap: 7px; }
.context-dot[b-eexgju0ow4] { width: 7px; height: 7px; border-radius: 50%; }
.context-dot-blue[b-eexgju0ow4] { background: var(--v2-accent); }
.context-dot-green[b-eexgju0ow4] { background: var(--v2-support); }

.overview-section[b-eexgju0ow4] {
    border: 1px solid var(--v2-border);
    border-radius: 8px;
    background: var(--v2-surface);
    padding: 16px;
    box-shadow: 0 1px 2px rgba(23, 32, 51, .05);
}

.dashboard-eyebrow[b-eexgju0ow4] {
    color: var(--v2-accent);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.period-chip[b-eexgju0ow4] {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    background: var(--v2-accent-subtle);
    padding: 6px 10px;
    color: var(--v2-accent-dark);
    font-size: 11px;
    font-weight: 700;
}

.period-chip span[b-eexgju0ow4] { width: 6px; height: 6px; border-radius: 50%; background: var(--v2-accent); }

.kpi-dashboard-grid[b-eexgju0ow4] {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.metric-card[b-eexgju0ow4] {
    --metric: #2563eb;
    --metric-soft: #eff6ff;
    position: relative;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--v2-border);
    border-radius: 8px;
    background: var(--v2-surface);
    padding: 14px;
    box-shadow: 0 1px 2px rgba(23, 32, 51, .05);
    transition: border-color 180ms ease, box-shadow 180ms ease;
}

.metric-card[b-eexgju0ow4]::before { display: none; }

.metric-card:hover[b-eexgju0ow4] {
    border-color: var(--v2-border-strong);
    box-shadow: 0 4px 10px rgba(23, 32, 51, .08);
}

.metric-cyan[b-eexgju0ow4] { --metric: #0891b2; --metric-soft: #ecfeff; }
.metric-blue[b-eexgju0ow4] { --metric: #2563eb; --metric-soft: #eff6ff; }
.metric-green[b-eexgju0ow4] { --metric: #059669; --metric-soft: #ecfdf5; }
.metric-orange[b-eexgju0ow4] { --metric: #d97706; --metric-soft: #fffbeb; }
.metric-teal[b-eexgju0ow4] { --metric: #0f766e; --metric-soft: #ecfdf5; }

.metric-card-top[b-eexgju0ow4] { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.metric-icon[b-eexgju0ow4] { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 8px; background: var(--metric-soft); color: var(--metric); }
.metric-icon svg[b-eexgju0ow4] { width: 18px; height: 18px; }
.metric-card h3[b-eexgju0ow4] { position: relative; margin-top: 12px; color: #64748b; font-size: 11px; font-weight: 650; }
.metric-value[b-eexgju0ow4] { position: relative; z-index: 1; margin-top: 3px; color: #111827; font-size: clamp(19px, 1.55vw, 26px); font-weight: 760; letter-spacing: -.035em; line-height: 1.2; font-variant-numeric: tabular-nums; }

.metric-delta[b-eexgju0ow4] {
    border-radius: 8px;
    padding: 3px 6px;
    font-size: 9px;
    font-weight: 750;
    white-space: nowrap;
}

.metric-delta-up[b-eexgju0ow4] { background: #ecfdf5; color: #047857; }
.metric-delta-down[b-eexgju0ow4] { background: #fff1f2; color: #be123c; }
.metric-delta-flat[b-eexgju0ow4] { background: #f1f5f9; color: #64748b; }

.metric-sparkline[b-eexgju0ow4] { height: 34px; margin: 10px -4px 0; color: var(--metric); }
.metric-sparkline svg[b-eexgju0ow4] { width: 100%; height: 100%; overflow: visible; }
.metric-sparkline polygon[b-eexgju0ow4] { fill: currentColor; opacity: .09; }
.metric-sparkline polyline[b-eexgju0ow4] { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.metric-caption[b-eexgju0ow4] { margin-top: 4px; color: #94a3b8; font-size: 9px; }

.channel-comparison[b-eexgju0ow4] {
    overflow: hidden;
    border: 1px solid #dfe5ef;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(23, 32, 51, .05);
}

.channel-comparison-heading[b-eexgju0ow4] {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid #edf1f6;
    padding: 15px 17px;
    background: var(--v2-accent-subtle);
}

.channel-comparison-heading h3[b-eexgju0ow4] { margin-top: 3px; color: #172033; font-size: 14px; font-weight: 750; }
.channel-comparison-heading p[b-eexgju0ow4], .channel-comparison-heading > span[b-eexgju0ow4] { margin-top: 3px; color: #7b879b; font-size: 10px; }
.comparison-pie-grid[b-eexgju0ow4] {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1px;
    background: #edf1f6;
}

.comparison-pie-card[b-eexgju0ow4] {
    min-width: 0;
    background: #fff;
    padding: 14px;
    transition: background-color 160ms ease;
}

.comparison-pie-card:hover[b-eexgju0ow4] { background: #fbfcff; }

.comparison-pie-heading[b-eexgju0ow4] {
    display: flex;
    min-height: 34px;
    align-items: start;
    justify-content: space-between;
    gap: 6px;
}

.comparison-pie-heading h4[b-eexgju0ow4] {
    color: #334155;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.35;
}

.comparison-pie-heading > span[b-eexgju0ow4] {
    flex: 0 0 auto;
    border-radius: 8px;
    background: #f8fafc;
    padding: 2px 5px;
    font-size: 8px;
    font-weight: 700;
}

.comparison-pie-content[b-eexgju0ow4] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-top: 8px;
}

.comparison-pie[b-eexgju0ow4] { position: relative; width: 84px; height: 84px; flex: 0 0 auto; }
.comparison-pie svg[b-eexgju0ow4] { width: 100%; height: 100%; transform: rotate(-90deg); }
.comparison-pie circle[b-eexgju0ow4] { fill: none; stroke-width: 14; }
.donut-track[b-eexgju0ow4] { stroke: #dbeafe; }
.donut-web[b-eexgju0ow4] { stroke: var(--v2-accent); stroke-linecap: round; }
.comparison-pie > div[b-eexgju0ow4] { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.comparison-pie strong[b-eexgju0ow4] { color: #172033; font-size: 15px; letter-spacing: -.04em; }
.comparison-pie span[b-eexgju0ow4] { color: #7b879b; font-size: 7px; font-weight: 700; text-transform: uppercase; }
.comparison-pie-legend[b-eexgju0ow4] { display: grid; gap: 9px; min-width: 0; }
.comparison-pie-legend > div[b-eexgju0ow4] { display: flex; align-items: center; gap: 6px; min-width: 0; }
.comparison-pie-legend p[b-eexgju0ow4] { display: grid; min-width: 0; }
.comparison-pie-legend small[b-eexgju0ow4] { color: #7b879b; font-size: 8px; }
.comparison-pie-legend strong[b-eexgju0ow4] { overflow: hidden; color: #334155; font-size: 10px; font-variant-numeric: tabular-nums; text-overflow: ellipsis; }
.legend-dot[b-eexgju0ow4] { width: 8px; height: 8px; border-radius: 3px; }
.legend-dot.web[b-eexgju0ow4] { background: var(--v2-accent); }
.legend-dot.app[b-eexgju0ow4] { background: #93c5fd; }

.distribution-v2 label[b-eexgju0ow4] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: #475569;
    font-size: 12px;
}

.distribution-v2 input[b-eexgju0ow4],
.distribution-v2 select[b-eexgju0ow4],
.v2-button[b-eexgju0ow4],
.v2-primary-button[b-eexgju0ow4],
.v2-chip[b-eexgju0ow4] {
    min-height: 44px;
    border: 1px solid var(--v2-border-strong);
    border-radius: 8px;
    background: #fff;
    padding: 8px 12px;
    color: #0f172a;
    font-size: 13px;
}

.v2-button[b-eexgju0ow4],
.v2-primary-button[b-eexgju0ow4],
.v2-chip[b-eexgju0ow4] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    transition: background-color 150ms, border-color 150ms, color 150ms;
}

.v2-button:hover[b-eexgju0ow4],
.v2-chip:hover[b-eexgju0ow4] { background: #f1f5f9; }

.v2-primary-button[b-eexgju0ow4] {
    border-color: var(--v2-accent);
    background: var(--v2-accent);
    color: #fff;
}

.v2-primary-button:hover[b-eexgju0ow4] { background: var(--v2-accent-dark); }

.v2-chip-active[b-eexgju0ow4] {
    border-color: var(--v2-accent);
    background: var(--v2-accent-subtle);
    color: var(--v2-accent-dark);
    font-weight: 600;
}

.distribution-v2 :is(button, a, summary, [tabindex="0"]):focus-visible[b-eexgju0ow4] {
    outline: 2px solid var(--v2-accent);
    outline-offset: 2px;
}

.distribution-v2 :is(input, select):focus-visible[b-eexgju0ow4] {
    border-color: var(--v2-accent);
    outline: none;
    box-shadow: none;
}

.distribution-v2 progress[b-eexgju0ow4] {
    overflow: hidden;
    border-radius: 8px;
    accent-color: var(--v2-accent);
}

.time-cell[b-eexgju0ow4],
.birth-cell[b-eexgju0ow4] {
    display: flex;
    min-height: 42px;
    min-width: 48px;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    color: #1e293b;
    font-variant-numeric: tabular-nums;
}

.filter-summary[b-eexgju0ow4] {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #f8fafc;
    padding: 4px 8px;
}

.dashboard-report-loading[b-eexgju0ow4] {
    display: grid;
    min-height: 430px;
    place-items: center;
    border: 1px solid var(--v2-border);
    border-radius: 8px;
    background: var(--v2-surface);
    animation: loading-fade-in-b-eexgju0ow4 140ms ease-out both;
}

.dashboard-loading-card[b-eexgju0ow4] {
    display: flex;
    align-items: center;
    gap: 13px;
    border: 1px solid var(--v2-border-strong);
    border-radius: 8px;
    background: var(--v2-surface);
    padding: 15px 19px;
    box-shadow: 0 4px 10px rgba(23, 32, 51, .08);
}

.dashboard-loading-card div[b-eexgju0ow4] { display: grid; gap: 2px; }
.dashboard-loading-card strong[b-eexgju0ow4] { color: #1e293b; font-size: 12px; }
.dashboard-loading-card small[b-eexgju0ow4] { color: #64748b; font-size: 10px; }

.dashboard-spinner[b-eexgju0ow4] {
    display: inline-block;
    width: 24px;
    height: 24px;
    flex: 0 0 auto;
    border: 3px solid #dbeafe;
    border-top-color: var(--v2-accent);
    border-radius: 50%;
    animation: dashboard-spin-b-eexgju0ow4 .75s linear infinite;
}

.detail-link[b-eexgju0ow4] {
    border: 0;
    background: transparent;
    padding: 0;
    color: inherit;
    text-align: left;
    cursor: pointer;
    transition: color 150ms ease;
}

.detail-link:hover[b-eexgju0ow4] { color: var(--v2-accent); text-decoration: underline; text-underline-offset: 3px; }

.detail-drawer-layer[b-eexgju0ow4] {
    position: fixed;
    z-index: 130;
    inset: 0;
    background: rgba(15, 23, 42, .38);
    animation: loading-fade-in-b-eexgju0ow4 170ms ease-out both;
}

.detail-drawer[b-eexgju0ow4] {
    position: absolute;
    top: 0;
    right: 0;
    width: min(760px, 96vw);
    height: 100%;
    overflow: hidden;
    border-left: 1px solid #dbe3ef;
    background: #f6f8fc;
    box-shadow: -20px 0 60px rgba(15, 23, 42, .18);
    animation: drawer-enter-b-eexgju0ow4 240ms cubic-bezier(.22, .75, .24, 1) both;
}

.detail-drawer-header[b-eexgju0ow4] {
    display: flex;
    min-height: 86px;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    border-bottom: 1px solid #e2e8f0;
    background: #fff;
    padding: 17px 20px;
}

.detail-drawer-header h2[b-eexgju0ow4] { margin-top: 4px; color: #172033; font-size: 18px; font-weight: 760; letter-spacing: -.02em; }
.detail-drawer-header p:last-child[b-eexgju0ow4] { margin-top: 3px; color: #64748b; font-size: 10px; }

.drawer-close[b-eexgju0ow4] {
    display: grid;
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    color: #64748b;
    font-size: 21px;
    line-height: 1;
}

.drawer-close:hover[b-eexgju0ow4] { background: #f1f5f9; color: #0f172a; }

.detail-drawer-body[b-eexgju0ow4] {
    height: calc(100% - 86px);
    overflow-y: auto;
    padding: 16px;
}

.drawer-loading[b-eexgju0ow4] {
    display: flex;
    height: calc(100% - 86px);
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #475569;
    font-size: 12px;
}

.drawer-error[b-eexgju0ow4] {
    margin: 20px;
    border: 1px solid #fecaca;
    border-radius: 8px;
    background: #fff;
    padding: 18px;
    color: #991b1b;
}

.drawer-error p[b-eexgju0ow4] { margin: 5px 0 12px; color: #64748b; font-size: 11px; }

.drawer-section[b-eexgju0ow4] {
    margin-bottom: 13px;
    border: 1px solid #e1e7f0;
    border-radius: 8px;
    background: #fff;
    padding: 14px;
    box-shadow: 0 4px 16px rgba(30, 41, 59, .035);
}

.drawer-section-heading[b-eexgju0ow4] {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.drawer-section-heading span[b-eexgju0ow4] { color: var(--v2-accent); font-size: 8px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.drawer-section-heading h3[b-eexgju0ow4] { margin-top: 2px; color: #253047; font-size: 12px; font-weight: 750; }

.detail-context-grid[b-eexgju0ow4] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.detail-context-grid > div[b-eexgju0ow4] {
    display: grid;
    gap: 3px;
    min-width: 0;
    border-radius: 8px;
    background: #f8fafc;
    padding: 9px;
}

.detail-context-grid small[b-eexgju0ow4] { color: #94a3b8; font-size: 8px; }
.detail-context-grid strong[b-eexgju0ow4] { overflow: hidden; color: #334155; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }

.drawer-kpis[b-eexgju0ow4] {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 7px;
}

.drawer-kpis > div[b-eexgju0ow4] { display: grid; gap: 3px; min-width: 0; border-radius: 8px; background: #f8fafc; padding: 9px; }
.drawer-kpis small[b-eexgju0ow4] { color: #64748b; font-size: 8px; }
.drawer-kpis strong[b-eexgju0ow4] { color: #172033; font-size: 15px; font-variant-numeric: tabular-nums; letter-spacing: -.025em; }
.drawer-kpis span[b-eexgju0ow4] { font-size: 8px; font-weight: 700; }

.drawer-assessment[b-eexgju0ow4] {
    margin-bottom: 13px;
    border: 1px solid #dbeafe;
    border-radius: 8px;
    background: var(--v2-accent-subtle);
    padding: 14px;
}

.drawer-assessment h3[b-eexgju0ow4] { margin-top: 9px; color: #253047; font-size: 12px; font-weight: 750; }
.drawer-assessment p[b-eexgju0ow4] { margin-top: 4px; color: #64748b; font-size: 10px; line-height: 1.55; }

.drawer-toggle[b-eexgju0ow4], .item-view-tabs[b-eexgju0ow4] { display: flex; flex-wrap: wrap; gap: 4px; }
.drawer-toggle button[b-eexgju0ow4], .item-view-tabs button[b-eexgju0ow4] {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    padding: 5px 8px;
    color: #64748b;
    font-size: 9px;
    font-weight: 650;
}

.drawer-toggle button.active[b-eexgju0ow4], .item-view-tabs button.active[b-eexgju0ow4] { border-color: #93c5fd; background: var(--v2-accent-subtle); color: var(--v2-accent-dark); }
.drawer-table-wrap[b-eexgju0ow4] { overflow-x: auto; }
.drawer-table[b-eexgju0ow4] { width: 100%; min-width: 610px; border-collapse: collapse; font-size: 10px; }
.drawer-table th[b-eexgju0ow4] { background: #f8fafc; color: #64748b; font-weight: 700; }
.drawer-table th[b-eexgju0ow4], .drawer-table td[b-eexgju0ow4] { border-bottom: 1px solid #edf1f6; padding: 8px; text-align: right; font-variant-numeric: tabular-nums; }
.drawer-table th:first-child[b-eexgju0ow4], .drawer-table td:first-child[b-eexgju0ow4] { text-align: left; }

.drawer-two-columns[b-eexgju0ow4] { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.drawer-breakdown[b-eexgju0ow4] { display: grid; gap: 9px; }
.drawer-breakdown p[b-eexgju0ow4] { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 3px; font-size: 9px; }
.drawer-breakdown strong[b-eexgju0ow4] { overflow: hidden; color: #334155; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.drawer-breakdown span[b-eexgju0ow4] { flex: 0 0 auto; color: #64748b; font-variant-numeric: tabular-nums; }
.drawer-breakdown progress[b-eexgju0ow4] { display: block; width: 100%; height: 5px; }

.item-view-tabs[b-eexgju0ow4] { margin-bottom: 10px; }
.detail-item-list[b-eexgju0ow4] { display: grid; gap: 5px; }
.detail-item-row[b-eexgju0ow4] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    border: 1px solid #edf1f6;
    border-radius: 8px;
    background: #fbfcfe;
    padding: 8px 9px;
    text-align: left;
}

.detail-item-row:hover[b-eexgju0ow4] { border-color: #93c5fd; background: var(--v2-accent-subtle); }
.detail-item-row > span[b-eexgju0ow4] { display: grid; gap: 2px; min-width: 0; }
.detail-item-row > span:last-child[b-eexgju0ow4] { flex: 0 0 auto; text-align: right; }
.detail-item-row strong[b-eexgju0ow4] { overflow: hidden; color: #334155; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.detail-item-row small[b-eexgju0ow4] { color: #7b879b; font-size: 8px; }
.detail-item-row .status-badge[b-eexgju0ow4] { padding: 1px 5px; font-size: 7px; }
.drawer-empty[b-eexgju0ow4] { border-radius: 8px; background: #f8fafc; padding: 12px; color: #64748b; font-size: 10px; text-align: center; }

.birth-cell[b-eexgju0ow4] {
    min-width: 88px;
    flex-direction: column;
    padding: 6px;
}

.v2-heat-0[b-eexgju0ow4] { background: #f8fafc; }
.v2-heat-1[b-eexgju0ow4] { background: #eff6ff; }
.v2-heat-2[b-eexgju0ow4] { background: #dbeafe; }
.v2-heat-3[b-eexgju0ow4] { background: #bfdbfe; }
.v2-heat-4[b-eexgju0ow4] { background: #93c5fd; }
.v2-heat-5[b-eexgju0ow4] { background: #60a5fa; color: #172033; border-color: #2563eb; }

.status-badge[b-eexgju0ow4] {
    display: inline-flex;
    align-items: center;
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 3px 8px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

.status-good[b-eexgju0ow4] { border-color: #bbf7d0; background: #f0fdf4; color: #166534; }
.status-bad[b-eexgju0ow4] { border-color: #fecaca; background: #fef2f2; color: #991b1b; }
.status-neutral[b-eexgju0ow4] { border-color: #fde68a; background: #fffbeb; color: #92400e; }
.status-info[b-eexgju0ow4] { border-color: #bae6fd; background: #f0f9ff; color: #075985; }
.status-muted[b-eexgju0ow4] { border-color: #e2e8f0; background: #f8fafc; color: #475569; }

@media (max-width: 640px) {
    .distribution-v2 input[b-eexgju0ow4],
    .distribution-v2 select[b-eexgju0ow4] { font-size: 16px; }

    .device-switcher[b-eexgju0ow4] { width: 100%; }
    .device-switcher > div[b-eexgju0ow4] { display: grid; grid-template-columns: repeat(3, 1fr); }
    .device-tab[b-eexgju0ow4] { min-width: 0; padding-inline: 10px; }
    .kpi-dashboard-grid[b-eexgju0ow4] { grid-template-columns: 1fr; }
    .comparison-pie-grid[b-eexgju0ow4] { grid-template-columns: 1fr; gap: 1px; }
    .comparison-pie-card[b-eexgju0ow4] { display: grid; grid-template-columns: minmax(120px, 1fr) auto; align-items: center; }
    .comparison-pie-content[b-eexgju0ow4] { margin-top: 0; }
    .report-context .ml-auto[b-eexgju0ow4] { margin-left: 0; }
    .detail-drawer[b-eexgju0ow4] { width: 100vw; }
    .detail-context-grid[b-eexgju0ow4] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .drawer-kpis[b-eexgju0ow4] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .drawer-two-columns[b-eexgju0ow4] { grid-template-columns: 1fr; gap: 0; }
}

@media (min-width: 641px) and (max-width: 1023px) {
    .kpi-dashboard-grid[b-eexgju0ow4] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .comparison-pie-grid[b-eexgju0ow4] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) and (max-width: 1279px) {
    .kpi-dashboard-grid[b-eexgju0ow4] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .comparison-pie-grid[b-eexgju0ow4] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@keyframes metric-enter-b-eexgju0ow4 {
    from { opacity: 0; transform: translateY(10px) scale(.985); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes live-pulse-b-eexgju0ow4 {
    70% { box-shadow: 0 0 0 7px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

@keyframes dashboard-spin-b-eexgju0ow4 { to { transform: rotate(360deg); } }
@keyframes loading-fade-in-b-eexgju0ow4 { from { opacity: 0; } to { opacity: 1; } }
@keyframes drawer-enter-b-eexgju0ow4 { from { opacity: .75; transform: translateX(28px); } to { opacity: 1; transform: translateX(0); } }

@media (prefers-reduced-motion: reduce) {
    .v2-button[b-eexgju0ow4],
    .v2-primary-button[b-eexgju0ow4],
    .v2-chip[b-eexgju0ow4],
    .device-tab[b-eexgju0ow4],
    .metric-card[b-eexgju0ow4],
    .dashboard-backlink[b-eexgju0ow4] { transition: none; }

    .metric-card[b-eexgju0ow4],
    .live-badge span[b-eexgju0ow4],
    .dashboard-spinner[b-eexgju0ow4],
    .dashboard-report-loading[b-eexgju0ow4],
    .detail-drawer-layer[b-eexgju0ow4],
    .detail-drawer[b-eexgju0ow4] { animation: none; }
}
/* /Components/Pages/UiTemplates/AutoGenerateExam/PracticeDashboardV2.razor.rz.scp.css */
/* This page uses the explicitly requested 24px title over the shared 14px scale. */
.practice-dashboard h1.practice-page-title[b-v9l3ddpe1f] {
    font-size: 24px;
    line-height: 32px;
}
/* /Components/Pages/UiTemplates/AutoGenerateExam/PracticeStudentReport.razor.rz.scp.css */
.topic-progress[b-k4wp314j88] {
    display: block;
    overflow: hidden;
    border: 0;
    border-radius: 8px;
    background: var(--surface-subtle);
    color: var(--accent);
    accent-color: var(--accent);
}

.topic-progress[b-k4wp314j88]::-webkit-progress-bar {
    background: var(--surface-subtle);
    border-radius: 8px;
}

.topic-progress[b-k4wp314j88]::-webkit-progress-value {
    background: var(--accent);
    border-radius: 8px;
}

.topic-progress[b-k4wp314j88]::-moz-progress-bar {
    background: var(--accent);
    border-radius: 8px;
}
/* /Components/Pages/UiTemplates/AutoGenerateExam/SuggestedExamsDialog.razor.rz.scp.css */
.suggestions-dialog[b-b16riwt5z6] {
    width: min(900px, calc(100% - 32px));
    max-height: 85dvh;
    margin: auto;
    padding: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.suggestions-dialog[b-b16riwt5z6]::backdrop {
    background: rgb(23 32 51 / 40%);
}
/* /Components/Pages/UiTemplates/MatrixBuilder/MatrixGenerationV2.razor.rz.scp.css */
.copy-dialog[b-5rrbp4ntzh] {
    width: min(64rem, calc(100vw - 2rem));
    max-width: 64rem;
}

.copy-dialog[b-5rrbp4ntzh]::backdrop {
    background: rgb(23 32 51 / 45%);
}
/* /Components/Pages/UiTemplates/StudentReport/StudentSubjectReport.razor.rz.scp.css */
/* ── Report Page ─────────────────────────────────────────── */
.report-page[b-olcv7oekqu] {
    scroll-behavior: smooth;
}

/* ── KPI Cards ───────────────────────────────────────────── */
.kpi-card[b-olcv7oekqu] {
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.kpi-card:hover[b-olcv7oekqu] {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
}

/* ── Schedule heatmap ────────────────────────────────────── */
.schedule-board[b-olcv7oekqu] {
    display: grid;
    grid-template-columns: 56px repeat(7, minmax(0, 1fr));
    gap: 0.5rem;
    align-items: center;
}

.schedule-header[b-olcv7oekqu],
.schedule-time[b-olcv7oekqu] {
    min-height: 1.5rem;
}

.schedule-cell[b-olcv7oekqu] {
    height: 2.25rem;
    border-radius: 0.85rem;
    border: 1px solid rgba(148, 163, 184, 0.18);
}

.schedule-cell--0[b-olcv7oekqu] {
    background: #f8fafc;
}

.schedule-cell--1[b-olcv7oekqu] {
    background: #dbeafe;
}

.schedule-cell--2[b-olcv7oekqu] {
    background: #93c5fd;
}

.schedule-cell--3[b-olcv7oekqu] {
    background: #60a5fa;
}

.schedule-cell--4[b-olcv7oekqu] {
    background: #2563eb;
}

/* ── Distribution ring ───────────────────────────────────── */
.distribution-ring[b-olcv7oekqu] {
    position: relative;
    display: flex;
    height: 220px;
    width: 220px;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
}

.distribution-ring__center[b-olcv7oekqu] {
    display: flex;
    height: 132px;
    width: 132px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    background: white;
    box-shadow: inset 0 0 0 1px rgba(226, 232, 240, 1);
}

/* ── Responsive tweaks ───────────────────────────────────── */
@media (max-width: 640px) {
    .kpi-card[b-olcv7oekqu] {
        padding: 0.75rem;
    }

    .schedule-board[b-olcv7oekqu] {
        gap: 0.35rem;
    }

    .schedule-cell[b-olcv7oekqu] {
        height: 1.85rem;
        border-radius: 0.7rem;
    }

    .distribution-ring[b-olcv7oekqu] {
        height: 188px;
        width: 188px;
    }

    .distribution-ring__center[b-olcv7oekqu] {
        height: 112px;
        width: 112px;
    }
}
