:root {
    /* Shopware brand, taken from shopwareit.com */
    --sw-yellow: #ffcc00;
    --sw-yellow-dark: #e6b800;
    --sw-black: #0a0a0a;
    --sw-ink: #1d1d1b;
    --sw-grey: #666666;
    --sw-grey-light: #9a9a95;
    --sw-stone: #ededeb;
    --sw-stone-dark: #dededb;
    --sw-surface: #ffffff;
    --sw-bg: #f6f6f4;
    --sw-success: #2e7d32;
    --sw-danger: #b3261e;
    --sw-radius: 4px;
    --sw-header-h: 80px;
    --sw-font: 'Gotham', 'Montserrat', Helvetica, Arial, sans-serif;

    --bs-body-font-family: var(--sw-font);
    --bs-body-color: var(--sw-ink);
    --bs-body-bg: var(--sw-bg);
    --bs-link-color: var(--sw-ink);
    --bs-link-color-rgb: 29, 29, 27;
    --bs-link-hover-color: #000;
    --bs-link-hover-color-rgb: 0, 0, 0;
    --bs-border-radius: var(--sw-radius);
}

html, body {
    font-family: var(--sw-font);
    background: var(--sw-bg);
    color: var(--sw-ink);
}

h1, h2, h3, h4, h5 {
    font-weight: 700;
    letter-spacing: -0.01em;
}

h1:focus {
    outline: none;
}

a {
    text-underline-offset: 3px;
}

/* ---------- Buttons & forms ---------- */
.btn {
    font-weight: 600;
    border-radius: var(--sw-radius);
    padding: .55rem 1.25rem;
}

.btn-sm {
    padding: .3rem .75rem;
}

.btn-primary, .btn-primary:disabled {
    color: var(--sw-black);
    background-color: var(--sw-yellow);
    border-color: var(--sw-yellow);
}

    .btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active {
        color: var(--sw-black) !important;
        background-color: var(--sw-yellow-dark) !important;
        border-color: var(--sw-yellow-dark) !important;
    }

.btn-dark {
    background: var(--sw-black);
    border-color: var(--sw-black);
}

.btn-outline-dark {
    border-width: 2px;
}

.btn-link {
    color: var(--sw-ink);
}

.btn:focus-visible, .form-control:focus, .form-select:focus, .form-check-input:focus {
    box-shadow: 0 0 0 .2rem rgba(255, 204, 0, .45);
    border-color: var(--sw-yellow-dark);
}

.form-check-input:checked {
    background-color: var(--sw-black);
    border-color: var(--sw-black);
}

.validation-message {
    color: var(--sw-danger);
}

.invalid {
    outline: 1px solid var(--sw-danger);
}

/* Floating labels already name the field; the template's placeholders collide with them. */
.form-floating > .form-control::placeholder {
    color: transparent;
}

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

/* ---------- Header (v4 landing mockup) ---------- */
.sw-header {
    background: #0B0B0B;
    border-bottom: 1px solid #1F1F1F;
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 1030;
}

    .sw-header .container-xl {
        display: flex;
        align-items: center;
        gap: 32px;
        min-height: var(--sw-header-h);
    }

.sw-logo {
    display: block;
    flex: none;
    margin-right: auto;
}

    .sw-logo img {
        height: 44px;
        width: auto;
        display: block;
    }

.sw-nav, .sw-account {
    display: flex;
    gap: 6px;
    align-items: center;
}

.sw-account {
    gap: 10px;
}

    .sw-account form {
        margin: 0;
    }

    .sw-nav a, .sw-account a, .sw-account button {
        height: 44px;
        padding: 0 16px;
        border-radius: 6px;
        display: inline-flex;
        align-items: center;
        color: #E5E5E5;
        background: none;
        border: 0;
        font-size: 13px;
        font-weight: 600;
        text-decoration: none;
        white-space: nowrap;
        transition: background .15s, color .15s, transform .12s;
    }

        .sw-nav a:hover, .sw-account a:hover, .sw-account button:hover {
            background: #1E1E1E;
            color: #fff;
        }

        .sw-nav a.active, .sw-account a.active {
            background: #1E1E1E;
            color: var(--sw-yellow);
        }

        .sw-nav a:active, .sw-account a:active, .sw-account button:active {
            transform: scale(.97);
        }

    /* The signed-in user's name (an email for most); long ones are cut short. */
    .sw-account a[href="Account/Manage"] {
        display: inline-block;
        line-height: 44px;
        max-width: 240px;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .sw-account a.sw-register {
        padding: 0 24px;
        border-radius: 999px;
        background: var(--sw-yellow);
        color: #000;
        font-weight: 700;
    }

        .sw-account a.sw-register:hover {
            background: #FFD83D;
            color: #000;
        }

.sw-header a:focus-visible, .sw-header button:focus-visible, .sw-menu-toggle:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

.sw-sep {
    width: 1px;
    height: 28px;
    background: #333;
    flex: none;
}

.sw-menu-toggle {
    display: none;
}

@media (max-width: 860px) {
    :root {
        --sw-header-h: 68px;
    }

    .sw-header .container-xl {
        flex-wrap: wrap;
        gap: 0 12px;
    }

    .sw-logo {
        height: var(--sw-header-h);
        display: flex;
        align-items: center;
    }

        .sw-logo img {
            height: 34px;
        }

    .sw-sep {
        display: none;
    }

    .sw-menu-toggle {
        display: inline-flex;
        align-items: center;
        height: 40px;
        padding: 0 16px;
        border: 1px solid #444;
        border-radius: 999px;
        color: #fff;
        font-size: 13px;
        font-weight: 600;
        cursor: pointer;
        user-select: none;
    }

    #sw-menu:checked ~ .sw-menu-toggle {
        background: #1E1E1E;
        border-color: #1E1E1E;
        color: var(--sw-yellow);
    }

    .sw-nav, .sw-account {
        display: none;
        flex-basis: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
    }

    #sw-menu:checked ~ .sw-nav {
        display: flex;
        padding-bottom: 8px;
    }

    #sw-menu:checked ~ .sw-account {
        display: flex;
        border-top: 1px solid #1F1F1F;
        padding: 10px 0 14px;
    }

        .sw-nav a, .sw-account a, .sw-account button, .sw-account a[href="Account/Manage"] {
            width: 100%;
            max-width: none;
        }

        .sw-account a.sw-register {
            justify-content: center;
            margin-top: 6px;
        }
}

/* ---------- Page structure ---------- */
.sw-main {
    min-height: calc(100vh - var(--sw-header-h) - 110px);
}

.sw-page {
    padding-top: 2.5rem;
    padding-bottom: 3rem;
}

/* ---------- Hero ---------- */
.sw-hero {
    background: var(--sw-black);
    color: #fff;
    padding: 3.5rem 0 4rem;
    position: relative;
    overflow: hidden;
}

    .sw-hero::after {
        content: "";
        position: absolute;
        right: -80px;
        top: -60px;
        width: 460px;
        height: 400px;
        background: url(img/shopware-hexagon.svg) no-repeat center / contain;
        opacity: .07;
        pointer-events: none;
    }

    .sw-hero .container-xl {
        position: relative;
        z-index: 1;
    }

.sw-eyebrow {
    color: var(--sw-yellow);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    margin-bottom: .75rem;
}

.sw-hero h1 {
    font-size: clamp(1.8rem, 4vw, 2.9rem);
    font-weight: 800;
    max-width: 22ch;
}

    .sw-hero h1 em {
        color: var(--sw-yellow);
        font-style: normal;
    }

.sw-hero p {
    color: #cfcfca;
    max-width: 60ch;
    font-size: 1.05rem;
}

.sw-hero-image {
    width: 100%;
    max-height: 260px;
    object-fit: cover;
    border-radius: var(--sw-radius);
    border: 1px solid #222;
}

.sw-section-title {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

    .sw-section-title h2 {
        font-size: 1.3rem;
        margin: 0;
        padding-left: .75rem;
        border-left: 4px solid var(--sw-yellow);
    }

/* Floating labels stay on one line; on a phone a long one is cut short instead of widening the page. */
.form-floating > label {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ---------- Cards ---------- */
.sw-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.25rem;
}

.sw-card {
    background: var(--sw-surface);
    border: 1px solid var(--sw-stone-dark);
    border-radius: var(--sw-radius);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    transition: transform .15s ease, box-shadow .15s ease;
}

a.sw-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(10, 10, 10, .08);
    color: inherit;
}

.sw-card-img {
    aspect-ratio: 16 / 7;
    width: 100%;
    display: block;
    object-fit: cover;
    background: var(--sw-black) url(img/shopware-hexagon.svg) no-repeat center / 44px;
}

.sw-card-body {
    padding: 1rem 1.1rem 1.2rem;
    display: flex;
    flex-direction: column;
    gap: .45rem;
    flex: 1;
}

    .sw-card-body h3 {
        font-size: 1rem;
        margin: 0;
    }

    .sw-card-body p {
        font-size: .875rem;
        color: var(--sw-grey);
        margin: 0;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

.sw-card-foot {
    margin-top: auto;
    padding-top: .5rem;
}

.sw-meta {
    font-size: .72rem;
    color: var(--sw-grey);
    text-transform: uppercase;
    letter-spacing: .06em;
    font-weight: 600;
}

.sw-panel {
    background: var(--sw-surface);
    border: 1px solid var(--sw-stone-dark);
    border-radius: var(--sw-radius);
    padding: 1.5rem;
}

.sw-empty {
    background: var(--sw-surface);
    border: 1px dashed var(--sw-stone-dark);
    border-radius: var(--sw-radius);
    padding: 2rem;
    text-align: center;
    color: var(--sw-grey);
}

.sw-badge {
    display: inline-block;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: .2rem .5rem;
    border-radius: 2px;
    background: var(--sw-stone);
    color: var(--sw-ink);
    white-space: nowrap;
}

    .sw-badge.yellow {
        background: var(--sw-yellow);
        color: var(--sw-black);
    }

    .sw-badge.success {
        background: #e3f1e4;
        color: var(--sw-success);
    }

    .sw-badge.danger {
        background: #fbe9e7;
        color: var(--sw-danger);
    }

    .sw-badge.dark {
        background: var(--sw-black);
        color: #fff;
    }

/* ---------- Progress ---------- */
.sw-progress {
    height: 6px;
    background: var(--sw-stone);
    border-radius: 3px;
    overflow: hidden;
}

    .sw-progress > span {
        display: block;
        height: 100%;
        background: var(--sw-yellow);
    }

.sw-stat {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1;
}

.sw-stat-label {
    font-size: .72rem;
    color: var(--sw-grey);
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 600;
    margin-top: .35rem;
}

/* ---------- Course player ---------- */
.sw-player {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    min-height: calc(100vh - var(--sw-header-h));
}

.sw-outline {
    background: var(--sw-surface);
    border-right: 1px solid var(--sw-stone-dark);
    overflow-y: auto;
    max-height: calc(100vh - var(--sw-header-h));
    position: sticky;
    top: var(--sw-header-h);
    padding-bottom: 2rem;
}

.sw-outline-head {
    padding: 1.25rem;
    border-bottom: 1px solid var(--sw-stone);
}

    .sw-outline-head h2 {
        font-size: 1rem;
        margin: 0 0 .9rem;
    }

    .sw-outline-head .sw-meta {
        display: flex;
        justify-content: space-between;
        align-items: baseline;
        margin-top: .5rem;
    }

.sw-outline-chapter {
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--sw-grey);
    padding: 1.1rem 1.25rem .3rem;
}

.sw-outline-section {
    font-weight: 700;
    font-size: .84rem;
    padding: .55rem 1.25rem .2rem;
}

.sw-outline a {
    display: flex;
    gap: .6rem;
    align-items: flex-start;
    padding: .42rem 1.25rem .42rem 1.6rem;
    font-size: .84rem;
    text-decoration: none;
    color: var(--sw-ink);
    border-left: 3px solid transparent;
}

    .sw-outline a:hover {
        background: var(--sw-bg);
    }

    .sw-outline a.current {
        background: #fff8d6;
        border-left-color: var(--sw-yellow);
        font-weight: 600;
    }

.sw-check {
    flex: none;
    width: 16px;
    height: 16px;
    margin-top: 2px;
    border-radius: 50%;
    border: 2px solid var(--sw-stone-dark);
}

    .sw-check.done {
        background: var(--sw-black) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23ffcc00' stroke-width='2.5' d='M4 8.5l2.5 2.5L12 5.5'/%3E%3C/svg%3E") center / 12px no-repeat;
        border-color: var(--sw-black);
    }

.sw-content {
    padding: 2rem clamp(1rem, 4vw, 3rem) 4rem;
    max-width: 1040px;
    width: 100%;
}

.sw-breadcrumb {
    font-size: .72rem;
    color: var(--sw-grey);
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 600;
    margin-bottom: .35rem;
}

.sw-unit-title {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
}

.sw-block {
    background: var(--sw-surface);
    border: 1px solid var(--sw-stone-dark);
    border-radius: var(--sw-radius);
    padding: 1.5rem;
    margin-bottom: 1.25rem;
    overflow-x: auto;
}

    .sw-block img {
        max-width: 100%;
        height: auto;
    }

    /* Lesson videos are Screencast embeds with fixed 675x450 attributes; scale them to the column. */
    .sw-block iframe {
        display: block;
        margin: 0 auto;
        width: 100%;
        max-width: 960px;
        height: auto;
        aspect-ratio: 3 / 2;
    }

.sw-block-label {
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--sw-grey);
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.sw-question + .sw-question {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px dashed var(--sw-stone-dark);
}

.sw-prompt {
    font-weight: 600;
    margin-bottom: .75rem;
}

    .sw-prompt p:last-child, .sw-prompt label {
        margin-bottom: 0;
    }

.sw-choice {
    display: flex;
    gap: .75rem;
    align-items: flex-start;
    padding: .6rem .85rem;
    border: 1px solid var(--sw-stone-dark);
    border-radius: var(--sw-radius);
    margin-bottom: .5rem;
    cursor: pointer;
    background: #fff;
}

    .sw-choice:hover {
        border-color: var(--sw-grey-light);
    }

    .sw-choice.selected {
        border-color: var(--sw-black);
        background: #fafaf7;
    }

    .sw-choice.correct {
        border-color: var(--sw-success);
        background: #f1f8f1;
    }

    .sw-choice.incorrect {
        border-color: var(--sw-danger);
        background: #fcf1f0;
    }

    .sw-choice.locked {
        cursor: default;
    }

    .sw-choice input {
        margin-top: .3rem;
        flex: none;
    }

.sw-hint {
    font-size: .85rem;
    color: var(--sw-grey);
    margin-top: .3rem;
    padding-left: .6rem;
    border-left: 2px solid var(--sw-yellow);
}

.sw-feedback {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 1.1rem;
}

.sw-result {
    font-weight: 700;
}

    .sw-result.correct {
        color: var(--sw-success);
    }

    .sw-result.incorrect {
        color: var(--sw-danger);
    }

.sw-unit-nav {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2rem;
}

.sw-outline-toggle {
    display: none;
}

@media (max-width: 960px) {
    .sw-player {
        grid-template-columns: 1fr;
    }

    .sw-outline {
        position: static;
        max-height: none;
        display: none;
        border-right: 0;
        border-bottom: 1px solid var(--sw-stone-dark);
    }

    .sw-player.outline-open .sw-outline {
        display: block;
    }

    .sw-outline-toggle {
        display: inline-block;
        margin-bottom: 1rem;
    }
}

/* ---------- Tables ---------- */
.sw-table-wrap {
    overflow-x: auto;
}

.sw-table {
    width: 100%;
    background: var(--sw-surface);
    border: 1px solid var(--sw-stone-dark);
    border-collapse: separate;
    border-spacing: 0;
    font-size: .875rem;
}

    .sw-table th {
        background: var(--sw-black);
        color: #fff;
        font-size: .68rem;
        text-transform: uppercase;
        letter-spacing: .1em;
        font-weight: 700;
        padding: .7rem .9rem;
        text-align: left;
        white-space: nowrap;
    }

    .sw-table td {
        padding: .6rem .9rem;
        border-top: 1px solid var(--sw-stone);
        vertical-align: middle;
    }

    .sw-table tr:hover td {
        background: #fcfcfa;
    }

    .sw-table .actions {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-end;
        align-items: center;
        gap: .25rem;
    }

    .sw-table .num {
        text-align: right;
        font-variant-numeric: tabular-nums;
    }

/* ---------- Certificate ---------- */
.sw-certificate {
    background: #fff;
    max-width: 1000px;
    aspect-ratio: 1.414 / 1;
    margin: 0 auto;
    border: 1px solid var(--sw-stone-dark);
    display: grid;
    grid-template-columns: 64px 1fr;
}

.sw-certificate-band {
    background: var(--sw-black);
    border-right: 8px solid var(--sw-yellow);
}

.sw-certificate-body {
    padding: 3.5rem 4rem;
    display: flex;
    flex-direction: column;
}

    .sw-certificate-body .logo {
        height: 36px;
        align-self: flex-start;
        background: var(--sw-black);
        padding: 10px 14px;
        box-sizing: content-box;
        margin-bottom: 2.5rem;
    }

    .sw-certificate-body .name {
        font-size: clamp(1.6rem, 4vw, 2.6rem);
        font-weight: 800;
        margin: .4rem 0 1.5rem;
        border-bottom: 3px solid var(--sw-yellow);
        padding-bottom: .4rem;
        align-self: flex-start;
    }

    .sw-certificate-body .course {
        font-size: clamp(1.1rem, 2.5vw, 1.6rem);
        font-weight: 700;
    }

.sw-certificate-foot {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    font-size: .8rem;
    color: var(--sw-grey);
}

    .sw-certificate-foot strong {
        display: block;
        color: var(--sw-ink);
        font-size: .95rem;
    }

@media print {
    @page {
        size: A4 landscape;
        margin: 0;
    }

    .sw-header, .sw-footer, .no-print, #blazor-error-ui {
        display: none !important;
    }

    body, .sw-page {
        background: #fff !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .sw-certificate {
        border: 0;
        width: 297mm;
        height: 209mm;
        max-width: none;
        aspect-ratio: auto;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}

/* ---------- Blazor ---------- */
#blazor-error-ui {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 2000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

/* ---------- Course editor ---------- */
.sw-editor {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.sw-editor-outline {
    background: var(--sw-surface);
    border: 1px solid var(--sw-stone-dark);
    border-radius: var(--sw-radius);
    padding: .75rem 0;
    position: sticky;
    top: calc(var(--sw-header-h) + 1rem);
    max-height: calc(100vh - var(--sw-header-h) - 2rem);
    overflow-y: auto;
}

    .sw-editor-outline a {
        display: block;
        padding: .35rem 1rem;
        font-size: .85rem;
        color: var(--sw-ink);
        text-decoration: none;
        border-left: 3px solid transparent;
    }

        .sw-editor-outline a:hover {
            background: var(--sw-bg);
        }

        .sw-editor-outline a.current {
            background: #fff8d6;
            border-left-color: var(--sw-yellow);
            font-weight: 600;
        }

        .sw-editor-outline a.chapter {
            font-weight: 700;
            margin-top: .4rem;
        }

        .sw-editor-outline a.section {
            padding-left: 1.5rem;
            font-weight: 600;
        }

        .sw-editor-outline a.unit {
            padding-left: 2.4rem;
        }

.sw-editor-outline-title {
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--sw-grey);
    padding: .9rem 1rem .2rem;
    border-top: 1px solid var(--sw-stone);
    margin-top: .5rem;
}

.sw-editor-main {
    background: var(--sw-surface);
    border: 1px solid var(--sw-stone-dark);
    border-radius: var(--sw-radius);
    padding: 1.5rem;
    min-width: 0;
}

.sw-edit-block {
    border: 1px solid var(--sw-stone-dark);
    border-radius: var(--sw-radius);
    padding: .75rem 1rem 1rem;
    margin-bottom: 1rem;
    background: #fff;
}

    .sw-edit-block.nested {
        background: var(--sw-bg);
        margin-bottom: .6rem;
    }

.sw-edit-block-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: .5rem;
}

.sw-edit-preview {
    max-height: 320px;
    overflow: auto;
    font-size: .92rem;
}

    .sw-edit-preview img, .sw-edit-preview iframe {
        max-width: 100%;
    }

    .sw-edit-preview iframe {
        width: 100%;
        max-width: 560px;
        height: auto;
        aspect-ratio: 3 / 2;
    }

.sw-edit-question + .sw-edit-question {
    margin-top: .75rem;
}

.sw-question-edit {
    border-left: 3px solid var(--sw-yellow);
    padding: .25rem 0 .25rem 1rem;
    margin-bottom: 1.25rem;
}

.sw-choice-edit {
    display: flex;
    gap: .6rem;
    align-items: flex-start;
    margin-bottom: .5rem;
}

.sw-quill .ql-toolbar {
    border-radius: var(--sw-radius) var(--sw-radius) 0 0;
    font-family: var(--sw-font);
}

.sw-quill .ql-container {
    border-radius: 0 0 var(--sw-radius) var(--sw-radius);
    font-family: var(--sw-font);
    font-size: .95rem;
    min-height: 220px;
}

.sw-media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: .75rem;
}

.sw-media-item {
    border: 1px solid var(--sw-stone-dark);
    border-radius: var(--sw-radius);
    padding: .5rem;
    display: flex;
    flex-direction: column;
    gap: .35rem;
    background: #fff;
}

    .sw-media-item img, .sw-media-doc {
        width: 100%;
        aspect-ratio: 4 / 3;
        object-fit: contain;
        background: var(--sw-bg);
    }

.sw-media-doc {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: var(--sw-grey);
}

@media (max-width: 960px) {
    .sw-editor {
        grid-template-columns: 1fr;
    }

    .sw-editor-outline {
        position: static;
        max-height: none;
    }
}

/* ---------- Home page catalogue (Home.razor, js/catalog.js; from doc/Shopware Academy – Landing page_v2.html) ---------- */
.lp {
    display: block;
    position: relative;
    background: #fff;
    --lp-muted: #5c5c5c;
    --lp-rule: #e4e4e0;
    --lp-soft: #f5f5f3;
    --lp-ease: cubic-bezier(.2, .7, .2, 1);
}

.lp-ey {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--lp-muted);
    margin-bottom: 6px;
}

/* The Shopware chevron, used for every arrow. */
.lp-chev {
    width: 7px;
    height: 12px;
    display: block;
    flex: none;
}

/* Outlined button that fills yellow on hover ("Continue learning", "My learning"); .dark is for the black hero. */
.lp-seeall {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    height: 44px;
    padding: 0 18px;
    background: #fff;
    color: #111;
    border: 1px solid #d6d6d2;
    border-radius: 3px;
    font-weight: 700;
    font-size: 14px;
    white-space: nowrap;
    text-decoration: none;
    transition: background .15s, border-color .15s, color .15s, transform .12s var(--lp-ease);
}

    .lp-seeall .lp-chev {
        transition: transform .2s var(--lp-ease);
    }

    .lp-seeall:hover {
        background: var(--sw-yellow);
        border-color: var(--sw-yellow);
        color: #000;
    }

        .lp-seeall:hover .lp-chev {
            transform: translateX(3px);
        }

    .lp-seeall:active {
        transform: scale(.97);
    }

/* hero */
.lp-hero {
    background: var(--sw-black);
    color: #fff;
    position: relative;
    overflow: hidden;
}

    .lp-hero .container-xl {
        padding-top: 48px;
        padding-bottom: 60px;
        position: relative;
        z-index: 1;
    }

    .lp-hero h1 {
        margin: 0 0 16px;
        font-size: 50px;
        line-height: 1.06;
        font-weight: 800;
        letter-spacing: -.02em;
        max-width: 760px;
    }

        .lp-hero h1 span {
            display: block;
        }

        .lp-hero h1 em {
            font-style: normal;
            color: var(--sw-yellow);
        }

.lp-lead {
    color: #bdbdbd;
    font-size: 18px;
    line-height: 1.55;
    max-width: 560px;
    margin: 0;
}

.lp-continue {
    margin-top: 28px;
}

/* Outlined pill that fills yellow (v4 mockup). */
.lp-cl {
    display: inline-flex;
    align-items: center;
    height: 46px;
    padding: 0 24px;
    border-radius: 999px;
    border: 1.5px solid rgba(255, 255, 255, .6);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: background .15s, border-color .15s, color .15s, transform .12s var(--lp-ease);
}

    .lp-cl:hover {
        background: var(--sw-yellow);
        border-color: var(--sw-yellow);
        color: #000;
    }

    .lp-cl:active {
        transform: scale(.97);
    }

    .lp-cl:focus-visible {
        outline: 2px solid #fff;
        outline-offset: 3px;
    }

.lp-hero-hex {
    position: absolute;
    right: -140px;
    top: 50%;
    width: 820px;
    transform: translateY(-44%);
    pointer-events: none;
}

@keyframes lp-rise {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.lp-rise {
    animation: lp-rise .7s var(--lp-ease) both;
    animation-delay: var(--d, 0s);
}

/* groups heading and search */
.lp-areas {
    padding: 48px 0;
}

.lp-gh-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.lp-gh {
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -.01em;
    margin: 0;
}

.lp-sbox {
    flex: 0 1 340px;
}

.lp-search {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1px solid #d6d6d2;
    border-radius: 3px;
    padding: 0 12px;
    height: 44px;
    color: var(--sw-ink);
    margin: 0;
    transition: border-color .15s, box-shadow .15s;
}

    .lp-search:focus-within {
        border-color: #111;
        box-shadow: 0 0 0 1px #111;
    }

    .lp-search input {
        flex: 1;
        min-width: 0;
        border: 0;
        outline: 0;
        font: inherit;
        font-size: 14px;
        background: transparent;
    }

    .lp-search kbd {
        font: inherit;
        font-size: 11px;
        color: var(--lp-muted);
        background: none;
        border: 1px solid var(--lp-rule);
        border-radius: 3px;
        padding: 1px 6px;
    }

.lp-sugg {
    position: absolute;
    background: #fff;
    color: var(--sw-ink);
    border: 1px solid var(--lp-rule);
    border-radius: 6px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, .16);
    overflow: hidden;
    display: none;
    z-index: 35;
}

    .lp-sugg.on {
        display: block;
        animation: lp-rise .18s var(--lp-ease);
    }

    .lp-sugg a {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 10px 14px;
        border-bottom: 1px solid var(--lp-rule);
        color: inherit;
        text-decoration: none;
    }

        .lp-sugg a:last-child {
            border-bottom: 0;
        }

        .lp-sugg a:hover, .lp-sugg a.hl {
            background: var(--lp-soft);
        }

        .lp-sugg a > span:not(.lp-tag) {
            flex: 1;
            min-width: 0;
        }

    .lp-sugg b {
        font-size: 14px;
        display: block;
    }

    .lp-sugg small {
        font-size: 12px;
        color: var(--lp-muted);
    }

    .lp-sugg .lp-mi, .lp-sugg .lp-nb {
        width: 34px;
        height: 30px;
    }

    .lp-sugg .none {
        padding: 14px;
        color: var(--lp-muted);
        font-size: 14px;
    }

/* icons */
.lp-mi {
    width: 44px;
    height: 38px;
    flex: none;
    display: block;
    object-fit: contain;
}

.lp-nb {
    width: 42px;
    height: 36px;
    flex: none;
    clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
    background: var(--lp-rule);
    color: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 800;
}

.lp-ring {
    width: 34px;
    height: 30px;
    flex: none;
}

/* group tiles */
.lp-empty {
    margin-top: 24px;
}

.lp-tiles {
    display: grid;
    grid-template-columns: repeat(var(--lp-cols, 5), minmax(0, 1fr));
    gap: 16px;
}

.lp-tile {
    position: relative;
    text-align: left;
    background: #fff;
    color: inherit;
    border: 1px solid var(--lp-rule);
    border-radius: 8px;
    padding: 24px 22px 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .07);
    transition: box-shadow .25s var(--lp-ease), border-color .2s, transform .12s var(--lp-ease);
    min-height: 200px;
    overflow: hidden;
}

    .lp-tile:hover {
        border-color: #bdbdb8;
        box-shadow: 0 14px 32px rgba(0, 0, 0, .09);
    }

    .lp-tile:active {
        transform: scale(.985);
    }

    .lp-tile[aria-selected=true] {
        border-color: #111;
    }

    .lp-tile h3 {
        font-size: 19px;
        font-weight: 800;
        margin: 0;
    }

    .lp-tile p {
        color: var(--lp-muted);
        font-size: 13px;
        flex: 1;
        margin: 0;
    }

    .lp-tile .lp-ring {
        color: #B5B5B0;
        transition: color .3s var(--lp-ease);
    }

    .lp-tile:hover .lp-ring {
        color: #000;
    }

    .lp-tile[aria-selected=true] .lp-ring {
        color: var(--sw-yellow);
    }

.lp-count {
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
}

.lp-dn {
    display: inline-flex;
    margin-left: 8px;
    transition: transform .25s var(--lp-ease);
}

    .lp-dn .lp-chev {
        width: 6px;
        height: 10px;
        color: #b5b5b0;
        transition: color .15s, transform .2s var(--lp-ease);
    }

.lp-tile[aria-selected=true] .lp-dn .lp-chev {
    transform: rotate(90deg);
    color: var(--sw-yellow);
}

.lp-tile:not([aria-selected=true]):hover .lp-dn {
    transform: translateX(3px);
}

/* Group panels: all panels, and each panel's views, share one grid cell. The area keeps the height of the
   tallest one, so the sections below never move when switching. */
.lp-panels {
    margin-top: 40px;
    display: grid;
}

.lp-group, .lp-view {
    grid-area: 1 / 1;
    visibility: hidden;
}

.lp-group {
    display: grid;
    align-content: start;
}

    .lp-group.on, .lp-group.on .lp-view.on {
        visibility: visible;
    }

/* A new group or view slides in from the side it was picked from (catalog.js sets the class). */
@keyframes lp-from-r {
    from {
        opacity: 0;
        transform: translateX(24px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes lp-from-l {
    from {
        opacity: 0;
        transform: translateX(-24px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.lp-view.from-r {
    animation: lp-from-r .26s var(--lp-ease);
}

.lp-view.from-l {
    animation: lp-from-l .26s var(--lp-ease);
}

.lp-ph {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding-bottom: 6px;
    margin-bottom: 6px;
}

    .lp-ph h2 {
        font-size: 24px;
        font-weight: 800;
        letter-spacing: -.01em;
        margin: 0;
    }

    .lp-ph p {
        color: var(--lp-muted);
        margin: 4px 0 0;
        font-size: 14px;
    }

.lp-staff {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--lp-soft);
    border: 1px solid var(--lp-rule);
    padding: 4px 10px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0;
    margin-left: 10px;
    vertical-align: middle;
}

    .lp-staff svg {
        width: 10px;
        height: 10px;
    }

.lp-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: 0;
    padding: 0;
    margin-bottom: 12px;
    font-size: 13px;
    font-weight: 700;
    color: var(--lp-muted);
    transition: color .15s;
}

    .lp-back:hover {
        color: #111;
    }

.lp-bk {
    display: inline-flex;
    transition: transform .2s var(--lp-ease);
}

    .lp-bk .lp-chev {
        width: 6px;
        height: 10px;
        transform: rotate(180deg);
    }

.lp-back:hover .lp-bk {
    transform: translateX(-3px);
}

/* module grid */
.lp-mgrid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.lp-mod {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    background: #fff;
    color: inherit;
    border: 1px solid var(--lp-rule);
    border-radius: 8px;
    padding: 18px;
    text-align: left;
    min-height: 132px;
    transition: border-color .2s, box-shadow .25s var(--lp-ease), transform .12s var(--lp-ease);
}

    .lp-mod:hover {
        border-color: #bdbdb8;
        box-shadow: 0 8px 18px rgba(0, 0, 0, .05);
    }

    .lp-mod:active {
        transform: scale(.98);
    }

    .lp-mod .lp-mi {
        width: 46px;
        height: 40px;
    }

    .lp-mod b {
        font-size: 14px;
        line-height: 1.3;
        display: block;
    }

    .lp-mod small {
        font-size: 12px;
        color: var(--lp-muted);
    }

/* course list */
.lp-row {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) 200px 150px;
    gap: 18px;
    align-items: center;
    padding: 16px 8px;
    border-bottom: 1px solid var(--lp-rule);
    color: inherit;
    text-decoration: none;
    transition: background .15s;
}

    .lp-row:hover {
        background: var(--lp-soft);
        color: inherit;
    }

    .lp-row:active {
        background: #ededea;
    }

    .lp-row b {
        display: block;
        font-size: 15px;
        line-height: 1.3;
    }

    .lp-row small {
        font-size: 11px;
        color: var(--lp-muted);
        letter-spacing: .1em;
        font-weight: 700;
    }

    .lp-row .lp-mi {
        width: 42px;
        height: 36px;
    }

.lp-row-mod {
    font-size: 13px;
    color: var(--lp-muted);
}

.lp-tag {
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    background: var(--lp-soft);
    padding: 4px 8px;
    border-radius: 2px;
    color: #333;
    flex: none;
    justify-self: end;
    transition: background .15s, color .15s;
}

    .lp-tag svg {
        width: 10px;
        height: 10px;
    }

    .lp-tag.open {
        background: #111;
        color: #fff;
    }

    .lp-tag.enrolled {
        background: #111;
        color: var(--sw-yellow);
    }

.lp-row:hover .lp-tag.open, .lp-row:focus-visible .lp-tag.open {
    background: var(--sw-yellow);
    color: #000;
}

.lp-row:hover .lp-tag:not(.open):not(.enrolled) {
    background: #fff;
}

/* certificates (signed-in learners who have some) */
.lp-certs {
    padding: 8px 0 48px;
}

.lp-sec-hd {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

    .lp-sec-hd h2 {
        font-size: 24px;
        font-weight: 800;
        letter-spacing: -.01em;
        margin: 0;
    }

    .lp-sec-hd p {
        color: var(--lp-muted);
        margin: 4px 0 0;
        font-size: 14px;
    }

.lp-ccards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.lp-cc {
    display: flex;
    flex-direction: column;
    gap: 10px;
    border: 1px solid var(--lp-rule);
    border-radius: 8px;
    padding: 22px;
    color: inherit;
    text-decoration: none;
    transition: border-color .15s;
}

    .lp-cc:hover {
        border-color: #111;
        color: inherit;
    }

    .lp-cc .lp-mi, .lp-cc .lp-nb {
        width: 36px;
        height: 31px;
    }

    .lp-cc h3 {
        font-size: 16px;
        font-weight: 700;
        line-height: 1.3;
        margin: 0;
    }

    .lp-cc p {
        color: var(--lp-muted);
        font-size: 13px;
        flex: 1;
        margin: 0;
    }

    .lp-cc span {
        font-size: 12px;
        font-weight: 700;
        display: inline-flex;
        align-items: center;
        gap: 8px;
    }

        .lp-cc span .lp-chev {
            width: 6px;
            height: 10px;
        }

/* access request */
.lp-access {
    padding: 8px 0 80px;
}

.lp-access-card {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 32px;
    background: var(--lp-soft);
    border: 1px solid var(--lp-rule);
    border-radius: 8px;
    padding: 28px 32px;
}

    .lp-access-card h2 {
        font-size: 17px;
        font-weight: 700;
        margin: 0;
    }

    .lp-access-card p {
        color: var(--lp-muted);
        font-size: 14px;
        margin: 3px 0 0;
    }

    .lp-access-card form {
        display: flex;
        gap: 10px;
        align-items: center;
        margin: 0;
    }

    .lp-access-card select {
        height: 44px;
        border: 1px solid #cfcfca;
        border-radius: 3px;
        padding: 0 12px;
        background: #fff;
        min-width: 280px;
        font: inherit;
        color: inherit;
        cursor: pointer;
    }

        .lp-access-card select:focus {
            outline: none;
            border-color: #111;
            box-shadow: 0 0 0 1px #111;
        }

    .lp-access-card button {
        height: 44px;
        padding: 0 18px;
        border: 0;
        border-radius: 3px;
        background: #111;
        color: #fff;
        font: inherit;
        font-weight: 700;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        white-space: nowrap;
        transition: background .15s, color .15s, transform .12s var(--lp-ease);
    }

        .lp-access-card button:hover:not([disabled]) {
            background: var(--sw-yellow);
            color: #000;
        }

        .lp-access-card button:active:not([disabled]) {
            transform: scale(.97);
        }

        .lp-access-card button[disabled] {
            background: #dcdcd8;
            color: #8a8a85;
            cursor: not-allowed;
        }

.lp-ok {
    font-size: 13px;
    color: var(--lp-muted);
    width: 100%;
    text-align: right;
    display: none;
}

.lp-access-card.sent .lp-ok {
    display: block;
    animation: lp-rise .25s var(--lp-ease);
}

/* "Request access" becomes "Request drafted": the two words share one grid cell and cross-fade. */
.lp-mo {
    display: inline-grid;
}

    .lp-mo > span {
        grid-area: 1 / 1;
        transition: opacity .2s var(--lp-ease), transform .2s var(--lp-ease);
    }

.lp-mo-b {
    opacity: 0;
    transform: translateY(6px);
}

.done .lp-mo-a {
    opacity: 0;
    transform: translateY(-6px);
}

.done .lp-mo-b {
    opacity: 1;
    transform: none;
}

/* keyboard focus */
.lp-tile:focus-visible, .lp-mod:focus-visible, .lp-seeall:focus-visible, .lp-back:focus-visible, .lp-access-card button:focus-visible {
    outline: 2px solid #111;
    outline-offset: 2px;
}

.lp-row:focus-visible {
    outline: 2px solid #111;
    outline-offset: -2px;
    background: var(--lp-soft);
}

@media (max-width: 1040px) {
    .lp-tiles {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lp-mgrid, .lp-ccards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lp-row {
        grid-template-columns: 42px minmax(0, 1fr);
    }

        .lp-row .lp-row-mod, .lp-row .lp-tag {
            display: none;
        }
}

@media (max-width: 760px) {
    .lp-access-card form {
        flex-wrap: wrap;
        width: 100%;
    }

    .lp-access-card select {
        min-width: 0;
        width: 100%;
    }

    .lp-sbox {
        flex-basis: 100%;
    }
}

@media (max-width: 700px) {
    .lp-hero h1 {
        font-size: 36px;
    }

    .lp-hero-hex {
        width: 520px;
    }

    .lp-tiles, .lp-ccards {
        grid-template-columns: 1fr;
    }

    .lp-tile {
        min-height: 0;
    }

    .lp-sugg .lp-tag {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lp *, .lp *::before, .lp *::after {
        animation: none !important;
        transition: none !important;
    }
}

/* footer (MainLayout), from the v2 mockup plus a Helpdesk link */
.sw-footer {
    background: #0a0a0a;
    color: #fff;
}

    .sw-footer .sw-footer-row {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
        padding-top: 26px;
        padding-bottom: 26px;
    }

.sw-footer-logo {
    justify-self: start;
}

    .sw-footer-logo img {
        height: 36px;
        display: block;
    }

.sw-footer-links {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 14px;
}

    .sw-footer-links a {
        color: rgba(255, 255, 255, .65);
        text-decoration: none;
        transition: color .15s;
    }

        .sw-footer-links a:hover {
            color: #fff;
        }

        .sw-footer-links a.sw-footer-li {
            color: #fff;
            display: inline-flex;
        }

            .sw-footer-links a.sw-footer-li:hover {
                color: var(--sw-yellow);
            }

        .sw-footer-li svg {
            display: block;
            width: 16px;
            height: 16px;
            fill: currentColor;
        }

.sw-footer-sep {
    width: 1px;
    height: 16px;
    background: rgba(255, 255, 255, .2);
}

.sw-footer-copy {
    justify-self: end;
    font-size: 12px;
    color: rgba(255, 255, 255, .45);
}

.sw-footer a:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
    border-radius: 2px;
}

@media (max-width: 760px) {
    .sw-footer .sw-footer-row {
        grid-template-columns: 1fr;
        justify-items: start;
        gap: 18px;
    }

    .sw-footer-copy {
        justify-self: start;
    }
}

/* ===== Skills matrix (/admin/matrix) ===== */
.sm-wrap {
    overflow: auto;
    max-height: calc(100vh - 220px);
    border: 1px solid var(--sw-stone-dark);
    background: var(--sw-surface);
}
.sm-table {
    border-collapse: separate;
    border-spacing: 0;
    font-size: 12px;
}
.sm-table th,
.sm-table td {
    border-right: 1px solid var(--sw-stone);
    border-bottom: 1px solid var(--sw-stone);
}
.sm-table thead th {
    position: sticky;
    top: 0;
    z-index: 2;
    background: var(--sw-black);
    color: #fff;
    font-weight: 700;
}
.sm-table thead tr:nth-child(2) th {
    top: 30px;
}
.sm-group {
    height: 30px;
    padding: 0 8px;
    text-align: left;
    white-space: nowrap;
    letter-spacing: .04em;
}
.sm-skill {
    height: 150px;
    width: 40px;
    min-width: 40px;
    vertical-align: bottom;
    padding: 6px 0;
}
.sm-skill span {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    display: inline-block;
    white-space: nowrap;
    font-weight: 600;
}
.sm-table .sm-user {
    position: sticky;
    left: 0;
    z-index: 1;
    background: var(--sw-surface);
    min-width: 220px;
    max-width: 260px;
    padding: 6px 10px;
    text-align: left;
    font-weight: 400;
}
.sm-table thead .sm-user {
    z-index: 3;
    background: var(--sw-black);
    vertical-align: bottom;
}
.sm-cell {
    text-align: center;
    min-width: 40px;
    height: 34px;
    font-variant-numeric: tabular-nums;
    font-weight: 600;
}
.sm-legend .sm-cell {
    display: inline-block;
    min-width: 28px;
    height: auto;
    padding: 1px 4px;
    border: 1px solid var(--sw-stone-dark);
}
.sm-high { background: #d4ecd5; }
.sm-mid { background: #fff1b8; }
.sm-low { background: #f7d4d4; }
.sm-cell.sm-req { box-shadow: inset 0 0 0 2px var(--sw-ink); }
.sm-cell.sm-legacy {
    font-style: italic;
    font-weight: 400;
    background-image: repeating-linear-gradient(135deg, transparent 0 5px, rgba(255, 255, 255, .55) 5px 8px);
}
