.is-short-courses-module,
.sc-public {
    --sc-primary: #3b82f6;
    --sc-primary-dark: #2563eb;
    --sc-teal: #36b9cc;
    --sc-ink: #1f2937;
    --sc-ink-soft: #526174;
    --sc-muted: #6b7280;
    --sc-line: #e5e7eb;
    --sc-soft: #f8fafc;
    --sc-success: #059669;
    --sc-warning: #d97706;
    --sc-danger: #dc2626;
    --sc-surface: #ffffff;
    --sc-surface-subtle: #f8fafc;
    --sc-success-surface: #ecfdf5;
    --sc-success-border: #6ee7b7;
    --sc-success-ink: #065f46;
    --sc-selected-surface: #eff6ff;
    --sc-hover-surface: #f8fbff;
}

body[data-layout-mode="dark"].is-short-courses-module,
body[data-layout-mode="dark"] .is-short-courses-module {
    --sc-ink: #f1f5f9;
    --sc-ink-soft: #cbd5e1;
    --sc-muted: #aeb9c7;
    --sc-line: #475569;
    --sc-soft: #29313a;
    --sc-surface: #242b32;
    --sc-surface-subtle: #2d3640;
    --sc-success-surface: #123c32;
    --sc-success-border: #2b8a68;
    --sc-success-ink: #a7f3d0;
    --sc-selected-surface: #263d56;
    --sc-hover-surface: #303a45;
}

/* Staff direct-enrolment workspace */
.sc-intake {
    --sc-intake-ink: #122033;
    --sc-intake-muted: #66758b;
    --sc-intake-line: #dbe3eb;
    --sc-intake-soft: #f3f7fa;
    --sc-intake-accent: #d97745;
}

.sc-intake-banner {
    align-items: center;
}

.sc-intake-steps {
    display: flex;
    gap: 0;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sc-intake-steps li {
    position: relative;
    display: grid;
    justify-items: center;
    gap: .4rem;
    min-width: 88px;
    color: rgba(255, 255, 255, .56);
    font-size: .72rem;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.sc-intake-steps li:not(:last-child)::after {
    position: absolute;
    top: 16px;
    left: calc(50% + 18px);
    width: calc(100% - 36px);
    height: 1px;
    background: rgba(255, 255, 255, .24);
    content: "";
}

.sc-intake-steps span {
    position: relative;
    z-index: 1;
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    font-weight: 800;
}

.sc-intake-steps .is-current,
.sc-intake-steps .is-complete {
    color: #fff;
}

.sc-intake-steps .is-current span {
    border-color: #f2ad7d;
    background: var(--sc-intake-accent);
    box-shadow: 0 0 0 5px rgba(217, 119, 69, .18);
}

.sc-intake-steps .is-complete span {
    border-color: rgba(255, 255, 255, .7);
    background: rgba(255, 255, 255, .18);
}

.sc-intake-alert {
    margin-top: 1rem;
    border-radius: 4px;
}

.sc-intake-layout,
.sc-review-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 1.25rem;
    align-items: start;
    margin-top: 1.25rem;
}

.sc-intake-main,
.sc-review-main {
    min-width: 0;
}

.sc-intake-aside,
.sc-review-aside {
    position: sticky;
    top: 92px;
}

.sc-intake-panel + .sc-intake-panel {
    margin-top: 1.25rem;
}

.sc-intake-panel .sc-panel-head > div:first-child {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: .7rem;
}

.sc-intake-panel .sc-panel-head h2,
.sc-intake-panel .sc-panel-head p {
    grid-column: 2;
}

.sc-section-number {
    grid-row: 1 / span 2;
    display: inline-grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 3px;
    background: #e9f0f5;
    color: #496277;
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .08em;
}

.sc-choice-switch {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
    margin: 0 0 1.5rem;
    padding: 0;
    border: 0;
}

.sc-choice-switch-item {
    position: relative;
    cursor: pointer;
}

.sc-choice-switch-item input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.sc-choice-switch-item > span {
    display: grid;
    grid-template-columns: 34px 1fr;
    column-gap: .75rem;
    align-items: center;
    min-height: 76px;
    padding: .9rem 1rem;
    border: 1px solid var(--sc-intake-line);
    border-radius: 4px;
    background: #fff;
    transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

.sc-choice-switch-item i {
    grid-row: 1 / span 2;
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 50%;
    background: var(--sc-intake-soft);
    color: #526b80;
    font-size: 1.15rem;
}

.sc-choice-switch-item strong,
.sc-choice-switch-item small {
    grid-column: 2;
}

.sc-choice-switch-item small {
    color: var(--sc-intake-muted);
}

.sc-choice-switch-item input:checked + span {
    border-color: #4b687f;
    background: #f7fafc;
    box-shadow: inset 4px 0 0 var(--sc-intake-accent);
}

.sc-choice-switch-item input:focus-visible + span {
    outline: 3px solid rgba(41, 113, 156, .22);
    outline-offset: 2px;
}

.sc-mode-panel[hidden],
.sc-optional-group [hidden] {
    display: none !important;
}

.sc-student-search {
    position: relative;
}

.sc-student-search > i {
    position: absolute;
    top: 50%;
    left: .9rem;
    z-index: 2;
    color: #6d7c8d;
    font-size: 1.15rem;
    transform: translateY(-50%);
}

.sc-student-search .form-control {
    height: 50px;
    padding-right: 2.8rem;
    padding-left: 2.75rem;
}

.sc-student-search .spinner-border {
    position: absolute;
    top: calc(50% - .5rem);
    right: 1rem;
}

.sc-student-results {
    position: relative;
    z-index: 5;
    max-height: 330px;
    margin-top: .4rem;
    overflow-y: auto;
    border: 1px solid #cbd7e2;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 14px 28px rgba(24, 43, 61, .12);
}

.sc-student-result {
    display: grid;
    width: 100%;
    grid-template-columns: 38px minmax(0, 1fr) auto;
    gap: .75rem;
    align-items: center;
    padding: .8rem 1rem;
    border: 0;
    border-bottom: 1px solid #edf1f4;
    background: #fff;
    color: var(--sc-intake-ink);
    text-align: left;
}

.sc-student-result:last-child {
    border-bottom: 0;
}

.sc-student-result:hover,
.sc-student-result.is-active {
    background: #f1f6f9;
}

.sc-student-result:disabled {
    cursor: not-allowed;
    opacity: .66;
}

.sc-result-mark,
.sc-selected-icon {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border-radius: 50%;
    background: #dce9f0;
    color: #294d67;
    font-weight: 900;
}

.sc-result-copy {
    display: grid;
    min-width: 0;
}

.sc-result-copy small,
.sc-selected-student small {
    overflow: hidden;
    color: var(--sc-intake-muted);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sc-result-state {
    color: #2d6d5a;
    font-size: .75rem;
    font-weight: 800;
}

.sc-result-state.is-enrolled {
    color: #8b6532;
}

.sc-student-empty {
    margin: 0;
    padding: 1rem;
    color: var(--sc-intake-muted);
    text-align: center;
}

.sc-field-help {
    margin: .55rem 0 0;
    color: var(--sc-intake-muted);
    font-size: .78rem;
    line-height: 1.5;
}

.sc-selected-student {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) auto;
    gap: .75rem;
    align-items: center;
    margin-top: 1rem;
    padding: .85rem 1rem;
    border: 1px solid #bad8ce;
    border-radius: 4px;
    background: #f2faf7;
}

.sc-selected-student > div {
    display: grid;
    min-width: 0;
}

.sc-selected-icon {
    background: #d2eee4;
    color: #197153;
}

.sc-subsection {
    margin-top: 1.5rem;
    padding-top: 1.35rem;
    border-top: 1px solid var(--sc-intake-line);
}

.sc-subsection h3,
.sc-mini-heading {
    margin: 0 0 .85rem;
    color: var(--sc-intake-ink);
    font-size: .83rem;
    font-weight: 900;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.sc-subsection h3 span {
    margin-left: .35rem;
    color: var(--sc-intake-muted);
    font-size: .68rem;
    font-weight: 700;
}

.sc-optional-group {
    margin-top: 1rem;
    border: 1px solid var(--sc-intake-line);
    border-radius: 4px;
    background: #fff;
}

.sc-optional-group-first {
    margin-top: 0;
}

.sc-optional-group summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .9rem 1rem;
    cursor: pointer;
    list-style: none;
}

.sc-optional-group summary::-webkit-details-marker {
    display: none;
}

.sc-optional-group summary > span {
    display: grid;
    grid-template-columns: 28px 1fr;
    align-items: center;
}

.sc-optional-group summary > span i {
    grid-row: 1 / span 2;
    color: #587185;
    font-size: 1.1rem;
}

.sc-optional-group summary small {
    color: var(--sc-intake-muted);
}

.sc-optional-group[open] summary > i {
    transform: rotate(180deg);
}

.sc-optional-body {
    padding: 1rem;
    border-top: 1px solid var(--sc-intake-line);
    background: #fafcfd;
}

.sc-span-2 {
    grid-column: 1 / -1;
}

.sc-fixed-date {
    display: flex;
    gap: .8rem;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: .9rem 1rem;
    border-left: 3px solid #5a7a91;
    background: #f2f7fa;
}

.sc-fixed-date i {
    color: #476a82;
    font-size: 1.4rem;
}

.sc-fixed-date div {
    display: grid;
}

.sc-fixed-date span {
    color: var(--sc-intake-muted);
}

.sc-module-strip {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
}

.sc-module-strip span {
    display: inline-flex;
    gap: .4rem;
    align-items: center;
    padding: .5rem .7rem;
    border: 1px solid #d8e1e8;
    border-radius: 3px;
    background: #f8fafb;
    color: #344a5c;
    font-size: .8rem;
    font-weight: 700;
}

.sc-module-strip i {
    color: #287258;
}

.sc-elective-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .7rem;
}

.sc-elective-option {
    position: relative;
    cursor: pointer;
}

.sc-elective-option input {
    position: absolute;
    top: .85rem;
    right: .85rem;
}

.sc-elective-option > span {
    display: grid;
    grid-template-columns: 34px 1fr;
    min-height: 78px;
    column-gap: .7rem;
    align-items: center;
    padding: .9rem 2.3rem .9rem .9rem;
    border: 1px solid var(--sc-intake-line);
    border-radius: 4px;
}

.sc-elective-option i {
    grid-row: 1 / span 2;
    color: #567389;
    font-size: 1.2rem;
}

.sc-elective-option strong,
.sc-elective-option small {
    grid-column: 2;
}

.sc-elective-option small {
    color: var(--sc-intake-muted);
}

.sc-elective-option:has(input:checked) > span {
    border-color: #4e748b;
    background: #f2f7fa;
    box-shadow: inset 3px 0 0 var(--sc-intake-accent);
}

.sc-notify-choice {
    display: flex;
    align-items: end;
}

.sc-notify-choice label {
    display: flex;
    gap: .7rem;
    align-items: flex-start;
    padding: .75rem;
    border: 1px solid var(--sc-intake-line);
    border-radius: 4px;
    cursor: pointer;
}

.sc-notify-choice span {
    display: grid;
}

.sc-notify-choice small {
    color: var(--sc-intake-muted);
}

.sc-confirm-row {
    display: flex;
    gap: .65rem;
    align-items: flex-start;
    color: #33475a;
    cursor: pointer;
}

.sc-confirm-row input {
    margin-top: .18rem;
}

.sc-intake-actions {
    display: flex;
    justify-content: flex-end;
    gap: .75rem;
    align-items: center;
    padding: 1.1rem 0;
}

.sc-run-card,
.sc-fee-card,
.sc-confirm-card {
    overflow: hidden;
}

.sc-run-card {
    padding: 1.15rem;
}

.sc-run-card-top,
.sc-outcome-status {
    display: flex;
    justify-content: space-between;
    gap: .75rem;
    align-items: center;
    color: var(--sc-intake-muted);
    font-size: .78rem;
}

.sc-run-card h2 {
    margin: 1rem 0 .2rem;
    color: var(--sc-intake-ink);
    font-size: 1.18rem;
}

.sc-run-card > p {
    color: var(--sc-intake-muted);
}

.sc-run-card dl,
.sc-review-grid {
    margin: 1rem 0 0;
}

.sc-run-card dl div {
    display: grid;
    grid-template-columns: 78px 1fr;
    gap: .8rem;
    padding: .7rem 0;
    border-top: 1px solid var(--sc-intake-line);
}

.sc-run-card dt,
.sc-review-grid dt {
    color: var(--sc-intake-muted);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.sc-run-card dd,
.sc-review-grid dd {
    margin: 0;
    color: var(--sc-intake-ink);
    font-weight: 700;
}

.sc-fee-line,
.sc-fee-total {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: .7rem 0;
    border-bottom: 1px solid var(--sc-intake-line);
}

.sc-fee-total {
    padding-top: 1rem;
    border: 0;
    color: var(--sc-intake-ink);
    font-size: 1.02rem;
}

.sc-privacy-note {
    display: flex;
    gap: .7rem;
    margin-top: 1rem;
    padding: .8rem;
    color: #53677a;
    font-size: .78rem;
}

.sc-privacy-note i {
    margin-top: .1rem;
    color: #3e708c;
    font-size: 1.15rem;
}

.sc-privacy-note p {
    margin: 0;
}

.sc-review-hero {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1.25rem;
    padding: 1.1rem 1.2rem;
}

.sc-review-person {
    display: flex;
    gap: .9rem;
    align-items: center;
}

.sc-person-mark {
    display: grid;
    width: 46px;
    height: 46px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 50%;
    background: #203b50;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 900;
}

.sc-kicker {
    color: #667a8b;
    font-size: .7rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.sc-review-person h2,
.sc-outcome-primary h2 {
    margin: .12rem 0;
    color: var(--sc-intake-ink);
    font-size: 1.25rem;
}

.sc-review-person p,
.sc-outcome-primary p {
    margin: 0;
    color: var(--sc-intake-muted);
}

.sc-review-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 1.5rem;
}

.sc-review-grid div {
    min-width: 0;
    padding-bottom: .75rem;
    border-bottom: 1px solid #edf1f4;
}

.sc-review-grid dd {
    margin-top: .2rem;
    overflow-wrap: anywhere;
}

.sc-review-fees > div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: .7rem 0;
    border-bottom: 1px solid var(--sc-intake-line);
}

.sc-review-fees small {
    display: block;
    color: var(--sc-intake-muted);
}

.sc-review-fees .is-total {
    padding-top: 1rem;
    border-bottom: 0;
    color: var(--sc-intake-ink);
    font-size: 1.05rem;
}

.sc-confirm-card {
    padding: 1.3rem;
}

.sc-confirm-card h2,
.sc-next-action h2 {
    color: var(--sc-intake-ink);
    font-size: 1.15rem;
}

.sc-confirm-card > p,
.sc-next-action > p {
    color: var(--sc-intake-muted);
    line-height: 1.6;
}

.sc-confirm-icon,
.sc-next-icon,
.sc-outcome-check {
    display: grid;
    width: 42px;
    height: 42px;
    margin-bottom: 1rem;
    place-items: center;
    border-radius: 50%;
    background: #e7f0f5;
    color: #385f77;
    font-size: 1.25rem;
}

.sc-outcome-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, .55fr);
    gap: 1.25rem;
    margin-top: 1.25rem;
}

.sc-outcome-primary,
.sc-next-action {
    padding: 1.4rem;
}

.sc-outcome-check {
    width: 52px;
    height: 52px;
    background: #d9f0e7;
    color: #187052;
    font-size: 1.6rem;
}

.sc-outcome-status {
    justify-content: flex-start;
    margin-top: 1rem;
}

.sc-next-action {
    position: relative;
    overflow: hidden;
    border-top: 3px solid var(--sc-intake-accent);
}

.sc-next-action > .sc-section-number {
    position: absolute;
    top: 1rem;
    right: 1rem;
}

@media (max-width: 991.98px) {
    .sc-intake-layout,
    .sc-review-layout,
    .sc-outcome-grid {
        grid-template-columns: 1fr;
    }

    .sc-intake-aside,
    .sc-review-aside {
        position: static;
    }

    .sc-intake-aside,
    .sc-review-aside {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
    }

    .sc-intake-aside .sc-privacy-note,
    .sc-review-aside .sc-privacy-note {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767.98px) {
    .sc-intake-banner {
        align-items: flex-start;
    }

    .sc-intake-steps {
        width: 100%;
        justify-content: space-between;
        margin-top: 1rem;
    }

    .sc-intake-steps li {
        min-width: 72px;
    }

    .sc-choice-switch,
    .sc-elective-grid,
    .sc-review-grid,
    .sc-intake-aside,
    .sc-review-aside {
        grid-template-columns: 1fr;
    }

    .sc-selected-student,
    .sc-student-result {
        grid-template-columns: 34px minmax(0, 1fr);
    }

    .sc-result-state,
    .sc-selected-student .btn {
        grid-column: 2;
        justify-self: start;
    }

    .sc-intake-actions {
        align-items: stretch;
        flex-direction: column-reverse;
    }

    .sc-intake-actions .btn {
        width: 100%;
    }
}

/* Run-scoped Student allocation workspace */
.sc-allocation-filters {
    padding: 0;
}

.sc-allocation .sc-filter-bar {
    grid-template-columns: minmax(260px, 1.6fr) repeat(3, minmax(150px, .72fr)) auto;
    border-bottom: 0;
    background: var(--sc-surface-subtle);
}

.sc-allocation .sc-filter-bar .is-wide {
    grid-column: auto;
}

.sc-search-control {
    position: relative;
}

.sc-search-control > i {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 12px;
    color: var(--sc-muted);
    transform: translateY(-50%);
    pointer-events: none;
}

.sc-search-control .form-control {
    padding-left: 36px;
}

.sc-allocation-results {
    transition: opacity 160ms ease;
}

.sc-allocation-results.is-loading {
    opacity: .55;
    pointer-events: none;
}

.sc-allocation-table {
    min-width: 1040px;
}

.sc-allocation-table tbody td:nth-child(2),
.sc-allocation-table tbody td:nth-child(5) {
    min-width: 230px;
}

.sc-allocation-table tbody td:nth-child(3) {
    min-width: 175px;
}

.sc-allocation-table td > span:not(.sc-status),
.sc-allocation-table td > small,
.sc-allocation-number {
    display: block;
}

.sc-allocation-table td > small,
.sc-allocation-number {
    margin-top: 4px;
    color: var(--sc-muted);
    font-size: 11px;
    line-height: 1.45;
}

.sc-allocation-table tr.is-unavailable > td {
    background: color-mix(in srgb, var(--sc-muted) 4%, var(--sc-surface));
}

.sc-allocation-table tr.is-unavailable td:not(:nth-child(5)):not(:last-child) {
    color: var(--sc-muted);
}

.sc-allocation-table .form-check-input:disabled {
    cursor: not-allowed;
}

.sc-allocation-pagination {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
    min-height: 58px;
    padding: 11px 16px;
    border-top: 1px solid var(--sc-line);
    background: var(--sc-surface);
}

.sc-allocation-pagination > p {
    margin: 0;
    color: var(--sc-muted);
    font-size: 12px;
}

.sc-allocation-pagination nav .pagination {
    margin: 0;
}

.sc-allocation-page-controls,
.sc-allocation-selection-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.sc-allocation-error {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    align-items: center;
}

.sc-allocation-error[hidden] {
    display: none;
}

.sc-allocation-error .btn {
    margin-left: auto;
}

.sc-allocation-selection {
    position: sticky;
    z-index: 30;
    bottom: 12px;
    display: grid;
    grid-template-columns: minmax(220px, .8fr) minmax(260px, 1fr) auto;
    gap: 18px;
    align-items: center;
    margin: 0 0 20px;
    padding: 14px 16px;
    color: var(--sc-ink);
    background: color-mix(in srgb, var(--sc-surface) 94%, var(--sc-primary) 6%);
    border: 1px solid color-mix(in srgb, var(--sc-primary) 35%, var(--sc-line));
    border-radius: 6px;
    box-shadow: 0 7px 22px rgba(15, 23, 42, .12);
}

.sc-allocation-selection[hidden] {
    display: none;
}

.sc-allocation-selection > div > strong,
.sc-allocation-selection > div > p {
    display: block;
    margin: 0;
}

.sc-allocation-selection > div > p,
.sc-allocation-selection-actions > small {
    margin-top: 3px;
    color: var(--sc-muted);
    font-size: 11px;
    line-height: 1.4;
}

.sc-allocation-selection details summary {
    color: var(--sc-primary-dark);
    font-size: 12px;
    font-weight: 650;
    cursor: pointer;
}

.sc-allocation-selection details ul {
    overflow: auto;
    max-height: 180px;
    margin: 8px 0 0;
    padding: 0;
    list-style: none;
}

.sc-allocation-selection details li {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
    padding: 7px 0;
    border-bottom: 1px solid var(--sc-line);
}

.sc-allocation-selection details li span,
.sc-allocation-selection details li small {
    display: block;
}

.sc-allocation-selection details li small {
    color: var(--sc-muted);
    font-size: 10px;
}

.sc-allocation-selection-actions {
    flex-wrap: wrap;
    justify-content: flex-end;
    max-width: 390px;
}

.sc-allocation-selection-actions > small {
    flex-basis: 100%;
    max-width: 36ch;
    text-align: right;
}

.sc-empty > strong,
.sc-empty > span {
    display: block;
}

.sc-empty > span {
    max-width: 62ch;
    margin: 5px auto 0;
}

body[data-layout-mode="dark"].is-short-courses-module .sc-allocation-table tr.is-unavailable > td {
    background: color-mix(in srgb, var(--sc-muted) 7%, var(--sc-surface));
}

.sc-allocation-settings {
    margin-top: 1.25rem;
}

.sc-readonly-value {
    display: flex;
    align-items: center;
    min-height: 38px;
    color: var(--sc-ink);
}

.sc-allocation-electives {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.sc-module-choice-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.sc-module-choice {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    min-width: 0;
    padding: 10px 12px;
    border: 1px solid var(--sc-line);
    border-radius: 4px;
    background: var(--sc-surface);
    cursor: pointer;
}

.sc-module-choice:has(input:checked) {
    border-color: color-mix(in srgb, var(--sc-primary) 48%, var(--sc-line));
    background: var(--sc-selected-surface);
}

.sc-module-choice span,
.sc-module-choice strong,
.sc-module-choice small {
    display: block;
    min-width: 0;
}

.sc-module-choice small {
    margin-top: 2px;
    color: var(--sc-muted);
}

.sc-allocation-fallback-actions {
    display: flex;
    justify-content: flex-end;
    margin: 12px 0 20px;
}

.sc-allocation.is-enhanced .sc-allocation-fallback-actions {
    display: none;
}

.sc-allocation-review-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 1.25rem;
    align-items: start;
    margin-top: 1.25rem;
}

.sc-allocation-review-layout main,
.sc-allocation-review-aside {
    min-width: 0;
}

.sc-allocation-review-layout main > .sc-panel + .sc-panel {
    margin-top: 1.25rem;
}

.sc-allocation-review-aside {
    position: sticky;
    top: 92px;
}

.sc-allocation-review-aside > * + * {
    margin-top: 12px;
}

.sc-allocation-progress-panel {
    margin-top: 1.25rem;
}

.sc-allocation-review [data-sc-allocation-progress-status] {
    text-transform: capitalize;
}

.sc-progress-copy {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    justify-content: space-between;
}

.sc-progress-copy h2,
.sc-progress-copy p {
    margin: 0;
}

.sc-progress-copy h2 {
    color: var(--sc-ink);
    font-size: 1rem;
}

.sc-progress-copy p {
    margin-top: 4px;
    color: var(--sc-muted);
    font-size: 12px;
}

.sc-allocation-progress-panel progress {
    display: block;
    width: 100%;
    height: 8px;
    margin: 14px 0 8px;
    overflow: hidden;
    border: 0;
    border-radius: 4px;
    background: var(--sc-soft);
    accent-color: var(--sc-primary);
}

.sc-review-grid + .sc-allocation-module-summary,
.sc-allocation-module-summary + .sc-allocation-finance-summary {
    margin-top: 1.25rem;
}

.sc-allocation-module-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    padding-top: 1.25rem;
    border-top: 1px solid var(--sc-line);
}

.sc-allocation-module-summary h3 {
    margin: 0 0 8px;
    color: var(--sc-ink);
    font-size: .76rem;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.sc-allocation-finance-summary {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px;
    border-left: 3px solid var(--sc-primary);
    background: var(--sc-surface-subtle);
}

.sc-allocation-finance-summary > i {
    margin-top: 1px;
    color: var(--sc-primary-dark);
    font-size: 1.35rem;
}

.sc-allocation-finance-summary strong,
.sc-allocation-finance-summary p {
    display: block;
    margin: 0;
}

.sc-allocation-finance-summary p {
    margin-top: 3px;
    color: var(--sc-muted);
    font-size: 12px;
}

.sc-allocation-review-table {
    min-width: 940px;
}

.sc-allocation-review-table td > strong,
.sc-allocation-review-table td > small {
    display: block;
}

.sc-allocation-review-table td > small {
    margin-top: 3px;
    color: var(--sc-muted);
    font-size: 11px;
    line-height: 1.4;
}

.sc-allocation-state-guide {
    padding: 18px;
}

.sc-allocation-state-guide h2,
.sc-allocation-state-guide p {
    margin: 0;
}

.sc-allocation-state-guide h2 {
    color: var(--sc-ink);
    font-size: 1rem;
}

.sc-allocation-state-guide p {
    margin-top: 6px;
    color: var(--sc-muted);
    font-size: 12px;
    line-height: 1.55;
}

@media (max-width: 1199.98px) {
    .sc-allocation .sc-filter-bar {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .sc-allocation .sc-filter-bar .is-wide {
        grid-column: 1 / -1;
    }

    .sc-allocation-selection {
        grid-template-columns: minmax(220px, .8fr) minmax(240px, 1fr);
    }

    .sc-allocation-selection-actions {
        grid-column: 1 / -1;
        justify-content: flex-start;
        max-width: none;
    }

    .sc-allocation-selection-actions > small {
        max-width: none;
        text-align: left;
    }

    .sc-allocation-review-layout {
        grid-template-columns: minmax(0, 1fr) 280px;
    }
}

@media (max-width: 767.98px) {
    .sc-allocation .sc-filter-bar,
    .sc-allocation-selection {
        grid-template-columns: 1fr;
    }

    .sc-allocation .sc-filter-bar .is-wide,
    .sc-allocation-selection-actions {
        grid-column: auto;
    }

    .sc-allocation .sc-filter-actions .btn,
    .sc-allocation-selection-actions .btn {
        width: 100%;
    }

    .sc-allocation-pagination {
        align-items: flex-start;
        flex-direction: column;
    }

    .sc-allocation-selection {
        bottom: 8px;
    }

    .sc-module-choice-grid,
    .sc-allocation-review-layout,
    .sc-allocation-module-summary {
        grid-template-columns: 1fr;
    }

    .sc-allocation-review-aside {
        position: static;
    }

    .sc-progress-copy {
        flex-direction: column;
    }

    .sc-allocation-fallback-actions .btn {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sc-allocation-results {
        transition: none;
    }
}

.assessment-standard-layout {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: minmax(240px, .7fr) minmax(0, 2.3fr);
}

.assessment-standard-library,
.assessment-standard-main {
    min-width: 0;
}

.assessment-standard-action-head,
.assessment-standard-submit,
.assessment-standard-publish-row {
    align-items: center;
    display: flex;
}

.assessment-standard-heading {
    min-width: 0;
}

.assessment-standard-heading-title {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem .7rem;
    align-items: baseline;
}

.assessment-standard-heading-title code {
    color: var(--sc-ink-soft);
    font-size: .75rem;
}

.assessment-standard-version-overview {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) minmax(420px, auto);
    gap: 1.5rem;
    align-items: end;
}

.assessment-standard-version-picker {
    min-width: 0;
}

.assessment-standard-version-meta {
    display: grid;
    grid-template-columns: repeat(4, max-content);
    gap: 0;
    align-items: end;
    justify-content: end;
    margin: 0;
}

.assessment-standard-version-meta > div {
    display: grid;
    gap: .3rem;
    min-width: 86px;
    padding: 0 .85rem;
}

.assessment-standard-version-meta > div + div {
    border-inline-start: 1px solid var(--sc-line);
}

.assessment-standard-version-meta > div:last-child {
    padding-inline-end: 0;
}

.assessment-standard-version-meta dt {
    color: var(--sc-ink-soft);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .02em;
}

.assessment-standard-version-meta dd {
    min-height: 24px;
    margin: 0;
    color: var(--sc-ink);
    font-size: .88rem;
    font-weight: 700;
}

.assessment-standard-version-meta .sc-status {
    white-space: nowrap;
}

.assessment-standard-action-head,
.assessment-standard-submit {
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.assessment-standard-action-head h3,
.assessment-standard-action-head p,
.assessment-standard-submit p {
    margin: 0;
}

.assessment-standard-action-head h3 {
    color: var(--sc-ink);
    font-size: 1rem;
}

.assessment-standard-action-head p,
.assessment-standard-publish-row small {
    color: var(--sc-ink-soft);
    display: block;
    font-size: .82rem;
}

.assessment-standard-submit {
    border-top: 1px solid var(--sc-line);
    margin-bottom: 0;
    margin-top: 1rem;
    padding-top: 1rem;
}

.assessment-standard-publish-list {
    border: 1px solid var(--sc-line);
    border-radius: var(--sc-radius-sm);
    overflow: hidden;
}

.assessment-standard-publish-row {
    cursor: pointer;
    gap: .75rem;
    padding: .8rem 1rem;
}

.assessment-standard-publish-row + .assessment-standard-publish-row {
    border-top: 1px solid var(--sc-line);
}

.sc-check-column {
    width: 54px;
}

.teaching-group-filters {
    grid-template-columns: minmax(260px, 1.4fr) repeat(3, minmax(170px, 1fr)) auto;
}

.teaching-group-filters .is-wide {
    grid-column: auto;
}

.teaching-course-groups {
    display: grid;
    gap: 1.25rem;
    margin-top: 1.25rem;
}

.teaching-course-head,
.teaching-course-identity,
.teaching-run-head,
.teaching-run-actions {
    align-items: center;
    display: flex;
}

.teaching-course-head {
    border-bottom: 1px solid var(--sc-line);
    justify-content: space-between;
    padding: 1.15rem 1.4rem;
}

.teaching-course-identity {
    gap: .85rem;
}

.teaching-course-code {
    align-items: center;
    background: color-mix(in srgb, var(--sc-primary) 10%, white);
    border: 1px solid color-mix(in srgb, var(--sc-primary) 22%, white);
    border-radius: var(--sc-radius-sm);
    color: var(--sc-primary);
    display: inline-flex;
    font-size: .76rem;
    font-weight: 800;
    justify-content: center;
    letter-spacing: .04em;
    min-height: 42px;
    min-width: 66px;
    padding: .45rem .65rem;
}

.teaching-course-head h2,
.teaching-course-head p,
.teaching-run-head h3,
.teaching-run-head p {
    margin: 0;
}

.teaching-course-head h2 {
    color: var(--sc-ink);
    font-size: 1.12rem;
}

.teaching-course-head p,
.teaching-run-head p {
    color: var(--sc-ink-soft);
    font-size: .82rem;
    margin-top: .18rem;
}

.teaching-run-list {
    display: grid;
    gap: 1rem;
    padding: 1rem;
}

.teaching-run-group {
    border: 1px solid var(--sc-line);
    border-radius: var(--sc-radius-sm);
    overflow: hidden;
}

.teaching-run-head {
    background: color-mix(in srgb, var(--sc-paper) 76%, white);
    gap: 1rem;
    justify-content: space-between;
    padding: .9rem 1rem;
}

.teaching-run-head h3 {
    color: var(--sc-ink);
    font-size: .95rem;
}

.teaching-run-actions {
    flex-wrap: wrap;
    gap: .5rem;
    justify-content: flex-end;
}

.teaching-module-table td:first-child {
    min-width: 230px;
}

@media (max-width: 991.98px) {
    .assessment-standard-layout {
        grid-template-columns: 1fr;
    }

    .assessment-standard-version-overview {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .assessment-standard-version-meta {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        justify-content: stretch;
    }

    .teaching-group-filters {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .teaching-run-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .teaching-run-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 575.98px) {
    .teaching-group-filters,
    .teaching-group-filters .is-wide {
        grid-column: 1;
        grid-template-columns: 1fr;
    }

    .teaching-course-head {
        align-items: flex-start;
        flex-direction: column;
        gap: .8rem;
    }
}

.sc-public {
    min-height: 68vh;
    padding: 64px 20px;
    background: #f8fafc;
}

.sc-public .sc-shell {
    max-width: 1180px;
}

.sc-public .sc-course-card {
    background: #fff;
}

.sc-shell {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    color: var(--sc-ink);
}

#lecturer-markbook {
    scroll-margin-top: 110px;
}

.sc-page-banner,
.sc-hero {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 18px;
    padding: 26px 28px;
    color: #fff;
    background: linear-gradient(135deg, #4e73df 0%, #36b9cc 100%);
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(37, 99, 235, .12);
}

.sc-page-banner::after,
.sc-hero::after {
    position: absolute;
    top: -72px;
    right: -48px;
    width: 220px;
    height: 220px;
    content: "";
    border: 42px solid rgba(255, 255, 255, .08);
    border-radius: 50%;
}

.sc-banner-copy,
.sc-hero > div {
    position: relative;
    z-index: 1;
}

.sc-banner-copy {
    flex: 1 1 42%;
}

.sc-eyebrow {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 7px;
    color: rgba(255, 255, 255, .86);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.sc-page-banner h1,
.sc-hero h1 {
    margin: 0;
    color: #fff;
    font-family: inherit;
    font-size: 22px;
    font-weight: 650;
    line-height: 1.3;
}

.sc-page-banner p,
.sc-hero p {
    max-width: 800px;
    margin: 6px 0 0;
    color: rgba(255, 255, 255, .9);
    font-size: 14px;
    line-height: 1.5;
}

.sc-page-actions {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
    margin: 0 0 18px;
}

.sc-banner-stats {
    position: relative;
    z-index: 1;
    display: flex;
    flex: 1 1 55%;
    align-self: stretch;
    min-width: 520px;
}

.sc-banner-stat {
    display: flex;
    flex: 1 1 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: 8px 12px;
    text-align: center;
}

.sc-banner-stat strong {
    display: block;
    overflow: hidden;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sc-banner-stat span {
    display: block;
    margin-top: 3px;
    color: rgba(255, 255, 255, .82);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.sc-hero-meta {
    position: relative;
    z-index: 1;
    min-width: 180px;
    padding-left: 22px;
    border-left: 1px solid rgba(255, 255, 255, .3);
}

.sc-hero-meta strong {
    display: block;
    color: #fff;
    font-family: inherit;
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
}

.sc-hero-meta span {
    display: block;
    margin-top: 6px;
    color: rgba(255, 255, 255, .84);
    font-size: 12px;
}

.sc-stats-bar,
.sc-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    margin: -8px 0 20px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--sc-line);
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, .05);
}

.sc-stat,
.sc-metric {
    min-width: 0;
    padding: 15px 18px;
    background: #fff;
    border-right: 1px solid var(--sc-line);
}

.sc-stat:last-child,
.sc-metric:last-child {
    border-right: 0;
}

.sc-stat strong,
.sc-metric strong {
    display: block;
    color: #3b82f6;
    font-family: inherit;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
}

.sc-stat span,
.sc-metric span {
    display: block;
    margin-top: 3px;
    color: var(--sc-muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.sc-helper {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin-bottom: 18px;
    padding: 12px 14px;
    color: #475569;
    background: #f8fafc;
    border-left: 4px solid var(--sc-primary);
    border-radius: 6px;
}

.sc-helper i {
    margin-top: 2px;
    color: var(--sc-primary);
    font-size: 15px;
}

.sc-helper strong {
    display: block;
    margin-bottom: 2px;
    color: #374151;
    font-size: 13px;
}

.sc-helper p {
    margin: 0;
    color: var(--sc-muted);
    font-size: 12px;
    line-height: 1.45;
}

.sc-publish-path {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin: -6px 0 18px;
    padding: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--sc-line);
    border-radius: 6px;
    list-style: none;
}

.sc-publish-path li {
    position: relative;
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    padding: 13px 16px;
    border-right: 1px solid var(--sc-line);
}

.sc-publish-path li:last-child {
    border-right: 0;
}

.sc-publish-path li > span {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    color: #1d4ed8;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 750;
}

.sc-publish-path strong,
.sc-publish-path small {
    display: block;
}

.sc-publish-path strong {
    color: var(--sc-ink);
    font-size: 11px;
}

.sc-publish-path small {
    margin-top: 2px;
    color: var(--sc-muted);
    font-size: 10px;
    line-height: 1.35;
}

.sc-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(300px, .7fr);
    gap: 20px;
    align-items: start;
}

.sc-panel {
    overflow: hidden;
    margin-bottom: 20px;
    background: var(--sc-surface);
    border: 1px solid var(--sc-line);
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, .06);
}

.sc-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 17px 20px;
    background: var(--sc-surface);
    border-bottom: 1px solid var(--sc-line);
}

.sc-panel-head h1,
.sc-panel-head h2,
.sc-panel-head h3 {
    margin: 0;
    color: var(--sc-ink);
    font-size: 16px;
    font-weight: 650;
}

body[data-layout-mode="dark"].is-short-courses-module .sc-panel-head h1,
body[data-layout-mode="dark"].is-short-courses-module .sc-panel-head h2,
body[data-layout-mode="dark"].is-short-courses-module .sc-panel-head h3,
body[data-layout-mode="dark"].is-short-courses-module .sc-billing-disclosure-head h3 {
    color: var(--sc-ink) !important;
}

body[data-layout-mode="dark"].is-short-courses-module .sc-panel :is(h1, h2, h3, h4, h5, h6) {
    color: var(--sc-ink) !important;
}

body[data-layout-mode="dark"].is-short-courses-module .sc-panel .text-muted {
    color: var(--sc-muted) !important;
}

body[data-layout-mode="dark"].is-short-courses-module .sc-form-page .form-control,
body[data-layout-mode="dark"].is-short-courses-module .sc-form-page .form-select {
    color: var(--sc-ink);
    background-color: #1d252d;
    border-color: var(--sc-line);
}

body[data-layout-mode="dark"].is-short-courses-module .sc-form-page .form-control::placeholder {
    color: var(--sc-muted);
    opacity: 1;
}

.sc-panel-head p {
    margin: 4px 0 0;
    color: var(--sc-muted);
    font-size: 12px;
}

.sc-panel-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.sc-panel-body {
    padding: 20px;
}

.sc-management-tabs {
    overflow: hidden;
    background: var(--sc-surface);
    border-bottom: 1px solid var(--sc-line);
}

.sc-management-panel > .sc-management-tabs {
    margin: 12px 16px 0;
}

.sc-management-tabs .nav-tabs {
    flex-wrap: nowrap;
    gap: 0;
    overflow-x: auto;
    overflow-y: hidden;
    border-bottom: 0;
    scrollbar-color: #d1d5db transparent;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}

.sc-management-tabs .nav-tabs::-webkit-scrollbar {
    height: 6px;
}

.sc-management-tabs .nav-tabs::-webkit-scrollbar-track {
    background: transparent;
}

.sc-management-tabs .nav-tabs::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 4px;
}

.sc-management-tabs .nav-tabs::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

.sc-management-tabs .nav-item {
    flex: 0 0 auto;
}

.is-short-courses-module .sc-management-tabs .nav-link {
    display: inline-flex;
    align-items: center;
    min-height: 55px;
    margin-bottom: 0;
    padding: 16px 24px 13px;
    color: #6b7280;
    background: transparent;
    border: 0;
    border-bottom: 3px solid transparent;
    border-radius: 0;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    transition: color .2s ease, background-color .2s ease, border-color .2s ease;
}

.is-short-courses-module .sc-management-tabs .nav-link::after {
    display: none;
}

.is-short-courses-module .sc-management-tabs .nav-link:hover {
    color: #374151;
    background: #f9fafb;
    border-color: transparent;
}

.is-short-courses-module .sc-management-tabs .nav-link:focus-visible {
    color: #2563eb;
    outline: 2px solid #3b82f6;
    outline-offset: -4px;
}

.is-short-courses-module .sc-management-tabs .nav-link.active {
    color: #2563eb;
    background: transparent;
    border-bottom-color: #3b82f6;
}

.sc-tab-icon {
    margin-right: 8px;
    font-size: 16px;
}

.sc-tab-count {
    min-width: 21px;
    margin-left: 8px;
    padding: 2px 6px;
    color: #475569;
    background: #f1f5f9;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
}

.is-short-courses-module .sc-management-tabs .nav-link.active .sc-tab-count {
    color: #1d4ed8;
    background: #dbeafe;
}

.sc-management-panel > .tab-content > .tab-pane {
    min-height: 260px;
}

.sc-filter-bar {
    display: grid;
    grid-template-columns: minmax(220px, 1.5fr) repeat(3, minmax(150px, .7fr)) auto;
    gap: 10px;
    align-items: end;
    padding: 14px 16px;
    background: #f8fafc;
    border-bottom: 1px solid var(--sc-line);
}

.sc-filter-bar.is-compact {
    grid-template-columns: minmax(220px, 1.5fr) repeat(2, minmax(160px, .8fr)) auto;
}

.sc-filter-field label {
    display: block;
    margin-bottom: 5px;
    color: #475569;
    font-size: 11px;
    font-weight: 650;
}

.sc-filter-search {
    position: relative;
}

.sc-filter-search i {
    position: absolute;
    top: 50%;
    left: 12px;
    color: #94a3b8;
    transform: translateY(-50%);
    pointer-events: none;
}

.sc-filter-search .form-control {
    padding-left: 35px;
}

.sc-filter-actions {
    display: flex;
    gap: 7px;
}

.sc-table {
    width: 100%;
    margin: 0;
    color: var(--sc-ink);
}

.sc-table thead th {
    padding: 11px 16px;
    color: #475569;
    background: #f8fafc;
    border-bottom: 1px solid var(--sc-line);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .025em;
    text-transform: uppercase;
    white-space: nowrap;
}

.sc-table tbody td {
    padding: 13px 16px;
    border-color: var(--sc-line);
    font-size: 13px;
    vertical-align: middle;
}

.sc-table tbody tr:hover {
    background: #f8fafc;
}

.sc-table tbody tr.is-selected,
.sc-table tbody tr.is-selected:hover {
    background: #eef4ff;
}

.sc-table th.sc-select-cell,
.sc-table td.sc-select-cell {
    width: 46px;
    min-width: 46px;
    padding-right: 10px;
    padding-left: 14px;
    text-align: center;
}

.sc-select-cell .form-check-input {
    float: none;
    margin: 0;
    cursor: pointer;
}

.sc-enrollment-modules-table {
    padding: 16px 20px 20px;
}

.sc-enrollment-modules-table .table-responsive {
    border: 1px solid var(--sc-line);
    border-radius: 4px;
}

.sc-table tbody td.sc-table-empty-cell {
    padding: 0;
    border-bottom: 0;
}

.sc-table-empty-row:hover {
    background: transparent !important;
}

.sc-table-empty-state {
    display: flex;
    min-height: 168px;
    padding: 32px 20px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: var(--sc-muted);
    text-align: center;
}

.sc-table-empty-state i {
    margin-bottom: 10px;
    color: #94a3b8;
    font-size: 32px;
    line-height: 1;
}

.sc-table-empty-state strong {
    margin-bottom: 4px;
    color: var(--sc-ink);
    font-size: 14px;
    font-weight: 650;
}

.sc-table-empty-state span {
    max-width: 54ch;
    font-size: 13px;
    line-height: 1.5;
}

.sc-row-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px;
    white-space: nowrap;
}

.sc-table a:not(.btn) {
    color: #2563eb;
    text-decoration: none;
}

.sc-table a:not(.btn):hover {
    text-decoration: underline;
}

.sc-status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 8px;
    color: #047857;
    background: #d1fae5;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 750;
    line-height: 1.2;
    text-transform: capitalize;
    white-space: nowrap;
}

.sc-status::before {
    width: 5px;
    height: 5px;
    content: "";
    background: currentColor;
    border-radius: 50%;
}

.sc-status.is-warn {
    color: #b45309;
    background: #fef3c7;
}

.sc-status.is-danger {
    color: #b91c1c;
    background: #fee2e2;
}

.sc-status.is-info {
    color: #1d4ed8;
    background: #dbeafe;
}

.sc-label {
    margin-bottom: 6px;
    color: var(--sc-ink);
    font-size: 12px;
    font-weight: 650;
}

.sc-help {
    margin: 5px 0 0;
    color: var(--sc-muted);
    font-size: 11px;
    line-height: 1.4;
}

.sc-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
}

.sc-form-grid .is-wide {
    grid-column: 1 / -1;
}

.sc-setting-check {
    padding: 12px 14px 12px 38px;
    background: var(--sc-surface-subtle);
    border: 1px solid var(--sc-line);
    border-radius: 4px;
}

.sc-setting-check .form-check-input {
    margin-left: -24px;
}

.sc-setting-check label strong,
.sc-setting-check label span {
    display: block;
}

.sc-setting-check label strong {
    color: var(--sc-ink);
    font-size: 12px;
}

.sc-setting-check label span {
    margin-top: 2px;
    color: var(--sc-muted);
    font-size: 11px;
}

.sc-publish-blocked {
    display: flex;
    gap: 6px;
    align-items: center;
    margin: 0 0 10px;
    color: #92400e;
    font-size: 11px;
    font-weight: 650;
}

.sc-public .sc-application-upload {
    padding: 16px;
    border: 1px dashed var(--sc-line);
    border-radius: 8px;
    background: var(--sc-soft);
}

.sc-public .sc-file-input {
    display: block;
    width: 100%;
    min-width: 0;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--sc-muted);
    font: inherit;
    font-size: .875rem;
    line-height: 1.5;
    cursor: pointer;
}

.sc-public .sc-file-input::file-selector-button {
    margin-inline-end: 12px;
    padding: 10px 16px;
    border: 1px solid var(--sc-primary);
    border-radius: 6px;
    background: var(--sc-primary);
    color: #fff;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.sc-public .sc-file-input:hover::file-selector-button {
    border-color: var(--sc-primary-dark);
    background: var(--sc-primary-dark);
}

.sc-public .sc-file-input:focus-visible {
    outline: 2px solid var(--sc-primary);
    outline-offset: 4px;
}

.sc-public .sc-application-upload .sc-help {
    margin-top: 10px;
}

.sc-public .sc-application-consent {
    font-size: .875rem;
    line-height: 1.6;
}

.sc-public .sc-application-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    padding-top: 20px;
    border-top: 1px solid var(--sc-line);
}

.sc-public .sc-application-actions .sc-help {
    flex: 1 1 260px;
    margin: 0;
}

.sc-public .sc-application-actions .sc-btn {
    flex: 0 0 auto;
    margin-inline-start: auto;
}

.sc-form-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    align-items: end;
}

.sc-form-inline > * {
    min-width: 130px;
    flex: 1;
}

.sc-form-inline .sc-auto {
    min-width: auto;
    flex: 0 0 auto;
}

.sc-btn,
.sc-shell .btn,
.sc-modal .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 36px;
    padding: 8px 14px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.25;
    transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.sc-shell .btn-sm,
.sc-modal .btn-sm {
    min-height: 30px;
    padding: 6px 10px;
    font-size: 11px;
}

.sc-btn-primary,
.sc-shell .btn-primary,
.sc-modal .btn-primary {
    color: #fff;
    background: #5156be;
    border-color: #5156be;
    box-shadow: 0 2px 6px rgba(81, 86, 190, .5);
}

.sc-btn-primary:hover,
.sc-shell .btn-primary:hover,
.sc-modal .btn-primary:hover {
    color: #fff;
    background: #4549a2;
    border-color: #414598;
    box-shadow: 0 2px 6px rgba(81, 86, 190, .5);
}

.sc-btn-primary:focus-visible,
.sc-shell .btn-primary:focus-visible,
.sc-modal .btn-primary:focus-visible {
    color: #fff;
    background: #4549a2;
    border-color: #414598;
    box-shadow: 0 0 0 .15rem rgba(107, 111, 200, .5);
}

.sc-btn-primary:active,
.sc-shell .btn-primary:active,
.sc-modal .btn-primary:active {
    color: #fff;
    background: #414598;
    border-color: #3d418f;
}

.sc-btn-primary:disabled,
.sc-shell .btn-primary:disabled,
.sc-modal .btn-primary:disabled {
    color: #fff;
    background: #5156be;
    border-color: #5156be;
    box-shadow: none;
    opacity: .65;
}

.sc-btn-accent {
    color: #fff;
    background: #059669;
    border-color: #059669;
}

.sc-btn-accent:hover {
    color: #fff;
    background: #047857;
}

.sc-module {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 13px;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid var(--sc-line);
}

.sc-module:last-child {
    border-bottom: 0;
}

.sc-module-index {
    display: grid;
    width: 34px;
    height: 34px;
    color: #2563eb;
    background: #eff6ff;
    border: 1px solid #dbeafe;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    place-items: center;
}

.sc-module h3 {
    margin: 0 0 3px;
    color: var(--sc-ink);
    font-size: 13px;
    font-weight: 650;
}

.sc-module p {
    margin: 0;
    color: var(--sc-muted);
    font-size: 11px;
}

.sc-course-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.sc-course-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 20px;
    background: #fff;
    border: 1px solid var(--sc-line);
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, .05);
}

.sc-course-card h2 {
    margin: 13px 0 7px;
    color: var(--sc-ink);
    font-family: inherit;
    font-size: 16px;
    font-weight: 650;
    line-height: 1.35;
}

.sc-course-card p {
    color: var(--sc-muted);
    font-size: 12px;
    line-height: 1.5;
}

.sc-course-card .sc-card-action {
    margin-top: auto;
    padding-top: 16px;
}

.sc-empty {
    padding: 34px 20px;
    color: var(--sc-muted);
    font-size: 13px;
    text-align: center;
}

.sc-empty i {
    display: block;
    margin-bottom: 9px;
    color: #cbd5e1;
    font-size: 24px;
}

.sc-empty-action strong {
    display: block;
    color: var(--sc-ink);
    font-size: 13px;
}

.sc-empty-action p {
    max-width: 68ch;
    margin: 5px auto 0;
    color: var(--sc-muted);
    line-height: 1.5;
}

.sc-empty-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
}

.sc-empty-actions .btn i {
    display: inline;
    margin: 0;
    color: currentColor;
    font-size: inherit;
}

.sc-empty.is-centered {
    grid-column: 1 / -1;
    display: flex;
    min-height: 180px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.sc-alert-list {
    margin-bottom: 0;
    padding-left: 18px;
}

.sc-progress {
    height: 7px;
    overflow: hidden;
    background: #e5e7eb;
    border-radius: 6px;
}

.sc-progress > span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--sc-primary), var(--sc-teal));
}

.sc-token {
    padding: 13px;
    overflow-wrap: anywhere;
    color: #1e3a8a;
    background: #eff6ff;
    border: 1px dashed #93c5fd;
    border-radius: 4px;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 12px;
}

.sc-import-tabs {
    margin-bottom: 18px;
    border-bottom: 1px solid var(--sc-line);
}

.is-short-courses-module .sc-import-tabs .nav-link {
    display: inline-flex;
    align-items: center;
    min-height: 50px;
    margin-bottom: 0;
    padding: 13px 20px;
    color: #64748b;
    border-radius: 4px 4px 0 0;
    font-size: 13px;
    font-weight: 650;
}

.is-short-courses-module .sc-import-tabs .nav-link::after {
    display: none;
}

.is-short-courses-module .sc-import-tabs .nav-link.active {
    color: #1f2937;
    background: #fff;
    border-color: var(--sc-line) var(--sc-line) #fff;
}

.sc-import-tab-content {
    min-height: 260px;
}

.sc-format-table code {
    color: #1d4ed8;
    font-size: 11px;
}

.sc-format-note {
    padding: 12px 16px;
    color: #64748b;
    background: #f8fafc;
    border-top: 1px solid var(--sc-line);
    font-size: 11px;
}

.sc-import-workspace-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(300px, .75fr);
    gap: 20px;
    align-items: start;
}

.sc-file-upload {
    position: relative;
    width: 100%;
}

.sc-file-upload-input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
}

.sc-file-upload-label {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 132px;
    margin: 0;
    padding: 28px 20px;
    color: #374151;
    background: #f9fafb;
    border: 2px dashed #d1d5db;
    border-radius: 3px;
    cursor: pointer;
    transition: background-color .2s ease, border-color .2s ease;
}

.sc-file-upload-label:hover,
.sc-file-upload.is-dragging .sc-file-upload-label {
    background: #f3f4f6;
    border-color: var(--sc-primary);
}

.sc-file-upload-input:focus-visible + .sc-file-upload-label {
    border-color: var(--sc-primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, .14);
}

.sc-file-upload.has-file .sc-file-upload-label {
    background: #eff6ff;
    border-color: var(--sc-primary);
    border-style: solid;
}

.sc-file-upload-icon {
    margin-right: 12px;
    color: #6b7280;
    font-size: 32px;
    transition: color .2s ease;
}

.sc-file-upload-label:hover .sc-file-upload-icon,
.sc-file-upload.has-file .sc-file-upload-icon {
    color: var(--sc-primary);
}

.sc-file-upload-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.sc-file-upload-text strong {
    font-size: 14px;
    font-weight: 650;
}

.sc-file-upload-text small {
    margin-top: 4px;
    color: var(--sc-muted);
    font-size: 12px;
}

.sc-file-name {
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 8px;
    padding: 9px 12px;
    color: #374151;
    background: #fff;
    border: 1px solid var(--sc-line);
    border-radius: 3px;
    font-size: 12px;
}

.sc-file-upload.has-file .sc-file-name {
    display: flex;
}

.sc-file-name > span {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 8px;
}

.sc-file-name > span > span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sc-file-name i {
    color: var(--sc-primary);
}

.sc-file-remove {
    display: grid;
    width: 28px;
    height: 28px;
    flex: 0 0 auto;
    color: #64748b;
    background: transparent;
    border: 0;
    border-radius: 3px;
    place-items: center;
}

.sc-file-remove:hover {
    color: #b91c1c;
    background: #fee2e2;
}

.sc-replacement-box {
    padding: 14px;
    background: #f8fafc;
    border: 1px solid var(--sc-line);
    border-radius: 4px;
}

.sc-replacement-box p {
    margin: 6px 0 0 26px;
    color: var(--sc-muted);
    font-size: 11px;
    line-height: 1.5;
}

.sc-replacement-box:has(.form-check-input:checked) {
    background: #fff7ed;
    border-color: #fdba74;
}

.sc-replacement-box .form-select {
    min-height: 38px;
    border-color: #dbe1e8;
    border-radius: 3px;
    font-size: 12px;
}

.sc-form-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.sc-import-steps {
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
}

.sc-import-steps li {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 10px;
    padding: 0 0 16px;
}

.sc-import-steps li > span {
    display: grid;
    width: 28px;
    height: 28px;
    color: #2563eb;
    background: #eff6ff;
    border: 1px solid #dbeafe;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 750;
    place-items: center;
}

.sc-import-steps strong {
    display: block;
    color: var(--sc-ink);
    font-size: 12px;
}

.sc-import-steps p {
    margin: 3px 0 0;
    color: var(--sc-muted);
    font-size: 11px;
    line-height: 1.45;
}

.sc-modal .modal-dialog {
    width: calc(100% - 32px);
    max-width: 760px;
    height: calc(100% - 32px);
    max-height: calc(100vh - 32px);
    margin: 16px auto;
}

.sc-modal .modal-content,
.sc-modal form {
    display: flex;
    flex-direction: column;
    min-height: 0;
    max-height: calc(100vh - 32px);
}

.sc-modal .modal-content {
    overflow: hidden;
    border: 0;
    border-radius: 6px;
    box-shadow: 0 20px 60px rgba(15, 23, 42, .22);
}

.sc-modal .modal-header {
    flex: 0 0 auto;
    align-items: flex-start;
    padding: 18px 20px;
    background: #f8fafc;
    border-bottom: 1px solid var(--sc-line);
}

.sc-modal .modal-title {
    color: var(--sc-ink);
    font-size: 16px;
    font-weight: 650;
}

.sc-modal .modal-subtitle {
    margin: 4px 28px 0 0;
    color: var(--sc-muted);
    font-size: 11px;
    line-height: 1.45;
}

.sc-modal .modal-body {
    min-height: 0;
    padding: 20px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.sc-modal .modal-footer {
    flex: 0 0 auto;
    padding: 13px 20px;
    background: #f8fafc;
    border-top: 1px solid var(--sc-line);
}

.sc-modal .form-control,
.sc-modal .form-select,
.sc-filter-bar .form-control,
.sc-filter-bar .form-select {
    min-height: 38px;
    border-color: #dbe1e8;
    border-radius: 3px;
    font-size: 12px;
}

.sc-modal .form-control:focus,
.sc-modal .form-select:focus,
.sc-filter-bar .form-control:focus,
.sc-filter-bar .form-select:focus {
    border-color: #60a5fa;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, .12);
}

.sc-modal .invalid-feedback {
    margin-top: 4px;
    font-size: 10.5px;
    line-height: 1.4;
}

.sc-modal [data-sc-validation-summary] {
    border-radius: 4px;
    line-height: 1.45;
}

.sc-section-divider {
    grid-column: 1 / -1;
    margin-top: 3px;
    padding-top: 14px;
    border-top: 1px solid var(--sc-line);
}

.sc-billing-mode {
    min-width: 0;
    margin: 4px 0 0;
    padding: 16px;
    border: 1px solid var(--sc-line);
    border-radius: 6px;
    background: var(--sc-surface-subtle);
}

.sc-billing-mode-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.sc-billing-mode-option {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px;
    align-items: flex-start;
    min-height: 86px;
    padding: 14px;
    cursor: pointer;
    border: 1px solid #dbe1e8;
    border-radius: 5px;
    background: var(--sc-surface);
    transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

.sc-billing-mode-option:hover {
    border-color: #93c5fd;
    background: var(--sc-hover-surface);
}

.sc-billing-mode-option:has(.form-check-input:checked) {
    border-color: #3b82f6;
    background: var(--sc-selected-surface);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, .1);
}

.sc-billing-mode-option:has(.form-check-input:focus-visible) {
    outline: 3px solid rgba(59, 130, 246, .2);
    outline-offset: 2px;
}

.sc-billing-mode-option .form-check-input {
    margin-top: 3px;
}

.sc-billing-mode-option strong,
.sc-billing-mode-option small {
    display: block;
}

.sc-billing-mode-option strong {
    color: var(--sc-ink);
    font-size: 12px;
}

.sc-billing-mode-option small {
    margin-top: 4px;
    color: var(--sc-muted);
    font-size: 11px;
    line-height: 1.45;
}

.sc-billing-none-note {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
    padding: 14px 16px;
    color: var(--sc-success-ink);
    border: 1px solid var(--sc-success-border);
    border-radius: 5px;
    background: var(--sc-success-surface);
}

.sc-billing-none-note > i {
    margin-top: 2px;
    font-size: 18px;
}

.sc-billing-none-note strong {
    font-size: 12px;
}

.sc-billing-none-note p {
    margin: 3px 0 0;
    font-size: 11px;
    line-height: 1.45;
}

.sc-billing-disclosure {
    overflow: hidden;
    border: 1px solid var(--sc-line);
    border-radius: 6px;
    background: var(--sc-surface);
}

.sc-billing-disclosure-head,
.sc-fee-lines-head,
.sc-fee-line-title {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
}

.sc-billing-disclosure-head {
    padding: 14px 16px;
    background: var(--sc-surface-subtle);
    border-bottom: 1px solid var(--sc-line);
}

.sc-billing-disclosure-head h3 {
    margin: 0;
    color: var(--sc-ink);
    font-size: 13px;
    font-weight: 700;
}

.sc-billing-disclosure-head p {
    margin: 3px 0 0;
    color: var(--sc-muted);
    font-size: 11px;
}

.sc-billing-disclosure [data-sc-billing-panel] {
    padding: 16px;
}

.sc-fee-lines {
    margin-top: 18px;
}

.sc-fee-line {
    display: block;
    width: 100%;
    margin-top: 12px;
    padding: 14px;
    border: 1px solid var(--sc-line);
    border-radius: 5px;
    background: var(--sc-surface-subtle);
}

.sc-form-page {
    width: min(100%, 1120px);
    margin-inline: auto;
}

.sc-panel-footer {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: flex-end;
    padding: 16px 20px;
    border-top: 1px solid var(--sc-line);
    background: var(--sc-surface-subtle);
}

@media (forced-colors: active) {
    .sc-billing-mode-option:has(input:checked),
    .sc-billing-disclosure,
    .sc-fee-line {
        border: 2px solid ButtonText;
    }

    .sc-billing-none-note {
        border: 2px solid CanvasText;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sc-billing-disclosure,
    .sc-billing-mode-option,
    .sc-fee-line {
        scroll-behavior: auto;
        transition: none !important;
    }
}

.sc-fee-line-title {
    margin-bottom: 12px;
    color: var(--sc-ink);
    font-size: 12px;
}

.sc-fee-line-title .btn-link {
    min-height: auto;
    padding: 2px 4px;
    font-size: 11px;
    text-decoration: none;
}

.sc-fee-line-title .btn-link:disabled {
    visibility: hidden;
}

.sc-run-capacity-field {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(120px, 160px);
    gap: 16px;
    align-items: end;
    padding: 14px;
    border: 1px solid var(--sc-line);
    border-radius: 4px;
    background: var(--sc-soft);
}

.sc-run-capacity-field .sc-help {
    display: block;
    margin-top: 4px;
}

@media (max-width: 575.98px) {
    .sc-run-capacity-field {
        grid-template-columns: 1fr;
    }
}

.sc-kv {
    display: grid;
    grid-template-columns: minmax(110px, .7fr) minmax(0, 1.3fr);
    gap: 8px 14px;
    margin: 0;
    font-size: 12px;
}

.sc-kv dt {
    color: var(--sc-muted);
    font-weight: 500;
}

.sc-kv dd {
    margin: 0;
    color: var(--sc-ink);
    font-weight: 550;
}

.sc-readiness-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.sc-readiness-item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 9px;
    align-items: center;
    min-height: 54px;
    padding: 10px 12px;
    color: #374151;
    background: #f8fafc;
    border: 1px solid var(--sc-line);
    border-radius: 4px;
    text-decoration: none;
}

.sc-readiness-item:hover {
    color: #1f2937;
    border-color: #bfdbfe;
    background: #eff6ff;
}

.sc-readiness-item > i {
    color: var(--sc-success);
    font-size: 18px;
}

.sc-readiness-item.is-blocked > i {
    color: var(--sc-warning);
}

.sc-readiness-item span {
    min-width: 0;
}

.sc-readiness-item strong,
.sc-readiness-item small {
    display: block;
}

.sc-readiness-item strong {
    color: var(--sc-ink);
    font-size: 11px;
    font-weight: 700;
}

.sc-readiness-item small {
    margin-top: 2px;
    color: var(--sc-muted);
    font-size: 10px;
    line-height: 1.35;
}

.sc-readiness-item em {
    color: #2563eb;
    font-size: 10px;
    font-style: normal;
    font-weight: 650;
    white-space: nowrap;
}

.sc-allocation-list {
    display: grid;
    gap: .55rem;
}

/* Unified Assessment Setup ------------------------------------------------ */
.assessment-filter-bar {
    grid-template-columns: repeat(4, minmax(150px, 1fr)) minmax(220px, 1.35fr) auto;
}

.assessment-workspace-grid {
    display: grid;
    grid-template-columns: minmax(250px, .75fr) minmax(430px, 1.7fr) minmax(250px, .78fr);
    gap: 16px;
    align-items: start;
}

.assessment-context-panel,
.assessment-plan-panel {
    position: sticky;
    top: 88px;
    max-height: calc(100vh - 108px);
    overflow: hidden;
}

.assessment-context-list,
.assessment-plan-list {
    display: grid;
    gap: 7px;
    max-height: 48vh;
    padding: 12px;
    overflow-y: auto;
}

.assessment-context-card,
.assessment-plan-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 9px;
    align-items: center;
    padding: 10px;
    color: var(--sc-ink);
    background: #fff;
    border: 1px solid var(--sc-line);
    border-radius: 5px;
    text-decoration: none;
    transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}

.assessment-context-card:hover,
.assessment-plan-card:hover,
.assessment-context-card.is-selected,
.assessment-plan-card.is-selected {
    color: var(--sc-ink);
    background: #eff6ff;
    border-color: #93c5fd;
    box-shadow: 0 1px 3px rgba(37, 99, 235, .09);
}

.assessment-context-card .sc-status,
.assessment-plan-card .sc-status {
    grid-column: 2;
    justify-self: start;
}

.assessment-context-card-icon {
    display: grid;
    width: 32px;
    height: 32px;
    color: var(--sc-primary-dark);
    background: #dbeafe;
    border-radius: 50%;
    place-items: center;
}

.assessment-context-card strong,
.assessment-context-card small,
.assessment-plan-card strong,
.assessment-plan-card small {
    display: block;
}

.assessment-context-card strong,
.assessment-plan-card strong {
    overflow: hidden;
    font-size: 11px;
    line-height: 1.35;
    text-overflow: ellipsis;
}

.assessment-context-card small,
.assessment-plan-card small {
    margin-top: 2px;
    color: var(--sc-muted);
    font-size: 10px;
    line-height: 1.35;
}

.assessment-context-pagination {
    padding: 0 12px 12px;
}

.assessment-context-heading {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
}

.assessment-context-heading h2 {
    margin: 7px 0 3px;
    color: var(--sc-ink);
    font-size: 18px;
}

.assessment-context-heading p {
    margin: 0;
    color: var(--sc-muted);
    font-size: 11px;
}

.assessment-context-flags {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px;
}

.assessment-context-flags span,
.assessment-rule-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 7px;
    color: #475569;
    background: #f8fafc;
    border: 1px solid var(--sc-line);
    border-radius: 999px;
    font-size: 9px;
    font-weight: 650;
}

.assessment-grading-source {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    margin-bottom: 12px;
    padding: 10px 12px;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    border-radius: 5px;
}

.assessment-grading-source.is-blocked {
    background: #fff7ed;
    border-color: #fed7aa;
}

.assessment-grading-source > i {
    color: var(--sc-success);
    font-size: 19px;
}

.assessment-grading-source strong,
.assessment-grading-source span {
    display: block;
    font-size: 10px;
}

.assessment-grading-source span {
    margin-top: 2px;
    color: var(--sc-muted);
}

.assessment-grading-source a {
    color: var(--sc-primary-dark);
    font-size: 10px;
    font-weight: 700;
    text-decoration: none;
}

.assessment-readiness {
    display: grid;
    gap: 5px;
    margin-bottom: 12px;
}

.assessment-readiness > div {
    display: flex;
    gap: 7px;
    padding: 8px 10px;
    color: #92400e;
    background: #fffbeb;
    border-radius: 4px;
    font-size: 10px;
}

.assessment-readiness > div.is-error {
    color: #991b1b;
    background: #fef2f2;
}

.assessment-structure-list {
    display: grid;
    gap: 12px;
}

.assessment-category-block {
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--sc-line);
    border-radius: 5px;
}

.assessment-category-block > header {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    gap: 10px;
    align-items: center;
    padding: 11px 12px;
    background: #f8fafc;
    border-bottom: 1px solid var(--sc-line);
}

.assessment-category-block > header h3 {
    margin: 1px 0 0;
    font-size: 13px;
}

.assessment-category-block > header p,
.assessment-category-block > header span {
    margin: 1px 0 0;
    color: var(--sc-muted);
    font-size: 9px;
}

.assessment-order {
    display: grid;
    width: 28px;
    height: 28px;
    color: #fff;
    background: var(--sc-primary);
    border-radius: 50%;
    font-size: 10px;
    font-weight: 700;
    place-items: center;
}

.assessment-structure-table td:first-child strong,
.assessment-structure-table td:first-child span,
.assessment-structure-table small {
    display: block;
}

.assessment-structure-table small {
    margin-top: 3px;
    color: var(--sc-muted);
    font-size: 9px;
}

.assessment-plan-detail {
    padding: 12px;
    border-top: 1px solid var(--sc-line);
}

.assessment-plan-detail-head {
    display: flex;
    justify-content: space-between;
    gap: 8px;
}

.assessment-plan-detail h3 {
    margin: 2px 0 0;
    font-size: 13px;
}

.assessment-plan-detail p,
.assessment-plan-detail-head span {
    color: var(--sc-muted);
    font-size: 10px;
}

.assessment-version-summary {
    display: grid;
    gap: 5px;
    margin-top: 10px;
    padding: 9px;
    background: #f8fafc;
    border-radius: 4px;
}

.assessment-version-summary small,
.assessment-version-summary code {
    font-size: 9px;
}

.assessment-plan-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px;
    margin-top: 10px;
}

.assessment-standard-main .assessment-plan-actions {
    align-items: stretch;
    gap: 12px;
    justify-content: space-between;
}

.assessment-standard-primary-actions,
.assessment-standard-lifecycle,
.assessment-standard-lifecycle-buttons {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
}

.assessment-standard-primary-actions {
    align-content: flex-start;
    gap: 8px;
}

.assessment-standard-lifecycle {
    flex: 1 1 540px;
    gap: 12px 18px;
    justify-content: space-between;
    padding: 12px 14px;
    border: 1px solid #efb2ae;
    border-radius: 6px;
    background: #fff7f6;
}

.assessment-standard-lifecycle-copy {
    display: grid;
    flex: 1 1 280px;
    gap: 2px;
    max-width: 62ch;
}

.assessment-standard-lifecycle-copy strong {
    color: #7f1d1d;
    font-size: .82rem;
}

.assessment-standard-lifecycle-copy span {
    color: #6b3a37;
    font-size: .75rem;
    line-height: 1.45;
}

.assessment-standard-lifecycle-buttons {
    flex: 0 1 auto;
    gap: 8px;
    justify-content: flex-end;
}

.assessment-standard-lifecycle-buttons .btn {
    min-height: 38px;
    padding-inline: 14px;
    font-weight: 700;
}

.assessment-standard-unpublish {
    border: 1px solid #b42318;
    background: #fff;
    color: #8f1d18;
}

.assessment-standard-unpublish:hover,
.assessment-standard-unpublish:active {
    border-color: #8f1d18;
    background: #8f1d18;
    color: #fff;
}

.assessment-standard-unpublish:focus-visible,
.assessment-standard-delete:focus-visible {
    outline: 3px solid rgba(180, 35, 24, .24);
    outline-offset: 2px;
}

.assessment-standard-delete {
    border: 1px solid #9f1d16;
    background: #b42318;
    color: #fff;
}

.assessment-standard-delete:hover,
.assessment-standard-delete:active {
    border-color: #7f1712;
    background: #8f1d18;
    color: #fff;
}

.assessment-standard-action-disabled,
.assessment-standard-action-disabled:disabled {
    border: 1px solid #cbd5e1;
    background: #eef2f7;
    color: #526174;
    opacity: 1;
}

.assessment-standard-snapshot {
    color: var(--sc-ink-soft);
    font-size: .72rem;
}

.assessment-standard-snapshot code {
    margin-inline-start: 3px;
}

.assessment-standard-confirm-label {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: space-between;
    min-height: 30px;
}

.assessment-standard-confirm-label .sc-label {
    margin-bottom: 0;
}

.assessment-standard-copy-code {
    display: inline-grid;
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    padding: 0;
    place-items: center;
    border: 1px solid #cbd5e1;
    border-radius: 5px;
    background: #fff;
    color: #334155;
    font-size: 1rem;
    transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.assessment-standard-copy-code:hover {
    border-color: var(--sc-primary);
    background: #eff6ff;
    color: var(--sc-primary-dark);
}

.assessment-standard-copy-code:focus-visible {
    outline: 3px solid rgba(59, 130, 246, .24);
    outline-offset: 2px;
}

.assessment-standard-copy-code.is-copied {
    border-color: #86d3b6;
    background: #ecfdf5;
    color: #047857;
}

#deleteStandardModal .form-control::placeholder {
    color: #64748b;
    opacity: 1;
}

.sc-label .sc-optional {
    color: var(--sc-ink-soft);
    font-size: .75rem;
    font-weight: 500;
}

.assessment-standard-delete-note {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 6px;
    margin: 8px 0 0 auto;
    max-width: 66ch;
    color: #64748b;
    font-size: 11px;
    line-height: 1.5;
    text-align: right;
}

.assessment-standard-delete-note i {
    flex: 0 0 auto;
    margin-top: 2px;
    color: #b45309;
}

.assessment-standard-impact {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid var(--sc-line);
    border-radius: 6px;
    background: #f8fafc;
}

.assessment-standard-impact div {
    min-width: 0;
    padding: 12px;
    border-inline-end: 1px solid var(--sc-line);
}

.assessment-standard-impact div:last-child {
    border-inline-end: 0;
}

.assessment-standard-impact strong,
.assessment-standard-impact span,
.assessment-standard-score-consent small {
    display: block;
}

.assessment-standard-impact strong {
    color: var(--sc-ink);
    font-size: 1.05rem;
}

.assessment-standard-impact span,
.assessment-standard-score-consent small {
    color: var(--sc-ink-soft);
    font-size: .75rem;
}

.assessment-standard-score-consent {
    margin-top: 1rem;
    padding: 12px;
    border: 1px solid #f2b8b5;
    border-radius: 6px;
    background: #fff7f7;
}

.assessment-standard-score-consent .form-check {
    display: flex;
    gap: .6rem;
    margin: 0;
}

.assessment-standard-score-consent .form-check-label {
    min-width: 0;
}

@media (max-width: 575.98px) {
    .assessment-standard-main .assessment-plan-actions,
    .assessment-standard-lifecycle,
    .assessment-standard-lifecycle-buttons {
        align-items: stretch;
        flex-direction: column;
    }

    .assessment-standard-lifecycle {
        flex-basis: auto;
        width: 100%;
    }

    .assessment-standard-primary-actions,
    .assessment-standard-lifecycle-buttons,
    .assessment-standard-lifecycle-buttons .btn {
        width: 100%;
    }

    .assessment-standard-delete-note {
        justify-content: flex-start;
        margin-left: 0;
        text-align: left;
    }

    .assessment-standard-impact {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .assessment-standard-impact div:nth-child(2) {
        border-inline-end: 0;
    }

    .assessment-standard-impact div:nth-child(-n+2) {
        border-bottom: 1px solid var(--sc-line);
    }

    .assessment-standard-version-meta {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .assessment-standard-version-meta > div {
        min-width: 0;
        padding: .65rem 0;
    }

    .assessment-standard-version-meta > div + div {
        border-inline-start: 0;
    }

    .assessment-standard-version-meta > div:nth-child(even) {
        padding-inline-start: .85rem;
        border-inline-start: 1px solid var(--sc-line);
    }

    .assessment-standard-version-meta > div:nth-child(n+3) {
        border-top: 1px solid var(--sc-line);
    }
}

@media (prefers-reduced-motion: reduce) {
    .assessment-standard-copy-code {
        transition: none;
    }
}

.assessment-plan-builder,
.assessment-builder-items {
    display: grid;
    gap: 12px;
}

.assessment-builder-summary,
.assessment-copy-preview {
    padding: 10px 12px;
    color: #475569;
    background: #f8fafc;
    border: 1px solid var(--sc-line);
    border-radius: 5px;
    font-size: 10px;
}

.assessment-builder-category,
.assessment-builder-item {
    padding: 12px;
    background: #fff;
    border: 1px solid var(--sc-line);
    border-radius: 5px;
}

.assessment-builder-category > header,
.assessment-builder-item > header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
}

.assessment-builder-items {
    margin-top: 12px;
}

.assessment-builder-item {
    background: #f8fafc;
}

.assessment-plan-builder .invalid-feedback,
.assessment-plan-builder .is-invalid-total {
    color: #b42318;
}

.assessment-plan-builder .form-control.is-invalid,
.assessment-plan-builder .form-select.is-invalid {
    border-color: #b42318;
}

.assessment-plan-builder .invalid-feedback {
    font-size: 12px;
}

.assessment-reorder-list {
    display: grid;
    gap: 7px;
}

.assessment-reorder-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 11px;
    background: #f8fafc;
    border: 1px solid var(--sc-line);
    border-radius: 4px;
    font-size: 11px;
}

.assessment-setup-empty strong,
.assessment-setup-empty span {
    display: block;
}

.assessment-setup-empty span {
    margin-top: 4px;
    color: var(--sc-muted);
    font-size: 10px;
}

@media (max-width: 1279.98px) {
    .assessment-workspace-grid {
        grid-template-columns: minmax(240px, .7fr) minmax(430px, 1.3fr);
    }

    .assessment-plan-panel {
        position: static;
        grid-column: 1 / -1;
        max-height: none;
    }

    .assessment-plan-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        max-height: none;
    }

    .assessment-filter-bar {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .assessment-workspace-grid {
        grid-template-columns: 1fr;
    }

    .assessment-context-panel,
    .assessment-plan-panel {
        position: static;
        grid-column: auto;
        max-height: none;
    }

    .assessment-context-list,
    .assessment-plan-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-height: none;
    }
}

@media (max-width: 767.98px) {
    .assessment-context-list,
    .assessment-plan-list {
        grid-template-columns: 1fr;
    }

    .assessment-category-block > header,
    .assessment-grading-source {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .assessment-category-block > header > strong,
    .assessment-category-block > header > .dropdown,
    .assessment-grading-source > a {
        grid-column: 2;
        justify-self: start;
    }
}

.sc-allocation-option {
    align-items: center;
    border: 1px solid #dfe5ef;
    border-radius: .65rem;
    cursor: pointer;
    display: grid;
    gap: .75rem;
    grid-template-columns: auto minmax(0, 1fr) auto;
    margin: 0;
    padding: .75rem .85rem;
}

.sc-allocation-option:hover {
    border-color: #9da8e8;
    background: #f8f9ff;
}

.sc-allocation-option.is-required {
    background: #f6f8fb;
    cursor: default;
}

.sc-allocation-option span {
    min-width: 0;
}

.sc-allocation-option small {
    color: #6f7786;
    display: block;
}

.sc-allocation-option em {
    color: #667085;
    font-size: .76rem;
    font-style: normal;
    text-align: right;
}

.sc-allocation-preview {
    background: #f7f9fc;
    border: 1px solid #dfe5ef;
    border-radius: .65rem;
    padding: .8rem .9rem;
}

.sc-allocation-preview-group {
    margin-top: .65rem;
}

.sc-allocation-preview-group ul {
    margin: .3rem 0 0;
    padding-left: 1.1rem;
}

.sc-allocation-preview-group.is-add strong {
    color: #16794a;
}

.sc-allocation-preview-group.is-remove strong {
    color: #b42318;
}

@media (max-width: 1199.98px) {
    .sc-filter-bar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sc-filter-actions {
        grid-column: 1 / -1;
    }
}

@media (max-width: 991.98px) {
    .sc-grid {
        grid-template-columns: 1fr;
    }

    .sc-import-workspace-grid {
        grid-template-columns: 1fr;
    }

    .sc-course-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sc-stats-bar,
    .sc-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sc-stat:nth-child(2),
    .sc-metric:nth-child(2) {
        border-right: 0;
    }

    .sc-stat:nth-child(-n+2),
    .sc-metric:nth-child(-n+2) {
        border-bottom: 1px solid var(--sc-line);
    }

    .sc-banner-stats {
        min-width: 440px;
    }
}

@media (max-width: 767.98px) {
    .sc-page-banner,
    .sc-hero {
        flex-direction: column;
        padding: 22px;
    }

    .sc-banner-stats {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
        min-width: 0;
    }

    .sc-page-actions {
        justify-content: flex-end;
    }

    .sc-publish-path {
        grid-template-columns: 1fr;
    }

    .sc-publish-path li {
        border-right: 0;
        border-bottom: 1px solid var(--sc-line);
    }

    .sc-publish-path li:last-child {
        border-bottom: 0;
    }

    .sc-hero-meta {
        width: 100%;
        padding: 14px 0 0;
        border-top: 1px solid rgba(255, 255, 255, .3);
        border-left: 0;
    }

    .sc-filter-bar,
    .sc-filter-bar.is-compact,
    .sc-form-grid {
        grid-template-columns: 1fr;
    }

    .sc-billing-mode-options {
        grid-template-columns: 1fr;
    }

    .sc-billing-disclosure-head,
    .sc-fee-lines-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .sc-filter-actions,
    .sc-form-grid .is-wide {
        grid-column: 1;
    }

    .sc-panel-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .sc-readiness-list {
        grid-template-columns: 1fr;
    }

    .sc-readiness-item {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .sc-readiness-item em {
        grid-column: 2;
    }
}

@media (max-width: 575.98px) {
    .sc-enrollment-modules-table {
        padding: 12px;
    }

    .sc-stats-bar,
    .sc-metrics,
    .sc-course-grid {
        grid-template-columns: 1fr;
    }

    .sc-stat,
    .sc-metric,
    .sc-stat:nth-child(2),
    .sc-metric:nth-child(2) {
        border-right: 0;
        border-bottom: 1px solid var(--sc-line);
    }

    .sc-stat:last-child,
    .sc-metric:last-child {
        border-bottom: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .is-short-courses-module .sc-management-tabs .nav-link {
        transition: none;
    }
}

.sc-roster-filters {
    background: color-mix(in srgb, var(--sc-paper) 76%, white);
}

.sc-roster .sc-filter-bar {
    grid-template-columns: minmax(240px, 1.5fr) repeat(4, minmax(150px, 1fr)) auto;
}

.sc-roster .sc-filter-bar .is-wide {
    grid-column: auto;
}

.sc-roster-table td {
    min-width: 150px;
    vertical-align: middle;
}

.sc-roster-table td:first-child,
.sc-roster-table td:nth-child(2) {
    min-width: 240px;
}

.sc-roster-number {
    color: var(--sc-ink-soft);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: .78rem;
    letter-spacing: .03em;
}

.sc-source-badge {
    align-items: center;
    background: #eef3f6;
    border: 1px solid #d7e1e7;
    border-radius: 999px;
    color: var(--sc-ink-soft);
    display: inline-flex;
    font-size: .75rem;
    font-weight: 700;
    padding: .3rem .55rem;
}

.sc-row-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
}

.sc-icon-action {
    align-items: center;
    background: #fff;
    border: 1px solid var(--sc-line);
    border-radius: 7px;
    color: var(--sc-ink-soft);
    display: inline-flex;
    height: 36px;
    justify-content: center;
    text-decoration: none;
    transition: background-color .16s ease, border-color .16s ease, color .16s ease;
    width: 36px;
}

.sc-icon-action i {
    font-size: 18px;
    line-height: 1;
}

.sc-icon-action:hover {
    background: #eef2ff;
    border-color: #aeb8ef;
    color: #3847a8;
}

.sc-icon-action:focus-visible {
    box-shadow: 0 0 0 3px rgba(63, 81, 181, .2);
    outline: 2px solid #3f51b5;
    outline-offset: 2px;
}

.sc-icon-action.is-disabled {
    background: #f8fafc;
    color: #b5becb;
    cursor: not-allowed;
}

.sc-transcript-workspace {
    max-width: 1180px;
}

.sc-transcript-toolbar {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
}

.sc-transcript {
    background: #fff;
    border: 1px solid var(--sc-line);
    border-radius: 12px;
    box-shadow: 0 16px 42px rgba(30, 41, 59, .08);
    margin: 0 auto 32px;
    max-width: 980px;
    padding: clamp(28px, 5vw, 58px);
}

.sc-transcript__brand {
    align-items: center;
    border-bottom: 2px solid #4d57bd;
    display: flex;
    gap: 24px;
    justify-content: space-between;
    padding-bottom: 22px;
}

.sc-transcript__identity {
    align-items: center;
    display: flex;
    gap: 16px;
    min-width: 0;
}

.sc-transcript__identity img,
.sc-transcript__monogram {
    flex: 0 0 64px;
    height: 64px;
    object-fit: contain;
    width: 64px;
}

.sc-transcript__monogram {
    align-items: center;
    background: #4d57bd;
    color: #fff;
    display: inline-flex;
    font-family: ui-serif, serif;
    font-size: 22px;
    font-weight: 700;
    justify-content: center;
}

.sc-transcript__identity strong {
    color: #17213f;
    display: block;
    font-family: ui-serif, serif;
    font-size: clamp(20px, 2.4vw, 27px);
    line-height: 1.2;
}

.sc-transcript__identity span {
    color: var(--sc-muted);
    display: block;
    font-size: 12px;
    margin-top: 4px;
}

.sc-transcript__brand address {
    color: var(--sc-muted);
    font-size: 12px;
    line-height: 1.55;
    margin: 0;
    max-width: 300px;
    text-align: right;
}

.sc-transcript__brand address span {
    display: block;
}

.sc-transcript__title {
    padding: 34px 0 26px;
    text-align: center;
}

.sc-transcript__title > span {
    color: #4d57bd;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.sc-transcript__title h1 {
    color: #17213f;
    font-family: ui-serif, serif;
    font-size: clamp(30px, 4vw, 42px);
    font-weight: 500;
    margin: 7px 0 4px;
}

.sc-transcript__title p {
    color: var(--sc-muted);
    margin: 0;
}

.sc-transcript__facts {
    border-left: 1px solid var(--sc-line);
    border-top: 1px solid var(--sc-line);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0 0 28px;
}

.sc-transcript__facts > div {
    border-bottom: 1px solid var(--sc-line);
    border-right: 1px solid var(--sc-line);
    min-width: 0;
    padding: 14px 16px;
}

.sc-transcript__facts dt {
    color: var(--sc-muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
    margin-bottom: 4px;
    text-transform: uppercase;
}

.sc-transcript__facts dd {
    color: #17213f;
    font-size: 13px;
    font-weight: 650;
    margin: 0;
}

.sc-transcript__results {
    border: 1px solid var(--sc-line);
    border-radius: 7px;
}

.sc-transcript__results .table {
    margin: 0;
}

.sc-transcript__results thead th {
    background: #4d57bd;
    border-color: rgba(255, 255, 255, .2);
    color: #fff;
    font-size: 11px;
    letter-spacing: .04em;
    padding: 12px;
    text-transform: uppercase;
    white-space: nowrap;
}

.sc-transcript__results tbody td,
.sc-transcript__results tbody th {
    border-color: var(--sc-line);
    color: var(--sc-ink);
    padding: 13px 12px;
    vertical-align: middle;
}

.sc-transcript__results tbody tr:nth-child(even) {
    background: #f8fafc;
}

.sc-transcript__outcome {
    font-weight: 700;
}

.sc-transcript__footer {
    align-items: flex-start;
    border-top: 1px solid var(--sc-line);
    color: var(--sc-muted);
    display: flex;
    font-size: 11px;
    justify-content: space-between;
    margin-top: 24px;
    padding-top: 16px;
}

.sc-transcript__footer p:last-child {
    text-align: right;
}

.sc-transcript__note {
    background: #f7f8fc;
    border-left: 3px solid #4d57bd;
    color: var(--sc-muted);
    font-size: 11px;
    line-height: 1.6;
    margin: 18px 0 0;
    padding: 12px 14px;
}

@media (max-width: 767.98px) {
    .sc-transcript {
        border-radius: 8px;
        padding: 24px 18px;
    }

    .sc-transcript__brand,
    .sc-transcript__footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .sc-transcript__brand address,
    .sc-transcript__footer p:last-child {
        text-align: left;
    }

    .sc-transcript__facts {
        grid-template-columns: 1fr;
    }
}

.sc-roster-pagination {
    border-top: 1px solid var(--sc-line);
    padding: 1rem 1.25rem;
}

/* Delivery-run create and billing dialogs */
.sc-delivery-run-modal .modal-dialog {
    width: calc(100% - 40px);
    max-width: 1120px;
    height: calc(100% - 40px);
    max-height: calc(100vh - 40px);
    max-height: calc(100dvh - 40px);
    margin: 20px auto;
}

.sc-delivery-run-modal-edit .modal-dialog {
    max-width: 980px;
}

.sc-delivery-run-modal .modal-content {
    border: 1px solid rgba(148, 163, 184, .3);
    border-radius: 12px;
    box-shadow: 0 28px 80px rgba(30, 41, 59, .28), 0 3px 12px rgba(30, 41, 59, .1);
}

.sc-delivery-run-modal .modal-header {
    align-items: center;
    padding: 20px 24px;
    background: var(--sc-surface);
}

.sc-run-modal-heading {
    display: flex;
    min-width: 0;
    gap: 14px;
    align-items: center;
}

.sc-run-modal-icon {
    display: grid;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    color: #4549a2;
    background: #eef0ff;
    border: 1px solid #dfe2ff;
    border-radius: 10px;
    font-size: 21px;
    place-items: center;
}

.sc-run-modal-kicker {
    display: block;
    margin-bottom: 3px;
    color: #5156be;
    font-size: 10px;
    font-weight: 750;
    letter-spacing: .09em;
    line-height: 1.2;
    text-transform: uppercase;
}

.sc-delivery-run-modal .modal-title {
    font-size: 19px;
    font-weight: 720;
    letter-spacing: -.02em;
    line-height: 1.2;
    text-wrap: balance;
}

.sc-delivery-run-modal .modal-subtitle {
    max-width: 68ch;
    margin: 5px 24px 0 0;
    font-size: 12px;
    line-height: 1.45;
    text-wrap: pretty;
}

.sc-delivery-run-modal .btn-close {
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    padding: 0;
    background-color: var(--sc-surface-subtle);
    background-size: 11px;
    border: 1px solid var(--sc-line);
    border-radius: 8px;
    opacity: .72;
    transition: background-color .18s ease, border-color .18s ease, opacity .18s ease, transform .18s ease;
}

.sc-delivery-run-modal .btn-close:hover {
    background-color: #eef2f7;
    border-color: #cbd5e1;
    opacity: 1;
}

.sc-delivery-run-modal .btn-close:active {
    transform: scale(.96);
}

.sc-delivery-run-modal .btn-close:focus-visible {
    outline: 3px solid rgba(81, 86, 190, .22);
    outline-offset: 2px;
    box-shadow: none;
}

.sc-delivery-run-modal .modal-body {
    padding: 22px 24px 28px;
    background: #f3f6fa;
    scrollbar-gutter: stable;
}

.sc-run-modal-flow {
    display: grid;
    gap: 18px;
}

.sc-run-modal-section {
    overflow: hidden;
    background: var(--sc-surface);
    border: 1px solid #dfe6ee;
    border-radius: 10px;
    box-shadow: 0 1px 2px rgba(30, 41, 59, .035);
}

.sc-run-modal-section-head {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 16px 18px;
    border-bottom: 1px solid #e7ecf2;
}

.sc-run-modal-step {
    display: grid;
    width: 32px;
    height: 32px;
    color: #4549a2;
    background: #eef0ff;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .06em;
    place-items: center;
}

.sc-run-modal-section-head h3 {
    margin: 0;
    color: var(--sc-ink);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -.01em;
}

.sc-run-modal-section-head p {
    margin: 3px 0 0;
    color: var(--sc-muted);
    font-size: 11px;
    line-height: 1.45;
}

.sc-run-modal-section-body {
    padding: 18px;
}

.sc-run-modal-billing-grid {
    display: grid;
    gap: 18px;
}

.sc-delivery-run-modal .sc-label {
    margin-bottom: 7px;
    font-size: 11.5px;
    font-weight: 680;
}

.sc-delivery-run-modal .form-control,
.sc-delivery-run-modal .form-select {
    min-height: 41px;
    padding-block: 8px;
    background-color: #fff;
    border-color: #d7dee7;
    border-radius: 6px;
    font-size: 12px;
    transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.sc-delivery-run-modal .form-control:hover,
.sc-delivery-run-modal .form-select:hover {
    border-color: #b8c3d1;
}

.sc-delivery-run-modal .form-control:focus,
.sc-delivery-run-modal .form-select:focus {
    border-color: #656ac5;
    box-shadow: 0 0 0 3px rgba(81, 86, 190, .13);
}

.sc-delivery-run-modal .sc-billing-mode {
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
}

.sc-delivery-run-modal .sc-billing-mode-options {
    gap: 12px;
}

.sc-delivery-run-modal .sc-billing-mode-option {
    min-height: 96px;
    padding: 15px 16px;
    border-color: #d7dee7;
    border-radius: 8px;
    box-shadow: 0 1px 1px rgba(30, 41, 59, .025);
}

.sc-delivery-run-modal .sc-billing-mode-option:hover {
    border-color: #9aa0df;
    background: #fafaff;
}

.sc-delivery-run-modal .sc-billing-mode-option:has(.form-check-input:checked) {
    border-color: #656ac5;
    background: #f1f2ff;
    box-shadow: 0 0 0 3px rgba(81, 86, 190, .09);
}

.sc-delivery-run-modal .sc-billing-mode-option strong {
    font-size: 12.5px;
}

.sc-delivery-run-modal .sc-billing-mode-option small,
.sc-delivery-run-modal .sc-billing-mode > .sc-help {
    font-size: 11px;
    line-height: 1.5;
}

.sc-delivery-run-modal .sc-billing-mode > .sc-help {
    margin-top: 11px;
}

.sc-delivery-run-modal .sc-billing-disclosure {
    border-color: #dbe3ec;
    border-radius: 9px;
}

.sc-delivery-run-modal .sc-billing-disclosure-head {
    min-height: 62px;
    padding: 13px 15px 13px 17px;
    background: #f8fafc;
}

.sc-delivery-run-modal .sc-billing-disclosure-head h3 {
    font-size: 13px;
}

.sc-delivery-run-modal .sc-billing-disclosure [data-sc-billing-panel] {
    padding: 18px;
}

.sc-delivery-run-modal .sc-setting-check {
    padding: 13px 15px 13px 40px;
    border-color: #dbe3ec;
    border-radius: 7px;
}

.sc-delivery-run-modal .sc-setting-check .form-check-label span {
    margin-top: 3px;
    color: var(--sc-muted);
    font-size: 11px;
    line-height: 1.45;
}

.sc-delivery-run-modal .sc-fee-lines {
    margin-top: 20px;
    padding-top: 18px;
}

.sc-delivery-run-modal .sc-fee-lines-head strong {
    color: var(--sc-ink);
    font-size: 13px;
}

.sc-delivery-run-modal .sc-fee-line {
    margin-top: 13px;
    padding: 15px;
    background: #f8fafc;
    border-color: #dbe3ec;
    border-radius: 8px;
}

.sc-delivery-run-modal .sc-fee-line-title {
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e2e8f0;
}

.sc-delivery-run-modal .modal-footer {
    display: flex;
    gap: 18px;
    align-items: center;
    justify-content: space-between;
    padding: 14px 24px;
    background: var(--sc-surface);
}

.sc-run-modal-footer-note {
    display: flex;
    max-width: 54ch;
    gap: 8px;
    align-items: center;
    margin: 0;
    color: var(--sc-muted);
    font-size: 10.5px;
    line-height: 1.4;
}

.sc-run-modal-footer-note i {
    flex: 0 0 auto;
    color: #656ac5;
    font-size: 16px;
}

.sc-run-modal-footer-actions {
    display: flex;
    flex: 0 0 auto;
    gap: 9px;
    align-items: center;
}

.sc-delivery-run-modal .modal-footer .btn {
    min-height: 39px;
    padding-inline: 16px;
    border-radius: 6px;
}

.sc-delivery-run-modal .modal-footer .btn-light {
    background: #fff;
    border-color: #d7dee7;
    box-shadow: none;
}

.sc-delivery-run-modal .modal-footer .btn-light:hover {
    background: #f4f6f9;
    border-color: #b8c3d1;
}

body[data-layout-mode="dark"].is-short-courses-module .sc-delivery-run-modal .modal-body {
    background: #1f262e;
}

body[data-layout-mode="dark"].is-short-courses-module .sc-delivery-run-modal .modal-content,
body[data-layout-mode="dark"].is-short-courses-module .sc-run-modal-section {
    border-color: var(--sc-line);
}

body[data-layout-mode="dark"].is-short-courses-module .sc-run-modal-section-head {
    border-color: var(--sc-line);
}

body[data-layout-mode="dark"].is-short-courses-module .sc-run-modal-icon,
body[data-layout-mode="dark"].is-short-courses-module .sc-run-modal-step {
    color: #c7d2fe;
    background: #373b68;
    border-color: #4c5182;
}

body[data-layout-mode="dark"].is-short-courses-module .sc-run-modal-kicker,
body[data-layout-mode="dark"].is-short-courses-module .sc-run-modal-footer-note i {
    color: #c7d2fe;
}

body[data-layout-mode="dark"].is-short-courses-module .sc-delivery-run-modal .form-control,
body[data-layout-mode="dark"].is-short-courses-module .sc-delivery-run-modal .form-select {
    color: var(--sc-ink);
    background-color: #1d252d;
    border-color: var(--sc-line);
}

body[data-layout-mode="dark"].is-short-courses-module .sc-delivery-run-modal .sc-billing-mode-option:hover,
body[data-layout-mode="dark"].is-short-courses-module .sc-delivery-run-modal .sc-billing-disclosure-head,
body[data-layout-mode="dark"].is-short-courses-module .sc-delivery-run-modal .sc-fee-line {
    background: var(--sc-surface-subtle);
}

body[data-layout-mode="dark"].is-short-courses-module .sc-delivery-run-modal .sc-billing-mode-option:has(.form-check-input:checked) {
    background: var(--sc-selected-surface);
}

body[data-layout-mode="dark"].is-short-courses-module .sc-delivery-run-modal .sc-fee-line-title {
    border-color: var(--sc-line);
}

body[data-layout-mode="dark"].is-short-courses-module .sc-delivery-run-modal .modal-footer .btn-light {
    color: var(--sc-ink);
    background: var(--sc-surface-subtle);
    border-color: var(--sc-line) !important;
}

@media (min-width: 992px) {
    .sc-delivery-run-modal-create .sc-run-details-grid,
    .sc-delivery-run-modal .sc-billing-disclosure [data-sc-billing-panel] > .sc-form-grid,
    .sc-delivery-run-modal .sc-fee-line .sc-form-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .sc-delivery-run-modal .modal-dialog {
        width: calc(100% - 16px);
        height: calc(100% - 16px);
        max-height: calc(100vh - 16px);
        max-height: calc(100dvh - 16px);
        margin: 8px auto;
    }

    .sc-delivery-run-modal .modal-header {
        padding: 15px 16px;
    }

    .sc-run-modal-heading {
        gap: 10px;
    }

    .sc-run-modal-icon {
        flex-basis: 36px;
        width: 36px;
        height: 36px;
        border-radius: 8px;
        font-size: 18px;
    }

    .sc-delivery-run-modal .modal-title {
        font-size: 17px;
    }

    .sc-delivery-run-modal .modal-subtitle {
        margin-right: 8px;
    }

    .sc-delivery-run-modal .modal-body {
        padding: 14px 14px 20px;
    }

    .sc-run-modal-flow {
        gap: 14px;
    }

    .sc-run-modal-section-head {
        padding: 13px 14px;
    }

    .sc-run-modal-section-body,
    .sc-delivery-run-modal .sc-billing-disclosure [data-sc-billing-panel] {
        padding: 14px;
    }

    .sc-delivery-run-modal .modal-footer {
        align-items: stretch;
        flex-direction: column;
        padding: 12px 14px;
    }

    .sc-run-modal-footer-note {
        max-width: none;
    }

    .sc-run-modal-footer-actions {
        width: 100%;
    }

    .sc-run-modal-footer-actions .btn {
        flex: 1 1 auto;
    }
}

@media (max-width: 575.98px) {
    .sc-delivery-run-modal .sc-form-grid,
    .sc-delivery-run-modal .sc-billing-mode-options {
        grid-template-columns: 1fr;
    }

    .sc-run-modal-kicker,
    .sc-run-modal-footer-note {
        display: none;
    }

    .sc-delivery-run-modal .sc-billing-disclosure-head,
    .sc-delivery-run-modal .sc-fee-lines-head {
        align-items: stretch;
    }
}

@media (max-width: 1399.98px) {
    .sc-roster .sc-filter-bar {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .sc-roster .sc-filter-bar .is-wide {
        grid-column: span 2;
    }
}

@media (max-width: 767.98px) {
    .sc-roster .sc-filter-bar,
    .sc-roster .sc-filter-bar .is-wide {
        grid-column: 1;
        grid-template-columns: 1fr;
    }
}

/* Student short-course run picker */
.sc-run-picker {
    max-width: 1180px;
}

.sc-run-picker-header {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 18px;
    padding: 4px 2px 0;
}

.sc-run-picker-title {
    min-width: 0;
}

.sc-run-picker-title .sc-eyebrow {
    margin-bottom: 8px;
    color: var(--sc-primary-dark);
}

.sc-run-picker-title h1 {
    margin: 0;
    color: var(--sc-ink);
    font-size: clamp(24px, 2.1vw, 32px);
    font-weight: 720;
    letter-spacing: -.025em;
    line-height: 1.2;
    text-wrap: balance;
}

.sc-run-picker-title > p {
    max-width: 64ch;
    margin: 7px 0 0;
    color: var(--sc-muted);
    font-size: 14px;
    line-height: 1.5;
}

.sc-run-picker-title > p strong {
    color: var(--sc-ink-soft);
    font-weight: 650;
}

.sc-run-picker-back {
    flex: 0 0 auto;
}

.sc-run-picker-context {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    margin-bottom: 18px;
    padding: 13px 16px;
    color: var(--sc-ink-soft);
    background: var(--sc-selected-surface);
    border: 1px solid color-mix(in srgb, var(--sc-primary) 22%, var(--sc-line));
    border-radius: 6px;
}

.sc-run-picker-context-icon {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    color: var(--sc-primary-dark);
    background: var(--sc-surface);
    border: 1px solid color-mix(in srgb, var(--sc-primary) 18%, var(--sc-line));
    border-radius: 50%;
    font-size: 18px;
}

.sc-run-picker-context strong {
    display: block;
    color: var(--sc-ink);
    font-size: 13px;
    font-weight: 700;
}

.sc-run-picker-context p {
    margin: 2px 0 0;
    color: var(--sc-muted);
    font-size: 12px;
    line-height: 1.45;
}

.sc-run-picker-panel {
    box-shadow: 0 8px 26px rgba(27, 45, 72, .06);
}

.sc-run-picker-panel > .sc-panel-head {
    padding: 19px 22px;
}

.sc-run-picker-panel > .sc-panel-body {
    padding: 22px;
}

.sc-run-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 9px;
    align-items: center;
    margin-bottom: 28px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--sc-line);
}

.sc-run-search-field {
    position: relative;
    display: block;
    min-width: 0;
}

.sc-run-search-field > i {
    position: absolute;
    top: 50%;
    left: 14px;
    z-index: 1;
    color: var(--sc-muted);
    font-size: 17px;
    transform: translateY(-50%);
    pointer-events: none;
}

.sc-run-search-field .form-control {
    min-height: 42px;
    padding-left: 42px;
    color: var(--sc-ink);
    background: var(--sc-surface);
    border-color: var(--sc-line);
}

.sc-run-search-field .form-control:focus {
    border-color: color-mix(in srgb, var(--sc-primary) 55%, var(--sc-line));
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--sc-primary) 12%, transparent);
}

.sc-run-picker .sc-choice-list {
    grid-template-columns: 1fr;
    gap: 14px;
}

.sc-run-picker .sc-choice-group-head {
    align-items: center;
    margin-bottom: 14px;
}

.sc-run-picker .sc-choice-group-head h3 {
    display: flex;
    gap: 7px;
    align-items: center;
    font-size: 14px;
}

.sc-run-picker .sc-choice-group-head h3 i {
    color: var(--sc-success);
    font-size: 17px;
}

.sc-run-picker .sc-choice-group.is-attention .sc-choice-group-head h3 i {
    color: var(--sc-warning);
}

.sc-run-picker .sc-run-choice {
    position: relative;
    overflow: hidden;
    padding: 20px 22px 18px;
    border-radius: 6px;
    box-shadow: 0 3px 12px rgba(27, 45, 72, .045);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.sc-run-picker .sc-run-choice::before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 3px;
    content: "";
    background: var(--sc-success);
}

.sc-run-picker .sc-run-choice.is-attention::before {
    background: var(--sc-warning);
}

.sc-run-picker .sc-run-choice.is-unavailable::before {
    background: var(--sc-muted);
}

.sc-run-picker .sc-run-choice:hover {
    border-color: color-mix(in srgb, var(--sc-primary) 28%, var(--sc-line));
    box-shadow: 0 10px 24px rgba(27, 45, 72, .08);
    transform: translateY(-1px);
}

.sc-run-picker .sc-run-choice-code {
    margin-bottom: 6px;
}

.sc-run-picker .sc-run-choice h3 {
    font-size: 18px;
    letter-spacing: -.012em;
    line-height: 1.3;
}

.sc-run-choice-title {
    margin: 4px 0 0;
    color: var(--sc-muted);
    font-size: 12px;
    line-height: 1.45;
}

.sc-run-picker .sc-run-choice-facts {
    margin: 18px 0 14px;
    padding: 14px 0;
}

.sc-run-picker .sc-run-choice-facts dt {
    display: flex;
    gap: 5px;
    align-items: center;
}

.sc-run-picker .sc-run-choice-facts dt i {
    color: var(--sc-primary-dark);
    font-size: 13px;
}

.sc-run-picker .sc-run-choice-facts dd {
    color: var(--sc-ink-soft);
    font-weight: 550;
}

.sc-run-picker .sc-run-choice-decision {
    background: color-mix(in srgb, var(--sc-warning) 4%, var(--sc-surface-subtle));
    border-color: color-mix(in srgb, var(--sc-warning) 18%, var(--sc-line));
}

.sc-run-picker .sc-run-choice-actions {
    justify-content: space-between;
    padding-top: 16px;
}

.sc-run-picker .sc-run-choice-actions .btn-link {
    color: var(--sc-ink-soft);
    text-decoration: none;
}

.sc-run-picker .sc-run-choice-actions .btn-link:hover {
    color: var(--sc-primary-dark);
}

body[data-layout-mode="dark"].is-short-courses-module .sc-run-search-field .form-control {
    color: var(--sc-ink);
    background: var(--sc-surface-subtle);
    border-color: var(--sc-line);
}

@media (prefers-reduced-motion: reduce) {
    .sc-run-picker .sc-run-choice {
        transition: none;
    }
}

@media (max-width: 767.98px) {
    .sc-run-picker-header {
        align-items: stretch;
        flex-direction: column;
        gap: 14px;
    }

    .sc-run-picker-back {
        align-self: flex-start;
    }

    .sc-run-search {
        grid-template-columns: 1fr;
    }

    .sc-run-search .btn {
        width: 100%;
    }

    .sc-run-picker-panel > .sc-panel-head,
    .sc-run-picker-panel > .sc-panel-body,
    .sc-run-picker .sc-run-choice {
        padding-right: 16px;
        padding-left: 16px;
    }

    .sc-run-picker .sc-run-choice-main {
        align-items: flex-start;
        flex-direction: column-reverse;
        gap: 10px;
    }

    .sc-run-picker .sc-run-choice-actions {
        align-items: stretch;
        flex-direction: column;
    }
}

/* Eligibility chooser and governed schedule correction */
.sc-choice-group {
    margin-top: 24px;
}

.sc-choice-group:first-of-type {
    margin-top: 0;
}

.sc-choice-group-head {
    display: flex;
    gap: 16px;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 12px;
}

.sc-choice-group-head h3 {
    margin: 0;
    color: var(--sc-ink);
    font-size: 15px;
    font-weight: 700;
}

.sc-choice-group-head p,
.sc-choice-group summary small {
    display: block;
    margin: 3px 0 0;
    color: var(--sc-muted);
    font-size: 12px;
    font-weight: 400;
}

.sc-choice-group-head > span,
.sc-choice-count {
    display: inline-flex;
    min-width: 28px;
    min-height: 28px;
    align-items: center;
    justify-content: center;
    padding: 4px 8px;
    color: var(--sc-ink-soft);
    background: var(--sc-surface-subtle);
    border: 1px solid var(--sc-line);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 750;
}

.sc-choice-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr));
    gap: 12px;
}

.sc-run-choice {
    display: flex;
    min-width: 0;
    flex-direction: column;
    padding: 16px;
    background: var(--sc-surface);
    border: 1px solid var(--sc-line);
    border-radius: 5px;
}

.sc-run-choice.is-attention {
    border-color: color-mix(in srgb, var(--sc-warning) 45%, var(--sc-line));
}

.sc-run-choice.is-unavailable {
    background: var(--sc-surface-subtle);
}

.sc-run-choice-main {
    display: flex;
    min-width: 0;
    gap: 14px;
    align-items: flex-start;
    justify-content: space-between;
}

.sc-run-choice-main > div {
    min-width: 0;
}

.sc-run-choice-code {
    margin: 0 0 4px;
    color: var(--sc-primary-dark);
    font-size: 11px;
    font-weight: 750;
    letter-spacing: .035em;
    text-transform: uppercase;
}

.sc-run-choice h3 {
    margin: 0 0 3px;
    color: var(--sc-ink);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
}

.sc-run-choice-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 16px 0;
    padding: 13px 0;
    border-top: 1px solid var(--sc-line);
    border-bottom: 1px solid var(--sc-line);
}

.sc-run-choice-facts dt,
.sc-receipt-grid dt {
    margin-bottom: 3px;
    color: var(--sc-muted);
    font-size: 10px;
    font-weight: 750;
    letter-spacing: .035em;
    text-transform: uppercase;
}

.sc-run-choice-facts dd,
.sc-receipt-grid dd {
    margin: 0;
    color: var(--sc-ink-soft);
    font-size: 12px;
    line-height: 1.45;
}

.sc-run-choice-decision,
.sc-action-explanation {
    display: flex;
    gap: 9px;
    align-items: flex-start;
    padding: 11px 12px;
    color: var(--sc-ink-soft);
    background: var(--sc-surface-subtle);
    border: 1px solid var(--sc-line);
    border-radius: 4px;
    font-size: 12px;
    line-height: 1.45;
}

.sc-run-choice-decision i,
.sc-action-explanation i {
    flex: 0 0 auto;
    margin-top: 1px;
    color: var(--sc-primary-dark);
    font-size: 17px;
}

.sc-run-choice-decision strong,
.sc-action-explanation strong {
    display: block;
    margin-bottom: 2px;
    color: var(--sc-ink);
}

.sc-run-choice-decision p,
.sc-action-explanation p {
    margin: 0;
}

.sc-run-choice-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    align-items: center;
    margin-top: auto;
    padding-top: 14px;
}

.sc-choice-group > summary {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
    padding: 13px 14px;
    color: var(--sc-ink);
    background: var(--sc-surface-subtle);
    border: 1px solid var(--sc-line);
    border-radius: 5px;
    cursor: pointer;
}

.sc-choice-group > summary:focus-visible {
    outline: 2px solid var(--sc-primary);
    outline-offset: 3px;
}

.sc-action-explanation {
    margin: -8px 0 20px;
}

.sc-action-explanation.is-attention {
    background: color-mix(in srgb, var(--sc-warning) 8%, var(--sc-surface));
    border-color: color-mix(in srgb, var(--sc-warning) 35%, var(--sc-line));
}

.sc-action-explanation.is-blocked {
    background: color-mix(in srgb, var(--sc-danger) 6%, var(--sc-surface));
    border-color: color-mix(in srgb, var(--sc-danger) 28%, var(--sc-line));
}

.sc-schedule-current {
    position: relative;
    z-index: 1;
    display: grid;
    flex: 0 1 390px;
    gap: 4px;
    padding-inline-start: 24px;
    border-inline-start: 1px solid rgba(255, 255, 255, .28);
    color: #fff;
}

.sc-schedule-current span,
.sc-schedule-current small {
    color: rgba(255, 255, 255, .76);
    font-size: 11px;
}

.sc-schedule-current span {
    font-weight: 750;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.sc-schedule-current strong {
    font-size: 15px;
}

.sc-schedule-correction .sc-form-grid .is-full {
    grid-column: 1 / -1;
}

.sc-schedule-correction .sc-field-help {
    color: var(--sc-muted);
}

.sc-impact-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 8px;
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
}

.sc-impact-list li {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    color: var(--sc-ink-soft);
    background: var(--sc-surface-subtle);
    border: 1px solid var(--sc-line);
    border-radius: 4px;
    font-size: 12px;
}

.sc-impact-list strong {
    color: var(--sc-danger);
}

.sc-impact-metrics,
.sc-receipt-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    margin: 12px 0 0;
    border: 1px solid var(--sc-line);
    border-radius: 4px;
}

.sc-impact-metrics > div,
.sc-receipt-grid > div {
    min-width: 0;
    padding: 12px 14px;
    border-inline-end: 1px solid var(--sc-line);
}

.sc-impact-metrics > div:last-child,
.sc-receipt-grid > div:last-child {
    border-inline-end: 0;
}

.sc-impact-metrics dt {
    color: var(--sc-muted);
    font-size: 11px;
    font-weight: 650;
}

.sc-impact-metrics dd {
    margin: 4px 0 0;
    color: var(--sc-ink);
    font-size: 18px;
    font-weight: 750;
}

.sc-danger-confirm {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 20px;
    align-items: end;
    padding: 16px;
    background: color-mix(in srgb, var(--sc-danger) 5%, var(--sc-surface));
    border: 1px solid color-mix(in srgb, var(--sc-danger) 32%, var(--sc-line));
    border-radius: 5px;
}

.sc-danger-confirm h3 {
    margin: 0 0 4px;
    color: var(--sc-ink);
    font-size: 15px;
}

.sc-danger-confirm > div > p {
    margin: 0 0 12px;
    color: var(--sc-muted);
    font-size: 12px;
}

.sc-receipt-grid code {
    overflow-wrap: anywhere;
    color: var(--sc-ink-soft);
    font-size: 10px;
}

@media (max-width: 991.98px) {
    .sc-run-choice-facts,
    .sc-impact-metrics,
    .sc-receipt-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sc-impact-metrics > div:nth-child(2),
    .sc-receipt-grid > div:nth-child(2) {
        border-inline-end: 0;
    }

    .sc-impact-metrics > div:nth-child(-n+2),
    .sc-receipt-grid > div:nth-child(-n+2) {
        border-bottom: 1px solid var(--sc-line);
    }
}

@media (max-width: 767.98px) {
    .sc-schedule-current {
        width: 100%;
        flex-basis: auto;
        padding: 14px 0 0;
        border-top: 1px solid rgba(255, 255, 255, .28);
        border-inline-start: 0;
    }

    .sc-run-choice-facts,
    .sc-impact-metrics,
    .sc-receipt-grid,
    .sc-danger-confirm {
        grid-template-columns: 1fr;
    }

    .sc-impact-metrics > div,
    .sc-receipt-grid > div,
    .sc-impact-metrics > div:nth-child(2),
    .sc-receipt-grid > div:nth-child(2) {
        border-inline-end: 0;
        border-bottom: 1px solid var(--sc-line);
    }

    .sc-impact-metrics > div:last-child,
    .sc-receipt-grid > div:last-child {
        border-bottom: 0;
    }

    .sc-danger-confirm .btn,
    .sc-run-choice-actions .btn:not(.btn-link) {
        width: 100%;
    }
}
.sc-nationality-select { position: relative; }
.sc-nationality-select::after {
    content: "";
    position: absolute;
    top: 16px;
    right: 16px;
    width: 7px;
    height: 7px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    pointer-events: none;
}
.sc-nationality-select .form-control { padding-right: 36px; }
.sc-nationality-options {
    position: absolute;
    z-index: 20;
    inset: 100% 0 auto;
    max-height: 240px;
    overflow-y: auto;
    background: var(--sc-surface, #fff);
    color: var(--sc-ink, #212529);
    border: 1px solid var(--sc-intake-border, #d8e2ec);
    border-radius: 6px;
    box-shadow: 0 8px 20px rgb(17 34 53 / 12%);
}
.sc-nationality-option { padding: 10px 12px; cursor: pointer; }
.sc-nationality-option:hover,
.sc-nationality-option.is-active { background: var(--bs-primary, #5156be); color: #fff; }
.sc-nationality-select:has(.is-invalid) ~ .invalid-feedback { display: block; }
