.streamlms-front-admin-shell {
    width: min(calc(100vw - 24px), 100%);
    max-width: none;
    min-height: calc(100vh - 24px);
    margin: 12px auto;
}

@media (min-width: 981px) {
    .streamlms-front-admin-shell {
        position: relative;
        left: 50%;
        transform: translateX(-50%);
        width: calc(100vw - 24px);
        max-width: calc(100vw - 24px);
        margin: 12px 0;
        grid-template-columns: 286px minmax(0, 1fr);
        align-items: start;
    }

    .streamlms-front-admin-sidebar {
        position: sticky;
        top: 12px;
        min-height: calc(100vh - 48px);
    }

    .streamlms-front-admin-main {
        min-width: 0;
    }

    .streamlms-front-admin-topbar {
        position: sticky;
        top: 12px;
        z-index: 8;
    }
}

.streamlms-front-admin-shell {
    --fa-bg: linear-gradient(180deg, rgba(8,8,8,.96) 0%, rgba(16,16,16,.98) 100%);
    --fa-card: rgba(255,255,255,.04);
    --fa-card-border: rgba(255,255,255,.08);
    --fa-soft: rgba(255,255,255,.06);
    --fa-text: var(--streamlms-text, #fff);
    --fa-muted: rgba(255,255,255,.72);
    --fa-primary: var(--streamlms-primary, #C5A059);
    display: grid;
    grid-template-columns: 286px minmax(0, 1fr);
    gap: 20px;
    margin: 12px auto;
    padding: 18px;
    border-radius: 28px;
    background: var(--fa-bg);
    color: var(--fa-text);
    box-shadow: 0 24px 60px rgba(0,0,0,.32);
}

.streamlms-front-admin-shell,
.streamlms-front-admin-shell * {
    box-sizing: border-box;
}

.streamlms-front-admin-shell h1,
.streamlms-front-admin-shell h2,
.streamlms-front-admin-shell h3,
.streamlms-front-admin-shell h4,
.streamlms-front-admin-shell strong,
.streamlms-front-admin-shell a:not(.streamlms-front-admin-nav a) {
    color: var(--fa-text);
}

.streamlms-front-admin-shell p,
.streamlms-front-admin-shell li,
.streamlms-front-admin-shell span,
.streamlms-front-admin-shell label,
.streamlms-front-admin-shell small {
    color: inherit;
}

.streamlms-front-admin-sidebar,
.streamlms-front-admin-topbar,
.streamlms-front-admin-panel-card,
.streamlms-front-admin-table-card,
.streamlms-front-admin-metric {
    border: 1px solid var(--fa-card-border);
    background: var(--fa-card);
    backdrop-filter: blur(14px);
}

.streamlms-front-admin-sidebar {
    padding: 22px;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-width: 0;
}

.streamlms-front-admin-sidebar-brand span,
.streamlms-front-admin-kicker,
.streamlms-front-admin-metric-label,
.streamlms-front-admin-topbar .streamlms-front-admin-kicker {
    display: block;
    font-size: 12px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--fa-primary);
}

.streamlms-front-admin-sidebar-brand strong {
    display: block;
    margin-top: 6px;
    font-size: 26px;
    line-height: 1.1;
}

.streamlms-front-admin-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.streamlms-front-admin-nav a {
    color: var(--fa-text);
    text-decoration: none;
    padding: 13px 14px;
    border-radius: 16px;
    background: rgba(255,255,255,.025);
    border: 1px solid transparent;
    transition: all .2s ease;
}

.streamlms-front-admin-nav a:hover,
.streamlms-front-admin-nav a.is-active {
    background: rgba(197,160,89,.13);
    border-color: rgba(197,160,89,.28);
    transform: translateY(-1px);
}

.streamlms-front-admin-sidebar-meta {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,.08);
}

.streamlms-front-admin-sidebar-meta strong,
.streamlms-front-admin-sidebar-meta span {
    display: block;
}

.streamlms-front-admin-sidebar-meta span {
    margin-top: 5px;
    color: var(--fa-muted);
}

.streamlms-front-admin-main {
    min-width: 0;
    overflow: visible;
}

.streamlms-front-admin-main > * {
    min-width: 0;
}

.streamlms-front-admin-topbar {
    border-radius: 24px;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    margin-bottom: 22px;
}

.streamlms-front-admin-topbar h1,
.streamlms-front-admin-heading h2 {
    margin: 6px 0 0;
    color: var(--fa-text);
}

.streamlms-front-admin-topbar-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex-wrap: wrap;
}

.streamlms-front-admin-topbar-logo-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    max-width: 124px;
    min-width: 84px;
    height: 56px;
    padding: 8px 12px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.03);
    overflow: hidden;
}

.streamlms-front-admin-topbar-logo {
    display: block;
    max-width: 100%;
    max-height: 40px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.streamlms-front-admin-topbar-actions .streamlms-logout,
.streamlms-front-admin-filter-actions button,
.streamlms-front-admin-filter-actions a,
.streamlms-front-admin-bulk-delete,
.streamlms-front-admin-delete-user,
.streamlms-front-admin-view-user,
.streamlms-front-admin-edit-user,
.streamlms-front-admin-toggle-status,
.streamlms-front-admin-primary,
.streamlms-front-admin-secondary,
.streamlms-front-admin-return-login,
.streamlms-front-admin-inline-close {
    appearance: none;
    border: 1px solid rgba(197,160,89,.28);
    background: rgba(197,160,89,.14);
    color: var(--fa-text);
    border-radius: 14px;
    padding: 11px 16px;
    text-decoration: none;
    cursor: pointer;
    transition: all .2s ease;
}

.streamlms-front-admin-topbar-actions .streamlms-logout:hover,
.streamlms-front-admin-filter-actions button:hover,
.streamlms-front-admin-filter-actions a:hover,
.streamlms-front-admin-bulk-delete:hover,
.streamlms-front-admin-delete-user:hover,
.streamlms-front-admin-view-user:hover,
.streamlms-front-admin-edit-user:hover,
.streamlms-front-admin-toggle-status:hover,
.streamlms-front-admin-primary:hover,
.streamlms-front-admin-secondary:hover,
.streamlms-front-admin-return-login:hover,
.streamlms-front-admin-inline-close:hover {
    background: rgba(197,160,89,.2);
    transform: translateY(-1px);
}

.streamlms-front-admin-bulk-delete[disabled],
.streamlms-front-admin-delete-user[disabled],
.streamlms-front-admin-toggle-status[disabled],
.streamlms-front-admin-primary[disabled],
.streamlms-front-admin-secondary[disabled] {
    opacity: .45;
    cursor: not-allowed;
    transform: none;
}

.streamlms-front-admin-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.streamlms-front-admin-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.streamlms-front-admin-heading p,
.streamlms-front-admin-inline-note,
.streamlms-front-admin-panel-card p,
.streamlms-front-admin-metric small,
.streamlms-front-admin-table-tools span,
.streamlms-front-admin-empty-state span,
.streamlms-front-admin-denied p,
.streamlms-front-admin-program-block p,
.streamlms-front-admin-detail-grid article span,
.streamlms-front-admin-inline-box small {
    color: var(--fa-muted);
}

.streamlms-front-admin-metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.streamlms-front-admin-metric {
    border-radius: 22px;
    padding: 18px;
}

.streamlms-front-admin-metric strong {
    display: block;
    margin-top: 10px;
    font-size: 30px;
    line-height: 1;
}

.streamlms-front-admin-panel-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.streamlms-front-admin-panel-card {
    border-radius: 24px;
    padding: 22px;
}

.streamlms-front-admin-panel-card.is-highlight {
    background: linear-gradient(135deg, rgba(197,160,89,.16) 0%, rgba(255,255,255,.05) 100%);
}

.streamlms-front-admin-module-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.streamlms-front-admin-module-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,.06);
}

.streamlms-front-admin-module-list li span {
    color: var(--fa-muted);
}

.streamlms-front-admin-module-list li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.streamlms-front-admin-filters {
    display: grid;
    grid-template-columns: minmax(220px,1.4fr) repeat(3, minmax(150px,1fr)) auto;
    gap: 14px;
    align-items: end;
    padding: 18px;
    border-radius: 22px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
}

.streamlms-front-admin-filter-field {
    min-width: 0;
}

.streamlms-front-admin-filters label,
.streamlms-front-admin-edit-grid label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    color: var(--fa-muted);
}

.streamlms-front-admin-filters input,
.streamlms-front-admin-filters select,
.streamlms-front-admin-edit-grid input,
.streamlms-front-admin-edit-grid select {
    width: 100%;
    min-width: 0;
    min-height: 48px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.08);
    color: var(--fa-text);
    padding: 12px 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.streamlms-front-admin-filters select,
.streamlms-front-admin-edit-grid select {
    padding-right: 38px;
    background-image: linear-gradient(45deg, transparent 50%, rgba(255,255,255,.88) 50%), linear-gradient(135deg, rgba(255,255,255,.88) 50%, transparent 50%);
    background-position: calc(100% - 18px) calc(50% - 3px), calc(100% - 12px) calc(50% - 3px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    -webkit-appearance: none;
    appearance: none;
}

.streamlms-front-admin-filters select option,
.streamlms-front-admin-edit-grid select option {
    color: #111;
    background: #fff;
}

.streamlms-front-admin-filter-actions {
    display: flex;
    align-items: stretch;
    justify-content: flex-end;
    gap: 10px;
    min-width: 0;
    grid-column: auto;
    flex-wrap: nowrap;
}

.streamlms-front-admin-filter-actions button,
.streamlms-front-admin-filter-actions a {
    min-width: 110px;
    min-height: 48px;
    text-align: center;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.streamlms-front-admin-table-card {
    border-radius: 24px;
    overflow: hidden;
}

.streamlms-front-admin-table-tools {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.streamlms-front-admin-response {
    min-height: 22px;
    padding: 12px 20px 0;
    font-size: 14px;
}

.streamlms-front-admin-response.ok,
.streamlms-front-admin-inline-response.ok { color: #9ce8b0; }
.streamlms-front-admin-response.error,
.streamlms-front-admin-inline-response.error { color: #ff9b9b; }

.streamlms-front-admin-table-wrap {
    overflow-x: auto;
}

.streamlms-front-admin-table {
    width: 100%;
    min-width: 1000px;
    border-collapse: collapse;
}

.streamlms-front-admin-table th,
.streamlms-front-admin-table td {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255,255,255,.07);
    text-align: left;
    color: var(--fa-text);
    vertical-align: top;
}

.streamlms-front-admin-table tbody tr:hover {
    background: rgba(255,255,255,.03);
}

.streamlms-front-admin-table td strong,
.streamlms-front-admin-table td span {
    display: block;
}

.streamlms-front-admin-table td span {
    margin-top: 4px;
    color: var(--fa-muted);
    font-size: 12px;
}

.streamlms-front-admin-col-actions {
    min-width: 180px;
}

.streamlms-front-admin-actions-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.streamlms-front-admin-actions-stack button {
    padding: 9px 12px;
    font-size: 13px;
}

.streamlms-front-admin-badge,
.streamlms-front-admin-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.15;
}

.streamlms-front-admin-badge {
    background: rgba(255,255,255,.08);
    color: var(--fa-text);
}

.streamlms-front-admin-badge.is-gold {
    background: rgba(197,160,89,.15);
    color: var(--fa-primary);
}

.streamlms-front-admin-status.is-active {
    background: rgba(96, 191, 127, .16);
    color: #8fe0a5;
}

.streamlms-front-admin-status.is-inactive {
    background: rgba(255, 120, 120, .14);
    color: #ffb1b1;
}

.streamlms-front-admin-empty-state {
    padding: 28px 10px;
    text-align: center;
}

.streamlms-front-admin-empty-state strong,
.streamlms-front-admin-empty-state span {
    display: block;
}

.streamlms-front-admin-inline-row > td {
    background: rgba(255,255,255,.02);
    padding: 0 !important;
}

.streamlms-front-admin-inline-box {
    padding: 20px;
    border-top: 1px solid rgba(255,255,255,.06);
}

.streamlms-front-admin-inline-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.streamlms-front-admin-inline-head h3 {
    margin: 4px 0 6px;
}

.streamlms-front-admin-inline-close {
    width: 42px;
    min-width: 42px;
    height: 42px;
    padding: 0;
    font-size: 24px;
    line-height: 1;
}

.streamlms-front-admin-detail-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.streamlms-front-admin-detail-grid article,
.streamlms-front-admin-program-block,
.streamlms-front-admin-user-edit-form {
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.04);
    border-radius: 18px;
    padding: 16px;
}

.streamlms-front-admin-detail-grid article strong,
.streamlms-front-admin-program-block span {
    display: block;
    margin-top: 6px;
}

.streamlms-front-admin-program-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.streamlms-front-admin-edit-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.streamlms-front-admin-field-wide {
    grid-column: 1 / -1;
}

.streamlms-front-admin-checkline {
    display: inline-flex !important;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.streamlms-front-admin-checkline input {
    width: 18px;
    height: 18px;
    min-height: 18px;
    margin: 0;
}

.streamlms-front-admin-inline-response {
    min-height: 20px;
    margin-top: 14px;
    font-size: 14px;
}

.streamlms-front-admin-inline-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 14px;
}

.streamlms-front-admin-pagination {
    display: flex;
    gap: 8px;
    padding: 18px 20px 22px;
    flex-wrap: wrap;
}

.streamlms-front-admin-pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    border-radius: 12px;
    text-decoration: none;
    color: var(--fa-text);
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.08);
}

.streamlms-front-admin-pagination a.is-current {
    background: rgba(197,160,89,.15);
    border-color: rgba(197,160,89,.28);
}

.streamlms-front-admin-denied {
    max-width: 720px;
    margin: 28px auto;
}

.streamlms-front-admin-denied-actions {
    margin-top: 18px;
}

.streamlms-front-admin-dashboard-login {
    width: 100%;
}

.streamlms-front-admin-login-shell {
    width: 100%;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 20px;
}

.streamlms-front-admin-login-box {
    width: min(100%, 430px);
    max-width: 430px;
    margin: 0 auto;
    border-radius: 32px;
    border: 1px solid rgba(197,160,89,.18);
    box-shadow: 0 24px 54px rgba(0,0,0,.34);
}

.streamlms-front-admin-login-logo-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}

.streamlms-front-admin-login-logo {
    display: block;
    max-width: min(56%, 170px);
    max-height: 82px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 12px 22px rgba(0,0,0,.22));
}

.streamlms-front-admin-login-box .streamlms-brand,
.streamlms-front-admin-login-box .streamlms-brand-sub {
    text-align: center;
}

.streamlms-front-admin-login-box .streamlms-brand-sub {
    justify-content: center;
}

@media (max-width: 1280px) {
    .streamlms-front-admin-metrics-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .streamlms-front-admin-panel-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .streamlms-front-admin-filters {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .streamlms-front-admin-filter-actions {
        grid-column: 1 / -1;
        justify-content: flex-start;
        flex-wrap: wrap;
    }
}

@media (max-width: 980px) {
    .streamlms-front-admin-shell {
        width: min(calc(100vw - 18px), 100%);
        margin: 9px auto;
        display: flex;
        flex-direction: column;
        gap: 18px;
        padding: 18px;
        border-radius: 24px;
    }

    .streamlms-front-admin-main {
        order: 1;
        display: contents;
    }

    .streamlms-front-admin-topbar {
        order: 1;
    }

    .streamlms-front-admin-sidebar {
        order: 2;
    }

    .streamlms-front-admin-main > :not(.streamlms-front-admin-topbar) {
        order: 3;
    }

    .streamlms-front-admin-topbar,
    .streamlms-front-admin-heading,
    .streamlms-front-admin-table-tools,
    .streamlms-front-admin-inline-head {
        flex-direction: column;
        align-items: stretch;
    }

    .streamlms-front-admin-detail-grid,
    .streamlms-front-admin-edit-grid,
    .streamlms-front-admin-filters,
    .streamlms-front-admin-panel-grid,
    .streamlms-front-admin-metrics-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 820px) {
    .streamlms-front-admin-shell {
        margin: 16px auto;
        padding: 14px;
        border-radius: 22px;
    }

    .streamlms-front-admin-login-shell {
        min-height: auto;
        padding: 0;
    }

    .streamlms-front-admin-login-box {
        width: 100%;
        max-width: 100%;
        border-radius: 26px;
    }

    .streamlms-front-admin-login-logo {
        max-width: min(62%, 156px);
        max-height: 72px;
    }

    .streamlms-front-admin-topbar-logo-wrap {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        height: auto;
        min-height: 56px;
    }

    .streamlms-front-admin-topbar-logo {
        max-height: 34px;
    }

    .streamlms-front-admin-sidebar,
    .streamlms-front-admin-topbar,
    .streamlms-front-admin-panel-card,
    .streamlms-front-admin-table-tools,
    .streamlms-front-admin-filters,
    .streamlms-front-admin-inline-box {
        padding-left: 14px;
        padding-right: 14px;
    }

    .streamlms-front-admin-table {
        min-width: 920px;
    }

    .streamlms-front-admin-actions-stack {
        flex-direction: column;
        align-items: stretch;
    }

    .streamlms-front-admin-actions-stack button,
    .streamlms-front-admin-bulk-delete,
    .streamlms-front-admin-filter-actions button,
    .streamlms-front-admin-filter-actions a,
    .streamlms-front-admin-inline-actions button,
    .streamlms-front-admin-return-login {
        width: 100%;
    }

    .streamlms-front-admin-topbar {
        margin-bottom: 0;
    }

    .streamlms-front-admin-topbar {
        display: flex;
        flex-direction: column;
    }

    .streamlms-front-admin-topbar > :first-child {
        order: 2;
    }

    .streamlms-front-admin-topbar-actions {
        order: 1;
        justify-content: stretch;
        gap: 10px;
    }

    .streamlms-front-admin-topbar-actions > * {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .streamlms-front-admin-topbar-logo-wrap {
        padding: 10px 12px;
        order: -3;
    }

    .streamlms-front-admin-badge {
        order: -2;
    }

    .streamlms-front-admin-topbar-actions .streamlms-logout {
        order: -1;
    }
}

.streamlms-front-admin-embedded .wrap {
    margin: 0;
    max-width: none;
}
.streamlms-front-admin-embedded .wrap > h1,
.streamlms-front-admin-embedded .wrap > p,
.streamlms-front-admin-embedded .wrap > .nav-tab-wrapper {
    display: none !important;
}
.streamlms-front-admin-embedded .streamlms-admin-grid {
    display: grid;
    gap: 18px;
}
.streamlms-front-admin-embedded .streamlms-card {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 24px;
    box-shadow: none;
}
.streamlms-front-admin-embedded .streamlms-card h2,
.streamlms-front-admin-embedded .streamlms-card h3,
.streamlms-front-admin-embedded .streamlms-card p,
.streamlms-front-admin-embedded .streamlms-card label,
.streamlms-front-admin-embedded .streamlms-card th,
.streamlms-front-admin-embedded .streamlms-card td,
.streamlms-front-admin-embedded .streamlms-card strong,
.streamlms-front-admin-embedded .streamlms-card span,
.streamlms-front-admin-embedded .streamlms-card li,
.streamlms-front-admin-embedded .streamlms-card code,
.streamlms-front-admin-embedded .streamlms-card .description,
.streamlms-front-admin-embedded .streamlms-card .button-link-delete {
    color: var(--fa-text) !important;
}
.streamlms-front-admin-embedded .streamlms-card .description,
.streamlms-front-admin-embedded .streamlms-card p.description {
    opacity: .8;
}
.streamlms-front-admin-embedded input[type="text"],
.streamlms-front-admin-embedded input[type="url"],
.streamlms-front-admin-embedded input[type="date"],
.streamlms-front-admin-embedded input[type="number"],
.streamlms-front-admin-embedded textarea,
.streamlms-front-admin-embedded select {
    width: 100%;
    max-width: 100%;
    background: rgba(255,255,255,.08);
    color: var(--fa-text);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 14px;
}
.streamlms-front-admin-embedded select option {
    color: #111;
    background: #fff;
}
.streamlms-front-admin-embedded .button,
.streamlms-front-admin-embedded .button-primary {
    border-radius: 14px;
}
.streamlms-front-admin-embedded table.widefat,
.streamlms-front-admin-embedded .widefat thead th,
.streamlms-front-admin-embedded .widefat td {
    background: transparent;
    color: var(--fa-text);
}
.streamlms-front-admin-embedded .widefat {
    border-color: rgba(255,255,255,.12);
}
.streamlms-front-admin-embedded .widefat tbody tr:hover {
    background: rgba(255,255,255,.03);
}
.streamlms-front-admin-kpi-band {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}
@media (max-width: 1280px) {
    .streamlms-front-admin-kpi-band { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (max-width: 980px) {
    .streamlms-front-admin-kpi-band { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 680px) {
    .streamlms-front-admin-kpi-band { grid-template-columns: 1fr; }
    .streamlms-front-admin-shell { width: calc(100vw - 12px); margin: 6px auto; min-height: auto; }
    .streamlms-front-admin-filter-actions {
        grid-column: 1 / -1;
        flex-direction: column;
    }
}


@media (min-width: 981px) {
    .streamlms-front-admin-shell {
        overflow: visible;
    }

    .streamlms-front-admin-table-wrap {
        overflow-x: auto;
        overflow-y: visible;
    }
}


/* v78 ajustes visuales frontend admin */
.streamlms-front-admin-embedded .widefat td:last-child {
    white-space: normal;
}

.streamlms-front-admin-embedded .widefat td:last-child .button,
.streamlms-front-admin-embedded .widefat td:last-child .button.button-small,
.streamlms-front-admin-embedded .widefat td:last-child .button-link-delete {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 92px;
    margin: 4px 8px 4px 0 !important;
    vertical-align: middle;
    white-space: nowrap;
}

.streamlms-front-admin-embedded .widefat td:last-child .button-link-delete {
    text-decoration: none;
}

.streamlms-front-admin-embedded .streamlms-card form p:has(.button-primary),
.streamlms-front-admin-embedded .streamlms-card form p:has(.button-secondary),
.streamlms-front-admin-embedded .streamlms-card form p:has(.button) {
    margin-top: 16px;
}

.streamlms-front-admin-embedded .streamlms-card form .button,
.streamlms-front-admin-embedded .streamlms-card form .button-primary,
.streamlms-front-admin-embedded .streamlms-card form .button-secondary {
    margin-top: 12px;
}

.streamlms-front-admin-topbar {
    position: sticky;
    top: 10px;
    z-index: 40;
    background: linear-gradient(180deg, rgba(18,18,18,.96) 0%, rgba(24,24,24,.94) 100%);
    backdrop-filter: blur(16px);
}

.streamlms-front-admin-section {
    scroll-margin-top: 110px;
}

@media (max-width: 980px) {
    .streamlms-front-admin-topbar {
        position: relative;
        top: auto;
    }
}
