@import '_content/Bth.Common.Razor/Bth.Common.Razor.1giuxl0n2s.bundle.scp.css';

/* /Pages/Database/DatabasePage.razor.rz.scp.css */
.database-page[b-ivm3865glr] {
    max-width: 48rem;
    overflow-wrap: anywhere;
}

.database-reset[b-ivm3865glr] {
    margin: 3rem 0 2rem;
}
/* /Pages/Home/HomePage.razor.rz.scp.css */

/* /Pages/ProgrammeAssessment/Components/AiCourseSelection.razor.rz.scp.css */
.courses-list[b-kbgc9sg41n] {
    margin-top: 0.25rem;
}

.courses-item[b-kbgc9sg41n] {
    margin-bottom: 0.6rem;
}

.courses-item-name[b-kbgc9sg41n] {
    font-family: 'averta-bold', 'open-sans-bold', sans-serif;
    font-size: 0.875rem;
    color: #333;
}

.courses-item-code[b-kbgc9sg41n] {
    font-size: 0.875rem;
}

.courses-item-error[b-kbgc9sg41n] {
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: #b00020;
}

.courses-ai-warning[b-kbgc9sg41n] {
    color: #055064;
    font-size: 0.875rem;
}

.courses-ai-note[b-kbgc9sg41n] {
    margin-top: 1.5rem;
    padding: 0.6rem 0.75rem;
    background: #f7f2ef;
    border-radius: 0.25rem;
    font-size: 0.8rem;
    color: #555;
}

/* /Pages/ProgrammeAssessment/Components/AssessmentCell.razor.rz.scp.css */
.assessment-cell[b-xd4fsspgem] {
    box-sizing: border-box;
    padding: 0.4rem 0.5rem;
    color: #333;
    font-size: 0.875rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    position: relative;
    outline: none;
}

.cell-inactive[b-xd4fsspgem] {
    color: #aaa;
}

/* Fades the cell content only (buttons have their own colors, so color alone doesn't grey them
   out) - the selection border is a ::before pseudo-element and stays at full strength. */
.cell-inactive > *[b-xd4fsspgem] {
    opacity: 0.4;
}

.course-column-selected[b-xd4fsspgem] {
    border-left: 2px dashed #61BBC5;
    border-right: 2px dashed #61BBC5;
}

.cell-selected[b-xd4fsspgem] {
    background: white;
    z-index: 3;
}

.cell-selected[b-xd4fsspgem]::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 3px solid #61BBC5;
    pointer-events: none;
    z-index: 4;
}

/* ::after (not ::before, which is the selection border) so both can show at once - drawn on top
   of the selection border so a failed cell stays visibly red while selected. */
.cell-ladok-error[b-xd4fsspgem]::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid #e63946;
    pointer-events: none;
    z-index: 5;
}

.cell-comment-icon[b-xd4fsspgem] {
    position: absolute;
    right: 0.3rem;
    top: 0.25rem;
    font-size: 0.6rem;
    color: #61BBC5 !important;
    cursor: pointer;
    z-index: 5;
}

.cell-new-email-dot[b-xd4fsspgem] {
    position: absolute;
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 50%;
    background: #e63946;
    left: 0.35rem;
    top: calc(50% + 0.625rem);
    pointer-events: none;
}

.none-actions[b-xd4fsspgem] {
    display: flex;
    gap: 0.4rem;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.none-action-ok[b-xd4fsspgem],
.none-action-reject[b-xd4fsspgem] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    font-size: 1.6rem;
    color: #bbb !important;
    cursor: pointer;
}

.cell-selected .none-action-ok:hover[b-xd4fsspgem] {
    color: #3a9c70 !important;
}

.cell-selected .none-action-reject:hover[b-xd4fsspgem] {
    color: #555 !important;
}

.quick-btn[b-xd4fsspgem] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.25rem;
    width: 1.5rem;
    height: 1.5rem;
    font-size: 0.8125rem;
    color: white !important;
}

.quick-btn-ok[b-xd4fsspgem] {
    background: #3a9c70;
}

.quick-btn-reject[b-xd4fsspgem] {
    background: #555;
}

.quick-btn i[b-xd4fsspgem] {
    color: white !important;
}

.commit-btn-group[b-xd4fsspgem] {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    width: 100%;
    align-items: center;
}

.commit-btn[b-xd4fsspgem] {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.25rem;
    font-family: 'averta-bold', 'open-sans-bold', sans-serif;
    font-size: 0.75rem;
    height: 1.5rem;
    width: 77%;
    line-height: 1;
}

.commit-btn-ok[b-xd4fsspgem] {
    background: #3a9c70;
    color: white !important;
}

.commit-btn-obh[b-xd4fsspgem] {
    background: #555;
    color: white !important;
}

.commit-btn-email[b-xd4fsspgem] {
    background: white;
    color: #333 !important;
    border: 1px solid #333;
    cursor: pointer;
}

.commit-btn-email-off[b-xd4fsspgem] {
    color: #bbb !important;
    border-color: #ccc;
    position: relative;
    overflow: hidden;
}

.commit-btn-email-off[b-xd4fsspgem]::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top right,
        transparent calc(50% - 0.75px),
        #aaa calc(50% - 0.75px),
        #aaa calc(50% + 0.75px),
        transparent calc(50% + 0.75px));
    pointer-events: none;
}

.commit-btn-email-sent[b-xd4fsspgem] {
    background: #555;
    color: white !important;
    border-color: #555;
}

/* RemovedFromLadok (DEL): the OBH badge in mid grey to tell it apart from a regular OBH. The email button looks like a regular OBH's. */
.commit-btn-removed[b-xd4fsspgem] {
    background: #999;
    border-color: #999;
}

.symbol-none[b-xd4fsspgem] {
    color: #bbb;
    font-size: 1.4rem;
}
/* /Pages/ProgrammeAssessment/Components/CourseCodeList.razor.rz.scp.css */
/* Small bold codes between the row's name and its points. Five codes + "Visa fler" fit on one row of the side panel. */
.course-code-list[b-ri0b9l20v2] {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    column-gap: 0.5rem;
    color: #333;
}

/* The size is set on the code and the link themselves (not only on the container) so that no inherited or
   global span/a rule can make them larger. */
.course-code[b-ri0b9l20v2] {
    font-family: 'averta-bold', 'open-sans-bold', sans-serif;
    font-size: 0.8rem;
}

.course-code-show-more[b-ri0b9l20v2] {
    color: #055064;
    font-family: 'averta-bold', 'open-sans-bold', sans-serif;
    font-size: 0.8rem;
    text-decoration: none;
}

.course-code-show-more:hover[b-ri0b9l20v2] {
    text-decoration: underline;
}
/* /Pages/ProgrammeAssessment/Components/CourseGroups.razor.rz.scp.css */
.courses-group-heading[b-ixr9amlx1k] {
    color: #055064;
    font-size: 1.0625rem;
    font-family: 'averta-bold', 'open-sans-bold', sans-serif;
    margin-top: 0.85rem;
    margin-bottom: 0;
}

.courses-group-heading:first-child[b-ixr9amlx1k] {
    margin-top: 0;
}

.courses-item[b-ixr9amlx1k] {
    margin-bottom: 0.6rem;
}

.courses-item-name[b-ixr9amlx1k] {
    font-family: 'averta-bold', 'open-sans-bold', sans-serif;
    font-size: 0.875rem;
    color: #333;
}

.courses-item-code[b-ixr9amlx1k] {
    font-size: 0.875rem;
}

.courses-item-approved[b-ixr9amlx1k] {
    margin-left: 0.35rem;
}
/* /Pages/ProgrammeAssessment/Components/CoursesTab.razor.rz.scp.css */
.courses-empty[b-4qi8z2dtgu] {
    color: #888;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.courses-toggle[b-4qi8z2dtgu] {
    display: flex;
    gap: 0.4rem;
    margin: 0.6rem 0 0.85rem;
}

.courses-toggle-btn[b-4qi8z2dtgu] {
    padding: 0.3rem 0.6rem;
    font-size: 0.8rem;
    border: 1px solid #333;
    border-radius: 0.25rem;
    background: white;
    color: #333;
    cursor: pointer;
    line-height: 1.3;
}

.courses-toggle-btn.active[b-4qi8z2dtgu] {
    background: #333;
    color: white;
    position: relative;
}

.courses-toggle-btn.active[b-4qi8z2dtgu]::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: #000;
}

.courses-ai-refresh[b-4qi8z2dtgu] {
    align-self: center;
    padding: 0.2rem 0.3rem;
    border: none;
    background: none;
    cursor: pointer;
    line-height: 1;
}

/* !important: global bth-color.css otherwise overrides Font Awesome icon colours. */
.courses-ai-refresh i[b-4qi8z2dtgu] {
    color: #055064 !important;
    font-size: 1rem;
}

.courses-ai-refresh:hover i[b-4qi8z2dtgu] {
    color: #7bbcc2 !important;
}

.courses-list[b-4qi8z2dtgu] {
    margin-top: 0.25rem;
}
/* /Pages/ProgrammeAssessment/Components/CourseStatistics.razor.rz.scp.css */
.courses-empty[b-j16fb0124s] {
    color: #888;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.stat-section-heading[b-j16fb0124s] {
    color: #055064;
    font-family: 'averta-bold', 'open-sans-bold', sans-serif;
    font-size: 1.0625rem;
    margin-top: 0.75rem;
    margin-bottom: 0.35rem;
}

.stat-section-heading-prog[b-j16fb0124s] {
    margin-top: 1.25rem;
}

.stat-field-item[b-j16fb0124s] {
    margin-bottom: 0.6rem;
}

.stat-field-name[b-j16fb0124s] {
    font-family: 'averta-bold', 'open-sans-bold', sans-serif;
    font-size: 1rem;
}

.stat-field-points[b-j16fb0124s] {
    font-size: 1rem;
}

.stat-prog-label[b-j16fb0124s] {
    font-family: 'averta-bold', 'open-sans-bold', sans-serif;
    font-size: 1rem;
    margin-bottom: 0.1rem;
}

.stat-prog-value[b-j16fb0124s] {
    font-size: 1rem;
}
/* /Pages/ProgrammeAssessment/Components/EmailDialog.razor.rz.scp.css */
/* ── Overlay ────────────────────────────────────────────────────── */

.email-overlay[b-ux0flz3pnm] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ── Dialog box ─────────────────────────────────────────────────── */

.email-dialog[b-ux0flz3pnm] {
    /* resize: both lets the user drag the bottom-right corner to resize; it requires
       overflow: auto to work. z-index of the parent .email-overlay (1000) sits above
       the save-bar (300) and side-panel (110) on AssessmentsPage. */
    background: white;
    width: 49rem;
    height: 86vh;
    min-width: 28rem;
    min-height: 20rem;
    border-radius: 0.25rem;
    box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    overflow: auto;
    resize: both;
}

/* ── Header ─────────────────────────────────────────────────────── */

.email-header[b-ux0flz3pnm] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem 0.1rem 1.5rem;
    flex-shrink: 0;
}

/* First row: student name (bold) | course | term | LP | Obligatorisk/Valbar. */
.email-header-left[b-ux0flz3pnm] {
    font-size: 1.125rem;
    color: #333;
}

.email-header-name[b-ux0flz3pnm] {
    font-family: 'averta-bold', 'open-sans-bold', sans-serif;
    font-size: 1.25rem;
}

/* The dialog is focusable (tabindex="-1") only so Esc can close it - no focus outline. */
.email-dialog:focus[b-ux0flz3pnm] {
    outline: none;
}

.email-header-close[b-ux0flz3pnm] {
    font-size: 1.1rem;
    text-decoration: none;
    margin-left: 1rem;
    line-height: 1;
}

/* !important: global bth-color.css otherwise overrides Font Awesome icon colours. */
.email-header-close i[b-ux0flz3pnm] {
    color: #666 !important;
}

.email-header-close:hover i[b-ux0flz3pnm] {
    color: #333 !important;
}

/* ── Footer ─────────────────────────────────────────────────────── */

.email-footer[b-ux0flz3pnm] {
    flex-shrink: 0;
    padding: 0.4rem 1.5rem 0.875rem 1.5rem;
}

.email-footer-close[b-ux0flz3pnm] {
    color: #055064;
    font-family: 'averta-bold', 'open-sans-bold', sans-serif;
    font-size: 1rem;
    text-decoration: none;
}

.email-footer-close:hover[b-ux0flz3pnm] {
    text-decoration: underline;
}

/* ── Subheader ──────────────────────────────────────────────────── */

/* Second row: student email | SSN, smaller and regular weight. */
.email-subheader[b-ux0flz3pnm] {
    display: flex;
    align-items: baseline;
    padding: 0 1.5rem 0.875rem 1.5rem;
    font-size: 0.875rem;
    color: #333;
    flex-shrink: 0;
}

.email-subheader-separator[b-ux0flz3pnm] {
    padding: 0 0.3rem;
}

/* ── Compose area ───────────────────────────────────────────────── */

.email-compose-area[b-ux0flz3pnm] {
    margin: 0 1.5rem 0.875rem 1.5rem;
    border: 1px solid #ccc;
    border-radius: 0.25rem;
    flex-shrink: 0;
}

.email-compose-input[b-ux0flz3pnm] {
    display: block;
    width: 100%;
    height: 7rem;
    border: none;
    resize: none;
    padding: 0.5rem;
    font-size: 1rem;
    outline: none;
    font-family: 'averta-regular', 'open-sans-regular', sans-serif;
    color: #333;
    box-sizing: border-box;
}

.email-compose-footer[b-ux0flz3pnm] {
    display: flex;
    justify-content: flex-end;
    padding: 0.3rem 0.5rem;
}

.email-compose-send[b-ux0flz3pnm] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #055064;
    font-family: 'averta-bold', 'open-sans-bold', sans-serif;
    font-size: 1rem;
    text-decoration: none;
}

.email-compose-send:hover[b-ux0flz3pnm] {
    text-decoration: underline;
}

.email-compose-send-disabled[b-ux0flz3pnm] {
    color: #bbb;
    pointer-events: none;
    cursor: default;
}

/* inherit: the spinner always gets the same colour as the link text.
   !important: global bth-color.css otherwise overrides Font Awesome icon colours. */
.email-compose-send i[b-ux0flz3pnm] {
    color: inherit !important;
}

/* ── Email thread ───────────────────────────────────────────────── */

.email-thread[b-ux0flz3pnm] {
    /* min-height: 0 is required for overflow-y: auto to actually work inside a flex container. */
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    margin: 0 1.5rem 0 1.5rem;
    border: 1px solid #ccc;
    border-radius: 0.25rem;
    padding: 0.15rem 0.75rem 0.75rem 0.75rem;
}

.email-thread-status[b-ux0flz3pnm] {
    font-size: 0.875rem;
    color: #888;
    padding: 0.5rem 0;
}

.email-thread-loading[b-ux0flz3pnm] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* !important: global bth-color.css otherwise overrides Font Awesome icon colours. */
.email-thread-loading i[b-ux0flz3pnm] {
    color: #888 !important;
}

.email-item[b-ux0flz3pnm] {
    padding: 0.5rem 0;
}

.email-item-meta[b-ux0flz3pnm] {
    font-size: 0.8rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

.email-item-from[b-ux0flz3pnm] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-family: 'averta-bold', 'open-sans-bold', sans-serif;
    font-size: 0.95rem;
    color: #055064;
    overflow-wrap: anywhere;
}

/* Same red dot as the cell's .cell-new-email-dot (AssessmentCell). */
.email-item-new-dot[b-ux0flz3pnm] {
    flex-shrink: 0;
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 50%;
    background: #e63946;
}

.email-item-content[b-ux0flz3pnm] {
    font-size: 1rem;
    color: #333;
    line-height: 1.5;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

[b-ux0flz3pnm] .email-item-content * {
    font-size: 1rem !important;
}

/* Links in the email body look like in Outlook (underlined, regular weight) - deliberately not the app's bold link pattern.
   !important wins over the global BTH CSS on <a>. */
.email-item-link[b-ux0flz3pnm] {
    color: #055064 !important;
    text-decoration: underline !important;
}

.email-thread-divider[b-ux0flz3pnm] {
    border: none;
    border-top: 1px solid #ddd;
    margin: 0.25rem 0;
}
/* /Pages/ProgrammeAssessment/Components/HelpDialog.razor.rz.scp.css */
.help-dialog-host:focus[b-9mlhv5ki33] {
    outline: none;
}

/* Wider than Bootstrap's default 500px modal - the help text is long. Fixed height from 4rem below the top
   to 4rem above the bottom: header and OK stay put, only the text (.modal-body) scrolls. */
.help-dialog-host[b-9mlhv5ki33]  .modal-dialog {
    max-width: 40rem;
    margin-top: 4rem;
    margin-bottom: 0;
}

.help-dialog-host[b-9mlhv5ki33]  .modal-content {
    max-height: calc(100vh - 8rem);
}

/* The end line sits visually midway between the text and OK: 2.5rem above it (its margin) and 1.5rem footer padding
   below - Bootstrap adds a margin around the button, so equal values left the line too high. */
.help-dialog-host[b-9mlhv5ki33]  .modal-footer {
    padding-top: 1.5rem;
}

.help-dialog-host[b-9mlhv5ki33]  .modal-body {
    padding-bottom: 0;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
}

/* The content is rendered inside BthConfirm's <p>, so it is built from spans shown as blocks. */
.help-dialog[b-9mlhv5ki33] {
    display: block;
    color: #333;
    font-size: 0.9rem;
    line-height: 1.5;
}

.help-section-title[b-9mlhv5ki33] {
    display: block;
    font-family: 'averta-bold', 'open-sans-bold', sans-serif;
    font-size: 1rem;
    color: #055064;
    margin: 1rem 0 0.25rem 0;
}

.help-section-title:first-child[b-9mlhv5ki33] {
    margin-top: 0;
}

.help-text[b-9mlhv5ki33] {
    display: block;
}

/* Thin grey line after the last section - it's part of the scrolling text, so it only shows when scrolled to the end. */
.help-end-line[b-9mlhv5ki33] {
    display: block;
    border-top: 1px solid #ddd;
    margin-top: 2.5rem;
}

.help-list[b-9mlhv5ki33] {
    margin: 0;
    padding-left: 1.25rem;
}
/* /Pages/ProgrammeAssessment/Components/StudentCoursesFrame.razor.rz.scp.css */
.courses-empty[b-ljug8yu972] {
    color: #888;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.courses-loading[b-ljug8yu972] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #888;
    font-size: 0.875rem;
    margin-top: 0.75rem;
}

/* !important: global bth-color.css otherwise overrides Font Awesome icon colours. */
.courses-loading i[b-ljug8yu972] {
    color: #888 !important;
}
/* /Pages/ProgrammeAssessment/Components/StudentHeading.razor.rz.scp.css */
.comment-student-ssn[b-bjuppb9vs4] {
    display: inline-block;
    color: #055064;
    font-family: 'averta-bold', 'open-sans-bold', sans-serif;
    font-size: 1rem;
    text-decoration: none;
    margin-bottom: 0.1rem;
}

.comment-student-ssn:hover[b-bjuppb9vs4] {
    text-decoration: underline;
}

.comment-student-name[b-bjuppb9vs4] {
    font-size: 0.875rem;
    color: #555;
    margin-bottom: 0.75rem;
}
/* /Pages/ProgrammeAssessment/ProgrammeAssessmentPage.razor.rz.scp.css */
/* ── Page layout ──────────────────────────────────────────────── */

.filter-remove-icon[b-wzfczwapcu] {
    color: #e63946 !important;
    font-size: 0.75rem;
}

.assessment-layout[b-wzfczwapcu] {
    display: flex;
    align-items: flex-start;
}

/* Shrinks the side panel from below (set by registerPanelFit in ProgrammeAssessmentPage.razor.js) so its tabs stay at the top of the
   viewport instead of being pushed up when the end of the layout scrolls into view. */
.assessment-layout[b-wzfczwapcu]  .bth-sticky-tab-panel {
    max-height: var(--luka-panel-max-height, none);
}

/* The min-height matches the side panel's full height (100vh - 2.75rem, minus its -2rem margin-top), so the
   layout keeps the same height when registerPanelFit shrinks the panel - otherwise a short table would
   shrink with it on every scroll. */
.content-area[b-wzfczwapcu] {
    flex: 1;
    min-width: 0;
    min-height: calc(100vh - 4.75rem);
}

/* ── Sticky top section (page header + table header) ─────────── */

.sticky-top-section[b-wzfczwapcu] {
    position: sticky;
    top: 0;
    z-index: 100;
    background: white;
    margin-left: -2rem;
}

.page-header[b-wzfczwapcu] {
    padding: 0.1rem 0.75rem 0.5rem 1.5rem;
    min-height: 8rem;
    margin-top: -2rem;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 1.5rem;
}

.header-left[b-wzfczwapcu] {
    display: flex;
    flex-direction: column;
    /* min-width matches the first course column's width so .header-course-info left-aligns with it. */
    min-width: 21.625rem;
}

.back-link[b-wzfczwapcu] {
    color: #055064;
    font-family: 'averta-bold', 'open-sans-bold', sans-serif;
    font-size: 1rem;
    text-decoration: underline;
}

/* Global bth-color.css overrides Font Awesome icon color - needs !important to win. */
.back-link i[b-wzfczwapcu] {
    color: #055064 !important;
}

.badges[b-wzfczwapcu] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.4rem 0 0.35rem;
}

.badge[b-wzfczwapcu] {
    display: inline-flex;
    align-items: center;
    height: 1.5rem;
    background: #f7f2ef;
    color: #055064;
    font-family: 'averta-bold', 'open-sans-bold', sans-serif;
    font-size: 0.75rem;
    padding: 0 0.6rem;
    border-radius: 0.25rem;
}

.programme-title[b-wzfczwapcu] {
    font-family: 'averta-bold', 'open-sans-bold', sans-serif;
    font-size: 1rem;
    line-height: 1.2;
    color: #333;
}

.course-filter-badges[b-wzfczwapcu] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    margin-top: 0.4rem;
}

.course-filter-badge[b-wzfczwapcu] {
    display: inline-flex;
    align-items: center;
    height: 1.5rem;
    background: #555;
    color: white;
    font-family: 'averta-bold', 'open-sans-bold', sans-serif;
    font-size: 0.75rem;
    padding: 0 0.5rem;
    border-radius: 0.25rem;
    cursor: pointer;
    user-select: none;
}

.course-filter-badge-hidden[b-wzfczwapcu] {
    background: white;
    color: #999;
    border: 1px solid #ccc;
}

.programme-subtitle[b-wzfczwapcu] {
    font-size: 0.875rem;
    line-height: 1.2;
    color: #555;
}

.header-links[b-wzfczwapcu] {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    justify-content: flex-start;
    padding-top: 0.75rem;
    margin-left: 0.5rem;
    /* Always as tall as six links (padding + 6 lines + 5 gaps), so the table below doesn't jump
       when the contextual links (Lås upp, Sätt till behörig...) appear or disappear. */
    min-height: calc(0.75rem + 8 * 0.9rem * 1.5 + 7 * 0.1rem);
}

.header-link[b-wzfczwapcu] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: #055064;
    font-family: 'averta-bold', 'open-sans-bold', sans-serif;
    text-decoration: none;
    font-size: 0.9rem;
    line-height: 1.5; /* fixed so .header-links' min-height calc matches the real link height */
    white-space: nowrap;
}

.header-link i[b-wzfczwapcu] {
    color: #055064 !important;
}

.header-link-icon-green[b-wzfczwapcu] {
    color: #3a9c70 !important;
}
.header-link span[b-wzfczwapcu] {
    font-size: 0.9rem !important;
    text-decoration: none !important;
}

.header-link:hover span[b-wzfczwapcu] {
    text-decoration: underline !important;
}

/* Help link (administrators only) - top right of the header, aligned with the first header link. */
.help-link[b-wzfczwapcu] {
    margin-left: auto;
    align-self: flex-start;
    /* 0.1rem less than .header-links: Hjälp is 1rem (line 1.5rem) and the header links 0.9rem (line 1.35rem), so
       with the same padding Hjälp's baseline ends up ~0.1rem lower than "Visa kommentar på programtillfälle". */
    padding-top: 0.65rem;
    color: #055064;
    font-family: 'averta-bold', 'open-sans-bold', sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    text-decoration: none;
    white-space: nowrap;
}

.help-link:hover[b-wzfczwapcu] {
    text-decoration: underline;
}

.header-course-info[b-wzfczwapcu] {
    border: 2px solid #ddd5cf;
    border-radius: 0.375rem;
    padding: 0.625rem 0.875rem;
    width: 28rem;
    flex-shrink: 0;
    margin: 0.35rem 0;
    min-height: 8rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.course-info-title[b-wzfczwapcu] {
    font-family: 'averta-bold', 'open-sans-bold', sans-serif;
    color: #055064;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.course-info-prereq[b-wzfczwapcu] {
    font-size: 1rem;
    color: #055064;
    line-height: 1.4;
}

/* margin-top: auto pushes the exemption to the bottom of the box. */
.course-info-exemption-section[b-wzfczwapcu] {
    margin-top: auto;
    padding-top: 0.75rem;
}

.course-info-exemption-section .course-info-title[b-wzfczwapcu] {
    margin-bottom: 0;
    font-style: italic;
    color: #444;
}

.course-info-exemption-section .course-info-prereq[b-wzfczwapcu] {
    color: #333;
}

/* ── Table header row ────────────────────────────────────────── */

.assessment-grid[b-wzfczwapcu] {
    display: grid;
    grid-template-columns: 10.5rem 9rem 4.5rem;
    grid-auto-flow: column;
    grid-auto-columns: 5.6rem;
}

/* When every course column is hidden, the header keeps its height through invisible
   .course-th-placeholder copies of the columns - min-height is only a fallback without any courses. */
.table-header[b-wzfczwapcu] {
    background: #055064;
    padding: 0 0.25rem 0 1rem;
    min-height: 4.5rem;
}

.course-th-placeholder[b-wzfczwapcu] {
    visibility: hidden;
    pointer-events: none;
}

.th[b-wzfczwapcu] {
    color: white;
    font-family: 'averta-bold', 'open-sans-bold', sans-serif;
    font-size: 0.8125rem;
    padding: 0.25rem 0.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.course-th[b-wzfczwapcu] {
    cursor: pointer;
    align-items: center; /* .th is a flex column - centers the course code and the points/LP line */
    text-align: center;  /* centers each wrapped line of .col-lp too */
}

.course-th-selected[b-wzfczwapcu] {
    background: #61BBC5;
    box-shadow: inset 2px 0 0 rgba(255, 255, 255, 0.5), inset -2px 0 0 rgba(255, 255, 255, 0.5);
}

/* Course code is a link (to plan.bth.se) - keep the plain white header look at rest. Like the cell
   icons it only works once its header has been clicked (armed), so the hover underline is only shown then. */
.course-code-link[b-wzfczwapcu] {
    color: white;
    text-decoration: none;
    cursor: pointer;
}

.course-th-armed .course-code-link:hover[b-wzfczwapcu] {
    text-decoration: underline;
}


.sort-link[b-wzfczwapcu] {
    color: white;
    text-decoration: none !important;
    cursor: pointer;
    white-space: nowrap;
}

.sort-link .sort-label[b-wzfczwapcu] {
    text-decoration: underline !important;
}

.sort-icon[b-wzfczwapcu] {
    /* Same fa-sort icon (single glyph, no direction) BthTableColumn uses for its
       sorted-column indicator — kept consistent with that pattern here too. */
    margin-left: 0.3rem;
    position: relative;
    top: 1px;
    color: white !important;
}

.col-lp[b-wzfczwapcu] {
    font-family: 'averta-regular', 'open-sans-regular', sans-serif;
    font-size: 0.75rem;
    text-decoration: none;
}

/* ── Kommentar column (last, administrators only) ── */
/* With the Kommentar column the grid has explicit columns: the fixed ones, one 5.6rem column per visible course
   (--luka-course-columns, set on .table-header/.table-body) and Kommentar filling the rest of the width.
   repeat() with zero columns is invalid, so no visible course columns has its own rule. */
.assessment-grid.with-comment-column[b-wzfczwapcu] {
    grid-template-columns: 10.5rem 9rem 4.5rem repeat(var(--luka-course-columns), 5.6rem) minmax(14rem, 1fr);
}

.assessment-grid.with-comment-column.no-course-columns[b-wzfczwapcu] {
    grid-template-columns: 10.5rem 9rem 4.5rem minmax(14rem, 1fr);
}

/* No visible course columns: the invisible header placeholders (which keep the header height) are stacked in
   the Kommentar column instead of taking columns of their own, each with a course column's width so they
   wrap - and so get the height - exactly like the real course headers. */
.no-course-columns .course-th-placeholder[b-wzfczwapcu] {
    grid-row: 1;
    grid-column: 4;
    width: 5.6rem;
    justify-self: start;
}

.comment-th[b-wzfczwapcu],
.comment-td[b-wzfczwapcu] {
    grid-row: 1;
    grid-column: -2 / -1;
    min-width: 0; /* lets the comment text be cut off with … instead of widening the column */
    padding-left: 2rem; /* extra space to the last course column */
}

/* .td (further down, padding shorthand) would otherwise win over .comment-td's padding-left - same specificity,
   later in the file - and the comments would not line up with the header. */
.td.comment-td[b-wzfczwapcu] {
    padding-left: 2rem;
}

/* Same size as the Student/Tillstånd/Poäng headers (links, which get 1rem from the global a rule). */
.comment-th[b-wzfczwapcu] {
    font-size: 1rem;
}

/* "Kommentar" (sort link) with the course code (plain text, no parentheses) centered under the word (the sort icon is outside, so it doesn't count). "Kommentar"
   alone is centered vertically in the header (.th), on the same line as Student/Tillstånd/Poäng - the course code
   and the sort icon are placed outside it (absolute), so they don't move that line. Left-aligned in the column. */
.comment-th-heading[b-wzfczwapcu] {
    position: relative;
    align-self: flex-start;
}

.comment-th-heading .comment-th-course[b-wzfczwapcu] {
    position: absolute;
    top: calc(100% - 1px); /* nudged up a little to line up with "Obligatorisk" in the course headers */
    left: 0;
    right: 0; /* as wide as the word "Kommentar" (the sort icon is outside) - the background too */
    text-align: center;
    white-space: nowrap;
}

.comment-th-heading .sort-link[b-wzfczwapcu] {
    position: relative;
}

.comment-th-heading .sort-icon[b-wzfczwapcu] {
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
}

.comment-th-course[b-wzfczwapcu] {
    font-size: 0.8125rem;
    background: #61BBC5; /* same light blue as the selected course header */
    padding: 0 0.4rem;
}

/* The box fits its text (a short comment gets a short box) up to the full width of its column, where the
   text is cut off with … - both in the Kommentar column and for the programme comment under the title. */
.comment-preview[b-wzfczwapcu] {
    display: flex;
    width: fit-content;
    max-width: 100%;
    box-sizing: border-box;
    background: #efe6e0;
    color: #555;
    font-style: italic;
    padding: 0.4rem 0.75rem;
    cursor: pointer;
}

/* Programme comment under the programme title. The wrapper (width: 0 + min-width: 100%) is exactly as wide as
   .header-left without a long comment widening the header; the box inside fits its text (see .comment-preview). */
.programme-comment-wrapper[b-wzfczwapcu] {
    margin-top: 0.8rem;
    flex-shrink: 0; /* .header-left is a flex column stretched to the header's height - never squeeze the comment */
    width: 0;
    min-width: 100%;
}

.comment-preview-text[b-wzfczwapcu] {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* ── Table rows ──────────────────────────────────────────────── */

.table-section[b-wzfczwapcu] {
}

.table-body[b-wzfczwapcu] {
    padding: 0 0.25rem 0 1rem;
    margin-left: -2rem;
    position: relative;
}

.table-body:focus[b-wzfczwapcu] {
    outline: none;
}

.table-row[b-wzfczwapcu] {
    align-items: center;
    border-bottom: 1px solid #f0ebe8;
    padding: 0;
    cursor: pointer;
    scroll-margin-top: 11rem;
    scroll-margin-bottom: 2.5rem;
}

.row-selected[b-wzfczwapcu] {
    box-shadow: -8px 0 0 0 #61BBC5;
    position: relative;
    z-index: 1;
}

.row-selected[b-wzfczwapcu]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    border-top: 2px dashed #61BBC5;
    pointer-events: none;
}

.row-selected[b-wzfczwapcu]::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    border-bottom: 2px dashed #61BBC5;
    pointer-events: none;
}

.table-row:nth-child(even)[b-wzfczwapcu] {
    background: #fcf9f8;
}


.td[b-wzfczwapcu] {
    padding: 0.4rem 0.5rem;
    font-size: 0.875rem;
    color: #333;
}

.row-inactive .td[b-wzfczwapcu] {
    color: #aaa;
}

/* Points cell: total (bold) on the first row, then (only with transferred credits) BTH and transferred
   credits smaller, italic and grey */
.points-total[b-wzfczwapcu] {
    font-family: 'averta-bold', 'open-sans-bold', sans-serif;
}

.points-detail[b-wzfczwapcu] {
    font-size: 0.75rem;
    font-style: italic;
    color: #888;
    white-space: nowrap;
}

.row-inactive .points-detail[b-wzfczwapcu] {
    color: #aaa;
}

/* ── Student cell ────────────────────────────────────────────── */

.student-ssn[b-wzfczwapcu] {
    font-family: 'averta-bold', 'open-sans-bold', sans-serif;
    font-size: 1rem;
    color: #055064;
    text-decoration: none;
    display: inline-block;
}

/* The SSN link (to Ladok) only works once its row is selected, so the hover underline is only shown then. */
.row-selected .student-ssn:hover[b-wzfczwapcu] {
    text-decoration: underline;
}

.student-name[b-wzfczwapcu] {
    font-size: 0.875rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.student-username[b-wzfczwapcu] {
    font-size: 0.875rem;
    color: #333;
}

.row-inactive .student-ssn[b-wzfczwapcu],
.row-inactive .student-name[b-wzfczwapcu],
.row-inactive .student-username[b-wzfczwapcu] {
    color: #aaa;
}

/* ── Save bar content (chrome now lives in BthStickyBottomPanel) ─ */

.bottom-label[b-wzfczwapcu] {
    font-size: 0.875rem;
    color: #333;
    margin-right: 0.35rem;
    white-space: nowrap;
}

.bottom-value[b-wzfczwapcu] {
    font-size: 0.875rem;
    color: #333;
    margin-right: 1rem;
    white-space: nowrap;
}

.bottom-select[b-wzfczwapcu] {
    font-size: 0.875rem;
    padding: 0.375rem 0.5rem;
    margin-right: 1rem;
    border: 1px solid #ccc;
    border-radius: 0.25rem;
    color: #333;
}

.bottom-select.input-error[b-wzfczwapcu] {
    border-color: #e63946 !important;
}

/* Stacks the "Handläggare" label and its validation message on top of each other, so the
   warning appears directly under the label while staying one row-item in the save bar's
   otherwise horizontal flex layout (.bth-sticky-bottom-panel-left). */
.bottom-field-column[b-wzfczwapcu] {
    display: flex;
    flex-direction: column;
    margin-right: 0.35rem;
}

.bottom-field-column .bottom-label[b-wzfczwapcu] {
    margin-right: 0;
}

.field-error[b-wzfczwapcu] {
    display: block;
    font-size: 0.75rem;
    color: #e63946;
    white-space: nowrap;
}

.control-date-wrapper[b-wzfczwapcu] {
    display: inline-flex;
    margin-right: 1rem;
}

.btn-save[b-wzfczwapcu] {
    background: #055064;
    color: white;
    border: none;
    padding: 0.375rem 1.25rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
}

.btn-save:hover[b-wzfczwapcu] {
    background: #044050;
}

.btn-action[b-wzfczwapcu] {
    background: #055064;
    color: white;
    border: none;
    padding: 0.375rem 1.25rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    margin-left: 0.5rem;
    cursor: pointer;
}

.btn-action:hover[b-wzfczwapcu] {
    background: #044050;
}

.btn-action:disabled[b-wzfczwapcu] {
    background: white;
    color: #bbb;
    border: 1px solid #ccc;
    cursor: not-allowed;
}

/* ── Comments tab ────────────────────────────────────────────── */

.comment-section[b-wzfczwapcu] {
    margin-bottom: 0.25rem;
}

.comment-heading[b-wzfczwapcu] {
    font-family: 'averta-bold', 'open-sans-bold', sans-serif;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.comment-textarea[b-wzfczwapcu] {
    width: 100%;
    min-height: 8rem;
    border: 1px solid #ccc;
    border-radius: 0.25rem;
    padding: 0.5rem;
    font-size: 0.875rem;
    resize: vertical;
    box-sizing: border-box;
    font-family: inherit;
}

.comment-actions[b-wzfczwapcu] {
    display: flex;
    justify-content: flex-end;
}

.comment-save-link[b-wzfczwapcu] {
    color: #055064;
    font-family: 'averta-bold', 'open-sans-bold', sans-serif;
    font-size: 1rem;
    text-decoration: none;
}

.comment-save-link:hover[b-wzfczwapcu] {
    text-decoration: underline;
}

.comment-save-link.disabled[b-wzfczwapcu] {
    color: #bbb;
    pointer-events: none;
    cursor: default;
}

/* Comments tab when the selected cell has no assessment ("-"). */
.comment-not-possible[b-wzfczwapcu] {
    color: #888;
    font-size: 0.875rem;
}

/* ── Confirm dialogs (Anmäl/Avanmäl, Skicka e-post) ── */
/* BthConfirm renders the content inside a <p>, so block-level lines must be spans with display: block. */
.confirm-line[b-wzfczwapcu] {
    display: block;
}

.confirm-count[b-wzfczwapcu] {
    font-family: 'averta-bold', 'open-sans-bold', sans-serif;
}

/* About 30% wider than the dialog's natural width (~19rem). BthConfirm puts .modal-dialog in a d-flex container,
   so it shrinks to its content - max-width alone has no effect on short text, the width must be set. */
.confirm-wide[b-wzfczwapcu]  .modal-dialog {
    width: 24.5rem;
    max-width: 100%;
}

/* One empty line between the counts and the question. */
.confirm-question[b-wzfczwapcu] {
    display: block;
    margin-top: 1.5rem;
}
/* /Pages/Programmes/Components/CourseOccasions.razor.rz.scp.css */
.page-header[b-38ymooaxt0] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.back-link[b-38ymooaxt0] {
    color: #055064;
    font-family: 'averta-bold', 'open-sans-bold', sans-serif;
    font-size: 1rem;
    text-decoration: none;
}

/* Global bth-color.css overrides Font Awesome icon color - needs !important to win. */
.back-link i[b-38ymooaxt0] {
    color: #055064 !important;
}

.back-link:hover[b-38ymooaxt0] {
    text-decoration: underline;
}

.header-link[b-38ymooaxt0] {
    color: #055064;
    font-family: 'averta-bold', 'open-sans-bold', sans-serif;
    font-size: 1rem;
    text-decoration: none;
}

.header-link:hover[b-38ymooaxt0] {
    text-decoration: underline;
}

.page-title[b-38ymooaxt0] {
    font-size: 1.375rem;
    margin-bottom: 1rem;
}

/* Single horizontal row: term group | search group | badge */
.filter-row[b-38ymooaxt0] {
    display: flex;
    align-items: flex-end;
    gap: 0.9rem;
    margin-bottom: 0.75rem;
}

.filter-term-group[b-38ymooaxt0] {
    display: flex;
    flex-direction: column;
    width: min-content;
}

.filter-label[b-38ymooaxt0] {
    font-family: 'averta-bold', 'open-sans-bold', sans-serif;
    margin-bottom: 0.375rem;
    line-height: 1.3;
}

.term-select[b-38ymooaxt0] {
    width: auto;
    padding: 0.375rem 2rem 0.375rem 0.6rem;
    border-radius: 0.3rem;
}

.filter-search-group[b-38ymooaxt0] {
    display: flex;
    flex-direction: column;
}

.search-label[b-38ymooaxt0] {
    font-family: 'averta-bold', 'open-sans-bold', sans-serif;
    margin-bottom: 0.375rem;
}

.search-controls[b-38ymooaxt0] {
    display: flex;
    align-items: center;
    gap: 0.1rem;
}

.search-input[b-38ymooaxt0] {
    width: 18rem;
    padding: 0.375rem 0.6rem;
    border-radius: 0.3rem;
}

.btn-search[b-38ymooaxt0] {
    background-color: #055064;
    color: #fff;
    border: none;
    border-radius: 0.3rem;
    padding: 0.375rem 1rem;
    font-family: 'averta-bold', 'open-sans-bold', sans-serif;
    cursor: pointer;
    white-space: nowrap;
}

.btn-search:hover[b-38ymooaxt0] {
    background-color: #044050;
}

.term-badge[b-38ymooaxt0] {
    margin-left: auto;
    background-color: #f7f2ef;
    border-radius: 0.25rem;
    padding: 0.25rem 0.75rem;
    font-family: 'averta-bold', 'open-sans-bold', sans-serif;
    color: #055064;
    font-size: 0.875rem;
    white-space: nowrap;
}

.institution-text[b-38ymooaxt0] {
    color: #888;
}

.no-results[b-38ymooaxt0] {
    color: #333;
    margin-top: 1rem;
}

[b-38ymooaxt0] .bth-table-content > .bth-table-row:not(:first-child) {
    cursor: pointer;
}

[b-38ymooaxt0] .bth-table-content > .bth-table-row:not(:first-child):hover {
    background: #e8f4f8 !important;
}
/* /Pages/Programmes/Components/Students.razor.rz.scp.css */
.page-header[b-26enshlbfs] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.back-link[b-26enshlbfs] {
    color: #055064;
    font-family: 'averta-bold', 'open-sans-bold', sans-serif;
    font-size: 1rem;
    text-decoration: none;
}

/* Global bth-color.css overrides Font Awesome icon color - needs !important to win. */
.back-link i[b-26enshlbfs] {
    color: #055064 !important;
}

.back-link:hover[b-26enshlbfs] {
    text-decoration: underline;
}

.header-link[b-26enshlbfs] {
    color: #055064;
    font-family: 'averta-bold', 'open-sans-bold', sans-serif;
    font-size: 1rem;
    text-decoration: none;
}

.header-link:hover[b-26enshlbfs] {
    text-decoration: underline;
}

.page-title[b-26enshlbfs] {
    font-size: 1.375rem;
    margin-bottom: 1rem;
}

/* Single horizontal row: term group | search group | badge */
.filter-row[b-26enshlbfs] {
    display: flex;
    align-items: flex-end;
    gap: 0.9rem;
    margin-bottom: 0.75rem;
}

.filter-term-group[b-26enshlbfs] {
    display: flex;
    flex-direction: column;
    width: min-content;
}

.filter-label[b-26enshlbfs] {
    font-family: 'averta-bold', 'open-sans-bold', sans-serif;
    margin-bottom: 0.375rem;
    line-height: 1.3;
}

.term-select[b-26enshlbfs] {
    width: auto;
    padding: 0.375rem 2rem 0.375rem 0.6rem;
    border-radius: 0.3rem;
}

.filter-search-group[b-26enshlbfs] {
    display: flex;
    flex-direction: column;
}

.search-label[b-26enshlbfs] {
    font-family: 'averta-bold', 'open-sans-bold', sans-serif;
    margin-bottom: 0.375rem;
}

.search-controls[b-26enshlbfs] {
    display: flex;
    align-items: center;
    gap: 0.1rem;
}

.search-input[b-26enshlbfs] {
    width: 18rem;
    padding: 0.375rem 0.6rem;
    border-radius: 0.3rem;
}

.btn-search[b-26enshlbfs] {
    background-color: #055064;
    color: #fff;
    border: none;
    border-radius: 0.3rem;
    padding: 0.375rem 1rem;
    font-family: 'averta-bold', 'open-sans-bold', sans-serif;
    cursor: pointer;
    white-space: nowrap;
}

.btn-search:hover[b-26enshlbfs] {
    background-color: #044050;
}

.term-badge[b-26enshlbfs] {
    margin-left: auto;
    background-color: #f7f2ef;
    border-radius: 0.25rem;
    padding: 0.25rem 0.75rem;
    font-family: 'averta-bold', 'open-sans-bold', sans-serif;
    color: #055064;
    font-size: 0.875rem;
    white-space: nowrap;
}

.no-results[b-26enshlbfs] {
    color: #333;
    margin-top: 1rem;
}

[b-26enshlbfs] .bth-table-content > .bth-table-row:not(:first-child) {
    cursor: pointer;
}

[b-26enshlbfs] .bth-table-content > .bth-table-row:not(:first-child):hover {
    background: #e8f4f8 !important;
}
/* /Pages/Programmes/ProgrammesPage.razor.rz.scp.css */
.page-header[b-m9tcokq41j] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.page-title[b-m9tcokq41j] {
    font-size: 1.375rem;
    margin-bottom: 0;
}

.header-links[b-m9tcokq41j] {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
}

.header-links a[b-m9tcokq41j] {
    color: #055064;
    font-family: 'averta-bold', 'open-sans-bold', sans-serif;
    font-size: 1rem;
    text-decoration: none;
}

.header-links a:hover[b-m9tcokq41j] {
    text-decoration: underline;
}

.view-hidden[b-m9tcokq41j] {
    display: none;
}

/* Single horizontal row: term group | search input | email filter | badge */
.filter-section[b-m9tcokq41j] {
    display: flex;
    align-items: flex-end;
    gap: 0.9rem;
    margin-bottom: 0.75rem;
}

.filter-term-group[b-m9tcokq41j] {
    display: flex;
    flex-direction: column;
    width: min-content;
}

.filter-label[b-m9tcokq41j] {
    font-family: 'averta-bold', 'open-sans-bold', sans-serif;
    margin-bottom: 0.375rem;
    line-height: 1.3;
}

.term-select[b-m9tcokq41j] {
    width: auto;
    padding: 0.375rem 2rem 0.375rem 0.6rem;
    border-radius: 0.3rem;
}

.search-input[b-m9tcokq41j] {
    width: 16rem;
    padding: 0.375rem 0.6rem;
    border-radius: 0.3rem;
    margin: 0;
}

.filter-email-check[b-m9tcokq41j] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    /* Bootstrap's own .form-check class (loaded globally) sets padding-left: 1.5em by default,
       meant for an absolutely positioned checkbox input - reset here since this uses a plain
       checkbox+label flex row instead, same as .form-check in ProgrammingCoursesPage/RolePage. */
    padding-left: 0;
    padding-bottom: 0.375rem;
    font-size: 1rem;
    color: #333;
    white-space: nowrap;
}

.filter-email-check input[type="checkbox"][b-m9tcokq41j] {
    flex-shrink: 0;
    margin: 0;
}

/* !important needed to win over a global label font-size rule, same fallgrop already fixed in
   ProgrammingCoursesPage.razor.css / RolePage.razor.css's ".form-check label". */
.filter-email-check label[b-m9tcokq41j] {
    font-size: 1rem !important;
}

.term-badge[b-m9tcokq41j] {
    margin-left: auto;
    background-color: #f7f2ef;
    border-radius: 0.25rem;
    padding: 0.25rem 0.75rem;
    font-family: 'averta-bold', 'open-sans-bold', sans-serif;
    color: #055064;
    font-size: 0.875rem;
    white-space: nowrap;
}

[b-m9tcokq41j] .row-create .bth-table-column {
    color: #055064;
}

[b-m9tcokq41j] .row-create .bth-table-column a {
    color: #055064;
}

[b-m9tcokq41j] .bth-table-content > .bth-table-row:not(:first-child) {
    cursor: pointer;
}

[b-m9tcokq41j] .bth-table-content > .bth-table-row:not(:first-child):hover {
    background: #e8f4f8 !important;
}

/* Positioning relative anchor for the dot - lets it sit outside the text's own left edge
   instead of taking up inline space before it, so the programme code always lines up with the
   "Programkod" header regardless of whether a given row has a dot. */
.programme-code-cell[b-m9tcokq41j] {
    position: relative;
}

.new-email-dot[b-m9tcokq41j] {
    position: absolute;
    left: -0.75rem;
    top: 50%;
    transform: translateY(-50%);
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: #e63946;
}

/* Kommentar column: one line, cut off with … (full text in the title tooltip). The table cells are
   display: table-cell, where a nowrap text would widen the column - width: 0 + min-width: 100% keeps the text
   out of the column width calculation, so the column gets the remaining width and the text is cut there. */
.comment-cell[b-m9tcokq41j] {
    width: 0;
    min-width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
/* /Pages/ProgrammingCourses/ProgrammingCoursesPage.razor.rz.scp.css */
/* ── Page layout ─────────────────────────────────────────────────── */

.programming-courses-page[b-i7xet1r54m] {
    padding-bottom: 4rem;
}

/* ── Title row ───────────────────────────────────────────────────── */

.page-title-row[b-i7xet1r54m] {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 1rem;
}

.page-title[b-i7xet1r54m] {
    font-size: 1.375rem;
    margin-bottom: 0;
}

.new-course-link[b-i7xet1r54m] {
    color: #055064;
    font-family: 'averta-bold', 'open-sans-bold', sans-serif;
    font-size: 1rem;
    text-decoration: none;
}

.new-course-link:hover[b-i7xet1r54m] {
    text-decoration: underline;
}

/* ── Course form ─────────────────────────────────────────────────── */

.course-form[b-i7xet1r54m] {
    margin-bottom: 0.5rem;
    margin-left: 0.3rem;
    padding: 0.75rem 0 0.25rem 0;
}

.form-row-inputs[b-i7xet1r54m] {
    display: flex;
    gap: 0.5rem;
    align-items: flex-end;
}

.form-group[b-i7xet1r54m] {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.form-label[b-i7xet1r54m] {
    font-size: 0.875rem;
    font-family: 'averta-bold', 'open-sans-bold', sans-serif;
    color: #333;
}

.form-input-short[b-i7xet1r54m] {
    width: 8rem;
    padding: 0.375rem;
    font-size: 0.875rem;
}

.input-error[b-i7xet1r54m] {
    border-color: #e63946 !important;
}

.field-error[b-i7xet1r54m] {
    display: block;
    font-size: 0.75rem;
    color: #e63946;
    white-space: nowrap;
    margin-top: -0.5rem;
}

select.form-input-short[b-i7xet1r54m] {
    border: 1px solid #ced4da !important;
    border-radius: 0.375rem !important;
    padding-top: 0.375rem !important;
    padding-bottom: 0.375rem !important;
    font-size: 0.875rem !important;
    line-height: 1.5 !important;
    height: 2.4rem !important;
}

.form-input-name[b-i7xet1r54m] {
    width: 27rem;
    padding: 0.375rem;
    font-size: 0.875rem;
}

.form-row-name[b-i7xet1r54m] {
    display: flex;
    margin-top: 0.4rem;
}

/* ── Checkbox row ────────────────────────────────────────────────── */

.form-row-checkboxes[b-i7xet1r54m] {
    display: flex;
    gap: 2rem;
    margin-top: 0.6rem;
    margin-bottom: 1.2rem;
}

.form-check[b-i7xet1r54m] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-left: 0;
    font-size: 0.875rem;
    color: #333;
}

.form-check input[type="checkbox"][b-i7xet1r54m] {
    flex-shrink: 0;
    margin: 0;
}

.form-check label[b-i7xet1r54m] {
    font-family: 'averta-bold', 'open-sans-bold', sans-serif;
    font-size: 0.875rem !important;
    white-space: nowrap;
    line-height: 1.3;
}

.form-actions[b-i7xet1r54m] {
    display: flex;
    align-items: flex-end;
    gap: 1rem;
    margin-top: 0.6rem;
    margin-bottom: 2rem;
}

.form-submit-link[b-i7xet1r54m] {
    color: #055064;
    font-family: 'averta-bold', 'open-sans-bold', sans-serif;
    font-size: 1rem;
    text-decoration: none;
}

.form-submit-link:hover[b-i7xet1r54m] {
    text-decoration: underline;
}

.form-cancel-link[b-i7xet1r54m] {
    color: #055064;
    font-family: 'averta-bold', 'open-sans-bold', sans-serif;
    font-size: 1rem;
    text-decoration: none;
}

.form-cancel-link:hover[b-i7xet1r54m] {
    text-decoration: underline;
}

/* ── Table ───────────────────────────────────────────────────────── */

.institution-text[b-i7xet1r54m] {
    color: #888;
    font-size: 0.875rem;
}

.action-link[b-i7xet1r54m] {
    color: #055064;
    font-family: 'averta-bold', 'open-sans-bold', sans-serif;
    font-size: 1rem;
    text-decoration: none;
    margin-right: 0.5rem;
}

.action-link:hover[b-i7xet1r54m] {
    text-decoration: underline;
}

[b-i7xet1r54m] .delete-link {
    font-size: 0.875rem;
    text-decoration: none !important;
}

[b-i7xet1r54m] .delete-link i {
    color: #aaa !important;
}

[b-i7xet1r54m] .delete-link:hover i {
    color: #055064 !important;
}

[b-i7xet1r54m] .bth-table-content > .bth-table-row:not(:first-child):hover {
    background: #e8f4f8 !important;
}
/* /Pages/Role/RolePage.razor.rz.scp.css */
/* ── Page layout ─────────────────────────────────────────────────── */

.role-page[b-vvasvazjns] {
    padding-bottom: 4rem;
}

/* ── Title row ───────────────────────────────────────────────────── */

.page-title-row[b-vvasvazjns] {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 1rem;
}

.page-title[b-vvasvazjns] {
    font-size: 1.375rem;
    margin-bottom: 0;
}

.new-role-link[b-vvasvazjns] {
    color: #055064;
    font-family: 'averta-bold', 'open-sans-bold', sans-serif;
    font-size: 1rem;
    text-decoration: none;
}

.new-role-link:hover[b-vvasvazjns] {
    text-decoration: underline;
}

/* ── Role form ───────────────────────────────────────────────────── */

.role-form[b-vvasvazjns] {
    margin-bottom: 0.5rem;
    margin-left: 0.3rem;
    padding: 0.75rem 0 0.25rem 0;
}

.form-row-top[b-vvasvazjns] {
    display: flex;
    gap: 1.25rem;
    align-items: flex-end;
    margin-bottom: 0.4rem;
}

.form-row-bottom[b-vvasvazjns] {
    display: flex;
    gap: 1.25rem;
    align-items: flex-end;
}

.form-group[b-vvasvazjns] {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.form-label[b-vvasvazjns] {
    font-size: 0.875rem;
    font-family: 'averta-bold', 'open-sans-bold', sans-serif;
    color: #333;
}

.form-input-short[b-vvasvazjns] {
    width: 8rem;
    padding: 0.375rem;
    font-size: 0.875rem;
}

.input-error[b-vvasvazjns] {
    border-color: #e63946 !important;
}

.field-error[b-vvasvazjns] {
    display: block;
    font-size: 0.75rem;
    color: #e63946;
    white-space: nowrap;
    margin-top: -0.5rem;
    margin-bottom: 0.4rem;
}

select.form-input-short[b-vvasvazjns] {
    border: 1px solid #ced4da !important;
    border-radius: 0.375rem !important;
    padding-top: 0.375rem !important;
    padding-bottom: 0.375rem !important;
    font-size: 0.875rem !important;
    line-height: 1.5 !important;
    height: 2.4rem !important;
}

.form-input-name[b-vvasvazjns] {
    width: 27rem;
    padding: 0.375rem;
    font-size: 0.875rem;
}

/* ── Checkbox + actions ──────────────────────────────────────────── */

.admin-label-spacer[b-vvasvazjns] {
    visibility: hidden;
}

.form-check[b-vvasvazjns] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    height: 2.4rem;
    font-size: 0.875rem;
    color: #333;
}

.form-check input[type="checkbox"][b-vvasvazjns] {
    flex-shrink: 0;
    margin: 0;
}

.form-check label[b-vvasvazjns] {
    font-family: 'averta-bold', 'open-sans-bold', sans-serif;
    font-size: 0.875rem !important;
    white-space: nowrap;
    line-height: 1.3;
}

.form-actions[b-vvasvazjns] {
    display: flex;
    align-items: flex-end;
    gap: 1rem;
    margin-top: 0.6rem;
    margin-bottom: 2rem;
}

.form-submit-link[b-vvasvazjns] {
    color: #055064;
    font-family: 'averta-bold', 'open-sans-bold', sans-serif;
    font-size: 1rem;
    text-decoration: none;
}

.form-submit-link:hover[b-vvasvazjns] {
    text-decoration: underline;
}

.form-cancel-link[b-vvasvazjns] {
    color: #055064;
    font-family: 'averta-bold', 'open-sans-bold', sans-serif;
    font-size: 1rem;
    text-decoration: none;
}

.form-cancel-link:hover[b-vvasvazjns] {
    text-decoration: underline;
}

/* ── Table ───────────────────────────────────────────────────────── */

.institution-text[b-vvasvazjns] {
    color: #888;
    font-size: 0.875rem;
}

.action-link[b-vvasvazjns] {
    color: #055064;
    font-family: 'averta-bold', 'open-sans-bold', sans-serif;
    font-size: 1rem;
    text-decoration: none;
    margin-right: 0.5rem;
}

.action-link:hover[b-vvasvazjns] {
    text-decoration: underline;
}

[b-vvasvazjns] .delete-link {
    font-size: 0.875rem;
    text-decoration: none !important;
}

[b-vvasvazjns] .delete-link i {
    color: #aaa !important;
}

[b-vvasvazjns] .delete-link:hover i {
    color: #055064 !important;
}

[b-vvasvazjns] .bth-table-content > .bth-table-row:not(:first-child):hover {
    background: #e8f4f8 !important;
}
/* /Pages/TestAi/TestAiPage.razor.rz.scp.css */
.test-ai-page[b-0li5a1x6g6] {
    max-width: 70rem;
}

.test-ai-status[b-0li5a1x6g6] {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin: 1rem 0;
    padding: 1rem;
    background-color: #f4f3f4;
    border-left: 0.25rem solid #7bbcc2;
}

.test-ai-status i[b-0li5a1x6g6] {
    color: #055064;
}

.test-ai-form[b-0li5a1x6g6] {
    margin-top: 2rem;
}

.test-ai-label[b-0li5a1x6g6] {
    display: block;
    margin-bottom: 0.5rem;
    font-family: 'averta-bold', 'open-sans-bold', sans-serif;
}

.test-ai-textarea[b-0li5a1x6g6] {
    width: 100%;
    min-height: 18rem;
    padding: 0.75rem;
    resize: vertical;
}

.test-ai-field-description[b-0li5a1x6g6] {
    margin: 0.5rem 0 0;
    color: #333;
}

.test-ai-actions[b-0li5a1x6g6] {
    display: flex;
    justify-content: flex-end;
    margin-top: 1rem;
}

.test-ai-request[b-0li5a1x6g6] {
    margin-top: 1.5rem;
}

.test-ai-request-textarea[b-0li5a1x6g6] {
    width: 100%;
    min-height: 12rem;
    padding: 0.5rem;
    overflow: auto;
    font-family: Consolas, 'Courier New', monospace;
    font-size: 0.75rem;
    line-height: 1.35;
    resize: vertical;
}

.test-ai-courses[b-0li5a1x6g6],
.test-ai-results[b-0li5a1x6g6] {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #d8d8d8;
}

.test-ai-table[b-0li5a1x6g6] {
    width: 100%;
    border-collapse: collapse;
}

.test-ai-table-wrapper[b-0li5a1x6g6] {
    max-height: 40rem;
    overflow-y: auto;
    border-bottom: 1px solid #d8d8d8;
}

.test-ai-table th[b-0li5a1x6g6],
.test-ai-table td[b-0li5a1x6g6] {
    padding: 0.75rem;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid #d8d8d8;
}

.test-ai-table th[b-0li5a1x6g6] {
    position: sticky;
    top: 0;
    z-index: 1;
    font-family: 'averta-bold', 'open-sans-bold', sans-serif;
    background-color: #f4f3f4;
}

.test-ai-table td:nth-child(1)[b-0li5a1x6g6],
.test-ai-table td:nth-child(3)[b-0li5a1x6g6],
.test-ai-table td:nth-child(4)[b-0li5a1x6g6] {
    white-space: nowrap;
}

.test-ai-table td strong[b-0li5a1x6g6],
.test-ai-table td span[b-0li5a1x6g6] {
    display: block;
}

.test-ai-table td strong[b-0li5a1x6g6],
.test-ai-result-heading strong[b-0li5a1x6g6],
.test-ai-total[b-0li5a1x6g6] {
    font-family: 'averta-bold', 'open-sans-bold', sans-serif;
}

.test-ai-result-list[b-0li5a1x6g6] {
    margin: 0;
    padding-left: 1.5rem;
}

.test-ai-result-list li[b-0li5a1x6g6] {
    padding: 1rem;
    background-color: #f4f3f4;
}

.test-ai-result-list li:not(:last-child)[b-0li5a1x6g6] {
    margin-bottom: 0.75rem;
}

.test-ai-result-list p[b-0li5a1x6g6] {
    margin: 0.5rem 0 0;
}

.test-ai-result-heading[b-0li5a1x6g6] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.test-ai-result-meta[b-0li5a1x6g6] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.test-ai-completion-status[b-0li5a1x6g6] {
    display: inline-block;
    padding: 0.15rem 0.45rem;
    border: 1px solid transparent;
    border-radius: 0.25rem;
    font-family: 'averta-bold', 'open-sans-bold', sans-serif;
    font-size: 0.75rem;
    line-height: 1.2;
}

.test-ai-completion-status--completed[b-0li5a1x6g6] {
    color: #155724;
    background-color: #d4edda;
    border-color: #9fcea9;
}

.test-ai-completion-status--not-completed[b-0li5a1x6g6] {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #e5aeb3;
}

.test-ai-total[b-0li5a1x6g6] {
    margin: 1rem 0 0;
}

.test-ai-usage[b-0li5a1x6g6] {
    margin-top: 1.5rem;
    padding: 1rem;
    background-color: #efe6e0;
    border-left: 0.25rem solid #f08050;
}

.test-ai-usage h3[b-0li5a1x6g6] {
    margin: 0 0 0.75rem;
}

.test-ai-usage dl[b-0li5a1x6g6] {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    gap: 0.5rem 1rem;
    margin: 0;
}

.test-ai-usage dt[b-0li5a1x6g6] {
    font-family: 'averta-bold', 'open-sans-bold', sans-serif;
}

.test-ai-usage dd[b-0li5a1x6g6] {
    margin: 0;
}

.test-ai-usage p[b-0li5a1x6g6] {
    margin: 0.75rem 0 0;
    font-size: 0.875rem;
}

@media (min-width: 36rem) {
    .test-ai-result-heading[b-0li5a1x6g6] {
        flex-direction: row;
        justify-content: space-between;
        gap: 1rem;
    }
}
/* /Pages/TestMail/TestMailPage.razor.rz.scp.css */
.test-mail-threads[b-i2zn09xel0] {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #d8d8d8;
}

.test-mail-section-header[b-i2zn09xel0] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.test-mail-section-header h2[b-i2zn09xel0],
.test-mail-section-header h3[b-i2zn09xel0] {
    margin: 0;
}

.test-mail-thread-list[b-i2zn09xel0] {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 0.5rem;
    max-height: 26rem;
    overflow-y: auto;
}

.test-mail-thread-button[b-i2zn09xel0] {
    display: grid;
    gap: 0.5rem;
    width: 100%;
    padding: 1rem;
    text-align: left;
    border: 1px solid #d8d8d8;
    border-radius: 0.25rem;
    background: #fff;
    color: #055064;
}

.test-mail-thread-button[aria-expanded="true"][b-i2zn09xel0] {
    background: #f4f3f4;
    border-color: #055064;
}

.test-mail-thread-button:focus-visible[b-i2zn09xel0] {
    outline: 2px solid #055064;
    outline-offset: -3px;
}

.test-mail-thread-button code[b-i2zn09xel0],
.test-mail-thread-uid[b-i2zn09xel0],
.test-mail-thread-message code[b-i2zn09xel0] {
    overflow-wrap: anywhere;
    white-space: normal;
}

.test-mail-thread-message[b-i2zn09xel0] {
    margin: 1rem 0;
    padding: 1rem;
    border: 1px solid #d8d8d8;
    border-radius: 0.25rem;
    overflow-wrap: anywhere;
}

.test-mail-body[b-i2zn09xel0] {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    border-top: 1px solid #d8d8d8;
    padding-top: 1rem;
}

.test-mail-recipient-input[b-i2zn09xel0] {
    width: 100%;
    margin-bottom: 1rem;
}

.test-mail-reply[b-i2zn09xel0] {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #d8d8d8;
}

.test-mail-page[b-i2zn09xel0] {
    width: 100%;
}

.test-mail-columns[b-i2zn09xel0] {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
    align-items: start;
}

.test-mail-send-column[b-i2zn09xel0],
.test-mail-threads[b-i2zn09xel0] {
    min-width: 0;
}

@media (min-width: 64rem) {
    .test-mail-columns[b-i2zn09xel0] {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
    }

    .test-mail-threads[b-i2zn09xel0] {
        margin-top: 0;
        padding-top: 0;
        padding-left: 2rem;
        border-top: 0;
        border-left: 1px solid #d8d8d8;
    }

    .test-mail-send-column .test-mail-status[b-i2zn09xel0] {
        margin-top: 0;
    }
}

.test-mail-status[b-i2zn09xel0] {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin: 1rem 0;
    padding: 1rem;
    background-color: #f4f3f4;
    border-left: 0.25rem solid #7bbcc2;
}

.test-mail-status i[b-i2zn09xel0] {
    color: #055064;
}

.test-mail-user[b-i2zn09xel0] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.25rem;
    margin: 0;
}

.test-mail-user dt[b-i2zn09xel0] {
    font-family: 'averta-bold', 'open-sans-bold', sans-serif;
}

.test-mail-user dd[b-i2zn09xel0] {
    margin: 0;
    overflow-wrap: anywhere;
}

.test-mail-user dd:not(:last-child)[b-i2zn09xel0] {
    margin-bottom: 0.75rem;
}

.test-mail-compose[b-i2zn09xel0] {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #d8d8d8;
}

.test-mail-recipient-notice[b-i2zn09xel0] {
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
    margin: 1rem 0;
    padding: 1rem;
    color: #333;
    background-color: #efe6e0;
    border-left: 0.25rem solid #f08050;
}

.test-mail-recipient-notice i[b-i2zn09xel0] {
    margin-top: 0.2rem;
    color: #055064;
}

.test-mail-recipient-notice strong[b-i2zn09xel0],
.test-mail-addresses dt[b-i2zn09xel0],
.test-mail-addresses dd strong[b-i2zn09xel0],
.test-mail-label[b-i2zn09xel0] {
    font-family: 'averta-bold', 'open-sans-bold', sans-serif;
}

.test-mail-addresses[b-i2zn09xel0] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.25rem;
    margin: 0 0 1rem;
}

.test-mail-addresses dd[b-i2zn09xel0] {
    margin: 0 0 0.75rem;
    overflow-wrap: anywhere;
}

.test-mail-addresses dd span[b-i2zn09xel0] {
    font-family: 'averta-regular', 'open-sans-regular', sans-serif;
}

.test-mail-label[b-i2zn09xel0] {
    display: block;
    margin-bottom: 0.5rem;
}

.test-mail-textarea[b-i2zn09xel0] {
    width: 100%;
    min-height: 10rem;
    padding: 0.75rem;
    resize: vertical;
}

.test-mail-actions[b-i2zn09xel0] {
    display: flex;
    justify-content: flex-end;
    margin-top: 1rem;
}

@media (min-width: 36rem) {
    .test-mail-user[b-i2zn09xel0] {
        grid-template-columns: max-content minmax(0, 1fr);
        gap: 0.5rem 1rem;
    }

    .test-mail-user dd:not(:last-child)[b-i2zn09xel0] {
        margin-bottom: 0;
    }

    .test-mail-addresses[b-i2zn09xel0] {
        grid-template-columns: max-content minmax(0, 1fr);
        gap: 0.5rem 1rem;
    }

    .test-mail-addresses dd[b-i2zn09xel0] {
        margin-bottom: 0;
    }
}
/* /Shared/MainLayout.razor.rz.scp.css */
#blazor-error-ui[b-8hzgqemk80] {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-8hzgqemk80] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

/* The shared BthToaster is position: sticky and pushes the page (and the sticky side panel) down
   when open. Zero height + visible overflow keeps it sticky under the menu / at the viewport top,
   but lets it overlay the content instead. z-index above EmailDialog's overlay (1000).
   The div prefix outweighs the shared component's own scoped rules. */
[b-8hzgqemk80] div.bth-toaster.open {
    max-height: 0;
    overflow: visible;
    z-index: 1100;
    opacity: 1;
}

[b-8hzgqemk80] div.bth-toaster-padding-top {
    display: none;
}

/* Full width, edge to edge: .bth-toaster is a Bootstrap .container (max-width per breakpoint,
   horizontal padding), so both are cancelled. */
[b-8hzgqemk80] div.bth-toaster {
    max-width: none;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
}

[b-8hzgqemk80] div.bth-toaster.open > div {
    margin: 0;
    border-radius: 0;
}
