/* StreamLMS Core frontend */
.streamlms-auth-box,
.streamlms-dashboard,
.streamlms-study-page {
    --streamlms-primary: #C5A059;
    --streamlms-secondary: #141414;
    --streamlms-accent: #C5A059;
    --streamlms-text: #FFFFFF;
    --streamlms-muted: #B3B3B3;
    background: linear-gradient(180deg, rgba(20,20,20,.96), rgba(10,10,10,.98));
    color: var(--streamlms-text);
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 20px 50px rgba(0,0,0,.25);
}
.streamlms-auth-box {
    max-width: 640px;
    margin: 0 auto;
}
.streamlms-auth-logo-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 0 14px;
}
.streamlms-auth-logo {
    display: block;
    width: auto;
    max-width: min(100%, 180px);
    max-height: 86px;
    object-fit: contain;
    filter: drop-shadow(0 10px 18px rgba(0,0,0,.22));
}
.streamlms-brand {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 6px;
    color: var(--streamlms-primary);
}
.streamlms-brand-sub {
    color: var(--streamlms-muted);
    margin-bottom: 20px;
}

/* V9 · fuerza tipografía clara en Login, Registro y Dashboard */
.streamlms-auth-box,
.streamlms-auth-box *:not(input):not(select):not(textarea):not(button),
.streamlms-dashboard,
.streamlms-dashboard *:not(input):not(select):not(textarea):not(button) {
    color: var(--streamlms-text) !important;
}
.streamlms-brand {
    color: var(--streamlms-primary) !important;
}
.streamlms-brand-sub,
.streamlms-muted-note,
.streamlms-profile-info p,
.streamlms-card-body p,
.streamlms-card-meta,
.streamlms-resource-item p {
    color: var(--streamlms-muted) !important;
}
.streamlms-response.ok {
    color: #7ce6a3 !important;
}
.streamlms-response.error {
    color: #ff8a8a !important;
}
.streamlms-auth-box input::placeholder,
.streamlms-auth-box textarea::placeholder {
    color: var(--streamlms-muted);
    opacity: 1;
}
.streamlms-auth-box label,
.streamlms-study-page label {
    display: block;
    font-weight: 700;
    margin: 12px 0 6px;
}
.streamlms-auth-box input,
.streamlms-auth-box select,
.streamlms-auth-box textarea {
    width: 100%;
    border: 1px solid rgba(255,255,255,.1);
    background: rgba(255,255,255,.06);
    color: var(--streamlms-text);
    border-radius: 12px;
    padding: 13px 14px;
    box-sizing: border-box;
}
.streamlms-auth-box input[type="file"] {
    padding: 10px;
}
.streamlms-auth-box button,
.streamlms-download-btn,
.streamlms-complete-btn,
.streamlms-logout,
.streamlms-tab-buttons button {
    background: var(--streamlms-primary);
    color: #fff;
    border: 0;
    border-radius: 12px;
    padding: 12px 18px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.streamlms-login-form button {
    margin-top: 18px;
    width: 100%;
}
.streamlms-auth-box button:hover,
.streamlms-download-btn:hover,
.streamlms-complete-btn:hover,
.streamlms-logout:hover,
.streamlms-tab-buttons button:hover {
    filter: brightness(1.08);
}
.streamlms-download-btn.alt {
    background: rgba(255,255,255,.1);
}
.streamlms-response {
    margin-top: 14px;
    font-size: 14px;
}
.streamlms-response.ok {
    color: #7ce6a3;
}
.streamlms-response.error {
    color: #ff8a8a;
}
.streamlms-two-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.streamlms-checklist {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 12px;
    padding: 14px;
    background: rgba(255,255,255,.05);
    border-radius: 16px;
}
.streamlms-register-form .streamlms-step {
    display: none;
}
.streamlms-register-form .streamlms-step.active {
    display: block;
}
.streamlms-step-actions {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.streamlms-register-modes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 18px;
}
.streamlms-register-mode {
    width: 100%;
    background: rgba(255,255,255,.06) !important;
    color: var(--streamlms-text) !important;
    border: 1px solid rgba(255,255,255,.1) !important;
}
.streamlms-register-mode.active {
    background: var(--streamlms-primary) !important;
    color: #fff !important;
    border-color: transparent !important;
}
.streamlms-register-panel {
    display: none;
}
.streamlms-register-panel.active {
    display: block;
}
.streamlms-bulk-upload-box {
    padding: 16px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 18px;
}
.streamlms-bulk-hints {
    margin: 14px 0 0;
    padding-left: 18px;
    color: var(--streamlms-muted);
}
.streamlms-bulk-hints li {
    margin-bottom: 6px;
}
.streamlms-muted-note {
    color: var(--streamlms-muted);
    font-size: 14px;
}
.streamlms-profile-top {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
}
.streamlms-profile-photo {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: rgba(255,255,255,.1);
    overflow: hidden;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}
.streamlms-profile-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.streamlms-profile-photo span {
    font-size: 28px;
    font-weight: 800;
}
.streamlms-profile-info {
    flex: 1;
}
.streamlms-profile-info h2 {
    margin: 0;
    font-size: 28px;
}
.streamlms-profile-info p {
    margin: 4px 0 0;
    color: var(--streamlms-muted);
}
.streamlms-tab-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 22px;
}
.streamlms-tab-buttons button {
    background: rgba(255,255,255,.08);
}
.streamlms-tab-buttons button.active {
    background: var(--streamlms-primary);
}
.streamlms-tab-panel {
    display: none;
}
.streamlms-tab-panel.active {
    display: block;
}
.streamlms-netflix-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 18px;
}
.streamlms-program-card {
    background: rgba(255,255,255,.05);
    border-radius: 18px;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    transition: transform .2s ease, box-shadow .2s ease;
}
.streamlms-program-card:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 18px 34px rgba(0,0,0,.22);
}
.streamlms-program-card.is-locked {
    opacity: .72;
    cursor: not-allowed;
}
.streamlms-program-card.is-locked:hover {
    transform: none;
    box-shadow: none;
}
.streamlms-card-cover {
    height: 290px;
    background: #1c1c1c;
    position: relative;
}
.streamlms-card-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.streamlms-card-fallback {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 20px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--streamlms-primary), #111);
}
.streamlms-chip,
.streamlms-access-chip {
    position: absolute;
    background: rgba(0,0,0,.75);
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
}
.streamlms-chip {
    top: 12px;
    right: 12px;
}
.streamlms-access-chip {
    left: 12px;
    bottom: 12px;
}
.streamlms-access-chip.is-active {
    background: rgba(9,129,52,.8);
}
.streamlms-access-chip.is-expired {
    background: rgba(180,41,41,.88);
}
.streamlms-card-body {
    padding: 14px;
}
.streamlms-card-body h3 {
    margin: 0 0 6px;
    font-size: 18px;
}
.streamlms-card-body p {
    margin: 0 0 12px;
    color: var(--streamlms-muted);
}
.streamlms-card-meta {
    display: block;
    margin-top: 10px;
    color: var(--streamlms-muted);
}
.streamlms-progress-mini {
    height: 6px;
    background: rgba(255,255,255,.08);
    border-radius: 999px;
    overflow: hidden;
}
.streamlms-progress-mini span,
.streamlms-progress-bar span {
    display: block;
    height: 100%;
    background: var(--streamlms-primary);
}
.streamlms-resource-list {
    display: grid;
    gap: 12px;
}
.streamlms-resource-item {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    background: rgba(255,255,255,.05);
    border-radius: 16px;
}
.streamlms-resource-item p {
    margin: 4px 0 0;
    color: var(--streamlms-muted);
}
.streamlms-study-topbar {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 18px;
}
.streamlms-back-link {
    color: var(--streamlms-primary);
    text-decoration: none;
    font-weight: 700;
}
.streamlms-progress-bar {
    height: 10px;
    background: rgba(255,255,255,.1);
    border-radius: 999px;
    overflow: hidden;
    width: min(420px, 100%);
    margin: 8px 0 4px;
}
.streamlms-study-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 20px;
}
.streamlms-study-sidebar {
    background: rgba(255,255,255,.04);
    border-radius: 18px;
    padding: 12px;
}
.streamlms-accordion {
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.streamlms-accordion:last-child {
    border-bottom: 0;
}
.streamlms-accordion-toggle {
    width: 100%;
    border: 0;
    text-align: left;
    background: transparent;
    color: #fff;
    padding: 14px 6px;
    font-weight: 800;
    cursor: pointer;
}
.streamlms-accordion-content {
    display: none;
    padding: 0 0 12px;
}
.streamlms-accordion.open .streamlms-accordion-content {
    display: block;
}
.streamlms-class-link {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
}
.streamlms-class-link span small {
    display: block;
    color: var(--streamlms-muted);
    margin-top: 4px;
}
.streamlms-class-link.active,
.streamlms-class-link:hover {
    background: rgba(255,255,255,.08);
}
.streamlms-study-main {
    background: rgba(255,255,255,.04);
    border-radius: 18px;
    padding: 18px;
}
.streamlms-study-main h3 {
    margin-top: 0;
    font-size: 24px;
}
.streamlms-study-header-meta {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}
.streamlms-study-pill {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    font-size: 12px;
    letter-spacing: .02em;
}
.streamlms-study-pill.alt {
    background: rgba(197,160,89,.18);
}
.streamlms-video-wrap {
    margin: 10px 0 16px;
    width: 100%;
    max-width: 100%;
}
.streamlms-iframe-wrap,
.streamlms-oembed,
.streamlms-bunny-player,
.streamlms-video,
.streamlms-iframe-wrap iframe,
.streamlms-oembed iframe,
.streamlms-bunny-player iframe {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
}
.streamlms-video,
.streamlms-iframe-wrap iframe,
.streamlms-oembed iframe,
.streamlms-bunny-player iframe {
    display: block;
    aspect-ratio: 16 / 9;
    min-height: 420px;
    border-radius: 18px;
    border: 0;
    background: #000;
}
.streamlms-iframe-wrap,
.streamlms-oembed {
    display: block;
    width: 100%;
}
.streamlms-bunny-player {
    position: relative;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at center, rgba(197,160,89,.28), rgba(0,0,0,.88));
    background-size: cover;
    background-position: center;
    min-height: 420px;
}
.streamlms-bunny-player.is-loaded {
    padding: 0;
}
.streamlms-bunny-player iframe {
    flex: 1 1 auto;
    height: 100%;
}
.streamlms-bunny-player::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.18), rgba(0,0,0,.54));
}
.streamlms-bunny-player.is-loaded::after {
    display: none;
}
.streamlms-bunny-play {
    position: relative;
    z-index: 2;
    border: 0;
    background: rgba(0,0,0,.66);
    color: #fff;
    border-radius: 999px;
    padding: 14px 18px;
    display: inline-flex;
    gap: 12px;
    align-items: center;
    font-weight: 800;
    cursor: pointer;
}
.streamlms-bunny-play-icon {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: var(--streamlms-primary);
    display: inline-grid;
    place-items: center;
}
.streamlms-empty-player {
    min-height: 280px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: rgba(255,255,255,.06);
    color: var(--streamlms-muted);
}
.streamlms-class-content {
    color: #f4f4f4;
    line-height: 1.65;
}
.streamlms-inline-resources {
    margin: 18px 0;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.streamlms-study-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 12px;
}
.streamlms-complete-btn.is-done {
    opacity: .82;
}

.streamlms-dashboard,
.streamlms-study-page {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}
.streamlms-study-main,
.streamlms-study-sidebar,
.streamlms-class-content,
.streamlms-card-body,
.streamlms-program-card {
    min-width: 0;
}
.streamlms-card-cover {
    height: clamp(220px, 32vw, 290px);
}
@media (max-width: 1180px) {
    .streamlms-study-layout {
        grid-template-columns: 280px minmax(0, 1fr);
    }
}
@media (max-width: 1024px) {
    .streamlms-auth-box,
    .streamlms-dashboard,
    .streamlms-study-page {
        padding: 22px;
    }
    .streamlms-video,
    .streamlms-iframe-wrap iframe,
    .streamlms-oembed iframe,
    .streamlms-bunny-player,
    .streamlms-bunny-player iframe {
        min-height: 320px;
    }
}
@media (max-width: 767px) {
    .streamlms-auth-box,
    .streamlms-dashboard,
    .streamlms-study-page {
        border-radius: 18px;
        padding: 18px;
    }
    .streamlms-brand,
    .streamlms-profile-info h2,
    .streamlms-study-main h3 {
        font-size: 22px;
    }
    .streamlms-netflix-grid,
    .streamlms-checklist {
        grid-template-columns: 1fr;
    }
    .streamlms-card-cover {
        height: 240px;
    }
    .streamlms-video,
    .streamlms-iframe-wrap iframe,
    .streamlms-oembed iframe,
    .streamlms-bunny-player,
    .streamlms-bunny-player iframe {
        min-height: 200px;
    }
}
@media (max-width: 480px) {
    .streamlms-step-actions,
    .streamlms-tab-buttons,
    .streamlms-study-actions,
    .streamlms-inline-resources {
        flex-direction: column;
    }
    .streamlms-auth-box button,
    .streamlms-download-btn,
    .streamlms-complete-btn,
    .streamlms-logout,
    .streamlms-tab-buttons button {
        width: 100%;
    }
    .streamlms-video,
    .streamlms-iframe-wrap iframe,
    .streamlms-oembed iframe,
    .streamlms-bunny-player,
    .streamlms-bunny-player iframe {
        min-height: 180px;
    }
}

@media (max-width: 900px) {
    .streamlms-two-cols,
    .streamlms-checklist,
    .streamlms-study-layout {
        grid-template-columns: 1fr;
    }
    .streamlms-profile-top,
    .streamlms-study-topbar,
    .streamlms-resource-item {
        flex-direction: column;
        align-items: flex-start;
    }
    .streamlms-video,
    .streamlms-iframe-wrap iframe,
    .streamlms-oembed iframe,
    .streamlms-bunny-player,
    .streamlms-bunny-player iframe {
        min-height: 240px;
    }
}


.streamlms-bunny-diagnostic {
    margin-top: 12px;
    border: 1px solid rgba(197,160,89,.25);
    background: rgba(20,20,20,.92);
    border-radius: 16px;
    padding: 14px 16px;
    color: #fff;
    display: grid;
    gap: 8px;
}
.streamlms-bunny-diagnostic strong {
    font-size: 14px;
}
.streamlms-bunny-diagnostic p {
    margin: 0;
    color: #f0f0f0;
}
.streamlms-bunny-diagnostic div {
    display: grid;
    gap: 4px;
}
.streamlms-bunny-diagnostic span {
    color: var(--streamlms-muted);
    font-size: 12px;
}
.streamlms-bunny-diagnostic code {
    white-space: pre-wrap;
    word-break: break-word;
    background: rgba(255,255,255,.06);
    border-radius: 10px;
    padding: 8px 10px;
    color: #fff;
}


/* V10 · solo estos títulos en dorado */
.streamlms-auth-box .streamlms-brand,
.streamlms-study-topbar h2 {
    color: #C5A059 !important;
}


/* V11 · corrige cortes de texto y visibilidad en selectores del registro */
.streamlms-register-form input,
.streamlms-register-form select,
.streamlms-register-form textarea,
.streamlms-login-form input,
.streamlms-login-form select,
.streamlms-login-form textarea {
    font-size: 16px;
    line-height: 1.4 !important;
    min-height: 52px;
    height: auto !important;
}
.streamlms-register-form select,
.streamlms-login-form select {
    padding-top: 14px;
    padding-bottom: 14px;
    padding-right: 42px;
    vertical-align: middle;
}
.streamlms-register-form input,
.streamlms-register-form select,
.streamlms-login-form input,
.streamlms-login-form select {
    text-overflow: ellipsis;
}
.streamlms-register-form select option,
.streamlms-login-form select option {
    color: #141414 !important;
    background: #ffffff !important;
}
.streamlms-register-form select:focus option,
.streamlms-login-form select:focus option,
.streamlms-register-form select option:checked,
.streamlms-login-form select option:checked {
    color: #141414 !important;
    background: #ffffff !important;
}


 .streamlms-carnet-wrap {
    --streamlms-carnet-dark: #0B0B0B;
    --streamlms-carnet-gold: #C5A059;
    width: min(100%, 640px);
    margin: 0 auto;
    text-align: center;
}
.streamlms-carnet-scene {
    perspective: 1400px;
}
.streamlms-carnet-card {
    position: relative;
    width: 100%;
    aspect-ratio: 1.586 / 1;
    min-height: auto;
    transform-style: preserve-3d;
    transition: transform .7s ease;
    cursor: pointer;
    outline: none;
}
.streamlms-carnet-wrap.is-flipped .streamlms-carnet-card {
    transform: rotateY(180deg);
}
.streamlms-carnet-face {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: clamp(10px, 1.8vw, 18px);
    overflow: hidden;
    border-radius: 26px;
    padding: clamp(14px, 2.3vw, 22px);
    color: #fff;
    background:
        radial-gradient(circle at top right, rgba(197,160,89,.22), transparent 34%),
        radial-gradient(circle at bottom left, rgba(197,160,89,.14), transparent 28%),
        linear-gradient(135deg, var(--streamlms-carnet-dark) 0%, #0D0D0D 44%, #040404 100%);
    border: 1px solid rgba(197,160,89,.38);
    box-shadow: 0 20px 42px rgba(0,0,0,.34);
}
.streamlms-carnet-front::after,
.streamlms-carnet-back::after {
    content: '';
    position: absolute;
    inset: 11px;
    border-radius: 20px;
    border: 1px solid rgba(197,160,89,.22);
    pointer-events: none;
}
.streamlms-carnet-back {
    transform: rotateY(180deg);
}
.streamlms-carnet-top {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
}
.streamlms-carnet-branding {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    text-align: left;
    min-width: 0;
    max-width: calc(100% - 68px);
}
.streamlms-carnet-logo {
    width: clamp(46px, 8vw, 62px);
    height: clamp(46px, 8vw, 62px);
    object-fit: contain;
    border-radius: 14px;
    background: rgba(255,255,255,.06);
    padding: 6px;
    flex: 0 0 auto;
}
.streamlms-carnet-kicker {
    display: block;
    color: rgba(255,255,255,.7);
    font-size: clamp(9px, 1.25vw, 11px);
    letter-spacing: .16em;
    text-transform: uppercase;
    margin-bottom: 6px;
}
.streamlms-carnet-branding h3 {
    margin: 0;
    font-size: clamp(18px, 3.5vw, 28px);
    line-height: 1.08;
    color: var(--streamlms-carnet-gold);
    word-break: break-word;
}
.streamlms-carnet-chip,
.streamlms-carnet-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(197,160,89,.48);
    background: rgba(197,160,89,.1);
    color: var(--streamlms-carnet-gold);
    padding: 7px 12px;
    font-size: clamp(9px, 1.2vw, 11px);
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
}
.streamlms-carnet-tag {
    max-width: 100%;
    white-space: normal;
    text-align: center;
}
.streamlms-carnet-tag-secondary {
    background: rgba(255,255,255,.05);
}
.streamlms-carnet-main {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(92px, 132px) 1fr;
    gap: clamp(12px, 2vw, 22px);
    align-items: center;
    flex: 1 1 auto;
    min-height: 0;
}
.streamlms-carnet-avatar {
    width: 100%;
    max-width: 132px;
    aspect-ratio: 0.78 / 1;
    border-radius: 22px;
    overflow: hidden;
    border: 2px solid rgba(197,160,89,.48);
    background: linear-gradient(180deg, rgba(197,160,89,.12), rgba(255,255,255,.03));
    display: grid;
    place-items: center;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
}
.streamlms-carnet-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.streamlms-carnet-avatar span {
    font-size: clamp(34px, 7vw, 60px);
    font-weight: 800;
    color: var(--streamlms-carnet-gold);
}
.streamlms-carnet-identity {
    text-align: left;
    min-width: 0;
}
.streamlms-carnet-identity h4 {
    margin: 0 0 6px;
    font-size: clamp(18px, 4.4vw, 36px);
    line-height: 1.02;
    color: #fff;
    word-break: break-word;
}
.streamlms-carnet-identity p {
    margin: 0;
    color: rgba(255,255,255,.76);
    font-size: clamp(12px, 2vw, 16px);
}
.streamlms-carnet-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}
.streamlms-carnet-footer {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.streamlms-carnet-footer div,
.streamlms-carnet-back-grid > div {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(197,160,89,.24);
    border-radius: 18px;
    padding: 12px 14px;
    text-align: left;
    min-height: 74px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}
.streamlms-carnet-footer span,
.streamlms-carnet-back-grid span {
    display: block;
    color: rgba(255,255,255,.62);
    font-size: clamp(9px, 1vw, 11px);
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 7px;
}
.streamlms-carnet-footer strong,
.streamlms-carnet-back-grid strong {
    color: #fff;
    font-size: clamp(12px, 1.6vw, 16px);
    line-height: 1.3;
    word-break: break-word;
}
.streamlms-carnet-back-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    flex: 1 1 auto;
    align-content: center;
}
.streamlms-carnet-back-grid-slim {
    justify-content: center;
}
.streamlms-carnet-wrap-executive .streamlms-carnet-face {
    background:
        radial-gradient(circle at top right, rgba(197,160,89,.28), transparent 28%),
        linear-gradient(135deg, #050505 0%, #111 48%, #000 100%);
    border-color: rgba(197,160,89,.54);
    box-shadow: 0 22px 50px rgba(0,0,0,.42);
}
.streamlms-carnet-wrap-executive .streamlms-carnet-front::before,
.streamlms-carnet-wrap-executive .streamlms-carnet-back::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 14%, rgba(255,255,255,.10) 42%, transparent 58%);
    opacity: .35;
    pointer-events: none;
}
.streamlms-carnet-main-executive {
    grid-template-columns: minmax(0, 1fr) minmax(96px, 126px);
    align-items: stretch;
}
.streamlms-carnet-identity-executive {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.streamlms-carnet-executive-pill {
    display: inline-flex;
    align-self: flex-start;
    margin-bottom: 12px;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: clamp(10px, 1.15vw, 11px);
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #0a0a0a;
    background: linear-gradient(135deg, rgba(255,231,172,.98), rgba(197,160,89,.96));
    box-shadow: 0 10px 22px rgba(0,0,0,.25);
}
.streamlms-carnet-avatar-executive {
    max-width: 126px;
    border-radius: 20px;
}
.streamlms-carnet-wrap-executive .streamlms-carnet-chip {
    background: linear-gradient(135deg, rgba(197,160,89,.22), rgba(255,231,172,.12));
}
.streamlms-carnet-back-grid-executive {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.streamlms-carnet-back-full {
    grid-column: 1 / -1;
}
.streamlms-carnet-helper {
    display: none;
    margin: 14px 0 0;
    text-align: center;
    color: var(--streamlms-carnet-gold);
    font-size: 13px;
    font-weight: 600;
}
.streamlms-carnet-wrap.is-flipped .streamlms-carnet-helper {
    display: block;
}
.streamlms-carnet-toggle {
    margin-top: 14px;
    background: var(--streamlms-carnet-gold);
    color: #111;
    border: 0;
    border-radius: 999px;
    padding: 11px 18px;
    font-weight: 800;
    cursor: pointer;
}
@media (max-width: 767px) {
    .streamlms-carnet-wrap {
        width: 100%;
        max-width: 100%;
    }
    .streamlms-carnet-card {
        aspect-ratio: 1.586 / 1;
    }
    .streamlms-carnet-face {
        padding: 12px;
        gap: 10px;
        border-radius: 20px;
    }
    .streamlms-carnet-front::after,
    .streamlms-carnet-back::after {
        inset: 8px;
        border-radius: 16px;
    }
    .streamlms-carnet-top {
        gap: 8px;
    }
    .streamlms-carnet-branding {
        gap: 8px;
        max-width: calc(100% - 54px);
    }
    .streamlms-carnet-main-executive {
        grid-template-columns: 1fr 94px;
        gap: 12px;
    }
    .streamlms-carnet-executive-pill {
        margin-bottom: 10px;
        padding: 6px 10px;
        letter-spacing: .11em;
    }
    .streamlms-carnet-back-grid-executive {
        grid-template-columns: 1fr;
    }
    .streamlms-carnet-logo {
        width: 40px;
        height: 40px;
        border-radius: 12px;
        padding: 5px;
    }
    .streamlms-carnet-branding h3 {
        font-size: clamp(14px, 4.2vw, 19px);
    }
    .streamlms-carnet-kicker {
        font-size: 8px;
        letter-spacing: .12em;
        margin-bottom: 4px;
    }
    .streamlms-carnet-chip,
    .streamlms-carnet-tag {
        padding: 5px 9px;
        font-size: 8px;
    }
    .streamlms-carnet-main {
        grid-template-columns: 92px 1fr;
        gap: 10px;
    }
    .streamlms-carnet-avatar {
        max-width: 92px;
        border-radius: 16px;
    }
    .streamlms-carnet-identity h4 {
        font-size: clamp(16px, 5.6vw, 24px);
        margin-bottom: 4px;
    }
    .streamlms-carnet-identity p {
        font-size: 11px;
    }
    .streamlms-carnet-meta-row {
        gap: 6px;
        margin-top: 8px;
    }
    .streamlms-carnet-footer {
        gap: 8px;
    }
    .streamlms-carnet-footer div,
    .streamlms-carnet-back-grid > div {
        min-height: 58px;
        padding: 10px 11px;
        border-radius: 14px;
    }
    .streamlms-carnet-footer span,
    .streamlms-carnet-back-grid span {
        font-size: 8px;
        margin-bottom: 4px;
        letter-spacing: .06em;
    }
    .streamlms-carnet-footer strong,
    .streamlms-carnet-back-grid strong {
        font-size: 11px;
    }
    .streamlms-carnet-helper {
        margin-top: 10px;
        font-size: 11px;
    }
    .streamlms-carnet-toggle {
        margin-top: 10px;
        padding: 10px 16px;
        font-size: 14px;
    }
}
@media (max-width: 420px) {
    .streamlms-carnet-branding h3 {
        font-size: 13px;
    }
    .streamlms-carnet-main {
        grid-template-columns: 78px 1fr;
    }
    .streamlms-carnet-avatar {
        max-width: 78px;
    }
    .streamlms-carnet-identity h4 {
        font-size: 14px;
    }
    .streamlms-carnet-identity p,
    .streamlms-carnet-footer strong,
    .streamlms-carnet-back-grid strong {
        font-size: 10px;
    }
    .streamlms-carnet-chip,
    .streamlms-carnet-tag {
        font-size: 7px;
        padding: 4px 8px;
    }
}


/* V61 · executive black card redesign inspired by premium credit-card layout */
.streamlms-carnet-wrap-executive {
    width: min(100%, 700px);
}
.streamlms-carnet-wrap-executive .streamlms-carnet-face {
    border-radius: 28px;
    padding: clamp(20px, 2.5vw, 28px);
    border: 1px solid rgba(197,160,89,.34);
    background: linear-gradient(145deg, #0b0b0b 0%, #050505 58%, #000 100%);
    box-shadow: 0 22px 45px rgba(0,0,0,.34), 0 12px 28px rgba(0,0,0,.20);
}
.streamlms-carnet-wrap-executive .streamlms-carnet-front::after,
.streamlms-carnet-wrap-executive .streamlms-carnet-back::after {
    inset: 0;
    border: 0;
}
.streamlms-carnet-front-executive,
.streamlms-carnet-back-executive {
    isolation: isolate;
}
.streamlms-executive-sheen,
.streamlms-executive-lines {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.streamlms-executive-sheen {
    background:
        radial-gradient(circle at 80% 16%, rgba(232,198,124,.14), transparent 18%),
        radial-gradient(circle at 16% 100%, rgba(232,198,124,.06), transparent 28%),
        linear-gradient(180deg, rgba(255,255,255,.045), transparent 34%, rgba(0,0,0,.14) 78%, rgba(0,0,0,.34) 100%);
    z-index: 0;
}
.streamlms-executive-lines {
    background: repeating-linear-gradient(115deg, transparent 0 26px, rgba(197,160,89,.055) 26px 29px);
    opacity: .26;
    z-index: 0;
}
.streamlms-executive-toprow,
.streamlms-executive-number,
.streamlms-executive-meta-pair,
.streamlms-executive-name,
.streamlms-executive-role,
.streamlms-executive-stripe,
.streamlms-executive-signrow,
.streamlms-executive-backgrid {
    position: relative;
    z-index: 1;
}
.streamlms-executive-toprow {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}
.streamlms-executive-chip {
    width: clamp(58px, 11vw, 84px);
    aspect-ratio: 1.18 / 1;
    border-radius: 10px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    overflow: hidden;
    border: 1px solid rgba(98,70,23,.35);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
    background: linear-gradient(135deg, #d9bc6a 0%, #b48f47 100%);
}
.streamlms-executive-chip span {
    display: block;
    border: 1px solid rgba(98,70,23,.28);
    background: linear-gradient(145deg, rgba(255,255,255,.14), rgba(0,0,0,.04));
}
.streamlms-executive-seal {
    width: clamp(62px, 11vw, 92px);
    height: clamp(62px, 11vw, 92px);
    border-radius: 50%;
    display: grid;
    place-items: center;
    border: 3px solid rgba(214,179,100,.86);
    background:
        radial-gradient(circle at 30% 30%, rgba(255,245,205,.55), rgba(214,179,100,.20) 36%, rgba(0,0,0,.14) 100%),
        linear-gradient(145deg, #e0c27d, #a37b32);
    box-shadow: inset 0 0 0 2px rgba(77,55,17,.34), 0 4px 18px rgba(0,0,0,.24);
    overflow: hidden;
}
.streamlms-executive-seal img {
    width: 74%;
    height: 74%;
    object-fit: contain;
    filter: contrast(1.04) saturate(.92);
}
.streamlms-executive-seal span {
    color: #3d2b09;
    font-size: clamp(16px, 3vw, 24px);
    font-weight: 900;
    letter-spacing: .08em;
}
.streamlms-executive-number {
    margin-top: clamp(8px, 1.5vw, 16px);
    padding-left: clamp(84px, 14vw, 150px);
    text-align: left;
    color: rgba(247,247,247,.96);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: clamp(23px, 4.15vw, 44px);
    letter-spacing: .34em;
    text-shadow: 0 1px 10px rgba(0,0,0,.34);
}
.streamlms-executive-meta-pair {
    margin-top: auto;
    display: flex;
    gap: 28px;
    align-items: flex-end;
}
.streamlms-executive-meta-pair > div {
    min-width: 0;
    text-align: left;
}
.streamlms-executive-meta-pair span {
    display: block;
    color: rgba(255,255,255,.66);
    font-size: clamp(9px, 1vw, 11px);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    letter-spacing: .14em;
    text-transform: uppercase;
    margin-bottom: 6px;
}
.streamlms-executive-meta-pair strong {
    display: block;
    color: #ffffff;
    font-size: clamp(17px, 2.1vw, 24px);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    letter-spacing: .02em;
}
.streamlms-executive-name {
    margin-top: clamp(8px, 1.4vw, 14px);
    text-align: left;
    color: var(--streamlms-carnet-gold);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: clamp(20px, 3.25vw, 34px);
    letter-spacing: .03em;
    line-height: 1.08;
    text-transform: uppercase;
    word-break: break-word;
}
.streamlms-executive-role {
    text-align: left;
    color: rgba(255,255,255,.88);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: clamp(13px, 1.55vw, 18px);
    letter-spacing: .12em;
    text-transform: uppercase;
}
.streamlms-carnet-back-executive {
    justify-content: flex-start;
}
.streamlms-executive-stripe {
    height: 64px;
    margin: -28px -28px 20px;
    background: linear-gradient(180deg, #111 0%, #000 100%);
}
.streamlms-executive-signrow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    background: rgba(255,255,255,.96);
    border-radius: 6px;
    min-height: 54px;
    padding: 10px 14px;
    margin-bottom: 22px;
    color: #1a1a1a;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,.08);
}
.streamlms-executive-signrow span,
.streamlms-executive-signrow strong {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: clamp(12px, 1.5vw, 16px);
}
.streamlms-executive-signrow span {
    color: rgba(0,0,0,.26);
}
.streamlms-executive-signrow strong {
    font-style: italic;
    font-weight: 800;
}
.streamlms-executive-backgrid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 20px;
    align-items: end;
    flex: 1 1 auto;
}
.streamlms-executive-copyblock {
    text-align: left;
}
.streamlms-executive-copyblock p {
    margin: 0 0 18px;
    color: rgba(255,255,255,.72);
    font-size: clamp(14px, 1.55vw, 18px);
    line-height: 1.55;
    max-width: 26ch;
}
.streamlms-executive-location {
    color: rgba(255,255,255,.66);
    font-size: clamp(16px, 1.8vw, 21px);
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
    margin-bottom: 18px;
}
.streamlms-executive-status {
    color: var(--streamlms-carnet-gold);
    font-size: clamp(17px, 1.85vw, 22px);
    font-weight: 800;
    letter-spacing: .03em;
    text-transform: uppercase;
}
.streamlms-executive-brandblock {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    gap: 16px;
}
.streamlms-executive-wordmark {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-end;
    color: var(--streamlms-carnet-gold);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(28px, 3.5vw, 56px);
    line-height: .9;
    letter-spacing: .01em;
    text-transform: uppercase;
}
.streamlms-executive-matrix {
    width: 118px;
    height: 118px;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 2px 14px rgba(0,0,0,.18);
    flex: 0 0 auto;
}
@media (max-width: 767px) {
    .streamlms-carnet-wrap-executive .streamlms-carnet-face {
        border-radius: 20px;
        padding: 14px;
    }
    .streamlms-executive-stripe {
        height: 46px;
        margin: -14px -14px 14px;
    }
    .streamlms-executive-chip {
        width: 52px;
        border-radius: 8px;
    }
    .streamlms-executive-seal {
        width: 54px;
        height: 54px;
        border-width: 2px;
    }
    .streamlms-executive-number {
        padding-left: 0;
        margin-top: 2px;
        font-size: clamp(18px, 5.2vw, 25px);
        letter-spacing: .18em;
    }
    .streamlms-executive-meta-pair {
        gap: 14px;
        margin-top: 8px;
    }
    .streamlms-executive-meta-pair span {
        font-size: 8px;
        margin-bottom: 4px;
    }
    .streamlms-executive-meta-pair strong {
        font-size: 13px;
    }
    .streamlms-executive-name {
        margin-top: 8px;
        font-size: clamp(14px, 4.6vw, 18px);
    }
    .streamlms-executive-role {
        font-size: 10px;
        letter-spacing: .09em;
    }
    .streamlms-executive-signrow {
        min-height: 42px;
        padding: 8px 10px;
        margin-bottom: 12px;
    }
    .streamlms-executive-signrow span,
    .streamlms-executive-signrow strong {
        font-size: 10px;
    }
    .streamlms-executive-backgrid {
        grid-template-columns: minmax(0, 1fr) 120px;
        gap: 10px;
    }
    .streamlms-executive-copyblock p {
        font-size: 10px;
        line-height: 1.42;
        margin-bottom: 10px;
    }
    .streamlms-executive-location {
        font-size: 11px;
        margin-bottom: 10px;
    }
    .streamlms-executive-status {
        font-size: 12px;
    }
    .streamlms-executive-wordmark {
        font-size: clamp(17px, 6vw, 26px);
    }
    .streamlms-executive-matrix {
        width: 78px;
        height: 78px;
        border-radius: 8px;
    }
}
@media (max-width: 420px) {
    .streamlms-executive-number {
        font-size: 16px;
        letter-spacing: .12em;
    }
    .streamlms-executive-meta-pair {
        gap: 10px;
        flex-wrap: wrap;
    }
    .streamlms-executive-backgrid {
        grid-template-columns: 1fr 96px;
    }
    .streamlms-executive-copyblock p {
        font-size: 9px;
    }
    .streamlms-executive-location,
    .streamlms-executive-status {
        font-size: 10px;
    }
    .streamlms-executive-matrix {
        width: 64px;
        height: 64px;
    }
}


/* V18 · mobile app-like UI without changing current logic */
.streamlms-app-nav .streamlms-nav-button {
    gap: 8px;
}
.streamlms-nav-button .streamlms-nav-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    line-height: 1;
}
.streamlms-nav-button .streamlms-nav-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
}
.streamlms-carnet-panel {
    display: grid;
    gap: 16px;
    justify-items: center;
}
.streamlms-carnet-panel .streamlms-carnet-wrap {
    margin-inline: auto;
}
@media (max-width: 900px) {
    .streamlms-auth-box,
    .streamlms-dashboard,
    .streamlms-study-page {
        width: 100%;
        max-width: 100%;
        border-radius: 28px;
        padding: 18px;
        box-shadow: 0 18px 40px rgba(0,0,0,.28);
    }
    .streamlms-dashboard,
    .streamlms-study-page {
        min-height: calc(100vh - 36px);
    }
    .streamlms-dashboard {
        padding-bottom: calc(102px + env(safe-area-inset-bottom, 0px));
        position: relative;
        overflow: visible;
    }
    .streamlms-profile-top {
        position: sticky;
        top: 0;
        z-index: 20;
        margin: -2px 0 18px;
        padding: 4px 0 14px;
        background: linear-gradient(180deg, rgba(10,10,10,.97), rgba(10,10,10,.84), rgba(10,10,10,0));
        backdrop-filter: blur(12px);
        gap: 12px;
    }
    .streamlms-profile-photo {
        width: 62px;
        height: 62px;
        border: 1px solid rgba(197,160,89,.24);
    }
    .streamlms-profile-info h2 {
        font-size: 22px;
        line-height: 1.08;
    }
    .streamlms-profile-info p {
        font-size: 13px;
    }
    .streamlms-logout {
        width: auto !important;
        min-width: 0;
        border-radius: 999px;
        padding: 10px 14px;
        font-size: 13px;
        box-shadow: 0 8px 20px rgba(197,160,89,.14);
    }
    .streamlms-tab-buttons.streamlms-app-nav {
        position: fixed;
        left: 50%;
        bottom: calc(12px + env(safe-area-inset-bottom, 0px));
        transform: translateX(-50%);
        width: min(94vw, 720px);
        margin: 0;
        padding: 8px;
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 8px;
        background: rgba(12,12,12,.92);
        border: 1px solid rgba(197,160,89,.20);
        border-radius: 24px;
        box-shadow: 0 18px 36px rgba(0,0,0,.36);
        backdrop-filter: blur(16px);
        z-index: 999;
    }
    .streamlms-app-nav .streamlms-nav-button {
        background: transparent;
        border: 1px solid transparent;
        color: var(--streamlms-text);
        min-height: 58px;
        padding: 8px 6px;
        border-radius: 18px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 4px;
        font-size: 11px;
        line-height: 1.1;
        letter-spacing: .01em;
    }
    .streamlms-app-nav .streamlms-nav-button.active {
        background: linear-gradient(180deg, rgba(197,160,89,.24), rgba(197,160,89,.14));
        border-color: rgba(197,160,89,.42);
        color: #fff;
    }
    .streamlms-app-nav .streamlms-nav-button .streamlms-nav-icon {
        font-size: 17px;
    }
    .streamlms-tab-panel {
        animation: streamlmsFadeIn .18s ease;
    }
    .streamlms-netflix-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .streamlms-program-card,
    .streamlms-resource-item,
    .streamlms-study-main,
    .streamlms-study-sidebar {
        border: 1px solid rgba(255,255,255,.06);
        box-shadow: 0 10px 24px rgba(0,0,0,.18);
    }
    .streamlms-card-cover {
        height: 190px;
    }
    .streamlms-resource-item {
        border-radius: 20px;
        padding: 14px;
    }
    .streamlms-study-page {
        padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px));
    }
    .streamlms-study-topbar {
        position: sticky;
        top: 0;
        z-index: 21;
        margin: -2px 0 14px;
        padding: 2px 0 12px;
        background: linear-gradient(180deg, rgba(10,10,10,.98), rgba(10,10,10,.88), rgba(10,10,10,0));
        backdrop-filter: blur(12px);
        align-items: flex-start;
        gap: 12px;
    }
    .streamlms-progress-bar {
        width: 100%;
    }
    .streamlms-study-layout {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .streamlms-study-sidebar {
        order: 2;
        padding: 10px;
        border-radius: 20px;
    }
    .streamlms-study-main {
        order: 1;
        padding: 16px;
        border-radius: 22px;
    }
    .streamlms-video,
    .streamlms-iframe-wrap iframe,
    .streamlms-oembed iframe,
    .streamlms-bunny-player,
    .streamlms-bunny-player iframe {
        min-height: 220px;
        border-radius: 22px;
    }
    .streamlms-inline-resources {
        gap: 8px;
    }
    .streamlms-study-actions {
        gap: 8px;
    }
}
@media (max-width: 640px) {
    .streamlms-auth-box,
    .streamlms-dashboard,
    .streamlms-study-page {
        border-radius: 24px;
        padding: 16px;
    }
    .streamlms-brand,
    .streamlms-profile-info h2,
    .streamlms-study-main h3 {
        font-size: 20px;
    }
    .streamlms-profile-top {
        align-items: center;
    }
    .streamlms-profile-photo {
        width: 56px;
        height: 56px;
    }
    .streamlms-profile-info h2 {
        font-size: 20px;
    }
    .streamlms-tab-buttons.streamlms-app-nav {
        width: min(96vw, 560px);
        padding: 7px;
        gap: 6px;
        border-radius: 22px;
    }
    .streamlms-app-nav .streamlms-nav-button {
        min-height: 56px;
        padding: 8px 4px;
        border-radius: 16px;
        font-size: 10px;
    }
    .streamlms-app-nav .streamlms-nav-button .streamlms-nav-icon {
        font-size: 16px;
    }
    .streamlms-card-cover {
        height: 174px;
    }
    .streamlms-resource-item,
    .streamlms-study-main,
    .streamlms-study-sidebar {
        border-radius: 18px;
    }
    .streamlms-video,
    .streamlms-iframe-wrap iframe,
    .streamlms-oembed iframe,
    .streamlms-bunny-player,
    .streamlms-bunny-player iframe {
        min-height: 198px;
    }
}
@media (max-width: 420px) {
    .streamlms-dashboard {
        padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px));
    }
    .streamlms-profile-top {
        gap: 10px;
    }
    .streamlms-profile-info h2 {
        font-size: 18px;
    }
    .streamlms-profile-info p {
        font-size: 12px;
    }
    .streamlms-logout {
        padding: 9px 12px;
        font-size: 12px;
    }
    .streamlms-tab-buttons.streamlms-app-nav {
        width: calc(100vw - 16px);
        bottom: calc(8px + env(safe-area-inset-bottom, 0px));
        border-radius: 20px;
    }
    .streamlms-app-nav .streamlms-nav-button {
        min-height: 52px;
        font-size: 9px;
    }
    .streamlms-app-nav .streamlms-nav-button .streamlms-nav-icon {
        font-size: 14px;
    }
    .streamlms-card-cover {
        height: 160px;
    }
    .streamlms-video,
    .streamlms-iframe-wrap iframe,
    .streamlms-oembed iframe,
    .streamlms-bunny-player,
    .streamlms-bunny-player iframe {
        min-height: 180px;
    }
}
@keyframes streamlmsFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* V19 · safer Elementor compatibility + premium mobile app shell */
.streamlms-mobile-appbar {
    display: none;
}
.streamlms-nav-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    color: currentColor;
    flex: 0 0 auto;
}
.streamlms-nav-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}
@media (max-width: 900px) {
    .streamlms-mobile-appbar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        position: sticky;
        top: 0;
        z-index: 30;
        margin: -2px 0 14px;
        padding: 10px 0 14px;
        background: linear-gradient(180deg, rgba(8,8,8,.98), rgba(8,8,8,.86), rgba(8,8,8,0));
        backdrop-filter: blur(14px);
    }
    .streamlms-mobile-appbar-brand {
        min-width: 0;
        display: flex;
        flex-direction: column;
        gap: 3px;
    }
    .streamlms-mobile-appbar-kicker {
        font-size: 10px;
        letter-spacing: .16em;
        text-transform: uppercase;
        color: rgba(255,255,255,.62);
    }
    .streamlms-mobile-appbar-brand strong {
        color: #fff;
        font-size: 16px;
        font-weight: 800;
        line-height: 1.05;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 62vw;
    }
    .streamlms-mobile-appbar-status,
    .streamlms-mobile-appbar-back {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 10px 12px;
        border-radius: 999px;
        border: 1px solid rgba(197,160,89,.22);
        background: rgba(255,255,255,.05);
        color: #fff;
        text-decoration: none;
        box-shadow: 0 10px 24px rgba(0,0,0,.18);
        flex-shrink: 0;
    }
    .streamlms-mobile-appbar-status .streamlms-nav-icon,
    .streamlms-mobile-appbar-back .streamlms-nav-icon {
        width: 16px;
        height: 16px;
        color: var(--streamlms-primary);
    }
    .streamlms-mobile-appbar-status em,
    .streamlms-mobile-appbar-back em {
        font-style: normal;
        font-size: 12px;
        font-weight: 700;
        letter-spacing: .01em;
    }
    .streamlms-profile-top,
    .streamlms-study-topbar {
        position: static;
        background: transparent;
        backdrop-filter: none;
        margin-top: 0;
        padding-top: 0;
    }
    .streamlms-study-topbar {
        display: none;
    }
    .streamlms-tab-buttons.streamlms-app-nav {
        width: min(94vw, 720px);
        border-radius: 26px;
        padding: 10px;
        gap: 8px;
        background: linear-gradient(180deg, rgba(14,14,14,.94), rgba(8,8,8,.94));
        box-shadow: 0 22px 44px rgba(0,0,0,.40);
    }
    .streamlms-app-nav .streamlms-nav-button {
        min-height: 62px;
        border-radius: 18px;
        padding: 8px 6px 10px;
        gap: 5px;
    }
    .streamlms-app-nav .streamlms-nav-button .streamlms-nav-icon {
        width: 20px;
        height: 20px;
        color: rgba(255,255,255,.92);
    }
    .streamlms-app-nav .streamlms-nav-button.active .streamlms-nav-icon {
        color: #fff;
    }
    .streamlms-app-nav .streamlms-nav-button .streamlms-nav-label {
        font-size: 10.5px;
        font-weight: 700;
        letter-spacing: .01em;
    }
}
@media (max-width: 640px) {
    .streamlms-mobile-appbar-brand strong {
        font-size: 15px;
        max-width: 54vw;
    }
    .streamlms-mobile-appbar-status,
    .streamlms-mobile-appbar-back {
        padding: 9px 11px;
    }
    .streamlms-mobile-appbar-status em,
    .streamlms-mobile-appbar-back em {
        font-size: 11px;
    }
    .streamlms-app-nav .streamlms-nav-button {
        min-height: 58px;
    }
    .streamlms-app-nav .streamlms-nav-button .streamlms-nav-icon {
        width: 18px;
        height: 18px;
    }
}
@media (max-width: 420px) {
    .streamlms-mobile-appbar {
        gap: 8px;
    }
    .streamlms-mobile-appbar-brand strong {
        font-size: 14px;
        max-width: 48vw;
    }
    .streamlms-mobile-appbar-status,
    .streamlms-mobile-appbar-back {
        padding: 8px 10px;
        gap: 6px;
    }
    .streamlms-mobile-appbar-status em,
    .streamlms-mobile-appbar-back em {
        font-size: 10px;
    }
    .streamlms-tab-buttons.streamlms-app-nav {
        border-radius: 22px;
        padding: 8px;
    }
}


/* V20 · full-width app shell on mobile + clean dashboard page title */
body.streamlms-dashboard-page .entry-title,
body.streamlms-dashboard-page .page-title,
body.streamlms-dashboard-page .wp-block-post-title,
body.streamlms-dashboard-page .elementor-widget-theme-post-title,
body.streamlms-dashboard-page .elementor-page-title,
body.streamlms-dashboard-page .entry-header,
body.streamlms-dashboard-page .page-header {
    display: none !important;
}

@media (max-width: 900px) {
    body.streamlms-dashboard-page,
    body.streamlms-dashboard-page #page,
    body.streamlms-dashboard-page .site,
    body.streamlms-dashboard-page #content,
    body.streamlms-dashboard-page .site-content,
    body.streamlms-dashboard-page .site-main,
    body.streamlms-dashboard-page .elementor,
    body.streamlms-dashboard-page .elementor-section-wrap,
    body.streamlms-dashboard-page .elementor-top-section,
    body.streamlms-dashboard-page .elementor-container,
    body.streamlms-dashboard-page .elementor-column,
    body.streamlms-dashboard-page .elementor-widget-wrap,
    body.streamlms-dashboard-page .elementor-widget-shortcode,
    body.streamlms-dashboard-page .elementor-widget-container {
        background: transparent !important;
        box-shadow: none !important;
    }

    body.streamlms-dashboard-page .elementor-section-wrap,
    body.streamlms-dashboard-page .elementor-top-section,
    body.streamlms-dashboard-page .elementor-container,
    body.streamlms-dashboard-page .elementor-column,
    body.streamlms-dashboard-page .elementor-column-gap-default > .elementor-column > .elementor-element-populated,
    body.streamlms-dashboard-page .elementor-widget-wrap,
    body.streamlms-dashboard-page .elementor-widget-shortcode,
    body.streamlms-dashboard-page .elementor-widget-container,
    body.streamlms-dashboard-page article,
    body.streamlms-dashboard-page .post,
    body.streamlms-dashboard-page .page {
        margin: 0 !important;
        padding: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    body.streamlms-dashboard-page {
        background: #050505 !important;
    }

    body.streamlms-dashboard-page .streamlms-dashboard,
    body.streamlms-dashboard-page .streamlms-study-page {
        width: 100vw;
        max-width: 100vw;
        min-height: 100svh;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        border-radius: 0;
        padding: calc(14px + env(safe-area-inset-top, 0px)) 16px calc(92px + env(safe-area-inset-bottom, 0px));
        box-shadow: none;
        background: linear-gradient(180deg, rgba(8,8,8,.995), rgba(5,5,5,1));
    }

    body.streamlms-dashboard-page .streamlms-profile-top {
        margin-bottom: 18px;
    }

    body.streamlms-dashboard-page .streamlms-profile-photo {
        width: 68px;
        height: 68px;
    }

    body.streamlms-dashboard-page .streamlms-profile-info h2 {
        font-size: 24px;
        line-height: 1.08;
    }

    body.streamlms-dashboard-page .streamlms-profile-info p {
        font-size: 13px;
    }

    body.streamlms-dashboard-page .streamlms-mobile-appbar {
        margin: -2px 0 18px;
        padding: 6px 0 16px;
    }

    body.streamlms-dashboard-page .streamlms-mobile-appbar-brand strong {
        font-size: 17px;
        max-width: 58vw;
    }

    body.streamlms-dashboard-page .streamlms-mobile-appbar-kicker {
        color: rgba(197,160,89,.82);
        letter-spacing: .18em;
    }

    body.streamlms-dashboard-page .streamlms-mobile-appbar-status,
    body.streamlms-dashboard-page .streamlms-mobile-appbar-back {
        background: rgba(255,255,255,.06);
        border-color: rgba(197,160,89,.28);
        box-shadow: 0 12px 28px rgba(0,0,0,.28);
    }

    body.streamlms-dashboard-page .streamlms-tab-buttons.streamlms-app-nav {
        width: min(95vw, 760px);
        left: 50%;
        transform: translateX(-50%);
        bottom: calc(10px + env(safe-area-inset-bottom, 0px));
        padding: 10px;
        gap: 8px;
        border: 1px solid rgba(197,160,89,.16);
        background: linear-gradient(180deg, rgba(16,16,16,.96), rgba(8,8,8,.98));
        box-shadow: 0 18px 40px rgba(0,0,0,.42);
    }

    body.streamlms-dashboard-page .streamlms-app-nav .streamlms-nav-button {
        min-height: 60px;
        border-radius: 18px;
        background: transparent;
    }

    body.streamlms-dashboard-page .streamlms-app-nav .streamlms-nav-button.active {
        background: linear-gradient(180deg, rgba(197,160,89,.24), rgba(197,160,89,.14));
        box-shadow: inset 0 0 0 1px rgba(197,160,89,.20);
    }

    body.streamlms-dashboard-page .streamlms-app-nav .streamlms-nav-button .streamlms-nav-icon {
        width: 21px;
        height: 21px;
    }

    body.streamlms-dashboard-page .streamlms-app-nav .streamlms-nav-button .streamlms-nav-label {
        font-size: 10.5px;
    }

    body.streamlms-dashboard-page .streamlms-netflix-grid {
        gap: 14px;
    }

    body.streamlms-dashboard-page .streamlms-program-card {
        border-radius: 20px;
        box-shadow: 0 16px 32px rgba(0,0,0,.26);
    }

    body.streamlms-dashboard-page .streamlms-card-cover {
        height: 188px;
    }

    body.streamlms-dashboard-page .streamlms-card-body {
        padding-bottom: 8px;
    }
}

@media (max-width: 520px) {
    body.streamlms-dashboard-page .streamlms-dashboard,
    body.streamlms-dashboard-page .streamlms-study-page {
        padding-left: 14px;
        padding-right: 14px;
    }

    body.streamlms-dashboard-page .streamlms-mobile-appbar-brand strong {
        max-width: 50vw;
        font-size: 15px;
    }

    body.streamlms-dashboard-page .streamlms-mobile-appbar-status em,
    body.streamlms-dashboard-page .streamlms-mobile-appbar-back em {
        font-size: 10px;
    }

    body.streamlms-dashboard-page .streamlms-profile-top {
        gap: 12px;
    }

    body.streamlms-dashboard-page .streamlms-card-cover {
        height: 172px;
    }
}

/* V21 · mobile dashboard refinements + carnet logo balance */
@media (max-width: 900px) {
    .streamlms-mobile-appbar-brand strong {
        color: var(--streamlms-primary);
    }

    .streamlms-mobile-appbar-status {
        border-color: rgba(34, 197, 94, .24);
        background: linear-gradient(180deg, rgba(17,17,17,.88), rgba(10,10,10,.94));
    }

    .streamlms-mobile-appbar-status .streamlms-nav-icon {
        color: #22c55e !important;
        filter: drop-shadow(0 0 8px rgba(34,197,94,.28));
    }

    .streamlms-profile-top {
        display: grid;
        grid-template-columns: 72px minmax(0, 1fr);
        grid-template-areas:
            'photo info'
            'photo logout';
        align-items: center;
        column-gap: 14px;
        row-gap: 8px;
    }

    .streamlms-profile-photo {
        grid-area: photo;
        width: 72px;
        height: 72px;
        align-self: start;
    }

    .streamlms-profile-info {
        grid-area: info;
        min-width: 0;
    }

    .streamlms-profile-info h2,
    .streamlms-profile-info p {
        text-align: left;
    }

    .streamlms-logout {
        grid-area: logout;
        justify-self: start;
        align-self: start;
        margin: 0;
        width: auto !important;
        min-width: 138px;
        padding-inline: 16px;
    }
}

@media (max-width: 640px) {
    .streamlms-profile-top {
        grid-template-columns: 64px minmax(0, 1fr);
        column-gap: 12px;
    }

    .streamlms-profile-photo {
        width: 64px;
        height: 64px;
    }

    .streamlms-logout {
        min-width: 126px;
        padding: 9px 14px;
        font-size: 12px;
    }
}

@media (max-width: 420px) {
    .streamlms-profile-top {
        grid-template-columns: 58px minmax(0, 1fr);
        column-gap: 10px;
    }

    .streamlms-profile-photo {
        width: 58px;
        height: 58px;
    }

    .streamlms-profile-info h2 {
        font-size: 17px;
    }
}

.streamlms-carnet-logo {
    width: clamp(58px, 8.8vw, 78px);
    height: clamp(58px, 8.8vw, 78px);
    padding: 7px;
}

.streamlms-carnet-branding {
    gap: 14px;
    max-width: calc(100% - 74px);
}

@media (max-width: 767px) {
    .streamlms-carnet-logo {
        width: 54px;
        height: 54px;
        padding: 6px;
        border-radius: 14px;
    }

    .streamlms-carnet-branding {
        gap: 10px;
        max-width: calc(100% - 64px);
    }
}


/* V22 · icon color hardening + dashboard title cleanup + carnet photo right */
@media (max-width: 900px) {
    .streamlms-mobile-appbar-status,
    .streamlms-mobile-appbar-status em {
        color: #ffffff !important;
    }

    .streamlms-mobile-appbar-status .streamlms-nav-icon,
    .streamlms-mobile-appbar-status .streamlms-nav-icon svg,
    .streamlms-mobile-appbar-status .streamlms-nav-icon svg * {
        color: #22c55e !important;
        fill: currentColor !important;
        stroke: currentColor !important;
    }
}

body.streamlms-dashboard-page .entry-title,
body.streamlms-dashboard-page .page-title,
body.streamlms-dashboard-page .wp-block-post-title,
body.streamlms-dashboard-page .elementor-widget-theme-post-title,
body.streamlms-dashboard-page .elementor-page-title,
body.streamlms-dashboard-page .entry-header,
body.streamlms-dashboard-page .page-header,
body.streamlms-dashboard-page h1,
body.streamlms-dashboard-page .ast-article-single .entry-title,
body.streamlms-dashboard-page .site-content .entry-title,
body.streamlms-dashboard-page .site-content h1:first-of-type {
    display: none !important;
}

.streamlms-carnet-main {
    grid-template-columns: minmax(0, 1fr) minmax(104px, 148px);
}

.streamlms-carnet-avatar {
    order: 2;
    justify-self: end;
}

.streamlms-carnet-identity {
    order: 1;
}

@media (max-width: 767px) {
    .streamlms-carnet-main {
        grid-template-columns: minmax(0, 1fr) 88px;
        gap: 12px;
    }

    .streamlms-carnet-avatar {
        max-width: 88px;
    }
}

@media (max-width: 420px) {
    .streamlms-carnet-main {
        grid-template-columns: minmax(0, 1fr) 76px;
        gap: 10px;
    }

    .streamlms-carnet-avatar {
        max-width: 76px;
    }
}


/* V23 · carnet sizing, program card refinement, app-like login */
.streamlms-carnet-wrap {
    width: min(100%, 540px);
}
.streamlms-carnet-face {
    gap: clamp(8px, 1.4vw, 14px);
}
.streamlms-carnet-front .streamlms-carnet-footer {
    margin-top: auto;
}
.streamlms-carnet-logo {
    width: clamp(66px, 9vw, 86px);
    height: clamp(66px, 9vw, 86px);
    padding: 8px;
}
.streamlms-carnet-branding {
    max-width: calc(100% - 86px);
}
.streamlms-carnet-main {
    grid-template-columns: minmax(0, 1fr) minmax(112px, 156px);
    align-items: center;
}
.streamlms-carnet-avatar {
    max-width: 148px;
    aspect-ratio: .9 / 1;
}
.streamlms-carnet-identity h4 {
    font-size: clamp(17px, 4vw, 34px);
}
@media (min-width: 901px) {
    .streamlms-carnet-wrap {
        width: min(100%, 500px);
    }
}

.streamlms-program-card {
    display: flex;
    flex-direction: column;
}
.streamlms-card-cover {
    height: auto;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    flex: 0 0 auto;
}
.streamlms-card-body {
    display: grid;
    gap: 8px;
    align-content: start;
    padding: 14px 14px 16px;
    background: linear-gradient(180deg, rgba(255,255,255,.01), rgba(255,255,255,.04));
}
.streamlms-card-body h3 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.12;
}
.streamlms-card-body p,
.streamlms-card-meta {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
@media (max-width: 900px) {
    .streamlms-program-card {
        display: grid;
        grid-template-columns: 112px minmax(0, 1fr);
        align-items: stretch;
        min-height: 168px;
    }
    .streamlms-card-cover {
        height: 100%;
        min-height: 168px;
        aspect-ratio: auto;
        border-radius: 20px 0 0 20px;
    }
    .streamlms-card-cover img,
    .streamlms-card-fallback {
        border-radius: inherit;
    }
    .streamlms-card-body {
        padding: 14px 14px 14px 12px;
        min-height: 168px;
        border-radius: 0 20px 20px 0;
        background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.06));
    }
    .streamlms-chip {
        top: 10px;
        right: 10px;
    }
    .streamlms-access-chip {
        left: 10px;
        bottom: 10px;
    }
}
@media (max-width: 640px) {
    .streamlms-card-cover {
        min-height: 156px;
    }
    .streamlms-card-body {
        min-height: 156px;
    }
}
@media (max-width: 480px) {
    .streamlms-program-card {
        grid-template-columns: 106px minmax(0, 1fr);
        min-height: 154px;
    }
    .streamlms-card-cover {
        min-height: 154px;
    }
    .streamlms-card-body {
        min-height: 154px;
        padding: 12px 12px 12px 10px;
    }
    .streamlms-card-body h3 {
        font-size: 17px;
    }
    .streamlms-card-body p,
    .streamlms-card-meta {
        font-size: 12px;
    }
}

body.streamlms-login-page .entry-title,
body.streamlms-login-page .page-title,
body.streamlms-login-page .wp-block-post-title,
body.streamlms-login-page .elementor-widget-theme-post-title,
body.streamlms-login-page .elementor-page-title,
body.streamlms-login-page .entry-header,
body.streamlms-login-page .page-header,
body.streamlms-login-page h1,
body.streamlms-login-page .ast-article-single .entry-title,
body.streamlms-login-page .site-content .entry-title,
body.streamlms-login-page .site-content h1:first-of-type {
    display: none !important;
}
body.streamlms-login-page .streamlms-auth-box {
    max-width: 420px;
    border-radius: 34px;
    padding: 30px 24px 24px;
    background: linear-gradient(180deg, rgba(13,13,13,.985), rgba(7,7,7,.995));
    border: 1px solid rgba(197,160,89,.18);
    box-shadow: 0 22px 44px rgba(0,0,0,.34);
}
body.streamlms-login-page .streamlms-brand {
    text-align: left;
    font-size: clamp(26px, 5vw, 32px);
    margin-bottom: 10px;
}
body.streamlms-login-page .streamlms-brand-sub {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: left;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(197,160,89,.10);
    border: 1px solid rgba(197,160,89,.18);
    color: rgba(255,255,255,.84);
    margin-bottom: 10px;
}
body.streamlms-login-page .streamlms-login-form {
    display: grid;
    gap: 12px;
}
body.streamlms-login-page .streamlms-auth-box input {
    min-height: 54px;
    border-radius: 18px;
}
body.streamlms-login-page .streamlms-auth-box button {
    min-height: 54px;
    border-radius: 18px;
    margin-top: 8px;
    box-shadow: 0 16px 28px rgba(197,160,89,.14);
}
.streamlms-register-box .streamlms-auth-logo {
    max-width: min(100%, 170px);
    max-height: 78px;
}
body.streamlms-login-page .streamlms-auth-logo {
    max-width: min(100%, 168px);
    max-height: 80px;
}
@media (min-width: 768px) {
    body.streamlms-login-page .streamlms-login-shell {
        width: 100%;
        min-height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 20px;
        margin: 0 auto;
        box-sizing: border-box;
    }
    body.streamlms-login-page .streamlms-auth-box {
        width: min(100%, 296px);
        max-width: 296px;
        margin: 0 auto;
        padding: 18px 16px 16px;
        border-radius: 26px;
    }
    body.streamlms-login-page .streamlms-auth-logo-wrap {
        margin-bottom: 10px;
    }
    body.streamlms-login-page .streamlms-auth-logo {
        max-width: 132px;
        max-height: 62px;
    }
    body.streamlms-login-page .streamlms-brand {
        font-size: clamp(19px, 2vw, 24px);
        margin-bottom: 7px;
    }
    body.streamlms-login-page .streamlms-brand-sub {
        padding: 6px 9px;
        margin-bottom: 7px;
        font-size: 13px;
    }
    body.streamlms-login-page .streamlms-login-form {
        gap: 8px;
    }
    body.streamlms-login-page .streamlms-auth-box label {
        margin: 8px 0 4px;
    }
    body.streamlms-login-page .streamlms-auth-box input,
    body.streamlms-login-page .streamlms-auth-box button {
        min-height: 44px;
    }
}
@media (max-width: 767px) {
    .streamlms-register-modes {
        grid-template-columns: 1fr;
    }
    .streamlms-checklist,
    .streamlms-two-cols {
        grid-template-columns: 1fr;
    }
    .streamlms-auth-logo-wrap {
        margin-bottom: 12px;
    }
    .streamlms-auth-logo {
        max-width: 148px;
        max-height: 70px;
    }
    body.streamlms-login-page {
        background: #050505 !important;
    }
    body.streamlms-login-page .streamlms-auth-box {
        width: 100vw;
        max-width: 100vw;
        min-height: 100svh;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        border-radius: 0;
        padding: calc(22px + env(safe-area-inset-top, 0px)) 18px calc(22px + env(safe-area-inset-bottom, 0px));
        box-shadow: none;
        border-inline: 0;
    }
    body.streamlms-login-page .streamlms-brand {
        margin-top: 8px;
    }
}

@media (max-width: 767px) {
    .streamlms-carnet-wrap {
        width: min(100%, 390px);
    }
    .streamlms-carnet-logo {
        width: 60px;
        height: 60px;
        padding: 7px;
    }
    .streamlms-carnet-branding {
        gap: 10px;
        max-width: calc(100% - 68px);
    }
    .streamlms-carnet-main {
        grid-template-columns: minmax(0, 1fr) 96px;
        gap: 10px;
    }
    .streamlms-carnet-avatar {
        max-width: 96px;
        aspect-ratio: .92 / 1;
        align-self: center;
    }
    .streamlms-carnet-footer {
        gap: 7px;
    }
    .streamlms-carnet-footer div {
        min-height: 54px;
        padding: 9px 10px;
    }
}
@media (max-width: 420px) {
    .streamlms-carnet-wrap {
        width: min(100%, 372px);
    }
    .streamlms-carnet-logo {
        width: 56px;
        height: 56px;
    }
    .streamlms-carnet-main {
        grid-template-columns: minmax(0, 1fr) 90px;
        gap: 8px;
    }
    .streamlms-carnet-avatar {
        max-width: 90px;
    }
    .streamlms-carnet-branding h3 {
        font-size: 13.5px;
    }
    .streamlms-carnet-identity h4 {
        font-size: 13.5px;
    }
    .streamlms-carnet-identity p,
    .streamlms-carnet-footer strong,
    .streamlms-carnet-back-grid strong {
        font-size: 10px;
    }
}


/* V24 · carnet overlap corrections desktop + mobile */
@media (min-width: 901px) {
    .streamlms-carnet-wrap {
        width: min(100%, 450px);
    }

    .streamlms-carnet-face {
        padding: 15px;
        gap: 9px;
    }

    .streamlms-carnet-front::after,
    .streamlms-carnet-back::after {
        inset: 9px;
    }

    .streamlms-carnet-branding {
        gap: 10px;
        max-width: calc(100% - 56px);
    }

    .streamlms-carnet-logo {
        width: 58px;
        height: 58px;
        padding: 6px;
        border-radius: 14px;
    }

    .streamlms-carnet-kicker {
        font-size: 8px;
        margin-bottom: 4px;
    }

    .streamlms-carnet-branding h3 {
        font-size: clamp(14px, 2vw, 22px);
        line-height: 1.04;
    }

    .streamlms-carnet-chip,
    .streamlms-carnet-tag {
        padding: 5px 9px;
        font-size: 8px;
    }

    .streamlms-carnet-main {
        grid-template-columns: minmax(0, 1fr) 104px;
        gap: 12px;
        align-items: end;
        margin-bottom: 6px;
    }

    .streamlms-carnet-avatar {
        width: 104px;
        max-width: 104px;
        align-self: end;
        border-radius: 18px;
    }

    .streamlms-carnet-identity h4 {
        font-size: clamp(16px, 2.4vw, 24px);
        margin-bottom: 4px;
    }

    .streamlms-carnet-identity p {
        font-size: 12px;
    }

    .streamlms-carnet-meta-row {
        gap: 6px;
        margin-top: 8px;
    }

    .streamlms-carnet-footer {
        gap: 8px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .streamlms-carnet-footer div,
    .streamlms-carnet-back-grid > div {
        min-height: 58px;
        padding: 9px 11px;
        border-radius: 15px;
    }

    .streamlms-carnet-footer span,
    .streamlms-carnet-back-grid span {
        font-size: 8px;
        margin-bottom: 4px;
    }

    .streamlms-carnet-footer strong,
    .streamlms-carnet-back-grid strong {
        font-size: 11px;
        line-height: 1.2;
    }
}

@media (max-width: 767px) {
    .streamlms-carnet-wrap {
        width: 100%;
        max-width: 100%;
    }

    .streamlms-carnet-face {
        padding: 11px 10px 12px;
        gap: 8px;
    }

    .streamlms-carnet-top {
        gap: 8px;
    }

    .streamlms-carnet-branding {
        max-width: calc(100% - 50px);
    }

    .streamlms-carnet-logo {
        width: 44px;
        height: 44px;
        padding: 5px;
    }

    .streamlms-carnet-branding h3 {
        font-size: clamp(13px, 4vw, 18px);
        line-height: 1.06;
    }

    .streamlms-carnet-chip,
    .streamlms-carnet-tag {
        padding: 5px 8px;
        font-size: 8px;
    }

    .streamlms-carnet-main {
        grid-template-columns: minmax(0, 1fr) 82px;
        gap: 10px;
        align-items: start;
        margin-bottom: 6px;
    }

    .streamlms-carnet-avatar {
        width: 82px;
        max-width: 82px;
        border-radius: 16px;
        align-self: start;
    }

    .streamlms-carnet-identity h4 {
        font-size: clamp(14px, 5vw, 22px);
        margin-bottom: 4px;
    }

    .streamlms-carnet-identity p {
        font-size: 11px;
    }

    .streamlms-carnet-meta-row {
        gap: 6px;
        margin-top: 8px;
    }

    .streamlms-carnet-footer {
        gap: 8px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .streamlms-carnet-footer div,
    .streamlms-carnet-back-grid > div {
        min-height: 54px;
        padding: 9px 10px;
        border-radius: 14px;
    }

    .streamlms-carnet-footer span,
    .streamlms-carnet-back-grid span {
        font-size: 8px;
        margin-bottom: 4px;
    }

    .streamlms-carnet-footer strong,
    .streamlms-carnet-back-grid strong {
        font-size: 11px;
        line-height: 1.18;
    }
}

@media (max-width: 420px) {
    .streamlms-carnet-main {
        grid-template-columns: minmax(0, 1fr) 76px;
        gap: 8px;
    }

    .streamlms-carnet-avatar {
        width: 76px;
        max-width: 76px;
    }

    .streamlms-carnet-branding h3 {
        font-size: 13px;
    }

    .streamlms-carnet-footer strong,
    .streamlms-carnet-back-grid strong {
        font-size: 10px;
    }
}


/* V25 · carnet logo and avatar +5px */
@media (min-width: 901px) {
    .streamlms-carnet-logo {
        width: 63px;
        height: 63px;
    }
    .streamlms-carnet-branding {
        max-width: calc(100% - 61px);
    }
    .streamlms-carnet-main {
        grid-template-columns: minmax(0, 1fr) 109px;
    }
    .streamlms-carnet-avatar {
        width: 109px;
        max-width: 109px;
    }
}

@media (max-width: 767px) {
    .streamlms-carnet-logo {
        width: 49px;
        height: 49px;
    }
    .streamlms-carnet-branding {
        max-width: calc(100% - 55px);
    }
    .streamlms-carnet-main {
        grid-template-columns: minmax(0, 1fr) 87px;
    }
    .streamlms-carnet-avatar {
        width: 87px;
        max-width: 87px;
    }
}

@media (max-width: 420px) {
    .streamlms-carnet-main {
        grid-template-columns: minmax(0, 1fr) 81px;
    }
    .streamlms-carnet-avatar {
        width: 81px;
        max-width: 81px;
    }
}


/* V26 · red social + historias */
.streamlms-social-shell {
    display: grid;
    gap: 20px;
}
.streamlms-stories-strip {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 6px 2px 10px;
    scrollbar-width: none;
}
.streamlms-stories-strip::-webkit-scrollbar { display:none; }
.streamlms-story-bubble {
    border: 0;
    background: transparent;
    color: #fff;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    min-width: 86px;
    cursor: pointer;
    padding: 0;
}
.streamlms-story-ring {
    width: 82px;
    height: 82px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f7d587 0%, #c5a059 45%, #7a5a1a 100%);
    padding: 3px;
    display: grid;
    place-items: center;
    box-shadow: 0 10px 20px rgba(0,0,0,.24);
}
.streamlms-story-thumb {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(180deg, rgba(20,20,20,.94), rgba(0,0,0,.98));
    display: grid;
    place-items: center;
    font-weight: 800;
    letter-spacing: .08em;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}
.streamlms-story-thumb.has-image::after {
    content: '';
    position: absolute;
}
.streamlms-story-thumb.has-image {
    position: relative;
}

.streamlms-story-bubble,
.streamlms-story-bubble *,
.streamlms-story-ring,
.streamlms-story-thumb {
    -webkit-tap-highlight-color: transparent !important;
    tap-highlight-color: transparent;
}
.streamlms-story-bubble {
    appearance: none;
    -webkit-appearance: none;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    border: 0 !important;
    border-color: transparent !important;
    user-select: none;
    -webkit-user-select: none;
}
.streamlms-story-bubble::-moz-focus-inner {
    border: 0 !important;
    padding: 0 !important;
}
.streamlms-story-bubble:focus,
.streamlms-story-bubble:focus-visible,
.streamlms-story-bubble:active,
.streamlms-story-bubble:hover,
.streamlms-story-bubble:visited {
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    border-color: transparent !important;
}
.streamlms-story-bubble:hover .streamlms-story-ring,
.streamlms-story-bubble:focus-visible .streamlms-story-ring,
.streamlms-story-bubble:active .streamlms-story-ring,
.streamlms-story-bubble:focus .streamlms-story-ring {
    box-shadow: 0 10px 20px rgba(0,0,0,.24) !important;
    transform: none !important;
}
.streamlms-story-bubble:hover .streamlms-story-thumb::before,
.streamlms-story-bubble:focus-visible .streamlms-story-thumb::before,
.streamlms-story-bubble:active .streamlms-story-thumb::before,
.streamlms-story-bubble:focus .streamlms-story-thumb::before {
    content: none !important;
    background: none !important;
}
.streamlms-story-ring,
.streamlms-story-thumb {
    outline: none !important;
}
.streamlms-story-fallback {
    font-size: 18px;
}
.streamlms-social-filters {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 12px;
    align-items: end;
}
.streamlms-social-filters label {
    display: block;
    font-size: 12px;
    color: var(--streamlms-muted);
    margin-bottom: 6px;
}
.streamlms-social-filters select {
    width: 100%;
    border: 1px solid rgba(255,255,255,.1);
    background: rgba(255,255,255,.06);
    color: #fff;
    border-radius: 12px;
    padding: 13px 14px;
}
.streamlms-social-reset {
    border: 0;
    background: rgba(255,255,255,.08);
    color: #fff;
    border-radius: 12px;
    padding: 12px 16px;
    font-weight: 700;
    cursor: pointer;
}
.streamlms-social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 14px;
}
.streamlms-social-card {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 16px;
    border-radius: 18px;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.06);
}
.streamlms-social-card-photo {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    overflow: hidden;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,.08);
    flex-shrink: 0;
}
.streamlms-social-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.streamlms-social-card-photo span {
    font-size: 24px;
    font-weight: 800;
    color: var(--streamlms-primary);
}
.streamlms-social-card-body strong {
    display: block;
    font-size: 18px;
    margin-bottom: 4px;
}
.streamlms-social-card-body p {
    margin: 0;
    color: var(--streamlms-muted);
}
.streamlms-story-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.94);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.streamlms-story-overlay.is-open {
    display: flex;
}
body.streamlms-story-open {
    overflow: hidden;
}
.streamlms-story-stage {
    width: min(100%, 420px);
    height: min(92vh, 760px);
    position: relative;
}
.streamlms-story-slide {
    display: none;
    width: 100%;
    height: 100%;
}
.streamlms-story-slide.is-active {
    display: block;
}
.streamlms-story-video-wrap {
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 18px 42px rgba(0,0,0,.4);
}
.streamlms-story-video-slot,
.streamlms-story-video-wrap iframe {
    width: 100%;
    height: 100%;
}
.streamlms-story-video-wrap iframe {
    border: 0;
}
.streamlms-story-video-wrap {
    position: relative;
}
.streamlms-story-gesture-layer {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: transparent;
    pointer-events: none;
}
.streamlms-story-caption {
    display:none;
}
.streamlms-story-close,
.streamlms-story-arrow {
    border: 0;
    color: #fff;
    cursor: pointer;
}
.streamlms-story-close {
    position: absolute;
    top: 18px;
    right: 20px;
    z-index: 20;
    pointer-events: auto;
    touch-action: manipulation;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,.1);
    font-size: 28px;
    line-height: 1;
}
.streamlms-story-arrow {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255,255,255,.1);
    font-size: 34px;
    display: inline-grid;
    place-items: center;
    z-index: 15;
    pointer-events: auto;
    touch-action: manipulation;
}
.streamlms-story-arrow.is-prev { margin-right: 18px; }
.streamlms-story-arrow.is-next { margin-left: 18px; }
@media (max-width: 900px) {
    .streamlms-social-filters {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 767px) {
    .streamlms-social-grid {
        grid-template-columns: 1fr;
    }
    .streamlms-stories-strip {
        gap: 16px;
    }
    .streamlms-story-ring {
        width: 76px;
        height: 76px;
    }
    .streamlms-story-overlay {
        padding: 0;
    }
    .streamlms-story-stage {
        width: 100vw;
        height: 100dvh;
        max-width: none;
    }
    .streamlms-story-video-wrap {
        border-radius: 0;
        width: 100vw;
        height: 100dvh;
    }
    .streamlms-story-gesture-layer {
        pointer-events: auto;
        touch-action: pan-y;
        z-index: 3;
    }
    .streamlms-story-arrow {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 2;
        background: rgba(0,0,0,.28);
        width: 44px;
        height: 44px;
    }
    .streamlms-story-arrow.is-prev {
        left: 12px;
        margin: 0;
    }
    .streamlms-story-arrow.is-next {
        right: 12px;
        margin: 0;
    }
    .streamlms-story-close {
        top: 12px;
        right: 12px;
    }
    .streamlms-story-caption {
        position: absolute;
        left: 16px;
        right: 16px;
        bottom: 18px;
        text-align: left;
        z-index: 2;
        background: linear-gradient(180deg, transparent, rgba(0,0,0,.7));
        padding-top: 32px;
    }
    .streamlms-tab-buttons.streamlms-app-nav {
        gap: 8px;
    }
    .streamlms-app-nav .streamlms-nav-button {
        min-width: 0;
    }
    .streamlms-app-nav .streamlms-nav-button .streamlms-nav-label {
        font-size: 11px;
    }
}


/* V27 · social fixes + app nav mobile */
.streamlms-social-filters select {
    min-height: 56px;
    line-height: 1.3;
    padding: 15px 44px 15px 16px;
    font-size: 16px;
    box-sizing: border-box;
    color: #fff !important;
    -webkit-text-fill-color: #fff;
}
.streamlms-social-filters select option,
.streamlms-social-filters select optgroup {
    color: #141414 !important;
    background: #ffffff !important;
}
.streamlms-social-filters select:focus {
    outline: none;
    border-color: rgba(197,160,89,.55);
    box-shadow: 0 0 0 3px rgba(197,160,89,.14);
}
.streamlms-social-reset {
    min-height: 56px;
    padding: 14px 18px;
}
.streamlms-social-card-body p {
    line-height: 1.35;
}

@media (max-width: 767px) {
    body.streamlms-dashboard-page .streamlms-tab-buttons.streamlms-app-nav {
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 6px;
        align-items: stretch;
    }
    body.streamlms-dashboard-page .streamlms-app-nav .streamlms-nav-button {
        min-width: 0;
        width: 100%;
        min-height: 68px;
        padding: 10px 4px;
        gap: 0;
        justify-content: center;
    }
    body.streamlms-dashboard-page .streamlms-app-nav .streamlms-nav-button .streamlms-nav-label {
        display: none;
    }
    body.streamlms-dashboard-page .streamlms-app-nav .streamlms-nav-button .streamlms-nav-icon {
        width: 24px;
        height: 24px;
    }
    body.streamlms-dashboard-page .streamlms-app-nav .streamlms-nav-button svg {
        width: 24px;
        height: 24px;
    }
    .streamlms-social-filters select {
        min-height: 58px;
        padding: 16px 46px 16px 16px;
        font-size: 16px;
    }
}

/* V28 · section titles + conditional home overview + clearer cert icon */
.streamlms-dashboard-section-title {
    margin: 8px 0 16px;
    color: var(--streamlms-primary);
    font-size: 18px;
    font-weight: 800;
    letter-spacing: .01em;
}

.streamlms-dashboard:not(.is-programas-active) .streamlms-home-overview {
    display: none !important;
}

@media (max-width: 900px) {
    .streamlms-dashboard-section-title {
        margin: 6px 0 14px;
        font-size: 16px;
    }
}

@media (max-width: 767px) {
    body.streamlms-dashboard-page .streamlms-dashboard-section-title {
        font-size: 15px;
        margin: 4px 0 12px;
        padding-right: 4px;
    }
}

/* V29 · remove duplicate section title, fix desktop background, social filter readability */
.streamlms-dashboard-section-title {
    display: none !important;
}

body.streamlms-dashboard-page,
body.streamlms-dashboard-page #page,
body.streamlms-dashboard-page .site,
body.streamlms-dashboard-page #content,
body.streamlms-dashboard-page .site-content,
body.streamlms-dashboard-page .site-main,
body.streamlms-dashboard-page .elementor,
body.streamlms-dashboard-page .elementor-section-wrap,
body.streamlms-dashboard-page .elementor-top-section,
body.streamlms-dashboard-page .elementor-container,
body.streamlms-dashboard-page .elementor-column,
body.streamlms-dashboard-page .elementor-widget-wrap,
body.streamlms-dashboard-page .elementor-widget-shortcode,
body.streamlms-dashboard-page .elementor-widget-container,
body.streamlms-dashboard-page article,
body.streamlms-dashboard-page .post,
body.streamlms-dashboard-page .page {
    background: #050505 !important;
}

body.streamlms-dashboard-page .site-content,
body.streamlms-dashboard-page .site-main,
body.streamlms-dashboard-page .elementor,
body.streamlms-dashboard-page .elementor-widget-wrap,
body.streamlms-dashboard-page .elementor-widget-shortcode,
body.streamlms-dashboard-page .elementor-widget-container {
    min-height: 100vh;
}

.streamlms-social-filters select {
    appearance: auto;
    -webkit-appearance: menulist;
    -moz-appearance: menulist;
    min-height: 54px;
    height: 54px;
    line-height: 1.2;
    font-size: 15px;
    font-weight: 600;
    padding: 14px 42px 14px 16px;
    color: #ffffff !important;
    background-color: rgba(255,255,255,.06) !important;
    box-sizing: border-box;
}
.streamlms-social-filters select option,
.streamlms-social-filters select optgroup,
.streamlms-social-filters select:focus option,
.streamlms-social-filters select:focus optgroup {
    color: #141414 !important;
    background: #ffffff !important;
    text-shadow: none !important;
}
.streamlms-social-filters select::-ms-value {
    color: #ffffff;
    background: transparent;
}

@media (max-width: 767px) {
    .streamlms-social-filters select {
        min-height: 56px;
        height: 56px;
        font-size: 16px;
        padding: 15px 44px 15px 16px;
    }
}


/* V31 · study page labels, colors and admin rename support */
.streamlms-study-topline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.streamlms-study-topline .streamlms-nav-icon,
.streamlms-study-kicker .streamlms-nav-icon {
    width: 14px;
    height: 14px;
    color: #22c55e;
}
.streamlms-study-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #FFFFFF;
}
.streamlms-study-kicker em {
    font-style: normal;
    color: #FFFFFF;
}
.streamlms-study-program-title,
.streamlms-study-topbar h2.streamlms-study-program-title,
.streamlms-mobile-appbar-brand strong.streamlms-study-program-title {
    color: var(--streamlms-primary) !important;
}
.streamlms-study-main h3,
.streamlms-study-class-title,
.streamlms-study-resources-title {
    color: #FFFFFF !important;
}
.streamlms-inline-resources h4 {
    width: 100%;
    margin: 0 0 8px;
}


/* V37: eliminate browser/theme pressed highlight on story bubbles */
.streamlms-stories-strip .streamlms-story-bubble,
.streamlms-stories-strip .streamlms-story-bubble:hover,
.streamlms-stories-strip .streamlms-story-bubble:focus,
.streamlms-stories-strip .streamlms-story-bubble:focus-visible,
.streamlms-stories-strip .streamlms-story-bubble:active {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    outline: none !important;
    border: 0 !important;
    -webkit-tap-highlight-color: rgba(0,0,0,0) !important;
}

/* V38 · red social premium */
.streamlms-social-list-view {
    display: grid;
    gap: 18px;
}
.streamlms-social-toolbar {
    display: grid;
    gap: 14px;
}
.streamlms-social-search-wrap label {
    display: block;
    font-size: 12px;
    color: var(--streamlms-muted);
    margin-bottom: 6px;
}
.streamlms-social-search {
    width: 100%;
    min-height: 54px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,.1);
    background: rgba(255,255,255,.06);
    color: #fff;
    padding: 14px 16px;
    font-size: 16px;
    box-sizing: border-box;
}
.streamlms-social-search::placeholder {
    color: rgba(255,255,255,.55);
}
.streamlms-social-search:focus {
    outline: none;
    border-color: rgba(197,160,89,.55);
    box-shadow: 0 0 0 3px rgba(197,160,89,.14);
}
.streamlms-social-filters {
    grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
}
.streamlms-social-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}
.streamlms-social-card {
    cursor: pointer;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.streamlms-social-card:hover,
.streamlms-social-card:focus,
.streamlms-social-card:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(197,160,89,.35);
    box-shadow: 0 14px 34px rgba(0,0,0,.22);
    outline: none;
}
.streamlms-social-card-body {
    min-width: 0;
}
.streamlms-social-card-body strong {
    line-height: 1.15;
}
.streamlms-social-card-body p {
    margin: 0 0 8px;
}
.streamlms-social-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.streamlms-social-card-meta span {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(197,160,89,.12);
    border: 1px solid rgba(197,160,89,.24);
    color: var(--streamlms-primary);
    font-size: 12px;
    font-weight: 700;
}
.streamlms-social-empty {
    border-radius: 18px;
    background: rgba(255,255,255,.04);
    border: 1px dashed rgba(255,255,255,.12);
    padding: 18px;
    color: var(--streamlms-muted);
}
.streamlms-social-detail-view {
    display: grid;
    gap: 16px;
}
.streamlms-social-detail-back {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    border: 0;
    background: rgba(255,255,255,.08);
    color: #fff;
    border-radius: 14px;
    padding: 12px 16px;
    font-weight: 700;
    cursor: pointer;
}
.streamlms-social-detail-back .streamlms-nav-icon {
    width: 20px;
    height: 20px;
}
.streamlms-social-detail-card {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 18px;
    align-items: center;
    padding: 22px;
    border-radius: 24px;
    background: linear-gradient(145deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
    border: 1px solid rgba(197,160,89,.18);
    box-shadow: 0 18px 40px rgba(0,0,0,.22);
}
.streamlms-social-detail-photo {
    width: 110px;
    height: 110px;
    border-radius: 24px;
    overflow: hidden;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(197,160,89,.28);
}
.streamlms-social-detail-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.streamlms-social-detail-photo span {
    font-size: 42px;
    font-weight: 800;
    color: var(--streamlms-primary);
}
.streamlms-social-detail-kicker {
    font-size: 12px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--streamlms-muted);
    margin-bottom: 8px;
}
.streamlms-social-detail-name {
    margin: 0;
    color: #fff;
    font-size: clamp(28px, 4vw, 38px);
    line-height: 1.05;
}
.streamlms-social-detail-role {
    margin: 10px 0 0;
    color: #fff;
    font-size: 17px;
}
.streamlms-social-detail-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}
.streamlms-social-detail-chip {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}
.streamlms-social-detail-chip.is-grade,
.streamlms-social-detail-chip.is-institution {
    color: var(--streamlms-primary);
    border-color: rgba(197,160,89,.26);
    background: rgba(197,160,89,.1);
}
@media (max-width: 1100px) {
    .streamlms-social-filters {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .streamlms-social-reset-wrap {
        grid-column: 1 / -1;
    }
}
@media (max-width: 767px) {
    .streamlms-social-search {
        min-height: 56px;
    }
    .streamlms-social-filters {
        grid-template-columns: 1fr;
    }
    .streamlms-social-card {
        padding: 14px;
    }
    .streamlms-social-detail-card {
        grid-template-columns: 1fr;
        text-align: left;
        padding: 18px;
    }
    .streamlms-social-detail-photo {
        width: 96px;
        height: 96px;
        border-radius: 20px;
    }
    .streamlms-social-detail-name {
        font-size: 28px;
    }
    .streamlms-social-detail-role {
        font-size: 16px;
    }
}


/* V40 · social search cleaner layout */
.streamlms-social-shell {
    width: min(100%, 1180px);
    margin: 0 auto;
    gap: 16px;
}
.streamlms-social-list-view {
    gap: 16px;
}
.streamlms-social-toolbar {
    display: block;
    width: min(100%, 760px);
}
.streamlms-social-search-shell {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 60px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.04));
    border: 1px solid rgba(255,255,255,.08);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 12px 28px rgba(0,0,0,.18);
    overflow: hidden;
}
.streamlms-social-search-icon {
    width: 56px;
    min-width: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.74);
    opacity: 1;
}
.streamlms-social-search-icon svg {
    width: 20px;
    height: 20px;
}
.streamlms-social-search {
    width: 100%;
    min-height: 60px;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #fff !important;
    padding: 16px 20px 16px 0 !important;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.25;
}
.streamlms-social-search::placeholder {
    color: rgba(255,255,255,.46);
}
.streamlms-social-search:focus {
    outline: none !important;
    border: 0 !important;
    box-shadow: none !important;
}
.streamlms-social-search-shell:focus-within {
    border-color: rgba(197,160,89,.42);
    box-shadow: 0 0 0 4px rgba(197,160,89,.10), 0 12px 28px rgba(0,0,0,.18);
}
.streamlms-social-filters,
.streamlms-social-reset,
.streamlms-social-reset-wrap {
    display: none !important;
}
@media (min-width: 768px) {
    .streamlms-stories-strip,
    .streamlms-social-list-view {
        width: min(100%, 1180px);
    }
}
@media (max-width: 767px) {
    .streamlms-social-shell {
        gap: 14px;
    }
    .streamlms-social-toolbar {
        width: 100%;
    }
    .streamlms-social-search-shell {
        min-height: 54px;
    }
    .streamlms-social-search-icon {
        width: 50px;
        min-width: 50px;
    }
    .streamlms-social-search {
        min-height: 54px;
        padding: 14px 16px 14px 0 !important;
        font-size: 15px;
    }
}

/* V41 · social feed + hidden profile results until search */
.streamlms-social-shell {
    gap: 18px;
}
.streamlms-social-toolbar {
    order: 1;
    margin-bottom: -2px;
}
.streamlms-stories-strip {
    order: 2;
}
.streamlms-social-wall {
    order: 3;
    display: grid;
    gap: 16px;
    width: min(100%, 760px);
}
.streamlms-wall-post,
.streamlms-wall-empty {
    background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.05));
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 24px;
    padding: 18px;
    box-shadow: 0 14px 34px rgba(0,0,0,.16);
}
.streamlms-wall-post-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}
.streamlms-wall-post-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    background: rgba(197,160,89,.18);
    color: #f3d48f;
    border: 1px solid rgba(197,160,89,.3);
}
.streamlms-wall-post-meta strong,
.streamlms-wall-post-title {
    color: #fff;
}
.streamlms-wall-post-meta {
    display: grid;
    gap: 2px;
}
.streamlms-wall-post-meta span {
    color: rgba(255,255,255,.6);
    font-size: 13px;
}
.streamlms-wall-post-title {
    font-size: 20px;
    line-height: 1.2;
    margin: 0 0 12px;
}
.streamlms-wall-post-content {
    color: rgba(255,255,255,.86);
    line-height: 1.65;
}
.streamlms-wall-post-content p:last-child {
    margin-bottom: 0;
}
.streamlms-wall-post-image {
    margin-top: 16px;
    border-radius: 20px;
    overflow: hidden;
    background: rgba(255,255,255,.04);
}
.streamlms-wall-post-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.streamlms-social-list-view {
    order: 4;
    width: min(100%, 760px);
}
.streamlms-social-list-view[hidden] {
    display: none !important;
}
.streamlms-social-grid {
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
.streamlms-social-card {
    cursor: default;
}
.streamlms-social-detail-view,
.streamlms-social-detail-back,
.streamlms-social-detail-card {
    display: none !important;
}
.streamlms-social-empty {
    margin-top: 14px;
}
@media (min-width: 768px) {
    .streamlms-social-toolbar,
    .streamlms-stories-strip,
    .streamlms-social-wall,
    .streamlms-social-list-view {
        width: min(100%, 760px);
    }
}
@media (max-width: 767px) {
    .streamlms-social-wall,
    .streamlms-social-list-view,
    .streamlms-stories-strip,
    .streamlms-social-toolbar {
        width: 100%;
    }
    .streamlms-wall-post,
    .streamlms-wall-empty {
        border-radius: 20px;
        padding: 16px;
    }
    .streamlms-wall-post-title {
        font-size: 18px;
    }
}


/* V42 · wall media fixes */
.streamlms-wall-post-image,
.streamlms-wall-post-video {
    width: 100%;
    max-width: 100%;
    margin-top: 16px;
    border-radius: 20px;
    overflow: hidden;
    background: rgba(255,255,255,.04);
}
.streamlms-wall-post-image {
    aspect-ratio: 16 / 10;
}
.streamlms-wall-post-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.streamlms-wall-post-video {
    position: relative;
    aspect-ratio: 16 / 9;
}
.streamlms-wall-post-video iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}
@media (min-width: 768px) {
    .streamlms-wall-post {
        overflow: hidden;
    }
    .streamlms-wall-post-image,
    .streamlms-wall-post-video {
        max-width: 100%;
    }
}
@media (max-width: 767px) {
    .streamlms-wall-post-image {
        aspect-ratio: 4 / 5;
    }
    .streamlms-wall-post-video {
        aspect-ratio: 16 / 9;
    }
}


/* V44 · wall image sizing + image viewer + tab persistence support */
.streamlms-wall-post {
    overflow: hidden;
}
.streamlms-wall-post-image {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    cursor: zoom-in;
    background: rgba(255,255,255,.04);
}
.streamlms-wall-post-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: rgba(0,0,0,.2);
}
.streamlms-no-scroll {
    overflow: hidden;
}
.streamlms-image-viewer {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 28px;
    background: rgba(7, 9, 12, .88);
    backdrop-filter: blur(6px);
}
.streamlms-image-viewer.is-open {
    display: flex;
}
.streamlms-image-viewer-stage {
    width: min(100%, 1080px);
    max-height: calc(100vh - 56px);
    display: flex;
    align-items: center;
    justify-content: center;
}
.streamlms-image-viewer-stage img {
    display: block;
    max-width: 100%;
    max-height: calc(100vh - 56px);
    width: auto;
    height: auto;
    border-radius: 18px;
    box-shadow: 0 24px 80px rgba(0,0,0,.35);
}
.streamlms-image-viewer-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.18);
    background: rgba(255,255,255,.08);
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}
@media (min-width: 768px) {
    .streamlms-wall-post-image {
        aspect-ratio: auto;
        max-height: 560px;
    }
    .streamlms-wall-post-image img {
        max-height: 560px;
        width: auto;
        min-width: 100%;
        margin: 0 auto;
    }
}
@media (max-width: 767px) {
    .streamlms-wall-post-image {
        aspect-ratio: auto;
        max-height: none;
    }
    .streamlms-wall-post-image img {
        width: 100%;
        height: auto;
        max-height: none;
    }
    .streamlms-image-viewer {
        padding: 18px;
    }
    .streamlms-image-viewer-close {
        top: 12px;
        right: 12px;
    }
}


/* V45 · social wall premium refinements + clearer mobile separation */
.streamlms-social-wall {
    gap: 18px;
}
.streamlms-wall-post,
.streamlms-wall-empty {
    position: relative;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 16px 38px rgba(0,0,0,.18);
}
.streamlms-wall-post::after,
.streamlms-wall-empty::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}
.streamlms-wall-post-head {
    align-items: flex-start;
}
.streamlms-wall-post-meta {
    min-width: 0;
    flex: 1 1 auto;
}
.streamlms-wall-post-meta-top {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.streamlms-wall-post-badge {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(197,160,89,.14);
    border: 1px solid rgba(197,160,89,.22);
    color: #f1d18c !important;
    font-size: 11px !important;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.streamlms-wall-post-meta strong {
    display: inline-block;
    line-height: 1.2;
}
.streamlms-wall-post-content {
    margin-top: 2px;
}
.streamlms-wall-post-image,
.streamlms-wall-post-video {
    border: 1px solid rgba(255,255,255,.07);
}
.streamlms-wall-post-image {
    position: relative;
}
.streamlms-wall-post-image::after {
    content: 'Ampliar';
    position: absolute;
    right: 14px;
    bottom: 14px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(7,9,12,.68);
    border: 1px solid rgba(255,255,255,.12);
    color: rgba(255,255,255,.92);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .03em;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity .2s ease, transform .2s ease;
    pointer-events: none;
}
.streamlms-wall-post-image:hover::after,
.streamlms-wall-post-image:focus-visible::after {
    opacity: 1;
    transform: translateY(0);
}
@media (min-width: 768px) {
    .streamlms-social-wall {
        gap: 20px;
    }
}
@media (max-width: 767px) {
    .streamlms-social-wall {
        gap: 14px;
    }
    .streamlms-wall-post,
    .streamlms-wall-empty {
        border-radius: 22px;
        padding: 16px;
        border-color: rgba(197,160,89,.24);
        box-shadow: 0 10px 24px rgba(0,0,0,.16);
    }
    .streamlms-wall-post + .streamlms-wall-post,
    .streamlms-wall-post + .streamlms-wall-empty,
    .streamlms-wall-empty + .streamlms-wall-post {
        margin-top: 2px;
    }
    .streamlms-wall-post::before,
    .streamlms-wall-empty::before {
        content: '';
        position: absolute;
        left: 16px;
        right: 16px;
        top: -8px;
        height: 1px;
        background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.12), rgba(255,255,255,0));
        opacity: .9;
    }
    .streamlms-wall-post:first-child::before,
    .streamlms-wall-empty:first-child::before {
        display: none;
    }
    .streamlms-wall-post-meta-top {
        gap: 8px;
    }
    .streamlms-wall-post-badge {
        padding: 3px 9px;
        min-height: 22px;
        font-size: 10px !important;
    }
    .streamlms-wall-post-image::after {
        opacity: 1;
        transform: none;
        right: 12px;
        bottom: 12px;
        padding: 5px 9px;
        font-size: 10px;
    }
}


/* V46 · premium wall refinement */
.streamlms-social-wall {
    gap: 18px;
}
.streamlms-wall-post {
    position: relative;
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.streamlms-wall-post:hover {
    transform: translateY(-1px);
    border-color: rgba(197,160,89,.34);
    box-shadow: 0 18px 42px rgba(0,0,0,.22);
}
.streamlms-wall-post.is-featured {
    border-color: rgba(197,160,89,.28);
    box-shadow: 0 20px 48px rgba(0,0,0,.22), 0 0 0 1px rgba(197,160,89,.08) inset;
}
.streamlms-wall-post-pin {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    width: fit-content;
    padding: 8px 12px;
    margin: -4px 0 14px;
    border-radius: 999px;
    background: rgba(197,160,89,.12);
    border: 1px solid rgba(197,160,89,.24);
    color: #f3d48f;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.streamlms-wall-post-meta-top {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.streamlms-wall-post-badge {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.09);
    color: rgba(255,255,255,.78);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
}
.streamlms-wall-post-content.is-collapsible {
    position: relative;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.streamlms-wall-post-content.is-collapsible:not(.is-expanded)::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 54px;
    background: linear-gradient(180deg, rgba(14,17,22,0), rgba(14,17,22,.92));
    pointer-events: none;
}
.streamlms-wall-post-content.is-collapsible.is-expanded {
    display: block;
    -webkit-line-clamp: initial;
    overflow: visible;
}
.streamlms-wall-post-content.is-collapsible.is-expanded::after {
    display: none;
}
.streamlms-wall-post-more {
    margin-top: 12px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--streamlms-primary);
    font-weight: 800;
    letter-spacing: .01em;
    cursor: pointer;
}
.streamlms-wall-post-image {
    position: relative;
}
.streamlms-wall-post-image-hint {
    position: absolute;
    right: 14px;
    bottom: 14px;
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(7,9,12,.58);
    border: 1px solid rgba(255,255,255,.14);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    backdrop-filter: blur(5px);
}
.streamlms-wall-post-actions {
    display: flex;
    justify-content: flex-start;
    margin-top: 16px;
}
.streamlms-wall-post-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 12px 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(197,160,89,.24), rgba(197,160,89,.14));
    border: 1px solid rgba(197,160,89,.30);
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    box-shadow: 0 14px 24px rgba(0,0,0,.16);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.streamlms-wall-post-cta:hover {
    transform: translateY(-1px);
    border-color: rgba(197,160,89,.42);
    box-shadow: 0 18px 30px rgba(0,0,0,.2);
}
@media (max-width: 767px) {
    .streamlms-wall-post-pin {
        margin-bottom: 12px;
        font-size: 11px;
        letter-spacing: .04em;
    }
    .streamlms-wall-post-content.is-collapsible {
        -webkit-line-clamp: 6;
    }
    .streamlms-wall-post-image-hint {
        right: 10px;
        bottom: 10px;
        min-height: 28px;
        padding: 5px 9px;
        font-size: 11px;
    }
    .streamlms-wall-post-cta {
        width: 100%;
    }
}


/* V47 · smart social search + institutional logo + tighter mobile nav */
.streamlms-wall-post-avatar {
    overflow: hidden;
}
.streamlms-wall-post-avatar img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.streamlms-social-search-results {
    order: 1.5;
    width: min(100%, 760px);
    display: grid;
    gap: 14px;
    padding: 16px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.05));
    border: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 14px 34px rgba(0,0,0,.16);
}
.streamlms-social-search-results-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.streamlms-social-search-results-head strong {
    color: #fff;
    font-size: 16px;
}
.streamlms-social-search-results-count {
    color: rgba(255,255,255,.62);
    font-size: 13px;
}
.streamlms-social-search-section {
    display: grid;
    gap: 10px;
}
.streamlms-social-search-section-title {
    color: rgba(255,255,255,.7);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.streamlms-social-search-posts,
.streamlms-social-search-profiles {
    display: grid;
    gap: 10px;
}
.streamlms-search-result-card {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 14px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.03);
    color: inherit;
    cursor: pointer;
    text-align: left;
    transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.streamlms-search-result-card:hover,
.streamlms-search-result-card:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(197,160,89,.22);
    background: rgba(255,255,255,.05);
}
.streamlms-search-result-avatar {
    width: 46px;
    min-width: 46px;
    height: 46px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: rgba(197,160,89,.18);
    border: 1px solid rgba(197,160,89,.24);
    color: #f3d48f;
    font-weight: 800;
}
.streamlms-search-result-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.streamlms-search-result-avatar.is-post svg {
    width: 20px;
    height: 20px;
}
.streamlms-search-result-body {
    min-width: 0;
    display: grid;
    gap: 3px;
}
.streamlms-search-result-body strong,
.streamlms-search-result-body em,
.streamlms-search-result-body small {
    display: block;
}
.streamlms-search-result-body strong {
    color: #fff;
    font-style: normal;
    font-size: 14px;
    line-height: 1.25;
}
.streamlms-search-result-body em {
    color: rgba(255,255,255,.62);
    font-style: normal;
    font-size: 12px;
}
.streamlms-search-result-body small {
    color: rgba(255,255,255,.72);
    font-size: 12px;
    line-height: 1.45;
}
.streamlms-social-search-empty p {
    margin: 0;
    color: rgba(255,255,255,.72);
}
.streamlms-social-shell.is-searching .streamlms-social-search-results {
    order: 2;
}
.streamlms-social-shell.is-searching .streamlms-social-list-view {
    order: 3;
}
.streamlms-social-shell.is-searching .streamlms-stories-strip {
    order: 4;
}
.streamlms-social-shell.is-searching .streamlms-social-wall {
    order: 5;
}
.streamlms-wall-post.is-search-match {
    border-color: rgba(197,160,89,.16);
}
.streamlms-wall-post.is-search-spotlight {
    border-color: rgba(197,160,89,.34);
    box-shadow: 0 0 0 1px rgba(197,160,89,.14) inset, 0 20px 40px rgba(0,0,0,.24), 0 0 0 6px rgba(197,160,89,.08);
}
@media (max-width: 767px) {
    .streamlms-social-search-results,
    .streamlms-social-toolbar,
    .streamlms-stories-strip,
    .streamlms-social-wall,
    .streamlms-social-list-view {
        width: 100%;
    }
    .streamlms-social-search-results {
        padding: 14px;
        border-radius: 20px;
        gap: 12px;
    }
    .streamlms-search-result-card {
        padding: 11px 12px;
        border-radius: 16px;
    }
    .streamlms-search-result-avatar {
        width: 42px;
        min-width: 42px;
        height: 42px;
    }
    body.streamlms-dashboard-page .streamlms-dashboard,
    body.streamlms-dashboard-page .streamlms-study-page {
        padding-bottom: calc(78px + env(safe-area-inset-bottom, 0px));
    }
    body.streamlms-dashboard-page .streamlms-tab-buttons.streamlms-app-nav {
        width: min(100vw, 760px);
        left: 50%;
        right: auto;
        bottom: env(safe-area-inset-bottom, 0px);
        transform: translateX(-50%);
        border-radius: 24px 24px 0 0;
        padding: 10px 10px calc(8px + env(safe-area-inset-bottom, 0px));
        gap: 6px;
        border-left: 0;
        border-right: 0;
        border-bottom: 0;
        box-shadow: 0 -10px 28px rgba(0,0,0,.32);
    }
    body.streamlms-dashboard-page .streamlms-app-nav .streamlms-nav-button {
        min-height: 58px;
        padding: 6px 2px;
    }
    body.streamlms-dashboard-page .streamlms-app-nav .streamlms-nav-button .streamlms-nav-icon {
        width: 24px;
        height: 24px;
    }
    body.streamlms-dashboard-page .streamlms-app-nav .streamlms-nav-button .streamlms-nav-label {
        font-size: 11px;
    }
}

/* V48 · cleaner search results, microinteractions, app-like polish */
.streamlms-social-search-results[hidden],
.streamlms-social-search-section[hidden],
.streamlms-social-search-empty[hidden],
.streamlms-social-search-clear[hidden] {
    display: none !important;
}
.streamlms-social-search-shell {
    transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease, background .22s ease;
}
.streamlms-social-shell.is-search-focused .streamlms-social-search-shell,
.streamlms-social-search-shell:hover {
    transform: translateY(-1px);
}
.streamlms-social-shell.is-search-pending .streamlms-social-search-shell {
    box-shadow: 0 0 0 4px rgba(197,160,89,.08), 0 12px 28px rgba(0,0,0,.18);
}
.streamlms-social-search-clear {
    position: relative;
    width: 40px;
    min-width: 40px;
    height: 40px;
    margin-right: 10px;
    border: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.06);
    color: rgba(255,255,255,.74);
    cursor: pointer;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}
.streamlms-social-search-clear:hover,
.streamlms-social-search-clear:focus-visible {
    background: rgba(197,160,89,.16);
    color: #f6d996;
    transform: scale(1.04);
}
.streamlms-social-search-clear::before,
.streamlms-social-search-clear::after {
    content: '';
    position: absolute;
    width: 14px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
}
.streamlms-social-search-clear::before { transform: rotate(45deg); }
.streamlms-social-search-clear::after { transform: rotate(-45deg); }
.streamlms-social-search-results {
    position: relative;
    overflow: hidden;
    animation: streamlmsSearchResultsIn .18s ease;
}
.streamlms-social-search-results::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: linear-gradient(180deg, rgba(197,160,89,.72), rgba(197,160,89,0));
    border-radius: 999px;
}
.streamlms-social-search-results-head {
    align-items: flex-start;
}
.streamlms-social-search-results-labels {
    display: grid;
    gap: 4px;
}
.streamlms-social-search-query {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(197,160,89,.12);
    border: 1px solid rgba(197,160,89,.2);
    color: #f3d48f;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .01em;
}
.streamlms-search-result-card {
    position: relative;
    overflow: hidden;
}
.streamlms-search-result-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(197,160,89,0), rgba(197,160,89,.07), rgba(197,160,89,0));
    opacity: 0;
    transform: translateX(-18%);
    transition: opacity .22s ease, transform .22s ease;
}
.streamlms-search-result-card:hover::after,
.streamlms-search-result-card:focus-visible::after {
    opacity: 1;
    transform: translateX(0);
}
.streamlms-search-result-body mark {
    background: rgba(197,160,89,.18);
    color: #f7ddb0;
    padding: 0 .18em;
    border-radius: .35em;
}
.streamlms-social-list-view.is-search-spotlight {
    box-shadow: 0 0 0 1px rgba(197,160,89,.16) inset, 0 18px 40px rgba(0,0,0,.24), 0 0 0 6px rgba(197,160,89,.06);
}
.streamlms-wall-post {
    transition: transform .2s ease, box-shadow .24s ease, border-color .24s ease;
}
.streamlms-wall-post:hover {
    transform: translateY(-1px);
    box-shadow: 0 24px 44px rgba(0,0,0,.24);
}
.streamlms-wall-post-media img {
    transition: transform .35s ease;
}
.streamlms-wall-post-media:hover img {
    transform: scale(1.015);
}
@keyframes streamlmsSearchResultsIn {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 767px) {
    .streamlms-social-search-clear {
        width: 36px;
        min-width: 36px;
        height: 36px;
        margin-right: 8px;
    }
    .streamlms-social-search-results::before {
        width: 3px;
    }
}


/* V49 · de-duplicated search flow + profile modal */
.streamlms-social-shell.is-searching .streamlms-social-list-view {
    display: none !important;
}
.streamlms-social-profile-modal[hidden] {
    display: none !important;
}
.streamlms-social-profile-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.streamlms-social-profile-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(7,9,12,.82);
    backdrop-filter: blur(8px);
}
.streamlms-social-profile-dialog {
    position: relative;
    width: min(100%, 520px);
    border-radius: 26px;
    background: linear-gradient(180deg, rgba(22,25,30,.96), rgba(12,14,18,.96));
    border: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 28px 70px rgba(0,0,0,.32);
    padding: 24px;
    overflow: hidden;
}
.streamlms-social-profile-dialog::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}
.streamlms-social-profile-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.06);
    color: rgba(255,255,255,.9);
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}
.streamlms-social-profile-head {
    display: flex;
    align-items: center;
    gap: 18px;
}
.streamlms-social-profile-avatar {
    width: 88px;
    min-width: 88px;
    height: 88px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: rgba(197,160,89,.16);
    border: 1px solid rgba(197,160,89,.28);
    color: #f3d48f;
    font-size: 32px;
    font-weight: 800;
}
.streamlms-social-profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.streamlms-social-profile-copy {
    min-width: 0;
    display: grid;
    gap: 8px;
}
.streamlms-social-profile-copy strong {
    color: #fff;
    font-size: 28px;
    line-height: 1.1;
}
.streamlms-social-profile-copy p {
    margin: 0;
    color: rgba(255,255,255,.76);
    font-size: 16px;
}
.streamlms-social-profile-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.streamlms-social-profile-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(197,160,89,.12);
    border: 1px solid rgba(197,160,89,.2);
    color: #f3d48f;
    font-size: 13px;
    font-weight: 700;
}
@media (max-width: 767px) {
    .streamlms-social-profile-modal {
        padding: 16px;
        align-items: flex-end;
    }
    .streamlms-social-profile-dialog {
        width: 100%;
        border-radius: 24px 24px 18px 18px;
        padding: 22px 18px 20px;
    }
    .streamlms-social-profile-head {
        align-items: flex-start;
        gap: 14px;
    }
    .streamlms-social-profile-avatar {
        width: 72px;
        min-width: 72px;
        height: 72px;
        font-size: 26px;
    }
    .streamlms-social-profile-copy strong {
        font-size: 22px;
    }
    .streamlms-social-profile-copy p {
        font-size: 15px;
    }
}

/* V51 social premium refinements */
.streamlms-wall-more-wrap {
    display: flex;
    justify-content: center;
    padding: 8px 0 4px;
}
.streamlms-wall-more-btn {
    appearance: none;
    border: 1px solid rgba(197,160,89,.24);
    background: linear-gradient(180deg, rgba(30,33,38,.96), rgba(18,20,24,.96));
    color: #f3d48f;
    border-radius: 999px;
    min-height: 46px;
    padding: 0 18px;
    font-weight: 800;
    letter-spacing: .01em;
    cursor: pointer;
    box-shadow: 0 10px 28px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.05);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.streamlms-wall-more-btn:hover,
.streamlms-wall-more-btn:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(197,160,89,.38);
    box-shadow: 0 14px 30px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.07);
}
.streamlms-wall-post[hidden] { display: none !important; }
.streamlms-wall-post.is-revealed {
    animation: streamlmsFadeLift .34s ease;
}
@keyframes streamlmsFadeLift {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}
.streamlms-social-shell:not(.is-hydrated) .streamlms-social-wall {
    opacity: .88;
}
.streamlms-social-shell:not(.is-hydrated) .streamlms-wall-post {
    animation: streamlmsPulseSkeleton 1.15s ease-in-out infinite alternate;
}
@keyframes streamlmsPulseSkeleton {
    from { opacity: .72; }
    to { opacity: 1; }
}
.streamlms-story-progress {
    position: absolute;
    top: 12px;
    left: 14px;
    right: 14px;
    z-index: 6;
    display: flex;
    gap: 6px;
}
.streamlms-story-progress-item {
    flex: 1 1 0;
    height: 3px;
    border-radius: 999px;
    background: rgba(255,255,255,.16);
    overflow: hidden;
}
.streamlms-story-progress-item i {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, rgba(255,255,255,.92), rgba(243,212,143,.95));
}
.streamlms-story-progress-item.is-complete i {
    width: 100%;
}
.streamlms-story-progress-item.is-active i {
    animation: streamlmsStoryProgress var(--streamlms-story-duration, 7000ms) linear forwards;
}
@keyframes streamlmsStoryProgress {
    from { width: 0; }
    to { width: 100%; }
}
.streamlms-story-bubble.is-viewed .streamlms-story-ring {
    opacity: .6;
    filter: saturate(.55);
}
.streamlms-story-bubble.is-viewed .streamlms-story-thumb {
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}
.streamlms-search-result-card,
.streamlms-wall-post,
.streamlms-story-bubble,
.streamlms-wall-more-btn {
    -webkit-tap-highlight-color: transparent;
}
@media (max-width: 767px) {
    .streamlms-wall-more-wrap {
        padding-top: 2px;
        padding-bottom: 2px;
    }
    .streamlms-wall-more-btn {
        min-height: 44px;
        font-size: 14px;
        width: min(100%, 260px);
    }
    .streamlms-story-progress {
        top: 10px;
        left: 12px;
        right: 12px;
    }
}

/* V53 · frontend cleanup + consistent gold wall borders */
.streamlms-wall-post {
    border-color: rgba(197,160,89,.24);
}
.streamlms-wall-post:hover,
.streamlms-wall-post:focus-within {
    border-color: rgba(197,160,89,.34);
}
.streamlms-wall-post.is-featured {
    border-color: rgba(197,160,89,.42);
}
@media (max-width: 767px) {
    .streamlms-wall-post {
        border-color: rgba(197,160,89,.24);
    }
}
.streamlms-social-search-section-recent,
.streamlms-social-search-recent,
.streamlms-search-result-card.is-recent {
    display: none !important;
}

/* V52 search intelligence + premium profile details */
.streamlms-social-search-recent {
    display: grid;
    gap: 10px;
}
.streamlms-search-result-avatar.is-recent {
    background: rgba(255,255,255,.06);
    border-color: rgba(255,255,255,.08);
    color: rgba(255,255,255,.86);
}
.streamlms-search-result-avatar.is-recent svg {
    width: 18px;
    height: 18px;
}
.streamlms-social-search-actions {
    display: flex;
    justify-content: flex-end;
}
.streamlms-social-search-view-all {
    appearance: none;
    border: 1px solid rgba(197,160,89,.22);
    background: rgba(197,160,89,.08);
    color: #f3d48f;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.streamlms-social-search-view-all:hover,
.streamlms-social-search-view-all:focus-visible {
    transform: translateY(-1px);
    background: rgba(197,160,89,.12);
    border-color: rgba(197,160,89,.34);
}
.streamlms-social-search-results.is-recent-state::before {
    background: linear-gradient(180deg, rgba(255,255,255,.24), rgba(255,255,255,0));
}
.streamlms-social-profile-kicker {
    display: inline-flex;
    width: fit-content;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.08);
    color: rgba(255,255,255,.74);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.streamlms-social-profile-location {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,.86);
    font-size: 14px;
    line-height: 1.4;
}
.streamlms-social-profile-location::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #f3d48f;
    box-shadow: 0 0 0 4px rgba(243,212,143,.14);
    flex: 0 0 auto;
}
.streamlms-social-profile-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}
.streamlms-social-profile-action {
    appearance: none;
    border: 1px solid rgba(255,255,255,.1);
    background: rgba(255,255,255,.04);
    color: #fff;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.streamlms-social-profile-action:hover,
.streamlms-social-profile-action:focus-visible {
    transform: translateY(-1px);
    background: rgba(255,255,255,.07);
    border-color: rgba(255,255,255,.16);
}
.streamlms-social-profile-action.is-primary {
    background: linear-gradient(180deg, rgba(197,160,89,.22), rgba(197,160,89,.14));
    color: #f8dfab;
    border-color: rgba(197,160,89,.28);
}
@media (max-width: 767px) {
    .streamlms-social-search-actions {
        justify-content: stretch;
    }
    .streamlms-social-search-view-all {
        width: 100%;
    }
    .streamlms-social-profile-actions {
        display: grid;
        grid-template-columns: 1fr;
    }
    .streamlms-social-profile-action {
        width: 100%;
    }
}


/* V54 · centered mobile profile modal + tighter wall feed */
@media (min-width: 768px) {
    .streamlms-social-wall {
        width: min(100%, 680px);
        gap: 14px;
    }
    .streamlms-wall-post,
    .streamlms-wall-empty {
        border-radius: 22px;
        padding: 16px 18px;
    }
    .streamlms-wall-post-head {
        gap: 11px;
        margin-bottom: 12px;
    }
    .streamlms-wall-post-title {
        font-size: 18px;
        margin-bottom: 10px;
    }
    .streamlms-wall-post-content {
        line-height: 1.58;
    }
    .streamlms-wall-post-image,
    .streamlms-wall-post-video {
        margin-top: 14px;
        border-radius: 18px;
    }
}

@media (max-width: 767px) {
    .streamlms-social-profile-modal {
        align-items: center;
        justify-content: center;
        padding: calc(16px + env(safe-area-inset-top, 0px)) 14px calc(16px + env(safe-area-inset-bottom, 0px));
    }
    .streamlms-social-profile-dialog {
        width: min(100%, 480px);
        max-height: calc(100vh - 32px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
        overflow: auto;
        border-radius: 24px;
        padding: 22px 18px;
        margin: 0 auto;
    }
    .streamlms-social-wall {
        gap: 14px;
    }
    .streamlms-wall-post,
    .streamlms-wall-empty {
        border-radius: 20px;
        padding: 18px;
    }
    .streamlms-wall-post-head {
        margin-bottom: 12px;
    }
    .streamlms-wall-post-title {
        font-size: 17px;
        margin-bottom: 10px;
    }
    .streamlms-wall-post-content {
        line-height: 1.6;
    }
    .streamlms-wall-post-image,
    .streamlms-wall-post-video {
        margin-top: 14px;
        border-radius: 17px;
    }
    .streamlms-wall-post-image-hint {
        right: 12px;
        bottom: 12px;
    }
}


/* V55 · mobile wall spacing refinement inspired by compact social feed rhythm */
@media (max-width: 767px) {
    .streamlms-social-wall {
        gap: 12px;
    }
    .streamlms-wall-post,
    .streamlms-wall-empty {
        border-radius: 18px;
        padding: 15px 14px 14px;
    }
    .streamlms-wall-post-head {
        gap: 10px;
        margin-bottom: 10px;
    }
    .streamlms-wall-post-avatar {
        width: 40px;
        height: 40px;
    }
    .streamlms-wall-post-meta strong {
        font-size: 14px;
        line-height: 1.2;
    }
    .streamlms-wall-post-meta span {
        font-size: 12px;
        line-height: 1.35;
    }
    .streamlms-wall-post-meta-top {
        gap: 6px;
    }
    .streamlms-wall-post-badge {
        min-height: 20px;
        padding: 2px 8px;
        font-size: 10px;
    }
    .streamlms-wall-post-pin {
        min-height: 28px;
        padding: 6px 10px;
        margin: -2px 0 10px;
        font-size: 10px;
    }
    .streamlms-wall-post-title {
        font-size: 16px;
        line-height: 1.28;
        margin: 0 0 8px;
    }
    .streamlms-wall-post-content {
        line-height: 1.52;
        font-size: 14px;
    }
    .streamlms-wall-post-content p {
        margin: 0 0 10px;
    }
    .streamlms-wall-post-content p:last-child {
        margin-bottom: 0;
    }
    .streamlms-wall-post-more {
        margin-top: 9px;
        font-size: 13px;
    }
    .streamlms-wall-post-image,
    .streamlms-wall-post-video {
        margin-top: 12px;
        border-radius: 14px;
    }
    .streamlms-wall-post-image-hint {
        right: 10px;
        bottom: 10px;
        min-height: 24px;
        padding: 4px 8px;
        font-size: 10px;
    }
    .streamlms-wall-post-actions {
        margin-top: 12px;
        gap: 8px;
    }
    .streamlms-wall-post-cta {
        width: auto;
        max-width: 100%;
        min-height: 36px;
        padding: 8px 14px;
        font-size: 13px;
        box-shadow: 0 8px 18px rgba(0,0,0,.14);
    }
}


/* V56 · verified mobile wall spacing hardening */
@media (max-width: 767px) {
    .streamlms-social-shell .streamlms-social-wall {
        gap: 10px !important;
    }
    .streamlms-social-shell .streamlms-wall-post,
    .streamlms-social-shell .streamlms-wall-empty {
        padding: 16px 15px 14px !important;
        border-radius: 18px !important;
    }
    .streamlms-social-shell .streamlms-wall-post-head {
        align-items: flex-start !important;
        gap: 10px !important;
        margin-bottom: 10px !important;
    }
    .streamlms-social-shell .streamlms-wall-post-avatar {
        width: 40px !important;
        min-width: 40px !important;
        height: 40px !important;
        flex: 0 0 40px;
    }
    .streamlms-social-shell .streamlms-wall-post-meta {
        gap: 3px !important;
    }
    .streamlms-social-shell .streamlms-wall-post-meta strong {
        font-size: 14px !important;
        line-height: 1.22 !important;
    }
    .streamlms-social-shell .streamlms-wall-post-meta span {
        font-size: 11.5px !important;
        line-height: 1.35 !important;
    }
    .streamlms-social-shell .streamlms-wall-post-meta-top {
        gap: 6px !important;
        margin-bottom: 2px;
    }
    .streamlms-social-shell .streamlms-wall-post-badge {
        min-height: 20px !important;
        padding: 2px 8px !important;
        font-size: 10px !important;
    }
    .streamlms-social-shell .streamlms-wall-post-pin {
        min-height: 28px !important;
        padding: 6px 10px !important;
        margin: -2px 0 10px !important;
        font-size: 10px !important;
    }
    .streamlms-social-shell .streamlms-wall-post-title {
        margin: 0 0 8px !important;
        font-size: 15px !important;
        line-height: 1.28 !important;
    }
    .streamlms-social-shell .streamlms-wall-post-content {
        font-size: 14px !important;
        line-height: 1.55 !important;
    }
    .streamlms-social-shell .streamlms-wall-post-content p {
        margin: 0 0 9px !important;
    }
    .streamlms-social-shell .streamlms-wall-post-content p:last-child {
        margin-bottom: 0 !important;
    }
    .streamlms-social-shell .streamlms-wall-post-more {
        margin-top: 8px !important;
        font-size: 13px !important;
        line-height: 1.2 !important;
    }
    .streamlms-social-shell .streamlms-wall-post-image,
    .streamlms-social-shell .streamlms-wall-post-video {
        margin-top: 12px !important;
        border-radius: 14px !important;
    }
    .streamlms-social-shell .streamlms-wall-post-image::after {
        right: 10px !important;
        bottom: 10px !important;
        padding: 4px 8px !important;
        font-size: 10px !important;
    }
    .streamlms-social-shell .streamlms-wall-post-image-hint {
        right: 10px !important;
        bottom: 10px !important;
        min-height: 24px !important;
        padding: 4px 8px !important;
        font-size: 10px !important;
    }
    .streamlms-social-shell .streamlms-wall-post-actions {
        margin-top: 12px !important;
        gap: 8px !important;
    }
    .streamlms-social-shell .streamlms-wall-post-cta {
        width: auto !important;
        max-width: 100% !important;
        min-height: 34px !important;
        padding: 8px 12px !important;
        font-size: 12.5px !important;
        line-height: 1.2 !important;
        box-shadow: 0 8px 18px rgba(0,0,0,.14) !important;
        align-self: flex-start;
    }
}


/* V57 · mobile wall gutters and smaller chips/buttons verified against screenshot */
@media (max-width: 767px) {
    .streamlms-social-shell .streamlms-social-wall {
        gap: 12px !important;
    }
    .streamlms-social-shell .streamlms-wall-post,
    .streamlms-social-shell .streamlms-wall-empty {
        padding: 20px 18px 16px !important;
        border-radius: 20px !important;
        box-sizing: border-box;
    }
    .streamlms-social-shell .streamlms-wall-post-pin {
        min-height: 26px !important;
        gap: 6px !important;
        padding: 5px 10px !important;
        margin: -2px 0 14px !important;
        font-size: 10px !important;
        letter-spacing: .035em !important;
    }
    .streamlms-social-shell .streamlms-wall-post-head {
        align-items: flex-start !important;
        gap: 11px !important;
        margin-bottom: 14px !important;
    }
    .streamlms-social-shell .streamlms-wall-post-avatar {
        width: 38px !important;
        min-width: 38px !important;
        height: 38px !important;
        flex: 0 0 38px !important;
    }
    .streamlms-social-shell .streamlms-wall-post-meta {
        gap: 4px !important;
    }
    .streamlms-social-shell .streamlms-wall-post-meta-top {
        gap: 6px !important;
        margin-bottom: 2px !important;
    }
    .streamlms-social-shell .streamlms-wall-post-meta strong {
        font-size: 13px !important;
        line-height: 1.22 !important;
    }
    .streamlms-social-shell .streamlms-wall-post-meta span {
        font-size: 11px !important;
        line-height: 1.35 !important;
    }
    .streamlms-social-shell .streamlms-wall-post-badge {
        min-height: 20px !important;
        padding: 3px 9px !important;
        font-size: 10px !important;
        letter-spacing: .04em !important;
    }
    .streamlms-social-shell .streamlms-wall-post-title,
    .streamlms-social-shell .streamlms-wall-post-content,
    .streamlms-social-shell .streamlms-wall-post-more,
    .streamlms-social-shell .streamlms-wall-post-actions {
        padding-left: 2px !important;
        padding-right: 2px !important;
    }
    .streamlms-social-shell .streamlms-wall-post-title {
        margin: 0 0 10px !important;
        font-size: 15px !important;
        line-height: 1.3 !important;
    }
    .streamlms-social-shell .streamlms-wall-post-content {
        font-size: 14px !important;
        line-height: 1.62 !important;
    }
    .streamlms-social-shell .streamlms-wall-post-content p {
        margin: 0 0 11px !important;
    }
    .streamlms-social-shell .streamlms-wall-post-content.is-collapsible:not(.is-expanded)::after {
        left: 2px !important;
        right: 2px !important;
        height: 64px !important;
    }
    .streamlms-social-shell .streamlms-wall-post-more {
        margin-top: 10px !important;
        font-size: 12px !important;
        font-weight: 800 !important;
    }
    .streamlms-social-shell .streamlms-wall-post-image,
    .streamlms-social-shell .streamlms-wall-post-video {
        margin-top: 14px !important;
        border-radius: 16px !important;
    }
    .streamlms-social-shell .streamlms-wall-post-image-hint {
        right: 10px !important;
        bottom: 10px !important;
        min-height: 22px !important;
        padding: 3px 8px !important;
        font-size: 10px !important;
    }
    .streamlms-social-shell .streamlms-wall-post-actions {
        margin-top: 14px !important;
        gap: 8px !important;
    }
    .streamlms-social-shell .streamlms-wall-post-cta {
        width: auto !important;
        max-width: 100% !important;
        min-height: 32px !important;
        padding: 7px 12px !important;
        border-radius: 999px !important;
        font-size: 12px !important;
        line-height: 1.15 !important;
        box-shadow: none !important;
    }
}


/* V58 · story duration follows provider video length without touching mobile wall gutters */


/* V59 · force mobile wall gutters and publication margins; keep stories isolated */
@media (max-width: 767px) {
    .streamlms-social-shell .streamlms-social-wall {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 12px !important;
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .streamlms-social-shell .streamlms-wall-post,
    .streamlms-social-shell .streamlms-wall-empty {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 20px 18px 16px !important;
        border-radius: 20px !important;
        box-sizing: border-box !important;
    }
    .streamlms-social-shell .streamlms-wall-post + .streamlms-wall-post,
    .streamlms-social-shell .streamlms-wall-post + .streamlms-wall-empty,
    .streamlms-social-shell .streamlms-wall-empty + .streamlms-wall-post {
        margin-top: 0 !important;
    }
    .streamlms-social-shell .streamlms-wall-post-title,
    .streamlms-social-shell .streamlms-wall-post-content,
    .streamlms-social-shell .streamlms-wall-post-more,
    .streamlms-social-shell .streamlms-wall-post-actions {
        padding-left: 2px !important;
        padding-right: 2px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    .streamlms-social-shell .streamlms-wall-post-image,
    .streamlms-social-shell .streamlms-wall-post-video {
        margin-top: 14px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        border-radius: 16px !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }
    .streamlms-social-shell .streamlms-wall-post-actions {
        margin-top: 14px !important;
        gap: 8px !important;
    }
}


/* V66 · mejora visual del registro masivo sin tocar otros flujos */
.streamlms-register-bulk-form select,
.streamlms-register-bulk-form input,
.streamlms-register-bulk-form textarea {
    font-size: 16px;
    line-height: 1.4 !important;
    min-height: 52px;
    height: auto !important;
}
.streamlms-register-bulk-form select {
    padding-top: 14px;
    padding-bottom: 14px;
    padding-right: 42px;
    text-overflow: ellipsis;
    color: var(--streamlms-text) !important;
    background: rgba(255,255,255,.06) !important;
}
.streamlms-register-bulk-form select option,
.streamlms-register-bulk-form select optgroup,
.streamlms-register-bulk-form select:focus option,
.streamlms-register-bulk-form select:focus optgroup,
.streamlms-register-bulk-form select option:checked {
    color: #141414 !important;
    background: #ffffff !important;
}
.streamlms-bulk-form-grid {
    grid-template-columns: minmax(0, 1fr);
}
.streamlms-bulk-role-col {
    min-width: 0;
}
.streamlms-bulk-role-col select {
    width: 100%;
}
.streamlms-register-bulk-form .streamlms-checklist input[type="checkbox"] {
    width: 24px;
    height: 24px;
    min-width: 24px;
    min-height: 24px;
    accent-color: var(--streamlms-primary);
}
.streamlms-register-bulk-form .streamlms-checklist label {
    display: flex;
    align-items: center;
    gap: 12px;
}


/* V82 · registro masivo: checklist oscuro + grado/institución */
.streamlms-register-bulk-form .streamlms-bulk-form-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: end;
}
.streamlms-register-bulk-form .streamlms-checklist {
    background: rgba(0, 0, 0, 0.42) !important;
    border: 1px solid rgba(255,255,255,.08);
}
.streamlms-register-bulk-form .streamlms-checklist,
.streamlms-register-bulk-form .streamlms-checklist *:not(input) {
    color: var(--streamlms-text) !important;
}
.streamlms-register-bulk-form .streamlms-checklist label {
    background: transparent !important;
    color: var(--streamlms-text) !important;
    border-radius: 12px;
    padding: 8px 0;
}
.streamlms-register-bulk-form .streamlms-checklist label:hover {
    color: var(--streamlms-primary) !important;
}
.streamlms-register-bulk-form .streamlms-bulk-grade-col select,
.streamlms-register-bulk-form .streamlms-bulk-institution-col select,
.streamlms-register-bulk-form .streamlms-bulk-role-col select {
    width: 100%;
}
@media (max-width: 767px) {
    .streamlms-register-bulk-form .streamlms-bulk-form-grid {
        grid-template-columns: 1fr;
    }
}


/* V83 · registro individual con grado + institución */
.streamlms-register-form .streamlms-bulk-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: end;
    margin-bottom: 18px;
}
.streamlms-register-form .streamlms-bulk-grade-col select,
.streamlms-register-form .streamlms-bulk-institution-col select {
    width: 100%;
}
@media (max-width: 767px) {
    .streamlms-register-form .streamlms-bulk-form-grid {
        grid-template-columns: 1fr;
    }
}
