body.toplevel_page_streamlms-core {
    background: #f6f7fb;
}
.streamlms-admin-wrap h1 {
    margin-bottom: 6px;
}
.streamlms-admin-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}
.streamlms-card {
    background: #fff;
    border: 1px solid #e6e8ee;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 6px 20px rgba(0,0,0,.04);
}
.streamlms-card h2,
.streamlms-card h3 {
    margin-top: 0;
}
.streamlms-card label {
    display: block;
    font-weight: 600;
    margin: 12px 0 6px;
}
.streamlms-card input[type="text"],
.streamlms-card input[type="url"],
.streamlms-card input[type="file"],
.streamlms-card input[type="date"],
.streamlms-card input[type="color"],
.streamlms-card select,
.streamlms-card textarea {
    width: 100%;
    max-width: 100%;
}
.streamlms-two-cols,
.streamlms-inline-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.streamlms-three-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.streamlms-span-2 {
    grid-column: span 2;
}
.streamlms-span-3 {
    grid-column: span 3;
}
.streamlms-checklist {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 16px;
    max-height: 220px;
    overflow: auto;
    padding: 12px;
    border: 1px solid #dfd4b6;
    border-radius: 10px;
    background: #fbf8f1;
}
.streamlms-image-picker {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.streamlms-preview {
    width: 130px;
    height: 130px;
    border-radius: 12px;
    background: #f1f2f7;
    display: grid;
    place-items: center;
    overflow: hidden;
}
.streamlms-preview img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
}
#streamlms-modules-builder {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.streamlms-module-item {
    border: 1px solid #dfd4b6;
    border-radius: 14px;
    padding: 14px;
    background: #fdfbf7;
}
.streamlms-module-body {
    margin-top: 12px;
}
.streamlms-sort-row {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
}
.streamlms-sort-row > strong {
    margin-right: auto;
}
.streamlms-sort-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.streamlms-drag-handle {
    cursor: grab;
    font-weight: 900;
    color: #c5a059;
    font-size: 18px;
    user-select: none;
}
.streamlms-classes-wrap {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.streamlms-class-item {
    border: 1px dashed #decfa5;
    border-radius: 10px;
    padding: 12px;
    background: #fff;
}
.streamlms-sort-placeholder {
    border: 2px dashed #decfa5;
    border-radius: 12px;
    min-height: 72px;
    background: #fbf8f1;
}
.streamlms-inline-filter {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.streamlms-bulk-users-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 12px;
    flex-wrap: wrap;
}
.streamlms-bulk-users-form .check-column {
    width: 2.2em;
    padding-left: 10px;
}
.streamlms-bulk-users-form .check-column input[type="checkbox"] {
    margin: 0;
}
.streamlms-bulk-users-form [data-streamlms-bulk-delete][disabled] {
    opacity: .55;
    cursor: not-allowed;
}
.streamlms-enrollment-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.streamlms-enrollment-card {
    border: 1px solid #dfd4b6;
    border-radius: 14px;
    padding: 14px;
    background: #fdfaf4;
    opacity: .78;
}
.streamlms-enrollment-card.is-enabled {
    opacity: 1;
    border-color: #c5a059;
    background: #fbf8f1;
}
.streamlms-enrollment-head {
    display: flex !important;
    align-items: center;
    gap: 10px;
    margin: 0 0 10px !important;
}
.streamlms-enrollment-head input {
    width: auto !important;
}
.streamlms-enrollment-fields {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
}
.streamlms-mini-enrollments {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.streamlms-mini-badge {
    display: inline-flex;
    width: fit-content;
    padding: 4px 8px;
    border-radius: 999px;
    background: #f3ede0;
    font-size: 12px;
}
.streamlms-mini-badge.is-active {
    background: #e4f6e8;
    color: #19662d;
}
.streamlms-mini-badge.is-expired {
    background: #fde8e8;
    color: #a72a2a;
}
.streamlms-admin-suggestions {
    margin: 0;
    padding-left: 18px;
}
.streamlms-admin-suggestions li {
    margin: 0 0 10px;
}
@media (max-width: 1180px) {
    .streamlms-admin-grid,
    .streamlms-enrollment-grid,
    .streamlms-enrollment-fields {
        grid-template-columns: 1fr;
    }
    .streamlms-span-2,
    .streamlms-span-3 {
        grid-column: span 1;
    }
}

@media (max-width: 782px) {
    .streamlms-card { padding: 16px; }
    .streamlms-two-cols,
    .streamlms-inline-2,
    .streamlms-three-cols,
    .streamlms-checklist {
        grid-template-columns: 1fr;
    }
    .streamlms-sort-row {
        align-items: flex-start;
        flex-wrap: wrap;
    }
}

.streamlms-admin-wrap h1 small,
.streamlms-card h2,
.streamlms-card h3,
.streamlms-admin-wrap a { color: #C5A059; }

.streamlms-card-section {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid #ece6d6;
}


/* V26 · social admin */
.streamlms-card input[readonly] {
    background: #f7f7f7;
}


/* V34 · overview and tools */
.streamlms-overview-cards{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:14px;
    margin-top:16px;
}
.streamlms-stat-card{
    border:1px solid #eadfbe;
    border-radius:14px;
    padding:16px;
    background:linear-gradient(180deg,#fff,#fbf8f1);
}
.streamlms-stat-label{
    display:block;
    color:#6b7280;
    font-size:12px;
    margin-bottom:8px;
}
.streamlms-stat-value{
    display:block;
    font-size:28px;
    line-height:1;
    color:#111827;
}
.streamlms-quick-actions{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
}
.streamlms-pagination{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin-top:14px;
}
.streamlms-status-ok,
.streamlms-status-error{
    display:inline-flex;
    align-items:center;
    gap:6px;
    padding:3px 8px;
    border-radius:999px;
    font-size:12px;
    font-weight:600;
}
.streamlms-status-ok{
    background:#e7f8eb;
    color:#166534;
}
.streamlms-status-error{
    background:#fde8e8;
    color:#b91c1c;
}
.streamlms-tools-form{
    margin-top:16px;
}
.streamlms-inline-filter input[type="text"]{
    min-width:220px;
}
@media (max-width: 1180px){
    .streamlms-overview-cards{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}
@media (max-width: 782px){
    .streamlms-overview-cards{
        grid-template-columns:1fr;
    }
    .streamlms-inline-filter input[type="text"]{
        min-width:0;
        width:100%;
    }
}


.streamlms-front-admin-box {
    margin: 18px 0 10px;
    padding: 16px;
    border-radius: 14px;
    border: 1px solid rgba(197, 160, 89, 0.22);
    background: rgba(11, 11, 11, 0.03);
}

.streamlms-front-admin-box h3 {
    margin: 0 0 12px;
}

.streamlms-inline-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}
