.dashboard-analytics {
    --analytics-bg: #f4f7fc;
    --analytics-bg-soft: #eef3fb;
    --analytics-surface: rgba(255, 255, 255, 0.9);
    --analytics-surface-solid: #ffffff;
    --analytics-surface-alt: #f8faff;
    --analytics-border: #dce3ef;
    --analytics-border-strong: #cfd8e6;
    --analytics-shadow-sm: 0 4px 14px rgba(15, 23, 42, 0.05);
    --analytics-shadow-md: 0 14px 36px rgba(15, 23, 42, 0.08);
    --analytics-shadow-lg: 0 18px 48px rgba(30, 41, 59, 0.12);
    --analytics-text: #111827;
    --analytics-text-strong: #0f172a;
    --analytics-text-muted: #667085;
    --analytics-text-faint: #94a3b8;
    --analytics-accent: #2563eb;
    --analytics-accent-2: #06b6d4;
    --analytics-accent-soft: rgba(37, 99, 235, 0.1);
    --analytics-chip-bg: #ecf3ff;
    --analytics-chip-border: #d7e6ff;
    --analytics-chip-text: #33547d;
    --analytics-success-bg: #e8f7ee;
    --analytics-success-border: #cbead8;
    --analytics-success-text: #177245;
    --analytics-warning-bg: #fff4d8;
    --analytics-warning-border: #ffe2a6;
    --analytics-warning-text: #b36800;
    --analytics-danger-bg: #ffe7ea;
    --analytics-danger-border: #ffc8d0;
    --analytics-danger-text: #cf304a;
    --analytics-info-bg: #e8f0fe;
    --analytics-info-border: #d2e3fc;
    --analytics-info-text: #1a73e8;
    --analytics-chart-text-muted: #64748b;
    --analytics-chart-text-strong: #475569;
    --analytics-chart-grid: rgba(148, 163, 184, 0.22);
    --analytics-chart-grid-soft: rgba(148, 163, 184, 0.18);
    --analytics-tooltip-bg: rgba(15, 23, 42, 0.94);
    --analytics-tooltip-title: #e2e8f0;
    --analytics-tooltip-body: #f8fafc;
    --analytics-tooltip-border: rgba(148, 163, 184, 0.25);
    --analytics-chart-segment-border: #ffffff;
    --analytics-chart-fallback-slice: #cbd5e1;
    background: #ffffff;
    min-height: 100%;
    transition: background-color 0.2s ease, color 0.2s ease;
}

html[data-theme="dark"] .dashboard-analytics,
body.analytics-dashboard-theme-dark .dashboard-analytics,
.dashboard-analytics[data-analytics-theme="dark"] {
    --analytics-bg: #0f1726;
    --analytics-bg-soft: #141f32;
    --analytics-surface: rgba(19, 28, 43, 0.92);
    --analytics-surface-solid: #162236;
    --analytics-surface-alt: #1a2940;
    --analytics-border: rgba(148, 163, 184, 0.18);
    --analytics-border-strong: rgba(148, 163, 184, 0.28);
    --analytics-shadow-sm: 0 10px 22px rgba(2, 6, 23, 0.22);
    --analytics-shadow-md: 0 16px 34px rgba(2, 6, 23, 0.28);
    --analytics-shadow-lg: 0 24px 52px rgba(2, 6, 23, 0.34);
    --analytics-text: #e8eef9;
    --analytics-text-strong: #f7fbff;
    --analytics-text-muted: #b3c0d6;
    --analytics-text-faint: #8b9ab4;
    --analytics-accent: #6aa9ff;
    --analytics-accent-2: #3dd5c5;
    --analytics-accent-soft: rgba(106, 169, 255, 0.16);
    --analytics-chip-bg: rgba(148, 163, 184, 0.09);
    --analytics-chip-border: rgba(148, 163, 184, 0.2);
    --analytics-chip-text: #d7e4f6;
    --analytics-success-bg: rgba(34, 197, 94, 0.12);
    --analytics-success-border: rgba(34, 197, 94, 0.22);
    --analytics-success-text: #a6efc3;
    --analytics-warning-bg: rgba(245, 158, 11, 0.12);
    --analytics-warning-border: rgba(245, 158, 11, 0.22);
    --analytics-warning-text: #ffd99d;
    --analytics-danger-bg: rgba(244, 63, 94, 0.12);
    --analytics-danger-border: rgba(244, 63, 94, 0.22);
    --analytics-danger-text: #ffc0cc;
    --analytics-info-bg: rgba(106, 169, 255, 0.11);
    --analytics-info-border: rgba(106, 169, 255, 0.2);
    --analytics-info-text: #d4e7ff;
    --analytics-chart-text-muted: #c0cadb;
    --analytics-chart-text-strong: #e3ebf8;
    --analytics-chart-grid: rgba(148, 163, 184, 0.14);
    --analytics-chart-grid-soft: rgba(148, 163, 184, 0.1);
    --analytics-tooltip-bg: rgba(10, 15, 27, 0.94);
    --analytics-tooltip-title: #f8fbff;
    --analytics-tooltip-body: #e6edf8;
    --analytics-tooltip-border: rgba(148, 163, 184, 0.18);
    --analytics-chart-segment-border: #111b2c;
    --analytics-chart-fallback-slice: #607089;
    background:
        radial-gradient(circle at 12% 2%, rgba(106, 169, 255, 0.08), transparent 45%),
        radial-gradient(circle at 92% 7%, rgba(61, 213, 197, 0.06), transparent 34%),
        linear-gradient(180deg, #0f1726 0%, #111c2d 42%, #121f31 100%);
}

@media (prefers-color-scheme: dark) {
    html[data-theme="dark"] .dashboard-analytics,
    body.analytics-dashboard-theme-dark .dashboard-analytics,
    .dashboard-analytics[data-analytics-theme="dark"] {
        --analytics-bg: #0f1726;
        --analytics-bg-soft: #141f32;
        --analytics-surface: rgba(19, 28, 43, 0.92);
        --analytics-surface-solid: #162236;
        --analytics-surface-alt: #1a2940;
        --analytics-border: rgba(148, 163, 184, 0.18);
        --analytics-border-strong: rgba(148, 163, 184, 0.28);
        --analytics-shadow-sm: 0 10px 22px rgba(2, 6, 23, 0.22);
        --analytics-shadow-md: 0 16px 34px rgba(2, 6, 23, 0.28);
        --analytics-shadow-lg: 0 24px 52px rgba(2, 6, 23, 0.34);
        --analytics-text: #e8eef9;
        --analytics-text-strong: #f7fbff;
        --analytics-text-muted: #b3c0d6;
        --analytics-text-faint: #8b9ab4;
        --analytics-accent: #6aa9ff;
        --analytics-accent-2: #3dd5c5;
        --analytics-accent-soft: rgba(106, 169, 255, 0.16);
        --analytics-chip-bg: rgba(148, 163, 184, 0.09);
        --analytics-chip-border: rgba(148, 163, 184, 0.2);
        --analytics-chip-text: #d7e4f6;
        --analytics-success-bg: rgba(34, 197, 94, 0.12);
        --analytics-success-border: rgba(34, 197, 94, 0.22);
        --analytics-success-text: #a6efc3;
        --analytics-warning-bg: rgba(245, 158, 11, 0.12);
        --analytics-warning-border: rgba(245, 158, 11, 0.22);
        --analytics-warning-text: #ffd99d;
        --analytics-danger-bg: rgba(244, 63, 94, 0.12);
        --analytics-danger-border: rgba(244, 63, 94, 0.22);
        --analytics-danger-text: #ffc0cc;
        --analytics-info-bg: rgba(106, 169, 255, 0.11);
        --analytics-info-border: rgba(106, 169, 255, 0.2);
        --analytics-info-text: #d4e7ff;
        --analytics-chart-text-muted: #c0cadb;
        --analytics-chart-text-strong: #e3ebf8;
        --analytics-chart-grid: rgba(148, 163, 184, 0.14);
        --analytics-chart-grid-soft: rgba(148, 163, 184, 0.1);
        --analytics-tooltip-bg: rgba(10, 15, 27, 0.94);
        --analytics-tooltip-title: #f8fbff;
        --analytics-tooltip-body: #e6edf8;
        --analytics-tooltip-border: rgba(148, 163, 184, 0.18);
        --analytics-chart-segment-border: #111b2c;
        --analytics-chart-fallback-slice: #607089;
        background:
            radial-gradient(circle at 12% 2%, rgba(106, 169, 255, 0.08), transparent 45%),
            radial-gradient(circle at 92% 7%, rgba(61, 213, 197, 0.06), transparent 34%),
            linear-gradient(180deg, #0f1726 0%, #111c2d 42%, #121f31 100%);
    }
}

.dashboard-analytics .content {
    background: transparent;
}

.dashboard-analytics .container-fluid {
    padding-bottom: 1.2rem;
}

.dashboard-analytics .page-title {
    color: var(--analytics-text-strong);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.analytics-hero {
    position: relative;
    background: #ffffff;
    border: 1px solid var(--analytics-border);
    border-radius: 18px;
    color: var(--analytics-text);
    padding: 1.15rem 1.25rem;
    box-shadow: var(--analytics-shadow-sm);
    overflow: hidden;
}

html[data-theme="dark"] .dashboard-analytics .analytics-hero,
body.analytics-dashboard-theme-dark .dashboard-analytics .analytics-hero,
.dashboard-analytics[data-analytics-theme="dark"] .analytics-hero {
    background:
        linear-gradient(180deg, rgba(22, 34, 54, 0.96) 0%, rgba(19, 31, 49, 0.94) 100%),
        radial-gradient(circle at right top, rgba(106, 169, 255, 0.08), transparent 56%);
}

@media (prefers-color-scheme: dark) {
    html[data-theme="dark"] .dashboard-analytics .analytics-hero,
    body.analytics-dashboard-theme-dark .dashboard-analytics .analytics-hero,
    .dashboard-analytics[data-analytics-theme="dark"] .analytics-hero {
        background:
            linear-gradient(180deg, rgba(22, 34, 54, 0.96) 0%, rgba(19, 31, 49, 0.94) 100%),
            radial-gradient(circle at right top, rgba(106, 169, 255, 0.08), transparent 56%);
    }
}

html[data-theme="dark"] .dashboard-analytics .analytics-card,
body.analytics-dashboard-theme-dark .dashboard-analytics .analytics-card,
.dashboard-analytics[data-analytics-theme="dark"] .analytics-card {
    background: linear-gradient(180deg, rgba(18, 28, 44, 0.96) 0%, rgba(15, 24, 38, 0.96) 100%);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

@media (prefers-color-scheme: dark) {
    html[data-theme="dark"] .dashboard-analytics .analytics-card,
    body.analytics-dashboard-theme-dark .dashboard-analytics .analytics-card,
    .dashboard-analytics[data-analytics-theme="dark"] .analytics-card {
        background: linear-gradient(180deg, rgba(18, 28, 44, 0.96) 0%, rgba(15, 24, 38, 0.96) 100%);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
}

.analytics-card {
    border: 1px solid var(--analytics-border);
    border-radius: 16px;
    background: var(--analytics-surface);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--analytics-shadow-sm);
    height: 100%;
    transition: box-shadow 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.analytics-card:hover {
    border-color: var(--analytics-border-strong);
    box-shadow: var(--analytics-shadow-md);
}

.analytics-chart-card {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.analytics-chart-card.analytics-chart-card--with-filter {
    overflow: visible;
}

.analytics-chart-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--analytics-accent), var(--analytics-accent-2), #8b5cf6);
    pointer-events: none;
    z-index: 0;
}

html[data-theme="dark"] .dashboard-analytics .analytics-chart-card::before,
body.analytics-dashboard-theme-dark .dashboard-analytics .analytics-chart-card::before,
.dashboard-analytics[data-analytics-theme="dark"] .analytics-chart-card::before {
    background: linear-gradient(90deg, rgba(106, 169, 255, 0.78), rgba(61, 213, 197, 0.65), rgba(139, 92, 246, 0.62));
}

@media (prefers-color-scheme: dark) {
    html[data-theme="dark"] .dashboard-analytics .analytics-chart-card::before,
    body.analytics-dashboard-theme-dark .dashboard-analytics .analytics-chart-card::before,
    .dashboard-analytics[data-analytics-theme="dark"] .analytics-chart-card::before {
        background: linear-gradient(90deg, rgba(106, 169, 255, 0.78), rgba(61, 213, 197, 0.65), rgba(139, 92, 246, 0.62));
    }
}

.analytics-chart-card::after {
    display: none;
}

.analytics-firebase-hero {
    padding: 1rem 1.15rem;
}

.bulk-release-page .bulk-release-hero-card,
.bulk-release-page .bulk-release-workspace-card,
.bulk-release-page .bulk-release-guide-card {
    border-radius: 22px;
    border: 1px solid rgba(148, 163, 184, 0.24);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.06);
    overflow: hidden;
}

.bulk-release-page .bulk-release-hero-card {
    background:
        radial-gradient(circle at top right, rgba(14, 165, 233, 0.14), transparent 36%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96));
}

.bulk-release-page .bulk-release-hero {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: flex-start;
    padding: 20px 22px;
}

.bulk-release-page .bulk-release-hero-title {
    margin: 0 0 8px;
    font-size: 28px;
    line-height: 1.1;
    color: #0f172a;
    font-weight: 800;
}

.bulk-release-page .bulk-release-hero-subtitle {
    margin: 0;
    max-width: 760px;
    color: #64748b;
    font-size: 15px;
    line-height: 1.7;
}

.bulk-release-page .bulk-release-hero-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.bulk-release-page .bulk-release-hero-link,
.bulk-release-page .bulk-release-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.bulk-release-page .bulk-release-hero-link {
    color: #0f766e;
    background: rgba(236, 253, 245, 0.95);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.bulk-release-page .bulk-release-hero-btn {
    color: #1e3a8a;
    background: rgba(239, 246, 255, 0.96);
    border: 1px solid rgba(59, 130, 246, 0.16);
}

.bulk-release-page .bulk-release-hero-link:hover,
.bulk-release-page .bulk-release-hero-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.bulk-release-page .bulk-release-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    padding: 0 22px 20px;
}

.bulk-release-page .bulk-release-stat {
    border-radius: 16px;
    padding: 13px 15px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(148, 163, 184, 0.2);
}

.bulk-release-page .bulk-release-stat-label {
    display: block;
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 7px;
}

.bulk-release-page .bulk-release-stat-value {
    display: block;
    color: #0f172a;
    font-size: 16px;
    font-weight: 800;
}

.bulk-release-page .bulk-release-section-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    align-items: stretch;
}

.bulk-release-page .bulk-release-section-grid > section,
.bulk-release-page .bulk-release-section-grid > form {
    min-width: 0;
}

.bulk-release-page .bulk-release-section-grid > form .bulk-release-step-card {
    height: 100%;
}

.bulk-release-page .bulk-release-step-card {
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 18px;
    padding: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.95));
}

.bulk-release-page .bulk-release-step-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 12px;
}

.bulk-release-page .bulk-release-step-title {
    margin: 0 0 5px;
    font-size: 17px;
    font-weight: 800;
    color: #0f172a;
}

.bulk-release-page .bulk-release-step-copy {
    margin: 0;
    color: #64748b;
    font-size: 13px;
    line-height: 1.55;
}

.bulk-release-page .bulk-release-step-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    border-radius: 999px;
    background: #0f172a;
    color: #fff;
    font-weight: 800;
    font-size: 12px;
}

.bulk-release-page .bulk-release-dropzone.dropzone {
    min-height: 156px;
    max-height: 360px;
    border-radius: 18px;
    border: 2px dashed rgba(59, 130, 246, 0.28);
    background:
        linear-gradient(135deg, rgba(239, 246, 255, 0.8), rgba(248, 250, 252, 0.96));
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    align-content: flex-start;
    justify-content: flex-start;
    padding: 18px;
    gap: 12px;
    transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
    overflow: hidden;
    overflow-y: auto;
}

.bulk-release-page .bulk-release-dropzone.dropzone::-webkit-scrollbar {
    width: 8px;
}

.bulk-release-page .bulk-release-dropzone.dropzone::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.32);
    border-radius: 999px;
}

.bulk-release-page .bulk-release-dropzone.dropzone:hover,
.bulk-release-page .bulk-release-dropzone.dropzone.dz-drag-hover {
    border-color: rgba(14, 116, 144, 0.48);
    background: linear-gradient(135deg, rgba(224, 242, 254, 0.92), rgba(240, 249, 255, 0.98));
    transform: translateY(-1px);
}

.bulk-release-page .bulk-release-dropzone.dropzone .dz-message {
    margin: 0;
    flex: 1 1 100%;
    min-height: 168px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 22px 18px;
    border-radius: 16px;
    border: 1px dashed rgba(96, 165, 250, 0.36);
    background:
        radial-gradient(circle at top, rgba(255, 255, 255, 0.95), rgba(239, 246, 255, 0.72)),
        linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(248, 250, 252, 0.94));
    text-align: center;
    color: #0f172a;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.bulk-release-page .bulk-release-dropzone.dropzone .dz-message span {
    display: block;
    margin-top: 8px;
    color: #64748b;
    font-size: 12px;
    font-weight: 500;
}

.bulk-release-page .bulk-release-dropzone.dropzone.dz-started .dz-message {
    display: none;
}

.bulk-release-page .bulk-release-dropzone.dropzone .dz-preview {
    flex: 0 0 calc(33.333% - 8px);
    width: calc(33.333% - 8px);
    max-width: 126px;
    min-width: 104px;
    margin: 0;
    padding: 8px;
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.94));
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.07);
    overflow: hidden;
}

.bulk-release-page .bulk-release-dropzone.dropzone .dz-preview .dz-image {
    width: 100%;
    height: 86px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(191, 219, 254, 0.7), rgba(226, 232, 240, 0.85));
}

.bulk-release-page .bulk-release-dropzone.dropzone .dz-preview .dz-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bulk-release-page .bulk-release-dropzone.dropzone .dz-preview .dz-details {
    position: static;
    min-width: 0;
    padding: 8px 2px 2px;
    color: #0f172a;
    text-align: left;
}

.bulk-release-page .bulk-release-dropzone.dropzone .dz-preview .dz-filename,
.bulk-release-page .bulk-release-dropzone.dropzone .dz-preview .dz-size {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bulk-release-page .bulk-release-dropzone.dropzone .dz-preview .dz-filename {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.bulk-release-page .bulk-release-dropzone.dropzone .dz-preview .dz-size {
    margin-top: 3px;
    font-size: 10px;
    color: #64748b;
}

.bulk-release-page .bulk-release-dropzone.dropzone .dz-preview .dz-filename span,
.bulk-release-page .bulk-release-dropzone.dropzone .dz-preview .dz-size span {
    display: inline;
    padding: 0;
    border: none;
    background: transparent;
}

.bulk-release-page .bulk-release-dropzone.dropzone .dz-preview .dz-progress {
    left: 10px;
    right: 10px;
    width: auto;
    margin-left: 0;
    top: 72px;
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
}

.bulk-release-page .bulk-release-dropzone.dropzone .dz-preview .dz-error-message {
    left: 10px;
    right: 10px;
    width: auto;
    max-width: none;
    bottom: 10px;
    font-size: 11px;
    border-radius: 10px;
}

.bulk-release-page .bulk-release-dropzone.dropzone .dz-preview .dz-success-mark,
.bulk-release-page .bulk-release-dropzone.dropzone .dz-preview .dz-error-mark {
    margin-left: -16px;
    margin-top: -16px;
    transform: scale(0.7);
}

.bulk-release-page #image.bulk-release-dropzone.dropzone .dz-preview {
    position: relative;
    flex: 0 0 110px;
    width: 110px;
    max-width: 110px;
    min-width: 110px;
    padding: 0;
    border: none;
    background: transparent;
    box-shadow: none;
    overflow: visible;
}

.bulk-release-page #image.bulk-release-dropzone.dropzone .dz-preview .dz-image {
    height: 110px;
    border-radius: 24px;
    border: 1px solid rgba(191, 219, 254, 0.9);
    box-shadow: 0 14px 24px rgba(15, 23, 42, 0.12);
}

.bulk-release-page #image.bulk-release-dropzone.dropzone .dz-preview .dz-details {
    display: none;
}

.bulk-release-page #image.bulk-release-dropzone.dropzone .dz-preview .dz-progress {
    left: 8px;
    right: 8px;
    top: auto;
    bottom: 8px;
}

.bulk-release-page #image.bulk-release-dropzone.dropzone .dz-preview .dz-success-mark,
.bulk-release-page #image.bulk-release-dropzone.dropzone .dz-preview .dz-error-mark {
    display: none;
}

.bulk-release-page #image.bulk-release-dropzone.dropzone .dz-remove {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 14;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.86);
    color: transparent;
    font-size: 0;
    text-decoration: none;
    box-shadow: 0 6px 12px rgba(15, 23, 42, 0.18);
}

.bulk-release-page #image.bulk-release-dropzone.dropzone .dz-remove::before {
    content: "\00d7";
    color: #ffffff;
    font-size: 14px;
    line-height: 1;
    font-weight: 700;
}

.bulk-release-page #image.bulk-release-dropzone.dropzone .dz-remove:hover,
.bulk-release-page #image.bulk-release-dropzone.dropzone .dz-remove:focus {
    background: rgba(220, 38, 38, 0.96);
    color: transparent;
    text-decoration: none;
}

.bulk-release-page #song.bulk-release-dropzone.dropzone .dz-preview {
    position: relative;
    flex: 0 0 110px;
    width: 110px;
    max-width: 110px;
    min-width: 110px;
    padding: 0;
    border: none;
    background: transparent;
    box-shadow: none;
    overflow: visible;
}

.bulk-release-page #song.bulk-release-dropzone.dropzone .dz-preview .dz-image {
    position: relative;
    height: 110px;
    border-radius: 24px;
    border: 1px solid rgba(191, 219, 254, 0.92);
    background: linear-gradient(145deg, rgba(219, 234, 254, 0.96), rgba(191, 219, 254, 0.72));
    box-shadow: 0 14px 24px rgba(15, 23, 42, 0.12);
}

.bulk-release-page #song.bulk-release-dropzone.dropzone .dz-preview .dz-image::before {
    content: "\266B";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(30, 64, 175, 0.72);
    font-size: 34px;
    font-weight: 700;
}

.bulk-release-page #song.bulk-release-dropzone.dropzone .dz-preview .dz-image img {
    display: none;
}

.bulk-release-page #song.bulk-release-dropzone.dropzone .dz-preview .dz-details {
    display: none;
}

.bulk-release-page #song.bulk-release-dropzone.dropzone .dz-preview .dz-success-mark,
.bulk-release-page #song.bulk-release-dropzone.dropzone .dz-preview .dz-error-mark {
    display: none;
}

.bulk-release-page #song.bulk-release-dropzone.dropzone .dz-remove {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 14;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.86);
    color: transparent;
    font-size: 0;
    text-decoration: none;
    box-shadow: 0 6px 12px rgba(15, 23, 42, 0.18);
}

.bulk-release-page #song.bulk-release-dropzone.dropzone .dz-remove::before {
    content: "\00d7";
    color: #ffffff;
    font-size: 14px;
    line-height: 1;
    font-weight: 700;
}

.bulk-release-page #song.bulk-release-dropzone.dropzone .dz-remove:hover,
.bulk-release-page #song.bulk-release-dropzone.dropzone .dz-remove:focus {
    background: rgba(220, 38, 38, 0.96);
    color: transparent;
    text-decoration: none;
}

.bulk-release-page.dashboard-analytics[data-analytics-theme="dark"] .songs-ui-page-title,
.bulk-release-page.dashboard-analytics[data-analytics-theme="dark"] .bulk-release-hero-title,
.bulk-release-page.dashboard-analytics[data-analytics-theme="dark"] .bulk-release-step-title,
.bulk-release-page.dashboard-analytics[data-analytics-theme="dark"] .bulk-release-stat-value {
    color: var(--analytics-text-strong);
}

.bulk-release-page.dashboard-analytics[data-analytics-theme="dark"] .bulk-release-hero-copy,
.bulk-release-page.dashboard-analytics[data-analytics-theme="dark"] .bulk-release-step-copy,
.bulk-release-page.dashboard-analytics[data-analytics-theme="dark"] .bulk-release-stat-label,
.bulk-release-page.dashboard-analytics[data-analytics-theme="dark"] .bulk-release-status,
.bulk-release-page.dashboard-analytics[data-analytics-theme="dark"] .bulk-release-help,
.bulk-release-page.dashboard-analytics[data-analytics-theme="dark"] .bulk-release-metadata-field label {
    color: var(--analytics-text-muted);
}

.bulk-release-page.dashboard-analytics[data-analytics-theme="dark"] .bulk-release-hero-card,
.bulk-release-page.dashboard-analytics[data-analytics-theme="dark"] .bulk-release-workspace-card,
.bulk-release-page.dashboard-analytics[data-analytics-theme="dark"] .bulk-release-guide-card,
.bulk-release-page.dashboard-analytics[data-analytics-theme="dark"] .bulk-release-step-card,
.bulk-release-page.dashboard-analytics[data-analytics-theme="dark"] .bulk-release-stat {
    border-color: rgba(148, 163, 184, 0.16);
    box-shadow: 0 18px 38px rgba(2, 6, 23, 0.24);
}

.bulk-release-page.dashboard-analytics[data-analytics-theme="dark"] .bulk-release-hero-card {
    background:
        radial-gradient(circle at top right, rgba(61, 213, 197, 0.1), transparent 34%),
        linear-gradient(135deg, rgba(18, 30, 48, 0.98), rgba(20, 34, 52, 0.96));
}

.bulk-release-page.dashboard-analytics[data-analytics-theme="dark"] .bulk-release-stat,
.bulk-release-page.dashboard-analytics[data-analytics-theme="dark"] .bulk-release-step-card {
    background:
        linear-gradient(180deg, rgba(21, 33, 52, 0.98), rgba(18, 28, 45, 0.94));
}

.bulk-release-page.dashboard-analytics[data-analytics-theme="dark"] .bulk-release-hero-link {
    color: #baf5e9;
    background: rgba(15, 118, 110, 0.18);
    border-color: rgba(45, 212, 191, 0.18);
}

.bulk-release-page.dashboard-analytics[data-analytics-theme="dark"] .bulk-release-hero-btn {
    color: #dbeafe;
    background: rgba(59, 130, 246, 0.14);
    border-color: rgba(96, 165, 250, 0.18);
}

.bulk-release-page.dashboard-analytics[data-analytics-theme="dark"] .bulk-release-dropzone.dropzone {
    border-color: rgba(125, 211, 252, 0.34);
    background:
        linear-gradient(145deg, rgba(18, 31, 48, 0.94), rgba(16, 27, 43, 0.96));
}

.bulk-release-page.dashboard-analytics[data-analytics-theme="dark"] .bulk-release-dropzone.dropzone:hover,
.bulk-release-page.dashboard-analytics[data-analytics-theme="dark"] .bulk-release-dropzone.dropzone.dz-drag-hover {
    border-color: rgba(61, 213, 197, 0.5);
    background: linear-gradient(145deg, rgba(20, 35, 54, 0.98), rgba(18, 31, 48, 0.98));
}

.bulk-release-page.dashboard-analytics[data-analytics-theme="dark"] .bulk-release-dropzone.dropzone .dz-message {
    border-color: rgba(125, 211, 252, 0.26);
    background:
        radial-gradient(circle at top, rgba(30, 41, 59, 0.88), rgba(15, 23, 42, 0.72)),
        linear-gradient(180deg, rgba(19, 31, 48, 0.88), rgba(15, 23, 42, 0.94));
    color: var(--analytics-text-strong);
}

.bulk-release-page.dashboard-analytics[data-analytics-theme="dark"] .bulk-release-dropzone.dropzone .dz-message span,
.bulk-release-page.dashboard-analytics[data-analytics-theme="dark"] .bulk-release-dropzone.dropzone .dz-preview .dz-size {
    color: var(--analytics-text-muted);
}

.bulk-release-page.dashboard-analytics[data-analytics-theme="dark"] .bulk-release-dropzone.dropzone .dz-preview {
    border-color: rgba(148, 163, 184, 0.16);
    background:
        linear-gradient(180deg, rgba(24, 37, 57, 0.98), rgba(20, 31, 48, 0.94));
    box-shadow: 0 16px 28px rgba(2, 6, 23, 0.22);
}

.bulk-release-page.dashboard-analytics[data-analytics-theme="dark"] .bulk-release-dropzone.dropzone .dz-preview .dz-filename,
.bulk-release-page.dashboard-analytics[data-analytics-theme="dark"] #song.bulk-release-dropzone.dropzone .dz-preview .dz-filename {
    color: var(--analytics-text-strong);
}

.bulk-release-page.dashboard-analytics[data-analytics-theme="dark"] #song.bulk-release-dropzone.dropzone .dz-preview {
    border-color: transparent;
    background: transparent;
}

.bulk-release-page.dashboard-analytics[data-analytics-theme="dark"] #song.bulk-release-dropzone.dropzone .dz-preview .dz-image {
    border-color: rgba(96, 165, 250, 0.24);
    background: linear-gradient(145deg, rgba(37, 99, 235, 0.26), rgba(30, 64, 175, 0.16));
}

.bulk-release-page.dashboard-analytics[data-analytics-theme="dark"] #song.bulk-release-dropzone.dropzone .dz-preview .dz-image::before {
    color: rgba(191, 219, 254, 0.9);
}

.bulk-release-page.dashboard-analytics[data-analytics-theme="dark"] #image.bulk-release-dropzone.dropzone .dz-preview .dz-image {
    border-color: rgba(96, 165, 250, 0.24);
    box-shadow: 0 16px 28px rgba(2, 6, 23, 0.22);
}

.bulk-release-page.dashboard-analytics[data-analytics-theme="dark"] #song.bulk-release-dropzone.dropzone .dz-remove,
.bulk-release-page.dashboard-analytics[data-analytics-theme="dark"] #image.bulk-release-dropzone.dropzone .dz-remove {
    background: rgba(226, 232, 240, 0.14);
    box-shadow: 0 8px 14px rgba(2, 6, 23, 0.24);
}

.bulk-release-page.dashboard-analytics[data-analytics-theme="dark"] #song.bulk-release-dropzone.dropzone .dz-remove:hover,
.bulk-release-page.dashboard-analytics[data-analytics-theme="dark"] #song.bulk-release-dropzone.dropzone .dz-remove:focus,
.bulk-release-page.dashboard-analytics[data-analytics-theme="dark"] #image.bulk-release-dropzone.dropzone .dz-remove:hover,
.bulk-release-page.dashboard-analytics[data-analytics-theme="dark"] #image.bulk-release-dropzone.dropzone .dz-remove:focus {
    background: rgba(220, 38, 38, 0.96);
}

.bulk-release-page.dashboard-analytics[data-analytics-theme="dark"] .bulk-release-file-chip {
    background: rgba(148, 163, 184, 0.08);
    border-color: rgba(148, 163, 184, 0.16);
    color: var(--analytics-chip-text);
}

.bulk-release-page.dashboard-analytics[data-analytics-theme="dark"] .bulk-release-progress {
    background: rgba(30, 41, 59, 0.88);
}

.bulk-release-page.dashboard-analytics[data-analytics-theme="dark"] .bulk-release-metadata-field .form-control {
    background: rgba(24, 37, 57, 0.98);
    border-color: rgba(148, 163, 184, 0.2);
    color: var(--analytics-text-strong);
}

.bulk-release-page.dashboard-analytics[data-analytics-theme="dark"] .bulk-release-metadata-field .form-control::file-selector-button {
    background: rgba(51, 65, 85, 0.9);
    color: var(--analytics-text-strong);
    border: none;
}

.bulk-release-page.dashboard-analytics[data-analytics-theme="dark"] .bulk-release-file-clear {
    background: rgba(127, 29, 29, 0.2);
    border-color: rgba(248, 113, 113, 0.28);
    color: #fecaca;
}

.bulk-release-page.dashboard-analytics[data-analytics-theme="dark"] .bulk-release-file-clear:hover,
.bulk-release-page.dashboard-analytics[data-analytics-theme="dark"] .bulk-release-file-clear:focus {
    background: rgba(153, 27, 27, 0.28);
    border-color: rgba(252, 165, 165, 0.34);
    color: #fee2e2;
}

@media (max-width: 1199.98px) {
    .bulk-release-page .bulk-release-dropzone.dropzone .dz-preview {
        flex-basis: calc(50% - 6px);
        width: calc(50% - 6px);
        max-width: none;
    }

    .bulk-release-page #song.bulk-release-dropzone.dropzone .dz-preview,
    .bulk-release-page #image.bulk-release-dropzone.dropzone .dz-preview {
        flex-basis: 96px;
        width: 96px;
        max-width: 96px;
        min-width: 96px;
    }

    .bulk-release-page #song.bulk-release-dropzone.dropzone .dz-preview .dz-image,
    .bulk-release-page #image.bulk-release-dropzone.dropzone .dz-preview .dz-image {
        height: 96px;
    }
}

@media (max-width: 575.98px) {
    .bulk-release-page .bulk-release-file-input-row {
        flex-direction: column;
    }

    .bulk-release-page .bulk-release-file-clear {
        min-height: 44px;
        width: 100%;
    }

    .bulk-release-page .bulk-release-dropzone.dropzone .dz-preview {
        flex-basis: 100%;
        width: 100%;
    }
}

/* Final approved release and YouTube workspaces. Keep these last to defeat legacy theme rules. */
.album-create-page .label-release-editor-card {
    display: block !important;
    width: min(100%, 1500px) !important;
    max-width: 1500px !important;
    min-height: 720px !important;
    height: auto !important;
    overflow: visible !important;
    margin-inline: auto !important;
}

.album-create-page .label-release-form {
    display: block !important;
    width: min(100%, 900px) !important;
    max-width: 900px !important;
    margin-inline: auto !important;
    padding: 26px 0 70px !important;
}

.album-create-page .workspace-form-row {
    display: grid !important;
    grid-template-columns: 260px minmax(0, 690px) !important;
    gap: 30px !important;
    margin: 0 0 68px !important;
}

.album-create-page .label-release-form-actions {
    display: flex !important;
    position: static !important;
    visibility: visible !important;
    opacity: 1 !important;
    justify-content: flex-start !important;
    margin: 0 0 0 290px !important;
    padding: 0 !important;
    border: 0 !important;
}

.album-create-page .label-release-form-actions > .d-flex {
    justify-content: flex-start !important;
}

.album-create-page .label-release-form-actions .rdc-button--primary {
    display: inline-flex !important;
    min-width: 100px !important;
    min-height: 54px !important;
    color: #fff !important;
    background: linear-gradient(135deg, #0ea5e9, #2563eb) !important;
}

.bulk-release-page {
    --bulk-ink: #eef4ff;
    --bulk-muted: #9caec8;
    --bulk-border: #2b3c56;
    --bulk-surface: #101c2f;
    --bulk-soft: #18263b;
}

.bulk-release-page .container-fluid {
    width: min(100%, 1580px) !important;
    max-width: 1580px !important;
}

.bulk-release-page .bulk-release-form {
    display: grid !important;
    gap: 28px !important;
}

.bulk-release-page .bulk-release-card {
    border: 1px solid var(--bulk-border) !important;
    border-radius: 24px !important;
    color: var(--bulk-ink) !important;
    background: linear-gradient(145deg, #111e32, #0e192a) !important;
    box-shadow: 0 20px 55px rgba(3, 10, 24, .18) !important;
}

.bulk-release-page .bulk-release-card--primary:first-child {
    padding: 30px !important;
    background:
        radial-gradient(circle at 94% 16%, rgba(20, 184, 166, .1), transparent 27%),
        linear-gradient(135deg, #13223a, #0e1a2c) !important;
}

.bulk-release-page .bulk-release-card--primary:first-child .bulk-release-card__header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 22px !important;
    padding: 0 0 28px !important;
}

.bulk-release-page .bulk-release-card--primary:first-child .bulk-release-card__header h2 {
    margin: 0 !important;
    color: #f8fbff !important;
    font-size: clamp(28px, 2.15vw, 38px) !important;
    font-weight: 760 !important;
}

.bulk-release-page .bulk-release-card--primary:first-child .bulk-release-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 16px !important;
    padding: 0 !important;
}

.bulk-release-page .bulk-release-card--primary:first-child .bulk-release-field {
    grid-column: auto !important;
    min-height: 98px !important;
    padding: 20px !important;
    border: 1px solid var(--bulk-border) !important;
    border-radius: 17px !important;
    background: rgba(7, 17, 33, .2) !important;
}

.bulk-release-page .bulk-release-card--primary:first-child .bulk-release-field strong {
    color: #aab8cd !important;
    font-size: 14px !important;
    letter-spacing: .08em !important;
}

.bulk-release-page .bulk-release-card--primary:first-child .bulk-release-field p {
    margin-top: 12px !important;
    color: #f1f5fb !important;
    font-size: 18px !important;
    font-weight: 730 !important;
}

.bulk-release-page .bulk-release-workspace-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 18px !important;
    align-items: stretch !important;
}

.bulk-release-page .bulk-release-workspace-grid > .bulk-release-card {
    display: flex !important;
    min-height: 500px !important;
    padding: 24px !important;
    flex-direction: column !important;
}

.bulk-release-page .bulk-release-workspace-grid .bulk-release-card__header {
    display: flex !important;
    align-items: flex-start !important;
    gap: 14px !important;
    padding: 0 !important;
    background: transparent !important;
}

.bulk-release-page .bulk-release-workspace-grid .bulk-release-card__header h2 {
    color: #f4f7fc !important;
    font-size: 20px !important;
}

.bulk-release-page .bulk-release-workspace-grid .bulk-release-card__header p {
    color: var(--bulk-muted) !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
}

.bulk-release-page .bulk-release-card__number {
    order: 3 !important;
    width: 42px !important;
    height: 42px !important;
    margin-left: auto !important;
    border-radius: 50% !important;
    color: #fff !important;
    background: #0b1628 !important;
}

.bulk-release-page .bulk-release-upload {
    display: flex !important;
    min-height: 258px !important;
    margin: 22px 0 16px !important;
    padding: 26px !important;
    justify-content: center !important;
    border: 2px dashed #385a7a !important;
    border-radius: 18px !important;
    text-align: center !important;
    background: rgba(20, 35, 57, .72) !important;
}

.bulk-release-page .bulk-release-upload__copy strong {
    color: #fff !important;
    font-size: 18px !important;
}

.bulk-release-page .bulk-release-upload__copy small {
    margin-top: 12px !important;
    color: #b2bfd2 !important;
    font-size: 14px !important;
}

.bulk-release-page .bulk-release-feature-pills {
    margin-top: auto !important;
}

.bulk-release-page .bulk-release-workspace-grid > .bulk-release-card:last-child .bulk-release-grid {
    display: block !important;
    padding: 28px 0 0 !important;
}

.bulk-release-page .bulk-release-field label {
    color: #c0ccdd !important;
}

.bulk-release-page .bulk-release-field .form-control,
.bulk-release-page .bulk-release-field .form-select {
    min-height: 58px !important;
    border-color: #354964 !important;
    color: #f1f5fb !important;
    background-color: #18263b !important;
}

.bulk-release-page .bulk-release-card-submit {
    display: flex !important;
    margin-top: auto !important;
    padding-top: 28px !important;
    justify-content: flex-end !important;
}

.bulk-release-footer {
    padding: 10px 14px 0;
    color: var(--bulk-muted);
    font-size: 14px;
}

.yt-requests-page .yt-request-checkbox {
    width: 18px;
    height: 18px;
    margin: 0;
    border: 1px solid #8fa0b7;
    border-radius: 4px;
    accent-color: #2563eb;
    cursor: pointer;
}

.yt-requests-page .yt-request-checkbox:disabled {
    opacity: .35;
    cursor: not-allowed;
}

.yt-requests-page .claims-toolbar-actions,
.yt-requests-page .wl-toolbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.yt-requests-page .yt-bulk-action:disabled {
    opacity: .5;
    pointer-events: none;
}

.yt-processed-label {
    color: #64748b;
    font-size: 13px;
    font-weight: 650;
}

html[data-theme="dark"] .yt-requests-page .user-copy .name,
html[data-theme="dark"] .yt-requests-page .workspace-requestor-copy .name,
html[data-theme="dark"] .yt-requests-page .workspace-data-table td > .name,
html[data-theme="dark"] .yt-requests-page .workspace-link,
html[data-theme="dark"] .yt-requests-page .workspace-channel-link {
    color: #edf4ff !important;
}

html[data-theme="dark"] .yt-requests-page .user-copy .meta,
html[data-theme="dark"] .yt-requests-page .workspace-note,
html[data-theme="dark"] .yt-requests-page .date-stack,
html[data-theme="dark"] .yt-processed-label {
    color: #9fb0c8 !important;
}

@media (max-width: 991.98px) {
    .album-create-page .workspace-form-row,
    .bulk-release-page .bulk-release-workspace-grid,
    .bulk-release-page .bulk-release-card--primary:first-child .bulk-release-grid {
        grid-template-columns: 1fr !important;
    }

    .album-create-page .label-release-form-actions {
        margin-left: 0 !important;
    }
}

/* YouTube moderation interaction states and dark-mode legibility. */
.yt-requests-page [data-youtube-bulk-action="Released"]:not(:disabled),
.yt-requests-page [data-youtube-bulk-action="Whitelisted"]:not(:disabled) {
    border-color: #0b8f64 !important;
    color: #fff !important;
    background: linear-gradient(135deg, #10a875, #087552) !important;
    box-shadow: 0 8px 20px rgba(16, 168, 117, .24) !important;
}

.yt-requests-page [data-youtube-bulk-action="Rejected"]:not(:disabled) {
    border-color: #d73b4f !important;
    color: #fff !important;
    background: linear-gradient(135deg, #ef5264, #bd263b) !important;
    box-shadow: 0 8px 20px rgba(215, 59, 79, .24) !important;
}

.yt-requests-page [data-youtube-export] {
    border: 1px solid #71819a !important;
    color: #eef4ff !important;
    background: #101827 !important;
    box-shadow: 0 5px 14px rgba(4, 10, 22, .2) !important;
}

.yt-requests-page [data-youtube-export]:hover {
    border-color: #9dbcf0 !important;
    color: #fff !important;
    background: #17243a !important;
}

.yt-requests-page .yt-inline-actions .rdc-button--success,
.yt-requests-page .yt-inline-actions .btn-success {
    background: #00ca98 !important;
    border-color: #00ca98 !important;
    color: #ffffff !important;
}

.yt-requests-page .yt-inline-actions .rdc-button--danger,
.yt-requests-page .yt-inline-actions .btn-danger {
    background: #e11d48 !important;
    border-color: #e11d48 !important;
    color: #ffffff !important;
}

.yt-requests-page .yt-inline-actions .rdc-button *,
.yt-requests-page .yt-inline-actions .btn * {
    color: #ffffff !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.yt-requests-page .yt-inline-edit-button {
    border-color: #426283 !important;
    color: #d9e7f8 !important;
    background: #132238 !important;
}

.yt-requests-page .yt-inline-edit-button:hover,
.yt-requests-page .yt-inline-edit-button[aria-expanded="true"] {
    border-color: #3478f6 !important;
    color: #fff !important;
    background: #2563eb !important;
    box-shadow: 0 7px 18px rgba(37, 99, 235, .25) !important;
}

html[data-theme="dark"] .yt-requests-page .yt-inline-review-row > td {
    border-color: #2b3b54 !important;
    background: #101b2d !important;
}

html[data-theme="dark"] .yt-requests-page .yt-inline-review-form {
    border-color: #31435d !important;
    background: linear-gradient(105deg, #101b2d, #132138) !important;
}

html[data-theme="dark"] .yt-requests-page .yt-inline-context > span,
html[data-theme="dark"] .yt-requests-page .yt-inline-note > span {
    color: #dce8f8 !important;
}

html[data-theme="dark"] .yt-requests-page .yt-inline-context p {
    border-color: #40536e !important;
    color: #eef4ff !important;
    background: #18263a !important;
}

html[data-theme="dark"] .yt-requests-page .yt-inline-note textarea {
    border-color: #40536e !important;
    color: #eef4ff !important;
    background: #18263a !important;
}

html[data-theme="dark"] .yt-requests-page .yt-inline-note textarea::placeholder {
    color: #91a2ba !important;
    opacity: 1;
}

.yt-requests-page .yt-select-column,
.yt-requests-page .yt-select-column * {
    pointer-events: auto !important;
}

.yt-requests-page .yt-request-checkbox {
    position: relative;
    z-index: 3;
}

/* 2026 workspace refinements: readable imports, forms and review workspaces. */
.isrc-upc-upload-page .container-fluid {
    max-width: 1500px !important;
}

.isrc-upc-upload-page .catalog-import-layout {
    grid-template-columns: minmax(0, 1.65fr) minmax(330px, .7fr);
    gap: 24px;
}

.isrc-upc-upload-page .catalog-import-hero {
    padding: 28px 30px;
}

.isrc-upc-upload-page .catalog-import-hero h1 {
    font-size: 30px;
}

.isrc-upc-upload-page .catalog-import-hero p,
.isrc-upc-upload-page .catalog-import-card__header p {
    font-size: 14px;
}

.isrc-upc-upload-page .catalog-import-card {
    padding: 28px;
}

.isrc-upc-upload-page .catalog-import-card__header h2 {
    font-size: 21px;
}

.isrc-upc-upload-page .catalog-import-fieldset legend,
.isrc-upc-upload-page .catalog-import-method__heading label {
    font-size: 15px;
}

.isrc-upc-upload-page .catalog-type-switch > label > span {
    min-height: 88px;
    padding: 18px;
}

.isrc-upc-upload-page .catalog-type-switch__copy strong {
    font-size: 16px;
}

.isrc-upc-upload-page .catalog-import-file {
    min-height: 54px;
    font-size: 14px;
}

.isrc-upc-upload-page .catalog-import-textarea {
    min-height: 250px;
    padding: 16px;
    font-size: 14px;
    line-height: 1.6;
}

.genre-create-modal .modal-dialog {
    width: min(94vw, 720px);
    max-width: 720px;
}

.genre-create-modal .genre-create-modal__hero {
    padding: 26px 28px;
}

.genre-create-modal .modal-title {
    font-size: 25px;
}

.genre-create-modal .genre-create-modal__hero p {
    font-size: 14px;
}

.genre-create-modal .modal-body {
    padding: 30px;
}

.genre-create-modal .genre-create-modal__field > span:first-child {
    font-size: 14px;
}

.genre-create-modal .genre-create-modal__input .form-control,
.genre-create-modal .genre-create-modal__input .form-select {
    min-height: 54px;
    font-size: 14px;
}

.genre-create-modal .genre-create-modal__field small {
    font-size: 12px;
}

.genre-create-modal .modal-footer {
    padding: 20px 30px 28px;
}

.genre-create-modal .modal-footer .btn {
    min-height: 46px;
    padding-inline: 22px;
    font-size: 14px;
}

.song-create-page .label-release-editor-card,
.album-create-page .label-release-editor-card {
    width: min(100%, 1180px);
    max-width: 1180px;
}

.song-create-page .label-release-form,
.album-create-page .label-release-form {
    width: min(100%, 980px);
    max-width: 980px;
    padding: 30px 36px 38px;
}

.song-create-page .label-release-form .form-group.row,
.album-create-page .label-release-form .form-group.row {
    grid-template-columns: 210px minmax(0, 1fr);
    align-items: start;
    gap: 26px;
    margin: 0 0 22px !important;
    padding: 0;
    border: 0;
    background: transparent;
}

.song-create-page .label-release-form .col-form-label,
.album-create-page .label-release-form .col-form-label {
    padding: 18px 0 0;
    font-size: 13px;
    line-height: 1.35;
}

.song-create-page .label-release-form .form-control,
.song-create-page .label-release-form .form-select,
.album-create-page .label-release-form .form-control,
.album-create-page .label-release-form .form-select {
    min-height: 58px;
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 14px;
}

.song-create-page .label-release-form textarea.form-control {
    min-height: 150px;
}

.song-create-page .label-release-form-actions,
.album-create-page .label-release-form-actions {
    margin: 28px 0 0 236px;
    padding-top: 0;
}

.bulk-release-page .container-fluid {
    max-width: 1550px !important;
}

.bulk-release-page .bulk-release-workspace-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.bulk-release-page .bulk-release-workspace-grid > .bulk-release-card {
    min-height: 500px;
}

.bulk-release-page .bulk-release-upload {
    min-height: 255px;
}

.bulk-release-page .bulk-release-card {
    padding: 24px;
}

.yt-requests-page .users-hero {
    padding: 24px 28px;
    background:
        radial-gradient(circle at 5% 20%, rgba(255, 55, 55, .1), transparent 25%),
        linear-gradient(135deg, #fff, #f5f8ff);
}

.yt-requests-page .yt-hero-icon-mark {
    background: #ff1515;
    box-shadow: 0 10px 26px rgba(255, 21, 21, .22);
}

.yt-requests-page .hero-title {
    font-size: 31px;
}

.yt-requests-page .users-toolbar {
    gap: 16px;
    padding: 16px;
}

.yt-requests-page .users-toolbar-left {
    gap: 14px;
}

.yt-requests-page .workspace-data-table th,
.yt-requests-page .workspace-data-table td {
    padding-top: 16px;
    padding-bottom: 16px;
}

.yt-select-column {
    width: 34px;
}

.yt-row-marker {
    display: block;
    width: 18px;
    height: 18px;
    border: 1px solid #9ba9bd;
    border-radius: 4px;
}

.yt-inline-edit-button[aria-expanded="true"] {
    color: #fff;
    border-color: #2563eb;
    background: #2563eb;
}

.yt-inline-review-row > td {
    padding: 0 !important;
    background: linear-gradient(105deg, #f8faff, #edf4ff);
}

.yt-inline-review-form {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(300px, 1fr) 210px;
    gap: 24px;
    align-items: stretch;
    padding: 28px;
    border-top: 1px solid #d7e2f4;
}

.yt-inline-review-form span {
    display: block;
    margin-bottom: 10px;
    color: #334155;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.yt-inline-review-form small {
    font-weight: 500;
    text-transform: none;
}

.yt-inline-context p,
.yt-inline-note textarea {
    min-height: 132px;
    margin: 0;
    padding: 16px;
    border: 1px solid #cad8ec;
    border-radius: 14px;
    background: rgba(255, 255, 255, .75);
    font-size: 14px;
}

.yt-inline-actions {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
}

.yt-inline-actions .rdc-button {
    width: 100%;
}

@media (max-width: 991.98px) {
    .isrc-upc-upload-page .catalog-import-layout,
    .bulk-release-page .bulk-release-workspace-grid,
    .yt-inline-review-form {
        grid-template-columns: 1fr;
    }

    .song-create-page .label-release-form .form-group.row,
    .album-create-page .label-release-form .form-group.row {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .song-create-page .label-release-form .col-form-label,
    .album-create-page .label-release-form .col-form-label {
        padding-top: 0;
    }

    .song-create-page .label-release-form-actions,
    .album-create-page .label-release-form-actions {
        margin-left: 0;
    }
}

/* Dedicated release-form grid. Bootstrap row gutters must not control this UI. */
.label-release-editor-page .workspace-form-row {
    display: grid;
    grid-template-columns: 260px minmax(0, 690px);
    gap: 30px;
    align-items: start;
    width: 100%;
    margin: 0 0 58px;
}

.label-release-editor-page .workspace-form-label {
    display: block;
    margin: 0;
    padding: 12px 0 0;
    color: var(--ct-body-color, #1e293b);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    text-align: right;
}

.label-release-editor-page .workspace-form-control-wrap {
    min-width: 0;
}

.label-release-editor-page .workspace-form-control-wrap > .form-control,
.label-release-editor-page .workspace-form-control-wrap > .form-select,
.label-release-editor-page .metadata-chip-control {
    width: 100%;
    min-height: 60px;
    border-radius: 12px;
}

.label-release-editor-page .workspace-form-control-wrap > textarea.form-control {
    min-height: 150px;
}

.label-release-editor-page .label-release-form {
    box-sizing: border-box;
}

.song-create-page .label-release-form {
    width: 980px;
    max-width: calc(100% - 48px);
}

.album-create-page .label-release-form {
    width: 980px;
    max-width: calc(100% - 48px);
    padding-top: 32px;
}

.album-create-page .workspace-form-row {
    margin-bottom: 68px;
}

.album-create-page .label-release-form-actions {
    margin-top: 12px;
}

.bulk-release-feature-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.bulk-release-feature-pills span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 37px;
    padding: 0 14px;
    border: 1px solid var(--bulk-border);
    border-radius: 999px;
    color: var(--bulk-muted);
    background: rgba(255, 255, 255, .04);
    font-size: 13px;
    font-weight: 700;
}

.bulk-release-page .bulk-release-workspace-grid > .bulk-release-card {
    display: flex;
    flex-direction: column;
}

.bulk-release-page .bulk-release-workspace-grid > .bulk-release-card:last-child .bulk-release-card-submit {
    margin-top: auto;
}

html[data-theme="dark"] .label-release-editor-page .workspace-form-label {
    color: #dce6f5;
}

@media (max-width: 991.98px) {
    .label-release-editor-page .workspace-form-row {
        grid-template-columns: 1fr;
        gap: 9px;
        margin-bottom: 30px;
    }

    .label-release-editor-page .workspace-form-label {
        padding-top: 0;
        text-align: left;
    }
}

/* Exact release workspace proportions from the approved dark UI reference. */
.label-release-editor-page .page-title-box {
    width: min(100%, 1500px);
    margin: 0 auto 42px;
}

.label-release-editor-page .songs-ui-page-title {
    font-size: 22px;
    font-weight: 750;
}

.song-create-page .label-release-editor-card,
.album-create-page .label-release-editor-card {
    width: min(100%, 1500px);
    max-width: 1500px;
    overflow: visible;
    border-radius: 22px;
}

.song-create-page .label-release-form-head,
.album-create-page .label-release-form-head {
    margin: 24px;
    padding: 22px;
    border: 1px solid var(--border-color, #d7e2f3);
    border-radius: 18px;
    background: linear-gradient(100deg, rgba(52, 120, 246, .07), rgba(52, 120, 246, .015));
}

.song-create-page .label-release-form-head__icon,
.album-create-page .label-release-form-head__icon {
    display: none;
}

.song-create-page .label-release-form-title,
.album-create-page .label-release-form-title {
    font-size: 22px;
}

.song-create-page .label-release-form-subtitle,
.album-create-page .label-release-form-subtitle {
    margin-top: 6px;
    font-size: 16px;
}

.song-create-page .label-release-form,
.album-create-page .label-release-form {
    width: min(100%, 900px);
    max-width: 900px;
    margin: 0 auto;
    padding: 10px 0 70px;
}

.song-create-page .label-release-form .form-group.row,
.album-create-page .label-release-form .form-group.row {
    grid-template-columns: 260px minmax(0, 690px);
    gap: 30px;
    margin-bottom: 54px !important;
}

.song-create-page .label-release-form .workspace-form-control-wrap,
.album-create-page .label-release-form .workspace-form-control-wrap {
    width: 100%;
    max-width: none;
    padding: 0;
}

.song-create-page .label-release-form .col-form-label,
.album-create-page .label-release-form .col-form-label {
    padding-top: 18px;
    font-size: 17px;
    font-weight: 750;
}

.song-create-page .label-release-form .form-control,
.song-create-page .label-release-form .form-select,
.album-create-page .label-release-form .form-control,
.album-create-page .label-release-form .form-select {
    min-height: 60px;
    font-size: 17px;
}

.song-create-page .label-release-form .form-text,
.album-create-page .label-release-form .form-text {
    display: block;
    margin-top: 10px;
    font-size: 13px;
}

.song-create-page .label-release-form textarea.form-control {
    min-height: 150px;
}

.song-create-page .label-release-form-actions,
.album-create-page .label-release-form-actions {
    margin: 0 0 0 290px;
}

.album-create-page .label-release-editor-card {
    min-height: 720px;
}

.album-create-page .label-release-form {
    padding-top: 26px;
}

.album-create-page .label-release-form-actions .rdc-button--primary {
    min-width: 100px;
    min-height: 54px;
}

.bulk-release-page .page-title-box {
    margin-bottom: 38px;
}

.bulk-release-page .bulk-release-card--primary:first-child {
    padding: 28px;
}

.bulk-release-page .bulk-release-card--primary:first-child .bulk-release-card__header {
    padding: 0 0 28px;
    background: transparent;
}

.bulk-release-page .bulk-release-card--primary:first-child .bulk-release-card__header h2 {
    font-size: clamp(25px, 2.1vw, 38px);
}

.bulk-release-page .bulk-release-card--primary:first-child .bulk-release-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 0;
}

.bulk-release-page .bulk-release-card--primary:first-child .bulk-release-field {
    grid-column: auto;
    min-height: 96px;
    padding: 22px;
    border: 1px solid var(--bulk-border);
    border-radius: 16px;
}

.bulk-release-page .bulk-release-card--primary:first-child .bulk-release-field strong {
    font-size: 14px;
}

.bulk-release-page .bulk-release-card--primary:first-child .bulk-release-field p {
    margin-top: 12px;
    font-size: 18px;
    font-weight: 700;
}

.bulk-release-page .bulk-release-workspace-grid {
    align-items: stretch;
}

.bulk-release-page .bulk-release-workspace-grid > .bulk-release-card {
    min-height: 500px;
    padding: 24px;
}

.bulk-release-page .bulk-release-workspace-grid .bulk-release-card__header {
    padding: 0;
    background: transparent;
}

.bulk-release-page .bulk-release-workspace-grid .bulk-release-card__number {
    order: 3;
    margin-left: auto;
    color: inherit;
    background: rgba(15, 23, 42, .08);
}

.bulk-release-page .bulk-release-upload {
    justify-content: center;
    min-height: 265px;
    margin: 22px 0 16px;
    text-align: center;
}

.bulk-release-page .bulk-release-upload__icon {
    display: none;
}

.bulk-release-page .bulk-release-upload__copy strong {
    font-size: 18px;
}

.bulk-release-page .bulk-release-upload__copy small {
    margin-top: 12px;
    font-size: 14px;
}

.bulk-release-page .bulk-release-workspace-grid > .bulk-release-card:last-child .bulk-release-grid {
    display: block;
    padding: 28px 0 0;
}

.bulk-release-page .bulk-release-workspace-grid > .bulk-release-card:last-child .bulk-release-field {
    margin-bottom: 24px;
}

.bulk-release-page .bulk-release-field label {
    margin-bottom: 12px;
    font-size: 14px;
    text-transform: uppercase;
}

.bulk-release-page .bulk-release-field .form-control,
.bulk-release-page .bulk-release-field .form-select {
    min-height: 58px;
    font-size: 16px;
}

.bulk-release-card-submit {
    display: flex;
    justify-content: flex-end;
    margin-top: 28px;
}

.bulk-release-card-submit .rdc-button {
    min-width: 185px;
    min-height: 58px;
}

.bank-details-page .container-fluid {
    max-width: 1620px !important;
}

.bank-details-page .users-shared-shell {
    padding-top: 16px;
}

.bank-details-page .bank-details-hero {
    padding: 26px 28px;
    border-radius: 22px;
}

.bank-details-page .bank-hero-icon {
    width: 50px;
    height: 50px;
    border-radius: 15px;
    font-size: 23px;
}

.bank-details-page .hero-title {
    font-size: 31px;
}

.bank-details-page .hero-subtitle {
    max-width: 570px;
    font-size: 14px;
    line-height: 1.55;
}

.bank-details-page .bank-hero-stats {
    grid-template-columns: repeat(4, minmax(130px, 1fr));
}

.bank-details-page .users-table-card {
    margin-top: 14px;
    border-radius: 22px;
}

.bank-details-page .bank-details-toolbar {
    padding: 16px 0;
}

.bank-details-page .bank-details-table th,
.bank-details-page .bank-details-table td {
    padding: 10px 14px;
}
.bank-details-page .bank-details-table td strong {
    display: block;
    line-height: 1.25;
    margin-bottom: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.bank-details-page .bank-details-table td small {
    display: block;
    line-height: 1.2;
    margin-top: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.yt-inline-edit-button {
    display: inline-grid;
    width: 42px;
    height: 42px;
    padding: 0;
    place-items: center;
    border: 1px solid #cbd8eb;
    border-radius: 12px;
    color: #526987;
    background: #fff;
    box-shadow: 0 5px 14px rgba(36, 64, 105, .08);
    transition: transform .16s ease, color .16s ease, border-color .16s ease, background .16s ease;
}

.yt-inline-edit-button:hover,
.yt-inline-edit-button:focus-visible,
.yt-inline-edit-button[aria-expanded="true"] {
    color: #fff;
    border-color: #2f6df6;
    background: linear-gradient(135deg, #3478f6, #2359de);
    box-shadow: 0 8px 18px rgba(47, 109, 246, .25);
    transform: translateY(-1px);
}

html[data-theme="dark"] .yt-inline-edit-button {
    border-color: #334966;
    color: #b9c9dd;
    background: #111d2e;
}

html[data-theme="dark"] .song-create-page .label-release-form-head,
html[data-theme="dark"] .album-create-page .label-release-form-head {
    border-color: #29405f;
    background: linear-gradient(100deg, #17253b, #111c2d);
}

@media (max-width: 991.98px) {
    .song-create-page .label-release-form,
    .album-create-page .label-release-form {
        padding-inline: 22px;
    }

    .song-create-page .label-release-form .form-group.row,
    .album-create-page .label-release-form .form-group.row {
        grid-template-columns: 1fr;
        margin-bottom: 28px !important;
    }

    .song-create-page .label-release-form-actions,
    .album-create-page .label-release-form-actions {
        margin-left: 0;
    }

    .bulk-release-page .bulk-release-card--primary:first-child .bulk-release-grid {
        grid-template-columns: 1fr;
    }
}

/* Three-stage bulk workspace matching the legacy upload flow. */
.bulk-release-workspace-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
.bulk-release-workspace-grid .bulk-release-card {
    min-width: 0;
}
.bulk-release-workspace-grid .bulk-release-card__header {
    min-height: 92px;
}
.bulk-release-workspace-grid .bulk-release-grid {
    grid-template-columns: 1fr;
}
.bulk-release-workspace-grid .bulk-release-field,
.bulk-release-workspace-grid .bulk-release-field--wide {
    grid-column: 1 / -1;
}
.bulk-release-workspace-grid .bulk-release-upload {
    min-height: 230px;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}
.bulk-release-workspace-grid .bulk-release-upload__button {
    margin: 8px 0 0;
}
@media (max-width: 1100px) {
    .bulk-release-workspace-grid { grid-template-columns: 1fr 1fr; }
    .bulk-release-workspace-grid > :last-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
    .bulk-release-workspace-grid { grid-template-columns: 1fr; }
    .bulk-release-workspace-grid > :last-child { grid-column: auto; }
}

/* Screenshot-aligned classic release editors. */
.song-create-page .label-release-editor-card,
.album-create-page .label-release-editor-card {
    width: 100%;
    max-width: none;
    border-radius: 18px;
}
.song-create-page .label-release-form,
.album-create-page .label-release-form {
    display: block !important;
    width: min(100%, 980px);
    max-width: 980px;
    margin-inline: auto;
    padding: 28px 24px 34px !important;
}
.song-create-page .label-release-form .form-group.row,
.album-create-page .label-release-form .form-group.row {
    display: grid !important;
    grid-template-columns: minmax(150px, 220px) minmax(0, 690px) !important;
    align-items: start;
    justify-content: center;
    gap: 18px;
    margin: 0 0 22px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
}
.song-create-page .label-release-form .col-form-label,
.album-create-page .label-release-form .col-form-label {
    width: auto;
    max-width: none;
    padding: 12px 0 0 !important;
    margin: 0 !important;
    color: var(--analytics-text-strong);
    font-size: 13px !important;
    font-weight: 700;
    line-height: 1.35;
    text-align: right !important;
}
.song-create-page .workspace-form-control-wrap,
.album-create-page .workspace-form-control-wrap {
    width: auto;
    max-width: none;
    padding: 0;
}
.song-create-page .label-release-form .form-control,
.song-create-page .label-release-form .metadata-chip-control,
.album-create-page .label-release-form .form-control {
    min-height: 58px !important;
    border-radius: 12px !important;
    font-size: 14px !important;
}
.song-create-page .label-release-form textarea.form-control {
    min-height: 120px !important;
}
.song-create-page .label-release-form-head,
.album-create-page .label-release-form-head {
    padding: 20px 24px;
    border: 1px solid rgba(52, 120, 246, .22);
    border-radius: 16px;
    background: linear-gradient(100deg, rgba(52, 120, 246, .06), rgba(52, 120, 246, .015));
}
.song-create-page .label-release-form-actions,
.album-create-page .label-release-form-actions {
    width: min(100%, 690px);
    margin: 12px auto 0 238px;
    padding-top: 18px;
}
.album-create-page .label-release-form {
    width: min(100%, 960px);
    max-width: 960px;
}

/* Refined bank-details workspace. */
.bank-details-page .users-shared-shell { gap: 14px; }
.bank-details-page .users-hero-grid {
    grid-template-columns: minmax(360px, 1fr) minmax(520px, 1.08fr);
    align-items: stretch;
}
.bank-details-page .bank-hero-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.bank-details-page .users-table-card {
    overflow: visible !important;
    border-radius: 18px;
}
.bank-details-page .users-table-card::before {
    display: none !important;
    content: none !important;
}
.bank-details-page .bank-details-toolbar {
    padding: 14px 0;
    border-bottom: 1px solid var(--analytics-border);
}
.bank-details-page .bank-analytics-filter-toolbar {
    flex: 0 0 auto;
}
.bank-details-page .bank-details-toolbar .users-toolbar-left {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
.bank-details-page .users-toolbar-search-form {
    flex: 1 1 330px;
    max-width: 430px;
}
.bank-details-page .bank-actions-row {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}
/* Mobile: compact toolbar, no empty gap */
@media (max-width: 767.98px) {
    .bank-details-page .bank-details-toolbar .users-toolbar-left {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 8px !important;
    }
    .bank-details-page .users-toolbar-search-form {
        flex: 1 1 auto !important;
        max-width: none !important;
        min-width: 0 !important;
        width: 100% !important;
    }
    .bank-details-page .bank-actions-row {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 6px;
    }
    .bank-details-page .bank-actions-row .rdc-button {
        flex: 1 1 auto !important;
        justify-content: center !important;
        min-width: 0 !important;
    }
}
.bank-details-page .bank-select-column {
    width: 42px;
    text-align: center;
}
.bank-details-page .bank-select-column input {
    width: 16px;
    height: 16px;
    accent-color: #3478f6;
}
.bank-details-page .bank-details-table {
    table-layout: fixed;
}
.bank-details-page .bank-details-table th:nth-child(2) { width: 18%; }
.bank-details-page .bank-details-table th:nth-child(3) { width: 19%; }
.bank-details-page .bank-details-table th:nth-child(4) { width: 26%; }
.bank-details-page .bank-details-table th:nth-child(5) { width: 11%; }
.bank-details-page .bank-details-table th:nth-child(6) { width: 11%; }
.bank-details-page .bank-details-table td {
    overflow: hidden;
    vertical-align: middle;
}
.bank-details-page .bank-details-table td strong,
.bank-details-page .bank-details-table td small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Bulk upload screenshot structure. */
.bulk-release-page .bulk-release-form { gap: 22px; }
.bulk-release-page .bulk-release-form > .bulk-release-card:first-of-type {
    padding: 8px;
    background: linear-gradient(120deg, rgba(52, 120, 246, .055), rgba(20, 184, 166, .045));
}
.bulk-release-page .bulk-release-form > .bulk-release-card:first-of-type .bulk-release-card__header {
    border-bottom: 0;
}
.bulk-release-page .bulk-release-form > .bulk-release-card:first-of-type .bulk-release-card__header h2 {
    font-size: clamp(20px, 2vw, 30px);
}
.bulk-release-page .bulk-release-workspace-grid .bulk-release-card {
    border-radius: 18px;
}
.bulk-release-page .bulk-release-workspace-grid .bulk-release-card__header {
    border-bottom: 0;
    background: transparent;
}
.bulk-release-page .bulk-release-workspace-grid .bulk-release-upload {
    min-height: 238px;
    border-width: 2px;
}
.bulk-release-page .bulk-release-fallback-grid {
    padding-top: 0;
}

@media (max-width: 1100px) {
    .bank-details-page .users-hero-grid { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
    .song-create-page .label-release-form .form-group.row,
    .album-create-page .label-release-form .form-group.row {
        grid-template-columns: 1fr !important;
        gap: 7px;
        margin-bottom: 18px !important;
    }
    .song-create-page .label-release-form .col-form-label,
    .album-create-page .label-release-form .col-form-label {
        padding-top: 0 !important;
        text-align: left !important;
    }
    .song-create-page .label-release-form-actions,
    .album-create-page .label-release-form-actions {
        width: 100%;
        margin-left: 0;
    }
    .bank-details-page .bank-hero-stats { grid-template-columns: 1fr 1fr; }
}

.bulk-release-page .bulk-release-file-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.bulk-release-page .bulk-release-file-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(248, 250, 252, 0.96);
    border: 1px solid rgba(148, 163, 184, 0.18);
    color: #475569;
    font-size: 12px;
    font-weight: 600;
}

.bulk-release-page .bulk-release-progress {
    margin-top: 12px;
    height: 10px;
    border-radius: 999px;
    background: rgba(226, 232, 240, 0.7);
    overflow: hidden;
}

.bulk-release-page .bulk-release-progress .progress-bar {
    font-size: 11px;
    font-weight: 700;
    background: linear-gradient(90deg, #0284c7, #0f766e);
}

.bulk-release-page .bulk-release-status {
    margin-top: 8px;
    font-size: 12px;
    color: #64748b;
    min-height: 18px;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.bulk-release-page .bulk-release-status.invalid-feedback {
    display: block;
}

.bulk-release-page .bulk-release-metadata-field label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 8px;
}

.bulk-release-page .bulk-release-metadata-field .form-control {
    min-height: 46px;
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.28);
    padding: 12px 14px;
    font-size: 14px;
}

.bulk-release-page .bulk-release-file-input-row {
    display: flex;
    align-items: stretch;
    gap: 10px;
}

.bulk-release-page .bulk-release-file-input-row .form-control {
    flex: 1 1 auto;
    min-width: 0;
}

.bulk-release-page .bulk-release-file-clear {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    padding: 0 16px;
    border-radius: 14px;
    border: 1px solid rgba(239, 68, 68, 0.24);
    background: rgba(254, 242, 242, 0.96);
    color: #b91c1c;
    font-size: 13px;
    font-weight: 700;
    transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.bulk-release-page .bulk-release-file-clear:hover,
.bulk-release-page .bulk-release-file-clear:focus {
    background: rgba(254, 226, 226, 0.98);
    border-color: rgba(220, 38, 38, 0.28);
    color: #991b1b;
    text-decoration: none;
    transform: translateY(-1px);
}

.bulk-release-page .bulk-release-file-clear[hidden] {
    display: none !important;
}

.bulk-release-page .bulk-release-help {
    margin-top: 10px;
    color: #64748b;
    font-size: 12px;
    line-height: 1.55;
}

.bulk-release-page .bulk-release-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 145px;
    min-height: 46px;
    border-radius: 999px;
    background: linear-gradient(135deg, #0f766e, #0f9f8d);
    border: none;
    box-shadow: 0 14px 28px rgba(15, 118, 110, 0.2);
    font-size: 14px;
    font-weight: 700;
}

.bulk-release-page .bulk-release-workspace-card .card-body {
    padding: 18px;
}

.bulk-release-page .bulk-release-submit:hover,
.bulk-release-page .bulk-release-submit:focus {
    background: linear-gradient(135deg, #0d6b64, #0d9488);
}

.bulk-release-page .bulk-release-submit:disabled {
    opacity: 0.55;
    box-shadow: none;
    cursor: not-allowed;
}

.bulk-release-page .bulk-release-guide-card .card-body {
    padding: 24px;
}

.bulk-release-page .bulk-release-guide-title {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
}

.bulk-release-page .bulk-release-guide-copy {
    margin: 0 0 18px;
    color: #64748b;
    font-size: 14px;
    line-height: 1.7;
}

.bulk-release-page .bulk-release-guide-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
}

.bulk-release-page .bulk-release-guide-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    color: #334155;
    font-size: 14px;
    line-height: 1.65;
}

.bulk-release-page .bulk-release-guide-list i {
    color: #0f766e;
    font-size: 18px;
    margin-top: 2px;
}

.bulk-release-page .bulk-release-guide-note {
    margin-top: 18px;
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(239, 246, 255, 0.95);
    border: 1px solid rgba(96, 165, 250, 0.18);
    color: #1e3a8a;
    font-size: 13px;
    line-height: 1.7;
}

@media (max-width: 991.98px) {
    .bulk-release-page .bulk-release-hero {
        flex-direction: column;
        padding: 24px;
    }

    .bulk-release-page .bulk-release-hero-actions {
        justify-content: flex-start;
    }

    .bulk-release-page .bulk-release-stats {
        grid-template-columns: 1fr;
        padding: 0 24px 24px;
    }

    .bulk-release-page .bulk-release-section-grid {
        grid-template-columns: 1fr;
    }
}

.analytics-hero-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.9rem;
}

.analytics-overline {
    color: var(--analytics-text-muted);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.analytics-firebase-title {
    color: var(--analytics-text-strong);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.analytics-firebase-subtitle {
    color: var(--analytics-text-muted);
    font-size: 0.92rem;
    max-width: 58ch;
}

.analytics-hero-side {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.analytics-env-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.6rem;
    border-radius: 999px;
    background: var(--analytics-info-bg);
    color: var(--analytics-info-text);
    font-size: 0.76rem;
    font-weight: 700;
    border: 1px solid var(--analytics-info-border);
}

.analytics-range-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    background: var(--analytics-surface-alt);
    color: var(--analytics-text-muted);
    font-size: 0.78rem;
    font-weight: 600;
    border: 1px solid var(--analytics-border);
}

.analytics-theme-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 0.65rem;
    border: 1px solid var(--analytics-border);
    border-radius: 999px;
    background: var(--analytics-surface-solid);
    color: var(--analytics-text);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    transition: all 0.15s ease;
}

.analytics-theme-toggle:hover,
.analytics-theme-toggle:focus {
    border-color: var(--analytics-accent);
    color: var(--analytics-accent);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
    outline: 0;
}

.analytics-theme-toggle-icon {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--analytics-accent-soft);
    color: var(--analytics-accent);
    font-size: 0.9rem;
}

.analytics-theme-toggle-label {
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.analytics-hero-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.85rem;
}

.analytics-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.36rem 0.68rem;
    border-radius: 999px;
    background: var(--analytics-chip-bg);
    color: var(--analytics-chip-text);
    border: 1px solid var(--analytics-chip-border);
    font-size: 0.8rem;
    font-weight: 600;
}

.analytics-filter-card .card-body {
    padding: 1rem 1rem 0.95rem;
    background:
        linear-gradient(180deg, color-mix(in srgb, var(--analytics-surface-solid) 94%, transparent) 0%, color-mix(in srgb, var(--analytics-surface-alt) 88%, transparent) 100%);
    border-radius: 16px;
    overflow: visible;
    position: relative;
    z-index: 30;
}

.analytics-chart-inline-filter {
    padding: 0.05rem 0 0.95rem;
    margin-bottom: 0.8rem;
    border-bottom: 1px solid color-mix(in srgb, var(--analytics-border) 78%, transparent);
    position: relative;
    z-index: 35;
}

.analytics-filter-card {
    overflow: visible;
    position: relative;
    z-index: 30;
}

.analytics-filter-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
    flex-wrap: wrap;
}

.analytics-filter-toolbar-left,
.analytics-filter-toolbar-right {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-wrap: wrap;
    min-width: 0;
}

.analytics-filter-toolbar-right {
    margin-left: auto;
}

.analytics-filter-date-icon-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid var(--analytics-border);
    background: color-mix(in srgb, var(--analytics-surface-solid) 96%, transparent);
    box-shadow: 0 1px 0 rgba(148, 163, 184, 0.05);
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
    flex: 0 0 auto;
}

.analytics-filter-date-icon-wrap:hover {
    border-color: color-mix(in srgb, var(--analytics-accent) 26%, var(--analytics-border));
    background: color-mix(in srgb, var(--analytics-surface-solid) 98%, transparent);
}

.analytics-filter-date-icon-wrap:focus-within {
    border-color: var(--analytics-accent);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
    background: var(--analytics-surface-solid);
}

.analytics-filter-date-icon-btn {
    width: 100%;
    height: 100%;
    border: 0;
    background: transparent;
    color: var(--analytics-accent);
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    position: relative;
    z-index: 2;
}

.analytics-filter-date-icon-btn:hover {
    color: color-mix(in srgb, var(--analytics-accent) 84%, #1d4ed8);
}

.analytics-filter-date-icon-btn:focus-visible {
    outline: none;
}

.analytics-range-picker-input-icon-anchor {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    opacity: 0 !important;
    pointer-events: none !important;
    min-height: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
}

.analytics-filter-dropdown {
    position: relative;
    z-index: 50;
}

.analytics-filter-toolbar-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 0.78rem;
    border-radius: 12px;
    border: 1px solid var(--analytics-border);
    background: color-mix(in srgb, var(--analytics-surface-alt) 88%, transparent);
    color: var(--analytics-text);
    font-weight: 700;
    font-size: 0.9rem;
    line-height: 1;
    white-space: nowrap;
}

.analytics-filter-toolbar-badge-btn {
    appearance: none;
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.analytics-filter-toolbar-badge-btn:hover {
    border-color: color-mix(in srgb, var(--analytics-accent) 22%, var(--analytics-border));
    background: color-mix(in srgb, var(--analytics-accent-soft) 44%, var(--analytics-surface-alt));
}

.analytics-filter-toolbar-badge-btn:focus-visible {
    outline: none;
    border-color: var(--analytics-accent);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14);
}

.analytics-filter-toolbar-badge i {
    color: var(--analytics-text-muted);
    font-size: 1rem;
}

.analytics-filter-toggle-caret {
    margin-left: 0.05rem;
    font-size: 1rem;
    transition: transform 0.18s ease;
}

.analytics-filter-dropdown.is-open .analytics-filter-toggle-caret {
    transform: rotate(180deg);
}

.analytics-filter-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    width: min(680px, calc(100vw - 28px));
    min-width: 600px;
    border-radius: 14px;
    border: 1px solid var(--analytics-border);
    background: #ffffff;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
    padding: 0;
    z-index: 9999;
    overflow: hidden;
}

.analytics-filter-menu[hidden] {
    display: none !important;
}

.analytics-filter-sheet {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    min-height: 360px;
    background: var(--analytics-surface-solid);
    color: var(--analytics-text);
}

.analytics-filter-sheet-sidebar {
    border-right: 1px solid var(--analytics-border);
    background: var(--analytics-surface-alt);
    padding: 0.65rem 0.55rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.analytics-filter-sheet-tab {
    appearance: none;
    border: 0;
    background: transparent;
    color: var(--analytics-text);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    width: 100%;
    border-radius: 10px;
    padding: 0.6rem 0.65rem;
    font-weight: 600;
    font-size: 0.92rem;
    text-align: left;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.analytics-filter-sheet-tab i {
    color: var(--analytics-text-muted);
    font-size: 1rem;
}

.analytics-filter-sheet-tab:hover {
    background: color-mix(in srgb, var(--analytics-accent-soft) 65%, transparent);
}

.analytics-filter-sheet-tab.is-active {
    background: var(--analytics-surface-solid);
    box-shadow: inset 0 0 0 1px var(--analytics-border);
}

.analytics-filter-sheet-main {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    min-width: 0;
    background: var(--analytics-surface-solid);
}

.analytics-filter-sheet-search {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    border-bottom: 1px solid var(--analytics-border);
    padding: 0.65rem 0.85rem;
}

.analytics-filter-sheet-search > i {
    font-size: 1.05rem;
    color: var(--analytics-text-muted);
}

.analytics-filter-sheet-search .form-control {
    border: 0;
    box-shadow: none !important;
    background: transparent;
    padding: 0;
    min-height: auto;
    color: var(--analytics-text);
    font-size: 0.95rem;
    font-weight: 600;
}

.analytics-filter-sheet-search .form-control::placeholder {
    color: var(--analytics-text-muted);
    font-weight: 500;
}

.analytics-filter-sheet-search-clear {
    appearance: none;
    border: 0;
    background: transparent;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    color: var(--analytics-text-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.analytics-filter-sheet-search-clear:hover {
    background: color-mix(in srgb, var(--analytics-surface-alt) 88%, transparent);
}

.analytics-filter-sheet-panes {
    min-height: 0;
    overflow: hidden;
}

.analytics-filter-sheet-pane {
    height: 100%;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.analytics-filter-sheet-pane[hidden] {
    display: none !important;
}

.analytics-filter-sheet-pane-title {
    padding: 0.6rem 0.85rem 0.5rem;
    border-bottom: 1px solid var(--analytics-border);
    color: var(--analytics-text-muted);
    font-size: 0.9rem;
    font-weight: 700;
}

.analytics-filter-option-list {
    padding: 0.45rem 0.45rem;
    display: flex;
    flex-direction: column;
    gap: 0.18rem;
    overflow: auto;
    min-height: 0;
}

.analytics-filter-option-item {
    appearance: none;
    border: 0;
    background: transparent;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    border-radius: 10px;
    padding: 0.48rem 0.55rem;
    color: var(--analytics-text);
    text-align: left;
    font-weight: 600;
    font-size: 0.92rem;
    transition: background-color 0.15s ease;
}

.analytics-filter-option-item:hover {
    background: color-mix(in srgb, var(--analytics-accent-soft) 52%, transparent);
}

.analytics-filter-option-item.is-hidden {
    display: none !important;
}

.analytics-filter-option-check {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    border: 2px solid #9ca3af;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: transparent;
    flex: 0 0 auto;
    transition: all 0.15s ease;
}

.analytics-filter-option-check i {
    font-size: 0.8rem;
    line-height: 1;
}

.analytics-filter-option-item.is-selected .analytics-filter-option-check {
    background: #1d4ed8;
    border-color: #1d4ed8;
    color: #ffffff;
}

.analytics-filter-option-text {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.analytics-filter-sheet-footer {
    border-top: 1px solid var(--analytics-border);
    padding: 0.7rem 0.85rem;
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    background: var(--analytics-surface-solid);
}

.analytics-filter-sheet-btn {
    min-width: 88px;
    border-radius: 999px;
    font-weight: 700;
    padding: 0.46rem 0.85rem;
    font-size: 0.9rem;
}

.analytics-filter-sheet-btn-secondary {
    border: 1px solid var(--analytics-border);
    background: var(--analytics-surface-solid);
    color: var(--analytics-text-muted);
}

.analytics-filter-sheet-btn-secondary:hover,
.analytics-filter-sheet-btn-secondary:focus {
    border-color: var(--analytics-border-strong);
    background: var(--analytics-surface-alt);
    color: var(--analytics-text);
}

.analytics-filter-sheet-btn-primary {
    border: 1px solid #1d4ed8;
    background: #1d4ed8;
    color: #ffffff;
}

.analytics-filter-sheet-btn-primary:hover,
.analytics-filter-sheet-btn-primary:focus {
    border-color: #1e40af;
    background: #1e40af;
    color: #ffffff;
}

.analytics-filter-native-selects {
    display: none !important;
}

.analytics-filter-menu-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.55rem;
}

.analytics-filter-menu-item {
    min-width: 0;
}

.analytics-filter-menu-item-label {
    display: block;
    margin-bottom: 0.35rem;
    padding-left: 0.1rem;
    color: var(--analytics-text-muted);
    font-size: 0.73rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.analytics-filter-pill-control-menu {
    width: 100%;
    justify-content: space-between;
    min-height: 44px;
}

.analytics-filter-pill-control-menu .analytics-filter-pill-select {
    min-width: 0;
    width: 100%;
}

.analytics-filter-applied-list {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    flex-wrap: nowrap;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.analytics-filter-applied-list::-webkit-scrollbar {
    display: none;
}

.analytics-filter-active-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    min-height: 40px;
    padding: 0.46rem 0.78rem;
    border-radius: 12px;
    border: 1px solid color-mix(in srgb, var(--analytics-accent) 22%, #2563eb);
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #fff;
    max-width: 100%;
    box-shadow: 0 6px 14px rgba(37, 99, 235, 0.2);
    white-space: nowrap;
}

.analytics-filter-active-chip--single {
    max-width: min(360px, 44vw);
}

.analytics-filter-active-chip i {
    font-size: 0.95rem;
    opacity: 0.95;
}

.analytics-filter-active-chip-text {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
}

.analytics-filter-active-chip-clear {
    appearance: none;
    border: 0;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    margin-left: 0.05rem;
    transition: background-color 0.15s ease, transform 0.15s ease;
}

.analytics-filter-active-chip-clear:hover {
    background: rgba(255, 255, 255, 0.24);
    transform: scale(1.03);
}

.analytics-filter-active-chip-clear:focus-visible {
    outline: 0;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.35);
}

.analytics-filter-active-chip-clear i {
    font-size: 0.95rem;
    line-height: 1;
}

.analytics-filter-active-chip-key {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    white-space: nowrap;
}

.analytics-filter-active-chip-value {
    font-size: 0.92rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: min(520px, 46vw);
}

.analytics-filter-pill-control {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 44px;
    border-radius: 12px;
    border: 1px solid var(--analytics-border);
    background: color-mix(in srgb, var(--analytics-surface-solid) 96%, transparent);
    padding: 0.2rem 0.4rem 0.2rem 0.65rem;
    box-shadow: 0 1px 0 rgba(148, 163, 184, 0.05);
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.analytics-filter-pill-control:hover {
    border-color: color-mix(in srgb, var(--analytics-accent) 26%, var(--analytics-border));
    background: color-mix(in srgb, var(--analytics-surface-solid) 98%, transparent);
}

.analytics-filter-pill-control:focus-within {
    border-color: var(--analytics-accent);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
    background: var(--analytics-surface-solid);
}

.analytics-filter-pill-label {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--analytics-text-muted);
    font-weight: 700;
    font-size: 0.76rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1;
    white-space: nowrap;
}

.analytics-filter-pill-label i {
    font-size: 0.9rem;
    color: color-mix(in srgb, var(--analytics-accent) 70%, var(--analytics-text-muted));
}

.analytics-filter-pill-select,
.analytics-filter-pill-input {
    border: 0 !important;
    background-color: transparent !important;
    box-shadow: none !important;
    color: var(--analytics-text) !important;
    font-weight: 600;
    min-height: 36px;
    border-radius: 10px;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

.analytics-filter-pill-select {
    min-width: 170px;
    padding-left: 0.2rem;
    padding-right: 1.9rem;
    background-position: right 0.15rem center;
}

.analytics-filter-pill-input {
    min-width: 260px;
    padding-left: 0.25rem;
    padding-right: 46px;
    cursor: pointer;
    letter-spacing: 0.01em;
}

.analytics-filter-pill-select:focus,
.analytics-filter-pill-input:focus {
    outline: none;
}

.analytics-filter-pill-control-date {
    min-width: 340px;
    justify-content: space-between;
}

.analytics-filter-pill-control-date .analytics-range-picker-field {
    flex: 1 1 auto;
    min-width: 0;
}

.analytics-filter-pill-control-date .analytics-range-picker-trigger {
    right: 4px;
    width: 30px;
    height: 30px;
    border-radius: 8px;
}

.analytics-filter-grid {
    row-gap: 0.6rem;
    column-gap: 0;
    align-items: end;
}

.analytics-filter-grid > [class*="col-"] {
    position: relative;
}

.analytics-filter-grid .form-control,
.analytics-filter-grid .form-select {
    border-radius: 14px;
    border: 1px solid var(--analytics-border);
    min-height: 46px;
    box-shadow: none;
    background: color-mix(in srgb, var(--analytics-surface-solid) 96%, transparent);
    color: var(--analytics-text);
    font-weight: 600;
    padding-inline: 0.9rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, transform 0.15s ease;
}

.analytics-filter-grid .form-control:focus,
.analytics-filter-grid .form-select:focus {
    border-color: var(--analytics-accent);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
    background: var(--analytics-surface-solid);
}

.analytics-filter-grid .form-select {
    background-position: right 0.8rem center;
    padding-right: 2rem;
}

.analytics-filter-grid .form-control:hover,
.analytics-filter-grid .form-select:hover {
    border-color: color-mix(in srgb, var(--analytics-accent) 28%, var(--analytics-border));
}

.analytics-range-picker-input {
    cursor: pointer;
    background-color: var(--analytics-surface-solid);
    padding-right: 48px;
    letter-spacing: 0.01em;
}

.analytics-range-picker-field {
    position: relative;
}

.analytics-range-picker-trigger {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: var(--analytics-text-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.analytics-range-picker-trigger:hover {
    background: var(--analytics-accent-soft);
    color: var(--analytics-accent);
}

.analytics-range-picker-help {
    margin-top: 0.32rem;
    font-size: 0.72rem;
    color: var(--analytics-text-muted);
    padding-left: 0.15rem;
}

@media (min-width: 992px) {
    .analytics-range-picker-help {
        font-size: 0.68rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

.analytics-btn-primary {
    border-radius: 12px;
    background: linear-gradient(135deg, var(--analytics-accent), #3b82f6);
    border-color: transparent;
    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.22);
}

.analytics-btn-primary:hover,
.analytics-btn-primary:focus {
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
    border-color: transparent;
}

.analytics-btn-ghost {
    border-radius: 12px;
    border: 1px solid var(--analytics-border);
    background: var(--analytics-surface-solid);
    color: var(--analytics-text);
}

.analytics-btn-ghost:hover,
.analytics-btn-ghost:focus {
    color: var(--analytics-accent);
    border-color: var(--analytics-accent);
    background: var(--analytics-accent-soft);
}

.analytics-filter-actions {
    justify-content: flex-start;
    align-items: flex-end;
    width: auto;
    min-width: 0;
}

.analytics-btn-reset-filter {
    min-height: 46px;
    min-width: 98px;
    padding: 0.55rem 0.95rem;
    width: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}

.analytics-summary-strip .card-body {
    padding: 0.95rem 1rem;
}

.analytics-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.analytics-summary-main {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

.analytics-summary-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(6, 182, 212, 0.16));
    color: var(--analytics-accent);
    font-size: 20px;
    border: 1px solid var(--analytics-chip-border);
    flex-shrink: 0;
}

.analytics-summary-title {
    font-size: 0.96rem;
    font-weight: 700;
    color: var(--analytics-text-strong);
}

.analytics-summary-text {
    font-size: 0.85rem;
    color: var(--analytics-text-muted);
}

.analytics-summary-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.analytics-summary-pill {
    padding: 0.36rem 0.7rem;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 700;
    border: 1px solid transparent;
}

.analytics-summary-pill-success {
    background: var(--analytics-success-bg);
    color: var(--analytics-success-text);
    border-color: var(--analytics-success-border);
}

.analytics-summary-pill-warning {
    background: var(--analytics-warning-bg);
    color: var(--analytics-warning-text);
    border-color: var(--analytics-warning-border);
}

.analytics-summary-pill-danger {
    background: var(--analytics-danger-bg);
    color: var(--analytics-danger-text);
    border-color: var(--analytics-danger-border);
}

.analytics-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.8rem;
}

.analytics-card-head .header-title,
.analytics-chart-card .header-title,
.analytics-side-panel .header-title,
.analytics-table-panel .header-title {
    color: var(--analytics-text-strong);
    font-weight: 700;
    letter-spacing: -0.01em;
}

.analytics-card-subtitle {
    font-size: 0.83rem;
    color: var(--analytics-text-muted);
    margin-bottom: 0;
}

.analytics-chip-row {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.analytics-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.28rem 0.58rem;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    border: 1px solid transparent;
}

.analytics-chip-approved {
    background: var(--analytics-success-bg);
    color: var(--analytics-success-text);
    border-color: var(--analytics-success-border);
}

.analytics-chip-pending {
    background: var(--analytics-warning-bg);
    color: var(--analytics-warning-text);
    border-color: var(--analytics-warning-border);
}

.analytics-chip-rejected {
    background: var(--analytics-danger-bg);
    color: var(--analytics-danger-text);
    border-color: var(--analytics-danger-border);
}

.analytics-chip-checks-passed {
    background: var(--analytics-info-bg);
    color: var(--analytics-info-text);
    border-color: var(--analytics-info-border);
}

.analytics-stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.18);
}

.analytics-icon-daily {
    background: linear-gradient(135deg, #0f766e, #14b8a6);
}

.analytics-icon-weekly {
    background: linear-gradient(135deg, #0369a1, #0ea5e9);
}

.analytics-icon-monthly {
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
}

.analytics-icon-yearly {
    background: linear-gradient(135deg, #4338ca, #7c3aed);
}

.analytics-stat-value {
    font-size: 1.72rem;
    font-weight: 700;
    line-height: 1.12;
    margin-bottom: 0.05rem;
    color: var(--analytics-text-strong);
    letter-spacing: -0.02em;
}

.analytics-stat-label {
    color: var(--analytics-text-muted);
    margin-bottom: 0;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}

.analytics-kpi-card .card-body {
    padding: 1rem;
}

.analytics-kpi-card {
    transition: box-shadow 0.16s ease, transform 0.16s ease, border-color 0.16s ease;
}

.analytics-kpi-card:hover {
    box-shadow: var(--analytics-shadow-md);
    transform: translateY(-2px);
}

.analytics-kpi-card-minimal .card-body {
    border-top: 3px solid rgba(59, 130, 246, 0.12);
}

.analytics-chart-wrap {
    position: relative;
    height: 320px;
    border-radius: 14px;
}

.analytics-chart-wrap-3d {
    border-radius: 14px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.62) 0%, rgba(248, 250, 252, 0.9) 100%),
        repeating-linear-gradient(0deg, rgba(148, 163, 184, 0.11) 0, rgba(148, 163, 184, 0.11) 1px, transparent 1px, transparent 22px),
        repeating-linear-gradient(90deg, rgba(148, 163, 184, 0.07) 0, rgba(148, 163, 184, 0.07) 1px, transparent 1px, transparent 22px);
    border: 1px solid rgba(148, 163, 184, 0.18);
    padding: 0.25rem;
}

html[data-theme="dark"] .dashboard-analytics .analytics-chart-wrap-3d,
body.analytics-dashboard-theme-dark .dashboard-analytics .analytics-chart-wrap-3d,
.dashboard-analytics[data-analytics-theme="dark"] .analytics-chart-wrap-3d {
    background:
        linear-gradient(180deg, rgba(23, 34, 52, 0.78) 0%, rgba(20, 30, 46, 0.86) 100%),
        repeating-linear-gradient(0deg, rgba(148, 163, 184, 0.05) 0, rgba(148, 163, 184, 0.05) 1px, transparent 1px, transparent 22px),
        repeating-linear-gradient(90deg, rgba(148, 163, 184, 0.035) 0, rgba(148, 163, 184, 0.035) 1px, transparent 1px, transparent 22px);
    border-color: rgba(148, 163, 184, 0.16);
}

@media (prefers-color-scheme: dark) {
    html[data-theme="dark"] .dashboard-analytics .analytics-chart-wrap-3d,
    body.analytics-dashboard-theme-dark .dashboard-analytics .analytics-chart-wrap-3d,
    .dashboard-analytics[data-analytics-theme="dark"] .analytics-chart-wrap-3d {
        background:
            linear-gradient(180deg, rgba(23, 34, 52, 0.78) 0%, rgba(20, 30, 46, 0.86) 100%),
            repeating-linear-gradient(0deg, rgba(148, 163, 184, 0.05) 0, rgba(148, 163, 184, 0.05) 1px, transparent 1px, transparent 22px),
            repeating-linear-gradient(90deg, rgba(148, 163, 184, 0.035) 0, rgba(148, 163, 184, 0.035) 1px, transparent 1px, transparent 22px);
        border-color: rgba(148, 163, 184, 0.16);
    }
}

.analytics-chart-wrap-sm {
    height: 260px;
}

.analytics-chart-wrap canvas {
    filter: drop-shadow(0 10px 20px rgba(51, 65, 85, 0.08));
}

html[data-theme="dark"] .dashboard-analytics .analytics-chart-wrap canvas,
body.analytics-dashboard-theme-dark .dashboard-analytics .analytics-chart-wrap canvas,
.dashboard-analytics[data-analytics-theme="dark"] .analytics-chart-wrap canvas {
    filter: drop-shadow(0 12px 22px rgba(2, 6, 23, 0.16));
}

.analytics-chart-wrap-3d canvas {
    filter: drop-shadow(0 14px 28px rgba(30, 41, 59, 0.2));
}

.analytics-filter-grid .form-label {
    margin-bottom: 0.35rem;
    font-size: 0.77rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--analytics-text-muted);
    font-weight: 700;
}

.analytics-filter-actions {
    align-items: stretch;
}

.analytics-filter-actions .btn {
    min-height: 44px;
}

.analytics-table > :not(caption) > * > * {
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
}

.analytics-table thead th {
    color: var(--analytics-text-muted);
    font-weight: 700;
    border-bottom-color: var(--analytics-border);
    background: color-mix(in srgb, var(--analytics-surface-alt) 86%, transparent);
    position: sticky;
    top: 0;
    z-index: 1;
}

.analytics-table tbody td {
    border-color: color-mix(in srgb, var(--analytics-border) 72%, transparent);
    color: var(--analytics-text);
}

.analytics-table tbody tr:hover {
    background: color-mix(in srgb, var(--analytics-accent-soft) 54%, transparent);
}

.analytics-side-panel .card-body,
.analytics-table-panel .card-body,
.analytics-chart-card > .card-body {
    padding: 1rem;
}

.analytics-card-head-firebase {
    margin-bottom: 0.9rem;
    padding-bottom: 0.7rem;
    border-bottom: 1px solid color-mix(in srgb, var(--analytics-border) 80%, transparent);
}

.analytics-shared-report-side {
    height: 100%;
    padding-left: 1rem;
    border-left: 1px solid color-mix(in srgb, var(--analytics-border) 78%, transparent);
}

@media (max-width: 1199.98px) {
    .analytics-shared-report-side {
        padding-left: 0;
        padding-top: 0.9rem;
        border-left: 0;
        border-top: 1px solid color-mix(in srgb, var(--analytics-border) 78%, transparent);
    }
}

.analytics-table-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
}

.analytics-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem;
    margin: 0;
}

.analytics-pagination .page-item {
    margin: 0;
}

.analytics-pagination .page-link {
    min-width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 10px;
    border: 1px solid var(--analytics-border);
    color: var(--analytics-text);
    background: var(--analytics-surface-solid);
    box-shadow: 0 1px 1px rgba(15, 23, 42, 0.02);
}

.analytics-pagination .page-link:hover {
    color: var(--analytics-accent);
    border-color: var(--analytics-accent);
    background: var(--analytics-accent-soft);
}

.analytics-pagination .page-item.active .page-link {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.14), rgba(6, 182, 212, 0.12));
    color: var(--analytics-accent);
    border-color: color-mix(in srgb, var(--analytics-accent) 35%, var(--analytics-border));
    font-weight: 700;
}

.analytics-pagination .page-item.disabled .page-link {
    background: color-mix(in srgb, var(--analytics-surface-alt) 92%, transparent);
    color: var(--analytics-text-faint);
    border-color: color-mix(in srgb, var(--analytics-border) 85%, transparent);
}

html[data-theme="dark"] .dashboard-analytics .analytics-pagination .page-link,
body.analytics-dashboard-theme-dark .dashboard-analytics .analytics-pagination .page-link,
.dashboard-analytics[data-analytics-theme="dark"] .analytics-pagination .page-link {
    background: linear-gradient(180deg, rgba(22, 34, 54, 0.96), rgba(15, 24, 38, 0.98));
    border-color: rgba(148, 163, 184, 0.18);
    color: #d9e7f8;
    box-shadow: 0 10px 20px rgba(2, 6, 23, 0.14);
}

html[data-theme="dark"] .dashboard-analytics .analytics-pagination .page-link:hover,
body.analytics-dashboard-theme-dark .dashboard-analytics .analytics-pagination .page-link:hover,
.dashboard-analytics[data-analytics-theme="dark"] .analytics-pagination .page-link:hover {
    color: #f8fbff;
    border-color: rgba(106, 169, 255, 0.34);
    background: color-mix(in srgb, var(--analytics-accent-soft) 78%, rgba(17, 24, 39, 0.98));
}

html[data-theme="dark"] .dashboard-analytics .analytics-pagination .page-item.active .page-link,
body.analytics-dashboard-theme-dark .dashboard-analytics .analytics-pagination .page-item.active .page-link,
.dashboard-analytics[data-analytics-theme="dark"] .analytics-pagination .page-item.active .page-link {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.92), rgba(37, 99, 235, 0.86));
    color: #ffffff;
    border-color: rgba(147, 197, 253, 0.28);
}

.dashboard-analytics .badge-info-lighten {
    background: var(--analytics-info-bg) !important;
    color: var(--analytics-info-text) !important;
    border: 1px solid var(--analytics-info-border);
}

.dashboard-analytics .badge-success-lighten {
    background: var(--analytics-success-bg) !important;
    color: var(--analytics-success-text) !important;
    border: 1px solid var(--analytics-success-border);
}

.dashboard-analytics .badge-warning-lighten {
    background: var(--analytics-warning-bg) !important;
    color: var(--analytics-warning-text) !important;
    border: 1px solid var(--analytics-warning-border);
}

.dashboard-analytics .badge-danger-lighten {
    background: var(--analytics-danger-bg) !important;
    color: var(--analytics-danger-text) !important;
    border: 1px solid var(--analytics-danger-border);
}

.daterangepicker {
    border: 1px solid #dfe3eb;
    border-radius: 16px;
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.16);
    font-family: inherit;
    z-index: 1065 !important;
    overflow: hidden;
    max-width: min(760px, calc(100vw - 24px));
}

.daterangepicker::before,
.daterangepicker::after {
    display: none !important;
}

.daterangepicker .ranges {
    border-right-color: rgba(148, 163, 184, 0.16);
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
}

.daterangepicker .ranges li {
    border-radius: 10px;
    margin: 2px 6px;
    padding: 8px 10px;
    font-weight: 600;
    color: #475569;
}

.daterangepicker .drp-calendar {
    max-width: 100%;
    padding: 0.65rem 0.65rem 0.5rem;
}

.daterangepicker .calendar-table table {
    width: 100%;
}

.daterangepicker .calendar-table th,
.daterangepicker .calendar-table td {
    min-width: 30px;
    width: 30px;
    height: 30px;
    line-height: 30px;
    border-radius: 8px;
}

.daterangepicker .drp-buttons {
    border-top-color: rgba(148, 163, 184, 0.16);
    padding: 0.6rem 0.75rem;
}

.daterangepicker .calendar-table {
    border: 0;
}

.daterangepicker td.active,
.daterangepicker td.active:hover,
.daterangepicker td.in-range,
.daterangepicker td.start-date,
.daterangepicker td.end-date {
    background-color: #1a73e8;
    color: #fff;
}

.daterangepicker td.in-range {
    background-color: #e8f0fe;
    color: #1a73e8;
}

.daterangepicker td.start-date,
.daterangepicker td.end-date {
    background-color: #1a73e8;
    color: #fff;
}

.daterangepicker .ranges li.active {
    background-color: #1a73e8;
}

.daterangepicker .drp-buttons .btn {
    border-radius: 8px;
}

.analytics-daterangepicker.analytics-daterangepicker-mobile {
    width: calc(100vw - 16px) !important;
    max-width: calc(100vw - 16px) !important;
    left: 8px !important;
    right: 8px !important;
}

.analytics-daterangepicker.analytics-daterangepicker-mobile .ranges,
.analytics-daterangepicker.analytics-daterangepicker-mobile .drp-calendar {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
}

.analytics-daterangepicker.analytics-daterangepicker-mobile .ranges {
    border-right: 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.16);
    max-height: 180px;
    overflow: auto;
}

.analytics-daterangepicker.analytics-daterangepicker-mobile .drp-calendar.left,
.analytics-daterangepicker.analytics-daterangepicker-mobile .drp-calendar.right {
    clear: both;
}

body.analytics-dashboard-theme-dark .daterangepicker {
    background: #111827;
    border-color: rgba(148, 163, 184, 0.16);
    box-shadow: 0 18px 40px rgba(2, 6, 23, 0.4);
    color: #e5edf8;
}

body.analytics-dashboard-theme-dark .daterangepicker .ranges li {
    color: #d1d9e6;
}

body.analytics-dashboard-theme-dark .daterangepicker .calendar-table,
body.analytics-dashboard-theme-dark .daterangepicker table,
body.analytics-dashboard-theme-dark .daterangepicker .drp-calendar,
body.analytics-dashboard-theme-dark .daterangepicker .ranges,
body.analytics-dashboard-theme-dark .daterangepicker .drp-buttons {
    background: #111827;
    color: #e5edf8;
    border-color: rgba(148, 163, 184, 0.16);
}

body.analytics-dashboard-theme-dark .daterangepicker td.off,
body.analytics-dashboard-theme-dark .daterangepicker td.off.in-range,
body.analytics-dashboard-theme-dark .daterangepicker td.off.start-date,
body.analytics-dashboard-theme-dark .daterangepicker td.off.end-date {
    color: #6b7280;
    background: transparent;
}

body.analytics-dashboard-theme-dark .daterangepicker td.available:hover,
body.analytics-dashboard-theme-dark .daterangepicker th.available:hover {
    background: rgba(96, 165, 250, 0.12);
}

body.analytics-dashboard-theme-dark .daterangepicker td.in-range {
    background: rgba(96, 165, 250, 0.14);
    color: #cfe4ff;
}

body.analytics-dashboard-theme-dark .daterangepicker td.active,
body.analytics-dashboard-theme-dark .daterangepicker td.active:hover,
body.analytics-dashboard-theme-dark .daterangepicker td.start-date,
body.analytics-dashboard-theme-dark .daterangepicker td.end-date,
body.analytics-dashboard-theme-dark .daterangepicker .ranges li.active {
    background: #3b82f6;
    color: #fff;
}

body.analytics-dashboard-theme-dark .daterangepicker .drp-buttons .btn {
    border-color: rgba(148, 163, 184, 0.2);
}

@media (prefers-color-scheme: dark) {
    body:not(.analytics-dashboard-theme-light) .daterangepicker {
        background: #111827;
        border-color: rgba(148, 163, 184, 0.16);
        box-shadow: 0 18px 40px rgba(2, 6, 23, 0.4);
        color: #e5edf8;
    }

    body:not(.analytics-dashboard-theme-light) .daterangepicker .calendar-table,
    body:not(.analytics-dashboard-theme-light) .daterangepicker table,
    body:not(.analytics-dashboard-theme-light) .daterangepicker .drp-calendar,
    body:not(.analytics-dashboard-theme-light) .daterangepicker .ranges,
    body:not(.analytics-dashboard-theme-light) .daterangepicker .drp-buttons {
        background: #111827;
        color: #e5edf8;
        border-color: rgba(148, 163, 184, 0.16);
    }

    body:not(.analytics-dashboard-theme-light) .daterangepicker td.off,
    body:not(.analytics-dashboard-theme-light) .daterangepicker td.off.in-range,
    body:not(.analytics-dashboard-theme-light) .daterangepicker td.off.start-date,
    body:not(.analytics-dashboard-theme-light) .daterangepicker td.off.end-date {
        color: #6b7280;
        background: transparent;
    }

    body:not(.analytics-dashboard-theme-light) .daterangepicker td.available:hover,
    body:not(.analytics-dashboard-theme-light) .daterangepicker th.available:hover {
        background: rgba(96, 165, 250, 0.12);
    }

    body:not(.analytics-dashboard-theme-light) .daterangepicker td.in-range {
        background: rgba(96, 165, 250, 0.14);
        color: #cfe4ff;
    }

    body:not(.analytics-dashboard-theme-light) .daterangepicker td.active,
    body:not(.analytics-dashboard-theme-light) .daterangepicker td.active:hover,
    body:not(.analytics-dashboard-theme-light) .daterangepicker td.start-date,
    body:not(.analytics-dashboard-theme-light) .daterangepicker td.end-date,
    body:not(.analytics-dashboard-theme-light) .daterangepicker .ranges li.active {
        background: #3b82f6;
        color: #fff;
    }
}

/* Portal light mode: override OS dark preference — runs after the media query so it wins */
html:not([data-theme="dark"]) .daterangepicker {
    background-color: #fff;
    color: #344767;
    border-color: #dfe3eb;
}
html:not([data-theme="dark"]) .daterangepicker .calendar-table,
html:not([data-theme="dark"]) .daterangepicker table,
html:not([data-theme="dark"]) .daterangepicker .drp-calendar,
html:not([data-theme="dark"]) .daterangepicker .ranges,
html:not([data-theme="dark"]) .daterangepicker .drp-buttons {
    background-color: #fff;
    color: #344767;
    border-color: rgba(148, 163, 184, 0.16);
}
html:not([data-theme="dark"]) .daterangepicker .ranges li {
    color: #475569;
}
html:not([data-theme="dark"]) .daterangepicker th {
    color: #7b8ca4;
    font-weight: 700;
}
html:not([data-theme="dark"]) .daterangepicker td.available {
    color: #52627b;
    font-weight: 500;
}
html:not([data-theme="dark"]) .daterangepicker td.in-range {
    background: #e7f0ff;
    color: #2256d6;
}
html:not([data-theme="dark"]) .daterangepicker td.active,
html:not([data-theme="dark"]) .daterangepicker td.active:hover,
html:not([data-theme="dark"]) .daterangepicker td.start-date,
html:not([data-theme="dark"]) .daterangepicker td.end-date,
html:not([data-theme="dark"]) .daterangepicker .ranges li.active {
    background: #3b82f6;
    color: #ffffff;
}
html:not([data-theme="dark"]) .daterangepicker td.off,
html:not([data-theme="dark"]) .daterangepicker td.off.in-range,
html:not([data-theme="dark"]) .daterangepicker td.off.start-date,
html:not([data-theme="dark"]) .daterangepicker td.off.end-date {
    color: #b7c3d4;
    background: transparent;
}
html:not([data-theme="dark"]) .daterangepicker td.off.in-range {
    background: #f3f7ff;
    color: #afbdd0;
}
html:not([data-theme="dark"]) .daterangepicker select.monthselect,
html:not([data-theme="dark"]) .daterangepicker select.yearselect {
    color: #344767;
    border-color: #cfd9e7;
    background-color: #ffffff;
}
html:not([data-theme="dark"]) .daterangepicker td.available:hover,
html:not([data-theme="dark"]) .daterangepicker th.available:hover {
    background: rgba(71, 85, 105, 0.07);
}

/* Portal dark mode: html[data-theme="dark"] — the selector used by this portal */
html[data-theme="dark"] .daterangepicker {
    background: #111827;
    border-color: rgba(148, 163, 184, 0.16);
    box-shadow: 0 18px 40px rgba(2, 6, 23, 0.4);
    color: #e5edf8;
}
html[data-theme="dark"] .daterangepicker .ranges li {
    color: #d1d9e6;
}
html[data-theme="dark"] .daterangepicker .calendar-table,
html[data-theme="dark"] .daterangepicker table,
html[data-theme="dark"] .daterangepicker .drp-calendar,
html[data-theme="dark"] .daterangepicker .ranges,
html[data-theme="dark"] .daterangepicker .drp-buttons {
    background: #111827;
    color: #e5edf8;
    border-color: rgba(148, 163, 184, 0.16);
}
html[data-theme="dark"] .daterangepicker td.off,
html[data-theme="dark"] .daterangepicker td.off.in-range,
html[data-theme="dark"] .daterangepicker td.off.start-date,
html[data-theme="dark"] .daterangepicker td.off.end-date {
    color: #6b7280;
    background: transparent;
}
html[data-theme="dark"] .daterangepicker td.available:hover,
html[data-theme="dark"] .daterangepicker th.available:hover {
    background: rgba(96, 165, 250, 0.12);
}
html[data-theme="dark"] .daterangepicker td.in-range {
    background: rgba(96, 165, 250, 0.14);
    color: #cfe4ff;
}
html[data-theme="dark"] .daterangepicker td.active,
html[data-theme="dark"] .daterangepicker td.active:hover,
html[data-theme="dark"] .daterangepicker td.start-date,
html[data-theme="dark"] .daterangepicker td.end-date,
html[data-theme="dark"] .daterangepicker .ranges li.active {
    background: #3b82f6;
    color: #fff;
}
html[data-theme="dark"] .daterangepicker .drp-buttons .btn {
    border-color: rgba(148, 163, 184, 0.2);
}

@media (max-width: 1199.98px) {
    .analytics-hero-top {
        align-items: stretch;
    }

    .analytics-hero-side {
        justify-content: flex-start;
    }
}

@media (max-width: 991.98px) {
    .analytics-range-pill {
        max-width: 100%;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .analytics-filter-grid .form-control,
    .analytics-filter-grid .form-select,
    .analytics-filter-actions .btn {
        min-height: 42px;
    }

    .analytics-filter-card .card-body {
        padding: 0.9rem;
    }

    .analytics-filter-toolbar {
        align-items: stretch;
        gap: 0.7rem;
    }

    .analytics-filter-toolbar-left,
    .analytics-filter-toolbar-right {
        width: 100%;
    }

    .analytics-filter-toolbar-right {
        margin-left: 0;
    }

    .analytics-filter-date-icon-wrap {
        width: 42px;
        height: 42px;
    }

    .analytics-filter-toolbar-badge {
        width: auto;
    }

    .analytics-filter-menu {
        min-width: 0;
        width: min(760px, calc(100vw - 20px));
    }

    .analytics-filter-sheet {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .analytics-filter-sheet-sidebar {
        border-right: 0;
        border-bottom: 1px solid var(--analytics-border);
        background: #ffffff;
        flex-direction: row;
        overflow-x: auto;
        padding: 0.6rem;
    }

    .analytics-filter-sheet-tab {
        min-width: max-content;
        box-shadow: inset 0 0 0 1px var(--analytics-border);
        background: #ffffff;
    }

    .analytics-filter-sheet-tab.is-active {
        box-shadow: inset 0 0 0 1px #bfdbfe;
        background: #eff6ff;
        color: #1d4ed8;
    }

    .analytics-filter-sheet-tab i {
        display: none;
    }

    .analytics-filter-pill-control {
        flex: 1 1 calc(50% - 0.4rem);
        min-width: 0;
    }

    .analytics-filter-applied-list {
        width: 100%;
        order: 3;
        overflow-x: auto;
    }

    .analytics-filter-active-chip {
        flex: 0 0 auto;
        min-width: 0;
    }

    .analytics-filter-pill-select {
        min-width: 0;
        width: 100%;
    }

    .analytics-filter-pill-control-date {
        flex: 1 1 100%;
        min-width: 0;
    }

    .analytics-filter-pill-input {
        min-width: 0;
        width: 100%;
    }

    .analytics-btn-reset-filter {
        min-width: 100%;
        width: 100%;
    }

    .daterangepicker {
        max-width: calc(100vw - 16px);
    }
}

@media (max-width: 767.98px) {
    .analytics-filter-dropdown {
        width: 100%;
    }

    .analytics-filter-toolbar-right {
        width: auto;
        margin-left: auto;
    }

    .analytics-filter-toolbar-badge-btn {
        width: 100%;
        justify-content: center;
    }

    .analytics-filter-menu {
        left: 0;
        right: auto;
        width: min(calc(100vw - 24px), 100%);
    }

    .analytics-filter-sheet-search {
        padding: 0.7rem 0.85rem;
    }

    .analytics-filter-sheet-footer {
        padding: 0.75rem 0.85rem;
    }

    .analytics-filter-sheet-btn {
        min-width: 92px;
    }

    .analytics-filter-active-chip {
        width: 100%;
    }

    .analytics-filter-active-chip-text {
        width: 100%;
    }

    .analytics-filter-active-chip-value {
        max-width: none;
    }

    .analytics-filter-toolbar-badge {
        padding: 0.52rem 0.82rem;
    }

    .analytics-filter-pill-control {
        flex: 1 1 100%;
        gap: 0.45rem;
        padding: 0.22rem 0.38rem 0.22rem 0.58rem;
    }

    .analytics-filter-pill-label {
        min-width: 72px;
        font-size: 0.72rem;
    }

    .analytics-filter-pill-select {
        font-size: 0.92rem;
    }

    .analytics-filter-pill-input {
        font-size: 0.92rem;
    }

    .analytics-hero {
        padding: 1rem;
        border-radius: 16px;
    }

    .analytics-firebase-subtitle {
        font-size: 0.88rem;
    }

    .analytics-chart-wrap {
        height: 260px;
    }

    .analytics-chart-wrap-sm {
        height: 240px;
    }

    .analytics-stat-value {
        font-size: 1.4rem;
    }

    .analytics-table-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .analytics-pagination {
        justify-content: flex-start;
    }

    .analytics-card-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .analytics-hero-top {
        flex-direction: column;
    }

    .analytics-hero-side {
        justify-content: flex-start;
    }

    .analytics-theme-toggle-label {
        display: none;
    }

    .analytics-summary-main {
        align-items: flex-start;
    }

    .analytics-summary-pills {
        width: 100%;
    }
}

/* Songs queue: final layout contract.
   Keep the heading on the left, controls on the right, and both toolbars on
   one stable row. The filter sheet is anchored to the Filter button so the
   complete two-column panel remains visible inside the viewport. */
.songs-modern-page .songs-ui-table-card,
.songs-modern-page .songs-ui-table-card > .card-body,
.songs-modern-page .songs-ui-table-head,
.songs-modern-page .songs-ui-table-head-filter,
.songs-modern-page .songs-analytics-filter-toolbar,
.songs-modern-page .analytics-filter-toolbar-left {
    overflow: visible;
}

.songs-modern-page .songs-ui-table-head {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    width: 100%;
}

.songs-modern-page .songs-ui-table-heading {
    min-width: 0;
}

.songs-modern-page .songs-ui-table-head-filter.rdc-responsive-toolbar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 10px;
    width: auto;
    max-width: none;
    margin-left: auto;
}

.songs-modern-page .songs-analytics-filter-toolbar,
.songs-modern-page .songs-analytics-filter-toolbar .analytics-filter-toolbar-left {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 10px;
    width: auto;
    max-width: none;
}

.songs-modern-page .songs-analytics-filter-toolbar .analytics-filter-dropdown {
    position: relative;
    z-index: 120;
}

.songs-modern-page .songs-ui-table-head-filter .analytics-filter-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0 !important;
    left: auto !important;
    width: min(680px, calc(100vw - 48px));
    min-width: min(680px, calc(100vw - 48px));
    max-width: calc(100vw - 48px);
    z-index: 130;
    box-sizing: border-box;
}

.songs-modern-page .songs-ui-table-head-filter .analytics-filter-sheet {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    width: 100%;
    min-width: 0;
}

.songs-modern-page .songs-ui-table-head-filter .analytics-filter-sheet-main {
    min-width: 0;
}

.songs-modern-page .songs-ui-toolbar-wrap {
    width: 100%;
}

.songs-modern-page .songs-ui-toolbar-row.rdc-responsive-toolbar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    width: 100%;
    min-width: 0;
}

.songs-modern-page .songs-ui-toolbar-status {
    flex: 0 0 auto;
}

.songs-modern-page .songs-ui-search-form {
    flex: 1 1 280px;
    width: auto;
    min-width: 180px;
    max-width: 360px;
    margin: 0;
}

.songs-modern-page .songs-ui-toolbar-actions {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex: 0 0 auto;
    flex-wrap: nowrap;
    gap: 8px;
    width: auto;
    min-width: 0;
}

.songs-modern-page .songs-ui-toolbar-actions .songs-ui-btn {
    flex: 0 0 auto;
    white-space: nowrap;
}

@media (max-width: 767.98px) {
    .songs-modern-page .songs-ui-table-head {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 10px;
    }

    .songs-modern-page .songs-ui-table-head-filter.rdc-responsive-toolbar {
        justify-content: flex-end;
        flex-wrap: nowrap;
    }

    .songs-modern-page .songs-ui-table-head-filter .analytics-filter-menu {
        position: fixed;
        top: 88px;
        right: 12px !important;
        left: 12px !important;
        width: auto;
        min-width: 0;
        max-width: none;
        max-height: calc(100dvh - 108px);
        overflow: auto;
    }

    .songs-modern-page .songs-ui-table-head-filter .analytics-filter-sheet {
        grid-template-columns: 150px minmax(0, 1fr);
    }

    .songs-modern-page .songs-ui-toolbar-wrap {
        overflow: visible !important;
        padding-bottom: 2px;
    }

    .songs-modern-page .songs-ui-toolbar-row.rdc-responsive-toolbar {
        width: max-content;
        min-width: 100%;
    }

    .songs-modern-page .songs-ui-search-form {
        flex: 0 0 260px;
        width: 260px;
        min-width: 260px;
        max-width: 260px;
    }

    .songs-modern-page .songs-ui-toolbar-actions {
        width: auto;
    }
}

/* Cute, compact album creation studio */
.album-create-page .container-fluid {
    max-width: 1020px !important;
}

.album-studio-card {
    display: grid;
    grid-template-columns: 310px minmax(0, 1fr);
    overflow: hidden;
    border: 1px solid #dce5f2;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 16px 42px rgba(31, 57, 98, .09);
}

.album-studio-intro {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    overflow: hidden;
    padding: 30px 28px;
    color: #fff;
    background: linear-gradient(155deg, #1d3c78 0%, #315fbd 57%, #5279df 100%);
}

.album-studio-intro::before,
.album-studio-intro::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.album-studio-intro::before {
    top: -75px;
    right: -70px;
    width: 190px;
    height: 190px;
    border: 28px solid rgba(255, 255, 255, .06);
}

.album-studio-intro::after {
    bottom: -85px;
    left: -80px;
    width: 210px;
    height: 210px;
    background: rgba(118, 84, 232, .28);
}

.album-studio-intro__step {
    position: relative;
    z-index: 1;
    padding: 5px 9px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 999px;
    color: rgba(255, 255, 255, .82);
    background: rgba(255, 255, 255, .08);
    font-size: 8px;
    font-weight: 750;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.album-studio-art {
    position: relative;
    z-index: 1;
    display: grid;
    width: 108px;
    height: 108px;
    margin: 25px 0 22px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .23);
    border-radius: 25px;
    background: linear-gradient(145deg, rgba(255,255,255,.22), rgba(255,255,255,.07));
    box-shadow: 0 18px 35px rgba(5, 20, 54, .2), inset 0 1px 0 rgba(255,255,255,.25);
    transform: rotate(-3deg);
}

.album-studio-art__disc {
    display: grid;
    width: 64px;
    height: 64px;
    place-items: center;
    border: 10px solid rgba(255, 255, 255, .14);
    border-radius: 50%;
    color: #dceaff;
    background: rgba(10, 31, 75, .35);
    font-size: 18px;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.15);
}

.album-studio-art__shine { position: absolute; top: 12px; right: 14px; width: 22px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.22); transform: rotate(38deg); }
.album-studio-intro h2 { position: relative; z-index: 1; margin: 0 0 7px; color: #fff; font-size: 21px; font-weight: 780; letter-spacing: -.025em; }
.album-studio-intro p { position: relative; z-index: 1; margin: 0; color: rgba(231, 240, 255, .76); font-size: 10px; line-height: 1.65; }
.album-studio-tips { position: relative; z-index: 1; display: grid; gap: 8px; margin-top: 22px; }
.album-studio-tips span { display: flex; align-items: center; gap: 7px; color: rgba(245, 249, 255, .86); font-size: 9px; font-weight: 650; }
.album-studio-tips i { color: #6ee7b7; font-size: 13px; }

.album-studio-form-panel { min-width: 0; padding: 25px 28px; }
.album-studio-form-head { display: flex; align-items: center; gap: 10px; padding-bottom: 17px; border-bottom: 1px solid #e2e9f2; }
.album-studio-form-head__icon { display: grid; flex: 0 0 37px; height: 37px; place-items: center; border-radius: 11px; color: #3478f6; background: #eaf2ff; font-size: 17px; }
.album-studio-form-head h2 { margin: 0 0 2px; color: #15213a; font-size: 14px; font-weight: 780; }
.album-studio-form-head p { margin: 0; color: #748298; font-size: 9px; }
.album-studio-form-head__secure { display: inline-flex; align-items: center; gap: 5px; margin-left: auto; padding: 5px 8px; border: 1px solid #caeedc; border-radius: 999px; color: #07865f; background: #edfbf5; font-size: 8px; font-weight: 750; }
.album-studio-form { display: grid; gap: 17px; padding-top: 20px; }
.album-studio-field, .album-studio-field__label, .album-studio-field > .invalid-feedback { display: block; }
.album-studio-field__label { margin-bottom: 6px; color: #293a55; font-size: 9px; font-weight: 750; }
.album-studio-field__label em { color: #ef476f; font-style: normal; }
.album-studio-input { position: relative; display: block; }
.album-studio-input > i { position: absolute; z-index: 2; top: 50%; left: 13px; color: #8092ad; font-size: 15px; transform: translateY(-50%); pointer-events: none; }
.album-studio-input .form-control { min-height: 42px; padding: 8px 12px 8px 39px; border: 1px solid #d6e0ed; border-radius: 10px; color: #15213a; background: #f8faff; font-size: 10px; box-shadow: none; }
.album-studio-input .form-control:focus { border-color: #72a5f8; background: #fff; box-shadow: 0 0 0 3px rgba(52, 120, 246, .1); }

.album-studio-file {
    display: grid;
    grid-template-columns: 40px minmax(120px, .65fr) minmax(190px, 1fr);
    align-items: center;
    gap: 11px;
    padding: 11px;
    border: 1px dashed #b9cbe3;
    border-radius: 12px;
    background: #f8faff;
}

.album-studio-file__icon { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 11px; color: #3478f6; background: #e7f0ff; font-size: 18px; }
.album-studio-file__copy strong, .album-studio-file__copy small { display: block; }
.album-studio-file__copy strong { color: #293a55; font-size: 9px; }
.album-studio-file__copy small { margin-top: 2px; color: #8290a5; font-size: 7px; line-height: 1.4; }
.album-studio-file input[type="file"].form-control { min-width: 0; min-height: 39px; padding: 0; overflow: hidden; border: 1px solid #d6e0ed; border-radius: 9px; background: #fff; color: #75849a; font-size: 8px; }
.album-studio-file input[type="file"]::file-selector-button { height: 39px; margin-right: 9px; padding: 0 10px; border: 0; border-right: 1px solid #d6e0ed; color: #263854; background: #eaf1fb; font-size: 8px; font-weight: 750; cursor: pointer; }
.album-studio-file .progress, .album-studio-file .msg { grid-column: 1 / -1; margin: 0 !important; }
.album-studio-file .msg { color: #748298; font-size: 8px; }

.album-studio-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 2px; padding-top: 15px; border-top: 1px solid #e2e9f2; }
.album-studio-actions .btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 38px; padding: 0 14px; border-radius: 9px; font-size: 9px; font-weight: 750; }
.album-studio-cancel { border: 1px solid #d6e0ed; color: #697991; background: #f8faff; }
.album-studio-cancel:hover { color: #263854; background: #eef3f9; }
.album-studio-next { min-width: 142px; border: 0; color: #fff; background: linear-gradient(135deg, #3478f6, #285be0); box-shadow: 0 8px 18px rgba(52,120,246,.22); }
.album-studio-next:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 11px 22px rgba(52,120,246,.28); }

html[data-theme="dark"] .album-studio-card { border-color: #2b3b54; background: #111c2e; }
html[data-theme="dark"] .album-studio-form-head { border-color: #2b3b54; }
html[data-theme="dark"] .album-studio-form-head h2,
html[data-theme="dark"] .album-studio-field__label,
html[data-theme="dark"] .album-studio-file__copy strong { color: #eef4ff; }
html[data-theme="dark"] .album-studio-form-head p,
html[data-theme="dark"] .album-studio-file__copy small { color: #9babc4; }
html[data-theme="dark"] .album-studio-form-head__secure { border-color: rgba(36,183,133,.28); color: #6ee7b7; background: rgba(16,185,129,.1); }
html[data-theme="dark"] .album-studio-input .form-control,
html[data-theme="dark"] .album-studio-file { border-color: #34465f; color: #eef4ff; background: #162338; }
html[data-theme="dark"] .album-studio-file input[type="file"].form-control { border-color: #34465f; color: #aebdd2; background: #111c2e; }
html[data-theme="dark"] .album-studio-file input[type="file"]::file-selector-button { border-color: #34465f; color: #dce8fb; background: #1c2c45; }
html[data-theme="dark"] .album-studio-actions { border-color: #2b3b54; }

@media (max-width: 850px) {
    .album-studio-card { grid-template-columns: 1fr; }
    .album-studio-intro { padding: 22px; }
    .album-studio-art { width: 78px; height: 78px; margin: 18px 0 15px; border-radius: 19px; }
    .album-studio-art__disc { width: 48px; height: 48px; border-width: 7px; }
    .album-studio-tips { display: none; }
}

@media (max-width: 575.98px) {
    .album-studio-form-panel { padding: 19px 16px; }
    .album-studio-form-head__secure { display: none; }
    .album-studio-file { grid-template-columns: 40px 1fr; }
    .album-studio-file input[type="file"].form-control { grid-column: 1 / -1; }
    .album-studio-actions { flex-direction: column-reverse; }
    .album-studio-actions .btn { width: 100%; }
}

/* Album file-control containment */
.album-studio-file {
    grid-template-columns: 40px minmax(130px, .75fr) minmax(160px, 1fr);
}

.album-studio-file > input[type="file"].form-control {
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    line-height: 39px;
}

.album-studio-file > input[type="file"]::file-selector-button {
    max-width: 78px;
    margin-right: 7px;
    padding: 0 7px;
    white-space: nowrap;
}

/* Single-release studio arrangement */
.song-create-page .container-fluid {
    max-width: 1220px !important;
}

.song-create-page .label-release-editor-card {
    display: block;
    width: min(100%, 1120px);
    max-width: 1120px;
    margin-inline: auto;
}

.song-studio-intro {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    overflow: hidden;
    min-width: 0;
    padding: 26px 22px;
    color: #fff;
    background: linear-gradient(160deg, #17366e 0%, #2e5cb5 57%, #4e73d7 100%);
}

.song-studio-intro::before,
.song-studio-intro::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.song-studio-intro::before {
    top: -60px;
    right: -80px;
    width: 185px;
    height: 185px;
    border: 24px solid rgba(255, 255, 255, .06);
}

.song-studio-intro::after {
    bottom: -95px;
    left: -90px;
    width: 210px;
    height: 210px;
    background: rgba(117, 83, 229, .3);
}

.song-studio-intro__step {
    position: relative;
    z-index: 1;
    padding: 5px 8px;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 999px;
    color: rgba(255,255,255,.84);
    background: rgba(255,255,255,.08);
    font-size: 8px;
    font-weight: 750;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.song-studio-visual {
    position: relative;
    z-index: 1;
    display: grid;
    width: 78px;
    height: 78px;
    margin: 23px 0 20px;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 22px;
    color: #fff;
    background: rgba(255,255,255,.11);
    box-shadow: 0 15px 30px rgba(5,20,54,.2), inset 0 1px 0 rgba(255,255,255,.2);
    font-size: 25px;
    transform: rotate(-3deg);
}

.song-studio-visual__wave { position: absolute; width: 105px; height: 34px; border: 5px solid rgba(147,197,253,.24); border-right: 0; border-left: 0; border-radius: 50%; transform: rotate(-18deg); }
.song-studio-intro h2 { position: relative; z-index: 1; margin: 0 0 6px; color: #fff; font-size: 18px; font-weight: 780; letter-spacing: -.025em; }
.song-studio-intro > p { position: relative; z-index: 1; margin: 0; color: rgba(231,240,255,.76); font-size: 9px; line-height: 1.6; }
.song-studio-progress { position: relative; z-index: 1; display: grid; gap: 10px; width: 100%; margin-top: 23px; }
.song-studio-progress > span { display: grid; grid-template-columns: 28px minmax(0,1fr); column-gap: 8px; align-items: center; }
.song-studio-progress i { grid-row: 1 / 3; display: grid; width: 28px; height: 28px; place-items: center; border-radius: 8px; color: #bfdbfe; background: rgba(255,255,255,.1); font-size: 13px; }
.song-studio-progress strong { color: rgba(255,255,255,.9); font-size: 9px; }
.song-studio-progress small { color: rgba(219,234,254,.6); font-size: 7px; }

.song-create-page .song-studio-form-panel {
    min-width: 0;
    padding: 0 !important;
}

.song-create-page .label-release-form-head {
    min-height: 64px;
}

.song-create-page .label-release-form {
    padding: 13px 14px 15px;
    gap: 8px 10px;
}

.song-create-page .label-release-form .form-group.row {
    padding: 9px 10px;
}

.song-create-page .label-release-form .form-control,
.song-create-page .label-release-form select.form-control,
.song-create-page .label-release-form .metadata-chip-control {
    min-height: 37px;
}

html[data-theme="dark"] .song-studio-intro {
    background: linear-gradient(160deg, #142b56, #213f78 58%, #334f98);
}

@media (max-width: 1050px) {
    .song-create-page .label-release-editor-card {
        grid-template-columns: 190px minmax(0, 1fr);
    }

    .song-studio-intro {
        padding: 22px 18px;
    }

    .song-studio-progress small {
        display: none;
    }
}

@media (max-width: 850px) {
    .song-create-page .label-release-editor-card {
        grid-template-columns: 1fr;
    }

    .song-studio-intro {
        display: grid;
        grid-template-columns: auto 1fr;
        column-gap: 14px;
        padding: 18px 20px;
    }

    .song-studio-intro__step,
    .song-studio-progress {
        display: none;
    }

    .song-studio-visual {
        grid-row: 1 / 3;
        width: 58px;
        height: 58px;
        margin: 0;
        border-radius: 16px;
    }

    .song-studio-intro h2 {
        align-self: end;
        margin-bottom: 3px;
        font-size: 15px;
    }
}

@media (max-width: 575.98px) {
    .album-studio-file {
        grid-template-columns: 40px 1fr;
    }

    .album-studio-file > input[type="file"].form-control {
        grid-column: 1 / -1;
    }
}

/* Firebase-like admin sidebar (reuses Hyper's built-in condensed mode) */
.firebase-admin-sidebar {
    --firebase-sidebar-bg: #1f2937;
    --firebase-sidebar-logo-bg: #1f2937;
    --firebase-sidebar-border: rgba(255, 255, 255, 0.08);
    --firebase-sidebar-inset: rgba(255, 255, 255, 0.03);
    --firebase-sidebar-panel-shadow: none;
    --firebase-sidebar-logo-shadow: none;
    --firebase-sidebar-text: rgba(255, 255, 255, 0.8);
    --firebase-sidebar-text-muted: rgba(255, 255, 255, 0.65);
    --firebase-sidebar-title: rgba(255, 255, 255, 0.72);
    --firebase-sidebar-hover-bg: rgba(255, 255, 255, 0.08);
    --firebase-sidebar-hover-text: #fff;
    --firebase-sidebar-outline: rgba(255, 255, 255, 0.12);
    --firebase-sidebar-btn-bg: rgba(255, 255, 255, 0.04);
    --firebase-sidebar-btn-bg-hover: rgba(255, 255, 255, 0.08);
    --firebase-sidebar-brand-text: #fff;
    display: flex;
    flex-direction: column;
    background: var(--firebase-sidebar-bg) !important;
    border-right: 1px solid var(--firebase-sidebar-border);
    box-shadow: inset -1px 0 0 var(--firebase-sidebar-inset), var(--firebase-sidebar-panel-shadow);
}

html[data-theme="light"] .firebase-admin-sidebar {
    --firebase-sidebar-bg: #ffffff;
    --firebase-sidebar-logo-bg: #ffffff;
    --firebase-sidebar-border: rgba(0, 0, 0, 0.06);
    --firebase-sidebar-inset: transparent;
    --firebase-sidebar-panel-shadow: none;
    --firebase-sidebar-logo-shadow: none;
    --firebase-sidebar-text: #334155;
    --firebase-sidebar-text-muted: #64748b;
    --firebase-sidebar-title: #64748b;
    --firebase-sidebar-hover-bg: rgba(37, 99, 235, 0.08);
    --firebase-sidebar-hover-text: #0f172a;
    --firebase-sidebar-outline: rgba(148, 163, 184, 0.22);
    --firebase-sidebar-btn-bg: rgba(148, 163, 184, 0.08);
    --firebase-sidebar-btn-bg-hover: rgba(148, 163, 184, 0.14);
    --firebase-sidebar-brand-text: #0f172a;
    background: #ffffff !important;
    border-right: 1px solid rgba(0, 0, 0, 0.06) !important;
    box-shadow: 1px 0 4px rgba(0, 0, 0, 0.015);
}

html[data-theme="dark"] .firebase-admin-sidebar {
    --firebase-sidebar-bg: #0f1726;
    --firebase-sidebar-logo-bg: #0f1726;
    --firebase-sidebar-border: rgba(255, 255, 255, 0.05);
    --firebase-sidebar-inset: transparent;
    --firebase-sidebar-panel-shadow: none;
    --firebase-sidebar-logo-shadow: none;
    --firebase-sidebar-text: rgba(255, 255, 255, 0.8);
    --firebase-sidebar-text-muted: rgba(255, 255, 255, 0.65);
    --firebase-sidebar-title: rgba(255, 255, 255, 0.72);
    --firebase-sidebar-hover-bg: rgba(255, 255, 255, 0.08);
    --firebase-sidebar-hover-text: #fff;
    --firebase-sidebar-outline: rgba(255, 255, 255, 0.12);
    --firebase-sidebar-btn-bg: rgba(255, 255, 255, 0.04);
    --firebase-sidebar-btn-bg-hover: rgba(255, 255, 255, 0.08);
    --firebase-sidebar-brand-text: #fff;
    background: #0f1726 !important;
    border-right: 1px solid rgba(255, 255, 255, 0.05) !important;
    box-shadow: none;
}

html[data-theme="dark"] .firebase-admin-sidebar .logo.logo-light,
html[data-theme="dark"] .firebase-admin-sidebar .logo.logo-dark {
    background: #0f1726 !important;
    border-bottom-color: transparent;
    box-shadow: none;
}

html[data-theme="light"] .firebase-admin-sidebar .logo.logo-light,
html[data-theme="light"] .firebase-admin-sidebar .logo.logo-dark {
    background: #ffffff !important;
    border-bottom-color: transparent;
    box-shadow: none;
}

html[data-sidenav-color="light"] .leftside-menu.firebase-admin-sidebar .logo,
html[data-sidenav-color="dark"] .leftside-menu.firebase-admin-sidebar .logo,
.firebase-admin-sidebar .logo.logo-light,
.firebase-admin-sidebar .logo.logo-dark {
    background: var(--firebase-sidebar-logo-bg) !important;
    border-bottom: 1px solid color-mix(in srgb, var(--firebase-sidebar-border) 92%, transparent);
    box-shadow: var(--firebase-sidebar-logo-shadow);
}

.firebase-admin-sidebar .logo .logo-lg,
.firebase-admin-sidebar .logo .logo-sm {
    background: transparent !important;
}

.firebase-admin-sidebar .button-sm-hover {
    color: var(--firebase-sidebar-text-muted);
}

.firebase-admin-sidebar .button-sm-hover:hover {
    color: var(--firebase-sidebar-hover-text);
}

.firebase-admin-sidebar-scroll {
    display: flex;
    flex-direction: column;
}

.firebase-admin-sidebar .simplebar-content {
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

.firebase-admin-sidebar .simplebar-content > .leftbar-user {
    display: none;
}

.firebase-side-nav {
    flex: 1 1 auto;
    padding-top: 0.35rem;
}

.firebase-side-nav-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    height: 54px;
    padding: 0.2rem 1rem 0.28rem;
    margin: 0.05rem 0.55rem 0.15rem !important;
    text-align: center;
    overflow: hidden;
}

.firebase-side-nav-brand h4 {
    margin: 0;
    font-size: 1.05rem;
    letter-spacing: 0.02em;
    color: var(--firebase-sidebar-brand-text);
    line-height: 1.15;
    width: 100%;
    text-align: center;
    white-space: nowrap;
}

.firebase-side-nav-brand-text {
    display: block;
    margin: 0;
    width: 100%;
    text-align: center;
    color: var(--firebase-sidebar-brand-text);
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    line-height: 1.15;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-rendering: geometricPrecision;
    -webkit-font-smoothing: antialiased;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

html.firebase-sidebar-preinit .firebase-admin-sidebar,
html.firebase-sidebar-preinit .firebase-admin-sidebar * {
    transition: none !important;
    animation: none !important;
}

html.firebase-sidebar-preinit .wrapper .content-page,
html.firebase-sidebar-preinit .wrapper .navbar-custom,
html.firebase-sidebar-preinit .wrapper .footer,
html.firebase-sidebar-preinit .wrapper .leftside-menu,
html.firebase-sidebar-preinit .wrapper .leftside-menu .logo {
    transition: none !important;
    animation: none !important;
}

html.firebase-sidebar-preinit .firebase-side-nav-brand-text {
    opacity: 0;
}

html:not(.firebase-sidebar-preinit) .firebase-side-nav-brand-text {
    opacity: 1;
    transition: opacity 0.12s ease;
}

.firebase-side-nav-title {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--firebase-sidebar-title);
    opacity: 1;
}

.firebase-admin-sidebar .side-nav .side-nav-item {
    margin: 0.15rem 0.55rem;
    overflow: hidden;
}

.firebase-admin-sidebar .side-nav .side-nav-link {
    border-radius: 14px;
    min-height: 42px;
    padding: 0.65rem 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--firebase-sidebar-text);
    transition: background-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
}

.firebase-admin-sidebar .side-nav .side-nav-link i {
    font-size: 1.1rem;
    width: 22px;
    min-width: 22px;
    text-align: center;
    line-height: 1;
    color: inherit;
}

.firebase-admin-sidebar .side-nav .side-nav-link span {
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: inherit;
}

.firebase-admin-sidebar .side-nav .side-nav-link:hover {
    background: var(--firebase-sidebar-hover-bg);
    color: var(--firebase-sidebar-hover-text);
}

html[data-theme="light"] .firebase-admin-sidebar .side-nav .side-nav-link {
    color: #64748b;
}

html[data-theme="light"] .firebase-admin-sidebar .side-nav .side-nav-link:hover,
html[data-theme="light"] .firebase-admin-sidebar .side-nav .side-nav-link:focus {
    background: rgba(37, 99, 235, 0.08);
    color: #0f172a;
}

html[data-theme="dark"] .firebase-admin-sidebar .side-nav .side-nav-link {
    color: #b9c7da;
}

html[data-theme="dark"] .firebase-admin-sidebar .side-nav .side-nav-link:hover,
html[data-theme="dark"] .firebase-admin-sidebar .side-nav .side-nav-link:focus {
    background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.025));
    color: #f8fbff;
}

.firebase-admin-sidebar .side-nav-item.firebase-side-nav-item-disabled > .firebase-side-nav-link-disabled {
    cursor: not-allowed;
    opacity: 0.55;
    pointer-events: none;
    user-select: none;
}

.firebase-coming-soon-badge {
    margin-left: auto;
    flex-shrink: 0;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: #dc2626;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
    padding: 0.18em 0.55em;
    border-radius: 20px;
    line-height: 1.4;
    box-shadow: 0 2px 6px rgba(220, 38, 38, 0.35);
}

.firebase-admin-sidebar .side-nav-item.firebase-side-nav-item-active > .side-nav-link,
.firebase-admin-sidebar .side-nav-item.mm-active > .side-nav-link {
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.9), rgba(59, 130, 246, 0.95));
    color: #fff;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.25);
}

html[data-theme="dark"] .firebase-admin-sidebar .side-nav-item.firebase-side-nav-item-active > .side-nav-link,
html[data-theme="dark"] .firebase-admin-sidebar .side-nav-item.mm-active > .side-nav-link {
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.22);
}

html[data-theme="light"] .firebase-admin-sidebar .side-nav-item.firebase-side-nav-item-active > .side-nav-link,
html[data-theme="light"] .firebase-admin-sidebar .side-nav-item.mm-active > .side-nav-link {
    box-shadow: 0 10px 22px rgba(37, 99, 235, 0.18);
}

.firebase-admin-sidebar .side-nav-item.firebase-side-nav-item-active > .side-nav-link i,
.firebase-admin-sidebar .side-nav-item.mm-active > .side-nav-link i {
    color: #fff;
}

.firebase-admin-sidebar .side-nav-item.firebase-side-nav-item-active > .side-nav-link span,
.firebase-admin-sidebar .side-nav-item.mm-active > .side-nav-link span {
    color: #fff;
}

/* Keep active sidebar item readable on hover/focus across light/dark themes */
.firebase-admin-sidebar .side-nav-item.firebase-side-nav-item-active > .side-nav-link:hover,
.firebase-admin-sidebar .side-nav-item.firebase-side-nav-item-active > .side-nav-link:focus,
.firebase-admin-sidebar .side-nav-item.mm-active > .side-nav-link:hover,
.firebase-admin-sidebar .side-nav-item.mm-active > .side-nav-link:focus {
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.9), rgba(59, 130, 246, 0.95)) !important;
    color: #fff !important;
}

.firebase-admin-sidebar .side-nav-item.firebase-side-nav-item-active > .side-nav-link:hover i,
.firebase-admin-sidebar .side-nav-item.firebase-side-nav-item-active > .side-nav-link:hover span,
.firebase-admin-sidebar .side-nav-item.firebase-side-nav-item-active > .side-nav-link:focus i,
.firebase-admin-sidebar .side-nav-item.firebase-side-nav-item-active > .side-nav-link:focus span,
.firebase-admin-sidebar .side-nav-item.mm-active > .side-nav-link:hover i,
.firebase-admin-sidebar .side-nav-item.mm-active > .side-nav-link:hover span,
.firebase-admin-sidebar .side-nav-item.mm-active > .side-nav-link:focus i,
.firebase-admin-sidebar .side-nav-item.mm-active > .side-nav-link:focus span {
    color: #fff !important;
    opacity: 1;
}

.firebase-sidebar-rail-toggle-item {
    display: none;
    margin-top: 0.2rem !important;
    margin-bottom: 0.35rem !important;
    padding-bottom: 0.3rem;
    border-bottom: 1px solid var(--firebase-sidebar-border);
}

.firebase-sidebar-rail-toggle {
    width: 100%;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.firebase-sidebar-rail-toggle:hover,
.firebase-sidebar-rail-toggle:focus {
    background: var(--firebase-sidebar-hover-bg);
    color: var(--firebase-sidebar-hover-text);
    outline: 0;
}

.firebase-sidebar-rail-toggle-label {
    font-weight: 600;
}

.firebase-sidebar-footer {
    margin-top: auto;
    padding: 0.65rem 0.55rem 0.85rem;
    border-top: 1px solid var(--firebase-sidebar-border);
}

.firebase-sidebar-collapse-btn {
    width: 100%;
    border: 1px solid var(--firebase-sidebar-outline);
    background: var(--firebase-sidebar-btn-bg);
    color: var(--firebase-sidebar-text);
    border-radius: 12px;
    min-height: 42px;
    padding: 0.5rem 0.85rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.65rem;
    transition: all 0.15s ease;
}

.firebase-sidebar-collapse-btn:hover,
.firebase-sidebar-collapse-btn:focus {
    background: var(--firebase-sidebar-btn-bg-hover);
    border-color: color-mix(in srgb, var(--firebase-sidebar-outline) 70%, var(--firebase-sidebar-hover-bg));
    outline: 0;
}

.firebase-sidebar-collapse-icon {
    font-size: 1.15rem;
    line-height: 1;
}

.firebase-sidebar-collapse-label {
    display: inline-block;
    font-size: 13.5px;
    font-weight: 550;
    line-height: 1;
}

html[data-sidenav-size="condensed"] .firebase-admin-sidebar .firebase-side-nav-brand,
html[data-sidenav-size="condensed"] .firebase-admin-sidebar .firebase-side-nav-title,
html[data-sidenav-size="condensed"] .firebase-admin-sidebar .side-nav .side-nav-link span,
html[data-sidenav-size="condensed"] .firebase-admin-sidebar .firebase-sidebar-collapse-label,
html[data-sidenav-size="condensed"] .firebase-admin-sidebar .button-sm-hover {
    display: none !important;
}

html[data-sidenav-size="condensed"] .firebase-admin-sidebar .side-nav .side-nav-item {
    margin: 0.2rem 0.4rem;
    width: auto !important;
    max-width: calc(100% - 0.8rem);
    overflow: hidden !important;
}

html[data-sidenav-size="condensed"] .firebase-admin-sidebar .side-nav .side-nav-link {
    justify-content: center !important;
    align-items: center !important;
    text-align: center;
    padding: 0.65rem 0.4rem !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    border-radius: 12px;
    min-height: 40px;
    gap: 0;
    width: 100% !important;
    max-width: 100% !important;
    left: auto !important;
    right: auto !important;
    position: relative !important;
    transform: none !important;
    margin: 0 !important;
    box-shadow: none;
    display: flex !important;
}

html[data-sidenav-size="condensed"] .firebase-admin-sidebar .side-nav .side-nav-link i {
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    display: block !important;
    text-align: center !important;
    line-height: 1 !important;
    font-size: 1.18rem;
    flex: 0 0 auto;
}

html[data-sidenav-size="condensed"] .firebase-admin-sidebar .side-nav .side-nav-item:hover > .side-nav-link,
html[data-sidenav-size="condensed"] .firebase-admin-sidebar .side-nav .side-nav-item.firebase-side-nav-item-active > .side-nav-link,
html[data-sidenav-size="condensed"] .firebase-admin-sidebar .side-nav .side-nav-item.mm-active > .side-nav-link {
    width: 100% !important;
    max-width: 100% !important;
}

html[data-sidenav-size="condensed"] .firebase-admin-sidebar .firebase-sidebar-rail-toggle-item {
    display: none;
}

html[data-sidenav-size="condensed"] .firebase-admin-sidebar .firebase-sidebar-footer {
    display: block;
}

html[data-sidenav-size="condensed"] .firebase-admin-sidebar .firebase-sidebar-collapse-btn {
    justify-content: center;
    padding: 0.45rem;
}

html[data-sidenav-size="condensed"] .firebase-admin-sidebar .firebase-sidebar-collapse-icon {
    margin: 0;
}

/* Hyper sets a fixed 70px icon width in condensed mode; keep icons visually centered in the custom sidebar rail */
html[data-sidenav-size="condensed"]:not(.authentication-bg) .wrapper .firebase-admin-sidebar .side-nav .side-nav-item .side-nav-link {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

html[data-sidenav-size="condensed"]:not(.authentication-bg) .wrapper .firebase-admin-sidebar .side-nav .side-nav-item .side-nav-link i {
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
}

/* Make the minimized logo fill the rail better and stay centered */
html[data-sidenav-size="condensed"] .firebase-admin-sidebar .logo {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 70px !important;
    min-width: 70px !important;
    text-align: center;
    padding: 0 !important;
}

html[data-sidenav-size="condensed"] .firebase-admin-sidebar .logo .logo-sm {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 70px;
    line-height: 1 !important;
}

html[data-sidenav-size="condensed"] .firebase-admin-sidebar .logo .logo-sm img {
    display: block;
    width: auto !important;
    height: auto !important;
    max-width: 46px;
    max-height: 46px;
    object-fit: contain;
}

html[data-sidenav-size="condensed"]:not([data-layout="topnav"]) .firebase-admin-sidebar,
html[data-sidenav-size="condensed"]:not([data-layout="topnav"]) .firebase-admin-sidebar:not(:hover) {
    position: fixed !important;
    top: 0;
    bottom: 0;
    left: 0;
    height: 100vh !important;
    overflow: hidden;
    z-index: 1035;
}

html[data-sidenav-size="condensed"]:not([data-layout="topnav"]) .firebase-admin-sidebar .firebase-admin-sidebar-scroll {
    height: calc(100vh - 70px);
}

html[data-sidenav-size="condensed"]:not(.authentication-bg) .wrapper .firebase-admin-sidebar .side-nav .side-nav-item:hover > .side-nav-link,
html[data-sidenav-size="condensed"]:not(.authentication-bg) .wrapper .firebase-admin-sidebar .side-nav .side-nav-item.firebase-side-nav-item-active > .side-nav-link,
html[data-sidenav-size="condensed"]:not(.authentication-bg) .wrapper .firebase-admin-sidebar .side-nav .side-nav-item.mm-active > .side-nav-link {
    width: 100% !important;
    max-width: 100% !important;
    left: auto !important;
    right: auto !important;
}

html[data-sidenav-size="default"] .firebase-admin-sidebar .firebase-sidebar-rail-toggle-item,
html[data-sidenav-size="full"] .firebase-admin-sidebar .firebase-sidebar-rail-toggle-item,
html[data-sidenav-size="sm-hover"] .firebase-admin-sidebar .firebase-sidebar-rail-toggle-item,
html[data-sidenav-size="sm-hover-active"] .firebase-admin-sidebar .firebase-sidebar-rail-toggle-item {
    display: none;
}

/* Explicit fallback for the custom Minimize control. This class is toggled by
   the sidebar itself, independently of Hyper's theme customizer. */
html.firebase-sidebar-condensed:not(.authentication-bg) .wrapper .leftside-menu.firebase-admin-sidebar {
    width: 70px !important;
    min-width: 70px !important;
    max-width: 70px !important;
}

html.firebase-sidebar-condensed:not(.authentication-bg) .wrapper .content-page {
    margin-left: 70px !important;
}

html.firebase-sidebar-condensed:not(.authentication-bg) .wrapper .navbar-custom,
html.firebase-sidebar-condensed:not(.authentication-bg) .wrapper .footer {
    left: 70px !important;
}

html.firebase-sidebar-condensed .firebase-admin-sidebar .logo {
    width: 70px !important;
    min-width: 70px !important;
}

html.firebase-sidebar-condensed .firebase-admin-sidebar .logo .logo-lg,
html.firebase-sidebar-condensed .firebase-admin-sidebar .firebase-side-nav-brand,
html.firebase-sidebar-condensed .firebase-admin-sidebar .firebase-side-nav-title,
html.firebase-sidebar-condensed .firebase-admin-sidebar .side-nav-link span,
html.firebase-sidebar-condensed .firebase-admin-sidebar .side-nav-second-level,
html.firebase-sidebar-condensed .firebase-admin-sidebar .menu-arrow,
html.firebase-sidebar-condensed .firebase-admin-sidebar .firebase-sidebar-collapse-label {
    display: none !important;
}

html.firebase-sidebar-condensed .firebase-admin-sidebar .logo .logo-sm {
    display: flex !important;
    align-items: center;
    justify-content: center;
}

html.firebase-sidebar-condensed .firebase-admin-sidebar .side-nav .side-nav-item {
    margin: 0.2rem 0.4rem !important;
}

html.firebase-sidebar-condensed .firebase-admin-sidebar .side-nav .side-nav-link,
html.firebase-sidebar-condensed .firebase-admin-sidebar .firebase-sidebar-collapse-btn {
    justify-content: center !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    gap: 0 !important;
}

html.firebase-sidebar-condensed .firebase-admin-sidebar .side-nav .side-nav-link i {
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
}

/* Keep the icon rail stable and prevent long menus from pushing the expand
   control outside the viewport. */
html.firebase-sidebar-condensed:not(.authentication-bg) .wrapper .leftside-menu.firebase-admin-sidebar,
html[data-sidenav-size="condensed"]:not(.authentication-bg) .wrapper .leftside-menu.firebase-admin-sidebar {
    position: fixed !important;
    inset: 0 auto 0 0 !important;
    height: 100vh !important;
    padding-top: 70px !important;
    overflow: hidden !important;
    z-index: 1035 !important;
}

html.firebase-sidebar-condensed .firebase-admin-sidebar .firebase-admin-sidebar-scroll,
html[data-sidenav-size="condensed"] .firebase-admin-sidebar .firebase-admin-sidebar-scroll {
    height: calc(100vh - 70px) !important;
    padding-bottom: 64px;
    overflow: hidden !important;
}

html.firebase-sidebar-condensed .firebase-admin-sidebar .simplebar-content,
html[data-sidenav-size="condensed"] .firebase-admin-sidebar .simplebar-content {
    min-height: calc(100vh - 70px) !important;
    padding-bottom: 64px !important;
}

html.firebase-sidebar-condensed .firebase-admin-sidebar .firebase-side-nav,
html[data-sidenav-size="condensed"] .firebase-admin-sidebar .firebase-side-nav {
    padding: 8px 0 68px !important;
}

html.firebase-sidebar-condensed .firebase-admin-sidebar .side-nav .side-nav-item,
html[data-sidenav-size="condensed"] .firebase-admin-sidebar .side-nav .side-nav-item {
    width: 54px !important;
    max-width: 54px !important;
    margin: 3px 8px !important;
}

html.firebase-sidebar-condensed .firebase-admin-sidebar .side-nav .side-nav-link,
html[data-sidenav-size="condensed"] .firebase-admin-sidebar .side-nav .side-nav-link {
    width: 54px !important;
    height: 44px !important;
    min-height: 44px !important;
    border-radius: 12px !important;
}

html.firebase-sidebar-condensed .firebase-admin-sidebar .firebase-sidebar-footer,
html[data-sidenav-size="condensed"] .firebase-admin-sidebar .firebase-sidebar-footer {
    position: fixed !important;
    left: 8px !important;
    bottom: 10px !important;
    z-index: 1040;
    display: block !important;
    width: 54px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: var(--firebase-sidebar-bg);
}

html.firebase-sidebar-condensed .firebase-admin-sidebar .firebase-sidebar-collapse-btn,
html[data-sidenav-size="condensed"] .firebase-admin-sidebar .firebase-sidebar-collapse-btn {
    width: 54px !important;
    height: 44px !important;
    min-height: 44px !important;
    border-radius: 12px !important;
}

html.firebase-sidebar-condensed .firebase-admin-sidebar .logo .logo-sm img,
html[data-sidenav-size="condensed"] .firebase-admin-sidebar .logo .logo-sm img {
    max-width: 48px !important;
    max-height: 48px !important;
}

html.firebase-sidebar-condensed:not(.authentication-bg) .wrapper .content-page,
html[data-sidenav-size="condensed"]:not(.authentication-bg) .wrapper .content-page,
html.firebase-sidebar-condensed:not(.authentication-bg) .wrapper .navbar-custom,
html[data-sidenav-size="condensed"]:not(.authentication-bg) .wrapper .navbar-custom,
html.firebase-sidebar-condensed:not(.authentication-bg) .wrapper .footer,
html[data-sidenav-size="condensed"]:not(.authentication-bg) .wrapper .footer {
    transition: margin-left .18s ease, left .18s ease !important;
}

@media (max-width: 991.98px) {
    html.firebase-sidebar-condensed:not(.authentication-bg) .wrapper .content-page,
    html[data-sidenav-size="condensed"]:not(.authentication-bg) .wrapper .content-page {
        margin-left: 0 !important;
    }

    html.firebase-sidebar-condensed:not(.authentication-bg) .wrapper .navbar-custom,
    html[data-sidenav-size="condensed"]:not(.authentication-bg) .wrapper .navbar-custom,
    html.firebase-sidebar-condensed:not(.authentication-bg) .wrapper .footer,
    html[data-sidenav-size="condensed"]:not(.authentication-bg) .wrapper .footer {
        left: 0 !important;
    }
}

@media (max-width: 991.98px) {
    .firebase-sidebar-footer {
        display: none;
    }
}

/* Topbar profile dropdown (global reusable) */
.topnav-navbar .button-toggle-menu {
    display: none !important;
}

.topnav-navbar .topbar-menu {
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

.topnav-navbar .topbar-menu > li {
    display: flex;
    align-items: center;
}

.topnav-navbar .topbar-menu > li > .nav-link {
    display: inline-flex;
    align-items: center;
}

.navbar-custom.topnav-navbar .detached-nav {
    position: relative;
}

.navbar-custom.topnav-navbar {
    border-bottom: 1px solid var(--firebase-topbar-border, rgba(148, 163, 184, 0.12)) !important;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

html[data-theme="light"] .navbar-custom.topnav-navbar,
body.analytics-dashboard-theme-light .navbar-custom.topnav-navbar {
    --firebase-topbar-border: rgba(0, 0, 0, 0.06);
    background: #ffffff !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.015);
}

html[data-theme="dark"] .navbar-custom.topnav-navbar,
body.analytics-dashboard-theme-dark .navbar-custom.topnav-navbar {
    --firebase-topbar-border: rgba(255, 255, 255, 0.05);
    background: #0f1726 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    box-shadow: none;
}

html[data-theme="light"] .topnav-navbar .topbar-menu > li > .nav-link,
html[data-theme="light"] .topnav-navbar .button-toggle-menu,
html[data-theme="light"] .topnav-navbar .topbar-menu .nav-link i {
    color: #64748b;
}

html[data-theme="light"] .topnav-navbar .topbar-menu > li > .nav-link:hover,
html[data-theme="light"] .topnav-navbar .topbar-menu > li > .nav-link:focus {
    color: #0f172a;
}

html[data-theme="dark"] .topnav-navbar .topbar-menu > li > .nav-link,
html[data-theme="dark"] .topnav-navbar .button-toggle-menu,
html[data-theme="dark"] .topnav-navbar .topbar-menu .nav-link i,
body.analytics-dashboard-theme-dark .topnav-navbar .topbar-menu > li > .nav-link,
body.analytics-dashboard-theme-dark .topnav-navbar .button-toggle-menu,
body.analytics-dashboard-theme-dark .topnav-navbar .topbar-menu .nav-link i {
    color: #c4d0e2;
}

html[data-theme="dark"] .topnav-navbar .topbar-menu > li > .nav-link:hover,
html[data-theme="dark"] .topnav-navbar .topbar-menu > li > .nav-link:focus,
body.analytics-dashboard-theme-dark .topnav-navbar .topbar-menu > li > .nav-link:hover,
body.analytics-dashboard-theme-dark .topnav-navbar .topbar-menu > li > .nav-link:focus {
    color: #edf4ff;
}

/* Workspace pages use the same global topbar theme as other pages */

.analytics-topbar-profile-trigger {
    display: inline-flex !important;
    align-items: center;
    justify-content: flex-start;
    gap: 0.45rem;
    padding: 0.3rem 0.55rem !important;
    min-height: 46px !important;
    height: 46px !important;
    width: auto !important;
    min-width: 180px !important;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.68);
    transition: all 0.15s ease;
    max-width: 260px;
    overflow: hidden;
    line-height: 1 !important;
    vertical-align: middle;
}

/* .analytics-topbar-profile-trigger:hover,
.analytics-topbar-profile-trigger:focus,
.show > .analytics-topbar-profile-trigger {
    border-color: rgba(37, 99, 235, 0.28);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
} */

.analytics-topbar-profile-trigger::after {
    display: none !important;
}

.analytics-topbar-profile-trigger .account-user-avatar {
    position: relative;
    margin-left: auto !important;
    margin-right: 0 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    line-height: 1;
    border-radius: 999px;
    overflow: hidden;
    flex: 0 0 34px;
    padding: 0 !important;
    background: transparent !important;
}

.analytics-topbar-profile-trigger .account-user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    margin: 0 !important;
    transform: none !important;
    border-radius: 999px;
    position: relative;
    inset: auto;
}

.analytics-topbar-profile-caret {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    flex: 0 0 auto;
    position: relative;
}

.analytics-topbar-profile-caret i {
    display: none;
}

.analytics-topbar-profile-caret::before {
    content: "";
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid currentColor;
}

.analytics-profile-status-dot {
    position: absolute;
    right: -1px;
    bottom: -1px;
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: #22c55e;
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.18);
}

.analytics-topbar-profile-trigger .analytics-profile-status-dot {
    display: none !important;
}

.analytics-topbar-profile-meta {
    display: inline-flex;
    flex-direction: column;
    line-height: 1.1;
    min-width: 0;
}

.analytics-topbar-profile-trigger .analytics-topbar-profile-meta {
    display: inline-flex !important;
    align-items: flex-start;
}

.analytics-topbar-profile-email {
    color: #64748b;
    font-size: 0.68rem;
    line-height: 1.05;
    max-width: 132px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

html[data-theme="dark"] .analytics-topbar-profile-trigger {
    background: rgba(30, 41, 59, 0.82);
    border-color: rgba(148, 163, 184, 0.22);
    box-shadow: 0 4px 14px rgba(2, 6, 23, 0.22);
}

html[data-theme="dark"] .analytics-topbar-profile-trigger:hover,
html[data-theme="dark"] .analytics-topbar-profile-trigger:focus,
html[data-theme="dark"] .show > .analytics-topbar-profile-trigger {
    background: rgba(30, 41, 59, 0.94);
    border-color: rgba(96, 165, 250, 0.28);
}

html[data-theme="light"] .analytics-topbar-profile-trigger,
body.analytics-dashboard-theme-light .analytics-topbar-profile-trigger {
    background: #ffffff;
    border-color: transparent;
    box-shadow: none;
}

html[data-theme="light"] .analytics-topbar-profile-trigger:hover,
html[data-theme="light"] .analytics-topbar-profile-trigger:focus,
html[data-theme="light"] .show > .analytics-topbar-profile-trigger,
body.analytics-dashboard-theme-light .analytics-topbar-profile-trigger:hover,
body.analytics-dashboard-theme-light .analytics-topbar-profile-trigger:focus,
body.analytics-dashboard-theme-light .show > .analytics-topbar-profile-trigger {
    background: #ffffff;
    border-color: transparent;
    box-shadow: none;
}

/* Labels notification popover (compact modern panel) */
#notice-list.labels-notice-popover {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 0.75rem;
    width: min(360px, calc(100vw - 1.5rem));
    max-width: 360px;
    max-height: min(460px, calc(100vh - 110px));
    margin: 0;
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
    overflow: hidden;
    z-index: 1105;
}

#notice-list.labels-notice-popover .labels-notice-popover-body {
    padding: 0;
}

.labels-notice-popover-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.9rem 0.95rem 0.8rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.16);
    background:
        linear-gradient(180deg, rgba(248, 250, 252, 0.98), rgba(255, 255, 255, 0.98));
}

.labels-notice-popover-title {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
}

.labels-notice-popover-subtitle {
    margin-top: 0.2rem;
    font-size: 0.72rem;
    color: #64748b;
    line-height: 1.25;
}

.labels-notice-close-btn {
    border: 1px solid rgba(148, 163, 184, 0.2);
    background: rgba(255, 255, 255, 0.9);
    color: #64748b;
    width: 28px;
    height: 28px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: all 0.15s ease;
    flex: 0 0 28px;
}

.labels-notice-close-btn:hover,
.labels-notice-close-btn:focus {
    color: #0f172a;
    background: #fff;
    border-color: rgba(96, 165, 250, 0.25);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
    outline: 0;
}

.labels-notice-list {
    max-height: min(372px, calc(100vh - 188px));
    overflow: auto;
    padding: 0.65rem 0.7rem 0.75rem;
    display: grid;
    gap: 0.55rem;
}

.labels-notice-item-card {
    margin: 0;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.14);
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.95), rgba(255, 255, 255, 0.98));
    box-shadow: none;
}

.labels-notice-item-card .labels-notice-item-body {
    padding: 0.7rem 0.8rem;
}

.labels-notice-item-title {
    margin: 0;
    font-size: 0.82rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.25;
}

.labels-notice-item-message {
    margin: 0.32rem 0 0;
    font-size: 0.76rem;
    line-height: 1.35;
    color: #64748b;
}

.labels-notice-item-time {
    margin: 0.4rem 0 0;
    font-size: 0.68rem;
    line-height: 1.15;
    color: #94a3b8;
}

.labels-notice-empty {
    padding: 1rem 0.85rem;
    border-radius: 12px;
    border: 1px dashed rgba(148, 163, 184, 0.22);
    color: #64748b;
    font-size: 0.78rem;
    line-height: 1.35;
    text-align: center;
    background: rgba(248, 250, 252, 0.85);
}

html[data-theme="dark"] #notice-list.labels-notice-popover,
body.analytics-dashboard-theme-dark #notice-list.labels-notice-popover {
    border-color: rgba(148, 163, 184, 0.16);
    background: linear-gradient(180deg, rgba(26, 36, 52, 0.97), rgba(20, 30, 45, 0.98));
    box-shadow: 0 20px 42px rgba(2, 6, 23, 0.42);
}

html[data-theme="dark"] .labels-notice-popover-head,
body.analytics-dashboard-theme-dark .labels-notice-popover-head {
    border-bottom-color: rgba(148, 163, 184, 0.14);
    background: linear-gradient(180deg, rgba(34, 47, 66, 0.95), rgba(26, 38, 56, 0.94));
}

html[data-theme="dark"] .labels-notice-popover-title,
body.analytics-dashboard-theme-dark .labels-notice-popover-title {
    color: #e8eef9;
}

html[data-theme="dark"] .labels-notice-popover-subtitle,
body.analytics-dashboard-theme-dark .labels-notice-popover-subtitle,
html[data-theme="dark"] .labels-notice-item-message,
body.analytics-dashboard-theme-dark .labels-notice-item-message {
    color: #a9b8cd;
}

html[data-theme="dark"] .labels-notice-close-btn,
body.analytics-dashboard-theme-dark .labels-notice-close-btn {
    border-color: rgba(148, 163, 184, 0.18);
    background: rgba(255, 255, 255, 0.03);
    color: #b8c6da;
}

html[data-theme="dark"] .labels-notice-close-btn:hover,
html[data-theme="dark"] .labels-notice-close-btn:focus,
body.analytics-dashboard-theme-dark .labels-notice-close-btn:hover,
body.analytics-dashboard-theme-dark .labels-notice-close-btn:focus {
    color: #eef4ff;
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(96, 165, 250, 0.24);
    box-shadow: 0 10px 20px rgba(2, 6, 23, 0.22);
}

html[data-theme="dark"] .labels-notice-item-card,
body.analytics-dashboard-theme-dark .labels-notice-item-card {
    border-color: rgba(148, 163, 184, 0.12);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.015));
}

html[data-theme="dark"] .labels-notice-item-title,
body.analytics-dashboard-theme-dark .labels-notice-item-title {
    color: #e6eefb;
}

html[data-theme="dark"] .labels-notice-item-time,
body.analytics-dashboard-theme-dark .labels-notice-item-time {
    color: #8193ad;
}

html[data-theme="dark"] .labels-notice-empty,
body.analytics-dashboard-theme-dark .labels-notice-empty {
    color: #a9b8cd;
    border-color: rgba(148, 163, 184, 0.16);
    background: rgba(255, 255, 255, 0.02);
}

@media (max-width: 767.98px) {
    #notice-list.labels-notice-popover {
        right: 0.5rem;
        width: calc(100vw - 1rem);
        max-height: calc(100vh - 96px);
    }

    .labels-notice-list {
        max-height: calc(100vh - 180px);
        padding: 0.6rem;
    }
}

/* Songs page modern UI (global reusable) */
.songs-modern-page.dashboard-analytics {
    padding-bottom: 1rem;
}

.songs-modern-page .page-title-box {
    margin-bottom: 0.75rem;
}

.songs-ui-page-title {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}

.songs-ui-hero-card .card-body {
    padding: 1rem 1.05rem;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.songs-ui-hero-head {
    display: flex;
    justify-content: space-between;
    gap: 0.9rem;
    align-items: flex-start;
    flex-wrap: wrap;
}

.songs-ui-hero-main {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    min-width: 0;
}

.songs-ui-hero-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(135deg, #2563eb, #06b6d4);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
    flex: 0 0 auto;
}

.songs-ui-hero-icon i {
    font-size: 1.2rem;
}

.songs-ui-hero-eyebrow {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--analytics-text-muted);
    font-weight: 700;
}

.songs-ui-hero-title {
    margin: 0.15rem 0 0.2rem;
    color: var(--analytics-text-strong);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.songs-ui-hero-subtitle {
    margin: 0;
    color: var(--analytics-text-muted);
    max-width: 640px;
}

.songs-ui-hero-mode-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.7rem;
    border-radius: 999px;
    border: 1px solid var(--analytics-chip-border);
    background: var(--analytics-chip-bg);
    color: var(--analytics-chip-text);
    font-weight: 700;
    font-size: 0.82rem;
}

.songs-ui-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
    margin-top: 0.9rem;
    flex: 1 1 auto;
    align-content: stretch;
    grid-auto-rows: minmax(98px, 1fr);
}

.songs-ui-stat-card {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.85rem 0.9rem;
    border-radius: 14px;
    border: 1px solid var(--analytics-border);
    background: color-mix(in srgb, var(--analytics-surface-solid) 94%, transparent);
    min-height: 98px;
}

.songs-ui-stat-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex: 0 0 auto;
}

.songs-ui-stat-card-total .songs-ui-stat-icon { background: linear-gradient(135deg, #2563eb, #3b82f6); }
.songs-ui-stat-card-approved .songs-ui-stat-icon { background: linear-gradient(135deg, #059669, #10b981); }
.songs-ui-stat-card-pending .songs-ui-stat-icon { background: linear-gradient(135deg, #d97706, #f59e0b); }
.songs-ui-stat-card-rejected .songs-ui-stat-icon { background: linear-gradient(135deg, #dc2626, #ef4444); }
.songs-ui-stat-card-checks-passed .songs-ui-stat-icon { background: linear-gradient(135deg, #0284c7, #38bdf8); }
.songs-ui-stat-card-expired .songs-ui-stat-icon { background: linear-gradient(135deg, #475569, #94a3b8); }

.songs-ui-stat-value {
    color: var(--analytics-text-strong);
    font-size: 1.15rem;
    line-height: 1.1;
    font-weight: 800;
}

.songs-ui-stat-label {
    color: var(--analytics-text-muted);
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 700;
    margin-top: 0.1rem;
}

.songs-ui-table-card .card-body {
    padding: 1rem;
    overflow: visible;
}

.songs-ui-table-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.songs-ui-table-title {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--analytics-text-strong);
    font-weight: 800;
    font-size: 1.12rem;
}

.songs-ui-table-subtitle {
    margin: 0.2rem 0 0;
    color: var(--analytics-text-muted);
    font-size: 0.78rem;
    line-height: 1.35;
}

.songs-ui-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border-radius: 999px;
    border: 1px solid var(--analytics-border);
    padding: 0.36rem 0.58rem;
    color: var(--analytics-text-muted);
    background: color-mix(in srgb, var(--analytics-surface-alt) 85%, transparent);
    font-weight: 700;
    font-size: 0.74rem;
}

.songs-ui-table-head-filter {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    flex: 1 1 520px;
    justify-content: flex-end;
    flex-wrap: wrap;
    min-width: 0;
    overflow: visible;
}

button.songs-ui-status-badge.songs-ui-status-badge-btn {
    appearance: none;
    -webkit-appearance: none;
    background: color-mix(in srgb, var(--analytics-surface-alt) 85%, transparent);
    color: var(--analytics-text-muted);
    cursor: pointer;
    box-shadow: none;
    line-height: 1;
}

button.songs-ui-status-badge.songs-ui-status-badge-btn:hover,
button.songs-ui-status-badge.songs-ui-status-badge-btn:focus {
    color: var(--analytics-accent);
    border-color: color-mix(in srgb, var(--analytics-accent) 26%, var(--analytics-border));
    background: color-mix(in srgb, var(--analytics-accent-soft) 42%, var(--analytics-surface-alt));
    outline: 0;
}

button.songs-ui-status-badge.songs-ui-status-badge-btn::after {
    margin-left: .2rem;
    vertical-align: middle;
}

.songs-ui-table-head-filter .songs-ui-dropdown-menu {
    min-width: 210px;
}

.songs-ui-table-head-filter .analytics-filter-menu {
    left: auto;
    right: 0;
    width: min(680px, calc(100vw - 28px));
    min-width: 600px;
    max-height: min(560px, calc(100vh - 140px));
}

.songs-ui-date-filter-form.songs-ui-date-filter-form-head {
    margin: 0;
    flex: 0 0 auto;
}

.songs-ui-table-date-icon-wrap {
    width: 42px;
    height: 42px;
    border-radius: 14px;
}

.songs-ui-table-date-icon-wrap .analytics-filter-date-icon-btn {
    border-radius: 14px;
}

.songs-ui-toolbar-wrap {
    border: 1px solid var(--analytics-border);
    border-radius: 14px;
    background: color-mix(in srgb, var(--analytics-surface-solid) 96%, transparent);
    padding: 0.65rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
    overflow: visible;
}

.songs-ui-toolbar-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    align-items: center;
}

.songs-ui-results-summary {
    color: var(--analytics-text-muted);
    font-size: 0.79rem;
    font-weight: 700;
    line-height: 1.35;
}

.songs-ui-table-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.songs-ui-toolbar-status,
.songs-ui-toolbar-actions,
.songs-ui-date-filter-form {
    min-width: 0;
}

.songs-ui-toolbar-actions {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    flex-wrap: wrap;
    flex: 0 0 auto;
}

.songs-ui-selection-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.38rem 0.55rem;
    border-radius: 11px;
    border: 1px solid var(--analytics-border);
    background: color-mix(in srgb, var(--analytics-surface-alt) 88%, transparent);
}

.songs-ui-selection-check {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0;
    color: var(--analytics-text);
    font-size: 0.83rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}

.songs-ui-selection-check input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--analytics-accent);
    cursor: pointer;
}

.users-select-all-check {
    gap: 0.5rem;
    margin: 0;
}

.users-select-all-check span {
    line-height: 1;
}

.songs-ui-selection-count {
    color: var(--analytics-text-muted);
    font-size: 0.76rem;
    font-weight: 700;
    white-space: nowrap;
}

.songs-ui-btn {
    min-height: 38px;
    border-radius: 11px;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 700;
    border: 1px solid transparent;
    padding: 0.38rem 0.65rem;
    box-shadow: none;
    font-size: 0.84rem;
    letter-spacing: 0.01em;
}

.songs-ui-btn i { font-size: 0.92rem; line-height: 1; }

.songs-ui-btn-soft {
    background: var(--analytics-chip-bg);
    color: var(--analytics-chip-text);
    border-color: var(--analytics-chip-border);
}

.songs-ui-btn-success {
    background: var(--analytics-success-bg);
    color: var(--analytics-success-text);
    border-color: var(--analytics-success-border);
}

.songs-ui-btn-danger {
    background: var(--analytics-danger-bg);
    color: var(--analytics-danger-text);
    border-color: var(--analytics-danger-border);
}

.songs-ui-btn-dark {
    background: color-mix(in srgb, var(--analytics-surface-alt) 90%, transparent);
    color: var(--analytics-text);
    border-color: var(--analytics-border);
}

.songs-ui-btn-info {
    background: var(--analytics-info-bg);
    color: var(--analytics-info-text);
    border-color: var(--analytics-info-border);
}

.songs-ui-btn-secondary {
    background: color-mix(in srgb, var(--analytics-surface-alt) 92%, transparent);
    color: var(--analytics-text-muted);
    border-color: var(--analytics-border);
}

.songs-ui-btn-secondary:not(:disabled):hover,
.songs-ui-btn-secondary:not(:disabled):focus {
    color: var(--analytics-text);
    border-color: color-mix(in srgb, var(--analytics-text-muted) 45%, var(--analytics-border));
}

.songs-sort-control {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    margin: 0;
    white-space: nowrap;
    color: var(--analytics-text-muted);
    font-size: .76rem;
    font-weight: 700;
}

.songs-sort-control .form-select {
    width: auto;
    min-width: 104px;
    min-height: 36px;
    padding-top: .25rem;
    padding-bottom: .25rem;
    border-color: var(--analytics-border);
    background-color: var(--analytics-surface-solid);
    color: var(--analytics-text);
}

.workspace-classic-form-shell {
    display: block;
}

.workspace-classic-form-shell .song-studio-form-panel {
    width: 100%;
    max-width: none;
}

.album-create-page .album-studio-card {
    display: block;
}

.album-create-page .album-studio-form-panel {
    width: min(100%, 1100px);
    margin-inline: auto;
}

.song-review-hero .card-body,
.song-review-hero-actions,
.song-review-grid,
.workspace-detail-grid {
    display: flex;
    gap: 1rem;
}

.song-review-hero .card-body {
    align-items: flex-start;
    justify-content: space-between;
}

.song-review-hero h1 { margin: .75rem 0 .35rem; }
.song-review-hero p { max-width: 760px; color: var(--analytics-text-muted); }
.song-review-hero-actions { flex-wrap: wrap; }
.song-review-grid { align-items: flex-start; margin-top: 1rem; }
.song-review-grid > section { flex: 1 1 65%; }
.song-review-grid > aside { flex: 1 1 35%; }
.workspace-detail-grid { flex-wrap: wrap; }
.workspace-detail-field {
    flex: 1 1 calc(50% - .5rem);
    min-width: 220px;
    padding: 1rem;
    border: 1px solid var(--analytics-border);
    border-radius: 14px;
    background: var(--analytics-surface-alt);
}
.workspace-detail-field span,
.workspace-detail-field strong { display: block; }
.workspace-detail-field span { color: var(--analytics-text-muted); font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.workspace-detail-field strong { margin-top: .35rem; color: var(--analytics-text-strong); }
.song-review-cover { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 16px; }
@media (max-width: 900px) {
    .song-review-grid { display: block; }
    .song-review-grid > * + * { margin-top: 1rem; }
    .song-review-hero .card-body { display: block; }
    .song-review-hero-actions { margin-top: 1rem; }
}

.songs-ui-btn-purple {
    background: rgba(192, 132, 252, 0.12);
    color: #7e22ce;
    border-color: rgba(192, 132, 252, 0.26);
}

html[data-theme="dark"] .songs-ui-btn-purple {
    background: rgba(192, 132, 252, 0.14);
    color: #d8b4fe;
    border-color: rgba(192, 132, 252, 0.24);
}

.songs-ui-btn:not(:disabled):hover,
.songs-ui-btn:not(:disabled):focus {
    transform: translateY(-1px);
    box-shadow: 0 8px 16px rgba(15, 23, 42, 0.06);
}

.songs-ui-btn-soft:not(:disabled):hover,
.songs-ui-btn-soft:not(:disabled):focus {
    border-color: color-mix(in srgb, var(--analytics-accent) 28%, var(--analytics-chip-border));
    background: color-mix(in srgb, var(--analytics-accent-soft) 60%, var(--analytics-chip-bg));
    color: var(--analytics-accent);
}

.songs-ui-btn-success:not(:disabled):hover,
.songs-ui-btn-success:not(:disabled):focus {
    background: color-mix(in srgb, var(--analytics-success-bg) 72%, #ffffff);
}

.songs-ui-btn-danger:not(:disabled):hover,
.songs-ui-btn-danger:not(:disabled):focus {
    background: color-mix(in srgb, var(--analytics-danger-bg) 72%, #ffffff);
}

.songs-ui-btn-dark:not(:disabled):hover,
.songs-ui-btn-dark:not(:disabled):focus {
    border-color: color-mix(in srgb, var(--analytics-accent) 26%, var(--analytics-border));
    color: var(--analytics-accent);
    background: color-mix(in srgb, var(--analytics-accent-soft) 38%, var(--analytics-surface-alt));
}

.songs-ui-btn-info:not(:disabled):hover,
.songs-ui-btn-info:not(:disabled):focus {
    background: color-mix(in srgb, var(--analytics-info-bg) 72%, #ffffff);
}

.songs-ui-btn-purple:not(:disabled):hover,
.songs-ui-btn-purple:not(:disabled):focus {
    background: rgba(192, 132, 252, 0.22);
}

.songs-ui-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.songs-ui-dropdown-menu {
    border-radius: 12px;
    border-color: var(--analytics-border);
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.12);
    background: var(--analytics-surface-solid);
}

.songs-ui-dropdown-menu .dropdown-item {
    color: var(--analytics-text);
    font-weight: 600;
}

.songs-ui-dropdown-menu .dropdown-item:hover,
.songs-ui-dropdown-menu .dropdown-item:focus {
    background: var(--analytics-accent-soft);
    color: var(--analytics-accent);
}

.songs-ui-date-filter-form {
    margin: 0;
    margin-left: auto;
    flex: 0 0 auto;
}

.songs-ui-date-icon-control {
    width: 38px;
    height: 38px;
}

.songs-ui-search-form {
    margin: 0;
    min-width: 0;
    width: auto;
    flex: 1 1 360px;
    max-width: 620px;
}

.songs-ui-search-box {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 38px;
    border-radius: 11px;
    border: 1px solid var(--analytics-border);
    background: color-mix(in srgb, var(--analytics-surface-solid) 96%, transparent);
    padding: 0 0.58rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    width: 100%;
}

.songs-ui-search-box:focus-within {
    border-color: var(--analytics-accent);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.songs-ui-search-icon {
    color: var(--analytics-text-muted);
    font-size: 0.94rem;
    flex: 0 0 auto;
}

.songs-ui-search-input {
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    min-height: 34px !important;
    padding: 0 !important;
    color: var(--analytics-text) !important;
    font-size: 0.9rem !important;
    line-height: 1.2;
}

.songs-ui-search-input::placeholder {
    color: var(--analytics-text-muted);
    font-size: 0.88rem;
}

.songs-ui-table-responsive {
    border: 1px solid var(--analytics-border);
    border-radius: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    background: color-mix(in srgb, var(--analytics-surface-solid) 96%, transparent);
    min-height: 116px;
}

.songs-ui-data-table {
    margin-bottom: 0 !important;
}

.songs-ui-data-table thead th {
    background: color-mix(in srgb, var(--analytics-surface-alt) 88%, transparent);
    color: var(--analytics-text-muted);
    border-bottom-color: var(--analytics-border);
    font-weight: 800;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding-top: 0.8rem !important;
    padding-bottom: 0.8rem !important;
}

.songs-ui-data-table tbody td {
    color: var(--analytics-text);
    border-color: color-mix(in srgb, var(--analytics-border) 75%, transparent);
    vertical-align: middle;
    font-size: 0.9rem;
    padding-top: 0.72rem !important;
    padding-bottom: 0.72rem !important;
}

.songs-ui-data-table tbody td.dataTables_empty {
    text-align: center;
    color: var(--analytics-text-muted);
    padding: 2rem 1rem !important;
}

.songs-ui-data-table tbody:empty::after {
    content: "";
    display: block;
    min-height: 72px;
}

.songs-ui-data-table tbody tr:hover {
    background: color-mix(in srgb, var(--analytics-accent-soft) 45%, transparent);
}

.songs-ui-data-table .action-icon {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--analytics-border);
    background: color-mix(in srgb, var(--analytics-surface-solid) 94%, transparent);
    color: var(--analytics-text-muted);
    margin-right: 0.15rem;
}

.songs-ui-data-table .action-icon:hover {
    color: var(--analytics-accent);
    border-color: color-mix(in srgb, var(--analytics-accent) 35%, var(--analytics-border));
    background: var(--analytics-accent-soft);
}

.songs-ui-data-table .action-icon i {
    font-size: 1rem;
}

.songs-ui-data-table .badge {
    font-size: 0.86rem !important;
    font-weight: 700;
    padding: 0.28rem 0.55rem;
    border-radius: 8px;
    letter-spacing: 0.01em;
}

.songs-ui-data-table input.row-select {
    width: 18px;
    height: 18px;
    accent-color: var(--analytics-accent);
    cursor: pointer;
}

.songs-ui-table-card .pagination {
    margin-top: 0.9rem;
}

.songs-ui-overview-shell {
    overflow: hidden;
}

.songs-ui-overview-shell > .card-body {
    padding: 0 !important;
}

.songs-ui-overview-toggle {
    width: 100%;
    border: 0;
    margin: 0;
    padding: .9rem 1rem;
    background:
        radial-gradient(circle at 10% -40%, color-mix(in srgb, var(--analytics-accent-soft) 80%, transparent), transparent 55%),
        linear-gradient(180deg, color-mix(in srgb, var(--analytics-surface-solid) 98%, transparent), color-mix(in srgb, var(--analytics-surface-alt) 94%, transparent));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    text-align: left;
    border-bottom: 1px solid color-mix(in srgb, var(--analytics-border) 85%, transparent);
    transition: background-color .18s ease, border-color .18s ease;
}

.songs-ui-overview-toggle:hover {
    background:
        radial-gradient(circle at 10% -40%, color-mix(in srgb, var(--analytics-accent-soft) 90%, transparent), transparent 58%),
        linear-gradient(180deg, color-mix(in srgb, var(--analytics-surface-solid) 99%, transparent), color-mix(in srgb, var(--analytics-surface-alt) 96%, transparent));
}

.songs-ui-overview-toggle:focus-visible {
    outline: none;
    box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--analytics-accent) 35%, transparent);
}

.songs-ui-overview-toggle-main {
    width: 100%;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .8rem;
    flex-wrap: wrap;
}

.songs-ui-overview-title-wrap {
    display: flex;
    align-items: center;
    gap: .65rem;
    min-width: 0;
}

.songs-ui-overview-icon {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, #2563eb, #0ea5e9 60%, #4f46e5);
    box-shadow: 0 10px 20px rgba(37, 99, 235, .18);
    flex: 0 0 auto;
}

.songs-ui-overview-title {
    color: var(--analytics-text-strong);
    font-weight: 800;
    letter-spacing: -.02em;
}

.songs-ui-overview-sub {
    margin-top: .1rem;
    color: var(--analytics-text-muted);
    font-size: .78rem;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: min(52vw, 560px);
}

.songs-ui-overview-summary {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: .45rem;
    flex-wrap: wrap;
}

.songs-ui-overview-toggle[aria-expanded="true"] .songs-ui-overview-summary {
    display: none;
}

.songs-ui-overview-chip,
.songs-ui-overview-rate {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--analytics-border) 85%, transparent);
    background: color-mix(in srgb, var(--analytics-surface-solid) 98%, transparent);
    color: var(--analytics-text-muted);
    padding: .35rem .6rem;
    font-size: .75rem;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

.songs-ui-overview-chip.is-success {
    color: #059669;
    border-color: rgba(16, 185, 129, .2);
    background: rgba(16, 185, 129, .08);
}

.songs-ui-overview-chip.is-warn {
    color: #d97706;
    border-color: rgba(245, 158, 11, .22);
    background: rgba(245, 158, 11, .09);
}

.songs-ui-overview-chip.is-danger {
    color: #dc2626;
    border-color: rgba(239, 68, 68, .2);
    background: rgba(239, 68, 68, .07);
}

.songs-ui-overview-chip.is-info {
    color: #0284c7;
    border-color: rgba(56, 189, 248, .22);
    background: rgba(56, 189, 248, .09);
}

.songs-ui-overview-chip.is-orange {
    color: #9333ea;
    border-color: rgba(192, 132, 252, .22);
    background: rgba(192, 132, 252, .09);
}

.songs-ui-overview-rate {
    color: color-mix(in srgb, var(--analytics-accent) 82%, var(--analytics-text));
    border-color: color-mix(in srgb, var(--analytics-accent) 24%, var(--analytics-border));
    background: color-mix(in srgb, var(--analytics-accent-soft) 55%, transparent);
}

.songs-ui-overview-chevron {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    color: var(--analytics-text-muted);
    background: color-mix(in srgb, var(--analytics-surface-alt) 88%, transparent);
    border: 1px solid color-mix(in srgb, var(--analytics-border) 85%, transparent);
    transition: transform .18s ease, color .18s ease, border-color .18s ease;
    flex: 0 0 auto;
}

.songs-ui-overview-toggle:hover .songs-ui-overview-chevron {
    color: var(--analytics-accent);
    border-color: color-mix(in srgb, var(--analytics-accent) 24%, var(--analytics-border));
}

.songs-ui-overview-toggle[aria-expanded="true"] .songs-ui-overview-chevron {
    transform: rotate(180deg);
}

.songs-ui-overview-content {
    padding: .95rem;
}

.songs-ui-top-grid .card {
    height: 100%;
}

.songs-ui-console-card .card-body {
    padding: 1rem 1rem .95rem;
    display: flex;
    flex-direction: column;
    gap: .9rem;
    min-height: 100%;
}

.songs-ui-console-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: .75rem;
}

.songs-ui-console-eyebrow {
    color: var(--analytics-text-muted);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.songs-ui-console-title {
    margin: .15rem 0 0;
    color: var(--analytics-text-strong);
    font-weight: 800;
    letter-spacing: -.02em;
}

.songs-ui-console-badge {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .38rem .55rem;
    border-radius: 999px;
    border: 1px solid var(--analytics-chip-border);
    background: var(--analytics-chip-bg);
    color: var(--analytics-chip-text);
    font-size: .74rem;
    font-weight: 700;
    white-space: nowrap;
}

.songs-ui-console-display {
    border-radius: 16px;
    border: 1px solid var(--analytics-border);
    background:
        radial-gradient(circle at 85% 10%, rgba(59,130,246,.14), transparent 38%),
        linear-gradient(160deg, rgba(15,23,42,.04), rgba(255,255,255,.02));
    padding: .85rem .9rem;
    position: relative;
    overflow: hidden;
}

.songs-ui-console-display::after {
    content: "";
    position: absolute;
    inset: auto -20px -30px auto;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    border: 1px solid color-mix(in srgb, var(--analytics-accent) 18%, transparent);
    opacity: .55;
}

.songs-ui-console-display-label {
    color: var(--analytics-text-muted);
    font-size: .72rem;
    letter-spacing: .08em;
    font-weight: 700;
    text-transform: uppercase;
}

.songs-ui-console-display-value {
    margin-top: .35rem;
    color: var(--analytics-text-strong);
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.2;
    max-width: 20ch;
}

.songs-ui-console-display-meta {
    margin-top: .35rem;
    color: var(--analytics-text-soft);
    font-size: .78rem;
}

.songs-ui-console-meter {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    gap: .85rem;
    align-items: center;
}

.songs-ui-console-meter-ring {
    --songs-approve-rate: 0;
    --songs-approve-color: #2563eb;
    width: 132px;
    height: 132px;
    border-radius: 50%;
    background:
        radial-gradient(circle at center, color-mix(in srgb, var(--analytics-surface-solid) 96%, transparent) 59%, transparent 60%),
        conic-gradient(var(--songs-approve-color) calc(var(--songs-approve-rate) * 1%), rgba(148,163,184,.18) 0);
    display: grid;
    place-items: center;
    border: 1px solid color-mix(in srgb, var(--analytics-border) 88%, transparent);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.25);
}

.songs-ui-console-meter-core {
    width: 86px;
    height: 86px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    text-align: center;
    background: color-mix(in srgb, var(--analytics-surface-solid) 96%, transparent);
    border: 1px solid color-mix(in srgb, var(--analytics-border) 82%, transparent);
}

.songs-ui-console-meter-value {
    display: block;
    color: var(--analytics-text-strong);
    font-weight: 800;
    font-size: 1.05rem;
    line-height: 1;
}

.songs-ui-console-meter-label {
    display: block;
    color: var(--analytics-text-muted);
    font-size: .64rem;
    margin-top: .15rem;
    text-transform: uppercase;
    letter-spacing: .07em;
    font-weight: 700;
}

.songs-ui-console-meter-stats {
    display: grid;
    gap: .45rem;
}

.songs-ui-console-mini-stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: .6rem;
    padding: .45rem .6rem;
    border-radius: 10px;
    border: 1px solid color-mix(in srgb, var(--analytics-border) 82%, transparent);
    background: color-mix(in srgb, var(--analytics-surface-alt) 86%, transparent);
}

.songs-ui-console-mini-stat .label {
    color: var(--analytics-text-muted);
    font-size: .78rem;
    font-weight: 600;
}

.songs-ui-console-mini-stat .value {
    color: var(--analytics-text-strong);
    font-weight: 800;
}

.songs-ui-console-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    margin-top: auto;
}

.songs-ui-console-pill {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    text-decoration: none;
    color: var(--analytics-text);
    font-weight: 700;
    font-size: .76rem;
    border-radius: 999px;
    padding: .38rem .58rem;
    border: 1px solid var(--analytics-border);
    background: color-mix(in srgb, var(--analytics-surface-solid) 96%, transparent);
}

.songs-ui-console-pill:hover,
.songs-ui-console-pill:focus {
    color: var(--analytics-accent);
    border-color: color-mix(in srgb, var(--analytics-accent) 28%, var(--analytics-border));
    background: color-mix(in srgb, var(--analytics-accent-soft) 44%, transparent);
}

.songs-ui-song-cell {
    min-width: 240px;
}

.songs-ui-song-media {
    display: flex;
    align-items: center;
    gap: .65rem;
    min-width: 0;
    position: relative;
    z-index: 1;
}

.songs-ui-song-cover {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    overflow: visible;
    background:
        radial-gradient(circle at 30% 20%, rgba(255,255,255,.18), transparent 46%),
        linear-gradient(135deg, #1d4ed8, #4f46e5 55%, #0ea5e9);
    box-shadow: 0 8px 18px rgba(37,99,235,.12);
    flex-shrink: 0;
    position: relative;
    isolation: isolate;
    transform-origin: center center;
    transition: transform .2s ease, box-shadow .2s ease;
    cursor: zoom-in;
}

.songs-ui-song-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: inherit;
    transition: transform .2s ease;
}

.songs-ui-song-media:hover,
.songs-ui-song-media:focus-within {
    z-index: 20;
}

.songs-ui-song-cover:hover,
.songs-ui-song-cover:focus-within {
    transform: scale(2.2);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.28);
}

.songs-ui-song-cover:hover img,
.songs-ui-song-cover:focus-within img {
    transform: scale(1.02);
}

.songs-ui-song-cover-fallback {
    color: #fff;
    font-weight: 800;
    font-size: .78rem;
    letter-spacing: .03em;
}

.songs-ui-song-copy {
    min-width: 0;
}

.songs-ui-song-title {
    display: block;
    color: var(--analytics-text-strong);
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 220px;
}

/* Resubmission indicator — shown when a pending song was previously rejected */
.rdc-resubmit-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 5px;
    vertical-align: middle;
    color: #f59e0b;
    font-size: 13px;
    line-height: 1;
    cursor: default;
    flex-shrink: 0;
    transition: color 0.15s ease;
}
.rdc-resubmit-badge:hover { color: #d97706; }
.rdc-resubmit-badge i { font-size: 18px; }

/* Flex row: keeps song title + resubmit badge on the same line */
.songs-ui-song-title-row {
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
}
.songs-ui-song-title-row .songs-ui-song-title {
    flex: 1 1 0;
    min-width: 0;
}

.songs-ui-song-meta {
    display: block;
    margin-top: .12rem;
    color: var(--analytics-text-soft);
    font-size: .73rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 220px;
}

.songs-ui-date-chip {
    display: inline-flex;
    align-items: center;
    padding: .35rem .55rem;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--analytics-border) 85%, transparent);
    background: color-mix(in srgb, var(--analytics-surface-alt) 90%, transparent);
    font-weight: 700;
    font-size: .76rem;
    color: var(--analytics-text);
    white-space: nowrap;
}

.songs-ui-uploaded-cell {
    min-width: 180px;
}

.songs-ui-uploader-stack {
    display: grid;
    gap: .12rem;
    min-width: 0;
}

.songs-ui-uploader-primary {
    display: block;
    color: var(--analytics-text);
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.songs-ui-uploader-secondary {
    display: block;
    color: var(--analytics-text-soft);
    font-size: .73rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.songs-ui-status-pill {
    border-radius: 999px !important;
    padding: .28rem .6rem !important;
    font-size: .78rem !important;
    font-weight: 700 !important;
}

.songs-ui-remarks-cell {
    max-width: 170px;
    color: var(--analytics-text-muted);
    font-size: .84rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.songs-ui-data-table th.songs-ui-remarks-col,
.songs-ui-data-table td.songs-ui-remarks-col {
    width: 170px;
    min-width: 170px;
    max-width: 170px;
}

.songs-ui-data-table th.songs-ui-action-col,
.songs-ui-data-table td.table-action {
    width: 132px;
    min-width: 132px;
    max-width: 132px;
    white-space: nowrap;
}

.songs-ui-data-table td.table-action {
    padding-left: .5rem !important;
    padding-right: .5rem !important;
}

@media (max-width: 1199.98px) {
    .songs-ui-console-card .card-body {
        gap: .75rem;
    }

    .songs-ui-console-meter {
        grid-template-columns: 120px minmax(0, 1fr);
    }

    .songs-ui-console-meter-ring {
        width: 120px;
        height: 120px;
    }

    .songs-ui-search-form {
        flex: 1 1 100%;
        max-width: none;
    }

    .songs-ui-toolbar-actions {
        justify-content: flex-start;
    }

    .songs-ui-date-filter-form {
        margin-left: 0;
        order: 3;
    }

    .songs-ui-overview-summary {
        width: 100%;
        justify-content: flex-start;
    }

    .songs-ui-overview-sub {
        max-width: 100%;
    }
}

@media (max-width: 991.98px) {
    .songs-ui-table-responsive {
        border: 0;
        background: transparent;
        overflow: visible;
    }

    .songs-ui-data-table {
        min-width: 0 !important;
    }

    .songs-ui-data-table thead {
        display: none;
    }

    .songs-ui-data-table tbody,
    .songs-ui-data-table tr,
    .songs-ui-data-table td {
        display: block;
        width: 100%;
    }

    .songs-ui-data-table tbody tr {
        border: 1px solid var(--analytics-border);
        border-radius: 12px;
        margin-bottom: .7rem;
        background: color-mix(in srgb, var(--analytics-surface-solid) 98%, transparent);
        overflow: hidden;
    }

    .songs-ui-data-table tbody td {
        display: flex;
        flex-wrap: wrap;
        align-items: flex-start;
        justify-content: space-between;
        gap: .45rem;
        border-bottom: 1px solid color-mix(in srgb, var(--analytics-border) 78%, transparent);
        padding: .62rem .72rem !important;
    }

    .songs-ui-data-table tbody td:last-child {
        border-bottom: 0;
    }

    .songs-ui-data-table tbody td::before {
        content: attr(data-label);
        color: var(--analytics-text-muted);
        font-size: .65rem;
        font-weight: 800;
        letter-spacing: .06em;
        text-transform: uppercase;
        line-height: 1.2;
        flex: 0 0 100%;
        margin-top: 0;
    }

    .songs-ui-song-cell,
    .songs-ui-uploaded-cell,
    .songs-ui-data-table td.songs-ui-remarks-col,
    .songs-ui-data-table td.table-action {
        min-width: 0;
        max-width: none;
        width: 100%;
    }

    .songs-ui-song-cell .songs-ui-song-media,
    .songs-ui-uploaded-cell .songs-ui-uploader-stack,
    .songs-ui-data-table td.songs-ui-remarks-col .songs-ui-remarks-cell,
    .songs-ui-data-table td[data-label="Play Song"] .songs-ui-audio-wrap {
        flex: 1 1 100%;
        min-width: 0;
    }

    .songs-ui-song-title,
    .songs-ui-song-meta,
    .songs-ui-remarks-cell {
        max-width: none;
    }

    .songs-ui-audio-wrap {
        display: flex;
        width: 100%;
        max-width: 100%;
        border-radius: 16px;
    }

    .songs-ui-audio-wrap audio {
        width: 100%;
    }

    .songs-ui-data-table td.table-action {
        align-items: center;
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .songs-ui-data-table td.table-action .action-icon {
        margin-right: .35rem;
    }

    .songs-ui-data-table td[data-label="Select"] {
        align-items: center;
    }

    .songs-ui-data-table td[data-label="Select"]::before {
        flex: 0 0 auto;
        min-width: 84px;
        margin: 0;
    }
}

@media (max-width: 767.98px) {
    .songs-ui-table-head-filter {
        width: 100%;
        justify-content: flex-end;
    }

    .songs-ui-table-head-filter .analytics-filter-menu {
        width: min(100vw - 20px, 680px);
        min-width: 0;
        right: 0;
        left: auto;
    }

    .songs-ui-overview-toggle {
        padding: .8rem .85rem;
        align-items: flex-start;
    }

    .songs-ui-overview-toggle-main {
        gap: .65rem;
    }

    .songs-ui-overview-title-wrap {
        width: 100%;
    }

    .songs-ui-overview-summary {
        width: 100%;
        gap: .4rem;
    }

    .songs-ui-overview-chip,
    .songs-ui-overview-rate {
        font-size: .72rem;
    }

    .songs-ui-overview-content {
        padding: .75rem;
    }

    .songs-ui-console-head {
        flex-wrap: wrap;
    }

    .songs-ui-console-badge {
        width: 100%;
        justify-content: center;
    }

    .songs-ui-console-meter {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    .songs-ui-console-meter-stats {
        width: 100%;
    }

    .songs-ui-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: minmax(92px, 1fr);
    }

    .songs-ui-toolbar-row {
        align-items: stretch;
    }

    .songs-ui-toolbar-actions {
        width: 100%;
    }

    .songs-ui-selection-toggle {
        width: 100%;
        justify-content: space-between;
    }

    .songs-ui-date-filter-form {
        order: 0;
        margin-left: 0;
    }

    .songs-ui-search-form {
        flex: 1 1 100%;
        width: 100%;
    }

    .songs-ui-btn {
        flex: 1 1 calc(50% - 0.3rem);
        justify-content: center;
        font-size: 0.8rem;
    }

    .songs-ui-song-title,
    .songs-ui-song-meta {
        max-width: 170px;
    }

    .songs-ui-toolbar-status .songs-ui-btn-soft {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 575.98px) {
    .songs-ui-console-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .songs-ui-console-pill {
        justify-content: center;
    }

    .songs-ui-stat-grid {
        grid-template-columns: 1fr;
    }

    .songs-ui-toolbar-actions .songs-ui-btn {
        flex: 1 1 100%;
    }

    .songs-ui-selection-toggle {
        flex-direction: column;
        align-items: flex-start;
        gap: .35rem;
    }

    .songs-ui-song-title,
    .songs-ui-song-meta {
        max-width: none;
    }
}

.analytics-topbar-profile-meta .account-user-name {
    font-weight: 700;
    color: #0f172a;
    font-size: 0.9rem;
    max-width: 132px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.05;
}

.analytics-topbar-profile-meta .account-position {
    color: #64748b;
    font-weight: 600;
    font-size: 0.68rem;
    line-height: 1.05;
}

.analytics-profile-dropdown {
    width: 286px;
    min-width: 286px;
    padding: 0.4rem;
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.14);
    background: rgba(255, 255, 255, 0.98);
}

.analytics-profile-dropdown-head {
    display: flex;
    gap: 0.65rem;
    align-items: center;
    padding: 0.5rem 0.55rem;
    border-radius: 10px;
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.92), rgba(241, 245, 249, 0.92));
    border: 1px solid rgba(148, 163, 184, 0.12);
}

.analytics-profile-dropdown-avatar-wrap {
    position: relative;
    flex-shrink: 0;
}

.analytics-profile-dropdown-avatar {
    width: 38px;
    height: 38px;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.85);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
}

.analytics-profile-dropdown-badge {
    position: absolute;
    right: -6px;
    bottom: -6px;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.62rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    border: 2px solid #fff;
}

.analytics-profile-dropdown-meta {
    min-width: 0;
}

.analytics-profile-dropdown-name {
    color: #0f172a;
    font-weight: 700;
    line-height: 1.15;
    font-size: 0.9rem;
}

.analytics-profile-dropdown-role {
    margin-top: 0.08rem;
    font-size: 0.7rem;
    color: #475569;
    font-weight: 600;
}

.analytics-profile-dropdown-email {
    margin-top: 0.08rem;
    font-size: 0.68rem;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 185px;
}

.analytics-profile-dropdown-pills {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    margin-top: 0.45rem;
    padding-inline: 0.15rem;
}

.analytics-profile-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    border-radius: 999px;
    padding: 0.22rem 0.52rem;
    font-size: 0.67rem;
    font-weight: 600;
    border: 1px solid rgba(148, 163, 184, 0.16);
    color: #475569;
    background: rgba(248, 250, 252, 0.78);
}

.analytics-profile-pill-role {
    color: #1d4ed8;
    border-color: rgba(59, 130, 246, 0.2);
    background: rgba(37, 99, 235, 0.08);
}

.analytics-profile-pill-online {
    color: #166534;
    border-color: rgba(34, 197, 94, 0.2);
    background: rgba(34, 197, 94, 0.08);
}

.analytics-profile-pill-dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #22c55e;
}

.analytics-profile-dropdown-item {
    border-radius: 9px;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 0.6rem !important;
    color: #0f172a;
    font-weight: 500;
    font-size: 0.88rem;
}

.analytics-profile-dropdown-item i {
    color: #64748b;
    font-size: 0.95rem;
}

.analytics-profile-dropdown-item:hover,
.analytics-profile-dropdown-item:focus,
.analytics-profile-dropdown-item-card:hover,
.analytics-profile-dropdown-item-card:focus {
    background: rgba(37, 99, 235, 0.08);
    color: #1d4ed8;
}

.analytics-profile-dropdown-item-danger {
    color: #b42318;
}

.analytics-profile-dropdown-item-danger i {
    color: #ef4444;
}

.analytics-profile-dropdown-item-danger:hover,
.analytics-profile-dropdown-item-danger:focus {
    background: rgba(239, 68, 68, 0.08);
    color: #b42318;
}

.analytics-profile-dropdown-divider {
    margin: 0.35rem 0;
    border-top-color: rgba(148, 163, 184, 0.15);
}

html[data-theme="dark"] .analytics-topbar-profile-trigger,
body.analytics-dashboard-theme-dark .analytics-topbar-profile-trigger {
    background: rgba(17, 24, 39, 0.85);
    border-color: rgba(148, 163, 184, 0.18);
}

html[data-theme="dark"] .analytics-topbar-profile-meta .account-user-name,
body.analytics-dashboard-theme-dark .analytics-topbar-profile-meta .account-user-name {
    color: #e5edf8;
}

html[data-theme="dark"] .analytics-topbar-profile-meta .account-position,
body.analytics-dashboard-theme-dark .analytics-topbar-profile-meta .account-position {
    color: #b6c2d9;
}

html[data-theme="dark"] .analytics-topbar-profile-email,
html[data-theme="dark"] .analytics-topbar-profile-caret,
body.analytics-dashboard-theme-dark .analytics-topbar-profile-email,
body.analytics-dashboard-theme-dark .analytics-topbar-profile-caret {
    color: #b6c2d9;
}

html[data-theme="dark"] .analytics-profile-status-dot,
body.analytics-dashboard-theme-dark .analytics-profile-status-dot {
    border-color: #111827;
}

html[data-theme="dark"] .analytics-profile-dropdown,
body.analytics-dashboard-theme-dark .analytics-profile-dropdown {
    background: rgba(17, 24, 39, 0.98);
    border-color: rgba(148, 163, 184, 0.18);
    box-shadow: 0 24px 48px rgba(2, 6, 23, 0.42);
}

html[data-theme="dark"] .analytics-profile-dropdown-head,
body.analytics-dashboard-theme-dark .analytics-profile-dropdown-head {
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.88), rgba(15, 23, 42, 0.88));
    border-color: rgba(148, 163, 184, 0.14);
}

html[data-theme="dark"] .analytics-profile-dropdown-name,
html[data-theme="dark"] .analytics-profile-dropdown-item,
body.analytics-dashboard-theme-dark .analytics-profile-dropdown-name,
body.analytics-dashboard-theme-dark .analytics-profile-dropdown-item {
    color: #e5edf8;
}

html[data-theme="dark"] .analytics-profile-dropdown-role,
html[data-theme="dark"] .analytics-profile-dropdown-email,
html[data-theme="dark"] .analytics-profile-dropdown-item i,
body.analytics-dashboard-theme-dark .analytics-profile-dropdown-role,
body.analytics-dashboard-theme-dark .analytics-profile-dropdown-email,
body.analytics-dashboard-theme-dark .analytics-profile-dropdown-item i {
    color: #b6c2d9;
}

html[data-theme="dark"] .analytics-profile-pill,
body.analytics-dashboard-theme-dark .analytics-profile-pill {
    background: rgba(30, 41, 59, 0.55);
    border-color: rgba(148, 163, 184, 0.14);
    color: #dbe5f5;
}

html[data-theme="dark"] .analytics-profile-pill-role,
body.analytics-dashboard-theme-dark .analytics-profile-pill-role {
    background: rgba(96, 165, 250, 0.14);
    border-color: rgba(96, 165, 250, 0.2);
    color: #bfdbfe;
}

html[data-theme="dark"] .analytics-profile-pill-online,
body.analytics-dashboard-theme-dark .analytics-profile-pill-online {
    background: rgba(34, 197, 94, 0.12);
    border-color: rgba(34, 197, 94, 0.2);
    color: #bbf7d0;
}

html[data-theme="dark"] .analytics-profile-dropdown-item:hover,
html[data-theme="dark"] .analytics-profile-dropdown-item:focus,
html[data-theme="dark"] .analytics-profile-dropdown-item-card:hover,
html[data-theme="dark"] .analytics-profile-dropdown-item-card:focus,
body.analytics-dashboard-theme-dark .analytics-profile-dropdown-item:hover,
body.analytics-dashboard-theme-dark .analytics-profile-dropdown-item:focus,
body.analytics-dashboard-theme-dark .analytics-profile-dropdown-item-card:hover,
body.analytics-dashboard-theme-dark .analytics-profile-dropdown-item-card:focus {
    background: rgba(96, 165, 250, 0.14);
    color: #dbeafe;
}

html[data-theme="dark"] .analytics-profile-dropdown-divider,
body.analytics-dashboard-theme-dark .analytics-profile-dropdown-divider {
    border-top-color: rgba(148, 163, 184, 0.14);
}

@media (max-width: 991.98px) {
    .analytics-topbar-profile-meta {
        display: none;
    }

    .analytics-topbar-profile-trigger {
        padding: 0.25rem 0.35rem !important;
        gap: 0.35rem;
        min-height: 40px !important;
        height: 40px !important;
        min-width: 84px !important;
        max-width: none;
    }

    .analytics-topbar-profile-trigger::after {
        display: none;
    }

    .analytics-topbar-profile-trigger .account-user-avatar {
        width: 28px;
        height: 28px;
        flex-basis: 28px;
    }
}

@media (max-width: 575.98px) {
    .analytics-profile-dropdown {
        min-width: 260px;
        width: min(286px, calc(100vw - 20px));
        right: 8px !important;
        left: auto !important;
    }
}

/* Labels topbar profile trigger (moved from labels/topbar.php) */
.labels-topbar-profile-trigger {
    display: inline-flex !important;
    align-items: center;
    gap: .45rem;
    min-height: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, .22);
    background: rgba(255, 255, 255, .9);
    padding: .28rem .55rem !important;
    max-width: 280px;
}

.labels-topbar-profile-trigger .labels-topbar-profile-caret {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    color: #64748b;
    flex: 0 0 auto;
    position: relative;
}

.labels-topbar-profile-trigger .labels-topbar-profile-caret i {
    display: none;
}

.labels-topbar-profile-trigger .labels-topbar-profile-caret::before {
    content: "";
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid currentColor;
}

.labels-topbar-profile-trigger .account-user-avatar {
    width: 34px;
    height: 34px;
    min-width: 34px;
    margin-left: auto !important;
    margin-right: 0 !important;
}

.labels-topbar-profile-trigger .account-user-avatar img {
    width: 34px;
    height: 34px;
    object-fit: cover;
}

.labels-topbar-profile-meta {
    display: inline-flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.05;
}

.labels-topbar-profile-meta .account-user-name {
    font-weight: 700;
    color: #0f172a;
    max-width: 150px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.labels-topbar-profile-email {
    color: #64748b;
    font-size: .68rem;
    max-width: 150px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 991.98px) {
    .labels-topbar-profile-meta {
        display: none;
    }

    .labels-topbar-profile-trigger {
        padding: .25rem .4rem !important;
        min-height: 40px;
        height: 40px;
    }

    .labels-topbar-profile-trigger .account-user-avatar,
    .labels-topbar-profile-trigger .account-user-avatar img {
        width: 28px;
        height: 28px;
        min-width: 28px;
    }
}

/* Firebase-like dashboard overview analytics module */
.analytics-overview-count-chip {
    font-weight: 700;
    background: #ffffff;
}

.analytics-overview-count-chip-link {
    text-decoration: none !important;
    color: inherit !important;
    transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease, color .14s ease;
}

.analytics-overview-count-chip-link:hover,
.analytics-overview-count-chip-link:focus {
    color: inherit !important;
    border-color: color-mix(in srgb, var(--analytics-accent) 30%, var(--analytics-border)) !important;
    box-shadow: 0 8px 16px rgba(15, 23, 42, 0.06);
    transform: translateY(-1px);
}

.analytics-overview-count-chip i {
    font-size: 0.95rem;
}

.analytics-overview-count-chip-disabled,
.rdc-disabled-link {
    cursor: not-allowed;
    opacity: 0.5;
    pointer-events: none;
    user-select: none;
}

.analytics-dashboard-overview-shell {
    overflow: hidden;
    padding: 0.6rem;
}

html[data-theme="dark"] .dashboard-analytics .analytics-dashboard-overview-shell,
body.analytics-dashboard-theme-dark .dashboard-analytics .analytics-dashboard-overview-shell,
.dashboard-analytics[data-analytics-theme="dark"] .analytics-dashboard-overview-shell,
body.analytics-dashboard-theme-dark .analytics-dashboard-overview-shell {
    background: var(--analytics-surface-solid);
}

.analytics-dashboard-overview-shell > .row {
    --bs-gutter-x: 0;
    margin-left: 0;
    margin-right: 0;
}

.analytics-dashboard-overview-shell > .row > [class*="col-"] {
    padding-left: 0;
    padding-right: 0;
}

.analytics-dashboard-overview-shell .analytics-hero,
.analytics-dashboard-overview-shell .analytics-firebase-panel {
    background: transparent;
    border: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.analytics-dashboard-overview-shell .analytics-firebase-panel.analytics-card:hover {
    border-color: transparent;
    box-shadow: none;
    transform: none;
}

.analytics-dashboard-overview-shell .analytics-hero {
    padding: 0.4rem 0.4rem 0.8rem;
}

.analytics-dashboard-overview-shell .analytics-firebase-panel .card-body {
    padding: 0.55rem 0.4rem 0.4rem;
}

.analytics-dashboard-overview-shell .analytics-filter-chip,
.analytics-dashboard-overview-shell .analytics-range-pill {
    background: #ffffff;
    border-color: var(--analytics-border);
    color: var(--analytics-text-muted);
}

html[data-theme="dark"] .dashboard-analytics .analytics-dashboard-overview-shell .analytics-filter-chip,
html[data-theme="dark"] .dashboard-analytics .analytics-dashboard-overview-shell .analytics-range-pill,
body.analytics-dashboard-theme-dark .dashboard-analytics .analytics-dashboard-overview-shell .analytics-filter-chip,
body.analytics-dashboard-theme-dark .dashboard-analytics .analytics-dashboard-overview-shell .analytics-range-pill,
.dashboard-analytics[data-analytics-theme="dark"] .analytics-dashboard-overview-shell .analytics-filter-chip,
.dashboard-analytics[data-analytics-theme="dark"] .analytics-dashboard-overview-shell .analytics-range-pill,
body.analytics-dashboard-theme-dark .analytics-dashboard-overview-shell .analytics-filter-chip,
body.analytics-dashboard-theme-dark .analytics-dashboard-overview-shell .analytics-range-pill {
    background: color-mix(in srgb, var(--analytics-surface-alt) 82%, transparent);
    border-color: color-mix(in srgb, var(--analytics-border) 95%, transparent);
    color: var(--analytics-chip-text);
}

.analytics-firebase-panel {
    border-radius: 18px;
}

.analytics-firebase-panel .card-body {
    padding: 1rem;
}

.analytics-firebase-panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.85rem;
    margin-bottom: 0.9rem;
}

.analytics-firebase-panel-action {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid var(--analytics-border);
    background: var(--analytics-surface-solid);
    color: var(--analytics-text-muted);
}

.analytics-firebase-panel-action:hover,
.analytics-firebase-panel-action:focus {
    color: var(--analytics-accent);
    border-color: var(--analytics-accent);
    background: #ffffff;
}

html[data-theme="dark"] .dashboard-analytics .analytics-firebase-panel-action:hover,
html[data-theme="dark"] .dashboard-analytics .analytics-firebase-panel-action:focus,
body.analytics-dashboard-theme-dark .dashboard-analytics .analytics-firebase-panel-action:hover,
body.analytics-dashboard-theme-dark .dashboard-analytics .analytics-firebase-panel-action:focus,
.dashboard-analytics[data-analytics-theme="dark"] .analytics-firebase-panel-action:hover,
.dashboard-analytics[data-analytics-theme="dark"] .analytics-firebase-panel-action:focus,
body.analytics-dashboard-theme-dark .analytics-firebase-panel-action:hover,
body.analytics-dashboard-theme-dark .analytics-firebase-panel-action:focus {
    background: color-mix(in srgb, var(--analytics-accent-soft) 62%, var(--analytics-surface-solid));
    box-shadow: 0 0 0 3px rgba(106, 169, 255, 0.1);
}

.analytics-firebase-inner-card {
    border: 1px solid color-mix(in srgb, var(--analytics-border) 88%, transparent);
    background: color-mix(in srgb, var(--analytics-surface-solid) 95%, transparent);
    border-radius: 14px;
    padding: 0.85rem;
    height: 100%;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
}

.analytics-firebase-inner-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.6rem;
    margin-bottom: 0.65rem;
}

.analytics-firebase-inner-head-stack {
    display: block;
    margin-bottom: 0.45rem;
}

.analytics-firebase-metric-label {
    font-size: 0.76rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--analytics-text-muted);
    font-weight: 700;
}

.analytics-firebase-metric-value {
    font-size: 1.75rem;
    line-height: 1.1;
    font-weight: 700;
    color: var(--analytics-text-strong);
    letter-spacing: -0.02em;
    margin-top: 0.15rem;
}

.analytics-firebase-metric-sub {
    font-size: 0.76rem;
    color: var(--analytics-text-muted);
    margin-top: 0.15rem;
}

.analytics-firebase-mini-pill {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.23rem 0.55rem;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--analytics-text-muted);
    background: #ffffff;
    border: 1px solid var(--analytics-border);
    white-space: nowrap;
}

html[data-theme="dark"] .dashboard-analytics .analytics-firebase-mini-pill,
body.analytics-dashboard-theme-dark .dashboard-analytics .analytics-firebase-mini-pill,
.dashboard-analytics[data-analytics-theme="dark"] .analytics-firebase-mini-pill,
body.analytics-dashboard-theme-dark .analytics-firebase-mini-pill {
    background: color-mix(in srgb, var(--analytics-surface-alt) 84%, transparent);
    border-color: color-mix(in srgb, var(--analytics-border) 92%, transparent);
    color: var(--analytics-text-muted);
}

.analytics-chart-wrap-md {
    height: 210px;
}

.analytics-chart-wrap-xs {
    height: 165px;
}

.analytics-chart-wrap-firebase {
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid color-mix(in srgb, var(--analytics-border) 75%, transparent);
    padding: 0.35rem;
}

html[data-theme="dark"] .dashboard-analytics .analytics-chart-wrap-firebase,
body.analytics-dashboard-theme-dark .dashboard-analytics .analytics-chart-wrap-firebase,
.dashboard-analytics[data-analytics-theme="dark"] .analytics-chart-wrap-firebase,
body.analytics-dashboard-theme-dark .analytics-chart-wrap-firebase {
    background:
        linear-gradient(180deg, rgba(22, 34, 53, 0.9) 0%, rgba(18, 28, 44, 0.92) 100%);
    border-color: color-mix(in srgb, var(--analytics-border) 88%, transparent);
}

.analytics-chart-wrap-no-grid {
    background: transparent;
    border: 0;
    padding: 0;
}

.analytics-firebase-pie-card .analytics-firebase-metric-value {
    font-size: 1.55rem;
}

.analytics-firebase-pie-card {
    display: flex;
    flex-direction: column;
}

.analytics-firebase-status-list {
    display: flex;
    gap: 0.35rem;
    flex-wrap: wrap;
    margin-top: auto;
    padding-top: 0.4rem;
}

.analytics-firebase-status-list .analytics-chip {
    font-size: 0.66rem;
    padding: 0.2rem 0.45rem;
}

.analytics-firebase-stat-card {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    border: 1px solid color-mix(in srgb, var(--analytics-border) 86%, transparent);
    background: color-mix(in srgb, var(--analytics-surface-solid) 95%, transparent);
    border-radius: 14px;
    padding: 0.75rem 0.8rem;
    height: 100%;
}

.analytics-firebase-stat-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: #f3f4f6;
    color: var(--analytics-accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

html[data-theme="dark"] .dashboard-analytics .analytics-firebase-stat-icon,
body.analytics-dashboard-theme-dark .dashboard-analytics .analytics-firebase-stat-icon,
.dashboard-analytics[data-analytics-theme="dark"] .analytics-firebase-stat-icon,
body.analytics-dashboard-theme-dark .analytics-firebase-stat-icon {
    background: color-mix(in srgb, var(--analytics-surface-alt) 80%, rgba(255, 255, 255, 0.02));
    color: #84b8ff;
    border: 1px solid color-mix(in srgb, var(--analytics-border) 82%, transparent);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

html[data-theme="dark"] .dashboard-analytics .analytics-chart-wrap-firebase canvas,
body.analytics-dashboard-theme-dark .dashboard-analytics .analytics-chart-wrap-firebase canvas,
.dashboard-analytics[data-analytics-theme="dark"] .analytics-chart-wrap-firebase canvas,
body.analytics-dashboard-theme-dark .analytics-chart-wrap-firebase canvas {
    filter: drop-shadow(0 8px 16px rgba(2, 6, 23, 0.12));
}

.analytics-firebase-stat-title {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--analytics-text-muted);
    font-weight: 700;
}

.analytics-firebase-stat-value {
    margin-top: 0.1rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--analytics-text-strong);
    line-height: 1.05;
}

html[data-theme="dark"] .analytics-firebase-inner-card,
body.analytics-dashboard-theme-dark .analytics-firebase-inner-card,
html[data-theme="dark"] .analytics-firebase-stat-card,
body.analytics-dashboard-theme-dark .analytics-firebase-stat-card {
    box-shadow: none;
}

@media (max-width: 1199.98px) {
    .analytics-chart-wrap-md {
        height: 190px;
    }
}

@media (max-width: 991.98px) {
    .analytics-firebase-panel-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .analytics-chart-wrap-md {
        height: 180px;
    }

    .analytics-chart-wrap-xs {
        height: 150px;
    }
}

@media (max-width: 767.98px) {
    .analytics-firebase-panel .card-body {
        padding: 0.85rem;
    }

    .analytics-firebase-inner-card {
        padding: 0.75rem;
    }

    .analytics-firebase-metric-value {
        font-size: 1.45rem;
    }

    .analytics-firebase-pie-card .analytics-firebase-metric-value {
        font-size: 1.35rem;
    }

    .analytics-chart-wrap-md {
        height: 170px;
    }

    .analytics-overview-count-chip {
        flex: 1 1 calc(50% - 0.5rem);
        justify-content: center;
    }
}

/* Rounded topbar profile badge (desktop) */
@media (min-width: 992px) {
    .analytics-topbar-profile-trigger-card {
        position: relative;
        min-height: 66px !important;
        height: 66px !important;
        max-width: 126px;
        min-width: 108px;
        padding: 0.45rem 0.65rem 0.35rem 0.65rem !important;
        border-radius: 18px;
        align-items: flex-start;
        justify-content: flex-start;
        overflow: visible;
    }

    .analytics-topbar-profile-trigger-card::after {
        display: none;
    }

    .analytics-topbar-profile-trigger-card .analytics-topbar-profile-meta {
        margin-left: auto;
        align-items: flex-end;
        text-align: right;
        padding-right: 0.05rem;
        max-width: 74px;
    }

    .analytics-topbar-profile-trigger-card .analytics-topbar-profile-meta .account-user-name {
        max-width: 74px;
        font-size: 0.82rem;
    }

    .analytics-topbar-profile-trigger-card .analytics-topbar-profile-meta .account-position {
        font-size: 0.64rem;
    }

    .analytics-topbar-profile-trigger-card .account-user-avatar {
        position: absolute;
        left: 10px;
        bottom: -10px;
        z-index: 2;
    }

    .analytics-topbar-profile-trigger-card .account-user-avatar img {
        width: 42px;
        height: 42px;
        border: 2px solid rgba(255, 255, 255, 0.9);
        box-shadow: 0 10px 20px rgba(15, 23, 42, 0.12);
    }

    html[data-theme="dark"] .analytics-topbar-profile-trigger-card .account-user-avatar img,
    body.analytics-dashboard-theme-dark .analytics-topbar-profile-trigger-card .account-user-avatar img {
        border-color: rgba(17, 24, 39, 0.92);
    }

    .analytics-topbar-profile-trigger-card .analytics-profile-status-dot {
        right: -2px;
        bottom: -2px;
        width: 11px;
        height: 11px;
    }
}


/* ===== Users Management Page (admin/users.php) ===== */
    .users-modern-page {
        --users-bg: #eef2f9;
        --users-surface: rgba(255, 255, 255, 0.9);
        --users-surface-strong: rgba(255, 255, 255, 0.98);
        --users-border: #dbe4f0;
        --users-border-strong: #cdd8ea;
        --users-text: #0f172a;
        --users-text-muted: #64748b;
        --users-text-soft: #94a3b8;
        --users-accent: #4f46e5;
        --users-accent-2: #2563eb;
        --users-accent-3: #06b6d4;
        --users-accent-soft: #eef2ff;
        --users-shadow: 0 16px 38px rgba(15, 23, 42, 0.08);
        --users-shadow-lg: 0 24px 52px rgba(15, 23, 42, 0.14);
        background:
            radial-gradient(circle at 10% 6%, rgba(79, 70, 229, 0.12), transparent 44%),
            radial-gradient(circle at 90% 10%, rgba(6, 182, 212, 0.10), transparent 42%),
            linear-gradient(180deg, #f7faff 0%, var(--users-bg) 55%, #eaf0f8 100%);
    }

    .users-modern-page .page-title-box {
        display: none;
    }

    .users-modern-page .users-hero {
        position: relative;
        overflow: hidden;
        border-radius: 22px;
        padding: 1.15rem;
        background:
            radial-gradient(circle at 82% 18%, rgba(14, 165, 233, 0.22), transparent 34%),
            radial-gradient(circle at 18% 92%, rgba(167, 139, 250, 0.18), transparent 36%),
            linear-gradient(135deg, #0b1220 0%, #13213c 42%, #2d2c86 100%);
        color: #fff;
        box-shadow: 0 26px 58px rgba(15, 23, 42, 0.18);
        border: 1px solid rgba(255, 255, 255, 0.06);
    }

    .users-modern-page .users-hero::after {
        content: "";
        position: absolute;
        width: 320px;
        height: 320px;
        right: -110px;
        top: -110px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.07);
        filter: blur(6px);
        pointer-events: none;
    }

    .users-modern-page .users-hero-grid {
        position: relative;
        z-index: 1;
        display: grid;
        grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
        gap: 1rem;
        align-items: stretch;
    }

    .users-modern-page .users-hero-main {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        gap: .9rem;
    }

    .users-modern-page .hero-brand {
        display: inline-flex;
        align-items: center;
        gap: .75rem;
        align-self: flex-start;
        padding: .55rem .8rem;
        border-radius: 14px;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.07));
        border: 1px solid rgba(255, 255, 255, 0.16);
        backdrop-filter: blur(6px);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
    }

    .users-modern-page .hero-brand-logo {
        width: 38px;
        height: 38px;
        border-radius: 10px;
        display: grid;
        place-items: center;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 245, 255, 0.95));
        overflow: hidden;
    }

    .users-modern-page .hero-brand-logo img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        display: block;
    }

    .users-modern-page .hero-brand-copy {
        line-height: 1.15;
    }

    .users-modern-page .hero-brand-copy .eyebrow {
        display: block;
        color: rgba(255, 255, 255, 0.74);
        font-size: .75rem;
        letter-spacing: .06em;
        text-transform: uppercase;
    }

    .users-modern-page .hero-brand-copy .name {
        display: block;
        font-weight: 700;
        font-size: .95rem;
        color: #fff;
    }

    .users-modern-page .hero-title {
        margin: 0;
        font-size: clamp(1.35rem, 2vw, 2rem);
        font-weight: 700;
        letter-spacing: -0.02em;
        color: #fff;
    }

    .users-modern-page .hero-subtitle {
        margin: .35rem 0 0;
        color: rgba(255, 255, 255, 0.78);
        max-width: 60ch;
        line-height: 1.5;
    }

    .users-modern-page .hero-filter-pill {
        display: inline-flex;
        align-items: center;
        gap: .45rem;
        padding: .45rem .7rem;
        border-radius: 999px;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.07));
        border: 1px solid rgba(255, 255, 255, 0.14);
        color: #fff;
        font-weight: 600;
        font-size: .85rem;
        width: fit-content;
    }

    .users-modern-page .hero-filter-pill i {
        color: #93c5fd;
    }

    .users-modern-page .users-hero-stats {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .75rem;
    }

    .users-modern-page .stat-tile {
        min-height: 86px;
        border-radius: 16px;
        padding: .85rem .95rem;
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.12);
        backdrop-filter: blur(8px);
    }

    .users-modern-page .users-hero-stats .stat-tile:nth-child(1) {
        background: linear-gradient(180deg, rgba(59, 130, 246, 0.13), rgba(255, 255, 255, 0.07));
    }

    .users-modern-page .users-hero-stats .stat-tile:nth-child(2) {
        background: linear-gradient(180deg, rgba(16, 185, 129, 0.10), rgba(255, 255, 255, 0.07));
    }

    .users-modern-page .users-hero-stats .stat-tile:nth-child(3) {
        background: linear-gradient(180deg, rgba(239, 68, 68, 0.10), rgba(255, 255, 255, 0.07));
    }

    .users-modern-page .users-hero-stats .stat-tile:nth-child(4) {
        background: linear-gradient(180deg, rgba(139, 92, 246, 0.12), rgba(255, 255, 255, 0.07));
    }

    .users-modern-page .stat-tile .label {
        color: rgba(255, 255, 255, 0.72);
        font-size: .82rem;
    }

    .users-modern-page .stat-tile .value {
        margin-top: .35rem;
        font-weight: 700;
        font-size: 1.4rem;
        color: #fff;
        line-height: 1;
    }

    .users-modern-page .stat-tile .meta {
        margin-top: .35rem;
        font-size: .75rem;
        color: rgba(255, 255, 255, 0.65);
    }

    .users-modern-page .users-table-card {
        margin-top: 1rem;
        position: relative;
        border: 1px solid var(--users-border);
        border-radius: 22px;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(250, 252, 255, 0.88));
        box-shadow: var(--users-shadow);
        overflow: hidden;
    }

    .users-modern-page .users-table-card::before {
        content: "";
        position: absolute;
        inset: 0 0 auto 0;
        height: 3px;
        background: linear-gradient(90deg, var(--users-accent), var(--users-accent-2), var(--users-accent-3));
        opacity: .9;
        pointer-events: none;
    }

    .users-modern-page .users-table-card .card-body {
        padding: 1.15rem 1.15rem 1rem;
    }

    .users-modern-page .users-toolbar {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        gap: .85rem;
        margin-bottom: 1rem;
    }

    .users-modern-page .users-toolbar-left {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: .65rem;
    }

    .users-modern-page .toolbar-chip {
        display: inline-flex;
        align-items: center;
        gap: .5rem;
        padding: .45rem .7rem;
        border-radius: 999px;
        background: linear-gradient(180deg, #f8fbff, #f2f6fd);
        border: 1px solid var(--users-border);
        color: #44556f;
        font-weight: 600;
        font-size: .82rem;
    }

    .users-modern-page .toolbar-chip i {
        color: var(--users-accent);
    }

    .users-modern-page .btn.users-status-btn {
        border: 0;
        border-radius: 12px;
        padding: .65rem .95rem;
        background: linear-gradient(135deg, #4f46e5 0%, #3b82f6 60%, #06b6d4 100%);
        color: #fff;
        font-weight: 600;
        box-shadow: 0 12px 24px rgba(59, 130, 246, 0.24);
    }

    .users-modern-page .btn.users-status-btn:hover,
    .users-modern-page .btn.users-status-btn:focus {
        color: #fff;
        opacity: .96;
    }

    .users-modern-page .dropdown-menu {
        border-radius: 14px;
        border: 1px solid var(--users-border);
        box-shadow: 0 18px 36px rgba(15, 23, 42, 0.10);
        padding: .4rem;
    }

    .users-modern-page .dropdown-menu .dropdown-item {
        border-radius: 10px;
        padding: .55rem .65rem;
        font-weight: 500;
    }

    .users-modern-page .dropdown-menu .dropdown-item:hover {
        background: #eef2ff;
        color: var(--users-accent);
    }

    .users-modern-page #basic-datatable_wrapper .row:first-child {
        align-items: center;
        margin-bottom: .25rem;
    }

    .users-modern-page #basic-datatable_wrapper .dataTables_length label,
    .users-modern-page #basic-datatable_wrapper .dataTables_filter label {
        color: var(--users-text-muted);
        font-weight: 500;
    }

    .users-modern-page #basic-datatable_wrapper .form-select,
    .users-modern-page #basic-datatable_wrapper .form-control {
        border-radius: 10px;
        border-color: var(--users-border);
        background-color: #fbfdff;
        min-height: 38px;
        box-shadow: none;
    }

    .users-modern-page #basic-datatable_wrapper .form-control:focus,
    .users-modern-page #basic-datatable_wrapper .form-select:focus {
        border-color: #6366f1;
        box-shadow: 0 0 0 .18rem rgba(99, 102, 241, 0.1);
    }

    .users-modern-page .table-responsive-shell {
        border-radius: 16px;
        border: 1px solid #e7edf7;
        background: rgba(255, 255, 255, 0.85);
        overflow: hidden;
    }

    .users-modern-page #basic-datatable {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        border-collapse: separate;
        border-spacing: 0;
    }

    .users-modern-page #basic-datatable thead th {
        background: linear-gradient(180deg, #f8fbff, #f3f7ff);
        color: #425269;
        font-weight: 700;
        font-size: .83rem;
        letter-spacing: .02em;
        text-transform: uppercase;
        border-bottom: 1px solid #dde5f2 !important;
        padding: .9rem .8rem;
        white-space: nowrap;
    }

    .users-modern-page #basic-datatable tbody td {
        border-bottom: 1px solid #eaf0f8;
        vertical-align: middle;
        padding: .85rem .8rem;
        background: rgba(255, 255, 255, 0.92);
    }

    .users-modern-page #basic-datatable tbody tr:hover td {
        background: linear-gradient(180deg, #fcfdff, #f7faff);
    }

    .users-modern-page .index-badge {
        width: 34px;
        height: 34px;
        display: grid;
        place-items: center;
        border-radius: 10px;
        background: linear-gradient(180deg, #eef2ff, #e8eeff);
        color: var(--users-accent);
        font-weight: 700;
        font-size: .85rem;
        border: 1px solid #d9e2ff;
    }

    .users-modern-page .user-cell {
        display: flex;
        align-items: center;
        gap: .75rem;
        min-width: 220px;
    }

    .users-modern-page .user-media {
        position: relative;
        flex-shrink: 0;
        z-index: 1;
    }

    .users-modern-page .user-avatar,
    .users-modern-page .user-logo {
        width: 40px;
        height: 40px;
        border-radius: 12px;
        flex-shrink: 0;
    }

    .users-modern-page .user-avatar {
        display: grid;
        place-items: center;
        background: linear-gradient(135deg, #4f46e5 0%, #6366f1 48%, #7c3aed 100%);
        color: #fff;
        font-weight: 700;
        font-size: .85rem;
        box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16), 0 10px 20px rgba(79, 70, 229, 0.14);
    }

    .users-modern-page .user-logo {
        background: #fff;
        border: 1px solid #e3eaf5;
        padding: .2rem;
        overflow: visible;
        display: grid;
        place-items: center;
        box-shadow: 0 6px 12px rgba(15, 23, 42, 0.05);
        position: relative;
        isolation: isolate;
        transform-origin: center center;
        transition: transform .2s ease, box-shadow .2s ease;
        cursor: zoom-in;
    }

    .users-modern-page .user-logo img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        display: block;
        border-radius: 9px;
        transition: transform .2s ease;
    }

    .users-modern-page .user-media:hover,
    .users-modern-page .user-media:focus-within {
        z-index: 20;
    }

    .users-modern-page .user-logo:hover,
    .users-modern-page .user-logo:focus-within {
        transform: scale(2.25);
        box-shadow: 0 18px 36px rgba(15, 23, 42, 0.22);
    }

    .users-modern-page .user-logo:hover img,
    .users-modern-page .user-logo:focus-within img {
        transform: scale(1.02);
    }

    .users-modern-page .user-copy {
        min-width: 0;
    }

    .users-modern-page .user-copy .name {
        display: block;
        color: var(--users-text);
        font-weight: 600;
        line-height: 1.2;
    }

    .users-modern-page .user-copy .meta {
        display: block;
        color: var(--users-text-soft);
        font-size: .75rem;
        margin-top: .15rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .users-modern-page .email-stack {
        min-width: 210px;
    }

    .users-modern-page .email-stack .primary {
        color: #1e293b;
        font-weight: 500;
        text-decoration: none;
        display: inline-block;
        max-width: 100%;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .users-modern-page .email-stack .primary:hover {
        color: var(--users-accent);
    }

    .users-modern-page .email-stack .secondary {
        display: block;
        color: #8796ad;
        font-size: .75rem;
        margin-top: .1rem;
    }

    .users-modern-page .role-pill {
        display: inline-flex;
        align-items: center;
        gap: .35rem;
        padding: .35rem .65rem;
        border-radius: 999px;
        border: 1px solid #cfe0ff;
        background: linear-gradient(180deg, #eef4ff, #e9f1ff);
        color: #2456cf;
        font-weight: 600;
        font-size: .78rem;
    }

    .users-modern-page .role-pill i {
        font-size: .9rem;
    }

    .users-modern-page .status-pill {
        display: inline-flex;
        align-items: center;
        gap: .4rem;
        padding: .35rem .7rem;
        border-radius: 999px;
        font-weight: 700;
        font-size: .78rem;
        border: 1px solid transparent;
        line-height: 1;
    }

    .users-modern-page .status-pill::before {
        content: "";
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: currentColor;
        opacity: .9;
    }

    .users-modern-page .status-active {
        background: linear-gradient(180deg, #edfff7, #e7faef);
        color: #059669;
        border-color: #a7f3d0;
    }

    .users-modern-page .status-pending {
        background: linear-gradient(180deg, #fffdf0, #fff8df);
        color: #d97706;
        border-color: #fde68a;
    }

    .users-modern-page .status-blocked {
        background: linear-gradient(180deg, #fff3f4, #feecee);
        color: #dc2626;
        border-color: #fecaca;
    }

    .users-modern-page .date-stack {
        color: #334155;
        font-weight: 500;
        white-space: nowrap;
    }

    .users-modern-page .date-stack i {
        color: #8ea0ba;
        margin-right: .25rem;
    }

    .users-modern-page .action-group {
        display: flex;
        align-items: center;
        gap: .35rem;
    }

    .users-modern-page .action-icon-btn {
        width: 34px;
        height: 34px;
        display: grid;
        place-items: center;
        border-radius: 10px;
        border: 1px solid var(--users-border);
        background: linear-gradient(180deg, #fff, #f8fbff);
        color: #64748b;
        transition: all .15s ease;
    }

    .users-modern-page .action-icon-btn:hover:not(.is-disabled):not([aria-disabled="true"]) {
        color: var(--users-accent);
        border-color: #c9d5ff;
        background: linear-gradient(180deg, #f2f5ff, #edf3ff);
        box-shadow: 0 8px 16px rgba(79, 70, 229, 0.10);
    }

    .users-modern-page .action-icon-btn.is-disabled,
    .users-modern-page .action-icon-btn[aria-disabled="true"] {
        color: #94a3b8;
        border-color: #dbe4f0;
        background: linear-gradient(180deg, #f8fafc, #f1f5f9);
        cursor: not-allowed;
        pointer-events: none;
        box-shadow: none;
    }

    .users-modern-page #basic-datatable_wrapper .dataTables_info {
        color: var(--users-text-muted);
        padding-top: .85rem !important;
        font-weight: 500;
    }

    .users-modern-page #basic-datatable_wrapper .dataTables_paginate .paginate_button {
        border-radius: 10px !important;
        border: 1px solid transparent !important;
        color: var(--users-text-muted) !important;
    }

    .users-modern-page #basic-datatable_wrapper .dataTables_paginate .paginate_button.current {
        background: linear-gradient(135deg, #4f46e5 0%, #3b82f6 65%, #06b6d4 100%) !important;
        color: #fff !important;
        border-color: transparent !important;
        box-shadow: 0 10px 20px rgba(79, 70, 229, 0.2);
    }

    .users-modern-page #basic-datatable_wrapper .dataTables_paginate .paginate_button:hover {
        background: #eef2ff !important;
        color: var(--users-accent) !important;
        border-color: #c7d2fe !important;
    }

    @media (max-width: 1199.98px) {
        .users-modern-page .users-hero-grid {
            grid-template-columns: 1fr;
        }
    }

    @media (max-width: 767.98px) {
        .users-modern-page .users-hero {
            border-radius: 16px;
            padding: .95rem;
        }

        .users-modern-page .users-hero-stats {
            grid-template-columns: 1fr 1fr;
        }

        .users-modern-page .users-table-card {
            border-radius: 16px;
        }

        .users-modern-page .users-table-card .card-body {
            padding: .9rem .75rem .8rem;
        }

        .users-modern-page .users-toolbar {
            align-items: stretch;
        }

        .users-modern-page .users-toolbar-left {
            width: 100%;
        }

        .users-modern-page .btn.users-status-btn,
        .users-modern-page .toolbar-chip {
            width: 100%;
            justify-content: center;
        }
    }

    @media (max-width: 575.98px) {
        .users-modern-page .users-hero-stats {
            grid-template-columns: 1fr;
        }

        .users-modern-page .hero-subtitle {
            font-size: .9rem;
        }

        .users-modern-page #basic-datatable_wrapper .dataTables_filter,
        .users-modern-page #basic-datatable_wrapper .dataTables_length {
            width: 100%;
            text-align: left !important;
        }

        .users-modern-page #basic-datatable_wrapper .dataTables_filter input {
            width: 100%;
            margin-left: 0 !important;
            margin-top: .35rem;
        }
    }

/* ===== User Edit Page (admin/edit_user.php) ===== */
.user-editor-modern-page {
    --editor-bg: #eef2f9;
    --editor-surface: rgba(255, 255, 255, 0.92);
    --editor-border: #dbe4f0;
    --editor-border-strong: #cfd9ea;
    --editor-text: #0f172a;
    --editor-text-muted: #64748b;
    --editor-text-soft: #94a3b8;
    --editor-accent: #4f46e5;
    --editor-accent-2: #2563eb;
    --editor-accent-3: #06b6d4;
    background:
        radial-gradient(circle at 10% 3%, rgba(79, 70, 229, 0.10), transparent 42%),
        radial-gradient(circle at 92% 10%, rgba(6, 182, 212, 0.08), transparent 36%),
        linear-gradient(180deg, #f8fbff 0%, var(--editor-bg) 58%, #eaf0f8 100%);
}

.user-editor-modern-page .page-title-box {
    display: none;
}

.user-editor-modern-page .user-editor-hero {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    padding: 1.15rem;
    background:
        radial-gradient(circle at 85% 14%, rgba(14, 165, 233, 0.22), transparent 34%),
        radial-gradient(circle at 18% 92%, rgba(167, 139, 250, 0.18), transparent 36%),
        linear-gradient(135deg, #0b1220 0%, #13213c 45%, #2d2c86 100%);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 24px 52px rgba(15, 23, 42, 0.16);
}

.user-editor-modern-page .user-editor-hero::after {
    content: "";
    position: absolute;
    width: 320px;
    height: 320px;
    top: -110px;
    right: -120px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    filter: blur(6px);
    pointer-events: none;
}

.user-editor-modern-page .user-editor-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
    gap: 1rem;
    align-items: stretch;
}

.user-editor-modern-page .editor-hero-main {
    display: flex;
    flex-direction: column;
    gap: .9rem;
}

.user-editor-modern-page .editor-brand {
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    align-self: flex-start;
    padding: .52rem .75rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(6px);
}

.user-editor-modern-page .editor-brand-logo {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.96);
    display: grid;
    place-items: center;
    overflow: hidden;
}

.user-editor-modern-page .editor-brand-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.user-editor-modern-page .editor-brand-copy .eyebrow {
    display: block;
    font-size: .72rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
}

.user-editor-modern-page .editor-brand-copy .name {
    display: block;
    font-size: .9rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.15;
}

.user-editor-modern-page .editor-user-row {
    display: flex;
    align-items: center;
    gap: .85rem;
}

.user-editor-modern-page .editor-user-avatar,
.user-editor-modern-page .editor-user-logo {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    flex-shrink: 0;
}

.user-editor-modern-page .editor-user-avatar {
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #4f46e5, #6366f1 55%, #8b5cf6);
    color: #fff;
    font-weight: 700;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.14);
}

.user-editor-modern-page .editor-user-logo {
    background: rgba(255,255,255,.98);
    border: 1px solid rgba(255,255,255,.18);
    display: grid;
    place-items: center;
    padding: .2rem;
    overflow: hidden;
}

.user-editor-modern-page .editor-user-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.user-editor-modern-page .editor-user-copy .label {
    display: block;
    color: rgba(255,255,255,.74);
    font-size: .75rem;
}

.user-editor-modern-page .editor-user-copy .value {
    display: block;
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.15;
}

.user-editor-modern-page .editor-user-copy .meta {
    display: block;
    color: rgba(255,255,255,.7);
    font-size: .8rem;
    margin-top: .12rem;
}

.user-editor-modern-page .editor-hero-title {
    margin: 0;
    color: #fff;
    font-weight: 700;
    letter-spacing: -0.02em;
    font-size: clamp(1.25rem, 2vw, 1.9rem);
}

.user-editor-modern-page .editor-hero-subtitle {
    margin: .35rem 0 0;
    color: rgba(255,255,255,.8);
    line-height: 1.5;
    max-width: 58ch;
}

.user-editor-modern-page .editor-hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
}

.user-editor-modern-page .editor-chip {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .42rem .68rem;
    border-radius: 999px;
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.14);
    color: #fff;
    font-weight: 600;
    font-size: .8rem;
}

.user-editor-modern-page .editor-chip i {
    color: #93c5fd;
}

.user-editor-modern-page .editor-hero-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: .75rem;
}

.user-editor-modern-page .editor-stat-card {
    border-radius: 16px;
    padding: .85rem .95rem;
    min-height: 88px;
    background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.07));
    border: 1px solid rgba(255,255,255,.13);
    backdrop-filter: blur(8px);
}

.user-editor-modern-page .editor-stat-card .title {
    font-size: .8rem;
    color: rgba(255,255,255,.74);
}

.user-editor-modern-page .editor-stat-card .value {
    margin-top: .32rem;
    color: #fff;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.1;
}

.user-editor-modern-page .editor-stat-card .meta {
    margin-top: .28rem;
    font-size: .74rem;
    color: rgba(255,255,255,.65);
}

.user-editor-modern-page .editor-panel {
    margin-top: 1rem;
    border-radius: 22px;
    border: 1px solid var(--editor-border);
    background: linear-gradient(180deg, rgba(255,255,255,.94), rgba(249,252,255,.90));
    box-shadow: 0 16px 38px rgba(15, 23, 42, 0.07);
    overflow: hidden;
    position: relative;
}

.user-editor-modern-page .editor-panel::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: linear-gradient(90deg, var(--editor-accent), var(--editor-accent-2), var(--editor-accent-3));
}

.user-editor-modern-page .editor-panel .card-body {
    padding: 1.15rem;
}

.user-editor-modern-page .editor-section + .editor-section {
    margin-top: 1rem;
}

.user-editor-modern-page .editor-section-title {
    display: flex;
    align-items: center;
    gap: .45rem;
    color: var(--editor-text);
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: .75rem;
}

.user-editor-modern-page .editor-section-title i {
    color: var(--editor-accent);
}

.user-editor-modern-page .editor-readonly-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .8rem;
}

.user-editor-modern-page .editor-info-card {
    border: 1px solid var(--editor-border);
    border-radius: 14px;
    background: rgba(255,255,255,.78);
    padding: .8rem .85rem;
}

.user-editor-modern-page .editor-info-card .label {
    display: block;
    color: var(--editor-text-muted);
    font-size: .78rem;
    margin-bottom: .28rem;
}

.user-editor-modern-page .editor-info-card .value {
    display: block;
    color: var(--editor-text);
    font-weight: 600;
    line-height: 1.25;
    word-break: break-word;
}

.user-editor-modern-page .editor-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .9rem;
}

.user-editor-modern-page .editor-field label {
    display: block;
    color: #334155;
    font-weight: 600;
    margin-bottom: .45rem;
}

.user-editor-modern-page .editor-field .form-control,
.user-editor-modern-page .editor-field .form-select,
.user-editor-modern-page .editor-field select {
    min-height: 48px;
    border-radius: 12px;
    border: 1px solid var(--editor-border);
    background: #fbfdff;
    padding: .55rem .9rem;
    box-shadow: none;
}

.user-editor-modern-page .editor-field .form-control:focus,
.user-editor-modern-page .editor-field .form-select:focus,
.user-editor-modern-page .editor-field select:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 .18rem rgba(99, 102, 241, 0.10);
}

.user-editor-modern-page .editor-help {
    margin-top: .45rem;
    color: var(--editor-text-soft);
    font-size: .78rem;
}

.user-editor-modern-page .editor-alert {
    border-radius: 12px;
    border: 1px solid #fecaca;
    background: #fff5f5;
    color: #b91c1c;
    padding: .75rem .85rem;
    font-weight: 500;
}

.user-editor-modern-page .editor-actions {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: .75rem;
    padding-top: .95rem;
    border-top: 1px solid #e7edf7;
}

.user-editor-modern-page .editor-actions-left {
    color: var(--editor-text-muted);
    font-size: .82rem;
}

.user-editor-modern-page .btn.editor-btn-primary {
    border: 0;
    border-radius: 12px;
    min-height: 46px;
    padding: .6rem 1rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #4f46e5 0%, #3b82f6 60%, #06b6d4 100%);
    box-shadow: 0 12px 24px rgba(59, 130, 246, 0.22);
}

.user-editor-modern-page .btn.editor-btn-primary:hover,
.user-editor-modern-page .btn.editor-btn-primary:focus {
    color: #fff;
}

.user-editor-modern-page .btn.editor-btn-secondary {
    border-radius: 12px;
    min-height: 46px;
    padding: .6rem 1rem;
    border: 1px solid var(--editor-border);
    background: linear-gradient(180deg, #fff, #f8fbff);
    color: #475569;
    font-weight: 600;
}

.user-editor-modern-page .btn.editor-btn-secondary:hover {
    border-color: var(--editor-border-strong);
    color: var(--editor-text);
}

@media (max-width: 1199.98px) {
    .user-editor-modern-page .user-editor-hero-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .user-editor-modern-page .user-editor-hero,
    .user-editor-modern-page .editor-panel {
        border-radius: 16px;
    }

    .user-editor-modern-page .editor-panel .card-body {
        padding: .95rem .85rem;
    }

    .user-editor-modern-page .editor-readonly-grid,
    .user-editor-modern-page .editor-form-grid,
    .user-editor-modern-page .editor-hero-stats {
        grid-template-columns: 1fr;
    }

    .user-editor-modern-page .editor-actions {
        align-items: stretch;
    }

    .user-editor-modern-page .editor-actions .btn {
        width: 100%;
    }
}

/* ===== User Edit Shared Workspace Variant (admin/edit_user.php) ===== */
.user-editor-modern-page.user-editor-shared-workspace-page {
    background: #ffffff !important;
}

.user-editor-modern-page.user-editor-shared-workspace-page > .content {
    background: transparent;
}

.user-editor-modern-page.user-editor-shared-workspace-page .container-fluid {
    padding-top: 1rem;
    padding-bottom: 1.5rem;
}

.user-editor-modern-page.user-editor-shared-workspace-page .user-editor-shared-shell {
    margin-top: .2rem;
    border-radius: 22px;
    border: 1px solid #e2e8f0;
    background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(252,253,255,.96));
    box-shadow: 0 18px 40px rgba(15,23,42,.06);
    padding: .85rem;
}

.user-editor-modern-page.user-editor-shared-workspace-page .user-editor-hero {
    border-radius: 18px;
    padding: 1rem;
    border: 1px solid #e2e8f0;
    background: linear-gradient(180deg, #ffffff, #fbfcff);
    color: #0f172a;
    box-shadow: none;
}

.user-editor-modern-page.user-editor-shared-workspace-page .user-editor-hero::after {
    display: none;
}

.user-editor-modern-page.user-editor-shared-workspace-page .editor-user-copy .label {
    color: #64748b;
}

.user-editor-modern-page.user-editor-shared-workspace-page .editor-user-copy .value {
    color: #0f172a;
}

.user-editor-modern-page.user-editor-shared-workspace-page .editor-user-copy .meta {
    color: #64748b;
}

.user-editor-modern-page.user-editor-shared-workspace-page .editor-hero-title {
    color: #0f172a;
}

.user-editor-modern-page.user-editor-shared-workspace-page .editor-chip {
    background: linear-gradient(180deg, #fff, #f8fbff);
    border-color: #e2e8f0;
    color: #334155;
}

.user-editor-modern-page.user-editor-shared-workspace-page .editor-chip i {
    color: #64748b;
}

.user-editor-modern-page.user-editor-shared-workspace-page .editor-hero-stats {
    align-content: start;
}

.user-editor-modern-page.user-editor-shared-workspace-page .editor-stat-card {
    border-radius: 14px;
    background: linear-gradient(180deg, #fff, #f9fbff);
    border: 1px solid #e2e8f0;
    backdrop-filter: none;
}

.user-editor-modern-page.user-editor-shared-workspace-page .editor-stat-card .title {
    color: #64748b;
}

.user-editor-modern-page.user-editor-shared-workspace-page .editor-stat-card .value {
    color: #0f172a;
}

.user-editor-modern-page.user-editor-shared-workspace-page .editor-stat-card .meta {
    color: #94a3b8;
}

.user-editor-modern-page.user-editor-shared-workspace-page .editor-panel {
    margin-top: .85rem;
    border-radius: 18px;
    border-color: #e2e8f0;
    background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(250,252,255,.96));
    box-shadow: none;
}

.user-editor-modern-page.user-editor-shared-workspace-page .editor-panel::before {
    content: none;
    display: none;
}

.user-editor-modern-page.user-editor-shared-workspace-page .editor-info-card {
    background: #fff;
    border-color: #e8eef7;
}

.user-editor-modern-page.user-editor-shared-workspace-page .editor-field label {
    color: #334155;
}

.user-editor-modern-page.user-editor-shared-workspace-page .editor-field .form-control,
.user-editor-modern-page.user-editor-shared-workspace-page .editor-field .form-select,
.user-editor-modern-page.user-editor-shared-workspace-page .editor-field select {
    background: #fbfdff;
    border-color: #e2e8f0;
}

.user-editor-modern-page.user-editor-shared-workspace-page .editor-actions {
    border-top-color: #edf1f7;
}

.user-editor-modern-page.user-editor-shared-workspace-page .btn.editor-btn-secondary {
    background: linear-gradient(180deg, #fff, #f8fbff);
    border-color: #e2e8f0;
}

@media (max-width: 767.98px) {
    .user-editor-modern-page.user-editor-shared-workspace-page .user-editor-shared-shell {
        border-radius: 16px;
        padding: .7rem;
    }

    .user-editor-modern-page.user-editor-shared-workspace-page .user-editor-hero,
    .user-editor-modern-page.user-editor-shared-workspace-page .editor-panel {
        border-radius: 14px;
    }
}

html[data-theme="dark"] .user-editor-modern-page.user-editor-shared-workspace-page {
    background: #0f1726 !important;
}

html[data-theme="dark"] .user-editor-modern-page.user-editor-shared-workspace-page .user-editor-shared-shell {
    border-color: #243246;
    background: linear-gradient(180deg, rgba(17,24,39,.96), rgba(12,19,32,.95));
    box-shadow: 0 18px 40px rgba(2,6,23,.30);
}

html[data-theme="dark"] .user-editor-modern-page.user-editor-shared-workspace-page .user-editor-hero {
    border-color: #243246;
    background: linear-gradient(180deg, rgba(17,24,39,.94), rgba(13,20,34,.94));
    color: #e5edf7;
}

html[data-theme="dark"] .user-editor-modern-page.user-editor-shared-workspace-page .editor-user-copy .label {
    color: #a9b8cc;
}

html[data-theme="dark"] .user-editor-modern-page.user-editor-shared-workspace-page .editor-user-copy .value,
html[data-theme="dark"] .user-editor-modern-page.user-editor-shared-workspace-page .editor-hero-title {
    color: #f8fbff;
}

html[data-theme="dark"] .user-editor-modern-page.user-editor-shared-workspace-page .editor-user-copy .meta {
    color: #9db0c9;
}

html[data-theme="dark"] .user-editor-modern-page.user-editor-shared-workspace-page .editor-chip {
    background: rgba(255,255,255,.03);
    border-color: rgba(148,163,184,.16);
    color: #c9d6e8;
}

html[data-theme="dark"] .user-editor-modern-page.user-editor-shared-workspace-page .editor-chip i {
    color: #9fb2cd;
}

html[data-theme="dark"] .user-editor-modern-page.user-editor-shared-workspace-page .editor-stat-card {
    border-color: #243246;
    background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01));
}

html[data-theme="dark"] .user-editor-modern-page.user-editor-shared-workspace-page .editor-stat-card .title {
    color: #b7c8dc;
}

html[data-theme="dark"] .user-editor-modern-page.user-editor-shared-workspace-page .editor-stat-card .value {
    color: #f8fbff;
}

html[data-theme="dark"] .user-editor-modern-page.user-editor-shared-workspace-page .editor-stat-card .meta {
    color: #9db0c9;
}

html[data-theme="dark"] .user-editor-modern-page.user-editor-shared-workspace-page .editor-panel {
    border-color: #243246;
    background: linear-gradient(180deg, rgba(17,24,39,.94), rgba(12,19,32,.94));
}

html[data-theme="dark"] .user-editor-modern-page.user-editor-shared-workspace-page .editor-info-card {
    border-color: #27354a;
    background: rgba(17,24,39,.55);
}

html[data-theme="dark"] .user-editor-modern-page.user-editor-shared-workspace-page .editor-info-card .label {
    color: #a9b8cc;
}

html[data-theme="dark"] .user-editor-modern-page.user-editor-shared-workspace-page .editor-info-card .value {
    color: #e5edf7;
}

html[data-theme="dark"] .user-editor-modern-page.user-editor-shared-workspace-page .editor-section-title {
    color: #e5edf7;
}

html[data-theme="dark"] .user-editor-modern-page.user-editor-shared-workspace-page .editor-section-title i {
    color: #93c5fd;
}

/* ── Rights Management ─────────────────────────────────────────────────── */

/* Hero chip variants */
.user-editor-modern-page .rights-hero-chip.is-rights-executed {
    background: linear-gradient(180deg, #f0fdf4, #dcfce7);
    border-color: rgba(22,163,74,.22);
    color: #15803d;
}
.user-editor-modern-page .rights-hero-chip.is-rights-executed i { color: #16a34a; }

.user-editor-modern-page .rights-hero-chip.is-rights-pending {
    background: linear-gradient(180deg, #fffbeb, #fef3c7);
    border-color: rgba(245,158,11,.22);
    color: #b45309;
}
.user-editor-modern-page .rights-hero-chip.is-rights-pending i { color: #d97706; }

.user-editor-modern-page .rights-hero-chip.is-rights-expired {
    background: linear-gradient(180deg, #fef2f2, #fee2e2);
    border-color: rgba(239,68,68,.22);
    color: #b91c1c;
}
.user-editor-modern-page .rights-hero-chip.is-rights-expired i { color: #dc2626; }

.user-editor-modern-page .rights-hero-chip.is-rights-expiring {
    background: linear-gradient(180deg, #fff7ed, #ffedd5);
    border-color: rgba(234,88,12,.22);
    color: #c2410c;
}
.user-editor-modern-page .rights-hero-chip.is-rights-expiring i { color: #ea580c; }

/* Stat card value states */
.rights-stat-executed { color: #15803d !important; font-weight: 700; }
.rights-stat-pending  { color: #b45309 !important; }
.rights-stat-expired  { color: #b91c1c !important; font-weight: 700; }

/* Combined rights bar */
.rights-combined-bar {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .85rem 1.1rem;
    border-radius: 12px;
    background: linear-gradient(180deg, #f8fbff, #f1f5fb);
    border: 1px solid #e2eaf5;
    flex-wrap: wrap;
}

.rights-combined-label {
    font-size: .78rem;
    font-weight: 600;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: .35rem;
    white-space: nowrap;
}

.rights-combined-badge {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .28rem .85rem;
    border-radius: 20px;
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .02em;
    border: 1px solid transparent;
}
.rights-combined-badge.is-executed {
    background: rgba(22,163,74,.10);
    border-color: rgba(22,163,74,.22);
    color: #15803d;
}
.rights-combined-badge.is-pending {
    background: rgba(245,158,11,.10);
    border-color: rgba(245,158,11,.22);
    color: #b45309;
}

.rights-combined-desc {
    font-size: .72rem;
    color: #94a3b8;
    margin-left: auto;
}

/* Expiry alert banner */
.rights-expiry-alert {
    display: flex;
    align-items: flex-start;
    gap: .65rem;
    padding: .8rem 1rem;
    border-radius: 10px;
    font-size: .82rem;
    border: 1px solid transparent;
}
.rights-expiry-alert i {
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: .05rem;
}
.rights-expiry-alert.is-expired {
    background: rgba(239,68,68,.07);
    border-color: rgba(239,68,68,.18);
    color: #b91c1c;
}
.rights-expiry-alert.is-expired i { color: #dc2626; }
.rights-expiry-alert.is-warning {
    background: rgba(234,88,12,.07);
    border-color: rgba(234,88,12,.18);
    color: #9a3412;
}
.rights-expiry-alert.is-warning i { color: #ea580c; }

/* Auto-expire toggle */
.rights-toggle-label {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    cursor: pointer;
    padding: .85rem 1rem;
    border-radius: 12px;
    border: 1px solid #e2eaf5;
    background: linear-gradient(180deg, #f8fbff, #f1f5fb);
    transition: border-color .15s, background .15s;
}
.rights-toggle-label:has(input:checked) {
    border-color: rgba(37,99,235,.25);
    background: linear-gradient(180deg, #eff6ff, #dbeafe);
}
.rights-toggle-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: .18rem;
    accent-color: #2563eb;
    cursor: pointer;
}
.rights-toggle-text {
    display: flex;
    flex-direction: column;
    gap: .2rem;
}
.rights-toggle-title {
    font-size: .82rem;
    font-weight: 600;
    color: #334155;
    display: flex;
    align-items: center;
    gap: .4rem;
}
.rights-toggle-title i { color: #2563eb; }
.rights-toggle-desc {
    font-size: .76rem;
    color: #64748b;
    line-height: 1.4;
}

/* Users list rights badges */
.ud-rights-badge {
    display: inline-flex;
    align-items: center;
    gap: .28rem;
    margin-top: .3rem;
    padding: .18rem .6rem;
    border-radius: 20px;
    font-size: .68rem;
    font-weight: 600;
    border: 1px solid transparent;
    white-space: nowrap;
}
.ud-rights-badge i { font-size: .72rem; }

.ud-rights-badge.ud-rights-executed {
    background: rgba(22,163,74,.09);
    border-color: rgba(22,163,74,.2);
    color: #15803d;
}
.ud-rights-badge.ud-rights-pending {
    background: rgba(245,158,11,.09);
    border-color: rgba(245,158,11,.2);
    color: #b45309;
}
.ud-rights-badge.ud-rights-expired {
    background: rgba(239,68,68,.09);
    border-color: rgba(239,68,68,.2);
    color: #b91c1c;
}
.ud-rights-badge.ud-rights-expiring {
    background: rgba(234,88,12,.09);
    border-color: rgba(234,88,12,.2);
    color: #c2410c;
}

/* Dark mode */
html[data-theme="dark"] .rights-combined-bar {
    background: rgba(255,255,255,.03);
    border-color: #243246;
}
html[data-theme="dark"] .rights-combined-label { color: #9db0c9; }
html[data-theme="dark"] .rights-combined-desc  { color: #637a96; }
html[data-theme="dark"] .rights-combined-badge.is-executed {
    background: rgba(22,163,74,.14);
    border-color: rgba(22,163,74,.24);
    color: #86efac;
}
html[data-theme="dark"] .rights-combined-badge.is-pending {
    background: rgba(245,158,11,.14);
    border-color: rgba(245,158,11,.24);
    color: #fcd34d;
}
html[data-theme="dark"] .rights-expiry-alert.is-expired {
    background: rgba(239,68,68,.10);
    border-color: rgba(239,68,68,.22);
    color: #fca5a5;
}
html[data-theme="dark"] .rights-expiry-alert.is-expired i { color: #f87171; }
html[data-theme="dark"] .rights-expiry-alert.is-warning {
    background: rgba(234,88,12,.10);
    border-color: rgba(234,88,12,.22);
    color: #fdba74;
}
html[data-theme="dark"] .rights-expiry-alert.is-warning i { color: #fb923c; }
html[data-theme="dark"] .rights-toggle-label {
    background: rgba(255,255,255,.03);
    border-color: #243246;
}
html[data-theme="dark"] .rights-toggle-label:has(input:checked) {
    border-color: rgba(59,130,246,.3);
    background: rgba(59,130,246,.08);
}
html[data-theme="dark"] .rights-toggle-title { color: #c9d6e8; }
html[data-theme="dark"] .rights-toggle-desc  { color: #7a90aa; }
html[data-theme="dark"] .rights-hero-chip.is-rights-executed {
    background: rgba(22,163,74,.12);
    border-color: rgba(22,163,74,.24);
    color: #86efac;
}
html[data-theme="dark"] .rights-hero-chip.is-rights-executed i { color: #4ade80; }
html[data-theme="dark"] .rights-hero-chip.is-rights-pending {
    background: rgba(245,158,11,.12);
    border-color: rgba(245,158,11,.24);
    color: #fcd34d;
}
html[data-theme="dark"] .rights-hero-chip.is-rights-pending i { color: #fbbf24; }
html[data-theme="dark"] .rights-hero-chip.is-rights-expired {
    background: rgba(239,68,68,.12);
    border-color: rgba(239,68,68,.24);
    color: #fca5a5;
}
html[data-theme="dark"] .rights-hero-chip.is-rights-expired i { color: #f87171; }
html[data-theme="dark"] .rights-hero-chip.is-rights-expiring {
    background: rgba(234,88,12,.12);
    border-color: rgba(234,88,12,.24);
    color: #fdba74;
}
html[data-theme="dark"] .rights-hero-chip.is-rights-expiring i { color: #fb923c; }

html[data-theme="dark"] .user-editor-modern-page.user-editor-shared-workspace-page .editor-field label,
html[data-theme="dark"] .user-editor-modern-page.user-editor-shared-workspace-page .editor-actions-left {
    color: #a9b8cc;
}

html[data-theme="dark"] .user-editor-modern-page.user-editor-shared-workspace-page .editor-field .form-control,
html[data-theme="dark"] .user-editor-modern-page.user-editor-shared-workspace-page .editor-field .form-select,
html[data-theme="dark"] .user-editor-modern-page.user-editor-shared-workspace-page .editor-field select {
    border-color: #2c3a51;
    background: #111a2c;
    color: #e5edf7;
}

html[data-theme="dark"] .user-editor-modern-page.user-editor-shared-workspace-page .editor-field .form-control::placeholder {
    color: #7f93ae;
}

html[data-theme="dark"] .user-editor-modern-page.user-editor-shared-workspace-page .editor-help {
    color: #8da0ba;
}

html[data-theme="dark"] .user-editor-modern-page.user-editor-shared-workspace-page .editor-alert {
    border-color: rgba(248,113,113,.30);
    background: rgba(220,38,38,.14);
    color: #fca5a5;
}

html[data-theme="dark"] .user-editor-modern-page.user-editor-shared-workspace-page .editor-actions {
    border-top-color: rgba(148,163,184,.14);
}

html[data-theme="dark"] .user-editor-modern-page.user-editor-shared-workspace-page .btn.editor-btn-secondary {
    border-color: rgba(148,163,184,.18);
    background: linear-gradient(180deg, #162033, #111a2c);
    color: #d7e3f2;
}

html[data-theme="dark"] .user-editor-modern-page.user-editor-shared-workspace-page .btn.editor-btn-secondary:hover {
    background: linear-gradient(180deg, #1a2740, #142138);
    color: #f2f7ff;
    border-color: rgba(148,163,184,.24);
}

.user-editor-modern-page.user-editor-shared-workspace-page .user-editor-page-title {
    margin: 0;
    color: #0f172a;
    font-weight: 700;
    line-height: 1.35;
}

html[data-theme="dark"] .user-editor-modern-page.user-editor-shared-workspace-page .user-editor-page-title {
    color: #f1f5f9;
}

@media (max-width: 767.98px) {
    .user-editor-modern-page.user-editor-shared-workspace-page .user-editor-page-header {
        align-items: stretch !important;
        flex-direction: column;
        gap: .75rem;
    }

    .user-editor-modern-page.user-editor-shared-workspace-page .user-editor-page-header .editor-btn-secondary {
        align-self: flex-start;
    }
}

/* ===== Billing Page (admin/billing.php) ===== */
.billing-modern-page {
    --bill-bg: #edf3fa;
    --bill-surface: rgba(255, 255, 255, 0.92);
    --bill-border: #dbe6f2;
    --bill-border-strong: #cfdced;
    --bill-text: #0f172a;
    --bill-text-muted: #64748b;
    --bill-text-soft: #94a3b8;
    --bill-primary: #2563eb;
    --bill-primary-2: #06b6d4;
    --bill-primary-3: #14b8a6;
    --bill-success: #059669;
    --bill-warning: #d97706;
    --bill-danger: #dc2626;
    background:
        radial-gradient(circle at 8% 4%, rgba(37, 99, 235, 0.10), transparent 42%),
        radial-gradient(circle at 92% 12%, rgba(20, 184, 166, 0.10), transparent 38%),
        linear-gradient(180deg, #f8fbff 0%, var(--bill-bg) 56%, #e9f0f8 100%);
}

.billing-modern-page .page-title-box {
    display: none;
}

.billing-modern-page .billing-hero {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    padding: 1.15rem;
    background:
        radial-gradient(circle at 86% 16%, rgba(34, 211, 238, 0.22), transparent 34%),
        radial-gradient(circle at 14% 88%, rgba(59, 130, 246, 0.16), transparent 36%),
        linear-gradient(135deg, #071a33 0%, #10294a 46%, #0f4c81 100%);
    color: #fff;
    border: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 24px 52px rgba(15, 23, 42, 0.16);
}

.billing-modern-page .billing-hero::after {
    content: "";
    position: absolute;
    width: 320px;
    height: 320px;
    right: -110px;
    top: -110px;
    border-radius: 50%;
    background: rgba(255,255,255,.06);
    filter: blur(6px);
    pointer-events: none;
}

.billing-modern-page .billing-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, .95fr);
    gap: 1rem;
}

.billing-modern-page .billing-hero-main {
    display: flex;
    flex-direction: column;
    gap: .95rem;
    justify-content: space-between;
}

.billing-modern-page .billing-brand {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    align-self: flex-start;
    padding: .55rem .8rem;
    border-radius: 14px;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.14);
    backdrop-filter: blur(6px);
}

.billing-modern-page .billing-brand-logo {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255,255,255,.96);
    display: grid;
    place-items: center;
    overflow: hidden;
}

.billing-modern-page .billing-brand-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.billing-modern-page .billing-brand-copy .eyebrow {
    display: block;
    font-size: .72rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(255,255,255,.72);
}

.billing-modern-page .billing-brand-copy .name {
    display: block;
    color: #fff;
    font-weight: 700;
    line-height: 1.15;
}

.billing-modern-page .billing-title {
    margin: 0;
    color: #fff;
    font-weight: 700;
    letter-spacing: -0.02em;
    font-size: clamp(1.35rem, 2vw, 1.95rem);
}

.billing-modern-page .billing-subtitle {
    margin: .35rem 0 0;
    color: rgba(255,255,255,.80);
    line-height: 1.5;
    max-width: 60ch;
}

.billing-modern-page .billing-filter-pill {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .45rem .7rem;
    border-radius: 999px;
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.14);
    color: #fff;
    font-weight: 600;
    font-size: .84rem;
    width: fit-content;
}

.billing-modern-page .billing-filter-pill i {
    color: #7dd3fc;
}

.billing-modern-page .billing-hero-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: .75rem;
}

.billing-modern-page .billing-stat-card {
    border-radius: 16px;
    padding: .85rem .95rem;
    min-height: 88px;
    background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.07));
    border: 1px solid rgba(255,255,255,.13);
    backdrop-filter: blur(8px);
}

.billing-modern-page .billing-stat-card .label {
    color: rgba(255,255,255,.74);
    font-size: .8rem;
}

.billing-modern-page .billing-stat-card .value {
    margin-top: .35rem;
    color: #fff;
    font-weight: 700;
    line-height: 1;
    font-size: 1.3rem;
}

.billing-modern-page .billing-stat-card .meta {
    margin-top: .3rem;
    color: rgba(255,255,255,.65);
    font-size: .74rem;
}

.billing-modern-page .billing-table-card {
    position: relative;
    margin-top: 1rem;
    border-radius: 22px;
    border: 1px solid var(--bill-border);
    background: linear-gradient(180deg, rgba(255,255,255,.94), rgba(250,252,255,.90));
    box-shadow: 0 16px 38px rgba(15, 23, 42, 0.07);
    overflow: hidden;
}

.billing-modern-page .billing-table-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: linear-gradient(90deg, var(--bill-primary), var(--bill-primary-2), var(--bill-primary-3));
}

.billing-modern-page .billing-table-card .card-body {
    padding: 1.1rem 1.15rem 1rem;
}

.billing-modern-page .billing-toolbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: .85rem;
    margin-bottom: 1rem;
}

.billing-modern-page .billing-toolbar-left {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .65rem;
}

.billing-modern-page .billing-chip {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .44rem .68rem;
    border-radius: 999px;
    background: linear-gradient(180deg, #f8fbff, #f2f7ff);
    border: 1px solid var(--bill-border);
    color: #44566f;
    font-weight: 600;
    font-size: .82rem;
}

.billing-modern-page .billing-chip i {
    color: var(--bill-primary);
}

.billing-modern-page .btn.billing-btn-primary,
.billing-modern-page .btn.billing-btn-filter {
    border: 0;
    border-radius: 12px;
    min-height: 42px;
    padding: .6rem .95rem;
    color: #fff;
    font-weight: 600;
}

.billing-modern-page .btn.billing-btn-primary {
    background: linear-gradient(135deg, #0ea5e9 0%, #2563eb 55%, #4f46e5 100%);
    box-shadow: 0 12px 24px rgba(37,99,235,.22);
}

.billing-modern-page .btn.billing-btn-filter {
    background: linear-gradient(135deg, #0f766e 0%, #0891b2 60%, #2563eb 100%);
    box-shadow: 0 12px 24px rgba(8,145,178,.18);
}

.billing-modern-page .btn.billing-btn-primary:hover,
.billing-modern-page .btn.billing-btn-primary:focus,
.billing-modern-page .btn.billing-btn-filter:hover,
.billing-modern-page .btn.billing-btn-filter:focus {
    color: #fff;
}

.billing-modern-page .dropdown-menu {
    border-radius: 14px;
    border: 1px solid var(--bill-border);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.10);
    padding: .4rem;
}

.billing-modern-page .dropdown-menu .dropdown-item {
    border-radius: 10px;
    padding: .55rem .65rem;
    font-weight: 500;
}

.billing-modern-page .dropdown-menu .dropdown-item:hover {
    background: #e9f3ff;
    color: #1d4ed8;
}

.billing-modern-page #basic-datatable_wrapper .row:first-child {
    align-items: center;
    margin-bottom: .25rem;
}

.billing-modern-page #basic-datatable_wrapper .dataTables_length label,
.billing-modern-page #basic-datatable_wrapper .dataTables_filter label {
    color: var(--bill-text-muted);
    font-weight: 500;
}

.billing-modern-page #basic-datatable_wrapper .form-select,
.billing-modern-page #basic-datatable_wrapper .form-control {
    border-radius: 10px;
    border-color: var(--bill-border);
    background-color: #fbfdff;
    min-height: 38px;
    box-shadow: none;
}

.billing-modern-page #basic-datatable_wrapper .form-control:focus,
.billing-modern-page #basic-datatable_wrapper .form-select:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 .18rem rgba(59,130,246,.10);
}

.billing-modern-page .billing-table-shell {
    border-radius: 16px;
    border: 1px solid #e5edf7;
    background: rgba(255,255,255,.86);
    overflow: hidden;
}

.billing-modern-page #basic-datatable {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    border-collapse: separate;
    border-spacing: 0;
}

.billing-modern-page #basic-datatable thead th {
    background: linear-gradient(180deg, #f8fbff, #f3f8ff);
    color: #425269;
    font-weight: 700;
    font-size: .82rem;
    letter-spacing: .02em;
    text-transform: uppercase;
    border-bottom: 1px solid #dde7f3 !important;
    padding: .9rem .8rem;
    white-space: nowrap;
}

.billing-modern-page #basic-datatable tbody td {
    border-bottom: 1px solid #eaf0f8;
    padding: .85rem .8rem;
    vertical-align: middle;
    background: rgba(255,255,255,.94);
}

.billing-modern-page #basic-datatable tbody tr:hover td {
    background: linear-gradient(180deg, #fcfeff, #f6fbff);
}

.billing-modern-page .bill-index {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: linear-gradient(180deg, #e9f3ff, #e3eeff);
    color: #1d4ed8;
    border: 1px solid #cfe0ff;
    font-weight: 700;
    font-size: .84rem;
}

.billing-modern-page .customer-cell {
    display: flex;
    align-items: center;
    gap: .7rem;
    min-width: 210px;
}

.billing-modern-page .customer-avatar {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: #fff;
    font-weight: 700;
    font-size: .82rem;
    background: linear-gradient(135deg, #2563eb, #0ea5e9 55%, #14b8a6);
    box-shadow: 0 10px 18px rgba(37, 99, 235, 0.12);
    flex-shrink: 0;
}

.billing-modern-page .customer-copy .name {
    display: block;
    color: var(--bill-text);
    font-weight: 600;
    line-height: 1.2;
}

.billing-modern-page .customer-copy .meta {
    display: block;
    color: var(--bill-text-soft);
    font-size: .75rem;
    margin-top: .15rem;
}

.billing-modern-page .invoice-cell {
    min-width: 240px;
    display: flex;
    align-items: center;
    gap: .65rem;
}

.billing-modern-page .invoice-icon {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: #1d4ed8;
    background: linear-gradient(180deg, #edf4ff, #e7f0ff);
    border: 1px solid #d7e5ff;
    flex-shrink: 0;
}

.billing-modern-page .invoice-copy .name {
    display: block;
    color: #1e293b;
    font-weight: 600;
    max-width: 260px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.billing-modern-page .invoice-copy .meta {
    display: block;
    color: #94a3b8;
    font-size: .74rem;
    margin-top: .1rem;
}

.billing-modern-page .pay-pill {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .35rem .7rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: .78rem;
    line-height: 1;
    border: 1px solid transparent;
}

.billing-modern-page .pay-pill::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
}

.billing-modern-page .pay-pill-paid {
    color: var(--bill-success);
    background: linear-gradient(180deg, #effdf6, #e7faef);
    border-color: #a7f3d0;
}

.billing-modern-page .pay-pill-unpaid {
    color: var(--bill-danger);
    background: linear-gradient(180deg, #fff4f5, #ffebee);
    border-color: #fecdd3;
}

.billing-modern-page .due-chip {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .35rem .65rem;
    border-radius: 999px;
    border: 1px solid #dbe4f0;
    background: linear-gradient(180deg, #fbfdff, #f3f8ff);
    color: #334155;
    font-weight: 600;
    white-space: nowrap;
}

.billing-modern-page .due-chip i {
    color: #8ea0ba;
}

.billing-modern-page .due-chip.due-overdue {
    border-color: #fecaca;
    background: linear-gradient(180deg, #fff4f5, #ffebee);
    color: #dc2626;
}

.billing-modern-page .due-chip.due-soon {
    border-color: #fde68a;
    background: linear-gradient(180deg, #fffdf0, #fff8df);
    color: #d97706;
}

.billing-modern-page .action-group {
    display: flex;
    align-items: center;
    gap: .35rem;
}

.billing-modern-page .bill-action-btn {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    border: 1px solid var(--bill-border);
    background: linear-gradient(180deg, #fff, #f8fbff);
    color: #64748b;
    transition: all .15s ease;
}

.billing-modern-page .bill-action-btn:hover {
    border-color: #cfe0ff;
    background: linear-gradient(180deg, #eef5ff, #e8f1ff);
    color: #1d4ed8;
    box-shadow: 0 8px 16px rgba(37,99,235,.10);
}

.billing-modern-page #basic-datatable_wrapper .dataTables_info {
    color: var(--bill-text-muted);
    font-weight: 500;
    padding-top: .85rem !important;
}

.billing-modern-page #basic-datatable_wrapper .dataTables_paginate .paginate_button {
    border-radius: 10px !important;
    border: 1px solid transparent !important;
    color: var(--bill-text-muted) !important;
}

.billing-modern-page #basic-datatable_wrapper .dataTables_paginate .paginate_button.current {
    background: linear-gradient(135deg, #0ea5e9, #2563eb, #4f46e5) !important;
    border-color: transparent !important;
    color: #fff !important;
    box-shadow: 0 10px 20px rgba(37,99,235,.18);
}

.billing-modern-page #basic-datatable_wrapper .dataTables_paginate .paginate_button:hover {
    background: #e9f3ff !important;
    border-color: #cfe0ff !important;
    color: #1d4ed8 !important;
}

@media (max-width: 1199.98px) {
    .billing-modern-page .billing-hero-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .billing-modern-page .billing-hero,
    .billing-modern-page .billing-table-card {
        border-radius: 16px;
    }

    .billing-modern-page .billing-hero-stats {
        grid-template-columns: 1fr 1fr;
    }

    .billing-modern-page .billing-table-card .card-body {
        padding: .95rem .8rem .85rem;
    }

    .billing-modern-page .billing-toolbar-left {
        width: 100%;
    }

    .billing-modern-page .btn.billing-btn-primary,
    .billing-modern-page .btn.billing-btn-filter,
    .billing-modern-page .billing-chip {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 575.98px) {
    .billing-modern-page .billing-hero-stats {
        grid-template-columns: 1fr;
    }

    .billing-modern-page .billing-subtitle {
        font-size: .9rem;
    }

    .billing-modern-page #basic-datatable_wrapper .dataTables_filter,
    .billing-modern-page #basic-datatable_wrapper .dataTables_length {
        width: 100%;
        text-align: left !important;
    }

    .billing-modern-page #basic-datatable_wrapper .dataTables_filter input {
        width: 100%;
        margin-left: 0 !important;
        margin-top: .35rem;
    }
}

/* ===== Billing Shared Workspace Overrides (admin/billing.php) ===== */
.billing-modern-page.billing-shared-workspace-page {
    --bws-bg: #eef2f7;
    --bws-surface: #ffffff;
    --bws-surface-soft: #f8fafc;
    --bws-border: #e2e8f0;
    --bws-border-strong: #d5dfec;
    --bws-text: #0f172a;
    --bws-text-muted: #64748b;
    --bws-text-soft: #94a3b8;
    --bws-accent: #2563eb;
    --bws-accent-2: #06b6d4;
    --bws-accent-3: #4f46e5;
    background:
        radial-gradient(circle at 10% 0%, rgba(37,99,235,.05), transparent 38%),
        radial-gradient(circle at 92% 10%, rgba(6,182,212,.05), transparent 42%),
        linear-gradient(180deg, #f7f9fd 0%, #eef3f8 72%, #e8eef6 100%);
}

.billing-modern-page.billing-shared-workspace-page .billing-shared-shell {
    margin-top: .2rem;
    border-radius: 22px;
    border: 1px solid var(--bws-border);
    background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(252,253,255,.96));
    box-shadow: 0 18px 40px rgba(15,23,42,.06);
    overflow: hidden;
}

.billing-modern-page.billing-shared-workspace-page .billing-workspace-head {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: .9rem;
    align-items: start;
    padding: 1.05rem 1.05rem .95rem;
    border-bottom: 1px solid #edf2f7;
    background:
        radial-gradient(circle at 0% 0%, rgba(251,191,36,.08), transparent 32%),
        radial-gradient(circle at 100% 0%, rgba(6,182,212,.08), transparent 34%),
        linear-gradient(180deg, #ffffff, #fbfcff);
}

.billing-modern-page.billing-shared-workspace-page .billing-workspace-head::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(148,163,184,.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148,163,184,.08) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: .45;
    mask-image: linear-gradient(180deg, rgba(0,0,0,.8), rgba(0,0,0,.25));
}

.billing-modern-page.billing-shared-workspace-page .billing-workspace-head-main,
.billing-modern-page.billing-shared-workspace-page .billing-workspace-actions {
    position: relative;
    z-index: 1;
}

.billing-modern-page.billing-shared-workspace-page .billing-workspace-head-main {
    display: flex;
    flex-direction: column;
    gap: .7rem;
}

.billing-modern-page.billing-shared-workspace-page .billing-workspace-brand {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    width: fit-content;
    padding: .5rem .72rem;
    border-radius: 14px;
    border: 1px solid var(--bws-border);
    background: rgba(255,255,255,.92);
}

.billing-modern-page.billing-shared-workspace-page .billing-workspace-brand-logo {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    border: 1px solid #e5edf7;
    background: #fff;
    display: grid;
    place-items: center;
    overflow: hidden;
    flex-shrink: 0;
}

.billing-modern-page.billing-shared-workspace-page .billing-workspace-brand-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.billing-modern-page.billing-shared-workspace-page .billing-workspace-brand-copy .eyebrow {
    display: block;
    color: var(--bws-text-soft);
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: .69rem;
    line-height: 1.1;
}

.billing-modern-page.billing-shared-workspace-page .billing-workspace-brand-copy .name {
    display: block;
    color: var(--bws-text);
    font-weight: 700;
    line-height: 1.15;
}

.billing-modern-page.billing-shared-workspace-page .billing-workspace-title {
    margin: 0;
    color: var(--bws-text);
    font-weight: 700;
    letter-spacing: -.02em;
    font-size: clamp(1.45rem, 2vw, 2rem);
}

.billing-modern-page.billing-shared-workspace-page .billing-workspace-subtitle {
    margin: 0;
    color: var(--bws-text-muted);
    line-height: 1.45;
    max-width: 64ch;
}

.billing-modern-page.billing-shared-workspace-page .billing-workspace-actions {
    display: flex;
    align-items: center;
    gap: .55rem;
}

.billing-modern-page.billing-shared-workspace-page .btn.billing-btn-primary {
    min-height: 44px;
    border-radius: 12px;
    padding: .6rem .95rem;
    background: linear-gradient(135deg, #111827, #1f2937);
    color: #fff;
    border: 1px solid rgba(255,255,255,.06);
    box-shadow: 0 12px 20px rgba(15,23,42,.10);
}

.billing-modern-page.billing-shared-workspace-page .btn.billing-btn-primary:hover,
.billing-modern-page.billing-shared-workspace-page .btn.billing-btn-primary:focus {
    background: linear-gradient(135deg, #0f172a, #111827);
    color: #fff;
}

.billing-modern-page.billing-shared-workspace-page .billing-overview-shell,
.billing-modern-page.billing-shared-workspace-page .billing-payment-shell {
    margin: 0 1.05rem 1rem;
}

.billing-modern-page.billing-shared-workspace-page .billing-section-heading {
    margin: 0 0 .65rem;
    color: var(--bws-text);
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: -.01em;
}

.billing-modern-page.billing-shared-workspace-page .billing-overview-grid {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    gap: .9rem;
}

.billing-modern-page.billing-shared-workspace-page .billing-overview-card {
    border-radius: 18px;
    border: 1px solid var(--bws-border);
    background: linear-gradient(180deg, #ffffff, #fafcff);
    box-shadow: 0 8px 20px rgba(15,23,42,.04);
    overflow: hidden;
}

.billing-modern-page.billing-shared-workspace-page .billing-overview-card-head {
    padding: .9rem 1rem .75rem;
    border-bottom: 1px solid #edf2f7;
}

.billing-modern-page.billing-shared-workspace-page .billing-overview-card-head h5 {
    margin: 0;
    font-size: .95rem;
    font-weight: 700;
    color: var(--bws-text);
}

.billing-modern-page.billing-shared-workspace-page .billing-plan-card-body {
    padding: .95rem 1rem 1rem;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: .8rem;
    align-items: end;
}

.billing-modern-page.billing-shared-workspace-page .billing-plan-pill {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    width: fit-content;
    padding: .32rem .58rem;
    border-radius: 999px;
    border: 1px solid #bbf7d0;
    background: #effdf5;
    color: #15803d;
    font-weight: 700;
    font-size: .74rem;
}

.billing-modern-page.billing-shared-workspace-page .billing-plan-price {
    margin-top: .45rem;
    color: var(--bws-text);
    font-weight: 700;
    letter-spacing: -.02em;
    font-size: 1.9rem;
    line-height: 1;
}

.billing-modern-page.billing-shared-workspace-page .billing-plan-price span {
    color: var(--bws-text-soft);
    font-size: .92rem;
    font-weight: 500;
    letter-spacing: 0;
}

.billing-modern-page.billing-shared-workspace-page .billing-plan-meta {
    margin-top: .45rem;
    color: var(--bws-text-muted);
    font-size: .82rem;
    line-height: 1.35;
}

.billing-modern-page.billing-shared-workspace-page .billing-plan-upgrade-btn {
    align-self: center;
    min-height: 42px;
    border-radius: 12px;
    border: 1px solid #dbe3ef;
    background: linear-gradient(180deg, #ffffff, #f8fafc);
    color: #111827;
    font-weight: 700;
    padding: .55rem .9rem;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.75), 0 4px 10px rgba(15,23,42,.04);
}

.billing-modern-page.billing-shared-workspace-page .billing-plan-upgrade-btn:hover,
.billing-modern-page.billing-shared-workspace-page .billing-plan-upgrade-btn:focus {
    color: #0f172a;
    background: #fff;
    border-color: var(--bws-border-strong);
}

.billing-modern-page.billing-shared-workspace-page .billing-usage-grid {
    padding: .95rem 1rem 1rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: .9rem .95rem;
}

.billing-modern-page.billing-shared-workspace-page .billing-usage-item {
    min-width: 0;
}

.billing-modern-page.billing-shared-workspace-page .billing-usage-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .6rem;
    margin-bottom: .35rem;
}

.billing-modern-page.billing-shared-workspace-page .billing-usage-value {
    color: var(--bws-text);
    font-weight: 700;
    letter-spacing: -.015em;
    white-space: nowrap;
}

.billing-modern-page.billing-shared-workspace-page .billing-usage-percent {
    color: var(--bws-text-muted);
    font-weight: 600;
    font-size: .8rem;
}

.billing-modern-page.billing-shared-workspace-page .billing-usage-bar {
    height: 6px;
    border-radius: 999px;
    background: #e8edf4;
    overflow: hidden;
}

.billing-modern-page.billing-shared-workspace-page .billing-usage-bar > span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #60a5fa, #2563eb);
}

.billing-modern-page.billing-shared-workspace-page .billing-usage-bar-warning > span {
    background: linear-gradient(90deg, #f59e0b, #fb923c);
}

.billing-modern-page.billing-shared-workspace-page .billing-usage-bar-danger > span {
    background: linear-gradient(90deg, #ef4444, #f97316);
}

.billing-modern-page.billing-shared-workspace-page .billing-usage-bar-neutral > span {
    background: linear-gradient(90deg, #64748b, #94a3b8);
}

.billing-modern-page.billing-shared-workspace-page .billing-usage-label {
    margin-top: .35rem;
    color: var(--bws-text-muted);
    font-size: .79rem;
}

.billing-modern-page.billing-shared-workspace-page .billing-table-card {
    margin: 0 1.05rem 1rem;
    border-radius: 18px;
    border: 1px solid var(--bws-border);
    background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(250,252,255,.97));
    box-shadow: 0 8px 20px rgba(15,23,42,.04);
}

.billing-modern-page.billing-shared-workspace-page .billing-table-card::before {
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #6366f1 45%, #06b6d4);
    opacity: .85;
}

.billing-modern-page.billing-shared-workspace-page .billing-table-card .card-body {
    padding: .95rem;
}

.billing-modern-page.billing-shared-workspace-page .billing-history-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: .75rem;
    margin-bottom: .65rem;
}

.billing-modern-page.billing-shared-workspace-page .billing-history-title {
    margin: 0;
    color: var(--bws-text);
    font-weight: 700;
    letter-spacing: -.015em;
}

.billing-modern-page.billing-shared-workspace-page .billing-history-subtitle {
    margin: .2rem 0 0;
    color: var(--bws-text-muted);
    font-size: .82rem;
    line-height: 1.35;
}

.billing-modern-page.billing-shared-workspace-page .billing-toolbar {
    margin-bottom: .75rem;
    padding-bottom: .7rem;
    border-bottom: 1px solid #edf2f7;
}

.billing-modern-page.billing-shared-workspace-page .billing-chip {
    background: linear-gradient(180deg, #ffffff, #f8fafc);
    border-color: var(--bws-border);
    color: #475569;
    box-shadow: none;
}

.billing-modern-page.billing-shared-workspace-page .billing-chip i {
    color: #64748b;
}

.billing-modern-page.billing-shared-workspace-page .btn.billing-btn-filter {
    border-radius: 12px;
    border: 1px solid var(--bws-border);
    background: linear-gradient(180deg, #ffffff, #f8fafc);
    color: #334155;
    box-shadow: none;
}

.billing-modern-page.billing-shared-workspace-page .btn.billing-btn-filter:hover,
.billing-modern-page.billing-shared-workspace-page .btn.billing-btn-filter:focus {
    background: #fff;
    border-color: var(--bws-border-strong);
    color: #0f172a;
}

.billing-modern-page.billing-shared-workspace-page .dropdown-menu {
    border-color: var(--bws-border);
    box-shadow: 0 14px 28px rgba(15,23,42,.10);
    background: #fff;
}

.billing-modern-page.billing-shared-workspace-page .dropdown-menu .dropdown-item:hover {
    background: #f4f7fd;
    color: #1e293b;
}

.billing-modern-page.billing-shared-workspace-page #basic-datatable_wrapper .dataTables_length label,
.billing-modern-page.billing-shared-workspace-page #basic-datatable_wrapper .dataTables_filter label {
    color: var(--bws-text-muted);
}

.billing-modern-page.billing-shared-workspace-page #basic-datatable_wrapper .form-select,
.billing-modern-page.billing-shared-workspace-page #basic-datatable_wrapper .form-control {
    border-radius: 10px;
    border-color: var(--bws-border);
    background: #fbfdff;
    color: #0f172a;
}

.billing-modern-page.billing-shared-workspace-page .billing-table-shell {
    border-radius: 14px;
    border: 1px solid #e8eef7;
    background: #fff;
    overflow: auto;
}

.billing-modern-page.billing-shared-workspace-page #basic-datatable thead th {
    background: #f8fafc;
    color: #475569;
    border-bottom: 1px solid #e5ecf5 !important;
    font-size: .8rem;
    letter-spacing: .02em;
    text-transform: none;
}

.billing-modern-page.billing-shared-workspace-page #basic-datatable tbody td {
    background: #fff;
    border-bottom-color: #edf2f8;
}

.billing-modern-page.billing-shared-workspace-page #basic-datatable tbody tr:hover td {
    background: #fafcff;
}

.billing-modern-page.billing-shared-workspace-page .bill-index {
    border-radius: 10px;
    border-color: #dfe7f4;
    background: linear-gradient(180deg, #f4f7ff, #eef2ff);
    color: #4f46e5;
}

.billing-modern-page.billing-shared-workspace-page .customer-avatar {
    background: linear-gradient(135deg, #4f46e5 0%, #3b82f6 100%);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
}

.billing-modern-page.billing-shared-workspace-page .customer-copy .name,
.billing-modern-page.billing-shared-workspace-page .invoice-copy .name {
    color: var(--bws-text);
}

.billing-modern-page.billing-shared-workspace-page .customer-copy .meta,
.billing-modern-page.billing-shared-workspace-page .invoice-copy .meta {
    color: var(--bws-text-soft);
}

.billing-modern-page.billing-shared-workspace-page .pay-pill-paid {
    background: #edfdf4;
    border-color: #a7f3d0;
    color: #059669;
}

.billing-modern-page.billing-shared-workspace-page .pay-pill-unpaid {
    background: #fff1f2;
    border-color: #fecdd3;
    color: #e11d48;
}

.billing-modern-page.billing-shared-workspace-page .bill-action-btn {
    border-color: var(--bws-border);
    background: linear-gradient(180deg, #fff, #f8fbff);
    color: #64748b;
    box-shadow: none;
}

.billing-modern-page.billing-shared-workspace-page .bill-action-btn:hover {
    border-color: #cfe0ff;
    background: #eef5ff;
    color: #1d4ed8;
    box-shadow: none;
}

.billing-modern-page.billing-shared-workspace-page #basic-datatable_wrapper .dataTables_info {
    color: var(--bws-text-muted);
}

.billing-modern-page.billing-shared-workspace-page #basic-datatable_wrapper .dataTables_paginate .paginate_button {
    border-radius: 10px !important;
    border: 1px solid transparent !important;
    color: var(--bws-text-muted) !important;
    background: transparent !important;
}

.billing-modern-page.billing-shared-workspace-page #basic-datatable_wrapper .dataTables_paginate .paginate_button.current {
    background: linear-gradient(135deg, #6366f1, #4f46e5) !important;
    border-color: transparent !important;
    color: #fff !important;
    box-shadow: none;
}

.billing-modern-page.billing-shared-workspace-page #basic-datatable_wrapper .dataTables_paginate .paginate_button:hover {
    background: #f4f7fd !important;
    border-color: #d9e4f3 !important;
    color: #1e293b !important;
}

.billing-modern-page.billing-shared-workspace-page .billing-payment-grid {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    gap: .9rem;
}

.billing-modern-page.billing-shared-workspace-page .billing-payment-card {
    position: relative;
    min-height: 180px;
    border-radius: 18px;
    border: 1px solid var(--bws-border);
    background: linear-gradient(180deg, #ffffff, #fafcff);
    box-shadow: 0 8px 20px rgba(15,23,42,.04);
    overflow: hidden;
}

.billing-modern-page.billing-shared-workspace-page .billing-payment-card-primary {
    padding: 1rem;
    border-color: #e5dccf;
    background:
        radial-gradient(circle at 12% 16%, rgba(249,115,22,.26), transparent 38%),
        radial-gradient(circle at 78% 88%, rgba(16,185,129,.22), transparent 44%),
        linear-gradient(135deg, #c9b299 0%, #b79062 42%, #728d78 100%);
    color: #fff;
}

.billing-modern-page.billing-shared-workspace-page .billing-payment-card-logo {
    font-weight: 800;
    letter-spacing: .02em;
    font-size: 1.55rem;
}

.billing-modern-page.billing-shared-workspace-page .billing-payment-card-menu {
    position: absolute;
    top: .9rem;
    right: .9rem;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.28);
    background: rgba(255,255,255,.15);
    color: #fff;
    display: grid;
    place-items: center;
}

.billing-modern-page.billing-shared-workspace-page .billing-payment-card-number {
    margin-top: 2.6rem;
    font-size: 1.18rem;
    letter-spacing: .05em;
    font-weight: 700;
    line-height: 1.25;
    text-shadow: 0 1px 2px rgba(15,23,42,.14);
}

.billing-modern-page.billing-shared-workspace-page .billing-payment-card-foot {
    margin-top: 1.15rem;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: .9rem;
}

.billing-modern-page.billing-shared-workspace-page .billing-payment-card-foot .label {
    display: block;
    color: rgba(255,255,255,.76);
    font-size: .68rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.billing-modern-page.billing-shared-workspace-page .billing-payment-card-foot .value {
    display: block;
    color: #fff;
    font-weight: 700;
    margin-top: .12rem;
    line-height: 1.2;
}

.billing-modern-page.billing-shared-workspace-page .billing-payment-card-add {
    min-height: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    border-style: dashed;
    border-color: #d4dbe6;
    background:
        radial-gradient(circle at 90% 8%, rgba(99,102,241,.04), transparent 34%),
        linear-gradient(180deg, #ffffff, #fafcff);
    color: #0f172a;
    text-decoration: none;
    transition: border-color .15s ease, background-color .15s ease, transform .15s ease;
}

.billing-modern-page.billing-shared-workspace-page .billing-payment-card-add:hover,
.billing-modern-page.billing-shared-workspace-page .billing-payment-card-add:focus {
    color: #0f172a;
    border-color: #c6d4e9;
    background: #fff;
    transform: translateY(-1px);
}

.billing-modern-page.billing-shared-workspace-page .billing-payment-add-icon {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid var(--bws-border);
    background: #fff;
    display: grid;
    place-items: center;
    color: #0f172a;
}

.billing-modern-page.billing-shared-workspace-page .billing-payment-add-title {
    color: var(--bws-text);
    font-weight: 700;
}

.billing-modern-page.billing-shared-workspace-page .billing-payment-add-subtitle {
    color: var(--bws-text-soft);
    font-size: .8rem;
    text-align: center;
    max-width: 34ch;
}

@media (max-width: 1199.98px) {
    .billing-modern-page.billing-shared-workspace-page .billing-overview-grid,
    .billing-modern-page.billing-shared-workspace-page .billing-payment-grid {
        grid-template-columns: 1fr;
    }

    .billing-modern-page.billing-shared-workspace-page .billing-plan-card-body {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .billing-modern-page.billing-shared-workspace-page .billing-plan-upgrade-btn {
        width: fit-content;
    }
}

@media (max-width: 991.98px) {
    .billing-modern-page.billing-shared-workspace-page .billing-workspace-head {
        grid-template-columns: 1fr;
    }

    .billing-modern-page.billing-shared-workspace-page .billing-workspace-actions {
        width: 100%;
    }

    .billing-modern-page.billing-shared-workspace-page .billing-workspace-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .billing-modern-page.billing-shared-workspace-page .billing-usage-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .billing-modern-page.billing-shared-workspace-page .billing-shared-shell {
        border-radius: 16px;
    }

    .billing-modern-page.billing-shared-workspace-page .billing-workspace-head {
        padding: .9rem;
        border-bottom-color: #edf2f7;
    }

    .billing-modern-page.billing-shared-workspace-page .billing-overview-shell,
    .billing-modern-page.billing-shared-workspace-page .billing-table-card,
    .billing-modern-page.billing-shared-workspace-page .billing-payment-shell {
        margin-left: .9rem;
        margin-right: .9rem;
    }

    .billing-modern-page.billing-shared-workspace-page .billing-table-card {
        border-radius: 16px;
    }

    .billing-modern-page.billing-shared-workspace-page .billing-history-head {
        flex-direction: column;
    }

    .billing-modern-page.billing-shared-workspace-page .billing-history-head-actions {
        width: 100%;
    }

    .billing-modern-page.billing-shared-workspace-page .billing-history-head-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .billing-modern-page.billing-shared-workspace-page .billing-toolbar-left {
        width: 100%;
        gap: .5rem;
    }

    .billing-modern-page.billing-shared-workspace-page .btn.billing-btn-filter,
    .billing-modern-page.billing-shared-workspace-page .billing-chip {
        width: 100%;
        justify-content: center;
    }

    .billing-modern-page.billing-shared-workspace-page .billing-payment-card,
    .billing-modern-page.billing-shared-workspace-page .billing-payment-card-add {
        min-height: 160px;
    }
}

@media (max-width: 575.98px) {
    .billing-modern-page.billing-shared-workspace-page .billing-workspace-title {
        font-size: 1.55rem;
    }

    .billing-modern-page.billing-shared-workspace-page .billing-workspace-subtitle {
        font-size: .9rem;
    }

    .billing-modern-page.billing-shared-workspace-page .billing-overview-card-head,
    .billing-modern-page.billing-shared-workspace-page .billing-plan-card-body,
    .billing-modern-page.billing-shared-workspace-page .billing-usage-grid,
    .billing-modern-page.billing-shared-workspace-page .billing-table-card .card-body {
        padding-left: .85rem;
        padding-right: .85rem;
    }

    .billing-modern-page.billing-shared-workspace-page .billing-payment-card-primary {
        padding: .9rem;
    }

    .billing-modern-page.billing-shared-workspace-page .billing-payment-card-number {
        margin-top: 1.9rem;
        font-size: .98rem;
        letter-spacing: .03em;
    }

    .billing-modern-page.billing-shared-workspace-page .billing-payment-card-foot {
        flex-direction: column;
        align-items: flex-start;
        gap: .5rem;
    }
}

html[data-theme="dark"] .billing-modern-page.billing-shared-workspace-page {
    --bws-bg: #0f172a;
    --bws-surface: #111827;
    --bws-surface-soft: #0b1220;
    --bws-border: #253247;
    --bws-border-strong: #32445e;
    --bws-text: #e5edf7;
    --bws-text-muted: #a9b8cc;
    --bws-text-soft: #8ea1bb;
    background:
        radial-gradient(circle at 10% 0%, rgba(59,130,246,.12), transparent 42%),
        radial-gradient(circle at 92% 10%, rgba(6,182,212,.10), transparent 44%),
        linear-gradient(180deg, #0b1220 0%, #101a2d 72%, #0c1424 100%);
}

html[data-theme="dark"] .billing-modern-page.billing-shared-workspace-page .billing-shared-shell {
    border-color: var(--bws-border);
    background: linear-gradient(180deg, rgba(17,24,39,.96), rgba(12,19,32,.95));
    box-shadow: 0 18px 40px rgba(2,6,23,.32);
}

html[data-theme="dark"] .billing-modern-page.billing-shared-workspace-page .billing-workspace-head {
    border-bottom-color: rgba(148,163,184,.12);
    background:
        radial-gradient(circle at 0% 0%, rgba(251,191,36,.07), transparent 34%),
        radial-gradient(circle at 100% 0%, rgba(6,182,212,.09), transparent 36%),
        linear-gradient(180deg, rgba(17,24,39,.95), rgba(13,20,34,.95));
}

html[data-theme="dark"] .billing-modern-page.billing-shared-workspace-page .billing-workspace-head::after {
    background-image:
        linear-gradient(rgba(148,163,184,.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148,163,184,.08) 1px, transparent 1px);
    opacity: .28;
}

html[data-theme="dark"] .billing-modern-page.billing-shared-workspace-page .billing-workspace-brand {
    border-color: rgba(148,163,184,.16);
    background: rgba(255,255,255,.03);
}

html[data-theme="dark"] .billing-modern-page.billing-shared-workspace-page .billing-workspace-brand-logo {
    border-color: rgba(148,163,184,.16);
    background: #0f172a;
}

html[data-theme="dark"] .billing-modern-page.billing-shared-workspace-page .btn.billing-btn-primary {
    background: linear-gradient(135deg, #1d4ed8, #3730a3);
    border-color: rgba(96,165,250,.24);
    box-shadow: none;
}

html[data-theme="dark"] .billing-modern-page.billing-shared-workspace-page .btn.billing-btn-primary:hover,
html[data-theme="dark"] .billing-modern-page.billing-shared-workspace-page .btn.billing-btn-primary:focus {
    background: linear-gradient(135deg, #2563eb, #4338ca);
}

html[data-theme="dark"] .billing-modern-page.billing-shared-workspace-page .billing-overview-card,
html[data-theme="dark"] .billing-modern-page.billing-shared-workspace-page .billing-table-card,
html[data-theme="dark"] .billing-modern-page.billing-shared-workspace-page .billing-payment-card {
    border-color: var(--bws-border);
    background: linear-gradient(180deg, rgba(17,24,39,.94), rgba(12,19,32,.94));
    box-shadow: 0 10px 20px rgba(2,6,23,.18);
}

html[data-theme="dark"] .billing-modern-page.billing-shared-workspace-page .billing-overview-card-head,
html[data-theme="dark"] .billing-modern-page.billing-shared-workspace-page .billing-toolbar,
html[data-theme="dark"] .billing-modern-page.billing-shared-workspace-page .billing-history-head,
html[data-theme="dark"] .billing-modern-page.billing-shared-workspace-page .billing-history-head + .billing-toolbar,
html[data-theme="dark"] .billing-modern-page.billing-shared-workspace-page .billing-workspace-head,
html[data-theme="dark"] .billing-modern-page.billing-shared-workspace-page .billing-table-card .card-body,
html[data-theme="dark"] .billing-modern-page.billing-shared-workspace-page .billing-overview-card-head {
    border-color: rgba(148,163,184,.14);
}

html[data-theme="dark"] .billing-modern-page.billing-shared-workspace-page .billing-plan-pill {
    background: rgba(22,163,74,.16);
    border-color: rgba(34,197,94,.25);
    color: #86efac;
}

html[data-theme="dark"] .billing-modern-page.billing-shared-workspace-page .billing-plan-upgrade-btn,
html[data-theme="dark"] .billing-modern-page.billing-shared-workspace-page .btn.billing-btn-filter {
    color: #dbe7f5;
    border-color: #2b3950;
    background: linear-gradient(180deg, #162033, #111a2c);
    box-shadow: none;
}

html[data-theme="dark"] .billing-modern-page.billing-shared-workspace-page .billing-plan-upgrade-btn:hover,
html[data-theme="dark"] .billing-modern-page.billing-shared-workspace-page .billing-plan-upgrade-btn:focus,
html[data-theme="dark"] .billing-modern-page.billing-shared-workspace-page .btn.billing-btn-filter:hover,
html[data-theme="dark"] .billing-modern-page.billing-shared-workspace-page .btn.billing-btn-filter:focus {
    color: #eef4ff;
    background: linear-gradient(180deg, #1a2740, #142138);
    border-color: #364861;
}

html[data-theme="dark"] .billing-modern-page.billing-shared-workspace-page .billing-chip {
    border-color: #2b3950;
    background: rgba(148,163,184,.08);
    color: #c5d3e6;
}

html[data-theme="dark"] .billing-modern-page.billing-shared-workspace-page .billing-chip i {
    color: #9cb0cb;
}

html[data-theme="dark"] .billing-modern-page.billing-shared-workspace-page .dropdown-menu {
    background: #111827;
    border-color: #2c3a51;
}

html[data-theme="dark"] .billing-modern-page.billing-shared-workspace-page .dropdown-menu .dropdown-item {
    color: #d8e4f2;
}

html[data-theme="dark"] .billing-modern-page.billing-shared-workspace-page .dropdown-menu .dropdown-item:hover {
    background: rgba(59,130,246,.12);
    color: #eef4ff;
}

html[data-theme="dark"] .billing-modern-page.billing-shared-workspace-page #basic-datatable_wrapper .dataTables_length label,
html[data-theme="dark"] .billing-modern-page.billing-shared-workspace-page #basic-datatable_wrapper .dataTables_filter label,
html[data-theme="dark"] .billing-modern-page.billing-shared-workspace-page #basic-datatable_wrapper .dataTables_info {
    color: var(--bws-text-muted);
}

html[data-theme="dark"] .billing-modern-page.billing-shared-workspace-page #basic-datatable_wrapper .form-select,
html[data-theme="dark"] .billing-modern-page.billing-shared-workspace-page #basic-datatable_wrapper .form-control {
    border-color: #2c3a51;
    background: #111a2c;
    color: #e5edf7;
}

html[data-theme="dark"] .billing-modern-page.billing-shared-workspace-page #basic-datatable_wrapper .form-control::placeholder {
    color: #7f93ae;
}

html[data-theme="dark"] .billing-modern-page.billing-shared-workspace-page .billing-table-shell {
    border-color: #2b3950;
    background: #0f172a;
}

html[data-theme="dark"] .billing-modern-page.billing-shared-workspace-page #basic-datatable thead th {
    background: #131d31;
    color: #b8c7da;
    border-bottom-color: #28364c !important;
}

html[data-theme="dark"] .billing-modern-page.billing-shared-workspace-page #basic-datatable tbody td {
    background: #111827;
    border-bottom-color: #243248;
}

html[data-theme="dark"] .billing-modern-page.billing-shared-workspace-page #basic-datatable tbody tr:hover td {
    background: #162033;
}

html[data-theme="dark"] .billing-modern-page.billing-shared-workspace-page .bill-index {
    border-color: #31445f;
    background: linear-gradient(180deg, rgba(79,70,229,.18), rgba(59,130,246,.14));
    color: #c7d2fe;
}

html[data-theme="dark"] .billing-modern-page.billing-shared-workspace-page .invoice-icon {
    border-color: #31445f;
    background: linear-gradient(180deg, rgba(37,99,235,.16), rgba(59,130,246,.10));
    color: #93c5fd;
}

html[data-theme="dark"] .billing-modern-page.billing-shared-workspace-page .due-chip {
    border-color: #304159;
    background: rgba(148,163,184,.08);
    color: #dbe7f5;
}

html[data-theme="dark"] .billing-modern-page.billing-shared-workspace-page .due-chip i {
    color: #9cb0cb;
}

html[data-theme="dark"] .billing-modern-page.billing-shared-workspace-page .due-chip.due-overdue {
    border-color: rgba(244,114,182,.26);
    background: rgba(225,29,72,.12);
    color: #fda4af;
}

html[data-theme="dark"] .billing-modern-page.billing-shared-workspace-page .due-chip.due-soon {
    border-color: rgba(250,204,21,.22);
    background: rgba(217,119,6,.12);
    color: #fcd34d;
}

html[data-theme="dark"] .billing-modern-page.billing-shared-workspace-page .text-muted {
    color: #8ea1bb !important;
}

html[data-theme="dark"] .billing-modern-page.billing-shared-workspace-page .bill-action-btn {
    border-color: #2b3950;
    background: linear-gradient(180deg, #162033, #111a2c);
    color: #b3c2d5;
}

html[data-theme="dark"] .billing-modern-page.billing-shared-workspace-page .bill-action-btn:hover {
    border-color: #395172;
    background: #1a2740;
    color: #eef4ff;
}

html[data-theme="dark"] .billing-modern-page.billing-shared-workspace-page #basic-datatable_wrapper .dataTables_paginate .paginate_button {
    color: #b5c4d8 !important;
}

html[data-theme="dark"] .billing-modern-page.billing-shared-workspace-page #basic-datatable_wrapper .dataTables_paginate .paginate_button.current {
    background: linear-gradient(135deg, #3b82f6, #6366f1) !important;
    color: #fff !important;
}

html[data-theme="dark"] .billing-modern-page.billing-shared-workspace-page #basic-datatable_wrapper .dataTables_paginate .paginate_button:hover {
    background: rgba(59,130,246,.12) !important;
    border-color: #304159 !important;
    color: #eef4ff !important;
}

html[data-theme="dark"] .billing-modern-page.billing-shared-workspace-page .billing-payment-card-add {
    border-color: #32445e;
    background:
        radial-gradient(circle at 90% 8%, rgba(99,102,241,.08), transparent 34%),
        linear-gradient(180deg, rgba(17,24,39,.94), rgba(12,19,32,.94));
    color: #e5edf7;
}

html[data-theme="dark"] .billing-modern-page.billing-shared-workspace-page .billing-payment-card-add:hover,
html[data-theme="dark"] .billing-modern-page.billing-shared-workspace-page .billing-payment-card-add:focus {
    border-color: #445c7c;
    background: linear-gradient(180deg, rgba(19,28,45,.96), rgba(13,20,34,.96));
    color: #eef4ff;
}

html[data-theme="dark"] .billing-modern-page.billing-shared-workspace-page .billing-payment-add-icon {
    border-color: #32445e;
    background: #0f172a;
    color: #e5edf7;
}

html[data-theme="dark"] .billing-modern-page.billing-shared-workspace-page .billing-payment-add-title {
    color: #e5edf7;
}

html[data-theme="dark"] .billing-modern-page.billing-shared-workspace-page .billing-payment-add-subtitle {
    color: #8ea1bb;
}

/* ===== Invoice Form Pages (admin/upload_invoice.php, admin/edit_invoice.php) ===== */
.invoice-editor-modern-page {
    --invf-bg: #edf3fa;
    --invf-surface: rgba(255, 255, 255, 0.94);
    --invf-border: #dbe6f2;
    --invf-border-strong: #cfdbeb;
    --invf-text: #0f172a;
    --invf-text-muted: #64748b;
    --invf-text-soft: #94a3b8;
    --invf-accent: #2563eb;
    --invf-accent-2: #06b6d4;
    --invf-accent-3: #4f46e5;
    background:
        radial-gradient(circle at 8% 4%, rgba(37, 99, 235, 0.10), transparent 42%),
        radial-gradient(circle at 92% 10%, rgba(6, 182, 212, 0.08), transparent 36%),
        linear-gradient(180deg, #f8fbff 0%, var(--invf-bg) 58%, #e8f0f8 100%);
}

.invoice-editor-modern-page .page-title-box {
    display: none;
}

.invoice-editor-modern-page .invoice-editor-hero {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    padding: 1.15rem;
    background:
        radial-gradient(circle at 86% 16%, rgba(34, 211, 238, 0.22), transparent 34%),
        radial-gradient(circle at 16% 90%, rgba(99, 102, 241, 0.18), transparent 36%),
        linear-gradient(135deg, #071a33 0%, #10294a 46%, #1d3f8b 100%);
    color: #fff;
    border: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 24px 52px rgba(15, 23, 42, 0.16);
}

.invoice-editor-modern-page .invoice-editor-hero::after {
    content: "";
    position: absolute;
    width: 320px;
    height: 320px;
    right: -110px;
    top: -110px;
    border-radius: 50%;
    background: rgba(255,255,255,.06);
    filter: blur(6px);
    pointer-events: none;
}

.invoice-editor-modern-page .invoice-editor-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, .95fr);
    gap: 1rem;
}

.invoice-editor-modern-page .invoice-editor-hero-main {
    display: flex;
    flex-direction: column;
    gap: .95rem;
    justify-content: space-between;
}

.invoice-editor-modern-page .invoice-editor-brand {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    align-self: flex-start;
    padding: .55rem .8rem;
    border-radius: 14px;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.14);
    backdrop-filter: blur(6px);
}

.invoice-editor-modern-page .invoice-editor-brand-logo {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255,255,255,.96);
    display: grid;
    place-items: center;
    overflow: hidden;
}

.invoice-editor-modern-page .invoice-editor-brand-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.invoice-editor-modern-page .invoice-editor-brand-copy .eyebrow {
    display: block;
    font-size: .72rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(255,255,255,.72);
}

.invoice-editor-modern-page .invoice-editor-brand-copy .name {
    display: block;
    color: #fff;
    font-weight: 700;
    line-height: 1.15;
}

.invoice-editor-modern-page .invoice-editor-title {
    margin: 0;
    color: #fff;
    font-weight: 700;
    letter-spacing: -0.02em;
    font-size: clamp(1.3rem, 2vw, 1.95rem);
}

.invoice-editor-modern-page .invoice-editor-subtitle {
    margin: .35rem 0 0;
    color: rgba(255,255,255,.82);
    line-height: 1.5;
    max-width: 60ch;
}

.invoice-editor-modern-page .invoice-editor-pills {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
}

.invoice-editor-modern-page .invoice-editor-chip {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .42rem .68rem;
    border-radius: 999px;
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.14);
    color: #fff;
    font-weight: 600;
    font-size: .8rem;
}

.invoice-editor-modern-page .invoice-editor-chip i {
    color: #7dd3fc;
}

.invoice-editor-modern-page .invoice-editor-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: .75rem;
}

.invoice-editor-modern-page .invoice-editor-stat {
    border-radius: 16px;
    padding: .85rem .95rem;
    min-height: 88px;
    background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.07));
    border: 1px solid rgba(255,255,255,.13);
    backdrop-filter: blur(8px);
}

.invoice-editor-modern-page .invoice-editor-stat .label {
    color: rgba(255,255,255,.74);
    font-size: .8rem;
}

.invoice-editor-modern-page .invoice-editor-stat .value {
    margin-top: .35rem;
    color: #fff;
    font-weight: 700;
    font-size: 1.05rem;
    line-height: 1.15;
    word-break: break-word;
}

.invoice-editor-modern-page .invoice-editor-stat .meta {
    margin-top: .28rem;
    color: rgba(255,255,255,.65);
    font-size: .74rem;
}

.invoice-editor-modern-page .invoice-editor-panel {
    position: relative;
    margin-top: 1rem;
    border-radius: 22px;
    border: 1px solid var(--invf-border);
    background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(250,252,255,.91));
    box-shadow: 0 16px 38px rgba(15, 23, 42, 0.07);
    overflow: hidden;
}

.invoice-editor-modern-page .invoice-editor-panel::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: linear-gradient(90deg, var(--invf-accent), var(--invf-accent-2), var(--invf-accent-3));
}

.invoice-editor-modern-page .invoice-editor-panel .card-body {
    padding: 1.15rem;
}

.invoice-editor-modern-page .invoice-section + .invoice-section {
    margin-top: 1rem;
}

.invoice-editor-modern-page .invoice-section-title {
    display: flex;
    align-items: center;
    gap: .45rem;
    color: var(--invf-text);
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: .75rem;
}

.invoice-editor-modern-page .invoice-section-title i {
    color: var(--invf-accent);
}

.invoice-editor-modern-page .invoice-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: .9rem;
}

.invoice-editor-modern-page .invoice-form-grid .span-2 {
    grid-column: span 2;
}

.invoice-editor-modern-page .invoice-field label {
    display: block;
    color: #334155;
    font-weight: 600;
    margin-bottom: .45rem;
}

.invoice-editor-modern-page .invoice-field .form-control,
.invoice-editor-modern-page .invoice-field .form-select,
.invoice-editor-modern-page .invoice-field select {
    min-height: 48px;
    border-radius: 12px;
    border: 1px solid var(--invf-border);
    background: #fbfdff;
    padding: .55rem .9rem;
    box-shadow: none;
}

.invoice-editor-modern-page .invoice-field .form-control:focus,
.invoice-editor-modern-page .invoice-field .form-select:focus,
.invoice-editor-modern-page .invoice-field select:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 .18rem rgba(59,130,246,.10);
}

.invoice-editor-modern-page .invoice-field textarea.form-control {
    min-height: 132px;
    resize: vertical;
    line-height: 1.45;
}

.invoice-editor-modern-page .invoice-field input[type="color"].form-control {
    min-height: 52px;
    padding: .35rem;
    cursor: pointer;
}

.invoice-editor-modern-page .invoice-field .invalid-feedback {
    display: block;
    font-size: .82rem;
    margin-top: .35rem;
}

.invoice-editor-modern-page .invoice-help {
    margin-top: .45rem;
    color: var(--invf-text-soft);
    font-size: .78rem;
}

.invoice-editor-modern-page .invoice-file-drop {
    border: 1px dashed #cddbee;
    border-radius: 16px;
    background: linear-gradient(180deg, #fbfdff, #f4f9ff);
    padding: .95rem;
}

.invoice-editor-modern-page .invoice-file-row {
    display: flex;
    align-items: center;
    gap: .8rem;
}

.invoice-editor-modern-page .invoice-file-icon {
    width: 42px;
    height: 42px;
    border-radius: 13px;
    display: grid;
    place-items: center;
    color: #1d4ed8;
    background: linear-gradient(180deg, #edf4ff, #e6efff);
    border: 1px solid #d6e5ff;
    flex-shrink: 0;
}

.invoice-editor-modern-page .invoice-file-meta .title {
    display: block;
    color: var(--invf-text);
    font-weight: 600;
    line-height: 1.2;
}

.invoice-editor-modern-page .invoice-file-meta .sub {
    display: block;
    color: var(--invf-text-soft);
    font-size: .75rem;
    margin-top: .12rem;
}

.invoice-editor-modern-page .invoice-preview-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .8rem;
    border: 1px solid var(--invf-border);
    border-radius: 14px;
    background: rgba(255,255,255,.78);
    padding: .85rem;
}

.invoice-editor-modern-page .invoice-preview-main {
    display: flex;
    align-items: center;
    gap: .75rem;
    min-width: 0;
}

.invoice-editor-modern-page .invoice-preview-main .icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: #1d4ed8;
    background: linear-gradient(180deg, #edf4ff, #e6efff);
    border: 1px solid #d6e5ff;
    flex-shrink: 0;
}

.invoice-editor-modern-page .invoice-preview-main .name {
    display: block;
    color: var(--invf-text);
    font-weight: 600;
    line-height: 1.2;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.invoice-editor-modern-page .invoice-preview-main .path {
    display: block;
    color: var(--invf-text-soft);
    font-size: .74rem;
    margin-top: .1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.invoice-editor-modern-page .settings-color-pill {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .35rem .55rem;
    border-radius: 999px;
    border: 1px solid var(--invf-border);
    background: rgba(255,255,255,.9);
    color: #475569;
    font-size: .8rem;
    font-weight: 600;
}

.invoice-editor-modern-page .settings-color-dot {
    width: 14px;
    height: 14px;
    border-radius: 999px;
    background: var(--settings-color, #2563eb);
    border: 2px solid rgba(255,255,255,.95);
    box-shadow: 0 0 0 1px rgba(148,163,184,.35);
    display: inline-block;
}

.invoice-editor-modern-page .settings-logo-preview-card {
    align-items: center;
}

.invoice-editor-modern-page .settings-logo-visual {
    width: 132px;
    height: 74px;
    border-radius: 14px;
    border: 1px solid #dbe6f2;
    background:
        linear-gradient(135deg, rgba(37,99,235,.06), rgba(79,70,229,.08)),
        #fff;
    display: grid;
    place-items: center;
    overflow: hidden;
    flex-shrink: 0;
}

.invoice-editor-modern-page .settings-logo-visual img {
    max-width: calc(100% - 12px);
    max-height: calc(100% - 12px);
    object-fit: contain;
    display: block;
}

.invoice-editor-modern-page .settings-logo-fallback {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #2563eb 0%, #4f46e5 100%);
    box-shadow: 0 10px 20px rgba(79,70,229,.20);
}

.invoice-editor-modern-page .btn.invoice-btn-primary {
    border: 0;
    border-radius: 12px;
    min-height: 46px;
    padding: .6rem 1rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #0ea5e9 0%, #2563eb 60%, #4f46e5 100%);
    box-shadow: 0 12px 24px rgba(37,99,235,.20);
}

.invoice-editor-modern-page .btn.invoice-btn-primary:hover,
.invoice-editor-modern-page .btn.invoice-btn-primary:focus {
    color: #fff;
}

.invoice-editor-modern-page .btn.invoice-btn-secondary {
    border-radius: 12px;
    min-height: 46px;
    padding: .6rem 1rem;
    border: 1px solid var(--invf-border);
    background: linear-gradient(180deg, #fff, #f8fbff);
    color: #475569;
    font-weight: 600;
}

.invoice-editor-modern-page .btn.invoice-btn-secondary:hover {
    border-color: var(--invf-border-strong);
    color: var(--invf-text);
}

.invoice-editor-modern-page .invoice-actions {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: .75rem;
    padding-top: .95rem;
    border-top: 1px solid #e7edf7;
}

.invoice-editor-modern-page .invoice-actions-left {
    color: var(--invf-text-muted);
    font-size: .82rem;
}

.invoice-editor-modern-page .invoice-alert {
    border-radius: 12px;
    border: 1px solid #fecaca;
    background: #fff4f5;
    color: #b91c1c;
    padding: .75rem .85rem;
    font-weight: 500;
}

.invoice-editor-modern-page .invoice-alert.is-success {
    border-color: #bbf7d0;
    background: #f0fdf4;
    color: #166534;
}

@media (max-width: 1199.98px) {
    .invoice-editor-modern-page .invoice-editor-hero-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .invoice-editor-modern-page .invoice-editor-hero,
    .invoice-editor-modern-page .invoice-editor-panel {
        border-radius: 16px;
    }

    .invoice-editor-modern-page .invoice-editor-stats,
    .invoice-editor-modern-page .invoice-form-grid {
        grid-template-columns: 1fr;
    }

    .invoice-editor-modern-page .invoice-form-grid .span-2 {
        grid-column: auto;
    }

    .invoice-editor-modern-page .invoice-editor-panel .card-body {
        padding: .95rem .85rem;
    }

    .invoice-editor-modern-page .invoice-preview-card {
        flex-direction: column;
        align-items: stretch;
    }

    .invoice-editor-modern-page .invoice-actions {
        align-items: stretch;
    }

    .invoice-editor-modern-page .invoice-actions .btn {
        width: 100%;
    }
}

/* ===== Invoice Upload Shared Workspace Overrides (admin/upload_invoice.php) ===== */
.invoice-editor-modern-page.invoice-editor-shared-workspace-page {
    --ies-bg: #eef2f7;
    --ies-surface: #ffffff;
    --ies-surface-soft: #f8fafc;
    --ies-border: #e2e8f0;
    --ies-border-strong: #d5dfec;
    --ies-text: #0f172a;
    --ies-text-muted: #64748b;
    --ies-text-soft: #94a3b8;
    background:
        radial-gradient(circle at 10% 0%, rgba(37,99,235,.05), transparent 38%),
        radial-gradient(circle at 92% 8%, rgba(6,182,212,.05), transparent 42%),
        linear-gradient(180deg, #f7f9fd 0%, #eef3f8 72%, #e8eef6 100%);
}

.invoice-editor-modern-page.invoice-editor-shared-workspace-page .invoice-editor-shared-shell {
    margin-top: .2rem;
    border-radius: 22px;
    border: 1px solid var(--ies-border);
    background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(252,253,255,.96));
    box-shadow: 0 18px 40px rgba(15,23,42,.06);
    overflow: hidden;
}

.invoice-editor-modern-page.invoice-editor-shared-workspace-page .invoice-editor-shared-shell > .row {
    margin-left: 0;
    margin-right: 0;
}

.invoice-editor-modern-page.invoice-editor-shared-workspace-page .invoice-editor-shared-shell > .row > [class*="col-"] {
    padding-left: 0;
    padding-right: 0;
}

.invoice-editor-modern-page.invoice-editor-shared-workspace-page .invoice-editor-hero {
    margin: 0;
    border-radius: 0;
    padding: 1rem;
    border: 0;
    border-bottom: 1px solid #edf2f7;
    box-shadow: none;
    color: var(--ies-text);
    background:
        radial-gradient(circle at 0% 0%, rgba(251,191,36,.08), transparent 30%),
        radial-gradient(circle at 100% 0%, rgba(6,182,212,.08), transparent 34%),
        linear-gradient(180deg, #ffffff, #fbfcff);
}

.invoice-editor-modern-page.invoice-editor-shared-workspace-page .invoice-editor-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(148,163,184,.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148,163,184,.08) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: .45;
    pointer-events: none;
    mask-image: linear-gradient(180deg, rgba(0,0,0,.85), rgba(0,0,0,.35));
}

.invoice-editor-modern-page.invoice-editor-shared-workspace-page .invoice-editor-hero-grid {
    position: relative;
    z-index: 1;
    gap: .9rem;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
}

.invoice-editor-modern-page.invoice-editor-shared-workspace-page .invoice-editor-hero-main {
    justify-content: flex-start;
    gap: .75rem;
}

.invoice-editor-modern-page.invoice-editor-shared-workspace-page .invoice-editor-title {
    color: var(--ies-text);
    font-size: clamp(1.4rem, 2vw, 1.9rem);
}

.invoice-editor-modern-page.invoice-editor-shared-workspace-page .invoice-editor-subtitle {
    color: var(--ies-text-muted);
    margin-top: .25rem;
    max-width: 58ch;
}

.invoice-editor-modern-page.invoice-editor-shared-workspace-page .invoice-editor-chip {
    color: #475569;
    background: linear-gradient(180deg, #fff, #f8fafc);
    border: 1px solid var(--ies-border);
}

.invoice-editor-modern-page.invoice-editor-shared-workspace-page .invoice-editor-chip i {
    color: #64748b;
}

.invoice-editor-modern-page.invoice-editor-shared-workspace-page .invoice-editor-stat {
    min-height: 84px;
    border-radius: 14px;
    background: linear-gradient(180deg, #fff, #f9fbff);
    border: 1px solid var(--ies-border);
    box-shadow: none;
    backdrop-filter: none;
}

.invoice-editor-modern-page.invoice-editor-shared-workspace-page .invoice-editor-stat .label {
    color: var(--ies-text-muted);
}

.invoice-editor-modern-page.invoice-editor-shared-workspace-page .invoice-editor-stat .value {
    color: var(--ies-text);
    font-size: 1.1rem;
}

.invoice-editor-modern-page.invoice-editor-shared-workspace-page .invoice-editor-stat .meta {
    color: var(--ies-text-soft);
}

.invoice-editor-modern-page.invoice-editor-shared-workspace-page .invoice-editor-panel {
    margin: 0;
    border-radius: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
}

.invoice-editor-modern-page.invoice-editor-shared-workspace-page .invoice-editor-panel::before {
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #6366f1 45%, #06b6d4);
    opacity: .9;
}

.invoice-editor-modern-page.invoice-editor-shared-workspace-page .invoice-editor-panel .card-body {
    padding: 1rem;
}

.invoice-editor-modern-page.invoice-editor-shared-workspace-page .invoice-section {
    border-radius: 16px;
    border: 1px solid var(--ies-border);
    background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(250,252,255,.96));
    padding: .95rem;
    box-shadow: 0 6px 16px rgba(15,23,42,.03);
}

.invoice-editor-modern-page.invoice-editor-shared-workspace-page .invoice-section + .invoice-section {
    margin-top: .9rem;
}

.invoice-editor-modern-page.invoice-editor-shared-workspace-page .invoice-section-title {
    margin-bottom: .8rem;
}

.invoice-editor-modern-page.invoice-editor-shared-workspace-page .invoice-field label {
    color: #334155;
}

.invoice-editor-modern-page.invoice-editor-shared-workspace-page .invoice-file-drop {
    border-color: #dce5f2;
    background: linear-gradient(180deg, #fbfdff, #f7fbff);
}

.invoice-editor-modern-page.invoice-editor-shared-workspace-page .btn.invoice-btn-primary {
    background: linear-gradient(135deg, #111827, #1f2937);
    border: 1px solid rgba(255,255,255,.06);
    box-shadow: 0 12px 20px rgba(15,23,42,.10);
}

.invoice-editor-modern-page.invoice-editor-shared-workspace-page .btn.invoice-btn-primary:hover,
.invoice-editor-modern-page.invoice-editor-shared-workspace-page .btn.invoice-btn-primary:focus {
    background: linear-gradient(135deg, #0f172a, #111827);
}

.invoice-editor-modern-page.invoice-editor-shared-workspace-page .btn.invoice-btn-secondary {
    border-color: var(--ies-border);
    background: linear-gradient(180deg, #fff, #f8fafc);
    color: #475569;
}

.invoice-editor-modern-page.invoice-editor-shared-workspace-page .btn.invoice-btn-secondary:hover,
.invoice-editor-modern-page.invoice-editor-shared-workspace-page .btn.invoice-btn-secondary:focus {
    border-color: var(--ies-border-strong);
    background: #fff;
    color: #0f172a;
}

.invoice-editor-modern-page.invoice-editor-shared-workspace-page .invoice-actions {
    margin-top: .95rem;
    border-top: 1px solid #edf2f7;
}

.invoice-editor-modern-page.invoice-editor-shared-workspace-page .invoice-alert {
    border-radius: 12px;
}

@media (max-width: 1199.98px) {
    .invoice-editor-modern-page.invoice-editor-shared-workspace-page .invoice-editor-hero-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .invoice-editor-modern-page.invoice-editor-shared-workspace-page .invoice-editor-shared-shell {
        border-radius: 16px;
    }

    .invoice-editor-modern-page.invoice-editor-shared-workspace-page .invoice-editor-hero {
        padding: .9rem;
    }

    .invoice-editor-modern-page.invoice-editor-shared-workspace-page .invoice-editor-panel .card-body {
        padding: .9rem;
    }

    .invoice-editor-modern-page.invoice-editor-shared-workspace-page .invoice-section {
        border-radius: 14px;
        padding: .85rem;
    }

    .invoice-editor-modern-page.invoice-editor-shared-workspace-page .invoice-editor-stats,
    .invoice-editor-modern-page.invoice-editor-shared-workspace-page .invoice-form-grid {
        grid-template-columns: 1fr;
    }
}

html[data-theme="dark"] .invoice-editor-modern-page.invoice-editor-shared-workspace-page {
    --ies-bg: #0f172a;
    --ies-surface: #111827;
    --ies-surface-soft: #0b1220;
    --ies-border: #253247;
    --ies-border-strong: #32445e;
    --ies-text: #e5edf7;
    --ies-text-muted: #a9b8cc;
    --ies-text-soft: #8ea1bb;
    background:
        radial-gradient(circle at 10% 0%, rgba(59,130,246,.12), transparent 42%),
        radial-gradient(circle at 92% 8%, rgba(6,182,212,.10), transparent 44%),
        linear-gradient(180deg, #0b1220 0%, #101a2d 72%, #0c1424 100%);
}

html[data-theme="dark"] .invoice-editor-modern-page.invoice-editor-shared-workspace-page .invoice-editor-shared-shell {
    border-color: var(--ies-border);
    background: linear-gradient(180deg, rgba(17,24,39,.96), rgba(12,19,32,.95));
    box-shadow: 0 18px 40px rgba(2,6,23,.32);
}

html[data-theme="dark"] .invoice-editor-modern-page.invoice-editor-shared-workspace-page .invoice-editor-hero {
    border-bottom-color: rgba(148,163,184,.14);
    color: var(--ies-text);
    background:
        radial-gradient(circle at 0% 0%, rgba(251,191,36,.07), transparent 34%),
        radial-gradient(circle at 100% 0%, rgba(6,182,212,.09), transparent 36%),
        linear-gradient(180deg, rgba(17,24,39,.95), rgba(13,20,34,.95));
}

html[data-theme="dark"] .invoice-editor-modern-page.invoice-editor-shared-workspace-page .invoice-editor-hero::after {
    opacity: .28;
}

html[data-theme="dark"] .invoice-editor-modern-page.invoice-editor-shared-workspace-page .invoice-editor-title {
    color: #e5edf7;
}

html[data-theme="dark"] .invoice-editor-modern-page.invoice-editor-shared-workspace-page .invoice-editor-subtitle {
    color: #a9b8cc;
}

html[data-theme="dark"] .invoice-editor-modern-page.invoice-editor-shared-workspace-page .invoice-editor-chip {
    color: #c5d3e6;
    border-color: #2b3950;
    background: rgba(148,163,184,.08);
}

html[data-theme="dark"] .invoice-editor-modern-page.invoice-editor-shared-workspace-page .invoice-editor-chip i {
    color: #9cb0cb;
}

html[data-theme="dark"] .invoice-editor-modern-page.invoice-editor-shared-workspace-page .invoice-editor-stat {
    border-color: var(--ies-border);
    background: linear-gradient(180deg, rgba(17,24,39,.92), rgba(12,19,32,.92));
}

html[data-theme="dark"] .invoice-editor-modern-page.invoice-editor-shared-workspace-page .invoice-editor-stat .label {
    color: #a9b8cc;
}

html[data-theme="dark"] .invoice-editor-modern-page.invoice-editor-shared-workspace-page .invoice-editor-stat .value {
    color: #eef4ff;
}

html[data-theme="dark"] .invoice-editor-modern-page.invoice-editor-shared-workspace-page .invoice-editor-stat .meta {
    color: #8ea1bb;
}

html[data-theme="dark"] .invoice-editor-modern-page.invoice-editor-shared-workspace-page .invoice-editor-panel::before {
    opacity: .75;
}

html[data-theme="dark"] .invoice-editor-modern-page.invoice-editor-shared-workspace-page .invoice-section {
    border-color: var(--ies-border);
    background: linear-gradient(180deg, rgba(17,24,39,.94), rgba(12,19,32,.94));
    box-shadow: none;
}

html[data-theme="dark"] .invoice-editor-modern-page.invoice-editor-shared-workspace-page .invoice-section-title,
html[data-theme="dark"] .invoice-editor-modern-page.invoice-editor-shared-workspace-page .invoice-field label {
    color: #d6e1ef;
}

html[data-theme="dark"] .invoice-editor-modern-page.invoice-editor-shared-workspace-page .invoice-field .form-control,
html[data-theme="dark"] .invoice-editor-modern-page.invoice-editor-shared-workspace-page .invoice-field .form-select,
html[data-theme="dark"] .invoice-editor-modern-page.invoice-editor-shared-workspace-page .invoice-field select {
    border-color: #2c3a51;
    background: #111a2c;
    color: #e5edf7;
}

html[data-theme="dark"] .invoice-editor-modern-page.invoice-editor-shared-workspace-page .invoice-field .form-control::placeholder {
    color: #7f93ae;
}

html[data-theme="dark"] .invoice-editor-modern-page.invoice-editor-shared-workspace-page .invoice-help,
html[data-theme="dark"] .invoice-editor-modern-page.invoice-editor-shared-workspace-page .invoice-actions-left {
    color: #8ea1bb;
}

html[data-theme="dark"] .invoice-editor-modern-page.invoice-editor-shared-workspace-page .invoice-file-drop {
    border-color: #334259;
    background: linear-gradient(180deg, rgba(17,24,39,.82), rgba(11,18,32,.9));
}

html[data-theme="dark"] .invoice-editor-modern-page.invoice-editor-shared-workspace-page .invoice-file-icon,
html[data-theme="dark"] .invoice-editor-modern-page.invoice-editor-shared-workspace-page .invoice-preview-main .icon {
    color: #93c5fd;
    border-color: #31445f;
    background: linear-gradient(180deg, rgba(37,99,235,.16), rgba(59,130,246,.10));
}

html[data-theme="dark"] .invoice-editor-modern-page.invoice-editor-shared-workspace-page .invoice-file-meta .title,
html[data-theme="dark"] .invoice-editor-modern-page.invoice-editor-shared-workspace-page .invoice-preview-main .name {
    color: #e5edf7;
}

html[data-theme="dark"] .invoice-editor-modern-page.invoice-editor-shared-workspace-page .invoice-file-meta .sub,
html[data-theme="dark"] .invoice-editor-modern-page.invoice-editor-shared-workspace-page .invoice-preview-main .path {
    color: #8ea1bb;
}

html[data-theme="dark"] .invoice-editor-modern-page.invoice-editor-shared-workspace-page .btn.invoice-btn-primary {
    background: linear-gradient(135deg, #1d4ed8, #3730a3);
    border-color: rgba(96,165,250,.24);
    box-shadow: none;
}

html[data-theme="dark"] .invoice-editor-modern-page.invoice-editor-shared-workspace-page .btn.invoice-btn-primary:hover,
html[data-theme="dark"] .invoice-editor-modern-page.invoice-editor-shared-workspace-page .btn.invoice-btn-primary:focus {
    background: linear-gradient(135deg, #2563eb, #4338ca);
}

html[data-theme="dark"] .invoice-editor-modern-page.invoice-editor-shared-workspace-page .btn.invoice-btn-secondary {
    color: #dbe7f5;
    border-color: #2b3950;
    background: linear-gradient(180deg, #162033, #111a2c);
}

html[data-theme="dark"] .invoice-editor-modern-page.invoice-editor-shared-workspace-page .btn.invoice-btn-secondary:hover,
html[data-theme="dark"] .invoice-editor-modern-page.invoice-editor-shared-workspace-page .btn.invoice-btn-secondary:focus {
    color: #eef4ff;
    border-color: #364861;
    background: linear-gradient(180deg, #1a2740, #142138);
}

html[data-theme="dark"] .invoice-editor-modern-page.invoice-editor-shared-workspace-page .invoice-actions {
    border-top-color: rgba(148,163,184,.14);
}

html[data-theme="dark"] .invoice-editor-modern-page.invoice-editor-shared-workspace-page .invoice-alert {
    border-color: rgba(239,68,68,.35);
    background: rgba(127,29,29,.18);
    color: #fecaca;
}

html[data-theme="dark"] .invoice-editor-modern-page.invoice-editor-shared-workspace-page .invoice-alert.is-success {
    border-color: rgba(34,197,94,.34);
    background: rgba(20,83,45,.20);
    color: #bbf7d0;
}

/* ===== Report Upload Workspace Overrides (admin/upload_report.php) ===== */
.invoice-editor-modern-page.report-upload-workspace-page {
    --ruw-border: #e2e8f0;
    --ruw-border-strong: #d5dfec;
    --ruw-text: #0f172a;
    --ruw-text-muted: #64748b;
    --ruw-text-soft: #94a3b8;
}

.invoice-editor-modern-page.report-upload-workspace-page .invoice-editor-hero {
    background:
        radial-gradient(circle at 0% 0%, rgba(99,102,241,.10), transparent 32%),
        radial-gradient(circle at 100% 0%, rgba(59,130,246,.08), transparent 36%),
        linear-gradient(180deg, #ffffff, #fbfcff);
}

.invoice-editor-modern-page.report-upload-workspace-page .report-upload-brand {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    width: fit-content;
    padding: .45rem .65rem;
    border-radius: 14px;
    border: 1px solid var(--ruw-border);
    background: rgba(255,255,255,.92);
}

.invoice-editor-modern-page.report-upload-workspace-page .report-upload-brand-logo {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    border: 1px solid #e6edf7;
    background: #fff;
    display: grid;
    place-items: center;
    overflow: hidden;
    flex-shrink: 0;
}

.invoice-editor-modern-page.report-upload-workspace-page .report-upload-brand-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.invoice-editor-modern-page.report-upload-workspace-page .report-upload-brand-copy .eyebrow {
    display: block;
    color: var(--ruw-text-soft);
    font-size: .68rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    line-height: 1.1;
}

.invoice-editor-modern-page.report-upload-workspace-page .report-upload-brand-copy .name {
    display: block;
    color: var(--ruw-text);
    font-weight: 700;
    line-height: 1.15;
}

.invoice-editor-modern-page.report-upload-workspace-page .report-upload-hero-pills {
    gap: .5rem;
}

.invoice-editor-modern-page.report-upload-workspace-page .report-upload-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
    gap: .95rem;
    align-items: start;
}

.invoice-editor-modern-page.report-upload-workspace-page .report-upload-main {
    min-width: 0;
}

.invoice-editor-modern-page.report-upload-workspace-page .report-upload-sidebar {
    display: grid;
    gap: .9rem;
}

.invoice-editor-modern-page.report-upload-workspace-page .report-upload-side-card {
    border-radius: 16px;
    border: 1px solid var(--ruw-border);
    background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(250,252,255,.96));
    box-shadow: 0 6px 16px rgba(15,23,42,.03);
    padding: .9rem;
}

.invoice-editor-modern-page.report-upload-workspace-page .side-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: .65rem;
    margin-bottom: .75rem;
}

.invoice-editor-modern-page.report-upload-workspace-page .side-card-head.compact {
    margin-bottom: .65rem;
}

.invoice-editor-modern-page.report-upload-workspace-page .side-card-head h6 {
    margin: 0;
    color: var(--ruw-text);
    font-weight: 700;
    font-size: .95rem;
}

.invoice-editor-modern-page.report-upload-workspace-page .side-card-head p {
    margin: .15rem 0 0;
    color: var(--ruw-text-muted);
    font-size: .78rem;
    line-height: 1.3;
}

.invoice-editor-modern-page.report-upload-workspace-page .side-card-head .icon-btn {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    border: 1px solid var(--ruw-border);
    background: linear-gradient(180deg, #fff, #f8fafc);
    color: #64748b;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.invoice-editor-modern-page.report-upload-workspace-page .report-upload-storage-ring {
    --used: 42%;
    width: 186px;
    height: 186px;
    border-radius: 50%;
    margin: .15rem auto .85rem;
    background:
        conic-gradient(from 210deg,
            #4f46e5 0 var(--used),
            #a5b4fc var(--used) calc(var(--used) + 14%),
            #c7d2fe calc(var(--used) + 14%) calc(var(--used) + 22%),
            #e2e8f0 calc(var(--used) + 22%) 100%);
    position: relative;
    box-shadow: inset 0 0 0 1px rgba(148,163,184,.16);
}

.invoice-editor-modern-page.report-upload-workspace-page .report-upload-storage-ring::before {
    content: "";
    position: absolute;
    inset: 24px;
    border-radius: 50%;
    background: linear-gradient(180deg, #ffffff, #f8fbff);
    border: 1px solid #e3eaf5;
}

.invoice-editor-modern-page.report-upload-workspace-page .report-upload-storage-ring .ring-center {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    text-align: center;
    z-index: 1;
}

.invoice-editor-modern-page.report-upload-workspace-page .report-upload-storage-ring .ring-center strong {
    display: block;
    color: var(--ruw-text);
    font-size: 1.55rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.02em;
}

.invoice-editor-modern-page.report-upload-workspace-page .report-upload-storage-ring .ring-center span {
    display: block;
    color: var(--ruw-text-muted);
    font-size: .82rem;
    margin-top: .25rem;
}

.invoice-editor-modern-page.report-upload-workspace-page .report-upload-storage-list {
    display: grid;
    gap: .5rem;
}

.invoice-editor-modern-page.report-upload-workspace-page .report-upload-storage-list > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .7rem;
    padding: .45rem .55rem;
    border-radius: 10px;
    border: 1px solid #edf2f7;
    background: #fff;
}

.invoice-editor-modern-page.report-upload-workspace-page .report-upload-storage-list span {
    color: var(--ruw-text-muted);
    font-size: .78rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
}

.invoice-editor-modern-page.report-upload-workspace-page .report-upload-storage-list strong {
    color: var(--ruw-text);
    font-size: .82rem;
    font-weight: 700;
}

.invoice-editor-modern-page.report-upload-workspace-page .report-upload-storage-list .dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    display: inline-block;
}

.invoice-editor-modern-page.report-upload-workspace-page .dot-primary { background: #4f46e5; }
.invoice-editor-modern-page.report-upload-workspace-page .dot-secondary { background: #6366f1; }
.invoice-editor-modern-page.report-upload-workspace-page .dot-muted { background: #cbd5e1; }

.invoice-editor-modern-page.report-upload-workspace-page .report-upload-activity-list {
    display: grid;
    gap: .6rem;
}

.invoice-editor-modern-page.report-upload-workspace-page .activity-row {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    padding: .45rem;
    border-radius: 12px;
    border: 1px solid #edf2f7;
    background: linear-gradient(180deg, #ffffff, #f9fbff);
}

.invoice-editor-modern-page.report-upload-workspace-page .activity-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    border: 1px solid #dbe7fb;
    background: linear-gradient(180deg, #eef4ff, #e9f0ff);
    color: #4f46e5;
    flex-shrink: 0;
}

.invoice-editor-modern-page.report-upload-workspace-page .activity-copy .title {
    display: block;
    color: var(--ruw-text);
    font-weight: 600;
    line-height: 1.2;
}

.invoice-editor-modern-page.report-upload-workspace-page .activity-copy .sub {
    display: block;
    color: var(--ruw-text-soft);
    font-size: .76rem;
    line-height: 1.35;
    margin-top: .12rem;
}

.invoice-editor-modern-page.report-upload-workspace-page .report-upload-checklist {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: .55rem;
}

.invoice-editor-modern-page.report-upload-workspace-page .report-upload-checklist li {
    display: flex;
    align-items: flex-start;
    gap: .45rem;
    color: var(--ruw-text-muted);
    font-size: .82rem;
    line-height: 1.35;
}

.invoice-editor-modern-page.report-upload-workspace-page .report-upload-checklist i {
    color: #4f46e5;
    margin-top: .05rem;
    flex-shrink: 0;
}

.invoice-editor-modern-page.report-upload-workspace-page .report-upload-file-section .invoice-file-drop {
    padding: .9rem;
}

.invoice-editor-modern-page.report-upload-workspace-page .report-upload-dropboard {
    border-style: solid;
    border-color: #e3e9f4;
    background:
        radial-gradient(circle at 100% 0%, rgba(99,102,241,.06), transparent 38%),
        linear-gradient(180deg, #fbfdff, #f7fbff);
}

.invoice-editor-modern-page.report-upload-workspace-page .report-upload-dropboard-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: .75rem;
    margin-bottom: .8rem;
}

.invoice-editor-modern-page.report-upload-workspace-page .report-upload-dropboard-badge {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    border-radius: 999px;
    padding: .38rem .62rem;
    border: 1px solid #ddd6fe;
    background: #f5f3ff;
    color: #5b21b6;
    font-weight: 700;
    font-size: .75rem;
    white-space: nowrap;
}

.invoice-editor-modern-page.report-upload-workspace-page .report-upload-dropzone {
    border: 2px dashed #c7d7ef;
    border-radius: 16px;
    padding: .95rem;
    margin-bottom: .85rem;
    background:
        radial-gradient(circle at 12% 12%, rgba(99,102,241,.05), transparent 38%),
        linear-gradient(180deg, rgba(255,255,255,.9), rgba(248,251,255,.95));
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: .75rem;
    align-items: center;
}

.invoice-editor-modern-page.report-upload-workspace-page .report-upload-dropzone-copy .headline {
    display: block;
    color: var(--ruw-text);
    font-weight: 600;
    line-height: 1.3;
}

.invoice-editor-modern-page.report-upload-workspace-page .report-upload-dropzone-copy .headline span {
    color: #4f46e5;
}

.invoice-editor-modern-page.report-upload-workspace-page .report-upload-dropzone-copy .subline {
    display: block;
    margin-top: .22rem;
    color: var(--ruw-text-soft);
    font-size: .78rem;
    line-height: 1.35;
}

.invoice-editor-modern-page.report-upload-workspace-page .report-upload-dropzone-visual {
    width: 88px;
    height: 88px;
    border-radius: 20px;
    position: relative;
    display: grid;
    place-items: center;
    color: #4f46e5;
    background: linear-gradient(180deg, #ffffff, #f4f7ff);
    border: 1px solid #dbe6fb;
    overflow: hidden;
    flex-shrink: 0;
}

.invoice-editor-modern-page.report-upload-workspace-page .report-upload-dropzone-visual i {
    font-size: 1.8rem;
    position: relative;
    z-index: 1;
}

.invoice-editor-modern-page.report-upload-workspace-page .report-upload-dropzone-visual .ring {
    position: absolute;
    border-radius: 999px;
    border: 1px solid rgba(79,70,229,.18);
}

.invoice-editor-modern-page.report-upload-workspace-page .report-upload-dropzone-visual .ring-a {
    inset: 10px;
}

.invoice-editor-modern-page.report-upload-workspace-page .report-upload-dropzone-visual .ring-b {
    inset: 20px;
    border-color: rgba(59,130,246,.16);
}

@media (max-width: 1199.98px) {
    .invoice-editor-modern-page.report-upload-workspace-page .report-upload-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .invoice-editor-modern-page.report-upload-workspace-page .report-upload-dropboard-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .invoice-editor-modern-page.report-upload-workspace-page .report-upload-dropzone {
        grid-template-columns: 1fr;
    }

    .invoice-editor-modern-page.report-upload-workspace-page .report-upload-dropzone-visual {
        width: 72px;
        height: 72px;
        border-radius: 16px;
    }

    .invoice-editor-modern-page.report-upload-workspace-page .report-upload-storage-ring {
        width: 160px;
        height: 160px;
    }

    .invoice-editor-modern-page.report-upload-workspace-page .report-upload-storage-ring::before {
        inset: 20px;
    }
}

html[data-theme="dark"] .invoice-editor-modern-page.report-upload-workspace-page {
    --ruw-border: #253247;
    --ruw-border-strong: #32445e;
    --ruw-text: #e5edf7;
    --ruw-text-muted: #a9b8cc;
    --ruw-text-soft: #8ea1bb;
}

html[data-theme="dark"] .invoice-editor-modern-page.report-upload-workspace-page .report-upload-brand {
    border-color: rgba(148,163,184,.16);
    background: rgba(255,255,255,.03);
}

html[data-theme="dark"] .invoice-editor-modern-page.report-upload-workspace-page .report-upload-brand-logo {
    border-color: rgba(148,163,184,.16);
    background: #0f172a;
}

html[data-theme="dark"] .invoice-editor-modern-page.report-upload-workspace-page .report-upload-brand-copy .eyebrow {
    color: #8ea1bb;
}

html[data-theme="dark"] .invoice-editor-modern-page.report-upload-workspace-page .report-upload-brand-copy .name {
    color: #e5edf7;
}

html[data-theme="dark"] .invoice-editor-modern-page.report-upload-workspace-page .report-upload-side-card {
    border-color: #2a394f;
    background: linear-gradient(180deg, rgba(17,24,39,.92), rgba(12,19,32,.92));
    box-shadow: none;
}

html[data-theme="dark"] .invoice-editor-modern-page.report-upload-workspace-page .side-card-head h6 {
    color: #e5edf7;
}

html[data-theme="dark"] .invoice-editor-modern-page.report-upload-workspace-page .side-card-head p {
    color: #a9b8cc;
}

html[data-theme="dark"] .invoice-editor-modern-page.report-upload-workspace-page .side-card-head .icon-btn {
    border-color: #304159;
    background: linear-gradient(180deg, #162033, #111a2c);
    color: #b7c6d9;
}

html[data-theme="dark"] .invoice-editor-modern-page.report-upload-workspace-page .report-upload-storage-ring {
    background:
        conic-gradient(from 210deg,
            #6366f1 0 var(--used),
            #818cf8 var(--used) calc(var(--used) + 14%),
            #475569 calc(var(--used) + 14%) calc(var(--used) + 22%),
            #1f2937 calc(var(--used) + 22%) 100%);
    box-shadow: inset 0 0 0 1px rgba(148,163,184,.18);
}

html[data-theme="dark"] .invoice-editor-modern-page.report-upload-workspace-page .report-upload-storage-ring::before {
    background: linear-gradient(180deg, #111827, #0f172a);
    border-color: #2b3950;
}

html[data-theme="dark"] .invoice-editor-modern-page.report-upload-workspace-page .report-upload-storage-ring .ring-center strong {
    color: #eef4ff;
}

html[data-theme="dark"] .invoice-editor-modern-page.report-upload-workspace-page .report-upload-storage-ring .ring-center span {
    color: #9fb0c6;
}

html[data-theme="dark"] .invoice-editor-modern-page.report-upload-workspace-page .report-upload-storage-list > div,
html[data-theme="dark"] .invoice-editor-modern-page.report-upload-workspace-page .activity-row {
    border-color: #2b3950;
    background: rgba(148,163,184,.05);
}

html[data-theme="dark"] .invoice-editor-modern-page.report-upload-workspace-page .report-upload-storage-list span {
    color: #a9b8cc;
}

html[data-theme="dark"] .invoice-editor-modern-page.report-upload-workspace-page .report-upload-storage-list strong {
    color: #e5edf7;
}

html[data-theme="dark"] .invoice-editor-modern-page.report-upload-workspace-page .activity-icon {
    border-color: #31445f;
    background: linear-gradient(180deg, rgba(79,70,229,.18), rgba(59,130,246,.12));
    color: #a5b4fc;
}

html[data-theme="dark"] .invoice-editor-modern-page.report-upload-workspace-page .activity-copy .title {
    color: #e5edf7;
}

html[data-theme="dark"] .invoice-editor-modern-page.report-upload-workspace-page .activity-copy .sub,
html[data-theme="dark"] .invoice-editor-modern-page.report-upload-workspace-page .report-upload-checklist li {
    color: #8ea1bb;
}

html[data-theme="dark"] .invoice-editor-modern-page.report-upload-workspace-page .report-upload-checklist i {
    color: #a5b4fc;
}

html[data-theme="dark"] .invoice-editor-modern-page.report-upload-workspace-page .report-upload-dropboard {
    border-color: #2f4057;
    background:
        radial-gradient(circle at 100% 0%, rgba(99,102,241,.10), transparent 38%),
        linear-gradient(180deg, rgba(17,24,39,.85), rgba(11,18,32,.9));
}

html[data-theme="dark"] .invoice-editor-modern-page.report-upload-workspace-page .report-upload-dropboard-badge {
    border-color: rgba(99,102,241,.30);
    background: rgba(79,70,229,.14);
    color: #c7d2fe;
}

html[data-theme="dark"] .invoice-editor-modern-page.report-upload-workspace-page .report-upload-dropzone {
    border-color: #3a4f6d;
    background:
        radial-gradient(circle at 12% 12%, rgba(99,102,241,.08), transparent 38%),
        linear-gradient(180deg, rgba(17,24,39,.78), rgba(11,18,32,.82));
}

html[data-theme="dark"] .invoice-editor-modern-page.report-upload-workspace-page .report-upload-dropzone-copy .headline {
    color: #e5edf7;
}

html[data-theme="dark"] .invoice-editor-modern-page.report-upload-workspace-page .report-upload-dropzone-copy .headline span {
    color: #a5b4fc;
}

html[data-theme="dark"] .invoice-editor-modern-page.report-upload-workspace-page .report-upload-dropzone-copy .subline {
    color: #8ea1bb;
}

html[data-theme="dark"] .invoice-editor-modern-page.report-upload-workspace-page .report-upload-dropzone-visual {
    border-color: #31445f;
    background: linear-gradient(180deg, #111a2c, #0f172a);
    color: #a5b4fc;
}

html[data-theme="dark"] .invoice-editor-modern-page.report-upload-workspace-page .report-upload-dropzone-visual .ring-a {
    border-color: rgba(165,180,252,.20);
}

html[data-theme="dark"] .invoice-editor-modern-page.report-upload-workspace-page .report-upload-dropzone-visual .ring-b {
    border-color: rgba(96,165,250,.16);
}

/* ===== Notification Composer Workspace (admin/notification.php) ===== */
.invoice-editor-modern-page.notification-composer-page {
    --ncp-border: #e2e8f0;
    --ncp-border-strong: #d5dfec;
    --ncp-text: #0f172a;
    --ncp-text-muted: #64748b;
    --ncp-text-soft: #94a3b8;
}

.invoice-editor-modern-page.notification-composer-page .invoice-editor-shared-shell {
    border-radius: 20px;
    border-color: #d5deeb;
    background: linear-gradient(180deg, #f9fbff 0%, #f4f7fd 100%);
    box-shadow: 0 14px 28px rgba(15,23,42,.05);
}

.invoice-editor-modern-page.notification-composer-page .invoice-editor-hero {
    padding: 1.05rem 1.15rem 1.02rem;
    border-bottom-color: #d8e2f0;
    background:
        radial-gradient(circle at 0% 0%, rgba(59,130,246,.10), transparent 36%),
        radial-gradient(circle at 88% 12%, rgba(99,102,241,.16), transparent 42%),
        linear-gradient(180deg, #f5f7ff 0%, #f2f6ff 100%);
}

.invoice-editor-modern-page.notification-composer-page .invoice-editor-hero::after {
    display: none;
}

.invoice-editor-modern-page.notification-composer-page .invoice-editor-hero-grid {
    grid-template-columns: minmax(0, 1.6fr) minmax(260px, .78fr);
    gap: .95rem;
    align-items: center;
}

.invoice-editor-modern-page.notification-composer-page .invoice-editor-hero-main {
    gap: .72rem;
}

.invoice-editor-modern-page.notification-composer-page .invoice-editor-title {
    font-size: clamp(1.68rem, 2.25vw, 2.5rem);
    line-height: 1.1;
    letter-spacing: -.03em;
    color: #0f172a;
}

.invoice-editor-modern-page.notification-composer-page .invoice-editor-subtitle {
    margin-top: .3rem;
    max-width: 60ch;
    color: #607189;
    font-size: clamp(.95rem, 1.02vw, 1.02rem);
}

.invoice-editor-modern-page.notification-composer-page .invoice-editor-pills {
    gap: .55rem;
}

.invoice-editor-modern-page.notification-composer-page .invoice-editor-chip {
    padding: .46rem .86rem;
    border-radius: 999px;
    border: 1px solid #cfdae8;
    background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(246,249,255,.96));
    color: #475569;
    font-size: .88rem;
    font-weight: 600;
}

.invoice-editor-modern-page.notification-composer-page .invoice-editor-chip i {
    color: #64748b;
    font-size: .96rem;
}

.invoice-editor-modern-page.notification-composer-page .invoice-editor-stats {
    grid-template-columns: minmax(220px, 340px);
    justify-content: end;
    gap: 0;
}

.invoice-editor-modern-page.notification-composer-page .invoice-editor-stat {
    border-radius: 18px;
    border: 1px solid #cfdbea;
    background: linear-gradient(180deg, #ffffff, #f8fbff);
    min-height: 0;
    padding: .82rem .94rem;
}

.invoice-editor-modern-page.notification-composer-page .invoice-editor-stat .label {
    color: #5f718a;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.invoice-editor-modern-page.notification-composer-page .invoice-editor-stat .value {
    margin-top: .32rem;
    font-size: 1.72rem;
    line-height: 1.05;
    color: #0f172a;
}

.invoice-editor-modern-page.notification-composer-page .invoice-editor-stat .meta {
    margin-top: .34rem;
    color: #8295ae;
    font-size: .82rem;
}

.invoice-editor-modern-page.notification-composer-page .invoice-editor-panel::before {
    height: 3px;
    background: linear-gradient(90deg, #4f6ef7 0%, #3b82f6 56%, #22c1ee 100%);
    opacity: 1;
}

.invoice-editor-modern-page.notification-composer-page .invoice-editor-panel .card-body {
    padding: 1.08rem 1.15rem;
}

.invoice-editor-modern-page.notification-composer-page .invoice-section,
.invoice-editor-modern-page.notification-composer-page .notification-side-card {
    border-radius: 18px;
    border-color: #d4dfed;
    background: linear-gradient(180deg, #ffffff, #f8fbff);
    box-shadow: none;
}

.invoice-editor-modern-page.notification-composer-page .invoice-section {
    padding: .95rem;
}

.invoice-editor-modern-page.notification-composer-page .notification-side-card {
    padding: .9rem;
}

.invoice-editor-modern-page.notification-composer-page .notification-brand {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    width: fit-content;
    padding: .45rem .65rem;
    border-radius: 14px;
    border: 1px solid var(--ncp-border);
    background: rgba(255,255,255,.92);
}

.invoice-editor-modern-page.notification-composer-page .notification-brand-logo {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    border: 1px solid #e6edf7;
    background: #fff;
    display: grid;
    place-items: center;
    overflow: hidden;
    flex-shrink: 0;
}

.invoice-editor-modern-page.notification-composer-page .notification-brand-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.invoice-editor-modern-page.notification-composer-page .notification-brand-copy .eyebrow {
    display: block;
    color: var(--ncp-text-soft);
    font-size: .68rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    line-height: 1.1;
}

.invoice-editor-modern-page.notification-composer-page .notification-brand-copy .name {
    display: block;
    color: var(--ncp-text);
    font-weight: 700;
    line-height: 1.15;
}

.invoice-editor-modern-page.notification-composer-page .notification-compose-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr);
    gap: .95rem;
    align-items: start;
}

.invoice-editor-modern-page.notification-composer-page .notification-compose-main {
    min-width: 0;
}

.invoice-editor-modern-page.notification-composer-page .notification-compose-side {
    display: grid;
    gap: .9rem;
}

.invoice-editor-modern-page.notification-composer-page .notification-field-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr);
    gap: .9rem;
}

.invoice-editor-modern-page.notification-composer-page .notification-field-grid .span-2 {
    grid-column: 1 / -1;
}

.invoice-editor-modern-page.notification-composer-page .notification-channel-card {
    border: 1px solid #e8eef7;
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff, #fafcff);
    padding: .75rem;
    align-self: start;
}

.invoice-editor-modern-page.notification-composer-page .notification-channel-card label {
    margin-bottom: .5rem;
}

.invoice-editor-modern-page.notification-composer-page .notification-channel-pill {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    border-radius: 12px;
    border: 1px solid #dbe7fb;
    background: linear-gradient(180deg, #eef4ff, #e8f0ff);
    padding: .6rem;
}

.invoice-editor-modern-page.notification-composer-page .notification-channel-pill > i {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    border: 1px solid #cfdefa;
    background: rgba(255,255,255,.75);
    color: #2563eb;
    flex-shrink: 0;
}

.invoice-editor-modern-page.notification-composer-page .notification-channel-pill strong {
    display: block;
    color: var(--ncp-text);
    font-size: .84rem;
    line-height: 1.2;
}

.invoice-editor-modern-page.notification-composer-page .notification-channel-pill span {
    display: block;
    color: var(--ncp-text-muted);
    font-size: .74rem;
    line-height: 1.3;
    margin-top: .12rem;
}

.invoice-editor-modern-page.notification-composer-page .notification-message-field textarea.form-control {
    min-height: 190px;
}

.invoice-editor-modern-page.notification-composer-page .notification-field-meta {
    margin-top: .35rem;
    display: flex;
    justify-content: space-between;
    gap: .6rem;
    align-items: flex-start;
}

.invoice-editor-modern-page.notification-composer-page .notification-counter {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 64px;
    padding: .2rem .45rem;
    border-radius: 999px;
    border: 1px solid var(--ncp-border);
    background: #fff;
    color: #475569;
    font-size: .72rem;
    font-weight: 700;
}

.invoice-editor-modern-page.notification-composer-page .notification-side-card {
    border-radius: 16px;
    border: 1px solid var(--ncp-border);
    background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(250,252,255,.96));
    box-shadow: 0 6px 16px rgba(15,23,42,.03);
    padding: .9rem;
}

.invoice-editor-modern-page.notification-composer-page .notification-side-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: .65rem;
    margin-bottom: .75rem;
}

.invoice-editor-modern-page.notification-composer-page .notification-side-head h6 {
    margin: 0;
    color: var(--ncp-text);
    font-weight: 700;
    font-size: .95rem;
}

.invoice-editor-modern-page.notification-composer-page .notification-side-head p {
    margin: .15rem 0 0;
    color: var(--ncp-text-muted);
    font-size: .78rem;
    line-height: 1.3;
}

.invoice-editor-modern-page.notification-composer-page .notification-preview-device {
    border-radius: 16px;
    border: 1px solid #e5ecf7;
    background: linear-gradient(180deg, #ffffff, #f8fbff);
    overflow: hidden;
}

.invoice-editor-modern-page.notification-composer-page .notification-preview-topbar {
    display: flex;
    align-items: center;
    gap: .35rem;
    padding: .55rem .65rem;
    border-bottom: 1px solid #edf2f7;
    background: linear-gradient(180deg, #fbfdff, #f6f9ff);
}

.invoice-editor-modern-page.notification-composer-page .notification-preview-topbar .dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #cbd5e1;
}

.invoice-editor-modern-page.notification-composer-page .notification-preview-topbar .label {
    margin-left: .25rem;
    color: #64748b;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.invoice-editor-modern-page.notification-composer-page .notification-preview-item {
    display: flex;
    align-items: flex-start;
    gap: .7rem;
    padding: .8rem;
}

.invoice-editor-modern-page.notification-composer-page .notification-preview-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid #d8e4fb;
    background: linear-gradient(180deg, #eef4ff, #e8f0ff);
    color: #4f46e5;
    display: grid;
    place-items: center;
    font-size: 1.05rem;
    flex-shrink: 0;
}

.invoice-editor-modern-page.notification-composer-page .notification-preview-copy {
    min-width: 0;
}

.invoice-editor-modern-page.notification-composer-page .notification-preview-copy .title {
    display: block;
    color: var(--ncp-text);
    font-weight: 700;
    line-height: 1.2;
    word-break: break-word;
}

.invoice-editor-modern-page.notification-composer-page .notification-preview-copy .body {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--ncp-text-muted);
    font-size: .8rem;
    line-height: 1.4;
    margin-top: .2rem;
    word-break: break-word;
}

.invoice-editor-modern-page.notification-composer-page .notification-preview-copy .meta {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    color: var(--ncp-text-soft);
    font-size: .72rem;
    margin-top: .35rem;
}

.invoice-editor-modern-page.notification-composer-page .notification-checklist {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: .55rem;
}

.invoice-editor-modern-page.notification-composer-page .notification-checklist li {
    display: flex;
    align-items: flex-start;
    gap: .45rem;
    color: var(--ncp-text-muted);
    font-size: .82rem;
    line-height: 1.35;
}

.invoice-editor-modern-page.notification-composer-page .notification-checklist i {
    color: #4f46e5;
    margin-top: .05rem;
    flex-shrink: 0;
}

.invoice-editor-modern-page.notification-composer-page .notification-metrics-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: .55rem;
}

.invoice-editor-modern-page.notification-composer-page .metric-tile {
    border-radius: 12px;
    border: 1px solid #e8eef7;
    background: linear-gradient(180deg, #ffffff, #fafcff);
    padding: .65rem;
    min-height: 76px;
}

.invoice-editor-modern-page.notification-composer-page .metric-tile .label {
    display: block;
    color: var(--ncp-text-soft);
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.invoice-editor-modern-page.notification-composer-page .metric-tile .value {
    display: block;
    color: var(--ncp-text);
    font-weight: 700;
    font-size: 1rem;
    margin-top: .2rem;
    line-height: 1.15;
    word-break: break-word;
}

.invoice-editor-modern-page.notification-composer-page .metric-tile .meta {
    display: block;
    color: var(--ncp-text-soft);
    font-size: .72rem;
    margin-top: .16rem;
}

.invoice-editor-modern-page.notification-composer-page .notification-history-panel .invoice-section {
    padding-bottom: 0;
}

.invoice-editor-modern-page.notification-composer-page .notification-history-list {
    display: grid;
    gap: .75rem;
}

.invoice-editor-modern-page.notification-composer-page .notification-history-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: .75rem;
    border: 1px solid #e5edf7;
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff, #fbfdff);
    padding: .8rem;
}

.invoice-editor-modern-page.notification-composer-page .notification-history-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    border: 1px solid #dbe6fb;
    background: linear-gradient(180deg, #eef4ff, #e7efff);
    color: #4f46e5;
    font-size: 1.05rem;
}

.invoice-editor-modern-page.notification-composer-page .notification-history-content {
    min-width: 0;
}

.invoice-editor-modern-page.notification-composer-page .notification-history-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: .7rem;
}

.invoice-editor-modern-page.notification-composer-page .notification-history-title-wrap {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    min-width: 0;
}

.invoice-editor-modern-page.notification-composer-page .notification-history-avatar {
    width: 28px;
    height: 28px;
    border-radius: 9px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #4f46e5, #3b82f6);
    color: #fff;
    font-size: .8rem;
    font-weight: 700;
    flex-shrink: 0;
}

.invoice-editor-modern-page.notification-composer-page .notification-history-title {
    color: var(--ncp-text);
    font-weight: 700;
    line-height: 1.25;
    word-break: break-word;
}

.invoice-editor-modern-page.notification-composer-page .notification-history-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem .8rem;
    margin-top: .22rem;
    color: var(--ncp-text-soft);
    font-size: .72rem;
}

.invoice-editor-modern-page.notification-composer-page .notification-history-meta span {
    display: inline-flex;
    align-items: center;
    gap: .2rem;
}

.invoice-editor-modern-page.notification-composer-page .notification-history-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 56px;
    padding: .2rem .5rem;
    border-radius: 999px;
    border: 1px solid #bfdbfe;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: .72rem;
    font-weight: 700;
    flex-shrink: 0;
}

.invoice-editor-modern-page.notification-composer-page .notification-history-message {
    margin-top: .4rem;
    color: var(--ncp-text-muted);
    line-height: 1.45;
    font-size: .84rem;
    word-break: break-word;
}

.invoice-editor-modern-page.notification-composer-page .notification-history-footer {
    margin-top: .9rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    flex-wrap: wrap;
}

.invoice-editor-modern-page.notification-composer-page .notification-history-summary {
    color: var(--ncp-text-soft);
    font-size: .8rem;
}

.invoice-editor-modern-page.notification-composer-page .notification-history-pager {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    flex-wrap: wrap;
}

.invoice-editor-modern-page.notification-composer-page .notification-page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .2rem;
    min-width: 34px;
    height: 34px;
    padding: 0 .55rem;
    border-radius: 10px;
    border: 1px solid #dbe6f5;
    background: #fff;
    color: #475569;
    font-size: .78rem;
    font-weight: 600;
    text-decoration: none;
    transition: all .18s ease;
}

.invoice-editor-modern-page.notification-composer-page a.notification-page-link:hover {
    border-color: #c7d8f3;
    background: #f8fbff;
    color: #1e293b;
}

.invoice-editor-modern-page.notification-composer-page .notification-page-link.is-active {
    border-color: #4f46e5;
    background: linear-gradient(135deg, #4f46e5, #3b82f6);
    color: #fff;
    box-shadow: 0 8px 16px rgba(79,70,229,.20);
}

.invoice-editor-modern-page.notification-composer-page .notification-page-link.is-disabled {
    opacity: .55;
    cursor: default;
    background: #f8fafc;
}

.invoice-editor-modern-page.notification-composer-page .notification-history-empty {
    display: flex;
    align-items: center;
    gap: .8rem;
    border: 1px dashed #d6e2f3;
    border-radius: 14px;
    background: linear-gradient(180deg, #fbfdff, #f8fbff);
    padding: .9rem;
}

.invoice-editor-modern-page.notification-composer-page .notification-history-empty-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    border: 1px solid #dbe6fb;
    background: #eef4ff;
    color: #4f46e5;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.invoice-editor-modern-page.notification-composer-page .notification-history-empty strong {
    display: block;
    color: var(--ncp-text);
    font-size: .92rem;
}

.invoice-editor-modern-page.notification-composer-page .notification-history-empty p {
    margin: .15rem 0 0;
    color: var(--ncp-text-muted);
    font-size: .82rem;
}

@media (max-width: 1199.98px) {
    .invoice-editor-modern-page.notification-composer-page .invoice-editor-hero-grid {
        grid-template-columns: 1fr;
    }

    .invoice-editor-modern-page.notification-composer-page .invoice-editor-stats {
        grid-template-columns: 1fr;
        justify-content: stretch;
    }

    .invoice-editor-modern-page.notification-composer-page .notification-compose-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .invoice-editor-modern-page.notification-composer-page .invoice-editor-shared-shell {
        border-radius: 16px;
    }

    .invoice-editor-modern-page.notification-composer-page .invoice-editor-hero {
        padding: .82rem;
    }

    .invoice-editor-modern-page.notification-composer-page .invoice-editor-panel .card-body {
        padding: .82rem;
    }

    .invoice-editor-modern-page.notification-composer-page .invoice-editor-chip {
        font-size: .84rem;
        padding: .4rem .72rem;
    }

    .invoice-editor-modern-page.notification-composer-page .invoice-editor-title {
        font-size: clamp(1.38rem, 6.8vw, 1.78rem);
    }

    .invoice-editor-modern-page.notification-composer-page .invoice-editor-stat .label {
        font-size: .7rem;
    }

    .invoice-editor-modern-page.notification-composer-page .invoice-editor-stat .value {
        font-size: 1.45rem;
    }

    .invoice-editor-modern-page.notification-composer-page .notification-field-grid {
        grid-template-columns: 1fr;
    }

    .invoice-editor-modern-page.notification-composer-page .notification-field-meta {
        flex-direction: column;
        align-items: flex-start;
    }

    .invoice-editor-modern-page.notification-composer-page .notification-counter {
        min-width: 0;
    }

    .invoice-editor-modern-page.notification-composer-page .notification-metrics-grid {
        grid-template-columns: 1fr;
    }

    .invoice-editor-modern-page.notification-composer-page .notification-history-item {
        grid-template-columns: 1fr;
    }

    .invoice-editor-modern-page.notification-composer-page .notification-history-icon {
        display: none;
    }

    .invoice-editor-modern-page.notification-composer-page .notification-history-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .invoice-editor-modern-page.notification-composer-page .notification-history-footer {
        align-items: stretch;
    }

    .invoice-editor-modern-page.notification-composer-page .notification-history-pager {
        width: 100%;
    }
}

html[data-theme="dark"] .invoice-editor-modern-page.notification-composer-page {
    --ncp-border: #253247;
    --ncp-border-strong: #32445e;
    --ncp-text: #e5edf7;
    --ncp-text-muted: #a9b8cc;
    --ncp-text-soft: #8ea1bb;
}

html[data-theme="dark"] .invoice-editor-modern-page.notification-composer-page .invoice-editor-shared-shell {
    border-color: #27364b;
    background: linear-gradient(180deg, rgba(17,24,39,.96), rgba(12,19,32,.95));
    box-shadow: 0 18px 34px rgba(2,6,23,.35);
}

html[data-theme="dark"] .invoice-editor-modern-page.notification-composer-page .invoice-editor-hero {
    border-bottom-color: rgba(148,163,184,.16);
    background:
        radial-gradient(circle at 0% 0%, rgba(59,130,246,.14), transparent 38%),
        radial-gradient(circle at 88% 12%, rgba(99,102,241,.18), transparent 44%),
        linear-gradient(180deg, rgba(17,24,39,.95), rgba(13,20,34,.95));
}

html[data-theme="dark"] .invoice-editor-modern-page.notification-composer-page .invoice-editor-title {
    color: #e5edf7;
}

html[data-theme="dark"] .invoice-editor-modern-page.notification-composer-page .invoice-editor-subtitle {
    color: #9db0c7;
}

html[data-theme="dark"] .invoice-editor-modern-page.notification-composer-page .invoice-editor-chip {
    border-color: #304159;
    background: rgba(148,163,184,.08);
    color: #d5e1f1;
}

html[data-theme="dark"] .invoice-editor-modern-page.notification-composer-page .invoice-editor-chip i {
    color: #9cb0cb;
}

html[data-theme="dark"] .invoice-editor-modern-page.notification-composer-page .invoice-editor-stat {
    border-color: #304159;
    background: linear-gradient(180deg, rgba(17,24,39,.92), rgba(12,19,32,.92));
}

html[data-theme="dark"] .invoice-editor-modern-page.notification-composer-page .invoice-editor-stat .label {
    color: #a9b8cc;
}

html[data-theme="dark"] .invoice-editor-modern-page.notification-composer-page .invoice-editor-stat .value {
    color: #eef4ff;
}

html[data-theme="dark"] .invoice-editor-modern-page.notification-composer-page .invoice-editor-stat .meta {
    color: #8ea1bb;
}

html[data-theme="dark"] .invoice-editor-modern-page.notification-composer-page .invoice-section,
html[data-theme="dark"] .invoice-editor-modern-page.notification-composer-page .notification-side-card {
    border-color: #2a394f;
    background: linear-gradient(180deg, rgba(17,24,39,.94), rgba(12,19,32,.94));
}

html[data-theme="dark"] .invoice-editor-modern-page.notification-composer-page .notification-brand {
    border-color: rgba(148,163,184,.16);
    background: rgba(255,255,255,.03);
}

html[data-theme="dark"] .invoice-editor-modern-page.notification-composer-page .notification-brand-logo {
    border-color: rgba(148,163,184,.16);
    background: #0f172a;
}

html[data-theme="dark"] .invoice-editor-modern-page.notification-composer-page .notification-brand-copy .eyebrow {
    color: #8ea1bb;
}

html[data-theme="dark"] .invoice-editor-modern-page.notification-composer-page .notification-brand-copy .name {
    color: #e5edf7;
}

html[data-theme="dark"] .invoice-editor-modern-page.notification-composer-page .notification-channel-card,
html[data-theme="dark"] .invoice-editor-modern-page.notification-composer-page .notification-side-card,
html[data-theme="dark"] .invoice-editor-modern-page.notification-composer-page .metric-tile,
html[data-theme="dark"] .invoice-editor-modern-page.notification-composer-page .notification-preview-device {
    border-color: #2a394f;
    background: linear-gradient(180deg, rgba(17,24,39,.92), rgba(12,19,32,.92));
    box-shadow: none;
}

html[data-theme="dark"] .invoice-editor-modern-page.notification-composer-page .notification-channel-pill {
    border-color: #304159;
    background: rgba(79,70,229,.10);
}

html[data-theme="dark"] .invoice-editor-modern-page.notification-composer-page .notification-channel-pill > i {
    border-color: #31445f;
    background: rgba(17,24,39,.7);
    color: #a5b4fc;
}

html[data-theme="dark"] .invoice-editor-modern-page.notification-composer-page .notification-channel-pill strong,
html[data-theme="dark"] .invoice-editor-modern-page.notification-composer-page .notification-side-head h6,
html[data-theme="dark"] .invoice-editor-modern-page.notification-composer-page .notification-preview-copy .title,
html[data-theme="dark"] .invoice-editor-modern-page.notification-composer-page .metric-tile .value {
    color: #e5edf7;
}

html[data-theme="dark"] .invoice-editor-modern-page.notification-composer-page .notification-channel-pill span,
html[data-theme="dark"] .invoice-editor-modern-page.notification-composer-page .notification-side-head p,
html[data-theme="dark"] .invoice-editor-modern-page.notification-composer-page .notification-preview-copy .body,
html[data-theme="dark"] .invoice-editor-modern-page.notification-composer-page .notification-checklist li {
    color: #a9b8cc;
}

html[data-theme="dark"] .invoice-editor-modern-page.notification-composer-page .notification-preview-topbar {
    border-bottom-color: rgba(148,163,184,.14);
    background: linear-gradient(180deg, rgba(17,24,39,.85), rgba(12,19,32,.85));
}

html[data-theme="dark"] .invoice-editor-modern-page.notification-composer-page .notification-preview-topbar .dot {
    background: #475569;
}

html[data-theme="dark"] .invoice-editor-modern-page.notification-composer-page .notification-preview-topbar .label,
html[data-theme="dark"] .invoice-editor-modern-page.notification-composer-page .notification-preview-copy .meta,
html[data-theme="dark"] .invoice-editor-modern-page.notification-composer-page .metric-tile .label,
html[data-theme="dark"] .invoice-editor-modern-page.notification-composer-page .metric-tile .meta {
    color: #8ea1bb;
}

html[data-theme="dark"] .invoice-editor-modern-page.notification-composer-page .notification-preview-icon {
    border-color: #31445f;
    background: linear-gradient(180deg, rgba(79,70,229,.18), rgba(59,130,246,.12));
    color: #a5b4fc;
}

html[data-theme="dark"] .invoice-editor-modern-page.notification-composer-page .notification-checklist i {
    color: #a5b4fc;
}

html[data-theme="dark"] .invoice-editor-modern-page.notification-composer-page .notification-counter {
    border-color: #304159;
    background: rgba(148,163,184,.08);
    color: #dbe7f5;
}

html[data-theme="dark"] .invoice-editor-modern-page.notification-composer-page .notification-history-item,
html[data-theme="dark"] .invoice-editor-modern-page.notification-composer-page .notification-history-empty {
    border-color: #2a394f;
    background: linear-gradient(180deg, rgba(17,24,39,.92), rgba(12,19,32,.92));
}

html[data-theme="dark"] .invoice-editor-modern-page.notification-composer-page .notification-history-icon,
html[data-theme="dark"] .invoice-editor-modern-page.notification-composer-page .notification-history-empty-icon {
    border-color: #31445f;
    background: rgba(79,70,229,.10);
    color: #a5b4fc;
}

html[data-theme="dark"] .invoice-editor-modern-page.notification-composer-page .notification-history-title,
html[data-theme="dark"] .invoice-editor-modern-page.notification-composer-page .notification-history-empty strong {
    color: #e5edf7;
}

html[data-theme="dark"] .invoice-editor-modern-page.notification-composer-page .notification-history-meta,
html[data-theme="dark"] .invoice-editor-modern-page.notification-composer-page .notification-history-message,
html[data-theme="dark"] .invoice-editor-modern-page.notification-composer-page .notification-history-empty p {
    color: #a9b8cc;
}

html[data-theme="dark"] .invoice-editor-modern-page.notification-composer-page .notification-history-chip {
    border-color: #304159;
    background: rgba(59,130,246,.12);
    color: #bfdbfe;
}

html[data-theme="dark"] .invoice-editor-modern-page.notification-composer-page .notification-history-summary {
    color: #8ea1bb;
}

html[data-theme="dark"] .invoice-editor-modern-page.notification-composer-page .notification-page-link {
    border-color: #304159;
    background: rgba(148,163,184,.06);
    color: #cbd5e1;
}

html[data-theme="dark"] .invoice-editor-modern-page.notification-composer-page a.notification-page-link:hover {
    border-color: #3b4f6b;
    background: rgba(59,130,246,.10);
    color: #e5edf7;
}

html[data-theme="dark"] .invoice-editor-modern-page.notification-composer-page .notification-page-link.is-active {
    border-color: #4f46e5;
    background: linear-gradient(135deg, #4f46e5, #2563eb);
    color: #fff;
}

html[data-theme="dark"] .invoice-editor-modern-page.notification-composer-page .notification-page-link.is-disabled {
    background: rgba(148,163,184,.05);
    color: #94a3b8;
}

/* ===== Report Page (admin/report.php) ===== */
.report-modern-page {
    --rep-bg: #edf3fa;
    --rep-surface: rgba(255, 255, 255, 0.93);
    --rep-border: #dbe6f2;
    --rep-border-strong: #cfdced;
    --rep-text: #0f172a;
    --rep-text-muted: #64748b;
    --rep-text-soft: #94a3b8;
    --rep-primary: #2563eb;
    --rep-primary-2: #06b6d4;
    --rep-primary-3: #4f46e5;
    background:
        radial-gradient(circle at 10% 4%, rgba(37, 99, 235, 0.10), transparent 42%),
        radial-gradient(circle at 92% 12%, rgba(79, 70, 229, 0.10), transparent 38%),
        linear-gradient(180deg, #f8fbff 0%, var(--rep-bg) 56%, #e9f0f8 100%);
}

.report-modern-page .page-title-box {
    display: none;
}

.report-modern-page .report-hero {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    padding: 1.15rem;
    background:
        radial-gradient(circle at 86% 16%, rgba(34, 211, 238, 0.22), transparent 34%),
        radial-gradient(circle at 16% 88%, rgba(139, 92, 246, 0.16), transparent 36%),
        linear-gradient(135deg, #071a33 0%, #13294d 46%, #2a2f88 100%);
    color: #fff;
    border: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 24px 52px rgba(15, 23, 42, 0.16);
}

.report-modern-page .report-hero::after {
    content: "";
    position: absolute;
    width: 320px;
    height: 320px;
    right: -110px;
    top: -110px;
    border-radius: 50%;
    background: rgba(255,255,255,.06);
    filter: blur(6px);
    pointer-events: none;
}

.report-modern-page .report-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, .95fr);
    gap: 1rem;
}

.report-modern-page .report-hero-main {
    display: flex;
    flex-direction: column;
    gap: .95rem;
    justify-content: space-between;
}

.report-modern-page .report-brand {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    align-self: flex-start;
    padding: .55rem .8rem;
    border-radius: 14px;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.14);
    backdrop-filter: blur(6px);
}

.report-modern-page .report-brand-logo {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255,255,255,.96);
    display: grid;
    place-items: center;
    overflow: hidden;
}

.report-modern-page .report-brand-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.report-modern-page .report-brand-copy .eyebrow {
    display: block;
    font-size: .72rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(255,255,255,.72);
}

.report-modern-page .report-brand-copy .name {
    display: block;
    color: #fff;
    font-weight: 700;
    line-height: 1.15;
}

.report-modern-page .report-title {
    margin: 0;
    color: #fff;
    font-weight: 700;
    letter-spacing: -0.02em;
    font-size: clamp(1.35rem, 2vw, 1.95rem);
}

.report-modern-page .report-subtitle {
    margin: .35rem 0 0;
    color: rgba(255,255,255,.82);
    line-height: 1.5;
    max-width: 60ch;
}

.report-modern-page .report-filter-pill {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .45rem .7rem;
    border-radius: 999px;
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.14);
    color: #fff;
    font-weight: 600;
    font-size: .84rem;
    width: fit-content;
}

.report-modern-page .report-filter-pill i {
    color: #7dd3fc;
}

.report-modern-page .report-hero-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: .75rem;
}

.report-modern-page .report-stat-card {
    border-radius: 16px;
    padding: .85rem .95rem;
    min-height: 88px;
    background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.07));
    border: 1px solid rgba(255,255,255,.13);
    backdrop-filter: blur(8px);
}

.report-modern-page .report-stat-card .label {
    color: rgba(255,255,255,.74);
    font-size: .8rem;
}

.report-modern-page .report-stat-card .value {
    margin-top: .35rem;
    color: #fff;
    font-weight: 700;
    font-size: 1.2rem;
    line-height: 1.05;
    word-break: break-word;
}

.report-modern-page .report-stat-card .meta {
    margin-top: .28rem;
    color: rgba(255,255,255,.65);
    font-size: .74rem;
}

.report-modern-page .report-table-card {
    position: relative;
    margin-top: 1rem;
    border-radius: 22px;
    border: 1px solid var(--rep-border);
    background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(250,252,255,.91));
    box-shadow: 0 16px 38px rgba(15, 23, 42, 0.07);
    overflow: hidden;
}

.report-modern-page .report-table-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: linear-gradient(90deg, var(--rep-primary), var(--rep-primary-2), var(--rep-primary-3));
}

.report-modern-page .report-table-card .card-body {
    padding: 1.1rem 1.15rem 1rem;
}

.report-modern-page .report-toolbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: .85rem;
    margin-bottom: 1rem;
}

.report-modern-page .report-toolbar-left {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .65rem;
}

.report-modern-page .report-chip {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .44rem .68rem;
    border-radius: 999px;
    background: linear-gradient(180deg, #f8fbff, #f2f7ff);
    border: 1px solid var(--rep-border);
    color: #44566f;
    font-weight: 600;
    font-size: .82rem;
}

.report-modern-page .report-chip i {
    color: var(--rep-primary);
}

.report-modern-page .btn.report-btn-primary {
    border: 0;
    border-radius: 12px;
    min-height: 42px;
    padding: .6rem .95rem;
    color: #fff;
    font-weight: 600;
    background: linear-gradient(135deg, #0ea5e9 0%, #2563eb 55%, #4f46e5 100%);
    box-shadow: 0 12px 24px rgba(37,99,235,.22);
}

.report-modern-page .btn.report-btn-primary:hover,
.report-modern-page .btn.report-btn-primary:focus {
    color: #fff;
}

.report-modern-page #basic-datatable_wrapper .row:first-child {
    align-items: center;
    margin-bottom: .25rem;
}

.report-modern-page #basic-datatable_wrapper .dataTables_length label,
.report-modern-page #basic-datatable_wrapper .dataTables_filter label {
    color: var(--rep-text-muted);
    font-weight: 500;
}

.report-modern-page #basic-datatable_wrapper .form-select,
.report-modern-page #basic-datatable_wrapper .form-control {
    border-radius: 10px;
    border-color: var(--rep-border);
    background-color: #fbfdff;
    min-height: 38px;
    box-shadow: none;
}

.report-modern-page #basic-datatable_wrapper .form-control:focus,
.report-modern-page #basic-datatable_wrapper .form-select:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 .18rem rgba(59,130,246,.10);
}

.report-modern-page .report-table-shell {
    border-radius: 16px;
    border: 1px solid #e5edf7;
    background: rgba(255,255,255,.86);
    overflow: hidden;
}

.report-modern-page #basic-datatable {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    border-collapse: separate;
    border-spacing: 0;
}

.report-modern-page #basic-datatable thead th {
    background: linear-gradient(180deg, #f8fbff, #f3f8ff);
    color: #425269;
    font-weight: 700;
    font-size: .82rem;
    letter-spacing: .02em;
    text-transform: uppercase;
    border-bottom: 1px solid #dde7f3 !important;
    padding: .9rem .8rem;
    white-space: nowrap;
}

.report-modern-page #basic-datatable tbody td {
    border-bottom: 1px solid #eaf0f8;
    padding: .85rem .8rem;
    vertical-align: middle;
    background: rgba(255,255,255,.94);
}

.report-modern-page #basic-datatable tbody tr:hover td {
    background: linear-gradient(180deg, #fcfeff, #f6fbff);
}

.report-modern-page .rep-index {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: linear-gradient(180deg, #e9f3ff, #e3eeff);
    color: #1d4ed8;
    border: 1px solid #cfe0ff;
    font-weight: 700;
    font-size: .84rem;
}

.report-modern-page .report-customer-cell {
    display: flex;
    align-items: center;
    gap: .7rem;
    min-width: 200px;
}

.report-modern-page .report-customer-avatar {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: #fff;
    font-weight: 700;
    font-size: .82rem;
    background: linear-gradient(135deg, #2563eb, #0ea5e9 55%, #4f46e5);
    box-shadow: 0 10px 18px rgba(37,99,235,.12);
    flex-shrink: 0;
}

.report-modern-page .report-customer-copy .name {
    display: block;
    color: var(--rep-text);
    font-weight: 600;
    line-height: 1.2;
}

.report-modern-page .report-customer-copy .meta {
    display: block;
    color: var(--rep-text-soft);
    font-size: .75rem;
    margin-top: .15rem;
}

.report-modern-page .report-file-cell {
    min-width: 240px;
    display: flex;
    align-items: center;
    gap: .65rem;
}

.report-modern-page .report-file-icon {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: #1d4ed8;
    background: linear-gradient(180deg, #edf4ff, #e7f0ff);
    border: 1px solid #d7e5ff;
    flex-shrink: 0;
}

.report-modern-page .report-file-copy .name {
    display: block;
    color: #1e293b;
    font-weight: 600;
    max-width: 260px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.report-modern-page .report-file-copy .meta {
    display: block;
    color: #94a3b8;
    font-size: .74rem;
    margin-top: .1rem;
}

.report-modern-page .report-date-chip {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .35rem .65rem;
    border-radius: 999px;
    border: 1px solid #dbe4f0;
    background: linear-gradient(180deg, #fbfdff, #f3f8ff);
    color: #334155;
    font-weight: 600;
    white-space: nowrap;
}

.report-modern-page .report-date-chip i {
    color: #8ea0ba;
}

.report-modern-page .report-range-cell {
    min-width: 210px;
}

.report-modern-page .report-range-meta {
    display: block;
    color: #94a3b8;
    font-size: .74rem;
    margin-top: .25rem;
}

.report-modern-page .action-group {
    display: flex;
    align-items: center;
    gap: .35rem;
}

.report-modern-page .report-action-btn {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    border: 1px solid var(--rep-border);
    background: linear-gradient(180deg, #fff, #f8fbff);
    color: #64748b;
    transition: all .15s ease;
}

.report-modern-page .report-action-btn:hover {
    border-color: #cfe0ff;
    background: linear-gradient(180deg, #eef5ff, #e8f1ff);
    color: #1d4ed8;
    box-shadow: 0 8px 16px rgba(37,99,235,.10);
}

.report-modern-page #basic-datatable_wrapper .dataTables_info {
    color: var(--rep-text-muted);
    font-weight: 500;
    padding-top: .85rem !important;
}

.report-modern-page #basic-datatable_wrapper .dataTables_paginate .paginate_button {
    border-radius: 10px !important;
    border: 1px solid transparent !important;
    color: var(--rep-text-muted) !important;
}

.report-modern-page #basic-datatable_wrapper .dataTables_paginate .paginate_button.current {
    background: linear-gradient(135deg, #0ea5e9, #2563eb, #4f46e5) !important;
    border-color: transparent !important;
    color: #fff !important;
    box-shadow: 0 10px 20px rgba(37,99,235,.18);
}

.report-modern-page #basic-datatable_wrapper .dataTables_paginate .paginate_button:hover {
    background: #e9f3ff !important;
    border-color: #cfe0ff !important;
    color: #1d4ed8 !important;
}

@media (max-width: 1199.98px) {
    .report-modern-page .report-hero-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .report-modern-page .report-hero,
    .report-modern-page .report-table-card {
        border-radius: 16px;
    }

    .report-modern-page .report-hero-stats {
        grid-template-columns: 1fr 1fr;
    }

    .report-modern-page .report-table-card .card-body {
        padding: .95rem .8rem .85rem;
    }

    .report-modern-page .report-toolbar-left {
        width: 100%;
    }

    .report-modern-page .btn.report-btn-primary,
    .report-modern-page .report-chip {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 575.98px) {
    .report-modern-page .report-hero-stats {
        grid-template-columns: 1fr;
    }

    .report-modern-page .report-subtitle {
        font-size: .9rem;
    }

    .report-modern-page #basic-datatable_wrapper .dataTables_filter,
    .report-modern-page #basic-datatable_wrapper .dataTables_length {
        width: 100%;
        text-align: left !important;
    }

    .report-modern-page #basic-datatable_wrapper .dataTables_filter input {
        width: 100%;
        margin-left: 0 !important;
        margin-top: .35rem;
    }
}

/* ===== Report Shared Dashboard Overrides (admin/report.php) ===== */
.report-modern-page.report-shared-dashboard-page {
    --rsd-bg: #eef2f7;
    --rsd-surface: #ffffff;
    --rsd-surface-soft: #f8fafc;
    --rsd-border: #e2e8f0;
    --rsd-border-strong: #d5dfec;
    --rsd-text: #0f172a;
    --rsd-text-muted: #64748b;
    --rsd-text-soft: #94a3b8;
    --rsd-accent: #2563eb;
    --rsd-accent-2: #6366f1;
    --rsd-success: #16a34a;
    --rsd-warn: #d97706;
    background:
        radial-gradient(circle at 10% 0%, rgba(37,99,235,.05), transparent 38%),
        radial-gradient(circle at 92% 8%, rgba(99,102,241,.05), transparent 42%),
        linear-gradient(180deg, #f7f9fd 0%, #eef3f8 72%, #e8eef6 100%);
}

.report-modern-page.report-shared-dashboard-page .report-dashboard-shell {
    margin-top: .2rem;
    border-radius: 22px;
    border: 1px solid var(--rsd-border);
    background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(252,253,255,.96));
    box-shadow: 0 18px 40px rgba(15,23,42,.06);
    overflow: hidden;
    padding: .9rem;
}

.report-modern-page.report-shared-dashboard-page .report-dashboard-shell > .row {
    margin-left: -.45rem;
    margin-right: -.45rem;
}

.report-modern-page.report-shared-dashboard-page .report-dashboard-shell > .row > [class*="col-"] {
    padding-left: .45rem;
    padding-right: .45rem;
}

.report-modern-page.report-shared-dashboard-page .report-hero {
    margin: 0;
    border-radius: 18px;
    padding: 1rem;
    color: var(--rsd-text);
    border: 1px solid var(--rsd-border);
    box-shadow: none;
    background:
        radial-gradient(circle at 0% 0%, rgba(251,191,36,.08), transparent 32%),
        radial-gradient(circle at 100% 0%, rgba(6,182,212,.08), transparent 36%),
        linear-gradient(180deg, #ffffff, #fbfcff);
}

.report-modern-page.report-shared-dashboard-page .report-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(148,163,184,.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148,163,184,.08) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: .38;
    pointer-events: none;
    mask-image: linear-gradient(180deg, rgba(0,0,0,.9), rgba(0,0,0,.35));
}

.report-modern-page.report-shared-dashboard-page .report-hero-grid {
    gap: .9rem;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
}

.report-modern-page.report-shared-dashboard-page .report-hero-main {
    justify-content: flex-start;
    gap: .8rem;
}

.report-modern-page.report-shared-dashboard-page .report-dash-brand {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    width: fit-content;
    padding: .45rem .65rem;
    border-radius: 14px;
    border: 1px solid var(--rsd-border);
    background: rgba(255,255,255,.9);
}

.report-modern-page.report-shared-dashboard-page .report-dash-brand-logo {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    border: 1px solid #e6edf7;
    background: #fff;
    display: grid;
    place-items: center;
    overflow: hidden;
    flex-shrink: 0;
}

.report-modern-page.report-shared-dashboard-page .report-dash-brand-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.report-modern-page.report-shared-dashboard-page .report-dash-brand-copy .eyebrow {
    display: block;
    color: var(--rsd-text-soft);
    font-size: .68rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    line-height: 1.1;
}

.report-modern-page.report-shared-dashboard-page .report-dash-brand-copy .name {
    display: block;
    color: var(--rsd-text);
    font-weight: 700;
    line-height: 1.15;
}

.report-modern-page.report-shared-dashboard-page .report-title {
    color: var(--rsd-text);
    font-size: clamp(1.45rem, 2vw, 2rem);
}

.report-modern-page.report-shared-dashboard-page .report-subtitle {
    margin-top: .25rem;
    color: var(--rsd-text-muted);
    max-width: 58ch;
}

.report-modern-page.report-shared-dashboard-page .report-hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .55rem;
}

.report-modern-page.report-shared-dashboard-page .btn.report-btn-secondary {
    border-radius: 12px;
    min-height: 42px;
    padding: .55rem .9rem;
    border: 1px solid var(--rsd-border);
    background: linear-gradient(180deg, #fff, #f8fafc);
    color: #334155;
    font-weight: 600;
}

.report-modern-page.report-shared-dashboard-page .btn.report-btn-secondary:hover,
.report-modern-page.report-shared-dashboard-page .btn.report-btn-secondary:focus {
    color: #0f172a;
    border-color: var(--rsd-border-strong);
    background: #fff;
}

.report-modern-page.report-shared-dashboard-page .report-filter-pill {
    background: linear-gradient(180deg, #fff, #f8fafc);
    border-color: var(--rsd-border);
    color: #334155;
}

.report-modern-page.report-shared-dashboard-page .report-filter-pill i {
    color: #64748b;
}

.report-modern-page.report-shared-dashboard-page .report-hero-stats {
    gap: .65rem;
}

.report-modern-page.report-shared-dashboard-page .report-stat-card {
    min-height: 84px;
    border-radius: 14px;
    border: 1px solid var(--rsd-border);
    background: linear-gradient(180deg, #fff, #f9fbff);
    box-shadow: none;
    backdrop-filter: none;
}

.report-modern-page.report-shared-dashboard-page .report-stat-card .label {
    color: var(--rsd-text-muted);
}

.report-modern-page.report-shared-dashboard-page .report-stat-card .value {
    color: var(--rsd-text);
    font-size: 1.15rem;
}

.report-modern-page.report-shared-dashboard-page .report-stat-card .meta {
    color: var(--rsd-text-soft);
}

.report-modern-page.report-shared-dashboard-page .report-insight-card,
.report-modern-page.report-shared-dashboard-page .report-table-card {
    border-radius: 18px;
    border: 1px solid var(--rsd-border);
    background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(250,252,255,.96));
    box-shadow: 0 8px 20px rgba(15,23,42,.04);
    overflow: hidden;
}

.report-modern-page.report-shared-dashboard-page .report-insight-card {
    margin-top: .9rem;
}

.report-modern-page.report-shared-dashboard-page .report-insight-card .card-body {
    padding: .95rem 1rem;
}

.report-modern-page.report-shared-dashboard-page .report-insight-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: .75rem;
}

.report-modern-page.report-shared-dashboard-page .report-insight-title {
    margin: 0;
    color: var(--rsd-text);
    font-weight: 700;
    letter-spacing: -.01em;
}

.report-modern-page.report-shared-dashboard-page .report-insight-subtitle {
    margin: .15rem 0 0;
    color: var(--rsd-text-muted);
    font-size: .79rem;
    line-height: 1.35;
}

.report-modern-page.report-shared-dashboard-page .report-insight-pill {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    border-radius: 999px;
    border: 1px solid #bbf7d0;
    background: #effdf5;
    color: #15803d;
    font-weight: 700;
    font-size: .75rem;
    padding: .32rem .55rem;
    white-space: nowrap;
}

.report-modern-page.report-shared-dashboard-page .report-insight-pill.neutral {
    border-color: #dbe4f0;
    background: linear-gradient(180deg, #fbfdff, #f4f8ff);
    color: #334155;
}

.report-modern-page.report-shared-dashboard-page .report-bars-chart {
    margin-top: .9rem;
    min-height: 190px;
    border-radius: 14px;
    border: 1px solid #e8eef7;
    background:
        linear-gradient(rgba(148,163,184,.12) 1px, transparent 1px) 0 0 / 100% 28px,
        linear-gradient(180deg, #ffffff, #fbfdff);
    padding: .8rem .85rem .6rem;
    display: grid;
    grid-template-columns: repeat(6, minmax(0,1fr));
    gap: .65rem;
    align-items: end;
}

.report-modern-page.report-shared-dashboard-page .report-bars-chart .bar-group {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: .22rem;
    align-items: end;
    height: 100%;
}

.report-modern-page.report-shared-dashboard-page .report-bars-chart .bar {
    display: block;
    width: 100%;
    border-radius: 8px 8px 4px 4px;
    align-self: end;
}

.report-modern-page.report-shared-dashboard-page .report-bars-chart .bar-a {
    background: linear-gradient(180deg, #60a5fa, #2563eb);
}

.report-modern-page.report-shared-dashboard-page .report-bars-chart .bar-b {
    background: linear-gradient(180deg, #a78bfa, #6366f1);
}

.report-modern-page.report-shared-dashboard-page .report-bars-chart .bar-group em {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: .35rem;
    color: var(--rsd-text-soft);
    font-style: normal;
    font-size: .73rem;
    font-weight: 600;
}

.report-modern-page.report-shared-dashboard-page .report-insight-legend {
    margin-top: .6rem;
    display: flex;
    gap: .9rem;
    flex-wrap: wrap;
    color: var(--rsd-text-muted);
    font-size: .78rem;
    font-weight: 600;
}

.report-modern-page.report-shared-dashboard-page .report-insight-legend .dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    margin-right: .35rem;
    vertical-align: middle;
}

.report-modern-page.report-shared-dashboard-page .report-insight-legend .dot-a {
    background: #2563eb;
}

.report-modern-page.report-shared-dashboard-page .report-insight-legend .dot-b {
    background: #6366f1;
}

.report-modern-page.report-shared-dashboard-page .report-line-chart {
    margin-top: .9rem;
    height: 190px;
    border-radius: 14px;
    border: 1px solid #e8eef7;
    background: linear-gradient(180deg, #fff, #fbfdff);
    position: relative;
    overflow: hidden;
}

.report-modern-page.report-shared-dashboard-page .report-line-chart .grid-lines {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(148,163,184,.12) 1px, transparent 1px) 0 0 / 100% 28px,
        linear-gradient(90deg, rgba(148,163,184,.08) 1px, transparent 1px) 0 0 / 56px 100%;
    pointer-events: none;
}

.report-modern-page.report-shared-dashboard-page .report-line-chart svg {
    width: 100%;
    height: 100%;
    display: block;
    position: relative;
    z-index: 1;
}

.report-modern-page.report-shared-dashboard-page .report-line-chart .line {
    fill: none;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.report-modern-page.report-shared-dashboard-page .report-line-chart .line-primary {
    stroke: #2563eb;
}

.report-modern-page.report-shared-dashboard-page .report-line-chart .line-secondary {
    stroke: #16a34a;
    opacity: .9;
}

.report-modern-page.report-shared-dashboard-page .report-line-labels {
    margin-top: .55rem;
    display: grid;
    grid-template-columns: repeat(7, minmax(0,1fr));
    gap: .4rem;
    color: var(--rsd-text-soft);
    font-size: .72rem;
    font-weight: 600;
    text-align: center;
}

.report-modern-page.report-shared-dashboard-page .report-table-card {
    margin-top: .9rem;
    border-radius: 18px;
    border-color: var(--rsd-border);
    background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(250,252,255,.97));
    box-shadow: 0 8px 20px rgba(15,23,42,.04);
}

.report-modern-page.report-shared-dashboard-page .report-table-card::before {
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #6366f1 45%, #06b6d4);
    opacity: .85;
}

.report-modern-page.report-shared-dashboard-page .report-table-card .card-body {
    padding: .95rem;
}

.report-modern-page.report-shared-dashboard-page .report-section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: .75rem;
    margin-bottom: .6rem;
}

.report-modern-page.report-shared-dashboard-page .report-section-head-actions {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    flex: 0 0 auto;
}

.report-modern-page.report-shared-dashboard-page .report-section-title {
    margin: 0;
    color: var(--rsd-text);
    font-weight: 700;
    letter-spacing: -.015em;
}

.report-modern-page.report-shared-dashboard-page .report-section-subtitle {
    margin: .2rem 0 0;
    color: var(--rsd-text-muted);
    font-size: .82rem;
    line-height: 1.35;
}

.report-modern-page.report-shared-dashboard-page .report-toolbar {
    margin-bottom: .75rem;
    padding-bottom: .7rem;
    border-bottom: 1px solid #edf2f7;
}

.report-modern-page.report-shared-dashboard-page .btn.report-btn-primary {
    background: linear-gradient(135deg, #111827, #1f2937);
    border: 1px solid rgba(255,255,255,.06);
    box-shadow: 0 12px 20px rgba(15,23,42,.10);
}

.report-modern-page.report-shared-dashboard-page .btn.report-btn-primary:hover,
.report-modern-page.report-shared-dashboard-page .btn.report-btn-primary:focus {
    background: linear-gradient(135deg, #0f172a, #111827);
}

.report-modern-page.report-shared-dashboard-page .report-chip {
    background: linear-gradient(180deg, #fff, #f8fafc);
    border-color: var(--rsd-border);
    color: #475569;
    box-shadow: none;
}

.report-modern-page.report-shared-dashboard-page .report-chip i {
    color: #64748b;
}

.report-modern-page.report-shared-dashboard-page #basic-datatable_wrapper .dataTables_length label,
.report-modern-page.report-shared-dashboard-page #basic-datatable_wrapper .dataTables_filter label,
.report-modern-page.report-shared-dashboard-page #basic-datatable_wrapper .dataTables_info {
    color: var(--rsd-text-muted);
}

.report-modern-page.report-shared-dashboard-page #basic-datatable_wrapper .form-select,
.report-modern-page.report-shared-dashboard-page #basic-datatable_wrapper .form-control {
    border-radius: 10px;
    border-color: var(--rsd-border);
    background: #fbfdff;
    color: #0f172a;
}

.report-modern-page.report-shared-dashboard-page .report-table-shell {
    border-radius: 14px;
    border: 1px solid #e8eef7;
    background: #fff;
    overflow: auto;
}

.report-modern-page.report-shared-dashboard-page.labels-reporting-page .report-library-calendar-icon.is-active {
    border-color: rgba(59, 130, 246, 0.34);
    background: rgba(59, 130, 246, 0.07);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.08);
}

.report-modern-page.report-shared-dashboard-page #basic-datatable thead th {
    background: #f8fafc;
    color: #475569;
    border-bottom: 1px solid #e5ecf5 !important;
    text-transform: none;
    font-size: .8rem;
}

.report-modern-page.report-shared-dashboard-page #basic-datatable tbody td {
    background: #fff;
    border-bottom-color: #edf2f8;
}

.report-modern-page.report-shared-dashboard-page #basic-datatable tbody tr:hover td {
    background: #fafcff;
}

.report-modern-page.report-shared-dashboard-page .rep-index {
    border-radius: 10px;
    border-color: #dfe7f4;
    background: linear-gradient(180deg, #f4f7ff, #eef2ff);
    color: #4f46e5;
}

.report-modern-page.report-shared-dashboard-page .report-customer-avatar {
    background: linear-gradient(135deg, #4f46e5 0%, #3b82f6 100%);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
}

.report-modern-page.report-shared-dashboard-page .report-customer-copy .name,
.report-modern-page.report-shared-dashboard-page .report-file-copy .name {
    color: var(--rsd-text);
}

.report-modern-page.report-shared-dashboard-page .report-customer-copy .meta,
.report-modern-page.report-shared-dashboard-page .report-file-copy .meta,
.report-modern-page.report-shared-dashboard-page .report-range-meta {
    color: var(--rsd-text-soft);
}

.report-modern-page.report-shared-dashboard-page .report-date-chip {
    border-color: #dbe4f0;
    background: linear-gradient(180deg, #fbfdff, #f3f8ff);
    color: #334155;
}

.report-modern-page.report-shared-dashboard-page .report-action-btn {
    border-color: var(--rsd-border);
    background: linear-gradient(180deg, #fff, #f8fbff);
    color: #64748b;
    box-shadow: none;
}

.report-modern-page.report-shared-dashboard-page .report-action-btn:hover {
    border-color: #cfe0ff;
    background: #eef5ff;
    color: #1d4ed8;
    box-shadow: none;
}

.report-modern-page.report-shared-dashboard-page #basic-datatable_wrapper .dataTables_paginate .paginate_button {
    color: var(--rsd-text-muted) !important;
    border: 1px solid transparent !important;
    background: transparent !important;
}

.report-modern-page.report-shared-dashboard-page #basic-datatable_wrapper .dataTables_paginate .paginate_button.current {
    background: linear-gradient(135deg, #6366f1, #4f46e5) !important;
    color: #fff !important;
    box-shadow: none;
}

.report-modern-page.report-shared-dashboard-page #basic-datatable_wrapper .dataTables_paginate .paginate_button:hover {
    background: #f4f7fd !important;
    border-color: #d9e4f3 !important;
    color: #1e293b !important;
}

@media (max-width: 1199.98px) {
    .report-modern-page.report-shared-dashboard-page .report-hero-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 991.98px) {
    .report-modern-page.report-shared-dashboard-page .report-hero-actions {
        width: 100%;
    }

    .report-modern-page.report-shared-dashboard-page .report-insight-head {
        flex-direction: column;
    }
}

@media (max-width: 767.98px) {
    .report-modern-page.report-shared-dashboard-page .report-dashboard-shell {
        border-radius: 16px;
        padding: .85rem;
    }

    .report-modern-page.report-shared-dashboard-page .report-hero,
    .report-modern-page.report-shared-dashboard-page .report-insight-card,
    .report-modern-page.report-shared-dashboard-page .report-table-card {
        border-radius: 16px;
    }

    .report-modern-page.report-shared-dashboard-page .report-hero-stats {
        grid-template-columns: 1fr 1fr;
    }

    .report-modern-page.report-shared-dashboard-page .report-insight-card .card-body,
    .report-modern-page.report-shared-dashboard-page .report-table-card .card-body {
        padding: .9rem;
    }

    .report-modern-page.report-shared-dashboard-page .report-toolbar-left {
        width: 100%;
        gap: .5rem;
    }

    .report-modern-page.report-shared-dashboard-page .btn.report-btn-primary,
    .report-modern-page.report-shared-dashboard-page .btn.report-btn-secondary,
    .report-modern-page.report-shared-dashboard-page .report-chip,
    .report-modern-page.report-shared-dashboard-page .report-filter-pill {
        width: 100%;
        justify-content: center;
    }

    .report-modern-page.report-shared-dashboard-page .report-bars-chart {
        min-height: 170px;
        gap: .45rem;
        padding: .7rem .7rem .5rem;
    }
}

@media (max-width: 575.98px) {
    .report-modern-page.report-shared-dashboard-page .report-hero-stats {
        grid-template-columns: 1fr;
    }

    .report-modern-page.report-shared-dashboard-page .report-title {
        font-size: 1.55rem;
    }

    .report-modern-page.report-shared-dashboard-page .report-subtitle {
        font-size: .9rem;
    }

    .report-modern-page.report-shared-dashboard-page .report-line-labels {
        font-size: .68rem;
        gap: .2rem;
    }
}

html[data-theme="dark"] .report-modern-page.report-shared-dashboard-page {
    --rsd-border: #253247;
    --rsd-border-strong: #32445e;
    --rsd-text: #e5edf7;
    --rsd-text-muted: #a9b8cc;
    --rsd-text-soft: #8ea1bb;
    background:
        radial-gradient(circle at 10% 0%, rgba(59,130,246,.12), transparent 42%),
        radial-gradient(circle at 92% 8%, rgba(99,102,241,.10), transparent 44%),
        linear-gradient(180deg, #0b1220 0%, #101a2d 72%, #0c1424 100%);
}

html[data-theme="dark"] .report-modern-page.report-shared-dashboard-page .report-dashboard-shell {
    border-color: var(--rsd-border);
    background: linear-gradient(180deg, rgba(17,24,39,.96), rgba(12,19,32,.95));
    box-shadow: 0 18px 40px rgba(2,6,23,.32);
}

html[data-theme="dark"] .report-modern-page.report-shared-dashboard-page .report-hero {
    border-color: var(--rsd-border);
    background:
        radial-gradient(circle at 0% 0%, rgba(251,191,36,.07), transparent 34%),
        radial-gradient(circle at 100% 0%, rgba(6,182,212,.09), transparent 36%),
        linear-gradient(180deg, rgba(17,24,39,.95), rgba(13,20,34,.95));
}

html[data-theme="dark"] .report-modern-page.report-shared-dashboard-page .report-hero::after {
    opacity: .22;
}

html[data-theme="dark"] .report-modern-page.report-shared-dashboard-page .report-dash-brand {
    border-color: rgba(148,163,184,.16);
    background: rgba(255,255,255,.03);
}

html[data-theme="dark"] .report-modern-page.report-shared-dashboard-page .report-dash-brand-logo {
    border-color: rgba(148,163,184,.16);
    background: #0f172a;
}

html[data-theme="dark"] .report-modern-page.report-shared-dashboard-page .report-title {
    color: #e5edf7;
}

html[data-theme="dark"] .report-modern-page.report-shared-dashboard-page .report-subtitle {
    color: #a9b8cc;
}

html[data-theme="dark"] .report-modern-page.report-shared-dashboard-page .btn.report-btn-secondary,
html[data-theme="dark"] .report-modern-page.report-shared-dashboard-page .report-filter-pill {
    color: #dbe7f5;
    border-color: #2b3950;
    background: linear-gradient(180deg, #162033, #111a2c);
}

html[data-theme="dark"] .report-modern-page.report-shared-dashboard-page .btn.report-btn-secondary:hover,
html[data-theme="dark"] .report-modern-page.report-shared-dashboard-page .btn.report-btn-secondary:focus {
    color: #eef4ff;
    border-color: #364861;
    background: linear-gradient(180deg, #1a2740, #142138);
}

html[data-theme="dark"] .report-modern-page.report-shared-dashboard-page .report-filter-pill i {
    color: #9cb0cb;
}

html[data-theme="dark"] .report-modern-page.report-shared-dashboard-page .report-stat-card,
html[data-theme="dark"] .report-modern-page.report-shared-dashboard-page .report-insight-card,
html[data-theme="dark"] .report-modern-page.report-shared-dashboard-page .report-table-card {
    border-color: var(--rsd-border);
    background: linear-gradient(180deg, rgba(17,24,39,.94), rgba(12,19,32,.94));
    box-shadow: 0 10px 20px rgba(2,6,23,.18);
}

html[data-theme="dark"] .report-modern-page.report-shared-dashboard-page.labels-reporting-page .report-library-calendar-icon.is-active,
body.analytics-dashboard-theme-dark .report-modern-page.report-shared-dashboard-page.labels-reporting-page .report-library-calendar-icon.is-active {
    border-color: rgba(96, 165, 250, 0.42);
    background: rgba(37, 99, 235, 0.18);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.16);
}

html[data-theme="dark"] .report-modern-page.report-shared-dashboard-page .report-stat-card .label,
html[data-theme="dark"] .report-modern-page.report-shared-dashboard-page .report-insight-subtitle,
html[data-theme="dark"] .report-modern-page.report-shared-dashboard-page .report-section-subtitle,
html[data-theme="dark"] .report-modern-page.report-shared-dashboard-page #basic-datatable_wrapper .dataTables_length label,
html[data-theme="dark"] .report-modern-page.report-shared-dashboard-page #basic-datatable_wrapper .dataTables_filter label,
html[data-theme="dark"] .report-modern-page.report-shared-dashboard-page #basic-datatable_wrapper .dataTables_info {
    color: #a9b8cc;
}

html[data-theme="dark"] .report-modern-page.report-shared-dashboard-page .report-stat-card .value,
html[data-theme="dark"] .report-modern-page.report-shared-dashboard-page .report-insight-title,
html[data-theme="dark"] .report-modern-page.report-shared-dashboard-page .report-section-title {
    color: #e5edf7;
}

html[data-theme="dark"] .report-modern-page.report-shared-dashboard-page .report-stat-card .meta,
html[data-theme="dark"] .report-modern-page.report-shared-dashboard-page .report-line-labels,
html[data-theme="dark"] .report-modern-page.report-shared-dashboard-page .report-insight-legend {
    color: #8ea1bb;
}

html[data-theme="dark"] .report-modern-page.report-shared-dashboard-page .report-insight-pill {
    background: rgba(22,163,74,.14);
    border-color: rgba(34,197,94,.26);
    color: #86efac;
}

html[data-theme="dark"] .report-modern-page.report-shared-dashboard-page .report-insight-pill.neutral {
    background: rgba(148,163,184,.08);
    border-color: #304159;
    color: #dbe7f5;
}

html[data-theme="dark"] .report-modern-page.report-shared-dashboard-page .report-bars-chart,
html[data-theme="dark"] .report-modern-page.report-shared-dashboard-page .report-line-chart,
html[data-theme="dark"] .report-modern-page.report-shared-dashboard-page .report-table-shell {
    border-color: #2b3950;
    background: #0f172a;
}

html[data-theme="dark"] .report-modern-page.report-shared-dashboard-page .report-bars-chart {
    background:
        linear-gradient(rgba(148,163,184,.10) 1px, transparent 1px) 0 0 / 100% 28px,
        linear-gradient(180deg, #111827, #0f172a);
}

html[data-theme="dark"] .report-modern-page.report-shared-dashboard-page .report-line-chart .grid-lines {
    background:
        linear-gradient(rgba(148,163,184,.10) 1px, transparent 1px) 0 0 / 100% 28px,
        linear-gradient(90deg, rgba(148,163,184,.06) 1px, transparent 1px) 0 0 / 56px 100%;
}

html[data-theme="dark"] .report-modern-page.report-shared-dashboard-page .report-toolbar {
    border-bottom-color: rgba(148,163,184,.14);
}

html[data-theme="dark"] .report-modern-page.report-shared-dashboard-page .btn.report-btn-primary {
    background: linear-gradient(135deg, #1d4ed8, #3730a3);
    border-color: rgba(96,165,250,.24);
    box-shadow: none;
}

html[data-theme="dark"] .report-modern-page.report-shared-dashboard-page .btn.report-btn-primary:hover,
html[data-theme="dark"] .report-modern-page.report-shared-dashboard-page .btn.report-btn-primary:focus {
    background: linear-gradient(135deg, #2563eb, #4338ca);
}

html[data-theme="dark"] .report-modern-page.report-shared-dashboard-page .report-chip {
    border-color: #2b3950;
    background: rgba(148,163,184,.08);
    color: #c5d3e6;
}

html[data-theme="dark"] .report-modern-page.report-shared-dashboard-page .report-chip i {
    color: #9cb0cb;
}

html[data-theme="dark"] .report-modern-page.report-shared-dashboard-page #basic-datatable_wrapper .form-select,
html[data-theme="dark"] .report-modern-page.report-shared-dashboard-page #basic-datatable_wrapper .form-control {
    border-color: #2c3a51;
    background: #111a2c;
    color: #e5edf7;
}

html[data-theme="dark"] .report-modern-page.report-shared-dashboard-page #basic-datatable_wrapper .form-control::placeholder {
    color: #7f93ae;
}

html[data-theme="dark"] .report-modern-page.report-shared-dashboard-page #basic-datatable thead th {
    background: #131d31;
    color: #b8c7da;
    border-bottom-color: #28364c !important;
}

html[data-theme="dark"] .report-modern-page.report-shared-dashboard-page #basic-datatable tbody td {
    background: #111827;
    border-bottom-color: #243248;
}

html[data-theme="dark"] .report-modern-page.report-shared-dashboard-page #basic-datatable tbody tr:hover td {
    background: #162033;
}

html[data-theme="dark"] .report-modern-page.report-shared-dashboard-page .rep-index {
    border-color: #31445f;
    background: linear-gradient(180deg, rgba(79,70,229,.18), rgba(59,130,246,.14));
    color: #c7d2fe;
}

html[data-theme="dark"] .report-modern-page.report-shared-dashboard-page .report-file-icon {
    border-color: #31445f;
    background: linear-gradient(180deg, rgba(37,99,235,.16), rgba(59,130,246,.10));
    color: #93c5fd;
}

html[data-theme="dark"] .report-modern-page.report-shared-dashboard-page .report-customer-copy .name,
html[data-theme="dark"] .report-modern-page.report-shared-dashboard-page .report-file-copy .name {
    color: #e5edf7;
}

html[data-theme="dark"] .report-modern-page.report-shared-dashboard-page .report-customer-copy .meta,
html[data-theme="dark"] .report-modern-page.report-shared-dashboard-page .report-file-copy .meta,
html[data-theme="dark"] .report-modern-page.report-shared-dashboard-page .report-range-meta {
    color: #8ea1bb;
}

html[data-theme="dark"] .report-modern-page.report-shared-dashboard-page .report-date-chip {
    border-color: #304159;
    background: rgba(148,163,184,.08);
    color: #dbe7f5;
}

html[data-theme="dark"] .report-modern-page.report-shared-dashboard-page .report-date-chip i {
    color: #9cb0cb;
}

html[data-theme="dark"] .report-modern-page.report-shared-dashboard-page .report-action-btn {
    border-color: #2b3950;
    background: linear-gradient(180deg, #162033, #111a2c);
    color: #b3c2d5;
}

html[data-theme="dark"] .report-modern-page.report-shared-dashboard-page .report-action-btn:hover {
    border-color: #395172;
    background: #1a2740;
    color: #eef4ff;
    box-shadow: none;
}

html[data-theme="dark"] .report-modern-page.report-shared-dashboard-page #basic-datatable_wrapper .dataTables_paginate .paginate_button {
    color: #b5c4d8 !important;
}

html[data-theme="dark"] .report-modern-page.report-shared-dashboard-page #basic-datatable_wrapper .dataTables_paginate .paginate_button.current {
    background: linear-gradient(135deg, #3b82f6, #6366f1) !important;
    color: #fff !important;
}

html[data-theme="dark"] .report-modern-page.report-shared-dashboard-page #basic-datatable_wrapper .dataTables_paginate .paginate_button:hover {
    background: rgba(59,130,246,.12) !important;
    border-color: #304159 !important;
    color: #eef4ff !important;
}

/* ===== Settings Workspace Page (admin/create_setting.php) ===== */
.settings-workspace-page {
    --set-bg: #eef2f7;
    --set-surface: #ffffff;
    --set-surface-soft: #f8fafc;
    --set-border: #e2e8f0;
    --set-border-strong: #d3dbe8;
    --set-text: #0f172a;
    --set-text-muted: #64748b;
    --set-text-soft: #94a3b8;
    --set-accent: #2563eb;
    --set-accent-2: #4f46e5;
    --set-success: #16a34a;
    --set-warn: #d97706;
    background:
        radial-gradient(circle at 8% 0%, rgba(37,99,235,.05), transparent 38%),
        radial-gradient(circle at 92% 8%, rgba(79,70,229,.05), transparent 40%),
        linear-gradient(180deg, #f7f9fd 0%, var(--set-bg) 72%, #eaf0f7 100%);
}

.settings-workspace-page .page-title-box {
    display: none;
}

.settings-workspace-page .settings-shell {
    margin-top: .25rem;
    border-radius: 22px;
    border: 1px solid var(--set-border);
    background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(252,253,255,.96));
    box-shadow: 0 22px 45px rgba(15,23,42,.06);
    overflow: hidden;
}

.settings-workspace-page .settings-shell-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.15rem 1.15rem .85rem;
    border-bottom: 1px solid #edf1f7;
    background: linear-gradient(180deg, #fff, #fbfcff);
}

.settings-workspace-page .settings-shell-head-main {
    min-width: 0;
}

.settings-workspace-page .settings-mini-brand {
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    margin-bottom: .7rem;
    padding: .45rem .65rem;
    border-radius: 14px;
    border: 1px solid var(--set-border);
    background: linear-gradient(180deg, #fff, #f8fbff);
}

.settings-workspace-page .settings-mini-brand-logo {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    border: 1px solid #e3eaf5;
    background: #fff;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.settings-workspace-page .settings-mini-brand-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.settings-workspace-page .settings-mini-brand-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.settings-workspace-page .settings-mini-brand-copy .label {
    color: var(--set-text-soft);
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    line-height: 1.1;
}

.settings-workspace-page .settings-mini-brand-copy .value {
    color: var(--set-text);
    font-weight: 700;
    line-height: 1.2;
}

.settings-workspace-page .settings-title {
    margin: 0;
    color: var(--set-text);
    font-weight: 700;
    letter-spacing: -0.02em;
    font-size: clamp(1.5rem, 2vw, 2rem);
}

.settings-workspace-page .settings-subtitle {
    margin: .35rem 0 0;
    color: var(--set-text-muted);
    max-width: 70ch;
    line-height: 1.5;
}

.settings-workspace-page .settings-head-actions {
    display: flex;
    align-items: center;
    gap: .55rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.settings-workspace-page .settings-btn-primary,
.settings-workspace-page .settings-btn-secondary {
    border-radius: 12px;
    min-height: 42px;
    padding: .55rem .9rem;
    font-weight: 600;
    border: 1px solid transparent;
}

.settings-workspace-page .settings-btn-primary {
    color: #fff;
    background: linear-gradient(135deg, #2563eb 0%, #4f46e5 100%);
    box-shadow: 0 10px 18px rgba(37,99,235,.18);
}

.settings-workspace-page .settings-btn-primary:hover,
.settings-workspace-page .settings-btn-primary:focus {
    color: #fff;
}

.settings-workspace-page .settings-btn-secondary {
    color: #475569;
    background: #fff;
    border-color: var(--set-border);
}

.settings-workspace-page .settings-btn-secondary:hover {
    color: var(--set-text);
    border-color: var(--set-border-strong);
    background: #f8fbff;
}

.settings-workspace-page .settings-tabs {
    display: flex;
    align-items: center;
    gap: .35rem;
    flex-wrap: wrap;
    padding: .8rem 1.15rem;
    border-bottom: 1px solid #edf1f7;
    background: #fff;
}

.settings-workspace-page .settings-tab {
    border: 1px solid transparent;
    background: transparent;
    color: #667085;
    padding: .55rem .8rem;
    border-radius: 10px;
    font-weight: 500;
    line-height: 1;
    cursor: default;
}

.settings-workspace-page .settings-tab.active {
    color: var(--set-text);
    border-color: #d7e0ee;
    background: linear-gradient(180deg, #fafcff, #f3f7fd);
    box-shadow: inset 0 -2px 0 rgba(37,99,235,.8);
}

.settings-workspace-page .settings-tabs-note {
    margin-left: .35rem;
    color: var(--set-text-soft);
    font-size: .8rem;
    line-height: 1.35;
}

.settings-workspace-page .settings-alert {
    margin: 1rem 1.15rem 0;
    border-radius: 12px;
    border: 1px solid #fecaca;
    background: #fff1f2;
    color: #b91c1c;
    padding: .75rem .85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: .55rem;
}

.settings-workspace-page .settings-alert.is-success {
    border-color: #bbf7d0;
    background: #f0fdf4;
    color: #166534;
}

.settings-workspace-page .settings-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, .9fr);
    gap: 1rem;
    padding: 1rem 1.15rem 1.15rem;
    align-items: start;
}

.settings-workspace-page .settings-main-column,
.settings-workspace-page .settings-side-column {
    display: grid;
    gap: .95rem;
}

.settings-workspace-page .settings-panel,
.settings-workspace-page .settings-side-card {
    border-radius: 18px;
    border: 1px solid var(--set-border);
    background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(250,252,255,.95));
    box-shadow: 0 10px 20px rgba(15,23,42,.03);
    overflow: hidden;
}

.settings-workspace-page .settings-panel-head,
.settings-workspace-page .settings-side-card-head {
    padding: .95rem 1rem .8rem;
    border-bottom: 1px solid #edf1f7;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: .6rem;
}

.settings-workspace-page .settings-panel-head h5,
.settings-workspace-page .settings-side-card-head h6 {
    margin: 0;
    color: var(--set-text);
    font-weight: 700;
    letter-spacing: -0.01em;
}

.settings-workspace-page .settings-panel-head p {
    margin: .18rem 0 0;
    color: var(--set-text-muted);
    font-size: .84rem;
    line-height: 1.45;
}

.settings-workspace-page .settings-panel-body {
    padding: .95rem 1rem 1rem;
}

.settings-workspace-page .settings-fields-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .85rem;
}

.settings-workspace-page .settings-span-2 {
    grid-column: span 2;
}

.settings-workspace-page .settings-field label {
    display: block;
    color: #334155;
    font-weight: 600;
    margin-bottom: .45rem;
}

.settings-workspace-page .settings-field .form-control {
    min-height: 46px;
    border-radius: 12px;
    border: 1px solid #dbe5f1;
    background: #fbfdff;
    padding: .55rem .85rem;
    box-shadow: none;
}

.settings-workspace-page .settings-field .form-control:focus {
    border-color: #93c5fd;
    box-shadow: 0 0 0 .18rem rgba(59,130,246,.09);
}

.settings-workspace-page .settings-field input[type="color"].form-control {
    width: 62px;
    min-width: 62px;
    height: 46px;
    min-height: 46px;
    padding: .25rem;
    cursor: pointer;
    border-radius: 12px;
}

.settings-workspace-page .settings-field .invalid-feedback {
    display: block;
    margin-top: .35rem;
    font-size: .8rem;
}

.settings-workspace-page .settings-help {
    margin-top: .35rem;
    color: var(--set-text-soft);
    font-size: .78rem;
}

.settings-workspace-page .settings-color-row {
    display: flex;
    align-items: center;
    gap: .7rem;
    flex-wrap: wrap;
}

.settings-workspace-page .settings-color-readout {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    padding: .5rem .65rem;
    border-radius: 12px;
    border: 1px solid var(--set-border);
    background: linear-gradient(180deg, #fff, #f8fbff);
    min-height: 46px;
}

.settings-workspace-page .settings-color-swatch {
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: var(--settings-color, #2563eb);
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px rgba(148,163,184,.35);
    flex-shrink: 0;
}

.settings-workspace-page .settings-color-label {
    display: block;
    color: var(--set-text-soft);
    font-size: .7rem;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.settings-workspace-page .settings-color-value {
    display: block;
    color: var(--set-text);
    font-weight: 700;
    line-height: 1.2;
}

.settings-workspace-page .settings-upload-drop {
    border: 1px dashed #d4dfef;
    border-radius: 14px;
    background: linear-gradient(180deg, #fbfdff, #f6faff);
    padding: .9rem;
}

.settings-workspace-page .settings-upload-meta {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: .85rem;
}

.settings-workspace-page .settings-upload-icon {
    width: 42px;
    height: 42px;
    border-radius: 13px;
    display: grid;
    place-items: center;
    color: #2563eb;
    border: 1px solid #d7e4fb;
    background: linear-gradient(180deg, #edf4ff, #e9f1ff);
    flex-shrink: 0;
}

.settings-workspace-page .settings-upload-title {
    color: var(--set-text);
    font-weight: 600;
    line-height: 1.2;
}

.settings-workspace-page .settings-upload-subtitle {
    margin-top: .12rem;
    color: var(--set-text-soft);
    font-size: .76rem;
    line-height: 1.35;
}

.settings-workspace-page .settings-bottom-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: .8rem;
    padding: .2rem .1rem 0;
    flex-wrap: wrap;
}

.settings-workspace-page .settings-bottom-note {
    color: var(--set-text-muted);
    font-size: .82rem;
}

.settings-workspace-page .settings-badge {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    border-radius: 999px;
    padding: .35rem .6rem;
    font-size: .76rem;
    font-weight: 600;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #475569;
}

.settings-workspace-page .settings-badge.is-success {
    background: #effdf5;
    border-color: #bbf7d0;
    color: #15803d;
}

.settings-workspace-page .settings-badge.is-warning {
    background: #fff7ed;
    border-color: #fed7aa;
    color: #b45309;
}

.settings-workspace-page .settings-brand-preview-surface {
    --brand-accent: #2563eb;
    margin: .95rem 1rem 1rem;
    border-radius: 16px;
    border: 1px solid #dbe7f7;
    box-shadow: inset 0 3px 0 var(--brand-accent);
    background:
        radial-gradient(circle at 100% 12%, rgba(99,102,241,.08), transparent 42%),
        radial-gradient(circle at 10% 4%, rgba(37,99,235,.07), transparent 42%),
        linear-gradient(180deg, #ffffff, #f8fbff);
    padding: .95rem;
}

.settings-workspace-page .settings-brand-preview-top {
    display: flex;
    align-items: center;
    gap: .75rem;
    min-width: 0;
}

.settings-workspace-page .settings-brand-logo-frame {
    width: 68px;
    height: 68px;
    border-radius: 16px;
    border: 1px solid #d9e4f2;
    background: #fff;
    display: grid;
    place-items: center;
    overflow: hidden;
    flex-shrink: 0;
}

.settings-workspace-page .settings-brand-logo-frame img {
    max-width: calc(100% - 10px);
    max-height: calc(100% - 10px);
    object-fit: contain;
    display: block;
}

.settings-workspace-page .settings-brand-fallback {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: #fff;
    font-weight: 700;
    background: linear-gradient(135deg, #2563eb, #4f46e5);
}

.settings-workspace-page .settings-brand-copy {
    min-width: 0;
}

.settings-workspace-page .settings-brand-copy .name {
    display: block;
    color: var(--set-text);
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.settings-workspace-page .settings-brand-copy .meta {
    display: block;
    color: var(--set-text-soft);
    font-size: .76rem;
    margin-top: .15rem;
}

.settings-workspace-page .settings-brand-pills {
    margin-top: .8rem;
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
}

.settings-workspace-page .settings-brand-pills .pill {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    border-radius: 999px;
    padding: .35rem .6rem;
    border: 1px solid #dce6f3;
    background: rgba(255,255,255,.9);
    color: #475569;
    font-weight: 600;
    font-size: .76rem;
}

.settings-workspace-page .settings-brand-pills .pill i {
    color: #64748b;
}

.settings-workspace-page .settings-option-list {
    display: grid;
    gap: .75rem;
    padding: .95rem 1rem 1rem;
}

.settings-workspace-page .settings-option-item {
    display: flex;
    align-items: flex-start;
    gap: .65rem;
}

.settings-workspace-page .settings-option-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    border: 1px solid #dce6f5;
    background: linear-gradient(180deg, #edf4ff, #e7f0ff);
    color: #2563eb;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.settings-workspace-page .settings-option-item .title {
    color: var(--set-text);
    font-weight: 600;
    line-height: 1.2;
}

.settings-workspace-page .settings-option-item .sub {
    margin-top: .12rem;
    color: var(--set-text-soft);
    font-size: .76rem;
    line-height: 1.35;
}

.settings-workspace-page .settings-mini-stats {
    display: grid;
    gap: .65rem;
    padding: .95rem 1rem 1rem;
}

.settings-workspace-page .mini-stat {
    border-radius: 12px;
    border: 1px solid #e5ecf6;
    background: linear-gradient(180deg, #fff, #f9fbff);
    padding: .7rem .75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: .65rem;
}

.settings-workspace-page .mini-stat .label {
    color: var(--set-text-muted);
    font-size: .8rem;
}

.settings-workspace-page .mini-stat .value {
    color: var(--set-text);
    font-weight: 700;
    font-size: .84rem;
    text-align: right;
}

@media (max-width: 1199.98px) {
    .settings-workspace-page .settings-content-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .settings-workspace-page .settings-shell {
        border-radius: 16px;
    }

    .settings-workspace-page .settings-shell-head {
        padding: .95rem .9rem .8rem;
    }

    .settings-workspace-page .settings-tabs {
        padding: .7rem .9rem;
        gap: .3rem;
    }

    .settings-workspace-page .settings-tab {
        width: calc(50% - .15rem);
        text-align: center;
        justify-content: center;
    }

    .settings-workspace-page .settings-tabs-note {
        width: 100%;
        margin-left: 0;
        margin-top: .25rem;
    }

    .settings-workspace-page .settings-alert {
        margin: .85rem .9rem 0;
    }

    .settings-workspace-page .settings-content-grid {
        padding: .85rem .9rem .95rem;
        gap: .85rem;
    }

    .settings-workspace-page .settings-fields-grid {
        grid-template-columns: 1fr;
    }

    .settings-workspace-page .settings-span-2 {
        grid-column: auto;
    }

    .settings-workspace-page .settings-head-actions,
    .settings-workspace-page .settings-bottom-actions {
        width: 100%;
    }

    .settings-workspace-page .settings-bottom-actions {
        align-items: stretch;
    }

    .settings-workspace-page .settings-head-actions .btn,
    .settings-workspace-page .settings-bottom-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .settings-workspace-page .settings-color-row {
        align-items: stretch;
    }

    .settings-workspace-page .settings-color-readout {
        width: 100%;
    }

    .settings-workspace-page .settings-brand-preview-top {
        align-items: flex-start;
    }
}

@media (max-width: 479.98px) {
    .settings-workspace-page .settings-tab {
        width: 100%;
    }

    .settings-workspace-page .settings-mini-brand {
        width: 100%;
    }

    .settings-workspace-page .settings-shell-head {
        gap: .7rem;
    }
}

/* Shared table actions and quick editors. */
.rdc-table-actions {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-width: 40px;
}

.rdc-table-actions--end {
    justify-content: flex-end;
}

.rdc-table-actions--start {
    justify-content: flex-start;
}

.rdc-table-action {
    box-sizing: border-box;
    display: inline-grid;
    place-items: center;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(148, 163, 184, .26);
    border-radius: 11px;
    color: #607089;
    background: #fff;
    box-shadow: 0 4px 12px rgba(15, 23, 42, .05);
    font-size: 18px;
    line-height: 1;
    text-decoration: none !important;
    cursor: pointer;
    transition: color .16s ease, border-color .16s ease, background-color .16s ease,
        box-shadow .16s ease, transform .16s ease;
}

.rdc-table-action i {
    color: currentColor !important;
    font-size: inherit;
    line-height: 1;
}

.rdc-table-action:hover,
.rdc-table-action:focus-visible,
.rdc-table-action.is-active {
    color: var(--rdc-button-color, #2563eb);
    border-color: rgba(var(--rdc-button-color-rgb, 37, 99, 235), .4);
    background: rgba(var(--rdc-button-color-rgb, 37, 99, 235), .08);
    box-shadow: 0 7px 18px rgba(var(--rdc-button-color-rgb, 37, 99, 235), .15);
    outline: none;
    transform: translateY(-1px);
}

.rdc-table-action--danger {
    color: #dc3545;
}

.rdc-table-action--danger:hover,
.rdc-table-action--danger:focus-visible {
    color: #fff;
    border-color: #dc3545;
    background: #dc3545;
    box-shadow: 0 7px 18px rgba(220, 53, 69, .22);
}

.rdc-table-action.is-disabled,
.rdc-table-action:disabled,
.rdc-table-action[aria-disabled="true"] {
    color: #a3afc0;
    border-color: rgba(148, 163, 184, .18);
    background: rgba(148, 163, 184, .08);
    box-shadow: none;
    cursor: not-allowed;
    pointer-events: none;
    transform: none;
}

.rdc-table-action-editor[hidden] {
    display: none !important;
}

.rdc-table-action-editor {
    position: fixed;
    z-index: 1090;
    width: min(320px, calc(100vw - 24px));
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, .24);
    border-radius: 16px;
    color: #26354a;
    background: #fff;
    box-shadow: 0 22px 55px rgba(15, 23, 42, .2);
    animation: rdc-table-editor-in .16s ease-out;
}

.rdc-table-action-editor--wide {
    width: min(390px, calc(100vw - 24px));
}

@keyframes rdc-table-editor-in {
    from { opacity: 0; transform: translateY(-5px) scale(.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.rdc-table-action-editor__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 16px 13px;
    border-bottom: 1px solid rgba(148, 163, 184, .18);
}

.rdc-table-action-editor__header strong,
.rdc-table-action-editor__eyebrow {
    display: block;
}

.rdc-table-action-editor__header strong {
    color: #1e293b;
    font-size: 15px;
    font-weight: 750;
}

.rdc-table-action-editor__eyebrow {
    margin-bottom: 3px;
    color: var(--rdc-button-color, #2563eb);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.rdc-table-action-editor__close {
    display: grid;
    place-items: center;
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    border-radius: 9px;
    color: #718096;
    background: rgba(148, 163, 184, .1);
    font-size: 18px;
}

.rdc-table-action-editor__close:hover {
    color: #334155;
    background: rgba(148, 163, 184, .18);
}

.rdc-table-action-editor__body {
    display: grid;
    gap: 13px;
    padding: 15px 16px;
}

.rdc-table-action-field {
    display: grid;
    gap: 6px;
    margin: 0;
}

.rdc-table-action-field > span {
    color: #64748b;
    font-size: 11px;
    font-weight: 750;
    letter-spacing: .055em;
    text-transform: uppercase;
}

.rdc-table-action-field > span small {
    margin-left: 4px;
    color: #94a3b8;
    font-size: 10px;
    font-weight: 650;
    letter-spacing: 0;
    text-transform: none;
}

.rdc-table-action-context {
    padding: 11px 12px;
    border: 1px solid rgba(148, 163, 184, .2);
    border-radius: 11px;
    background: rgba(148, 163, 184, .07);
}

.rdc-table-action-context > span {
    display: block;
    margin-bottom: 5px;
    color: #64748b;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.rdc-table-action-context p {
    max-height: 76px;
    margin: 0;
    overflow: auto;
    color: #475569;
    font-size: 13px;
    line-height: 1.45;
    white-space: normal;
}

.rdc-table-action-field .form-control,
.rdc-table-action-field .form-select {
    min-height: 42px;
    border-color: rgba(148, 163, 184, .34);
    border-radius: 10px;
    color: #27364b;
    background-color: #f8fafc;
    font-size: 14px;
    font-weight: 600;
}

.rdc-table-action-field .form-control:focus,
.rdc-table-action-field .form-select:focus {
    border-color: var(--rdc-button-color, #2563eb);
    box-shadow: 0 0 0 3px rgba(var(--rdc-button-color-rgb, 37, 99, 235), .12);
}

.rdc-table-action-editor__footer {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding: 12px 16px 15px;
    border-top: 1px solid rgba(148, 163, 184, .16);
    background: #f8fafc;
}

.rdc-table-action-editor__cancel,
.rdc-table-action-editor__submit {
    min-height: 38px;
    padding: 0 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 750;
}

.rdc-table-action-editor__cancel {
    border: 1px solid rgba(148, 163, 184, .3);
    color: #64748b;
    background: #fff;
}

.rdc-table-action-editor__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid var(--rdc-button-color, #2563eb);
    color: #fff;
    background: linear-gradient(135deg, var(--rdc-button-color, #2563eb), #4f8cff);
    box-shadow: 0 7px 16px rgba(var(--rdc-button-color-rgb, 37, 99, 235), .22);
}

.rdc-table-action-editor__submit:hover,
.rdc-table-action-editor__submit:focus-visible {
    color: #fff;
    filter: brightness(1.06);
}

.rdc-table-action-editor__submit:disabled {
    cursor: wait;
    opacity: .7;
}

html[data-theme="dark"] .rdc-table-action {
    color: #b8c8dc;
    border-color: #304057;
    background: #111b2d;
    box-shadow: 0 5px 14px rgba(0, 0, 0, .14);
}

html[data-theme="dark"] .rdc-table-action:hover,
html[data-theme="dark"] .rdc-table-action:focus-visible,
html[data-theme="dark"] .rdc-table-action.is-active {
    color: #fff;
    border-color: rgba(96, 165, 250, .58);
    background: rgba(var(--rdc-button-color-rgb, 37, 99, 235), .28);
    box-shadow: 0 8px 20px rgba(var(--rdc-button-color-rgb, 37, 99, 235), .2);
}

html[data-theme="dark"] .rdc-table-action-editor {
    color: #d8e4f3;
    border-color: #34445d;
    background: #111b2d;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
}

html[data-theme="dark"] .rdc-table-action-editor__header,
html[data-theme="dark"] .rdc-table-action-editor__footer {
    border-color: rgba(148, 163, 184, .18);
}

html[data-theme="dark"] .rdc-table-action-editor__header strong {
    color: #f1f5f9;
}

html[data-theme="dark"] .rdc-table-action-editor__close {
    color: #aebed2;
    background: rgba(148, 163, 184, .12);
}

html[data-theme="dark"] .rdc-table-action-field > span {
    color: #9fb0c5;
}

html[data-theme="dark"] .rdc-table-action-context {
    border-color: #35465f;
    background: rgba(148, 163, 184, .07);
}

html[data-theme="dark"] .rdc-table-action-context > span {
    color: #9fb0c5;
}

html[data-theme="dark"] .rdc-table-action-context p {
    color: #d2deed;
}

html[data-theme="dark"] .rdc-table-action-field .form-control,
html[data-theme="dark"] .rdc-table-action-field .form-select {
    border-color: #35465f;
    color: #e5edf7;
    background-color: #0d1728;
}

html[data-theme="dark"] .rdc-table-action-editor__footer {
    background: #0d1728;
}

html[data-theme="dark"] .rdc-table-action-editor__cancel {
    color: #c3d0e0;
    border-color: #3a4b64;
    background: #172338;
}

@media (max-width: 575.98px) {
    .rdc-table-action-editor {
        right: 12px !important;
        left: 12px !important;
        width: auto;
    }
}

/* Final shared pagination appearance — matched to the supplied reference. */
.rdc-pagination {
    --rdc-pagination-accent: #4fc3b5;
    --rdc-pagination-accent-soft: rgba(79, 195, 181, .15);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 72px;
    margin-top: 12px;
    padding: 14px 220px;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.rdc-pagination-summary {
    position: absolute;
    left: 0;
    top: 50%;
    margin: 0;
    color: #7b7f86;
    font-size: 13px;
    font-weight: 400;
    transform: translateY(-50%);
}

.rdc-pagination-summary strong {
    color: #555a61;
    font-weight: 700;
}

.rdc-pagination-controls {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    width: auto;
}

.rdc-pagination-pages {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    margin: 0 9px;
    overflow: visible;
}

.rdc-pagination-step {
    width: 28px;
    height: 42px;
    color: var(--rdc-pagination-accent);
    font-size: 20px;
    font-weight: 400;
}

.rdc-pagination-step:hover,
.rdc-pagination-step:focus-visible {
    color: #35ac9e;
    transform: none;
}

.rdc-pagination-step.is-disabled {
    color: #dfe3e6;
    opacity: 1;
}

.rdc-pagination .rdc-pagination-number,
html[data-theme="dark"] .rdc-pagination .rdc-pagination-number {
    width: 42px;
    min-width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    color: #5d6065;
    background: transparent;
    box-shadow: none;
    font-size: 16px;
    font-weight: 400;
}

.rdc-pagination .rdc-pagination-number:hover,
.rdc-pagination .rdc-pagination-number:focus-visible,
html[data-theme="dark"] .rdc-pagination .rdc-pagination-number:hover,
html[data-theme="dark"] .rdc-pagination .rdc-pagination-number:focus-visible {
    color: #339f93;
    background: var(--rdc-pagination-accent-soft);
}

.rdc-pagination .rdc-pagination-number.is-active,
.rdc-pagination .rdc-pagination-number.is-active:hover,
html[data-theme="dark"] .rdc-pagination .rdc-pagination-number.is-active,
html[data-theme="dark"] .rdc-pagination .rdc-pagination-number.is-active:hover {
    color: #fff;
    background: var(--rdc-pagination-accent);
    box-shadow: none;
}

.rdc-pagination-jump {
    gap: 14px;
    margin-left: 14px;
    padding-left: 22px;
    border-left: 1px solid #dedede;
}

.rdc-pagination-jump label,
html[data-theme="dark"] .rdc-pagination-jump label {
    color: #777b80;
    font-size: 16px;
    font-weight: 400;
}

.rdc-pagination-jump input,
html[data-theme="dark"] .rdc-pagination-jump input {
    width: 44px;
    height: 42px;
    padding: 4px;
    border: 2px solid var(--rdc-pagination-accent);
    border-radius: 7px;
    color: #555a61;
    background: transparent;
    box-shadow: none;
    font-size: 15px;
    font-weight: 500;
}

.rdc-pagination-jump input:focus,
html[data-theme="dark"] .rdc-pagination-jump input:focus {
    border-color: #35ac9e;
    box-shadow: 0 0 0 3px rgba(79, 195, 181, .14);
}

html[data-theme="dark"] .rdc-pagination-summary {
    color: #94a3b8;
}

html[data-theme="dark"] .rdc-pagination-summary strong,
html[data-theme="dark"] .rdc-pagination .rdc-pagination-number,
html[data-theme="dark"] .rdc-pagination-jump input {
    color: #cbd5e1;
}

html[data-theme="dark"] .rdc-pagination-step.is-disabled {
    color: #475569;
}

html[data-theme="dark"] .rdc-pagination-jump {
    border-left-color: rgba(148, 163, 184, .3);
}

@media (max-width: 1199.98px) {
    .rdc-pagination {
        justify-content: flex-end;
        padding-right: 0;
        padding-left: 190px;
    }
}

@media (max-width: 767.98px) {
    .rdc-pagination {
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 10px;
        padding: 12px 0;
    }

    .rdc-pagination-summary {
        position: static;
        transform: none;
    }

    .rdc-pagination-controls {
        justify-content: center;
        flex-wrap: wrap;
    }

    .rdc-pagination-jump {
        flex: 0 0 100%;
        justify-content: center;
        margin: 8px 0 0;
        padding: 10px 0 0;
        border-top: 1px solid rgba(148, 163, 184, .24);
        border-left: 0;
    }
}

html[data-theme="dark"] .settings-workspace-page {
    --set-bg: #0f172a;
    --set-surface: #111827;
    --set-surface-soft: #0b1220;
    --set-border: #253247;
    --set-border-strong: #32445e;
    --set-text: #e5edf7;
    --set-text-muted: #a9b8cc;
    --set-text-soft: #8ea1bb;
    background:
        radial-gradient(circle at 8% 0%, rgba(59,130,246,.10), transparent 42%),
        radial-gradient(circle at 92% 8%, rgba(99,102,241,.11), transparent 44%),
        linear-gradient(180deg, #0b1220 0%, #101a2d 72%, #0c1424 100%);
}

html[data-theme="dark"] .settings-workspace-page .settings-shell {
    border-color: var(--set-border);
    background: linear-gradient(180deg, rgba(17,24,39,.96), rgba(12,19,32,.95));
    box-shadow: 0 18px 40px rgba(2, 6, 23, .35);
}

html[data-theme="dark"] .settings-workspace-page .settings-shell-head {
    border-bottom-color: rgba(148,163,184,.14);
    background: linear-gradient(180deg, rgba(19,28,45,.96), rgba(15,23,38,.95));
}

html[data-theme="dark"] .settings-workspace-page .settings-mini-brand {
    border-color: rgba(148,163,184,.16);
    background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01));
}

html[data-theme="dark"] .settings-workspace-page .settings-mini-brand-logo {
    border-color: rgba(148,163,184,.16);
    background: #0f172a;
}

html[data-theme="dark"] .settings-workspace-page .settings-btn-secondary {
    color: #c8d4e4;
    background: linear-gradient(180deg, #162033, #111a2c);
    border-color: rgba(148,163,184,.18);
}

html[data-theme="dark"] .settings-workspace-page .settings-btn-secondary:hover {
    color: #eef4ff;
    background: linear-gradient(180deg, #1a2740, #142138);
    border-color: rgba(148,163,184,.26);
}

html[data-theme="dark"] .settings-workspace-page .settings-tabs {
    border-bottom-color: rgba(148,163,184,.14);
    background: rgba(17,24,39,.78);
}

html[data-theme="dark"] .settings-workspace-page .settings-tab {
    color: #9fb0c6;
}

html[data-theme="dark"] .settings-workspace-page .settings-tab.active {
    color: #eef4ff;
    border-color: rgba(96,165,250,.32);
    background: linear-gradient(180deg, rgba(37,99,235,.16), rgba(79,70,229,.15));
    box-shadow: inset 0 -2px 0 rgba(96,165,250,.95);
}

html[data-theme="dark"] .settings-workspace-page .settings-panel,
html[data-theme="dark"] .settings-workspace-page .settings-side-card {
    border-color: var(--set-border);
    background: linear-gradient(180deg, rgba(17,24,39,.94), rgba(12,19,32,.94));
    box-shadow: 0 10px 20px rgba(2,6,23,.18);
}

html[data-theme="dark"] .settings-workspace-page .settings-panel-head,
html[data-theme="dark"] .settings-workspace-page .settings-side-card-head {
    border-bottom-color: rgba(148,163,184,.14);
}

html[data-theme="dark"] .settings-workspace-page .settings-field label {
    color: #d6e1ef;
}

html[data-theme="dark"] .settings-workspace-page .settings-field .form-control {
    border-color: #2c3a51;
    background: #111a2c;
    color: #e5edf7;
}

html[data-theme="dark"] .settings-workspace-page .settings-field .form-control::placeholder {
    color: #7f93ae;
}

html[data-theme="dark"] .settings-workspace-page .settings-field .form-control:focus {
    border-color: rgba(96,165,250,.8);
    box-shadow: 0 0 0 .18rem rgba(59,130,246,.18);
}

html[data-theme="dark"] .settings-workspace-page .settings-color-readout {
    border-color: #2c3a51;
    background: linear-gradient(180deg, #121c2f, #101827);
}

html[data-theme="dark"] .settings-workspace-page .settings-color-swatch {
    border-color: #0f172a;
    box-shadow: 0 0 0 1px rgba(148,163,184,.45);
}

html[data-theme="dark"] .settings-workspace-page .settings-upload-drop {
    border-color: #334259;
    background: linear-gradient(180deg, rgba(17,24,39,.82), rgba(11,18,32,.9));
}

html[data-theme="dark"] .settings-workspace-page .settings-upload-icon {
    color: #93c5fd;
    border-color: #31445f;
    background: linear-gradient(180deg, rgba(37,99,235,.16), rgba(59,130,246,.10));
}

html[data-theme="dark"] .settings-workspace-page .settings-badge {
    border-color: rgba(148,163,184,.18);
    background: rgba(148,163,184,.08);
    color: #c7d4e6;
}

html[data-theme="dark"] .settings-workspace-page .settings-badge.is-success {
    background: rgba(22,163,74,.14);
    border-color: rgba(34,197,94,.28);
    color: #86efac;
}

html[data-theme="dark"] .settings-workspace-page .settings-badge.is-warning {
    background: rgba(217,119,6,.14);
    border-color: rgba(251,191,36,.26);
    color: #fcd34d;
}

html[data-theme="dark"] .settings-workspace-page .settings-brand-preview-surface {
    border-color: #2b3a4f;
    box-shadow: inset 0 3px 0 var(--brand-accent);
    background:
        radial-gradient(circle at 100% 12%, rgba(99,102,241,.16), transparent 46%),
        radial-gradient(circle at 10% 4%, rgba(37,99,235,.15), transparent 46%),
        linear-gradient(180deg, #111a2c, #0d1524);
}

html[data-theme="dark"] .settings-workspace-page .settings-brand-logo-frame {
    border-color: #2b3a4f;
    background: #0f172a;
}

html[data-theme="dark"] .settings-workspace-page .settings-brand-pills .pill {
    border-color: #304159;
    background: rgba(17,24,39,.72);
    color: #c5d3e6;
}

html[data-theme="dark"] .settings-workspace-page .settings-brand-pills .pill i {
    color: #9cb0cb;
}

html[data-theme="dark"] .settings-workspace-page .settings-option-icon {
    border-color: #304159;
    background: linear-gradient(180deg, rgba(37,99,235,.14), rgba(59,130,246,.08));
    color: #93c5fd;
}

html[data-theme="dark"] .settings-workspace-page .mini-stat {
    border-color: #2a394f;
    background: linear-gradient(180deg, rgba(17,24,39,.72), rgba(12,19,32,.82));
}

html[data-theme="dark"] .settings-workspace-page .settings-alert {
    border-color: rgba(239, 68, 68, .35);
    background: rgba(127, 29, 29, .18);
    color: #fecaca;
}

html[data-theme="dark"] .settings-workspace-page .settings-alert.is-success {
    border-color: rgba(34,197,94,.34);
    background: rgba(20,83,45,.20);
    color: #bbf7d0;
}

/* Label pages should use the same clean white content-page background as labels dashboard/songs */
.users-modern-page.users-shared-workspace-page.labels-users-workspace-page,
.billing-modern-page.billing-shared-workspace-page.labels-billing-page,
.report-modern-page.report-shared-dashboard-page.labels-reporting-page {
    background: #ffffff !important;
}

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.labels-users-workspace-page,
html[data-theme="dark"] .billing-modern-page.billing-shared-workspace-page.labels-billing-page,
html[data-theme="dark"] .report-modern-page.report-shared-dashboard-page.labels-reporting-page,
body.analytics-dashboard-theme-dark .users-modern-page.users-shared-workspace-page.labels-users-workspace-page,
body.analytics-dashboard-theme-dark .billing-modern-page.billing-shared-workspace-page.labels-billing-page,
body.analytics-dashboard-theme-dark .report-modern-page.report-shared-dashboard-page.labels-reporting-page {
    background: #0f1726 !important;
}

/* Reusable admin white workspace shell (to match labels page backgrounds) */
body.rdc-white-workspace-body,
body.rdc-white-workspace-body .wrapper {
    background: #ffffff !important;
}

body.rdc-white-workspace-body .content-page.rdc-white-workspace-page {
    background: #ffffff !important;
}

html[data-theme="dark"] body.rdc-white-workspace-body,
html[data-theme="dark"] body.rdc-white-workspace-body .wrapper,
html[data-theme="dark"] body.rdc-white-workspace-body .content-page.rdc-white-workspace-page,
body.analytics-dashboard-theme-dark.rdc-white-workspace-body,
body.analytics-dashboard-theme-dark.rdc-white-workspace-body .wrapper,
body.analytics-dashboard-theme-dark.rdc-white-workspace-body .content-page.rdc-white-workspace-page {
    background: #0f1726 !important;
}

/* Labels reporting page: hide DataTables top controls row (Show entries / Search) */
.report-modern-page.report-shared-dashboard-page.labels-reporting-page #basic-datatable_wrapper > .row:first-child {
    display: none !important;
}

/* Labels sub-label page: hide DataTables top controls row (Show entries / Search) */
.users-modern-page.users-shared-workspace-page.labels-users-workspace-page #basic-datatable_wrapper > .row:first-child {
    display: none !important;
}

/* ===== Users Shared Workspace Overrides (admin/users.php) ===== */
.users-modern-page.users-shared-workspace-page {
    --umw-bg: #eef2f7;
    --umw-surface: #ffffff;
    --umw-surface-soft: #f8fafc;
    --umw-border: #e2e8f0;
    --umw-border-strong: #d4deeb;
    --umw-text: #0f172a;
    --umw-text-muted: #64748b;
    --umw-text-soft: #94a3b8;
    background:
        radial-gradient(circle at 10% 0%, rgba(37,99,235,.05), transparent 40%),
        radial-gradient(circle at 92% 10%, rgba(79,70,229,.05), transparent 42%),
        linear-gradient(180deg, #f7f9fd 0%, #eef3f8 72%, #e9eff6 100%);
}

.users-modern-page.users-shared-workspace-page .users-shared-shell {
    margin-top: .2rem;
    border-radius: 22px;
    border: 1px solid var(--umw-border);
    background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(252,253,255,.96));
    box-shadow: 0 18px 40px rgba(15,23,42,.06);
    overflow: visible;
}

.users-modern-page.users-shared-workspace-page .users-hero {
    margin: .85rem .85rem .7rem;
    border-radius: 18px;
    padding: 1rem;
    background: linear-gradient(180deg, #ffffff, #fbfcff);
    border: 1px solid var(--umw-border);
    box-shadow: none;
    color: var(--umw-text);
}

.users-modern-page.users-shared-workspace-page .users-hero::after {
    display: none;
}

.users-modern-page.users-shared-workspace-page .users-hero-grid {
    gap: .9rem;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
}

.users-modern-page.users-shared-workspace-page .users-hero-main {
    justify-content: flex-start;
    gap: .75rem;
}

.users-modern-page.users-shared-workspace-page .hero-brand {
    background: linear-gradient(180deg, #fff, #f8fbff);
    border: 1px solid var(--umw-border);
    box-shadow: none;
    backdrop-filter: none;
}

.users-modern-page.users-shared-workspace-page .hero-brand-logo {
    background: #fff;
    border: 1px solid #e6edf7;
}

.users-modern-page.users-shared-workspace-page .hero-brand-copy .eyebrow {
    color: var(--umw-text-soft);
}

.users-modern-page.users-shared-workspace-page .hero-brand-copy .name {
    color: var(--umw-text);
}

.users-modern-page.users-shared-workspace-page .hero-title {
    color: var(--umw-text);
    font-size: clamp(1.35rem, 2vw, 1.95rem);
}

.users-modern-page.users-shared-workspace-page .hero-subtitle {
    color: var(--umw-text-muted);
    max-width: 58ch;
    margin-top: .25rem;
}

.users-modern-page.users-shared-workspace-page .hero-filter-pill {
    background: linear-gradient(180deg, #f8fbff, #f3f7fd);
    border: 1px solid var(--umw-border);
    color: #334155;
    font-weight: 600;
}

.users-modern-page.users-shared-workspace-page .hero-filter-pill i {
    color: #64748b;
}

.users-modern-page.users-shared-workspace-page .users-hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .65rem;
    align-content: start;
}

.users-modern-page.users-shared-workspace-page .stat-tile {
    min-height: 80px;
    border-radius: 14px;
    padding: .75rem .85rem;
    background: linear-gradient(180deg, #fff, #f9fbff);
    border: 1px solid var(--umw-border);
    backdrop-filter: none;
}

.users-modern-page.users-shared-workspace-page .users-hero-stats .stat-tile:nth-child(n) {
    background: linear-gradient(180deg, #fff, #f9fbff);
}

.genre-manager-page.users-shared-workspace-page .users-hero-grid {
    grid-template-columns: minmax(0, 1fr) max-content;
}

.genre-manager-page.users-shared-workspace-page .users-hero-stats {
    grid-template-columns: repeat(2, minmax(0, 150px));
}

.genre-manager-page .genre-subgenre-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .42rem;
    max-width: 100%;
}

.genre-manager-page .genre-subgenre-extra { display: none; }
.genre-manager-page .genre-subgenre-list.is-expanded .genre-subgenre-extra { display: inline-flex; }
.genre-manager-page .genre-subgenre-pill { white-space: normal; line-height: 1.2; }
.genre-manager-page .genre-subgenre-toggle {
    border: 0;
    border-radius: 999px;
    padding: .32rem .62rem;
    color: #2563eb;
    background: #eff6ff;
    font-size: .76rem;
    font-weight: 700;
}

html[data-theme="dark"] .genre-manager-page .genre-subgenre-toggle {
    color: #93c5fd;
    background: rgba(37, 99, 235, .18);
}

.users-modern-page.users-shared-workspace-page .stat-tile .label {
    color: var(--umw-text-muted);
}

.users-modern-page.users-shared-workspace-page .stat-tile .value {
    color: var(--umw-text);
    font-size: 1.2rem;
}

.users-modern-page.users-shared-workspace-page .stat-tile .meta {
    color: var(--umw-text-soft);
}

.users-modern-page.users-shared-workspace-page .stat-tile--warning {
    background: linear-gradient(180deg, #fffbf0, #fff8e6) !important;
    border-color: #f59e0b !important;
}
.users-modern-page.users-shared-workspace-page .stat-tile--warning .label {
    color: #b45309;
}
.users-modern-page.users-shared-workspace-page .stat-tile--warning .value {
    color: #92400e;
}
.users-modern-page.users-shared-workspace-page .stat-tile--danger {
    background: linear-gradient(180deg, #fff5f5, #fff0f0) !important;
    border-color: #ef4444 !important;
}
.users-modern-page.users-shared-workspace-page .stat-tile--danger .label {
    color: #b91c1c;
}
.users-modern-page.users-shared-workspace-page .stat-tile--danger .value {
    color: #991b1b;
}
html[data-theme="dark"] .users-modern-page.users-shared-workspace-page .stat-tile--warning {
    background: linear-gradient(180deg, #2d2200, #2a2000) !important;
    border-color: #b45309 !important;
}
html[data-theme="dark"] .users-modern-page.users-shared-workspace-page .stat-tile--warning .label,
html[data-theme="dark"] .users-modern-page.users-shared-workspace-page .stat-tile--warning .value {
    color: #fbbf24;
}
html[data-theme="dark"] .users-modern-page.users-shared-workspace-page .stat-tile--danger {
    background: linear-gradient(180deg, #2d0a0a, #2a0808) !important;
    border-color: #b91c1c !important;
}
html[data-theme="dark"] .users-modern-page.users-shared-workspace-page .stat-tile--danger .label,
html[data-theme="dark"] .users-modern-page.users-shared-workspace-page .stat-tile--danger .value {
    color: #f87171;
}
.users-modern-page.users-shared-workspace-page .stat-tile--success {
    background: linear-gradient(180deg, #f0fdf4, #ecfdf5) !important;
    border-color: #22c55e !important;
}
.users-modern-page.users-shared-workspace-page .stat-tile--success .label {
    color: #15803d;
}
.users-modern-page.users-shared-workspace-page .stat-tile--success .value {
    color: #166534;
}
html[data-theme="dark"] .users-modern-page.users-shared-workspace-page .stat-tile--success {
    background: linear-gradient(180deg, #052e16, #042e16) !important;
    border-color: #16a34a !important;
}
html[data-theme="dark"] .users-modern-page.users-shared-workspace-page .stat-tile--success .label,
html[data-theme="dark"] .users-modern-page.users-shared-workspace-page .stat-tile--success .value {
    color: #4ade80;
}

/* ===== Albums hero refinements (admin/albums.php) ===== */
.albums-modern-page.users-shared-workspace-page .users-hero {
    padding: 1.1rem 1.15rem;
    background:
        radial-gradient(circle at 15% -35%, rgba(37, 99, 235, 0.12), transparent 52%),
        linear-gradient(180deg, #ffffff, #f9fbff);
}

.albums-modern-page.users-shared-workspace-page .users-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(250px, 280px);
    align-items: stretch;
    gap: .9rem;
}

.albums-modern-page.users-shared-workspace-page .users-hero-main.albums-hero-main {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}

.albums-modern-page.users-shared-workspace-page .albums-hero-heading {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: .85rem;
    min-width: 0;
    width: 100%;
    text-align: left;
}

.albums-modern-page.users-shared-workspace-page .albums-hero-icon {
    width: 44px;
    height: 44px;
    border-radius: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(135deg, #2563eb, #3b82f6 55%, #0ea5e9);
    box-shadow: 0 10px 22px rgba(37, 99, 235, .24);
    flex: 0 0 auto;
}

.albums-modern-page.users-shared-workspace-page .albums-hero-icon i {
    font-size: 1.18rem;
}

.albums-modern-page.users-shared-workspace-page .albums-hero-stats {
    display: block;
    align-content: stretch;
}

.albums-modern-page.users-shared-workspace-page .albums-total-stat {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-radius: 15px;
    border: 1px solid #d8e3f4;
    background: linear-gradient(180deg, #ffffff, #f5f9ff);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .85);
}

.albums-modern-page.users-shared-workspace-page .albums-total-stat .value {
    font-size: 2rem;
    line-height: 1;
    letter-spacing: -.02em;
}

/* ===== ISRC/UPC hero refinements (admin/isrc-upc.php) ===== */
.isrc-upc-modern-page.users-shared-workspace-page .users-hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.catalog-type-switch { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
.catalog-type-switch input { position: absolute; opacity: 0; pointer-events: none; }
.catalog-type-switch span { display: flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; border: 1px solid var(--umw-border); border-radius: 12px; background: var(--bs-body-bg, #fff); cursor: pointer; font-weight: 700; }
.catalog-type-switch input:checked + span { color: #2563eb; border-color: #3b82f6; background: #eff6ff; box-shadow: 0 0 0 3px rgba(59,130,246,.1); }
.catalog-import-divider { display: flex; align-items: center; gap: .8rem; margin: 1.2rem 0; color: var(--umw-text-soft); font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; }
.catalog-import-divider::before,.catalog-import-divider::after { content: ''; flex: 1; height: 1px; background: var(--umw-border); }
.catalog-import-guide { display: grid; gap: .85rem; }
.catalog-import-guide > div { display: flex; align-items: flex-start; gap: .65rem; color: var(--umw-text-muted); line-height: 1.5; }
.catalog-import-guide i { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 24px; height: 24px; border-radius: 50%; color: #059669; background: #ecfdf5; }
html[data-theme="dark"] .catalog-type-switch span { background: #172235; }
html[data-theme="dark"] .catalog-type-switch input:checked + span { color: #93c5fd; background: rgba(37,99,235,.18); }

.users-modern-page.users-shared-workspace-page .users-table-card {
    margin: 0 .85rem .85rem;
    border-radius: 18px;
    border: 1px solid var(--umw-border);
    background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(250,252,255,.96));
    box-shadow: none;
}

.users-modern-page.users-shared-workspace-page .users-table-card::before {
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #6366f1 45%, #06b6d4);
    opacity: .8;
}

.users-modern-page.users-shared-workspace-page .users-table-card .card-body {
    padding: .95rem .95rem .85rem;
}

.users-modern-page.users-shared-workspace-page .users-toolbar {
    margin-bottom: .8rem;
    padding-bottom: .7rem;
    border-bottom: 1px solid #edf1f7;
}

.users-modern-page.users-shared-workspace-page .users-toolbar-left {
    width: 100%;
    min-width: 0;
}

.users-modern-page.users-shared-workspace-page .users-table-card,
.users-modern-page.users-shared-workspace-page .users-table-card .card-body,
.users-modern-page.users-shared-workspace-page .users-toolbar {
    overflow: visible;
}

.users-modern-page.users-shared-workspace-page .users-dashboard-filter-form {
    margin: 0;
    width: 100%;
}

.users-modern-page.users-shared-workspace-page .users-dashboard-filter-form.analytics-filter-toolbar {
    width: 100%;
    justify-content: space-between;
}

.users-modern-page.users-shared-workspace-page .users-dashboard-filter-form .analytics-filter-toolbar-left {
    gap: .55rem;
    flex: 1 1 auto;
}

.users-modern-page.users-shared-workspace-page .users-dashboard-filter-form .analytics-filter-toolbar-right {
    margin-left: auto;
    flex: 0 0 auto;
}

.users-modern-page.users-shared-workspace-page .users-dashboard-filter-form .analytics-filter-menu {
    width: min(560px, calc(100vw - 36px));
    min-width: 460px;
    z-index: 120;
}

.users-modern-page.users-shared-workspace-page .users-dashboard-filter-form .analytics-filter-applied-list {
    max-width: min(620px, 60vw);
}

.users-modern-page.users-shared-workspace-page .users-dashboard-filter-form .analytics-filter-sheet {
    grid-template-columns: 150px minmax(0, 1fr);
    min-height: 0;
    height: 268px;
}

.users-modern-page.users-shared-workspace-page .users-dashboard-filter-form .analytics-filter-sheet-panes {
    min-height: 0;
}

.users-modern-page.users-shared-workspace-page .users-dashboard-filter-form .analytics-filter-option-list {
    max-height: 138px;
    padding-bottom: .4rem;
}

.users-modern-page.users-shared-workspace-page .users-dashboard-filter-form .analytics-filter-sheet-sidebar {
    padding: .45rem .4rem;
    gap: .18rem;
}

.users-modern-page.users-shared-workspace-page .users-dashboard-filter-form .analytics-filter-sheet-tab {
    padding: .48rem .5rem;
    font-size: .84rem;
    border-radius: 9px;
}

.users-modern-page.users-shared-workspace-page .users-dashboard-filter-form .analytics-filter-sheet-search {
    padding: .5rem .65rem;
    gap: .45rem;
}

.users-modern-page.users-shared-workspace-page .users-dashboard-filter-form .analytics-filter-sheet-search .form-control {
    font-size: .88rem;
}

.users-modern-page.users-shared-workspace-page .users-dashboard-filter-form .analytics-filter-sheet-pane-title {
    padding: .45rem .65rem;
    font-size: .8rem;
}

.users-modern-page.users-shared-workspace-page .users-dashboard-filter-form .analytics-filter-option-list {
    padding: .3rem;
    gap: .14rem;
}

.users-modern-page.users-shared-workspace-page .users-dashboard-filter-form .analytics-filter-option-item {
    padding: .38rem .42rem;
    gap: .45rem;
    font-size: .84rem;
    border-radius: 8px;
}

.users-modern-page.users-shared-workspace-page .users-dashboard-filter-form .analytics-filter-option-check {
    width: 16px;
    height: 16px;
    border-radius: 5px;
}

.users-modern-page.users-shared-workspace-page .users-dashboard-filter-form .analytics-filter-option-check i {
    font-size: .68rem;
}

.users-modern-page.users-shared-workspace-page .users-dashboard-filter-form .analytics-filter-sheet-footer {
    padding: .45rem .65rem;
    gap: .4rem;
}

.users-modern-page.users-shared-workspace-page .users-dashboard-filter-form .analytics-filter-sheet-btn {
    min-width: 74px;
    padding: .34rem .72rem;
    font-size: .84rem;
}

.users-modern-page.users-shared-workspace-page .btn.users-status-btn {
    border-radius: 12px;
    border: 1px solid var(--umw-border);
    background: linear-gradient(180deg, #ffffff, #f8fbff);
    color: #334155;
    box-shadow: none;
}

.users-modern-page.users-shared-workspace-page .btn.users-status-btn:hover,
.users-modern-page.users-shared-workspace-page .btn.users-status-btn:focus {
    background: #f8fbff;
    border-color: var(--umw-border-strong);
    color: #0f172a;
}

.users-modern-page.users-shared-workspace-page .toolbar-chip {
    background: linear-gradient(180deg, #fff, #f8fbff);
    border-color: var(--umw-border);
    color: #475569;
    box-shadow: none;
}

.users-modern-page.users-shared-workspace-page .toolbar-chip i {
    color: #64748b;
}

.users-modern-page.users-shared-workspace-page .dropdown-menu {
    border-color: var(--umw-border);
    box-shadow: 0 14px 28px rgba(15,23,42,.10);
    background: #fff;
}

.users-modern-page.users-shared-workspace-page .dropdown-menu .dropdown-item:hover {
    background: #f4f7fd;
    color: #1e293b;
}

.users-modern-page.users-shared-workspace-page #basic-datatable_wrapper .dataTables_length label,
.users-modern-page.users-shared-workspace-page #basic-datatable_wrapper .dataTables_filter label {
    color: var(--umw-text-muted);
}

.users-modern-page.users-shared-workspace-page #basic-datatable_wrapper .form-select,
.users-modern-page.users-shared-workspace-page #basic-datatable_wrapper .form-control {
    border-radius: 10px;
    border-color: var(--umw-border);
    background: #fbfdff;
}

.users-modern-page.users-shared-workspace-page .table-responsive-shell {
    border-radius: 14px;
    border: 1px solid #e8eef7;
    background: #fff;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
}

.ip-management-modern-page .table-responsive-shell {
    scrollbar-width: thin;
    scrollbar-color: #94a3b8 #edf2f7;
}

.ip-management-modern-page .ip-hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ip-management-modern-page .ip-user-agent { display: block; min-width: 260px; max-width: 420px; color: var(--umw-text-muted); font-size: .82rem; line-height: 1.45; }

.ip-management-modern-page .table-responsive-shell::-webkit-scrollbar,
.ip-management-modern-page #basic-datatable2_wrapper .dataTables_scrollBody::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

.ip-management-modern-page .table-responsive-shell::-webkit-scrollbar-track,
.ip-management-modern-page #basic-datatable2_wrapper .dataTables_scrollBody::-webkit-scrollbar-track {
    background: #edf2f7;
    border-radius: 999px;
}

.ip-management-modern-page .table-responsive-shell::-webkit-scrollbar-thumb,
.ip-management-modern-page #basic-datatable2_wrapper .dataTables_scrollBody::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #94a3b8, #7c8faa);
    border: 2px solid #edf2f7;
    border-radius: 999px;
}

.ip-management-modern-page .table-responsive-shell::-webkit-scrollbar-corner,
.ip-management-modern-page #basic-datatable2_wrapper .dataTables_scrollBody::-webkit-scrollbar-corner {
    background: transparent;
}

.ip-management-modern-page #basic-datatable2_wrapper .dataTables_scroll,
.ip-management-modern-page #basic-datatable2_wrapper .dataTables_scrollHead,
.ip-management-modern-page #basic-datatable2_wrapper .dataTables_scrollHeadInner,
.ip-management-modern-page #basic-datatable2_wrapper .dataTables_scrollBody,
.ip-management-modern-page #basic-datatable2_wrapper .dataTables_scrollHeadInner table,
.ip-management-modern-page #basic-datatable2_wrapper .dataTables_scrollBody table {
    background: transparent !important;
}

.ip-management-modern-page #basic-datatable2_wrapper .dataTables_scrollHead {
    border-bottom: 1px solid #e5ecf5;
}

.ip-management-modern-page #basic-datatable2_wrapper .dataTables_scrollBody {
    background: #ffffff !important;
    scrollbar-width: thin;
    scrollbar-color: #94a3b8 #edf2f7;
}

.ip-management-modern-page #basic-datatable2_wrapper .dataTables_scrollHead thead th,
.ip-management-modern-page #basic-datatable2 thead th {
    background: #f8fafc;
    color: #475569;
    border-bottom: 1px solid #e5ecf5 !important;
    font-size: .8rem;
    letter-spacing: .02em;
}

.ip-management-modern-page #basic-datatable2_wrapper .dataTables_scrollBody tbody td,
.ip-management-modern-page #basic-datatable2 tbody td {
    background: #ffffff;
    border-bottom-color: #edf2f8;
}

.ip-management-modern-page #basic-datatable2_wrapper .dataTables_scrollBody tbody tr:hover td,
.ip-management-modern-page #basic-datatable2 tbody tr:hover td {
    background: #fafcff;
}

.users-modern-page.users-shared-workspace-page #basic-datatable {
    min-width: 860px;
}

.users-modern-page.users-shared-workspace-page #basic-datatable thead th {
    background: #f8fafc;
    color: #475569;
    border-bottom: 1px solid #e5ecf5 !important;
    font-size: .8rem;
    letter-spacing: .02em;
}

.users-modern-page.users-shared-workspace-page #basic-datatable tbody td {
    background: #fff;
    border-bottom-color: #edf2f8;
}

.users-modern-page.users-shared-workspace-page #basic-datatable tbody tr:hover td {
    background: #fafcff;
}

.users-modern-page.users-shared-workspace-page .index-badge {
    border-radius: 10px;
    border-color: #dfe7f4;
    background: linear-gradient(180deg, #f4f7ff, #eef2ff);
    color: #4f46e5;
}

.users-modern-page.users-shared-workspace-page .user-avatar {
    background: linear-gradient(135deg, #4f46e5 0%, #3b82f6 100%);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
}

.users-modern-page.users-shared-workspace-page .user-logo {
    border-color: #e4ebf6;
    box-shadow: none;
}

.users-modern-page.users-shared-workspace-page .user-copy .name {
    color: var(--umw-text);
}

.users-modern-page.users-shared-workspace-page .user-copy .meta {
    color: var(--umw-text-soft);
}

.users-modern-page.users-shared-workspace-page .email-stack .primary {
    color: #1e293b;
}

.users-modern-page.users-shared-workspace-page .email-stack .secondary {
    color: #8ba0b8;
}

.users-modern-page.users-shared-workspace-page .role-pill {
    border-color: #d9e5f8;
    background: #f4f8ff;
    color: #305fcb;
}

.users-modern-page.users-shared-workspace-page .status-active {
    background: #edfdf4;
    border-color: #a7f3d0;
    color: #059669;
}

.users-modern-page.users-shared-workspace-page .status-pending {
    background: #fff9ea;
    border-color: #fde68a;
    color: #d97706;
}

.users-modern-page.users-shared-workspace-page .status-blocked {
    background: #fff1f2;
    border-color: #fecdd3;
    color: #dc2626;
}

.users-modern-page.users-shared-workspace-page .date-stack {
    color: #334155;
}

.users-modern-page.users-shared-workspace-page .action-icon-btn {
    border-color: var(--umw-border);
    background: #fff;
    color: #64748b;
    box-shadow: none;
}

.users-modern-page.users-shared-workspace-page .action-icon-btn:hover:not(.is-disabled):not([aria-disabled="true"]) {
    border-color: #cfd9ea;
    background: #f8fbff;
    color: #2563eb;
    box-shadow: none;
}

.users-modern-page.users-shared-workspace-page .action-icon-btn.is-disabled,
.users-modern-page.users-shared-workspace-page .action-icon-btn[aria-disabled="true"] {
    border-color: #dfe7f4;
    background: #f8fafc;
    color: #9aa9bf;
    box-shadow: none;
}

.users-modern-page.users-shared-workspace-page .users-toolbar-search-form {
    flex: 1 1 280px;
    min-width: min(100%, 280px);
    max-width: 380px;
}

.users-modern-page.users-shared-workspace-page .users-toolbar-search {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    min-height: 44px;
    padding: 0 0.85rem;
    border-radius: 14px;
    border: 1px solid #dbe5f0;
    background: #ffffff;
    box-shadow: none;
}

.users-modern-page.users-shared-workspace-page .users-toolbar-search > i {
    color: #8ba0b8;
    font-size: 1rem;
    flex: 0 0 auto;
}

.users-modern-page.users-shared-workspace-page .users-toolbar-search .form-control {
    border: 0;
    background: transparent;
    box-shadow: none !important;
    min-height: auto;
    padding: 0.72rem 0;
    color: #0f172a;
    font-weight: 600;
}

.users-modern-page.users-shared-workspace-page .users-toolbar-search .form-control::placeholder {
    color: #8ba0b8;
    font-weight: 500;
}

.users-modern-page.users-shared-workspace-page .users-toolbar-search-clear {
    appearance: none;
    border: 0;
    background: transparent;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    color: #8ba0b8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.users-modern-page.users-shared-workspace-page .users-toolbar-search-clear:hover,
.users-modern-page.users-shared-workspace-page .users-toolbar-search-clear:focus {
    background: #f3f7fb;
    color: #2563eb;
}

.users-modern-page.users-shared-workspace-page #basic-datatable_wrapper .dataTables_info {
    color: var(--umw-text-muted);
}

.users-modern-page.users-shared-workspace-page #basic-datatable_wrapper .dataTables_paginate .paginate_button {
    border-radius: 10px !important;
}

.users-modern-page.users-shared-workspace-page #basic-datatable_wrapper .dataTables_paginate .paginate_button.current {
    background: linear-gradient(135deg, #4f46e5, #3b82f6) !important;
    box-shadow: none;
}

.users-modern-page.users-shared-workspace-page #basic-datatable_wrapper .dataTables_paginate .paginate_button:hover {
    background: #f1f5ff !important;
    border-color: #d7e2f4 !important;
    color: #2563eb !important;
}

@media (max-width: 1199.98px) {
    .users-modern-page.users-shared-workspace-page .users-hero-grid {
        grid-template-columns: 1fr;
    }

    .users-modern-page.users-shared-workspace-page .users-hero-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .genre-manager-page.users-shared-workspace-page .users-hero-grid {
        grid-template-columns: 1fr;
    }

    .genre-manager-page.users-shared-workspace-page .users-hero-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 420px;
    }

    .albums-modern-page.users-shared-workspace-page .users-hero {
        padding: .95rem;
    }

    .albums-modern-page.users-shared-workspace-page .users-hero-grid {
        grid-template-columns: 1fr;
    }

    .albums-modern-page.users-shared-workspace-page .users-hero-main.albums-hero-main {
        align-items: flex-start;
    }

    .albums-modern-page.users-shared-workspace-page .albums-hero-stats {
        max-width: 330px;
    }
}

@media (max-width: 767.98px) {
    .users-modern-page.users-shared-workspace-page .users-shared-shell {
        border-radius: 16px;
    }

    .users-modern-page.users-shared-workspace-page .users-hero {
        margin: .7rem .7rem .6rem;
        border-radius: 14px;
        padding: .85rem;
    }

    .users-modern-page.users-shared-workspace-page .users-hero-stats {
        grid-template-columns: 1fr 1fr;
    }

    .isrc-upc-modern-page.users-shared-workspace-page .users-hero-stats {
        grid-template-columns: 1fr 1fr;
    }

    .albums-modern-page.users-shared-workspace-page .albums-hero-heading {
        gap: .65rem;
    }

    .albums-modern-page.users-shared-workspace-page .albums-hero-icon {
        width: 40px;
        height: 40px;
        border-radius: 12px;
    }

    .albums-modern-page.users-shared-workspace-page .albums-total-stat {
        min-height: 0;
    }

    .users-modern-page.users-shared-workspace-page .users-table-card {
        margin: 0 .7rem .7rem;
        border-radius: 14px;
    }

    .users-modern-page.users-shared-workspace-page .users-table-card .card-body {
        padding: .8rem .75rem;
    }

    .users-modern-page.users-shared-workspace-page .users-toolbar {
        border-bottom: 0;
        padding-bottom: 0;
        margin-bottom: .6rem;
    }

    .users-modern-page.users-shared-workspace-page .users-toolbar-left {
        width: 100%;
        gap: .5rem;
    }

    .users-modern-page.users-shared-workspace-page .users-toolbar-search-form {
        width: 100%;
        max-width: none;
    }

    .users-modern-page.users-shared-workspace-page .users-dashboard-filter-form {
        width: 100%;
    }

    .users-modern-page.users-shared-workspace-page .users-dashboard-filter-form .analytics-filter-menu {
        left: 0;
        right: auto;
        width: min(100%, calc(100vw - 28px));
        min-width: 0;
    }

    .users-modern-page.users-shared-workspace-page .users-dashboard-filter-form .analytics-filter-sheet {
        grid-template-columns: 1fr;
        height: auto;
        min-height: 0;
    }

    .users-modern-page.users-shared-workspace-page .users-dashboard-filter-form .analytics-filter-sheet-sidebar {
        border-right: 0;
        border-bottom: 1px solid var(--umw-border);
        background: transparent;
        flex-direction: row;
        overflow-x: auto;
        padding: .55rem;
    }

    .users-modern-page.users-shared-workspace-page .users-dashboard-filter-form .analytics-filter-sheet-tab {
        min-width: max-content;
    }

    .users-modern-page.users-shared-workspace-page .users-dashboard-filter-form .analytics-filter-sheet-tab i {
        display: none;
    }

    .users-modern-page.users-shared-workspace-page .users-dashboard-filter-form .analytics-filter-sheet-main {
        min-width: 0;
    }

    .users-modern-page.users-shared-workspace-page .users-dashboard-filter-form .analytics-filter-sheet-footer {
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .users-modern-page.users-shared-workspace-page .users-dashboard-filter-form .analytics-filter-sheet-btn {
        flex: 1 1 120px;
        min-width: 0;
    }

    .users-modern-page.users-shared-workspace-page .users-dashboard-filter-form .analytics-filter-option-list {
        max-height: 220px;
    }

    .users-modern-page.users-shared-workspace-page .users-dashboard-filter-form .analytics-filter-applied-list {
        max-width: 100%;
    }

    .users-modern-page.users-shared-workspace-page .btn.users-status-btn,
    .users-modern-page.users-shared-workspace-page .toolbar-chip {
        width: 100%;
        justify-content: center;
    }

    .users-modern-page.users-shared-workspace-page #basic-datatable {
        min-width: 760px;
    }
}

@media (max-width: 575.98px) {
    .users-modern-page.users-shared-workspace-page .users-hero-stats {
        grid-template-columns: 1fr;
    }

    .isrc-upc-modern-page.users-shared-workspace-page .users-hero-stats {
        grid-template-columns: 1fr;
    }

    .users-modern-page.users-shared-workspace-page .hero-brand {
        width: 100%;
    }

    .users-modern-page.users-shared-workspace-page #basic-datatable_wrapper .dataTables_filter,
    .users-modern-page.users-shared-workspace-page #basic-datatable_wrapper .dataTables_length {
        width: 100%;
        text-align: left !important;
    }

    .users-modern-page.users-shared-workspace-page #basic-datatable_wrapper .dataTables_filter input {
        width: 100%;
        margin-left: 0 !important;
        margin-top: .35rem;
    }

    .users-modern-page.users-shared-workspace-page #basic-datatable {
        min-width: 680px;
    }
}

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page {
    --umw-border: #243246;
    --umw-border-strong: #33465f;
    --umw-text: #e5edf7;
    --umw-text-muted: #a9b8cc;
    --umw-text-soft: #8da0ba;
    background:
        radial-gradient(circle at 12% 0%, rgba(59,130,246,.10), transparent 44%),
        radial-gradient(circle at 92% 10%, rgba(99,102,241,.10), transparent 46%),
        linear-gradient(180deg, #0b1220 0%, #101a2d 72%, #0c1424 100%);
}

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page .users-shared-shell {
    border-color: var(--umw-border);
    background: linear-gradient(180deg, rgba(17,24,39,.96), rgba(12,19,32,.95));
    box-shadow: 0 18px 40px rgba(2,6,23,.30);
}

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page .users-hero {
    border-color: var(--umw-border);
    background: linear-gradient(180deg, rgba(17,24,39,.94), rgba(13,20,34,.94));
}

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page .hero-brand {
    border-color: rgba(148,163,184,.16);
    background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01));
}

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page .hero-brand-logo {
    border-color: rgba(148,163,184,.16);
    background: #0f172a;
}

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page .hero-filter-pill {
    background: rgba(255,255,255,.03);
    border-color: rgba(148,163,184,.16);
    color: #c9d6e8;
}

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page .hero-filter-pill i {
    color: #9fb2cd;
}

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page .stat-tile {
    border-color: var(--umw-border);
    background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01));
}

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page .users-hero-stats .stat-tile:nth-child(1) {
    background: linear-gradient(180deg, rgba(37,99,235,.18), rgba(17,24,39,.88));
    border-color: rgba(96,165,250,.22);
}

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page .users-hero-stats .stat-tile:nth-child(2) {
    background: linear-gradient(180deg, rgba(16,185,129,.16), rgba(17,24,39,.88));
    border-color: rgba(52,211,153,.22);
}

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page .users-hero-stats .stat-tile:nth-child(3) {
    background: linear-gradient(180deg, rgba(239,68,68,.14), rgba(17,24,39,.88));
    border-color: rgba(248,113,113,.22);
}

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page .users-hero-stats .stat-tile:nth-child(4) {
    background: linear-gradient(180deg, rgba(99,102,241,.16), rgba(17,24,39,.88));
    border-color: rgba(129,140,248,.22);
}

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page .stat-tile .label {
    color: #b7c8dc;
}

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page .stat-tile .value {
    color: #f8fbff;
    text-shadow: 0 1px 0 rgba(0,0,0,.18);
}

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page .stat-tile .meta {
    color: #9db0c9;
}

html[data-theme="dark"] .albums-modern-page.users-shared-workspace-page .users-hero {
    background:
        radial-gradient(circle at 15% -35%, rgba(59, 130, 246, 0.18), transparent 56%),
        linear-gradient(180deg, rgba(17, 24, 39, .95), rgba(13, 20, 34, .95));
}

html[data-theme="dark"] .albums-modern-page.users-shared-workspace-page .albums-total-stat {
    border-color: #2d3d54;
    background: linear-gradient(180deg, rgba(37, 99, 235, .18), rgba(17, 24, 39, .92));
}

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page .users-table-card {
    border-color: var(--umw-border);
    background: linear-gradient(180deg, rgba(17,24,39,.94), rgba(12,19,32,.94));
}

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page .users-toolbar {
    border-bottom-color: rgba(148,163,184,.14);
}

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page .btn.users-status-btn {
    border-color: rgba(148,163,184,.18);
    background: linear-gradient(180deg, #162033, #111a2c);
    color: #d7e3f2;
}

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page .btn.users-status-btn:hover,
html[data-theme="dark"] .users-modern-page.users-shared-workspace-page .btn.users-status-btn:focus {
    background: linear-gradient(180deg, #1a2740, #142138);
    color: #f2f7ff;
    border-color: rgba(148,163,184,.24);
}

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page .toolbar-chip {
    border-color: #2c3a51;
    background: rgba(255,255,255,.03);
    color: #bfd0e5;
}

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page .toolbar-chip i {
    color: #9bb0ca;
}

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page .users-toolbar-search {
    border-color: #2c3a51;
    background: linear-gradient(180deg, #162033, #111a2c);
}

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page .users-toolbar-search > i,
html[data-theme="dark"] .users-modern-page.users-shared-workspace-page .users-toolbar-search-clear {
    color: #8ea5c2;
}

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page .users-toolbar-search .form-control {
    color: #e5edf7;
}

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page .users-toolbar-search .form-control::placeholder {
    color: #7f93ae;
}

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page .users-toolbar-search-clear:hover,
html[data-theme="dark"] .users-modern-page.users-shared-workspace-page .users-toolbar-search-clear:focus {
    background: rgba(148, 163, 184, 0.08);
    color: #cfe2ff;
}

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page .dropdown-menu {
    background: #111a2c;
    border-color: #2c3a51;
}

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page .dropdown-menu .dropdown-item {
    color: #d6e2f0;
}

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page .dropdown-menu .dropdown-item:hover {
    background: #17233a;
    color: #fff;
}

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page #basic-datatable_wrapper .form-select,
html[data-theme="dark"] .users-modern-page.users-shared-workspace-page #basic-datatable_wrapper .form-control {
    border-color: #2c3a51;
    background: #111a2c;
    color: #e5edf7;
}

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page #basic-datatable_wrapper .form-control::placeholder {
    color: #7f93ae;
}

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page .table-responsive-shell {
    border-color: #27354a;
    background: rgba(17,24,39,.55);
}

html[data-theme="dark"] .ip-management-modern-page .table-responsive-shell {
    scrollbar-color: #64748b #0f172a;
}

html[data-theme="dark"] .ip-management-modern-page .table-responsive-shell::-webkit-scrollbar-track,
html[data-theme="dark"] .ip-management-modern-page #basic-datatable2_wrapper .dataTables_scrollBody::-webkit-scrollbar-track {
    background: #0f172a;
}

html[data-theme="dark"] .ip-management-modern-page .table-responsive-shell::-webkit-scrollbar-thumb,
html[data-theme="dark"] .ip-management-modern-page #basic-datatable2_wrapper .dataTables_scrollBody::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #475569, #334155);
    border-color: #0f172a;
}

html[data-theme="dark"] .ip-management-modern-page #basic-datatable2_wrapper .dataTables_scrollHead {
    border-bottom-color: #27364b;
}

html[data-theme="dark"] .ip-management-modern-page #basic-datatable2_wrapper .dataTables_scrollBody {
    background: #0f172a !important;
    scrollbar-color: #64748b #0f172a;
}

html[data-theme="dark"] .ip-management-modern-page #basic-datatable2_wrapper .dataTables_scrollHead thead th,
html[data-theme="dark"] .ip-management-modern-page #basic-datatable2 thead th {
    background: #131d30;
    color: #b8c6d9;
    border-bottom-color: #27364b !important;
}

html[data-theme="dark"] .ip-management-modern-page #basic-datatable2_wrapper .dataTables_scrollBody tbody td,
html[data-theme="dark"] .ip-management-modern-page #basic-datatable2 tbody td {
    background: #0f172a;
    border-bottom-color: #1f2a3c;
}

html[data-theme="dark"] .ip-management-modern-page #basic-datatable2_wrapper .dataTables_scrollBody tbody tr:hover td,
html[data-theme="dark"] .ip-management-modern-page #basic-datatable2 tbody tr:hover td {
    background: #121d31;
}

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page #basic-datatable thead th {
    background: #131d30;
    color: #b8c6d9;
    border-bottom-color: #27364b !important;
}

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page #basic-datatable tbody td {
    background: #0f172a;
    border-bottom-color: #1f2a3c;
}

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page #basic-datatable tbody tr:hover td {
    background: #121d31;
}

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page .index-badge {
    border-color: #33445d;
    background: linear-gradient(180deg, #1a2740, #162238);
    color: #b4c8ff;
}

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page .user-logo {
    border-color: #2d3d54;
    background: #0f172a;
}

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page .email-stack .primary {
    color: #dce7f5;
}

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page .role-pill {
    border-color: #2e466a;
    background: rgba(37,99,235,.14);
    color: #9bc1ff;
}

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page .status-active {
    background: rgba(5,150,105,.16);
    border-color: rgba(16,185,129,.35);
    color: #6ee7b7;
}

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page .status-pending {
    background: rgba(217,119,6,.14);
    border-color: rgba(245,158,11,.30);
    color: #fcd34d;
}

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page .status-blocked {
    background: rgba(220,38,38,.14);
    border-color: rgba(248,113,113,.30);
    color: #fca5a5;
}

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page .date-stack {
    color: #c6d3e6;
}

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page .date-stack i {
    color: #8ea1bc;
}

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page .action-icon-btn {
    border-color: #2c3a51;
    background: #111a2c;
    color: #b9c8db;
}

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page .action-icon-btn:hover:not(.is-disabled):not([aria-disabled="true"]) {
    border-color: #3a4f6d;
    background: #16233a;
    color: #93c5fd;
}

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page .action-icon-btn.is-disabled,
html[data-theme="dark"] .users-modern-page.users-shared-workspace-page .action-icon-btn[aria-disabled="true"] {
    border-color: #2e3d55;
    background: #0f1726;
    color: #6f83a0;
}

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page #basic-datatable_wrapper .dataTables_info,
html[data-theme="dark"] .users-modern-page.users-shared-workspace-page #basic-datatable_wrapper .dataTables_length label,
html[data-theme="dark"] .users-modern-page.users-shared-workspace-page #basic-datatable_wrapper .dataTables_filter label {
    color: #a9b8cc;
}

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page #basic-datatable_wrapper .dataTables_paginate .paginate_button {
    color: #a9b8cc !important;
}

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page #basic-datatable_wrapper .dataTables_paginate .paginate_button:hover {
    background: #16233a !important;
    border-color: #33465f !important;
    color: #93c5fd !important;
}

/* ===== Shared workspace list variants (YouTube requests / bank details) ===== */
.users-modern-page.users-shared-workspace-page.yt-requests-page .users-hero,
.users-modern-page.users-shared-workspace-page.bank-details-page .users-hero {
    padding: 1.05rem 1.1rem;
    background:
        radial-gradient(circle at 14% -28%, rgba(37, 99, 235, 0.1), transparent 50%),
        linear-gradient(180deg, #ffffff, #f9fbff);
}

.users-modern-page.users-shared-workspace-page .yt-hero-main,
.users-modern-page.users-shared-workspace-page .bank-hero-main {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: .85rem;
}

.users-modern-page.users-shared-workspace-page .yt-hero-heading,
.users-modern-page.users-shared-workspace-page .bank-hero-heading {
    display: flex;
    align-items: flex-start;
    gap: .85rem;
    min-width: 0;
    width: 100%;
    text-align: left;
}

.users-modern-page.users-shared-workspace-page .yt-hero-icon,
.users-modern-page.users-shared-workspace-page .bank-hero-icon,
.users-modern-page.users-shared-workspace-page .yt-form-intro-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex: 0 0 auto;
    box-shadow: 0 14px 28px rgba(15, 23, 42, .12);
}

/* .users-modern-page.users-shared-workspace-page .yt-hero-icon,
.users-modern-page.users-shared-workspace-page .yt-form-intro-icon {
    background: linear-gradient(135deg, #ef4444, #f97316 55%, #fb7185);
} */

.users-modern-page.users-shared-workspace-page .bank-hero-icon {
    background: linear-gradient(135deg, #0f766e, #14b8a6 55%, #38bdf8);
}

.users-modern-page.users-shared-workspace-page .yt-hero-icon i,
.users-modern-page.users-shared-workspace-page .bank-hero-icon i,
.users-modern-page.users-shared-workspace-page .yt-form-intro-icon i {
    font-size: 1.2rem;
}

.users-modern-page.users-shared-workspace-page .yt-hero-stats,
.users-modern-page.users-shared-workspace-page .bank-hero-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.users-modern-page.users-shared-workspace-page .workspace-filter-tabs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .55rem;
}

.users-modern-page.users-shared-workspace-page .workspace-filter-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    min-height: 40px;
    padding: .52rem .95rem;
    border-radius: 999px;
    border: 1px solid var(--umw-border);
    background: #ffffff;
    color: #475569;
    font-size: .83rem;
    font-weight: 700;
    letter-spacing: .01em;
    text-decoration: none;
    transition: border-color .18s ease, background-color .18s ease, color .18s ease, box-shadow .18s ease;
}

.users-modern-page.users-shared-workspace-page .workspace-filter-tab:hover,
.users-modern-page.users-shared-workspace-page .workspace-filter-tab:focus {
    border-color: rgba(var(--rdc-button-color-rgb), .36);
    background: rgba(var(--rdc-button-color-rgb), .08);
    color: var(--rdc-button-color);
    box-shadow: none;
}

.users-modern-page.users-shared-workspace-page .workspace-filter-tab.is-active {
    border-color: var(--rdc-button-color);
    background: var(--rdc-button-color);
    color: #ffffff;
    box-shadow: 0 12px 24px rgba(var(--rdc-button-color-rgb), .22);
}

.users-modern-page.users-shared-workspace-page .workspace-filter-tab.is-active i {
    color: #ffffff;
}

.users-modern-page.users-shared-workspace-page .workspace-data-table {
    min-width: 860px;
}

.users-modern-page.users-shared-workspace-page .workspace-data-table thead th {
    background: #f8fafc;
    color: #475569;
    border-bottom: 1px solid #e5ecf5 !important;
    font-size: .8rem;
    letter-spacing: .02em;
}

.users-modern-page.users-shared-workspace-page .workspace-data-table tbody td {
    background: #ffffff;
    border-bottom-color: #edf2f8;
    vertical-align: middle;
}

.users-modern-page.users-shared-workspace-page .workspace-data-table tbody tr:hover td {
    background: #fafcff;
}

.users-modern-page.users-shared-workspace-page .workspace-link {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    max-width: 300px;
    color: #2563eb;
    font-size: .84rem;
    font-weight: 600;
    text-decoration: none;
}

.users-modern-page.users-shared-workspace-page .workspace-link span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.users-modern-page.users-shared-workspace-page .workspace-link:hover,
.users-modern-page.users-shared-workspace-page .workspace-link:focus {
    color: var(--rdc-button-color);
}

.users-modern-page.users-shared-workspace-page .workspace-description {
    max-width: 28ch;
    color: var(--umw-text-muted);
    font-size: .82rem;
    line-height: 1.55;
}

.users-modern-page.users-shared-workspace-page .workspace-status-cell {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .35rem;
}

.users-modern-page.users-shared-workspace-page .workspace-note {
    color: var(--umw-text-soft);
    font-size: .76rem;
    line-height: 1.45;
}

.users-modern-page.users-shared-workspace-page .workspace-empty-state {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: var(--umw-text-muted);
    font-weight: 600;
}

.users-modern-page.users-shared-workspace-page .yt-inline-action-btn {
    min-height: 38px;
    border-radius: 12px;
    padding: .45rem .85rem;
    font-size: .82rem;
    font-weight: 700;
}

.users-modern-page.users-shared-workspace-page .yt-review-panel {
    padding: 1rem;
    border-top: 1px solid #e7eef8;
    border-bottom: 1px solid #e7eef8;
    background:
        linear-gradient(180deg, #fcfdff, #f7faff);
}

.users-modern-page.users-shared-workspace-page .yt-review-panel-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) auto;
    gap: .9rem;
    align-items: start;
}

.users-modern-page.users-shared-workspace-page .yt-review-context {
    display: flex;
    flex-direction: column;
    gap: .45rem;
    min-width: 0;
}

.users-modern-page.users-shared-workspace-page .yt-review-context-title {
    color: var(--umw-text);
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .01em;
}

.users-modern-page.users-shared-workspace-page .yt-review-panel .form-label {
    color: var(--umw-text);
}

.users-modern-page.users-shared-workspace-page .yt-review-panel .form-control,
.users-modern-page.users-shared-workspace-page .yt-request-form-card .form-control,
.users-modern-page.users-shared-workspace-page .yt-request-form-card .form-select,
.users-modern-page.users-shared-workspace-page .bank-toolbar-form .form-control {
    border-radius: 12px;
    border-color: #dbe5f0;
    background: #ffffff;
}

.users-modern-page.users-shared-workspace-page .yt-review-actions {
    display: flex;
    align-items: center;
    gap: .6rem;
    align-self: end;
}

.users-modern-page.users-shared-workspace-page .yt-review-actions .btn {
    min-width: 108px;
    border-radius: 12px;
    padding: .58rem .95rem;
    font-weight: 700;
}

.users-modern-page.users-shared-workspace-page .yt-request-form-card .card-body {
    padding-top: 1rem;
}

.users-modern-page.users-shared-workspace-page .yt-form-shell {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.users-modern-page.users-shared-workspace-page .yt-form-intro {
    display: flex;
    align-items: flex-start;
    gap: .85rem;
    padding: .95rem 1rem;
    border-radius: 16px;
    border: 1px solid #e4ebf6;
    background: linear-gradient(180deg, #ffffff, #f8fbff);
}

.users-modern-page.users-shared-workspace-page .yt-form-intro-copy h5 {
    margin: 0 0 .28rem;
    color: var(--umw-text);
    font-size: 1rem;
    font-weight: 800;
}

.users-modern-page.users-shared-workspace-page .yt-form-intro-copy p {
    margin: 0;
    color: var(--umw-text-muted);
    font-size: .86rem;
    line-height: 1.6;
}

.users-modern-page.users-shared-workspace-page .yt-request-form-card .form-text {
    color: var(--umw-text-soft);
}

.users-modern-page.users-shared-workspace-page .yt-request-form-card .btn.btn-primary {
    min-height: 44px;
    border-radius: 12px;
    padding-inline: 1rem;
    font-weight: 700;
}

.users-modern-page.users-shared-workspace-page .users-bulk-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: .7rem;
    flex-wrap: wrap;
}

.users-modern-page.users-shared-workspace-page .users-bulk-actions .selection-count {
    color: var(--umw-text-muted);
    font-size: .82rem;
    font-weight: 600;
}

.users-modern-page.users-shared-workspace-page .users-bulk-actions .btn {
    min-height: 42px;
    border-radius: 12px;
    padding: .55rem 1rem;
    font-weight: 700;
}

.users-modern-page.users-shared-workspace-page.users-directory-page .users-toolbar-left {
    display: flex;
    align-items: center;
    gap: .7rem;
    flex-wrap: wrap;
}

.users-modern-page.users-shared-workspace-page.users-directory-page .users-dashboard-filter-form {
    flex: 0 1 auto;
    width: auto;
    min-width: 0;
}

.users-modern-page.users-shared-workspace-page.users-directory-page .users-dashboard-filter-form.analytics-filter-toolbar {
    width: auto;
    flex-wrap: nowrap;
}

.users-modern-page.users-shared-workspace-page.users-directory-page .users-dashboard-filter-form .analytics-filter-toolbar-left {
    flex-wrap: nowrap;
}

.users-modern-page.users-shared-workspace-page.users-directory-page .users-dashboard-filter-form .analytics-filter-applied-list {
    max-width: min(420px, 32vw);
}

.users-modern-page.users-shared-workspace-page.users-directory-page .users-toolbar-search-form {
    flex: 1 1 320px;
    min-width: 280px;
    max-width: none;
}

.users-modern-page.users-shared-workspace-page.users-directory-page .users-bulk-actions {
    flex: 0 0 auto;
}

.users-modern-page.users-shared-workspace-page .bank-toolbar-row {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    flex-wrap: wrap;
}

.users-modern-page.users-shared-workspace-page .bank-toolbar-form {
    display: flex;
    align-items: center;
    gap: .65rem;
    flex-wrap: wrap;
    flex: 1 1 360px;
    min-width: 0;
}

.users-modern-page.users-shared-workspace-page .bank-toolbar-form .users-toolbar-search-form {
    flex: 1 1 340px;
    max-width: none;
}

.users-modern-page.users-shared-workspace-page .bank-toolbar-form .btn {
    min-height: 44px;
    border-radius: 12px;
    padding-inline: 1rem;
    font-weight: 700;
}

.users-modern-page.users-shared-workspace-page .bank-toolbar-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: .55rem;
    flex-wrap: wrap;
}

.users-modern-page.users-shared-workspace-page .bank-summary-row {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-top: .2rem;
    flex-wrap: wrap;
}

.users-modern-page.users-shared-workspace-page .workspace-summary-chip {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .36rem .65rem;
    border-radius: 999px;
    border: 1px solid #dde6f2;
    background: #f8fbff;
    color: #475569;
    font-size: .76rem;
    font-weight: 700;
}

@media (max-width: 1199.98px) {
    .users-modern-page.users-shared-workspace-page .yt-hero-stats,
    .users-modern-page.users-shared-workspace-page .bank-hero-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .users-modern-page.users-shared-workspace-page .yt-hero-heading,
    .users-modern-page.users-shared-workspace-page .bank-hero-heading,
    .users-modern-page.users-shared-workspace-page .yt-form-intro {
        gap: .7rem;
    }

    .users-modern-page.users-shared-workspace-page .yt-hero-icon,
    .users-modern-page.users-shared-workspace-page .bank-hero-icon,
    .users-modern-page.users-shared-workspace-page .yt-form-intro-icon {
        width: 42px;
        height: 42px;
        border-radius: 12px;
    }

    .users-modern-page.users-shared-workspace-page .workspace-data-table {
        min-width: 760px;
    }

    .users-modern-page.users-shared-workspace-page .yt-review-panel {
        padding: .85rem;
    }

    .users-modern-page.users-shared-workspace-page .yt-review-panel-grid {
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .users-modern-page.users-shared-workspace-page .yt-review-actions {
        width: 100%;
        flex-wrap: wrap;
    }

    .users-modern-page.users-shared-workspace-page .yt-review-actions .btn {
        flex: 1 1 160px;
    }

    .users-modern-page.users-shared-workspace-page .users-bulk-actions,
    .users-modern-page.users-shared-workspace-page .bank-toolbar-actions {
        width: 100%;
        margin-left: 0;
        justify-content: flex-start;
    }

    .users-modern-page.users-shared-workspace-page .bank-toolbar-form {
        width: 100%;
    }

    .users-modern-page.users-shared-workspace-page.users-directory-page .users-dashboard-filter-form,
    .users-modern-page.users-shared-workspace-page.users-directory-page .users-dashboard-filter-form.analytics-filter-toolbar {
        width: 100%;
    }

    .users-modern-page.users-shared-workspace-page.users-directory-page .users-dashboard-filter-form.analytics-filter-toolbar,
    .users-modern-page.users-shared-workspace-page.users-directory-page .users-dashboard-filter-form .analytics-filter-toolbar-left {
        flex-wrap: wrap;
    }
}

@media (max-width: 575.98px) {
    .users-modern-page.users-shared-workspace-page .yt-hero-stats,
    .users-modern-page.users-shared-workspace-page .bank-hero-stats {
        grid-template-columns: 1fr;
    }

    .users-modern-page.users-shared-workspace-page .workspace-filter-tabs {
        width: 100%;
    }

    .users-modern-page.users-shared-workspace-page .workspace-filter-tab {
        flex: 1 1 calc(50% - .55rem);
    }

    .users-modern-page.users-shared-workspace-page .workspace-data-table {
        min-width: 680px;
    }
}

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page .users-hero,
html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.bank-details-page .users-hero {
    background:
        radial-gradient(circle at 14% -28%, rgba(59, 130, 246, 0.16), transparent 54%),
        linear-gradient(180deg, rgba(17, 24, 39, .95), rgba(13, 20, 34, .95));
}

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page .workspace-filter-tab {
    border-color: var(--umw-border);
    background: #111a2c;
    color: #c6d3e6;
}

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page .workspace-filter-tab:hover,
html[data-theme="dark"] .users-modern-page.users-shared-workspace-page .workspace-filter-tab:focus {
    border-color: rgba(var(--rdc-button-color-rgb), .38);
    background: rgba(var(--rdc-button-color-rgb), .12);
    color: #ffffff;
}

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page .workspace-data-table thead th {
    background: #131d30;
    color: #b8c6d9;
    border-bottom-color: #27364b !important;
}

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page .workspace-data-table tbody td {
    background: #0f172a;
    border-bottom-color: #1f2a3c;
}

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page .workspace-data-table tbody tr:hover td {
    background: #121d31;
}

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page .workspace-link {
    color: #93c5fd;
}

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page .workspace-link:hover,
html[data-theme="dark"] .users-modern-page.users-shared-workspace-page .workspace-link:focus {
    color: #dbeafe;
}

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page .yt-review-panel {
    border-top-color: #26354a;
    border-bottom-color: #26354a;
    background: linear-gradient(180deg, rgba(17, 24, 39, .94), rgba(12, 19, 32, .94));
}

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page .yt-review-panel .form-control,
html[data-theme="dark"] .users-modern-page.users-shared-workspace-page .yt-request-form-card .form-control,
html[data-theme="dark"] .users-modern-page.users-shared-workspace-page .yt-request-form-card .form-select,
html[data-theme="dark"] .users-modern-page.users-shared-workspace-page .bank-toolbar-form .form-control {
    border-color: #2c3a51;
    background: #111a2c;
    color: #e5edf7;
}

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page .yt-request-form-card .form-control::placeholder,
html[data-theme="dark"] .users-modern-page.users-shared-workspace-page .bank-toolbar-form .form-control::placeholder {
    color: #7f93ae;
}

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page .yt-form-intro {
    border-color: #27364b;
    background: linear-gradient(180deg, rgba(17, 24, 39, .9), rgba(15, 23, 38, .95));
}

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page .workspace-summary-chip {
    border-color: #2c3a51;
    background: rgba(255, 255, 255, .04);
    color: #c6d3e6;
}

/* ===== YouTube claims page refinement (CSS-only, shared by admin + labels) ===== */
.users-modern-page.users-shared-workspace-page.yt-requests-page {
    --ytc-border: #d9e5f3;
    --ytc-border-strong: #c8d8ec;
    --ytc-surface: #ffffff;
    --ytc-surface-soft: #f8fbff;
    --ytc-surface-tint: #f4f8ff;
    --ytc-text: #142033;
    --ytc-text-muted: #5f718a;
    --ytc-text-soft: #8ca0b9;
    --ytc-accent: #2563eb;
    --ytc-accent-soft: rgba(37, 99, 235, 0.1);
    --ytc-danger: #ef4444;
    --ytc-danger-soft: rgba(239, 68, 68, 0.1);
    --ytc-success: #059669;
    --ytc-success-soft: rgba(5, 150, 105, 0.11);
    --ytc-shadow-sm: 0 10px 26px rgba(15, 23, 42, 0.05);
    --ytc-shadow-md: 0 18px 42px rgba(15, 23, 42, 0.08);
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .users-hero,
.users-modern-page.users-shared-workspace-page.yt-requests-page .users-table-card,
.users-modern-page.users-shared-workspace-page.yt-requests-page .yt-request-form-card {
    border-radius: 24px;
    border-color: rgba(205, 219, 237, 0.82);
    box-shadow: var(--ytc-shadow-sm);
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .users-hero {
    position: relative;
    padding: 1.2rem 1.2rem 1.1rem;
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 18%, rgba(249, 115, 22, 0.16), transparent 22%),
        radial-gradient(circle at 56% 44%, rgba(37, 99, 235, 0.1), transparent 26%),
        linear-gradient(135deg, #f8fbff 0%, #ffffff 46%, #f6f9ff 100%);
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .users-hero::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #06b6d4 0%, #2563eb 48%, #8b5cf6 100%);
    opacity: 0.95;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .users-hero::before,
.users-modern-page.users-shared-workspace-page.yt-requests-page .users-table-card::before {
    content: none;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .yt-hero-main {
    gap: 1rem;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .yt-hero-heading {
    gap: 1rem;
    align-items: center;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .yt-hero-icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    box-shadow: 0 18px 34px rgba(239, 68, 68, 0.2);
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .yt-hero-icon i {
    font-size: 1.45rem;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .hero-title {
    margin: 0;
    color: var(--ytc-text);
    font-size: clamp(1.65rem, 2.15vw, 2.35rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.06;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .hero-filter-pill {
    min-height: 42px;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(191, 219, 254, 0.95);
    background: rgba(255, 255, 255, 0.82);
    color: #41556f;
    font-size: 0.86rem;
    font-weight: 700;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .hero-filter-pill i {
    color: var(--ytc-accent);
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .yt-hero-stats {
    gap: 0.8rem;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .users-hero-stats .stat-tile {
    min-height: 116px;
    padding: 1rem 1rem 0.95rem;
    border-radius: 18px;
    border: 1px solid rgba(216, 226, 240, 0.88);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.74);
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .users-hero-stats .stat-tile .label {
    color: #64748b;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .users-hero-stats .stat-tile .value {
    color: var(--ytc-text);
    font-size: clamp(1.7rem, 2vw, 2.25rem);
    font-weight: 800;
    letter-spacing: -0.03em;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .users-hero-stats .stat-tile .meta {
    color: var(--ytc-text-soft);
    line-height: 1.55;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .users-hero-stats .stat-tile:nth-child(1) {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 255, 0.98)),
        radial-gradient(circle at top right, rgba(148, 163, 184, 0.08), transparent 44%);
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .users-hero-stats .stat-tile:nth-child(2) {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 249, 235, 0.88)),
        radial-gradient(circle at top right, rgba(245, 158, 11, 0.12), transparent 46%);
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .users-hero-stats .stat-tile:nth-child(3) {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(237, 253, 244, 0.88)),
        radial-gradient(circle at top right, rgba(5, 150, 105, 0.14), transparent 46%);
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .users-hero-stats .stat-tile:nth-child(4) {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 241, 242, 0.88)),
        radial-gradient(circle at top right, rgba(239, 68, 68, 0.14), transparent 46%);
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .yt-request-form-card,
.users-modern-page.users-shared-workspace-page.yt-requests-page .users-table-card {
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 252, 255, 0.98));
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .users-table-card {
    overflow: visible;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .yt-request-launch-card {
    overflow: hidden;
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.08), transparent 34%),
        radial-gradient(circle at bottom right, rgba(14, 165, 233, 0.08), transparent 28%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.98));
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .yt-request-launch-card .card-body {
    padding: 1.1rem 1.2rem;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .yt-request-launch-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 1.25rem;
    flex-wrap: wrap;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .yt-request-launch-copy {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    max-width: 720px;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .yt-request-launch-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    width: fit-content;
    min-height: 34px;
    padding: 0.45rem 0.85rem;
    border: 1px solid rgba(191, 219, 254, 0.95);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    color: #31507a;
    font-size: 0.82rem;
    font-weight: 800;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .yt-request-launch-kicker i {
    color: #2563eb;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .yt-request-launch-copy h5 {
    margin: 0;
    color: var(--ytc-text);
    font-size: clamp(1.15rem, 1.5vw, 1.38rem);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .yt-request-launch-copy p {
    margin: 0;
    max-width: 60ch;
    color: #6a7f9b;
    line-height: 1.6;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .yt-request-launch-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .yt-request-launch-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    min-height: 32px;
    padding: 0.38rem 0.72rem;
    border-radius: 999px;
    background: rgba(241, 245, 249, 0.88);
    color: #5b708c;
    font-size: 0.8rem;
    font-weight: 700;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .yt-request-launch-action .btn {
    min-height: 52px;
    padding-inline: 1.35rem;
    border-radius: 16px;
    font-weight: 800;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .yt-request-modal .modal-dialog {
    max-width: 760px;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .yt-request-modal .modal-content {
    border: 1px solid rgba(216, 226, 240, 0.92);
    border-radius: 28px;
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.08), transparent 30%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(248, 251, 255, 0.99));
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.18);
    overflow: hidden;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .yt-request-modal .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem 1.35rem 1rem;
    border-bottom: 1px solid rgba(226, 232, 240, 0.95);
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .yt-request-modal .modal-body {
    padding: 1.2rem 1.35rem 1.3rem;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .yt-request-modal .modal-header > div {
    flex: 1 1 auto;
    max-width: 640px;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .yt-request-modal .btn-close {
    margin: 0;
    padding: 0.2rem;
    opacity: 0.78;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .yt-request-modal .modal-title {
    margin: 0;
    color: var(--ytc-text);
    font-size: clamp(1.22rem, 1.65vw, 1.48rem);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .yt-request-modal-eyebrow {
    margin: 0 0 0.3rem;
    color: #2563eb;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .yt-request-modal-subtitle {
    margin: 0.3rem 0 0;
    color: #6a7f9b;
    line-height: 1.55;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .yt-request-modal-form {
    max-width: 670px;
    margin: 0 auto;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .yt-request-modal .yt-label-request-grid {
    gap: 1rem;
    justify-content: center;
    --bs-gutter-y: 1rem;
    --bs-gutter-x: 1rem;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .yt-request-modal .yt-request-primary-col,
.users-modern-page.users-shared-workspace-page.yt-requests-page .yt-request-modal .yt-request-link-col,
.users-modern-page.users-shared-workspace-page.yt-requests-page .yt-request-modal .yt-request-description-col {
    display: flex;
    flex-direction: column;
    gap: 0.38rem;
    max-width: 100%;
    margin-inline: auto;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .yt-request-modal .yt-request-primary-col,
.users-modern-page.users-shared-workspace-page.yt-requests-page .yt-request-modal .yt-request-link-col {
    flex: 0 0 100%;
    width: 100%;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .yt-request-modal .yt-request-description-col {
    margin-top: 0.15rem;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .yt-request-modal .form-label {
    margin-bottom: 0.12rem;
    color: var(--ytc-text);
    font-size: 0.92rem;
    font-weight: 700 !important;
    letter-spacing: -0.01em;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .yt-request-modal .form-control,
.users-modern-page.users-shared-workspace-page.yt-requests-page .yt-request-modal .form-select {
    min-height: 50px;
    padding: 0.82rem 1rem;
    border-radius: 14px;
    border-color: #d9e5f3;
    background: #fff;
    color: var(--ytc-text);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.85), inset 0 1px 2px rgba(15, 23, 42, 0.02);
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .yt-request-modal .form-text {
    margin-top: 0.08rem;
    color: #7b8ea8;
    font-size: 0.84rem;
    line-height: 1.5;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .yt-request-modal textarea.form-control {
    min-height: 158px;
    resize: vertical;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .yt-request-modal .form-control:focus,
.users-modern-page.users-shared-workspace-page.yt-requests-page .yt-request-modal .form-select:focus {
    border-color: rgba(37, 99, 235, 0.42);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .yt-request-modal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.9rem;
    margin-top: 0.2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(226, 232, 240, 0.85);
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .yt-request-modal-footnote {
    color: #6a7f9b;
    font-size: 0.84rem;
    line-height: 1.55;
    max-width: 38ch;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .yt-request-modal-footer .btn {
    min-height: 50px;
    padding-inline: 1.25rem;
    border-radius: 15px;
    font-weight: 800;
    flex: 0 0 auto;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .yt-request-form-card .card-body {
    padding: 1.15rem 1.15rem 1rem;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .yt-form-shell {
    gap: 1.1rem;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .yt-request-form-card .form-label {
    color: var(--ytc-text);
    font-size: 0.88rem;
    font-weight: 700 !important;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .yt-request-form-card .form-control,
.users-modern-page.users-shared-workspace-page.yt-requests-page .yt-request-form-card .form-select,
.users-modern-page.users-shared-workspace-page.yt-requests-page .yt-review-panel .form-control {
    min-height: 48px;
    border-radius: 14px;
    border-color: #d9e5f3;
    background: #fff;
    color: var(--ytc-text);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.85), inset 0 1px 2px rgba(15, 23, 42, 0.02);
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .yt-request-form-card textarea.form-control,
.users-modern-page.users-shared-workspace-page.yt-requests-page .yt-review-panel textarea.form-control {
    min-height: 96px;
    resize: vertical;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .yt-request-form-card .form-control:focus,
.users-modern-page.users-shared-workspace-page.yt-requests-page .yt-request-form-card .form-select:focus,
.users-modern-page.users-shared-workspace-page.yt-requests-page .yt-review-panel .form-control:focus {
    border-color: rgba(37, 99, 235, 0.42);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .yt-request-form-card .btn.btn-primary {
    min-height: 48px;
    padding-inline: 1.15rem;
    border-radius: 14px;
    border: 0;
    background: linear-gradient(135deg, #2563eb, #1d4ed8 56%, #3b82f6);
    box-shadow: 0 16px 28px rgba(37, 99, 235, 0.22);
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .yt-request-form-card .btn.btn-primary:hover,
.users-modern-page.users-shared-workspace-page.yt-requests-page .yt-request-form-card .btn.btn-primary:focus {
    transform: translateY(-1px);
    box-shadow: 0 18px 30px rgba(37, 99, 235, 0.26);
}

.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-claims-label-page .yt-label-request-form,
.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-label-page .yt-label-request-form {
    display: block;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-claims-label-page .users-hero,
.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-label-page .users-hero {
    padding: 0.85rem 1rem 0.95rem;
    border-radius: 24px;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-claims-label-page .users-hero-grid,
.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-label-page .users-hero-grid {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.9rem 1.15rem;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-claims-label-page .yt-hero-main,
.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-label-page .yt-hero-main {
    gap: 0.7rem;
    min-height: 0;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-claims-label-page .yt-hero-heading,
.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-label-page .yt-hero-heading {
    gap: 0.85rem;
    align-items: center;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-claims-label-page .yt-hero-icon,
.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-label-page .yt-hero-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-claims-label-page .hero-title,
.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-label-page .hero-title {
    font-size: clamp(1.34rem, 1.65vw, 1.82rem);
    line-height: 1.04;
    letter-spacing: -0.03em;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-claims-label-page .yt-hero-stats,
.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-label-page .yt-hero-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(94px, 112px));
    gap: 0.55rem;
    align-self: stretch;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-claims-label-page .users-hero-stats .stat-tile,
.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-label-page .users-hero-stats .stat-tile {
    min-height: 84px;
    padding: 0.65rem 0.72rem 0.68rem;
    border-radius: 18px;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-claims-label-page .users-hero-stats .stat-tile .label,
.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-label-page .users-hero-stats .stat-tile .label {
    font-size: 0.71rem;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-claims-label-page .users-hero-stats .stat-tile .value,
.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-label-page .users-hero-stats .stat-tile .value {
    font-size: clamp(1.34rem, 1.4vw, 1.75rem);
    line-height: 1;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-claims-label-page .users-hero-stats .stat-tile .meta,
.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-label-page .users-hero-stats .stat-tile .meta {
    font-size: 0.75rem;
    line-height: 1.32;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-claims-label-page .yt-request-form-card,
.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-label-page .yt-request-form-card {
    border-radius: 24px;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-claims-label-page .users-table-card,
.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-label-page .users-table-card {
    border-radius: 24px;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-claims-label-page .yt-request-form-card .card-body,
.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-label-page .yt-request-form-card .card-body {
    padding: 0.95rem 1.05rem 1rem;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-claims-label-page .yt-form-shell,
.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-label-page .yt-form-shell {
    max-width: 980px;
    margin: 0 auto;
    gap: 0.7rem;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-claims-label-page .yt-label-request-grid,
.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-label-page .yt-label-request-grid {
    gap: 0.72rem 0.85rem;
    align-items: stretch;
    justify-content: center;
    --bs-gutter-y: 0.72rem;
    --bs-gutter-x: 0.85rem;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-claims-label-page .yt-request-primary-col,
.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-label-page .yt-request-primary-col,
.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-claims-label-page .yt-request-link-col,
.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-label-page .yt-request-link-col {
    display: flex;
    flex-direction: column;
    gap: 0.34rem;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-claims-label-page .yt-request-description-col,
.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-label-page .yt-request-description-col {
    margin-top: 0.1rem;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-claims-label-page .yt-label-form-side,
.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-label-page .yt-label-form-side {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    height: 100%;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-claims-label-page .yt-label-form-side.yt-label-form-side-centered,
.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-label-page .yt-label-form-side.yt-label-form-side-centered {
    max-width: 640px;
    margin: 0 auto;
    align-items: stretch;
    padding: 0.95rem 1rem 0.9rem;
    border: 1px solid rgba(223, 232, 244, 0.92);
    border-radius: 22px;
    background:
        linear-gradient(180deg, #ffffff, #fbfdff),
        radial-gradient(circle at top, rgba(37, 99, 235, 0.06), transparent 62%);
    box-shadow: 0 16px 36px rgba(148, 163, 184, 0.08);
}

.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-claims-label-page .yt-label-form-side-field,
.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-label-page .yt-label-form-side-field {
    display: flex;
    flex-direction: column;
    gap: 0.34rem;
    flex: 1 1 auto;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-claims-label-page .yt-label-form-side textarea.form-control,
.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-label-page .yt-label-form-side textarea.form-control {
    min-height: 106px;
    height: 100%;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-claims-label-page .yt-label-form-side-centered .yt-label-form-side-field,
.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-label-page .yt-label-form-side-centered .yt-label-form-side-field {
    width: 100%;
    align-items: stretch;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-claims-label-page .yt-request-form-card .form-label,
.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-label-page .yt-request-form-card .form-label {
    margin-bottom: 0.12rem;
    font-size: 0.95rem;
    letter-spacing: -0.01em;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-claims-label-page .yt-request-form-card .form-text,
.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-label-page .yt-request-form-card .form-text {
    font-size: 0.81rem;
    line-height: 1.42;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-claims-label-page .yt-request-form-card .form-control,
.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-label-page .yt-request-form-card .form-control,
.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-claims-label-page .yt-request-form-card .form-select,
.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-label-page .yt-request-form-card .form-select {
    min-height: 50px;
    padding: 0.78rem 1rem;
    border-radius: 16px;
    font-size: 0.96rem;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-claims-label-page .yt-label-form-side-centered .yt-label-form-side-field .form-label,
.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-label-page .yt-label-form-side-centered .yt-label-form-side-field .form-label {
    text-align: center;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-claims-label-page .yt-label-form-side-centered .yt-label-form-side-field .form-text,
.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-label-page .yt-label-form-side-centered .yt-label-form-side-field .form-text {
    text-align: left;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-claims-label-page .yt-label-form-side-centered textarea.form-control,
.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-label-page .yt-label-form-side-centered textarea.form-control {
    width: 100%;
    min-height: 118px;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-claims-label-page .yt-label-form-submit,
.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-label-page .yt-label-form-submit {
    display: flex;
    justify-content: flex-end;
    margin-top: 0;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-claims-label-page .yt-label-form-submit.yt-label-form-submit-centered,
.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-label-page .yt-label-form-submit.yt-label-form-submit-centered {
    justify-content: flex-end;
    width: 100%;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-claims-label-page .yt-label-form-submit .btn,
.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-label-page .yt-label-form-submit .btn {
    min-width: 146px;
    min-height: 42px;
    border-radius: 14px;
    padding-inline: 1.1rem;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .yt-review-context-card,
.users-modern-page.users-shared-workspace-page.yt-requests-page .yt-review-note-card {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    min-height: 100%;
    height: 100%;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .yt-review-context-body,
.users-modern-page.users-shared-workspace-page.yt-requests-page .yt-review-note-card .form-control {
    border: 1px solid #dfe8f4;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: inset 0 1px 1px rgba(15, 23, 42, 0.02);
    min-height: 116px;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .yt-review-context-body {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-height: 100%;
    padding: 0.9rem 1rem;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .yt-review-context-body .workspace-description {
    max-width: none;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .yt-review-note-card .form-control {
    min-height: 116px;
    height: 100%;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .users-table-card .card-body {
    padding: 1rem;
    overflow: visible;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .users-toolbar {
    margin-bottom: 1rem;
    padding: 0.85rem;
    border: 1px solid rgba(216, 226, 240, 0.9);
    border-radius: 20px;
    background:
        linear-gradient(180deg, #ffffff, #f9fbff),
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.08), transparent 36%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .users-toolbar-left {
    flex: 1 1 760px;
    gap: 0.8rem !important;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .users-toolbar > div:last-child {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.7rem !important;
    flex: 1 1 320px;
    flex-wrap: wrap;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .workspace-filter-tabs {
    gap: 1rem;
    align-items: center;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .workspace-filter-tab {
    min-height: 56px;
    padding: 0.88rem 1.9rem;
    border-radius: 24px;
    border: 1px solid #d7e4f5;
    background: #ffffff;
    color: #556987;
    font-size: 0.98rem;
    font-weight: 800;
    box-shadow: 0 8px 22px rgba(37, 99, 235, 0.04);
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .workspace-filter-tab i {
    color: #7f93af;
    font-size: 1.12rem;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .workspace-filter-tab:hover,
.users-modern-page.users-shared-workspace-page.yt-requests-page .workspace-filter-tab:focus {
    border-color: #c9d9ef;
    background: #fdfefe;
    color: #425774;
    box-shadow: 0 12px 26px rgba(37, 99, 235, 0.08);
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .workspace-filter-tab.is-active {
    border-color: #1d2737;
    background: linear-gradient(180deg, #1f2937 0%, #182131 100%);
    color: #ffffff;
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.18);
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .workspace-filter-tab.is-active i,
.users-modern-page.users-shared-workspace-page.yt-requests-page .workspace-filter-tab.is-active span {
    color: #ffffff;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .workspace-filter-tab span {
    line-height: 1;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .users-toolbar-search-form {
    flex: 1 1 360px;
    min-width: min(100%, 320px);
    max-width: 540px;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .users-toolbar-search {
    min-height: 42px;
    padding: 0 0.9rem;
    border-radius: 14px;
    border-color: var(--ytc-border);
    background: #ffffff;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.85), inset 0 1px 2px rgba(15, 23, 42, 0.02);
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .users-toolbar-search:focus-within {
    border-color: rgba(37, 99, 235, 0.4);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.11);
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .users-toolbar-search > i,
.users-modern-page.users-shared-workspace-page.yt-requests-page .users-toolbar-search-clear {
    color: #8fa3bd;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .users-toolbar-search .form-control {
    padding: 0.62rem 0;
    font-size: 0.93rem;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .songs-ui-date-filter-form {
    margin: 0;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .analytics-filter-date-icon-wrap {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    border-color: var(--ytc-border);
    background: linear-gradient(180deg, #ffffff, #f8fbff);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.85);
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .analytics-filter-date-icon-wrap:hover {
    border-color: rgba(37, 99, 235, 0.28);
    background: rgba(37, 99, 235, 0.05);
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .analytics-filter-date-icon-wrap:focus-within {
    border-color: rgba(37, 99, 235, 0.45);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.11);
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .analytics-filter-date-icon-btn {
    border-radius: 14px;
    color: #2563eb;
    font-size: 1.05rem;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .analytics-filter-toolbar-badge,
.users-modern-page.users-shared-workspace-page.yt-requests-page .analytics-filter-toolbar-badge-btn {
    min-height: 38px;
    padding: 0.48rem 0.9rem;
    border-radius: 14px;
    border: 1px solid #cfe0f5;
    background: linear-gradient(180deg, #ffffff, #f8fbff);
    color: #1e293b;
    font-size: 0.88rem;
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.05);
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .analytics-filter-toolbar-badge i {
    color: #6f809b;
    font-size: 0.96rem;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .analytics-filter-toolbar-badge-btn:hover,
.users-modern-page.users-shared-workspace-page.yt-requests-page .analytics-filter-toolbar-badge-btn:focus-visible {
    border-color: #bdd3ef;
    background: #ffffff;
    color: #162033;
    box-shadow: 0 14px 28px rgba(37, 99, 235, 0.08);
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .analytics-filter-toolbar-badge-btn span {
    line-height: 1;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .analytics-filter-menu {
    border-radius: 18px;
    border-color: #d7e4f5;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .analytics-filter-sheet {
    border-radius: 18px;
    overflow: hidden;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .analytics-filter-sheet-sidebar {
    padding: 0.7rem 0.6rem;
    background: linear-gradient(180deg, #f7faff, #f3f7fd);
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .analytics-filter-sheet-tab {
    min-height: 48px;
    padding: 0.72rem 0.8rem;
    border-radius: 14px;
    font-size: 0.86rem;
    font-weight: 800;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .analytics-filter-sheet-tab.is-active {
    background: #ffffff;
    box-shadow: inset 0 0 0 1px #d6e3f2, 0 10px 24px rgba(37, 99, 235, 0.05);
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .analytics-filter-sheet-search {
    min-height: 66px;
    padding: 0.7rem 1rem;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .analytics-filter-sheet-search .form-control {
    font-size: 0.88rem;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .analytics-filter-sheet-pane-title {
    padding: 0.85rem 1rem 0.75rem;
    font-size: 0.78rem;
    font-weight: 800;
    color: #68788f;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .analytics-filter-option-list {
    padding: 0.8rem 0.9rem;
    gap: 0.2rem;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .analytics-filter-option-item {
    min-height: 44px;
    padding: 0.58rem 0.72rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 700;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .analytics-filter-option-check {
    width: 19px;
    height: 19px;
    border-radius: 6px;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .analytics-filter-option-item.is-selected .analytics-filter-option-check {
    background: #2c55d4;
    border-color: #2c55d4;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .analytics-filter-sheet-footer {
    padding: 0.9rem 1rem 1rem;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .analytics-filter-sheet-btn {
    min-width: 118px;
    min-height: 46px;
    border-radius: 999px;
    font-size: 0.86rem;
    font-weight: 800;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .analytics-filter-date-all-active,
.users-modern-page.users-shared-workspace-page.yt-requests-page a.analytics-filter-date-icon-btn[title="All dates"],
.users-modern-page.users-shared-workspace-page.yt-requests-page a.analytics-filter-date-icon-btn[title="Show all dates"] {
    min-height: 42px !important;
    padding: 0 1rem !important;
    border: 1px solid var(--ytc-border) !important;
    border-radius: 14px !important;
    background: linear-gradient(180deg, #ffffff, #f8fbff) !important;
    color: #4b5d76 !important;
    font-size: 0.84rem !important;
    font-weight: 700 !important;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.85);
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .analytics-filter-date-all-active {
    border-color: transparent !important;
    background: linear-gradient(135deg, #2563eb, #1d4ed8) !important;
    color: #fff !important;
    box-shadow: 0 14px 26px rgba(37, 99, 235, 0.22) !important;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .analytics-filter-date-range-active {
    background: rgba(37, 99, 235, 0.08) !important;
    color: #2563eb !important;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page #claimApproveBtn,
.users-modern-page.users-shared-workspace-page.yt-requests-page #claimRejectBtn,
.users-modern-page.users-shared-workspace-page.yt-requests-page #claimExportBtn {
    min-height: 42px;
    padding: 0.58rem 0.92rem;
    border-radius: 14px;
    font-size: 0.84rem;
    font-weight: 700;
    border-width: 1px;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.85);
    transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease, background-color 0.16s ease, color 0.16s ease;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page #claimApproveBtn:not(:disabled) {
    border-color: rgba(5, 150, 105, 0.26);
    background: linear-gradient(180deg, #f3fdf8, #e9f9f0);
    color: #047857;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page #claimRejectBtn:not(:disabled) {
    border-color: rgba(239, 68, 68, 0.22);
    background: linear-gradient(180deg, #fff6f7, #fff0f2);
    color: #dc2626;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page #claimExportBtn:not(:disabled) {
    border-color: #111827;
    background: linear-gradient(135deg, #111827, #1f2937);
    color: #ffffff;
    box-shadow: 0 16px 28px rgba(17, 24, 39, 0.16);
}

.users-modern-page.users-shared-workspace-page.yt-requests-page #claimApproveBtn:not(:disabled):hover,
.users-modern-page.users-shared-workspace-page.yt-requests-page #claimRejectBtn:not(:disabled):hover,
.users-modern-page.users-shared-workspace-page.yt-requests-page #claimExportBtn:not(:disabled):hover {
    transform: translateY(-1px);
    box-shadow: var(--ytc-shadow-sm);
}

.users-modern-page.users-shared-workspace-page.yt-requests-page #claimApproveBtn:disabled,
.users-modern-page.users-shared-workspace-page.yt-requests-page #claimRejectBtn:disabled,
.users-modern-page.users-shared-workspace-page.yt-requests-page #claimExportBtn:disabled {
    border-color: #d9e2ef;
    background: #f8fafc;
    color: #9aaabd;
    opacity: 1;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .table-responsive-shell {
    border-radius: 20px;
    border-color: rgba(218, 227, 240, 0.9);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .workspace-data-table {
    min-width: 920px;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .workspace-data-table thead th {
    padding-top: 1rem;
    padding-bottom: 1rem;
    background: #fbfcff;
    color: #5b6b82;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .yt-workspace-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px 18px;
    flex-wrap: wrap;
    margin-top: 1rem;
    padding: 1rem 1.05rem 0.1rem;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .yt-workspace-pagination-summary {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    flex-wrap: wrap;
    color: #6f8198;
    font-size: 0.92rem;
    font-weight: 600;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .yt-workspace-pagination-summary strong {
    color: #172033;
    font-weight: 800;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .yt-workspace-pagination-label {
    color: #8ea1b9;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.72rem;
    font-weight: 800;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .yt-workspace-pagination-total {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0.32rem 0.78rem;
    border-radius: 999px;
    background: linear-gradient(180deg, #f7fbff, #eef4ff);
    border: 1px solid rgba(192, 208, 230, 0.9);
    color: #55708f;
    box-shadow: 0 8px 18px rgba(160, 178, 205, 0.12);
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .yt-workspace-pagination-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.45rem;
    flex-wrap: wrap;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .yt-workspace-pagination-link,
.users-modern-page.users-shared-workspace-page.yt-requests-page .yt-workspace-pagination-ellipsis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 0.8rem;
    border-radius: 14px;
    border: 1px solid rgba(193, 208, 229, 0.95);
    background: linear-gradient(180deg, #ffffff, #f6f9ff);
    color: #556b89;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(148, 163, 184, 0.08);
    transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease, background-color 0.16s ease, color 0.16s ease;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .yt-workspace-pagination-link:hover,
.users-modern-page.users-shared-workspace-page.yt-requests-page .yt-workspace-pagination-link:focus {
    color: #2f5ef6;
    border-color: rgba(95, 132, 255, 0.32);
    background: linear-gradient(180deg, #ffffff, #eef4ff);
    transform: translateY(-1px);
    box-shadow: 0 14px 24px rgba(95, 132, 255, 0.14);
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .yt-workspace-pagination-link.is-active {
    border-color: transparent;
    background: linear-gradient(135deg, #1f2430, #2a3447);
    color: #ffffff;
    box-shadow: 0 16px 30px rgba(31, 36, 48, 0.22);
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .yt-workspace-pagination-link-nav {
    min-width: 42px;
    padding-inline: 0;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .yt-workspace-pagination-ellipsis {
    border-style: dashed;
    background: transparent;
    color: #9aaabd;
    box-shadow: none;
    pointer-events: none;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .workspace-data-table tbody td {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .workspace-data-table tbody tr {
    transition: transform 0.14s ease, box-shadow 0.14s ease;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .workspace-data-table tbody tr:hover td {
    background: #fbfdff;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .workspace-link {
    max-width: 380px;
    font-size: 0.87rem;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .workspace-description {
    max-width: 34ch;
    color: var(--ytc-text-muted);
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .workspace-status-cell {
    gap: 0.45rem;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .status-pill {
    min-height: 34px;
    padding-inline: 0.82rem;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .workspace-note {
    max-width: 26ch;
    color: #8294ad;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .action-group {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .action-icon-btn,
.users-modern-page.users-shared-workspace-page.yt-requests-page .yt-inline-action-btn {
    min-width: 42px;
    min-height: 42px;
    border-radius: 14px;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .action-icon-btn {
    background: linear-gradient(180deg, #ffffff, #f8fbff);
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .yt-inline-action-btn {
    border: 0;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    box-shadow: 0 14px 24px rgba(37, 99, 235, 0.18);
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .yt-review-panel {
    padding: 1.15rem;
    border-top-color: #e4ebf6;
    border-bottom-color: #e4ebf6;
    background:
        radial-gradient(circle at top right, rgba(37, 99, 235, 0.06), transparent 36%),
        linear-gradient(180deg, #fcfdff, #f7faff);
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .yt-review-panel-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: stretch;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-claims-admin-page .yt-review-panel,
.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-admin-page .yt-review-panel {
    padding: 1.2rem 1.3rem 1.3rem;
    background:
        radial-gradient(circle at top right, rgba(37, 99, 235, 0.07), transparent 34%),
        linear-gradient(180deg, #fbfdff, #f4f8ff);
}

.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-claims-admin-page .yt-review-panel-grid,
.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-admin-page .yt-review-panel-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(150px, 168px);
    gap: 1.1rem;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-claims-admin-page .yt-review-context-card,
.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-claims-admin-page .yt-review-note-card,
.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-admin-page .yt-review-context-card,
.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-admin-page .yt-review-note-card {
    gap: 0.62rem;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-claims-admin-page .yt-review-panel .form-label,
.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-admin-page .yt-review-panel .form-label {
    color: #1f2d3d;
    font-size: 0.78rem;
    font-weight: 800 !important;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-claims-admin-page .yt-review-panel .form-label .text-muted,
.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-admin-page .yt-review-panel .form-label .text-muted {
    font-size: 0.74rem;
    letter-spacing: 0;
    text-transform: none;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-claims-admin-page .yt-review-context-body,
.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-claims-admin-page .yt-review-note-card .form-control,
.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-admin-page .yt-review-context-body,
.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-admin-page .yt-review-note-card .form-control {
    min-height: 136px;
    border-radius: 18px;
    border-color: rgba(214, 225, 240, 0.96);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 251, 255, 0.98));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.85),
        0 10px 24px rgba(148, 163, 184, 0.08);
}

.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-claims-admin-page .yt-review-context-body,
.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-admin-page .yt-review-context-body {
    padding: 1rem 1.05rem;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-claims-admin-page .yt-review-context-body .workspace-description,
.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-admin-page .yt-review-context-body .workspace-description {
    color: #58708f;
    font-size: 0.97rem;
    line-height: 1.65;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-claims-admin-page .yt-review-note-card .form-control,
.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-admin-page .yt-review-note-card .form-control {
    padding: 1rem 1.05rem;
    font-size: 0.97rem;
    line-height: 1.6;
    resize: none;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-claims-admin-page .yt-review-actions,
.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-admin-page .yt-review-actions {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    gap: 0.55rem;
    min-height: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    align-self: center;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-claims-admin-page .yt-review-actions .btn,
.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-admin-page .yt-review-actions .btn {
    display: inline-flex;
    align-items: center;
    width: 100%;
    min-height: 38px;
    justify-content: center;
    border-radius: 12px;
    padding-inline: 0.78rem;
    font-size: 0.84rem;
    font-weight: 800;
    box-shadow: none;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-claims-admin-page .yt-review-actions .btn i,
.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-admin-page .yt-review-actions .btn i {
    color: inherit;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-claims-admin-page .yt-review-actions .btn.btn-outline-danger,
.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-admin-page .yt-review-actions .btn.btn-outline-danger {
    background: rgba(255, 255, 255, 0.9);
}

.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-claims-admin-page .yt-review-actions .btn.btn-primary,
.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-admin-page .yt-review-actions .btn.btn-primary {
    border-color: #047857;
    background: linear-gradient(180deg, #059669, #aadacc);
    color: #ffffff;
    box-shadow: 0 10px 20px rgba(5, 150, 105, 0.16);
}

.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-claims-admin-page .yt-review-actions .btn.btn-primary:hover,
.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-claims-admin-page .yt-review-actions .btn.btn-primary:focus,
.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-admin-page .yt-review-actions .btn.btn-primary:hover,
.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-admin-page .yt-review-actions .btn.btn-primary:focus {
    border-color: #046c4e;
    background: linear-gradient(180deg, #10b981, #059669);
    color: #ffffff;
    box-shadow: 0 12px 22px rgba(5, 150, 105, 0.2);
}

.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-claims-admin-page .yt-review-actions .btn.btn-outline-danger,
.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-admin-page .yt-review-actions .btn.btn-outline-danger {
    border-color: rgba(239, 68, 68, 0.28);
    background: linear-gradient(180deg, #fff7f8, #fff1f3);
    color: #dc2626;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-claims-admin-page .yt-review-actions .btn.btn-outline-danger:hover,
.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-claims-admin-page .yt-review-actions .btn.btn-outline-danger:focus,
.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-admin-page .yt-review-actions .btn.btn-outline-danger:hover,
.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-admin-page .yt-review-actions .btn.btn-outline-danger:focus {
    border-color: rgba(239, 68, 68, 0.38);
    background: linear-gradient(180deg, #fff1f3, #ffe4e9);
    color: #dc2626;
    box-shadow: 0 10px 20px rgba(239, 68, 68, 0.1);
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .workspace-empty-state {
    min-height: 72px;
    padding: 1rem 1.2rem;
    border-radius: 18px;
    border: 1px dashed #d8e3f1;
    background: #fbfdff;
}

@media (max-width: 991.98px) {
    .users-modern-page.users-shared-workspace-page.yt-requests-page.yt-claims-admin-page .yt-review-panel-grid,
    .users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-admin-page .yt-review-panel-grid {
        grid-template-columns: 1fr;
    }

    .users-modern-page.users-shared-workspace-page.yt-requests-page.yt-claims-admin-page .yt-review-actions,
    .users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-admin-page .yt-review-actions {
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .users-modern-page.users-shared-workspace-page.yt-requests-page .yt-request-launch-shell {
        align-items: flex-start;
    }

    .users-modern-page.users-shared-workspace-page.yt-requests-page .yt-request-launch-action,
    .users-modern-page.users-shared-workspace-page.yt-requests-page .yt-request-launch-action .btn {
        width: 100%;
    }

    .users-modern-page.users-shared-workspace-page.yt-requests-page .yt-request-modal .modal-dialog {
        margin: 1rem;
    }

    .users-modern-page.users-shared-workspace-page.yt-requests-page .yt-request-modal .modal-header,
    .users-modern-page.users-shared-workspace-page.yt-requests-page .yt-request-modal .modal-body {
        padding-inline: 1rem;
    }

    .users-modern-page.users-shared-workspace-page.yt-requests-page .yt-request-modal-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .users-modern-page.users-shared-workspace-page.yt-requests-page .users-toolbar {
        padding: 0.8rem;
    }

    .users-modern-page.users-shared-workspace-page.yt-requests-page .users-toolbar-left,
    .users-modern-page.users-shared-workspace-page.yt-requests-page .users-toolbar > div:last-child {
        flex: 1 1 100%;
    }

    .users-modern-page.users-shared-workspace-page.yt-requests-page .users-toolbar > div:last-child {
        justify-content: flex-start;
    }

    .users-modern-page.users-shared-workspace-page.yt-requests-page .users-toolbar-search-form {
        max-width: none;
    }

    .users-modern-page.users-shared-workspace-page.yt-requests-page .yt-workspace-pagination {
        padding-inline: 0.25rem;
    }

    .users-modern-page.users-shared-workspace-page.yt-requests-page .yt-workspace-pagination-links {
        justify-content: flex-start;
    }
}

@media (max-width: 767.98px) {
    .users-modern-page.users-shared-workspace-page.yt-requests-page .users-hero {
        padding: 1rem;
    }

    .users-modern-page.users-shared-workspace-page.yt-requests-page .yt-hero-heading {
        align-items: flex-start;
    }

    .users-modern-page.users-shared-workspace-page.yt-requests-page .yt-hero-icon {
        width: 52px;
        height: 52px;
        border-radius: 16px;
    }

    .users-modern-page.users-shared-workspace-page.yt-requests-page .workspace-filter-tab {
        flex: 1 1 calc(50% - 0.65rem);
    }

    .users-modern-page.users-shared-workspace-page.yt-requests-page #claimApproveBtn,
    .users-modern-page.users-shared-workspace-page.yt-requests-page #claimRejectBtn,
    .users-modern-page.users-shared-workspace-page.yt-requests-page #claimExportBtn {
        flex: 1 1 160px;
    }

}

@media (max-width: 575.98px) {
    .users-modern-page.users-shared-workspace-page.yt-requests-page .workspace-filter-tab {
        flex: 1 1 100%;
    }

    .users-modern-page.users-shared-workspace-page.yt-requests-page .analytics-filter-date-all-active,
    .users-modern-page.users-shared-workspace-page.yt-requests-page a.analytics-filter-date-icon-btn[title="All dates"],
    .users-modern-page.users-shared-workspace-page.yt-requests-page a.analytics-filter-date-icon-btn[title="Show all dates"] {
        flex: 1 1 auto;
        justify-content: center;
    }
}

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page {
    --ytc-border: #29384e;
    --ytc-border-strong: #34445d;
    --ytc-surface: #0f172a;
    --ytc-surface-soft: #111b2e;
    --ytc-surface-tint: #162236;
    --ytc-text: #e7eef8;
    --ytc-text-muted: #b9c7da;
    --ytc-text-soft: #7d92af;
    --ytc-shadow-sm: 0 18px 34px rgba(2, 6, 23, 0.24);
    --ytc-shadow-md: 0 24px 44px rgba(2, 6, 23, 0.3);
}

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page .users-hero {
    background:
        radial-gradient(circle at 12% 18%, rgba(249, 115, 22, 0.12), transparent 22%),
        radial-gradient(circle at 56% 44%, rgba(59, 130, 246, 0.14), transparent 28%),
        linear-gradient(135deg, rgba(15, 23, 42, 0.98) 0%, rgba(17, 24, 39, 0.98) 46%, rgba(15, 23, 42, 0.98) 100%);
}

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page .users-hero-stats .stat-tile,
html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page .yt-request-form-card,
html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page .users-table-card,
html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page .users-toolbar,
html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page .table-responsive-shell {
    border-color: #26354a;
}

/* Plain dark background override removed to allow vibrant colored stat tiles */

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page .hero-filter-pill,
html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page .users-toolbar,
html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page .workspace-filter-tab,
html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page .users-toolbar-search,
html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page .analytics-filter-date-icon-wrap,
html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page .action-icon-btn,
html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page .analytics-filter-toolbar-badge,
html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page .analytics-filter-toolbar-badge-btn {
    background: linear-gradient(180deg, #101a2d, #0f172a);
}

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page .workspace-filter-tab,
html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page .users-toolbar-search .form-control,
html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page .hero-filter-pill {
    color: #d8e3f2;
}

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page .analytics-filter-toolbar-badge,
html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page .analytics-filter-toolbar-badge-btn,
html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page .analytics-filter-toolbar-badge-btn span,
html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page .analytics-filter-toolbar-badge-btn i,
html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page .analytics-filter-toggle-caret,
html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page .dropdown-toggle,
html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page .dropdown-toggle i,
html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page .analytics-filter-date-icon-btn,
html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page .analytics-filter-date-icon-btn i {
    color: #dce7f7 !important;
}

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page .users-toolbar-search .form-control::placeholder,
html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page .users-toolbar-search > i,
html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page .users-toolbar-search-clear,
html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page .workspace-filter-tab i {
    color: #8fa3bd;
}

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page .analytics-filter-toolbar-badge,
html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page .analytics-filter-toolbar-badge-btn,
html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page .dropdown-toggle,
html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page .analytics-filter-date-icon-btn,
html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page #wlWhitelistBtn:disabled,
html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page #wlRejectBtn:disabled {
    border-color: #3a4a62 !important;
}

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page .workspace-filter-tab:hover,
html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page .workspace-filter-tab:focus,
html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page .analytics-filter-date-icon-wrap:hover,
html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page .analytics-filter-toolbar-badge-btn:hover {
    background: rgba(59, 130, 246, 0.14);
}

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page .workspace-filter-tab.is-active,
html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page .analytics-filter-date-all-active {
    background: linear-gradient(135deg, #2563eb, #1d4ed8) !important;
}

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page .analytics-filter-menu,
html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page .analytics-filter-sheet {
    border-color: #2a3a51;
    box-shadow: 0 26px 54px rgba(2, 6, 23, 0.42);
}

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page .analytics-filter-menu,
html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page .analytics-filter-sheet,
html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page .analytics-filter-sheet-main,
html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page .analytics-filter-sheet-search,
html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page .analytics-filter-option-list,
html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page .analytics-filter-sheet-footer {
    background: linear-gradient(180deg, #111a2d, #0f172a);
}

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page .analytics-filter-sheet-sidebar {
    background: linear-gradient(180deg, #10192b, #0f172a);
}

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page .analytics-filter-sheet-search,
html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page .analytics-filter-sheet-pane-title,
html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page .analytics-filter-sheet-search > i,
html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page .analytics-filter-sheet-search-clear,
html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page .analytics-filter-sheet-tab,
html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page .analytics-filter-option-item,
html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page .analytics-filter-option-text,
html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page .analytics-filter-active-chip-key,
html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page .analytics-filter-active-chip-value {
    color: #dce7f7 !important;
}

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page .analytics-filter-sheet-search .form-control {
    color: #e7eefb !important;
}

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page .analytics-filter-sheet-search .form-control::placeholder {
    color: #91a4c0 !important;
}

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page .analytics-filter-sheet-search,
html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page .analytics-filter-sheet-pane-title,
html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page .analytics-filter-sheet-footer,
html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page .analytics-filter-sheet-sidebar {
    border-color: #2a3a51;
}

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page .analytics-filter-sheet-tab {
    color: #cfdced !important;
}

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page .analytics-filter-sheet-tab i {
    color: #8fa3bd !important;
}

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page .analytics-filter-sheet-tab:hover {
    background: rgba(59, 130, 246, 0.12);
}

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page .analytics-filter-sheet-tab.is-active {
    background: linear-gradient(180deg, #22314b, #1a263d);
    color: #ffffff !important;
    box-shadow: inset 0 0 0 1px rgba(108, 138, 255, 0.18);
}

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page .analytics-filter-sheet-tab.is-active i {
    color: #dbe7ff !important;
}

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page .analytics-filter-pane-title {
    color: #a8bad2 !important;
}

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page .analytics-filter-option-item:hover {
    background: rgba(59, 130, 246, 0.1);
}

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page .analytics-filter-option-item.is-selected {
    background: rgba(76, 105, 173, 0.34);
}

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page .analytics-filter-option-check {
    border-color: #8fa3bd;
    background: rgba(15, 23, 42, 0.72);
}

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page .analytics-filter-option-item.is-selected .analytics-filter-option-check {
    background: linear-gradient(135deg, #3563f5, #2c55d4);
    border-color: #3563f5;
}

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page .analytics-filter-sheet-btn-secondary {
    border-color: #3a4a62;
    background: #182337;
    color: #dce7f7;
}

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page .analytics-filter-sheet-btn-secondary:hover,
html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page .analytics-filter-sheet-btn-secondary:focus {
    background: #202d44;
    color: #ffffff;
}

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page .yt-request-form-card .form-control,
html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page .yt-request-form-card .form-select,
html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page .yt-request-modal .form-control,
html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page .yt-request-modal .form-select,
html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page .yt-review-panel .form-control {
    border-color: #2a3a51;
    background: #0f172a;
    color: #e8eef8;
}

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page .yt-request-launch-card,
html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page .yt-request-modal .modal-content {
    background:
        radial-gradient(circle at top left, rgba(59, 130, 246, 0.16), transparent 30%),
        linear-gradient(180deg, rgba(19, 28, 45, 0.98), rgba(14, 22, 37, 0.98));
}

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page .yt-request-launch-kicker,
html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page .yt-request-launch-meta span {
    border-color: rgba(56, 72, 96, 0.96);
    background: rgba(15, 23, 42, 0.82);
    color: #b8c7db;
}

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page .yt-request-launch-copy p,
html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page .yt-request-modal-subtitle,
html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page .yt-request-modal-footnote {
    color: #9db0c7;
}

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page .yt-request-modal .form-text {
    color: #9db0c7;
}

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page .yt-request-modal .modal-header {
    border-color: rgba(56, 72, 96, 0.9);
}

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page .yt-request-modal-footer {
    border-color: rgba(56, 72, 96, 0.88);
}

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page .workspace-empty-state {
    border-color: #2a3a51;
    background: #10192c;
}

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page .yt-review-context-body,
html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page .yt-review-note-card .form-control {
    border-color: #2a3a51;
    background: rgba(15, 23, 42, 0.9);
}

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page.yt-claims-admin-page .yt-review-panel,
html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-admin-page .yt-review-panel {
    background:
        radial-gradient(circle at top right, rgba(59, 130, 246, 0.12), transparent 34%),
        linear-gradient(180deg, #111a2d, #0d1526);
}

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page.yt-claims-admin-page .yt-review-panel .form-label,
html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-admin-page .yt-review-panel .form-label {
    color: #e7eef8;
}

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page.yt-claims-admin-page .yt-review-context-body,
html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page.yt-claims-admin-page .yt-review-note-card .form-control,
html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-admin-page .yt-review-context-body,
html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-admin-page .yt-review-note-card .form-control {
    border-color: rgba(56, 72, 96, 0.96);
    background:
        linear-gradient(180deg, rgba(19, 28, 45, 0.98), rgba(14, 22, 37, 0.98));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.03),
        0 18px 38px rgba(2, 6, 23, 0.34);
}

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page.yt-claims-admin-page .yt-review-context-body .workspace-description,
html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-admin-page .yt-review-context-body .workspace-description {
    color: #b8c7db;
}

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page.yt-claims-admin-page .yt-review-actions .btn.btn-outline-danger,
html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-admin-page .yt-review-actions .btn.btn-outline-danger {
    background: rgba(15, 23, 42, 0.78);
}

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page.yt-claims-admin-page .yt-review-actions .btn.btn-primary,
html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-admin-page .yt-review-actions .btn.btn-primary {
    border-color: rgba(16, 185, 129, 0.42);
    background: linear-gradient(180deg, #047857, #065f46);
    color: #ecfdf5;
    box-shadow: 0 12px 24px rgba(5, 150, 105, 0.18);
}

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page.yt-claims-admin-page .yt-review-actions .btn.btn-outline-danger,
html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-admin-page .yt-review-actions .btn.btn-outline-danger {
    border-color: rgba(248, 113, 113, 0.26);
    background: linear-gradient(180deg, rgba(69, 10, 10, 0.92), rgba(127, 29, 29, 0.8));
    color: #fecaca;
}

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page.yt-claims-label-page .yt-label-form-side.yt-label-form-side-centered,
html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-label-page .yt-label-form-side.yt-label-form-side-centered {
    border-color: rgba(56, 72, 96, 0.96);
    background:
        linear-gradient(180deg, rgba(19, 28, 45, 0.98), rgba(14, 22, 37, 0.98)),
        radial-gradient(circle at top, rgba(59, 130, 246, 0.12), transparent 60%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.03),
        0 18px 38px rgba(2, 6, 23, 0.34);
}

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page.yt-claims-label-page .yt-label-form-side-centered .form-label,
html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-label-page .yt-label-form-side-centered .form-label {
    color: #e7eef8;
}

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page.yt-claims-label-page .yt-label-form-side-centered .text-muted,
html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-label-page .yt-label-form-side-centered .text-muted {
    color: #9db0c7 !important;
}

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page.yt-claims-label-page .yt-label-form-side-centered textarea.form-control,
html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-label-page .yt-label-form-side-centered textarea.form-control {
    border-color: #31435b;
    background: #121b2f;
    box-shadow: inset 0 1px 1px rgba(2, 6, 23, 0.2);
}

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page .workspace-data-table tbody td,
html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page .workspace-data-table tbody td a,
html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page .workspace-requestor-copy .name,
html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page .workspace-channel-link,
html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page .workspace-description,
html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page .date-stack,
html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page .small.text-muted {
    color: #d7e3f3 !important;
}

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page .workspace-note,
html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page .workspace-channel-link i,
html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page .date-stack i {
    color: #9eb2cb !important;
}

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page .workspace-data-table tbody tr:hover td {
    background: rgba(41, 56, 78, 0.38);
}

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page #claimApproveBtn:disabled,
html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page #claimRejectBtn:disabled,
html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page #claimExportBtn:disabled {
    border-color: #2a3a51;
    background: #121c30;
    color: #7c90ad;
}

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page #wlWhitelistBtn:disabled,
html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page #wlRejectBtn:disabled {
    background: #121c30 !important;
    color: #7c90ad !important;
}

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page .yt-workspace-pagination-summary {
    color: #9fb0c5;
}

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page .yt-workspace-pagination-summary strong {
    color: #f5f7fb;
}

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page .yt-workspace-pagination-label {
    color: #7e90a8;
}

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page .yt-workspace-pagination-total {
    background: linear-gradient(180deg, rgba(32, 41, 59, 0.96), rgba(19, 28, 43, 0.96));
    border-color: rgba(70, 85, 109, 0.95);
    color: #c0cddd;
    box-shadow: none;
}

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page .yt-workspace-pagination-link,
html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page .yt-workspace-pagination-ellipsis {
    border-color: rgba(70, 85, 109, 0.92);
    background: linear-gradient(180deg, rgba(28, 36, 52, 0.96), rgba(19, 27, 42, 0.96));
    color: #c7d3e0;
    box-shadow: none;
}

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page .yt-workspace-pagination-link:hover,
html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page .yt-workspace-pagination-link:focus {
    color: #ffffff;
    border-color: rgba(96, 125, 255, 0.4);
    background: linear-gradient(180deg, rgba(38, 49, 74, 0.98), rgba(29, 40, 63, 0.98));
    box-shadow: 0 12px 24px rgba(9, 14, 24, 0.35);
}

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page .yt-workspace-pagination-link.is-active {
    background: linear-gradient(135deg, #eef2ff, #c7d2fe);
    color: #111827;
    border-color: transparent;
}

html[data-theme="dark"] .users-modern-page.users-shared-workspace-page.yt-requests-page .yt-workspace-pagination-ellipsis {
    color: #71829a;
    background: transparent;
}

/* YouTube claims/whitelist page-local styles moved from inline PHP blocks */
.users-modern-page.users-shared-workspace-page.yt-requests-page .yt-hero-icon {
    display: grid;
    place-items: center;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .yt-hero-icon-mark {
    position: relative;
    width: 38px;
    height: 27px;
    border-radius: 11px / 8.5px;
    background: #ff0000;
    box-shadow: 0 10px 18px rgba(255, 0, 0, 0.18), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.users-modern-page.users-shared-workspace-page.yt-requests-page .yt-hero-icon-play {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    transform: translate(-34%, -50%);
    border-top: 6.5px solid transparent;
    border-bottom: 6.5px solid transparent;
    border-left: 11px solid #fff;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-claims-page .claims-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) max-content;
    align-items: center;
    gap: 14px;
    overflow: visible;
    position: relative;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-claims-page .claims-toolbar-main {
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    flex: 0 1 auto;
    overflow: visible;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-claims-page .claims-toolbar-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: nowrap;
    white-space: nowrap;
    min-width: max-content;
    margin-left: 0;
    padding-bottom: 2px;
    overflow: visible;
    flex: 0 0 auto;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-claims-page .claims-filter-form {
    min-width: 170px;
    width: auto;
    flex: 0 0 auto;
    margin: 0;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-claims-page .claims-filter-form .analytics-filter-toolbar-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: nowrap;
    min-width: 0;
    overflow: visible;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-claims-page .claims-filter-form .analytics-filter-dropdown {
    position: relative;
    overflow: visible;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-claims-page .claims-filter-form .analytics-filter-sheet-main {
    min-width: 0;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-claims-page .claims-filter-form .analytics-filter-applied-list {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    min-width: 0;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-claims-page .claims-search-form {
    min-width: 0;
    width: 100%;
    max-width: none;
    flex: 1 1 auto;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-claims-page .claims-search-form .users-toolbar-search,
.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-claims-page .claims-toolbar-actions .analytics-filter-date-icon-wrap {
    min-width: 0;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-claims-page .claims-search-form .users-toolbar-search {
    width: 100%;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-claims-page .claims-toolbar-actions > form,
.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-claims-page .claims-toolbar-actions > a,
.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-claims-page .claims-toolbar-actions > button {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-claims-page .claims-toolbar-actions .btn,
.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-claims-page .claims-toolbar-actions .analytics-filter-date-icon-btn {
    min-height: 42px;
    border-radius: 14px;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-claims-page .claims-toolbar-actions .btn {
    padding-inline: 16px;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-claims-page .claims-toolbar-actions .analytics-filter-date-icon-btn {
    min-width: 42px;
    width: 42px;
    padding: 0;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-claims-page .workspace-export-btn {
    border-color: transparent;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 48%, #2563eb 100%);
    color: #fff;
    box-shadow: 0 14px 28px rgba(37, 99, 235, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-claims-page .workspace-export-btn:hover,
.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-claims-page .workspace-export-btn:focus {
    color: #fff;
    filter: brightness(1.03);
    transform: translateY(-1px);
    box-shadow: 0 18px 34px rgba(37, 99, 235, 0.22);
}

.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-claims-page .workspace-export-btn:disabled,
.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-claims-page .workspace-export-btn.disabled {
    background: linear-gradient(135deg, #dbe6fb 0%, #edf3ff 100%);
    color: #8aa0c5;
    box-shadow: none;
    border-color: #d6e1f5;
    transform: none;
    filter: none;
    cursor: not-allowed;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-claims-page .workspace-create-btn {
    border-color: rgba(37, 99, 235, 0.16);
    background: linear-gradient(135deg, #111827 0%, #1f2937 46%, #0f172a 100%);
    color: #fff;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.16);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-claims-page .workspace-create-btn:hover,
.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-claims-page .workspace-create-btn:focus {
    color: #fff;
    filter: brightness(1.04);
    transform: translateY(-1px);
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.22);
}

.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-claims-admin-page .claims-filter-form .analytics-filter-menu {
    left: 0;
    right: auto;
    margin-top: 14px;
    width: min(660px, calc(100vw - 140px));
    max-width: calc(100vw - 140px);
    z-index: 80;
    min-width: 0;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-claims-admin-page .claims-filter-form .analytics-filter-sheet-sidebar {
    flex: 0 0 150px;
    width: 150px;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-claims-label-page .claims-filter-form .analytics-filter-menu {
    left: 0;
    right: auto;
    margin-top: 14px;
    width: min(560px, calc(100vw - 120px));
    max-width: calc(100vw - 120px);
    z-index: 80;
    min-width: 0;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-claims-label-page .claims-filter-form .analytics-filter-sheet-sidebar {
    flex: 0 0 138px;
    width: 138px;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-page .wl-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) max-content;
    align-items: center;
    gap: 14px;
    overflow: visible;
    position: relative;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-page .wl-toolbar-main {
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    flex: 0 1 auto;
    overflow: visible;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-page .wl-toolbar-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: nowrap;
    white-space: nowrap;
    min-width: max-content;
    margin-left: 0;
    padding-bottom: 2px;
    overflow: visible;
    flex: 0 0 auto;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-page .wl-filter-form {
    min-width: 170px;
    width: auto;
    flex: 0 0 auto;
    margin: 0;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-page .wl-filter-form .analytics-filter-toolbar-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: nowrap;
    min-width: 0;
    overflow: visible;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-page .wl-filter-form .analytics-filter-dropdown {
    position: relative;
    overflow: visible;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-page .wl-filter-form .analytics-filter-sheet-main {
    min-width: 0;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-page .wl-filter-form .analytics-filter-applied-list {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    min-width: 0;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-page .wl-search-form {
    min-width: 0;
    width: 100%;
    max-width: none;
    flex: 1 1 auto;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-page .wl-search-form .users-toolbar-search,
.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-page .wl-toolbar-actions .analytics-filter-date-icon-wrap {
    min-width: 0;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-page .wl-search-form .users-toolbar-search {
    width: 100%;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-page .wl-toolbar-actions > form,
.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-page .wl-toolbar-actions > a,
.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-page .wl-toolbar-actions > button,
.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-page .wl-toolbar-actions > div {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-page .wl-toolbar-actions .btn,
.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-page .wl-toolbar-actions .analytics-filter-date-icon-btn {
    min-height: 42px;
    border-radius: 14px;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-page .wl-toolbar-actions .btn {
    padding-inline: 15px;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-page .wl-toolbar-actions .analytics-filter-date-icon-btn {
    min-width: 42px;
    width: 42px;
    padding: 0;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-page .wl-toolbar-actions .dropdown-toggle {
    white-space: nowrap;
    padding-inline: 14px;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-page .wl-toolbar-actions .dropdown-menu {
    border-radius: 18px;
    padding: 8px;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-page .wl-toolbar-actions .dropdown-item {
    border-radius: 12px;
    padding: 10px 12px;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-page #wlWhitelistBtn,
.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-page #wlRejectBtn {
    transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease, background-color 0.16s ease, color 0.16s ease;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-page #wlWhitelistBtn:not(:disabled) {
    border-color: rgba(5, 150, 105, 0.26);
    background: linear-gradient(180deg, #f3fdf8, #e9f9f0);
    color: #047857;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.85);
}

.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-page #wlRejectBtn:not(:disabled) {
    border-color: rgba(239, 68, 68, 0.22);
    background: linear-gradient(180deg, #fff6f7, #fff0f2);
    color: #dc2626;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.85);
}

.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-page #wlWhitelistBtn:not(:disabled):hover,
.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-page #wlWhitelistBtn:not(:disabled):focus,
.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-page #wlRejectBtn:not(:disabled):hover,
.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-page #wlRejectBtn:not(:disabled):focus {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(148, 163, 184, 0.18);
}

.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-page #wlWhitelistBtn:disabled,
.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-page #wlRejectBtn:disabled {
    border-color: #d9e2ef;
    background: #f8fafc;
    color: #9aaabd;
    opacity: 1;
    box-shadow: none;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-page .workspace-export-btn {
    border-color: var(--rdc-button-color);
    background: var(--rdc-button-color);
    background-image: none;
    color: #fff;
    box-shadow: 0 12px 24px rgba(var(--rdc-button-color-rgb), .22);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-page .workspace-export-btn:hover,
.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-page .workspace-export-btn:focus {
    color: #fff;
    background: var(--rdc-button-color-hover);
    background-image: none;
    border-color: var(--rdc-button-color-hover);
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(var(--rdc-button-color-rgb), .26);
    filter: none;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-page .workspace-export-btn:disabled,
.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-page .workspace-export-btn.disabled {
    background: linear-gradient(135deg, #dbe6fb 0%, #edf3ff 100%);
    color: #8aa0c5;
    box-shadow: none;
    border-color: #d6e1f5;
    transform: none;
    filter: none;
    cursor: not-allowed;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-page .workspace-create-btn {
    border-color: rgba(37, 99, 235, 0.16);
    background: linear-gradient(135deg, #111827 0%, #1f2937 46%, #0f172a 100%);
    color: #fff;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.16);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-page .workspace-create-btn:hover,
.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-page .workspace-create-btn:focus {
    color: #fff;
    filter: brightness(1.04);
    transform: translateY(-1px);
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.22);
}

.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-page .workspace-requestor-copy,
.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-page .workspace-channel-copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-page .workspace-requestor-copy .name {
    font-weight: 700;
    color: #162033;
    line-height: 1.3;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-page .workspace-channel-link {
    color: #8aa0c0;
    font-size: 0.87rem;
    line-height: 1.25;
    display: inline-flex;
    align-items: center;
    gap: 0.32rem;
    width: fit-content;
    text-decoration: none;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-page .workspace-channel-link:hover,
.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-page .workspace-channel-link:focus {
    color: #59739a;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-admin-page .wl-filter-form .analytics-filter-menu {
    left: 0;
    right: auto;
    margin-top: 14px;
    width: min(660px, calc(100vw - 140px));
    max-width: calc(100vw - 140px);
    z-index: 80;
    min-width: 0;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-admin-page .wl-filter-form .analytics-filter-sheet-sidebar {
    flex: 0 0 150px;
    width: 150px;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-label-page .wl-filter-form .analytics-filter-menu {
    left: 0;
    right: auto;
    margin-top: 14px;
    width: min(560px, calc(100vw - 120px));
    max-width: calc(100vw - 120px);
    z-index: 80;
    min-width: 0;
}

.users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-label-page .wl-filter-form .analytics-filter-sheet-sidebar {
    flex: 0 0 138px;
    width: 138px;
}

@media (min-width: 1600px) {
    .users-modern-page.users-shared-workspace-page.yt-requests-page .hero-title {
        font-size: clamp(1.56rem, 1.7vw, 2.08rem);
        letter-spacing: -0.022em;
    }

    .users-modern-page.users-shared-workspace-page.yt-requests-page .hero-filter-pill {
        color: #52657d;
        font-size: 0.82rem;
        font-weight: 650;
    }

    .users-modern-page.users-shared-workspace-page.yt-requests-page .users-hero-stats .stat-tile .label {
        font-size: 0.78rem;
        color: #71839a;
    }

    .users-modern-page.users-shared-workspace-page.yt-requests-page .users-hero-stats .stat-tile .value {
        font-size: clamp(1.56rem, 1.6vw, 2rem);
        font-weight: 760;
        letter-spacing: -0.02em;
    }

    .users-modern-page.users-shared-workspace-page.yt-requests-page .users-hero-stats .stat-tile .meta {
        font-size: 0.9rem;
        color: #8696ab;
    }

    .users-modern-page.users-shared-workspace-page.yt-requests-page .analytics-filter-toolbar-badge,
    .users-modern-page.users-shared-workspace-page.yt-requests-page .analytics-filter-toolbar-badge-btn {
        font-size: 0.88rem;
        font-weight: 650;
        color: #314155;
    }

    .users-modern-page.users-shared-workspace-page.yt-requests-page .users-toolbar-search .form-control {
        font-size: 0.9rem;
        font-weight: 500;
        color: #334155;
    }

    .users-modern-page.users-shared-workspace-page.yt-requests-page .users-toolbar-search .form-control::placeholder {
        color: #97a8be;
        font-weight: 500;
    }

    .users-modern-page.users-shared-workspace-page.yt-requests-page .analytics-filter-sheet-tab {
        font-size: 0.82rem;
        font-weight: 700;
        color: #334155;
    }

    .users-modern-page.users-shared-workspace-page.yt-requests-page .analytics-filter-sheet-search .form-control {
        font-size: 0.92rem;
        font-weight: 500;
        color: #475569;
    }

    .users-modern-page.users-shared-workspace-page.yt-requests-page .analytics-filter-sheet-pane-title {
        font-size: 0.74rem;
        color: #7b8ca4;
    }

    .users-modern-page.users-shared-workspace-page.yt-requests-page .analytics-filter-option-item {
        font-size: 0.82rem;
        font-weight: 650;
        color: #3d4f67;
    }

    .users-modern-page.users-shared-workspace-page.yt-requests-page .workspace-data-table thead th {
        font-size: 0.74rem;
        color: #6c7f97;
        letter-spacing: 0.07em;
    }

    .users-modern-page.users-shared-workspace-page.yt-requests-page .workspace-data-table tbody td {
        font-size: 0.94rem;
        line-height: 1.55;
        color: #42556d;
    }

    .users-modern-page.users-shared-workspace-page.yt-requests-page .workspace-link,
    .users-modern-page.users-shared-workspace-page.yt-requests-page .workspace-channel-link {
        font-size: 0.84rem;
    }

    .users-modern-page.users-shared-workspace-page.yt-requests-page .workspace-requestor-copy .name,
    .users-modern-page.users-shared-workspace-page.yt-requests-page .user-copy .name,
    .users-modern-page.users-shared-workspace-page.yt-requests-page .email-stack .primary {
        font-weight: 650;
        color: #223247;
    }

    .users-modern-page.users-shared-workspace-page.yt-requests-page .workspace-description,
    .users-modern-page.users-shared-workspace-page.yt-requests-page .workspace-note {
        font-size: 0.89rem;
        line-height: 1.58;
        color: #7d8ea6;
    }

    .users-modern-page.users-shared-workspace-page.yt-requests-page .date-stack {
        font-size: 0.9rem;
        color: #66778f;
    }

    .users-modern-page.users-shared-workspace-page.yt-requests-page .status-pill {
        font-size: 0.79rem;
        font-weight: 750;
    }

    .users-modern-page.users-shared-workspace-page.yt-requests-page .small.text-muted {
        font-size: 0.88rem;
        color: #8a9bb0 !important;
    }
}

@media (max-width: 1399.98px) {
    .users-modern-page.users-shared-workspace-page.yt-requests-page.yt-claims-page .claims-toolbar-main {
        grid-template-columns: 160px minmax(0, 1fr);
        gap: 12px;
    }

    .users-modern-page.users-shared-workspace-page.yt-requests-page.yt-claims-page .claims-toolbar-actions {
        gap: 8px;
    }

    .users-modern-page.users-shared-workspace-page.yt-requests-page.yt-claims-page .claims-toolbar-actions .btn {
        padding-inline: 14px;
        font-size: 0.86rem;
    }

    .users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-page .wl-toolbar-main {
        grid-template-columns: 160px minmax(0, 1fr);
        gap: 12px;
    }

    .users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-page .wl-toolbar-actions {
        gap: 8px;
    }

    .users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-page .wl-toolbar-actions .btn,
    .users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-page .wl-toolbar-actions .dropdown-toggle {
        padding-inline: 14px;
        font-size: 0.86rem;
    }

    .users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-admin-page .wl-filter-form .analytics-filter-menu {
        width: min(620px, calc(100vw - 72px));
        max-width: calc(100vw - 72px);
    }

    .users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-label-page .wl-filter-form .analytics-filter-menu,
    .users-modern-page.users-shared-workspace-page.yt-requests-page.yt-claims-label-page .claims-filter-form .analytics-filter-menu {
        width: min(520px, calc(100vw - 48px));
        max-width: calc(100vw - 72px);
    }
}

@media (max-width: 1199.98px) {
    .users-modern-page.users-shared-workspace-page.yt-requests-page.yt-claims-page .claims-toolbar {
        grid-template-columns: minmax(0, 1fr) max-content;
    }

    .users-modern-page.users-shared-workspace-page.yt-requests-page.yt-claims-page .claims-toolbar-main,
    .users-modern-page.users-shared-workspace-page.yt-requests-page.yt-claims-page .claims-toolbar-actions {
        flex-wrap: nowrap;
    }

    .users-modern-page.users-shared-workspace-page.yt-requests-page.yt-claims-page .claims-toolbar-actions,
    .users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-page .wl-toolbar-actions {
        justify-content: flex-end;
        margin-left: 0;
    }

    .users-modern-page.users-shared-workspace-page.yt-requests-page.yt-claims-admin-page .claims-filter-form .analytics-filter-menu {
        width: min(620px, calc(100vw - 72px));
        max-width: calc(100vw - 72px);
    }

    .users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-page .wl-toolbar {
        grid-template-columns: minmax(0, 1fr) max-content;
    }
}

@media (max-width: 767.98px) {
    .users-modern-page.users-shared-workspace-page.yt-requests-page.yt-claims-page .claims-toolbar {
        grid-template-columns: minmax(0, 1fr) max-content;
        gap: 12px;
    }

    .users-modern-page.users-shared-workspace-page.yt-requests-page.yt-claims-page .claims-toolbar-main,
    .users-modern-page.users-shared-workspace-page.yt-requests-page.yt-claims-page .claims-toolbar-actions,
    .users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-page .wl-toolbar-main,
    .users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-page .wl-toolbar-actions {
        width: auto;
        flex: 0 0 auto;
    }

    .users-modern-page.users-shared-workspace-page.yt-requests-page.yt-claims-page .claims-filter-form,
    .users-modern-page.users-shared-workspace-page.yt-requests-page.yt-claims-page .claims-search-form,
    .users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-page .wl-filter-form,
    .users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-page .wl-search-form {
        width: 100%;
        flex: 1 1 auto;
    }

    .users-modern-page.users-shared-workspace-page.yt-requests-page.yt-claims-page .claims-toolbar-actions,
    .users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-page .wl-toolbar-actions {
        justify-content: flex-end;
    }

    .users-modern-page.users-shared-workspace-page.yt-requests-page.yt-claims-page .claims-toolbar-actions > form,
    .users-modern-page.users-shared-workspace-page.yt-requests-page.yt-claims-page .claims-toolbar-actions > a,
    .users-modern-page.users-shared-workspace-page.yt-requests-page.yt-claims-page .claims-toolbar-actions > button,
    .users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-page .wl-toolbar-actions > form,
    .users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-page .wl-toolbar-actions > a,
    .users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-page .wl-toolbar-actions > button,
    .users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-page .wl-toolbar-actions > div {
        flex: 0 0 auto;
    }

    .users-modern-page.users-shared-workspace-page.yt-requests-page.yt-claims-admin-page .claims-filter-form .analytics-filter-menu {
        width: min(460px, calc(100vw - 32px));
        max-width: calc(100vw - 32px);
    }

    .users-modern-page.users-shared-workspace-page.yt-requests-page.yt-claims-label-page .claims-filter-form .analytics-filter-menu,
    .users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-label-page .wl-filter-form .analytics-filter-menu {
        width: min(420px, calc(100vw - 24px));
        max-width: calc(100vw - 32px);
    }

    .users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-admin-page .wl-filter-form .analytics-filter-menu {
        width: min(460px, calc(100vw - 32px));
        max-width: calc(100vw - 32px);
    }

    .users-modern-page.users-shared-workspace-page.yt-requests-page.yt-claims-page .claims-filter-form .analytics-filter-sheet-sidebar,
    .users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-page .wl-filter-form .analytics-filter-sheet-sidebar {
        flex-basis: 100%;
        width: 100%;
    }

    .users-modern-page.users-shared-workspace-page.yt-requests-page.yt-claims-label-page .yt-label-form-side textarea.form-control,
    .users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-label-page .yt-label-form-side textarea.form-control {
        min-height: 104px;
    }

    .users-modern-page.users-shared-workspace-page.yt-requests-page.yt-claims-label-page .yt-label-form-submit,
    .users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-label-page .yt-label-form-submit {
        justify-content: flex-start;
    }

    .users-modern-page.users-shared-workspace-page.yt-requests-page.yt-claims-label-page .yt-label-form-submit .btn,
    .users-modern-page.users-shared-workspace-page.yt-requests-page.yt-whitelist-label-page .yt-label-form-submit .btn {
        min-width: 0;
        width: 100%;
    }
}

/* Labels dashboard shared styles (moved from labels/dashboard.php) */
.dashboard-analytics-lite {
    --da-bg: #f5f8fd;
    --da-surface: #ffffff;
    --da-surface-soft: #f8fbff;
    --da-border: #dbe5f0;
    --da-text: #0f172a;
    --da-muted: #667085;
    --da-accent: #3b82f6;
    --da-accent-soft: #eaf2ff;
    --da-success-bg: #eaf8ee;
    --da-success-text: #177245;
    --da-success-border: #c7ead3;
    --da-warning-bg: #fff4de;
    --da-warning-text: #b36a00;
    --da-warning-border: #ffe3b2;
    --da-danger-bg: #ffe7ea;
    --da-danger-text: #c8344a;
    --da-danger-border: #ffc8d0;
    --da-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
    background: #ffffff;
}

.isrc-upc-upload-page .page-title-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
}

.isrc-upc-upload-page .container-fluid {
    padding-bottom: 1.4rem;
}

.isrc-upc-upload-shell {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.isrc-upc-upload-hero {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.35rem 1.45rem;
    border: 1px solid #d9e5f4;
    border-radius: 24px;
    background:
        radial-gradient(circle at top right, rgba(59, 130, 246, 0.16), transparent 32%),
        linear-gradient(135deg, #f8fbff 0%, #ffffff 58%, #f7fbff 100%);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.07);
}

.isrc-upc-upload-hero-main {
    max-width: 820px;
}

.isrc-upc-upload-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.42rem 0.78rem;
    border-radius: 999px;
    background: #eaf2ff;
    color: #1d4ed8;
    font-weight: 800;
    font-size: 0.82rem;
    letter-spacing: 0.01em;
    margin-bottom: 0.9rem;
}

.isrc-upc-upload-title {
    margin-bottom: 0.45rem;
    font-size: 1.95rem;
    line-height: 1.06;
    font-weight: 900;
    color: #0f172a;
}

.isrc-upc-upload-subtitle {
    margin: 0;
    max-width: 720px;
    color: #64748b;
    font-size: 1rem;
    line-height: 1.7;
}

.isrc-upc-upload-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 1rem;
}

.isrc-upc-upload-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.52rem 0.8rem;
    border-radius: 999px;
    border: 1px solid #d9e5f4;
    background: rgba(255, 255, 255, 0.9);
    color: #334155;
    font-size: 0.86rem;
    font-weight: 700;
}

.isrc-upc-upload-hero-actions {
    flex: 0 0 auto;
}

.isrc-upc-upload-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.72fr);
    gap: 1rem;
    align-items: start;
}

.isrc-upc-upload-main,
.isrc-upc-upload-sidecard {
    min-width: 0;
}

.isrc-upc-upload-card {
    border: 1px solid #d9e5f4;
    border-radius: 24px;
    background: linear-gradient(180deg, #ffffff, #fbfdff);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
}

.isrc-upc-upload-card .card-body {
    padding: 1.35rem;
}

.isrc-upc-upload-section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.isrc-upc-upload-section-title {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 900;
    color: #0f172a;
}

.isrc-upc-upload-section-copy {
    margin: 0.35rem 0 0;
    max-width: 720px;
    color: #64748b;
    line-height: 1.68;
}

.isrc-upc-upload-section-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.52rem 0.85rem;
    border-radius: 999px;
    background: #ecfdf3;
    color: #177245;
    font-size: 0.85rem;
    font-weight: 800;
    white-space: nowrap;
}

.isrc-upc-upload-form-shell {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.isrc-upc-upload-page .form-group.row {
    margin-left: 0;
    margin-right: 0;
}

.isrc-upc-upload-type-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.isrc-upc-upload-panels {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.isrc-upc-upload-panel {
    display: flex;
    gap: 0.95rem;
    align-items: flex-start;
    padding: 1.05rem;
    border: 1px solid #dbe6f3;
    border-radius: 20px;
    background: linear-gradient(180deg, #ffffff, #f8fbff);
}

.isrc-upc-upload-panel-icon {
    width: 48px;
    height: 48px;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: linear-gradient(135deg, #eaf2ff, #dbeafe);
    color: #2563eb;
    font-size: 1.3rem;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
}

.isrc-upc-upload-panel-body {
    width: 100%;
}

.isrc-upc-upload-panel-label {
    display: block;
    margin-bottom: 0.3rem;
    color: #0f172a;
    font-size: 0.98rem;
    font-weight: 900;
}

.isrc-upc-upload-panel-copy {
    margin: 0 0 0.8rem;
    color: #64748b;
    line-height: 1.6;
    font-size: 0.92rem;
}

.isrc-upc-upload-page .form-control,
.isrc-upc-upload-page select.form-control,
.isrc-upc-upload-page textarea.form-control {
    border-radius: 14px;
    border: 1px solid #d7e0ec;
    background: #f8fbff;
    min-height: 48px;
    box-shadow: none;
}

.isrc-upc-upload-page textarea.form-control {
    min-height: 220px;
    resize: vertical;
}

.isrc-upc-upload-page .form-control:focus,
.isrc-upc-upload-page select.form-control:focus,
.isrc-upc-upload-page textarea.form-control:focus {
    border-color: rgba(37, 99, 235, 0.45);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.10);
}

.isrc-upc-upload-file-meta {
    margin-top: 0.55rem;
    color: #334155;
    font-size: 0.86rem;
    font-weight: 700;
}

.isrc-upc-upload-progress {
    margin-top: 0.75rem;
    height: 10px;
    border-radius: 999px;
    overflow: hidden;
    background: #e8efff;
}

.isrc-upc-upload-progress .progress-bar {
    line-height: 10px;
    font-size: 0.68rem;
    background: linear-gradient(90deg, #2563eb, #38bdf8);
}

.isrc-upc-upload-feedback {
    min-height: 1.5rem;
    padding: 0.75rem 0.95rem;
    border-radius: 14px;
    background: #f8fbff;
    border: 1px dashed #d8e3f2;
    color: #64748b;
    font-size: 0.92rem;
    font-weight: 700;
}

.isrc-upc-upload-feedback.is-success {
    background: #ecfdf3;
    border-style: solid;
    border-color: #bde8cb;
    color: #177245;
}

.isrc-upc-upload-feedback.is-error {
    background: #fff1f2;
    border-style: solid;
    border-color: #fecdd3;
    color: #be123c;
}

.isrc-upc-upload-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.9rem;
    flex-wrap: wrap;
}

.isrc-upc-upload-submit {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    border: 0;
    border-radius: 14px;
    padding: 0.82rem 1.15rem;
    background: linear-gradient(135deg, #0f172a, #1d4ed8);
    box-shadow: 0 16px 26px rgba(29, 78, 216, 0.18);
    font-weight: 800;
}

.isrc-upc-upload-submit:hover,
.isrc-upc-upload-submit:focus {
    background: linear-gradient(135deg, #1e293b, #2563eb);
}

.isrc-upc-upload-action-note {
    color: #64748b;
    font-size: 0.88rem;
}

.isrc-upc-upload-sidecard {
    padding: 1.15rem;
    border: 1px solid #d9e5f4;
    border-radius: 24px;
    background:
        radial-gradient(circle at top left, rgba(16, 185, 129, 0.12), transparent 28%),
        linear-gradient(180deg, #ffffff, #f9fcff);
    box-shadow: 0 18px 32px rgba(15, 23, 42, 0.05);
}

.isrc-upc-upload-sidecard-head h6 {
    margin: 0.4rem 0 0;
    color: #0f172a;
    font-size: 1.02rem;
    font-weight: 900;
}

.isrc-upc-upload-sidecard-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    background: #eff6ff;
    color: #2563eb;
    font-size: 0.8rem;
    font-weight: 800;
}

.isrc-upc-upload-checklist {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.isrc-upc-upload-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    color: #334155;
    line-height: 1.58;
}

.isrc-upc-upload-checklist i {
    color: #10b981;
    font-size: 1rem;
    margin-top: 0.15rem;
}

.isrc-upc-upload-sidecard-note {
    margin-top: 1rem;
    padding: 0.95rem 1rem;
    border-radius: 18px;
    background: #0f172a;
    color: #e2e8f0;
}

.isrc-upc-upload-sidecard-note .label {
    color: #93c5fd;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    margin-bottom: 0.45rem;
}

.isrc-upc-upload-sidecard-note .value {
    font-size: 0.92rem;
    font-weight: 700;
}

.isrc-upc-upload-page .page-title-right {
    margin-left: auto;
}

.isrc-upc-upload-page .isrc-upc-back-btn {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    text-decoration: none;
    color: #1e293b;
    font-weight: 700;
    font-size: .9rem;
    padding: .46rem .74rem;
    border-radius: 999px;
    border: 1px solid #d6e2f1;
    background: linear-gradient(180deg, #ffffff, #f3f7ff);
    box-shadow: 0 8px 18px rgba(15, 23, 42, .06);
    transition: all .16s ease;
}

.isrc-upc-upload-page .isrc-upc-back-btn:hover,
.isrc-upc-upload-page .isrc-upc-back-btn:focus {
    color: #1d4ed8;
    border-color: #c2d5f2;
    background: linear-gradient(180deg, #f8fbff, #edf3ff);
    box-shadow: 0 10px 22px rgba(37, 99, 235, .10);
}

.isrc-upc-upload-page .isrc-upc-back-btn-icon {
    width: 24px;
    height: 24px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d4e1f3;
    background: #ffffff;
    color: #3b82f6;
    font-size: .95rem;
    flex: 0 0 auto;
}

@media (max-width: 767.98px) {
    .isrc-upc-upload-hero {
        flex-direction: column;
        padding: 1.1rem;
    }

    .isrc-upc-upload-title {
        font-size: 1.55rem;
    }

    .isrc-upc-upload-panels {
        grid-template-columns: 1fr;
    }

    .isrc-upc-upload-page .page-title-box {
        align-items: flex-start;
        flex-direction: column;
    }

    .isrc-upc-upload-page .page-title-right {
        width: 100%;
        margin-left: 0;
    }

    .isrc-upc-upload-page .isrc-upc-back-btn {
        width: 100%;
        justify-content: center;
    }
}

html[data-theme="dark"] .isrc-upc-upload-page .isrc-upc-back-btn,
body.analytics-dashboard-theme-dark .isrc-upc-upload-page .isrc-upc-back-btn {
    color: #dce7f5;
    border-color: #2c3a51;
    background: linear-gradient(180deg, #1a263d, #142037);
    box-shadow: 0 12px 26px rgba(2, 6, 23, .30);
}

html[data-theme="dark"] .isrc-upc-upload-page .isrc-upc-back-btn:hover,
html[data-theme="dark"] .isrc-upc-upload-page .isrc-upc-back-btn:focus,
body.analytics-dashboard-theme-dark .isrc-upc-upload-page .isrc-upc-back-btn:hover,
body.analytics-dashboard-theme-dark .isrc-upc-upload-page .isrc-upc-back-btn:focus {
    color: #93c5fd;
    border-color: #3a4f6f;
    background: linear-gradient(180deg, #1f2f4a, #182740);
}

html[data-theme="dark"] .isrc-upc-upload-page .isrc-upc-back-btn-icon,
body.analytics-dashboard-theme-dark .isrc-upc-upload-page .isrc-upc-back-btn-icon {
    border-color: #314764;
    background: #13243b;
    color: #93c5fd;
}

html[data-theme="dark"] .isrc-upc-upload-hero,
body.analytics-dashboard-theme-dark .isrc-upc-upload-hero {
    border-color: rgba(96, 165, 250, 0.16);
    background:
        radial-gradient(circle at top right, rgba(37, 99, 235, 0.2), transparent 32%),
        linear-gradient(135deg, rgba(15, 23, 42, 0.98), rgba(17, 24, 39, 0.96));
    box-shadow: 0 20px 36px rgba(2, 6, 23, 0.34);
}

html[data-theme="dark"] .isrc-upc-upload-badge,
body.analytics-dashboard-theme-dark .isrc-upc-upload-badge {
    background: rgba(37, 99, 235, 0.2);
    color: #bfdbfe;
}

html[data-theme="dark"] .isrc-upc-upload-title,
body.analytics-dashboard-theme-dark .isrc-upc-upload-title {
    color: #e2e8f0;
}

html[data-theme="dark"] .isrc-upc-upload-subtitle,
html[data-theme="dark"] .isrc-upc-upload-action-note,
html[data-theme="dark"] .isrc-upc-upload-section-copy,
html[data-theme="dark"] .isrc-upc-upload-panel-copy,
body.analytics-dashboard-theme-dark .isrc-upc-upload-subtitle,
body.analytics-dashboard-theme-dark .isrc-upc-upload-action-note,
body.analytics-dashboard-theme-dark .isrc-upc-upload-section-copy,
body.analytics-dashboard-theme-dark .isrc-upc-upload-panel-copy {
    color: #94a3b8;
}

html[data-theme="dark"] .isrc-upc-upload-chip,
body.analytics-dashboard-theme-dark .isrc-upc-upload-chip {
    border-color: rgba(96, 165, 250, 0.16);
    background: rgba(15, 23, 42, 0.72);
    color: #dbeafe;
}

html[data-theme="dark"] .isrc-upc-upload-card,
html[data-theme="dark"] .isrc-upc-upload-sidecard,
body.analytics-dashboard-theme-dark .isrc-upc-upload-card,
body.analytics-dashboard-theme-dark .isrc-upc-upload-sidecard {
    border-color: rgba(96, 165, 250, 0.14);
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.9));
    box-shadow: 0 20px 34px rgba(2, 6, 23, 0.26);
}

html[data-theme="dark"] .isrc-upc-upload-section-title,
html[data-theme="dark"] .isrc-upc-upload-panel-label,
html[data-theme="dark"] .isrc-upc-upload-sidecard-head h6,
body.analytics-dashboard-theme-dark .isrc-upc-upload-section-title,
body.analytics-dashboard-theme-dark .isrc-upc-upload-panel-label,
body.analytics-dashboard-theme-dark .isrc-upc-upload-sidecard-head h6 {
    color: #e2e8f0;
}

html[data-theme="dark"] .isrc-upc-upload-section-pill,
body.analytics-dashboard-theme-dark .isrc-upc-upload-section-pill {
    background: rgba(16, 185, 129, 0.14);
    color: #86efac;
}

html[data-theme="dark"] .isrc-upc-upload-panel,
body.analytics-dashboard-theme-dark .isrc-upc-upload-panel {
    border-color: rgba(96, 165, 250, 0.14);
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.84), rgba(15, 23, 42, 0.82));
}

html[data-theme="dark"] .isrc-upc-upload-panel-icon,
body.analytics-dashboard-theme-dark .isrc-upc-upload-panel-icon {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.28), rgba(56, 189, 248, 0.14));
    color: #bfdbfe;
}

html[data-theme="dark"] .isrc-upc-upload-page .form-control,
html[data-theme="dark"] .isrc-upc-upload-page select.form-control,
html[data-theme="dark"] .isrc-upc-upload-page textarea.form-control,
body.analytics-dashboard-theme-dark .isrc-upc-upload-page .form-control,
body.analytics-dashboard-theme-dark .isrc-upc-upload-page select.form-control,
body.analytics-dashboard-theme-dark .isrc-upc-upload-page textarea.form-control {
    background: rgba(30, 41, 59, 0.9);
    border-color: rgba(96, 165, 250, 0.16);
    color: #e2e8f0;
}

html[data-theme="dark"] .isrc-upc-upload-page .form-control::placeholder,
html[data-theme="dark"] .isrc-upc-upload-file-meta,
body.analytics-dashboard-theme-dark .isrc-upc-upload-page .form-control::placeholder,
body.analytics-dashboard-theme-dark .isrc-upc-upload-file-meta {
    color: #94a3b8;
}

html[data-theme="dark"] .isrc-upc-upload-feedback,
body.analytics-dashboard-theme-dark .isrc-upc-upload-feedback {
    background: rgba(15, 23, 42, 0.72);
    border-color: rgba(96, 165, 250, 0.16);
    color: #cbd5e1;
}

html[data-theme="dark"] .isrc-upc-upload-feedback.is-success,
body.analytics-dashboard-theme-dark .isrc-upc-upload-feedback.is-success {
    background: rgba(20, 83, 45, 0.36);
    border-color: rgba(34, 197, 94, 0.26);
    color: #86efac;
}

html[data-theme="dark"] .isrc-upc-upload-feedback.is-error,
body.analytics-dashboard-theme-dark .isrc-upc-upload-feedback.is-error {
    background: rgba(127, 29, 29, 0.34);
    border-color: rgba(248, 113, 113, 0.26);
    color: #fda4af;
}

html[data-theme="dark"] .isrc-upc-upload-sidecard-badge,
body.analytics-dashboard-theme-dark .isrc-upc-upload-sidecard-badge {
    background: rgba(37, 99, 235, 0.18);
    color: #bfdbfe;
}

html[data-theme="dark"] .isrc-upc-upload-checklist li,
body.analytics-dashboard-theme-dark .isrc-upc-upload-checklist li {
    color: #cbd5e1;
}

@media (max-width: 1199.98px) {
    .isrc-upc-upload-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Global admin responsive safeguards ===== */
@media (max-width: 991.98px) {
    .content-page .container-fluid {
        padding-left: .85rem;
        padding-right: .85rem;
    }

    .page-title-box {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: .55rem;
    }

    .page-title-box .page-title-right {
        margin-left: auto;
    }
}

@media (max-width: 767.98px) {
    .content-page .container-fluid {
        padding-left: .72rem;
        padding-right: .72rem;
    }

    .page-title-box {
        flex-direction: column;
        align-items: flex-start;
    }

    .page-title-box .page-title-right {
        width: 100%;
        margin-left: 0;
    }

    .page-title-box .btn,
    .page-title-box .btn-group {
        width: 100%;
    }

    .table-responsive,
    .table-responsive-shell {
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
    }

    .dataTables_wrapper .dataTables_length,
    .dataTables_wrapper .dataTables_filter {
        width: 100%;
        text-align: left !important;
    }

    .dataTables_wrapper .dataTables_filter input {
        width: 100% !important;
        margin-left: 0 !important;
        margin-top: .35rem;
    }
}

.dashboard-analytics-lite .content,
.dashboard-analytics-lite .container-fluid {
    background: transparent;
}

.dashboard-analytics-lite .container-fluid {
    padding-bottom: 1.25rem;
}

.dashboard-analytics-lite .legacy-page-title {
    display: none;
}

.dashboard-analytics-lite .analytics-dashboard-overview-shell {
    border: 1px solid var(--da-border);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--da-shadow);
    padding: 0.75rem;
}

.dashboard-analytics-lite .analytics-dashboard-overview-shell .row {
    --bs-gutter-x: 0.95rem;
}

.dashboard-analytics-lite .analytics-dashboard-overview-shell .row + .row {
    margin-top: 0;
}

.analytics-firebase-hero-lite {
    border: 0;
    border-radius: 14px;
    background: #fff;
    padding: 0.35rem 0.1rem 0.85rem;
}

.analytics-firebase-title-lite {
    margin: 0;
    font-size: 2rem;
    line-height: 1.05;
    font-weight: 700;
    color: var(--da-text);
    letter-spacing: -0.02em;
}

.analytics-hero-top-lite {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.analytics-range-pill-lite {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    border: 1px solid var(--da-border);
    background: #f6f8fc;
    color: var(--da-muted);
    font-size: 0.9rem;
    font-weight: 600;
}

.analytics-hero-chips-lite {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-top: 0.9rem;
}

.analytics-overview-chip-lite {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    border: 1px solid var(--da-border);
    background: #ffffff;
    color: var(--da-muted);
    font-weight: 700;
    font-size: 0.95rem;
}

.analytics-overview-chip-lite i {
    font-size: 1rem;
}

.analytics-firebase-panel-lite {
    border: 1px solid var(--da-border);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.04);
}

.analytics-firebase-panel-lite .card-body {
    padding: 0.55rem 0.1rem 0.1rem;
}

.analytics-firebase-panel-head-lite {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.95rem;
}

.analytics-firebase-panel-head-lite .header-title {
    margin: 0;
    color: var(--da-muted);
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-transform: uppercase;
}

.analytics-firebase-panel-action-lite {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid var(--da-border);
    background: #fff;
    color: var(--da-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.analytics-firebase-inner-card-lite,
.analytics-firebase-stat-card-lite {
    border: 1px solid var(--da-border);
    background: #fff;
    border-radius: 16px;
    height: 100%;
}

.analytics-firebase-inner-card-lite {
    padding: 1rem;
}

.labels-inline-filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
    padding: 0.15rem 0 0.75rem;
    margin-bottom: 0.75rem;
    border-bottom: 1px solid var(--da-border);
}

.labels-inline-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border: 1px solid var(--da-border);
    background: #ffffff;
    color: #0f172a;
    border-radius: 12px;
    padding: 0.48rem 0.75rem;
    font-weight: 700;
    font-size: 0.9rem;
    line-height: 1;
}

.labels-inline-filter-btn i {
    color: var(--da-muted);
    font-size: 0.95rem;
}

.labels-inline-filter-date-btn {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid var(--da-border);
    background: #ffffff;
    color: #2563eb;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    flex: 0 0 auto;
}

.labels-inline-filter-date-btn i {
    font-size: 1.1rem;
}

.analytics-firebase-inner-head-lite {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.8rem;
}

.analytics-firebase-inner-head-stack-lite {
    display: block;
    margin-bottom: 0.35rem;
}

.analytics-firebase-metric-label-lite {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--da-muted);
}

.analytics-firebase-metric-value-lite {
    font-size: 2rem;
    line-height: 1;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--da-text);
    margin-top: 0.2rem;
}

.analytics-firebase-pie-card-lite .analytics-firebase-metric-value-lite {
    font-size: 1.85rem;
}

.analytics-firebase-metric-sub-lite {
    font-size: 0.9rem;
    color: var(--da-muted);
    margin-top: 0.25rem;
}

.analytics-firebase-mini-pill-lite {
    display: inline-flex;
    align-items: center;
    padding: 0.42rem 0.8rem;
    border-radius: 999px;
    border: 1px solid var(--da-border);
    background: #ffffff;
    color: var(--da-muted);
    font-size: 0.88rem;
    font-weight: 700;
    white-space: nowrap;
}

.analytics-chart-wrap-lite {
    position: relative;
}

.analytics-chart-wrap-md-lite {
    height: 260px;
    border: 1px solid var(--da-border);
    border-radius: 14px;
    background: #ffffff;
    padding: 0.5rem;
}

.analytics-chart-wrap-xs-lite {
    height: 190px;
}

.analytics-chart-wrap-lite canvas {
    width: 100% !important;
    height: 100% !important;
}

.analytics-firebase-status-list-lite {
    display: flex;
    gap: 0.45rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.analytics-chip-lite {
    display: inline-flex;
    align-items: center;
    padding: 0.28rem 0.65rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    border: 1px solid transparent;
}

.analytics-chip-approved-lite {
    background: var(--da-success-bg);
    color: var(--da-success-text);
    border-color: var(--da-success-border);
}

.analytics-chip-pending-lite {
    background: var(--da-warning-bg);
    color: var(--da-warning-text);
    border-color: var(--da-warning-border);
}

.analytics-chip-rejected-lite {
    background: var(--da-danger-bg);
    color: var(--da-danger-text);
    border-color: var(--da-danger-border);
}

.analytics-firebase-stat-card-lite {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.95rem 1rem;
}

.analytics-firebase-stat-icon-lite {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: #f3f4f6;
    color: #2563eb;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.1rem;
}

.analytics-firebase-stat-title-lite {
    color: var(--da-muted);
    font-size: 0.95rem;
    line-height: 1.1;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.analytics-firebase-stat-value-lite {
    color: var(--da-text);
    font-size: 1.8rem;
    line-height: 1;
    font-weight: 700;
    margin-top: 0.2rem;
}

.analytics-recent-card-lite {
    border-radius: 16px;
    border: 1px solid var(--da-border);
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.04);
}

.analytics-recent-card-lite .card-header,
.analytics-recent-card-lite .card-body {
    background: #fff;
}

.analytics-recent-subhead-lite {
    border-top: 1px solid var(--da-border);
    border-bottom: 1px solid var(--da-border);
    background: #ffffff;
}

@media (max-width: 1199.98px) {
    .analytics-chart-wrap-md-lite {
        height: 230px;
    }
}

@media (max-width: 991.98px) {
    .analytics-firebase-title-lite {
        font-size: 1.65rem;
    }

    .analytics-firebase-panel-head-lite .header-title {
        font-size: 1.35rem;
    }

    .analytics-chart-wrap-md-lite {
        height: 210px;
    }
}

@media (max-width: 767.98px) {
    .dashboard-analytics-lite .analytics-dashboard-overview-shell {
        padding: 0.6rem;
        border-radius: 16px;
    }

    .analytics-firebase-inner-card-lite {
        padding: 0.8rem;
    }

    .labels-inline-filter-bar {
        padding-bottom: 0.6rem;
        margin-bottom: 0.6rem;
    }

    .labels-inline-filter-btn {
        padding: 0.44rem 0.65rem;
        font-size: 0.84rem;
    }

    .labels-inline-filter-date-btn {
        width: 38px;
        height: 38px;
    }

    .analytics-firebase-metric-value-lite {
        font-size: 1.6rem;
    }

    .analytics-firebase-pie-card-lite .analytics-firebase-metric-value-lite {
        font-size: 1.45rem;
    }

    .analytics-chart-wrap-md-lite {
        height: 190px;
    }

    .analytics-overview-chip-lite {
        flex: 1 1 calc(50% - 0.3rem);
        justify-content: center;
    }
}
/* Shared login visual refresh (blue/purple illustration style) */
body.rdc-auth-page {
    background:
        radial-gradient(circle at 8% 14%, rgba(255, 86, 40, 0.16), transparent 26%),
        radial-gradient(circle at 88% 8%, rgba(116, 120, 255, 0.20), transparent 30%),
        radial-gradient(circle at 50% 100%, rgba(240, 77, 178, 0.15), transparent 42%),
        linear-gradient(180deg, #061c8f 0%, #1b228f 24%, #4f258b 62%, #b6429d 100%);
}

body.rdc-auth-page::before {
    opacity: .55;
    background:
        radial-gradient(circle at 10% 14%, rgba(255,255,255,.09) 0 1.2px, transparent 2px),
        radial-gradient(circle at 76% 24%, rgba(255,255,255,.07) 0 1px, transparent 2px),
        radial-gradient(circle at 54% 66%, rgba(255,255,255,.05) 0 1.2px, transparent 2px),
        radial-gradient(circle at 28% 82%, rgba(255,255,255,.05) 0 1px, transparent 2px);
    background-size: 68px 68px, 78px 78px, 72px 72px, 86px 86px;
}

.rdc-auth-shell {
    width: min(1240px, 100%);
}

.rdc-auth-frame {
    grid-template-columns: minmax(330px, 400px) minmax(0, 1fr);
    min-height: 640px;
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.06);
    box-shadow:
        0 35px 80px rgba(10, 9, 40, 0.30),
        inset 0 1px 0 rgba(255,255,255,.10);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.rdc-auth-form-col {
    margin: 18px;
    border-radius: 22px;
    padding: 1.95rem 1.55rem 1.25rem;
    background: rgba(255,255,255,.90);
    border: 1px solid rgba(255,255,255,.55);
    box-shadow: 0 18px 40px rgba(11, 19, 63, 0.18);
    justify-content: flex-start;
}

.rdc-auth-form-col::after {
    display: none;
}

.rdc-auth-brandline {
    color: #1b2a57;
    gap: .55rem;
    margin-bottom: .7rem;
    font-weight: 700;
    font-size: 1.15rem;
}

.rdc-auth-brandmark {
    display: none !important;
}

.rdc-auth-brand-logo {
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    border-radius: 12px;
    background: rgba(255,255,255,.98);
    padding: 6px;
    box-shadow:
        0 10px 22px rgba(29, 78, 216, 0.14),
        inset 0 0 0 1px rgba(148, 163, 184, 0.18);
}

.rdc-auth-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .42rem;
    margin-bottom: .85rem;
    padding: .38rem .78rem;
    border-radius: 999px;
    background: rgba(79, 70, 229, 0.10);
    color: #4f46e5;
    font-size: .84rem;
    font-weight: 600;
}

.rdc-auth-eyebrow::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #6366f1;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.14);
}

.rdc-auth-title {
    color: #0f172a;
    font-size: clamp(1.8rem, 2vw, 2.2rem);
    margin-bottom: .45rem;
}

.rdc-auth-subtitle {
    color: #64748b;
    font-size: .96rem;
    line-height: 1.5;
    max-width: 34ch;
    margin-bottom: 1.25rem;
}

.rdc-auth-form .form-label {
    color: #334155;
    font-size: .84rem;
    font-weight: 700;
    margin-bottom: .45rem;
}

.rdc-auth-form .form-control {
    min-height: 52px;
    border-radius: 14px;
    border: 1px solid #dbe4f0;
    background: #f8fafc;
    color: #0f172a;
    padding-inline: 1rem;
    font-size: .95rem;
}

.rdc-auth-form .form-control::placeholder {
    color: #94a3b8;
}

.rdc-auth-form .form-control:focus {
    background: #fff;
    color: #0f172a;
    border-color: #8b8dff;
    box-shadow: 0 0 0 .22rem rgba(99, 102, 241, 0.13);
}

.rdc-auth-form .invalid-feedback {
    color: #c2410c;
}

.rdc-auth-form .alert {
    background: rgba(254, 226, 226, 0.9);
    border-color: rgba(252, 165, 165, 0.6);
    color: #991b1b;
}

.rdc-auth-submit {
    min-height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, #5865f2 0%, #6f8cff 100%);
    box-shadow: 0 14px 26px rgba(88, 101, 242, 0.24);
}

.rdc-auth-submit:hover,
.rdc-auth-submit:focus {
    box-shadow: 0 18px 30px rgba(88, 101, 242, 0.30);
}

.rdc-auth-form-meta {
    margin-top: .8rem;
}

.rdc-auth-remember {
    color: #334155;
    font-size: .9rem;
}

.rdc-auth-remember .form-check-input {
    border-color: #cbd5e1;
    background-color: #fff;
}

.rdc-auth-remember .form-check-input:checked {
    background-color: #5865f2;
    border-color: #5865f2;
}

.rdc-auth-link {
    color: #4f46e5;
    font-weight: 600;
    font-size: .88rem;
}

.rdc-auth-link:hover {
    color: #4338ca;
}

.rdc-auth-footer-note {
    color: #64748b;
    font-size: .9rem;
    margin-top: 1.15rem;
}

.rdc-auth-footer-note a {
    color: #1e293b;
    font-weight: 700;
}

.rdc-auth-art-col {
    background:
        radial-gradient(circle at 20% 16%, rgba(255,255,255,.14), transparent 34%),
        radial-gradient(circle at 84% 72%, rgba(255, 66, 158, .16), transparent 30%),
        linear-gradient(180deg, rgba(25, 32, 137, .95), rgba(70, 34, 146, .92) 55%, rgba(166, 54, 150, .82));
    border-radius: 0 22px 22px 0;
}

.rdc-auth-photo-stage {
    inset: 14px 14px 92px 8px;
    border-radius: 18px;
    overflow: hidden;
}

.rdc-auth-hero-photo {
    object-position: center center;
    filter: saturate(.94) contrast(1.02) brightness(.92);
}

.rdc-auth-photo-stage::before {
    background:
        radial-gradient(circle at 20% 18%, rgba(255,255,255,.16), transparent 30%),
        radial-gradient(circle at 74% 58%, rgba(255, 85, 164, .18), transparent 34%),
        linear-gradient(135deg, rgba(36, 25, 136, .54), rgba(77, 36, 150, .36) 52%, rgba(194, 76, 170, .24));
}

.rdc-auth-photo-stage::after {
    background:
        linear-gradient(90deg, rgba(14, 13, 58, .18), rgba(14, 13, 58, 0) 25%, rgba(14, 13, 58, .10)),
        linear-gradient(180deg, rgba(14, 13, 58, .04), rgba(14, 13, 58, .10) 70%, rgba(14, 13, 58, .18));
}

.rdc-auth-art-grid {
    opacity: .42;
    z-index: 3;
    inset: 0;
}

.rdc-auth-photo-stage.is-fallback .rdc-auth-guitar,
.rdc-auth-photo-stage.is-fallback .rdc-auth-guitar-head,
.rdc-auth-photo-stage.is-fallback .rdc-auth-guitar-neck,
.rdc-auth-photo-stage.is-fallback .rdc-auth-guitar-frets,
.rdc-auth-photo-stage.is-fallback .rdc-auth-guitar-strings,
.rdc-auth-photo-stage.is-fallback .rdc-auth-guitar-body,
.rdc-auth-photo-stage.is-fallback .rdc-auth-guitar-pickguard {
    opacity: .95;
}

.rdc-auth-art-caption {
    left: auto;
    right: 24px;
    bottom: 22px;
    width: min(78%, 460px);
    padding: 1rem 1.15rem;
    border-radius: 18px;
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.16);
    box-shadow: 0 14px 28px rgba(11, 19, 63, 0.16);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: rgba(255,255,255,.78);
    letter-spacing: .08em;
}

.rdc-auth-art-caption strong {
    margin-top: .35rem;
    font-size: 1.8rem;
    line-height: 1.12;
    color: #fff;
    max-width: 18ch;
}

@media (max-width: 991.98px) {
    .rdc-auth-frame {
        grid-template-columns: 1fr;
        border-radius: 18px;
        min-height: 0;
    }

    .rdc-auth-art-col {
        order: -1;
        min-height: 250px;
        border-radius: 18px 18px 0 0;
    }

    .rdc-auth-photo-stage {
        inset: 10px 10px 72px 10px;
        border-radius: 14px;
    }

    .rdc-auth-form-col {
        margin: 0;
        border-radius: 0 0 18px 18px;
        box-shadow: none;
        border-top: 1px solid rgba(148, 163, 184, 0.10);
        padding: 1.2rem 1rem 1rem;
    }

    .rdc-auth-brand-logo {
        width: 46px;
        height: 46px;
        flex-basis: 46px;
    }

    .rdc-auth-title {
        font-size: 1.7rem;
    }

    .rdc-auth-art-caption {
        right: 14px;
        left: 14px;
        width: auto;
        bottom: 12px;
        padding: .75rem .85rem;
    }

    .rdc-auth-art-caption strong {
        font-size: 1.15rem;
    }
}

@media (max-width: 575.98px) {
    .rdc-auth-stage {
        padding: .7rem;
    }

    .rdc-auth-frame {
        border-radius: 14px;
    }

    .rdc-auth-art-col {
        min-height: 205px;
        border-radius: 14px 14px 0 0;
    }

    .rdc-auth-photo-stage {
        inset: 8px 8px 62px 8px;
        border-radius: 12px;
    }

    .rdc-auth-form-col {
        border-radius: 0 0 14px 14px;
    }

    .rdc-auth-form .form-control,
    .rdc-auth-submit {
        min-height: 48px;
        border-radius: 12px;
    }

    .rdc-auth-form-meta {
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
    }

    .rdc-auth-footer-note {
        font-size: .84rem;
    }
}

/* Shared login visual refresh v2 (phone-card inspired, no guitar art) */
body.rdc-auth-page {
    background: #ececec;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

body.rdc-auth-page::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: .65;
    background:
        radial-gradient(circle at 12% 18%, rgba(255,255,255,.9) 0 20px, transparent 22px),
        radial-gradient(circle at 20% 28%, rgba(255,255,255,.55) 0 10px, transparent 12px),
        radial-gradient(circle at 82% 10%, rgba(255,255,255,.85) 0 16px, transparent 18px),
        radial-gradient(circle at 90% 16%, rgba(255,255,255,.55) 0 9px, transparent 11px),
        radial-gradient(circle at 88% 26%, rgba(255,255,255,.42) 0 7px, transparent 9px),
        radial-gradient(circle at 74% 86%, rgba(255,255,255,.35) 0 13px, transparent 15px),
        linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.45) 52%, rgba(255,255,255,0));
}

.rdc-auth-stage {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.25rem;
}

.rdc-auth-shell {
    width: min(1100px, 100%);
    position: relative;
}

.rdc-auth-shell::after {
    content: "";
    position: absolute;
    inset: 8% 48% 10% 48%;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,.08));
    filter: blur(10px);
    pointer-events: none;
}

.rdc-auth-frame {
    display: grid;
    grid-template-columns: minmax(340px, 430px) minmax(320px, 430px);
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    min-height: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    overflow: visible;
}

.rdc-auth-form-col,
.rdc-auth-art-col {
    border-radius: 34px;
    border: 1px solid rgba(15, 23, 42, 0.06);
    background: rgba(255,255,255,.94);
    box-shadow:
        0 28px 60px rgba(15, 23, 42, 0.08),
        0 2px 6px rgba(15, 23, 42, 0.04),
        inset 0 1px 0 rgba(255,255,255,.95);
}

.rdc-auth-form-col {
    margin: 0;
    padding: 1.55rem 1.6rem 1.35rem;
    min-height: 700px;
    justify-content: flex-start;
    position: relative;
    z-index: 2;
}

.rdc-auth-form-col::before {
    content: "9:41";
    position: absolute;
    top: 14px;
    left: 22px;
    color: #111827;
    font-weight: 700;
    font-size: .9rem;
    letter-spacing: .01em;
}

.rdc-auth-form-col::after {
    display: block;
    content: "";
    position: absolute;
    top: 18px;
    right: 22px;
    width: 54px;
    height: 10px;
    border-radius: 999px;
    background:
        radial-gradient(circle, #111827 0 1.5px, transparent 2px) 0 50% / 7px 10px repeat-x,
        linear-gradient(#111827, #111827) right 0 top 1px / 18px 8px no-repeat;
    opacity: .8;
}

.rdc-auth-brandline {
    margin-top: 3rem;
    margin-bottom: .65rem;
    justify-content: center;
    gap: .75rem;
    color: #10132b;
    font-size: clamp(1.8rem, 2.2vw, 2.45rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.rdc-auth-brandline span {
    display: inline-flex;
    align-items: center;
}

.rdc-auth-brand-logo {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    border-radius: 14px;
    padding: 4px;
    background: #fff;
    box-shadow:
        0 8px 18px rgba(15, 23, 42, 0.08),
        inset 0 0 0 1px rgba(15, 23, 42, 0.05);
}

.rdc-auth-eyebrow {
    align-self: center;
    margin-bottom: .95rem;
    padding: .35rem .72rem;
    border-radius: 999px;
    background: rgba(87, 95, 255, 0.10);
    color: #5562ff;
    font-size: .82rem;
    font-weight: 700;
}

.rdc-auth-eyebrow::before {
    width: 7px;
    height: 7px;
    background: #6673ff;
    box-shadow: 0 0 0 3px rgba(102, 115, 255, 0.14);
}

.rdc-auth-head {
    text-align: center;
    margin-bottom: .35rem;
}

.rdc-auth-title {
    color: #0f172a;
    font-size: clamp(2rem, 2.7vw, 2.45rem);
    margin-bottom: .45rem;
    letter-spacing: -0.03em;
}

.rdc-auth-subtitle {
    color: #5f6b7a;
    font-size: .98rem;
    line-height: 1.55;
    max-width: 32ch;
    margin: 0 auto 1.35rem;
}

.rdc-auth-form .mb-3 {
    margin-bottom: 1rem !important;
}

.rdc-auth-form .form-label {
    color: #1f2937;
    font-size: .9rem;
    font-weight: 700;
    margin-bottom: .45rem;
}

.rdc-auth-form .form-control {
    min-height: 56px;
    border-radius: 18px;
    border: 1px solid transparent;
    background: #f3f4f7;
    color: #111827;
    padding: .9rem 1rem;
    font-size: .95rem;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.85);
}

.rdc-auth-form .form-control::placeholder {
    color: #99a2af;
}

.rdc-auth-form .form-control:focus {
    background: #fff;
    color: #111827;
    border-color: rgba(79, 70, 229, 0.28);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.08);
}

.rdc-auth-submit {
    min-height: 56px;
    border-radius: 999px;
    margin-top: .25rem;
    background: linear-gradient(180deg, #15183a 0%, #10132d 100%);
    border: 0;
    color: #fff;
    font-weight: 700;
    letter-spacing: .01em;
    box-shadow: 0 14px 24px rgba(16, 19, 45, 0.18);
}

.rdc-auth-submit:hover,
.rdc-auth-submit:focus {
    background: linear-gradient(180deg, #1a1e46 0%, #121538 100%);
    box-shadow: 0 16px 28px rgba(16, 19, 45, 0.22);
}

.rdc-auth-form-meta {
    margin-top: .85rem;
    align-items: center;
    gap: .75rem;
}

.rdc-auth-remember {
    color: #303b4b;
    font-size: .92rem;
}

.rdc-auth-remember .form-check-input {
    width: 1.05rem;
    height: 1.05rem;
    margin-top: 0;
    border-radius: .35rem;
    border-color: #d3d9e3;
    background-color: #fff;
}

.rdc-auth-link {
    color: #111827;
    font-weight: 700;
    font-size: .9rem;
}

.rdc-auth-link:hover {
    color: #111827;
    opacity: .85;
}

.rdc-auth-footer-note {
    text-align: center;
    margin-top: 1rem;
    color: #64748b;
    font-size: .9rem;
}

.rdc-auth-footer-note a {
    color: #111827;
}

/* Decorative second card to mimic shared reference (no guitar/photo visuals) */
.rdc-auth-art-col {
    min-height: 690px;
    position: relative;
    transform: rotate(8deg);
    transform-origin: center;
    padding: 0;
    background: rgba(255,255,255,.92);
    overflow: hidden;
    pointer-events: none;
}

.rdc-auth-photo-stage {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(251,251,253,.96));
    border: 0;
    overflow: hidden;
}

.rdc-auth-hero-photo,
.rdc-auth-art-grid,
.rdc-auth-guitar,
.rdc-auth-guitar-head,
.rdc-auth-guitar-neck,
.rdc-auth-guitar-frets,
.rdc-auth-guitar-strings,
.rdc-auth-guitar-body,
.rdc-auth-guitar-pickguard {
    display: none !important;
}

.rdc-auth-photo-stage::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(#111827, #111827) 24px 26px / 34px 6px no-repeat,
        linear-gradient(#111827, #111827) calc(100% - 66px) 24px / 44px 10px no-repeat,
        radial-gradient(circle at 72px 96px, #0f172a 0 16px, transparent 17px),
        linear-gradient(#121633, #121633) 100px 80px / 170px 16px no-repeat,
        linear-gradient(#1c223f, #1c223f) 34px 120px / 260px 10px no-repeat,
        linear-gradient(#f2f3f7, #f2f3f7) 34px 188px / calc(100% - 68px) 54px no-repeat,
        linear-gradient(#f2f3f7, #f2f3f7) 34px 262px / calc(100% - 68px) 54px no-repeat,
        linear-gradient(#f2f3f7, #f2f3f7) 34px 336px / calc(100% - 68px) 54px no-repeat,
        linear-gradient(#10132d, #10132d) 34px 430px / calc(100% - 68px) 56px no-repeat,
        linear-gradient(#e3e6eb, #e3e6eb) 34px 540px / 38% 2px no-repeat,
        linear-gradient(#e3e6eb, #e3e6eb) calc(100% - 34px) 540px / 38% 2px no-repeat,
        radial-gradient(circle at calc(50% - 24px) 592px, #ffffff 0 18px, #e9edf3 19px, transparent 20px),
        radial-gradient(circle at calc(50% + 24px) 592px, #ffffff 0 18px, #e9edf3 19px, transparent 20px),
        linear-gradient(180deg, rgba(255,255,255,.95), rgba(250,250,252,.92));
}

.rdc-auth-photo-stage::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 86% 86%, rgba(99, 102, 241, .10), transparent 34%),
        radial-gradient(circle at 14% 18%, rgba(59, 130, 246, .06), transparent 28%);
}

.rdc-auth-art-caption {
    left: 26px;
    right: 26px;
    bottom: 34px;
    width: auto;
    border-radius: 20px;
    padding: .95rem 1rem;
    background: rgba(255,255,255,.86);
    border: 1px solid rgba(15, 23, 42, 0.06);
    color: #64748b;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
    letter-spacing: .04em;
    font-weight: 700;
}

.rdc-auth-art-caption strong {
    color: #111827;
    font-size: 1.15rem;
    line-height: 1.2;
    margin-top: .3rem;
    max-width: none;
}

@media (max-width: 1199.98px) {
    .rdc-auth-frame {
        gap: 1.8rem;
        grid-template-columns: minmax(320px, 410px) minmax(290px, 380px);
    }

    .rdc-auth-art-col {
        min-height: 620px;
        transform: rotate(6deg);
    }

    .rdc-auth-photo-stage::before {
        background:
            linear-gradient(#111827, #111827) 20px 22px / 28px 5px no-repeat,
            linear-gradient(#111827, #111827) calc(100% - 58px) 21px / 38px 8px no-repeat,
            radial-gradient(circle at 60px 82px, #0f172a 0 14px, transparent 15px),
            linear-gradient(#121633, #121633) 84px 68px / 140px 14px no-repeat,
            linear-gradient(#1c223f, #1c223f) 28px 102px / 220px 9px no-repeat,
            linear-gradient(#f2f3f7, #f2f3f7) 28px 162px / calc(100% - 56px) 48px no-repeat,
            linear-gradient(#f2f3f7, #f2f3f7) 28px 228px / calc(100% - 56px) 48px no-repeat,
            linear-gradient(#f2f3f7, #f2f3f7) 28px 294px / calc(100% - 56px) 48px no-repeat,
            linear-gradient(#10132d, #10132d) 28px 374px / calc(100% - 56px) 50px no-repeat,
            linear-gradient(#e3e6eb, #e3e6eb) 28px 468px / 37% 2px no-repeat,
            linear-gradient(#e3e6eb, #e3e6eb) calc(100% - 28px) 468px / 37% 2px no-repeat,
            radial-gradient(circle at calc(50% - 20px) 514px, #ffffff 0 16px, #e9edf3 17px, transparent 18px),
            radial-gradient(circle at calc(50% + 20px) 514px, #ffffff 0 16px, #e9edf3 17px, transparent 18px),
            linear-gradient(180deg, rgba(255,255,255,.95), rgba(250,250,252,.92));
    }
}

@media (max-width: 991.98px) {
    .rdc-auth-shell::after {
        display: none;
    }

    .rdc-auth-frame {
        grid-template-columns: 1fr;
        gap: 0;
        justify-items: center;
    }

    .rdc-auth-art-col {
        display: none;
    }

    .rdc-auth-form-col {
        width: min(430px, 100%);
        min-height: auto;
        border-radius: 28px;
        padding: 1.25rem 1.15rem 1.1rem;
    }

    .rdc-auth-brandline {
        margin-top: 2.2rem;
        font-size: 2rem;
    }

    .rdc-auth-brand-logo {
        width: 46px;
        height: 46px;
        flex-basis: 46px;
    }

    .rdc-auth-form-meta {
        flex-wrap: wrap;
        justify-content: space-between;
    }
}

@media (max-width: 575.98px) {
    .rdc-auth-stage {
        padding: .85rem;
    }

    .rdc-auth-form-col {
        border-radius: 22px;
        padding: 1rem .95rem 1rem;
    }

    .rdc-auth-form-col::before {
        top: 12px;
        left: 16px;
        font-size: .82rem;
    }

    .rdc-auth-form-col::after {
        top: 15px;
        right: 16px;
        width: 46px;
    }

    .rdc-auth-brandline {
        margin-top: 1.95rem;
        font-size: 1.65rem;
        gap: .55rem;
    }

    .rdc-auth-brand-logo {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
        border-radius: 11px;
    }

    .rdc-auth-title {
        font-size: 1.85rem;
    }

    .rdc-auth-subtitle {
        font-size: .9rem;
    }

    .rdc-auth-form .form-control,
    .rdc-auth-submit {
        min-height: 50px;
        border-radius: 14px;
    }

    .rdc-auth-submit {
        border-radius: 999px;
    }

    .rdc-auth-form-meta {
        width: 100%;
        gap: .5rem;
        flex-direction: column;
        align-items: flex-start;
    }

    .rdc-auth-link {
        align-self: flex-end;
    }
}

/* Shared login visual refresh v3 (strict override, reference-matching phone cards) */
body.authentication-bg.rdc-auth-page {
    background: #ececec !important;
    background-image: none !important;
}

body.authentication-bg.rdc-auth-page::before {
    opacity: .72;
}

body.authentication-bg.rdc-auth-page::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse at 50% 55%, rgba(255,255,255,.65) 0%, rgba(255,255,255,.38) 26%, rgba(255,255,255,0) 64%),
        linear-gradient(90deg, rgba(255,255,255,0) 36%, rgba(255,255,255,.48) 50%, rgba(255,255,255,0) 64%);
    opacity: .7;
}

body.authentication-bg.rdc-auth-page .rdc-auth-stage {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.25rem 1.25rem;
    position: relative;
    z-index: 1;
}

body.authentication-bg.rdc-auth-page .rdc-auth-shell {
    width: min(980px, 100%);
    position: relative;
}

body.authentication-bg.rdc-auth-page .rdc-auth-shell::after {
    inset: 7% 49% 9% 49%;
    background: linear-gradient(180deg, rgba(255,255,255,.58), rgba(255,255,255,.06));
    filter: blur(14px);
}

body.authentication-bg.rdc-auth-page .rdc-auth-frame {
    display: grid;
    grid-template-columns: minmax(340px, 420px) minmax(340px, 420px);
    justify-content: center;
    align-items: center;
    gap: 2.75rem;
    min-height: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
}

body.authentication-bg.rdc-auth-page .rdc-auth-form-col,
body.authentication-bg.rdc-auth-page .rdc-auth-art-col {
    display: flex;
    flex-direction: column;
    border-radius: 34px;
    border: 1px solid rgba(15, 23, 42, 0.05);
    background: rgba(255,255,255,.97);
    box-shadow:
        0 26px 55px rgba(15, 23, 42, 0.07),
        0 2px 6px rgba(15, 23, 42, 0.03),
        inset 0 1px 0 rgba(255,255,255,.98);
}

body.authentication-bg.rdc-auth-page .rdc-auth-form-col {
    margin: 0;
    padding: 1.5rem 1.5rem 1.25rem;
    min-height: 680px;
    justify-content: flex-start;
    transform: rotate(-7deg);
    transform-origin: center;
    position: relative;
    z-index: 2;
}

body.authentication-bg.rdc-auth-page .rdc-auth-form {
    width: 100%;
}

body.authentication-bg.rdc-auth-page .rdc-auth-form-col::before {
    content: "9:41";
    position: absolute;
    top: 14px;
    left: 22px;
    font-weight: 700;
    font-size: .95rem;
    color: #0f172a;
    letter-spacing: .01em;
}

body.authentication-bg.rdc-auth-page .rdc-auth-form-col::after {
    display: block;
    content: "";
    position: absolute;
    top: 20px;
    right: 22px;
    width: 54px;
    height: 9px;
    border-radius: 999px;
    background:
        radial-gradient(circle, #111827 0 1.3px, transparent 2px) left center / 7px 9px repeat-x,
        linear-gradient(#111827,#111827) right center / 16px 8px no-repeat;
    opacity: .85;
}

body.authentication-bg.rdc-auth-page .rdc-auth-brandline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .65rem;
    margin-top: 3.15rem;
    margin-bottom: .85rem;
    color: #0f1230;
    font-size: clamp(1.9rem, 2.4vw, 2.65rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.05;
}

body.authentication-bg.rdc-auth-page .rdc-auth-brand-logo {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    padding: 4px;
    border-radius: 12px;
    background: #fff;
    box-shadow:
        0 8px 18px rgba(15, 23, 42, 0.08),
        inset 0 0 0 1px rgba(15, 23, 42, 0.06);
}

body.authentication-bg.rdc-auth-page .rdc-auth-eyebrow {
    display: none;
}

body.authentication-bg.rdc-auth-page .rdc-auth-head {
    text-align: center;
    margin-bottom: .8rem;
}

body.authentication-bg.rdc-auth-page .rdc-auth-title {
    font-size: 2.25rem;
    color: #0f172a;
    margin-bottom: .4rem;
    letter-spacing: -0.03em;
}

body.authentication-bg.rdc-auth-page .rdc-auth-subtitle {
    color: #5f6b7a;
    font-size: .95rem;
    line-height: 1.45;
    max-width: 30ch;
    margin: 0 auto 1.2rem;
}

body.authentication-bg.rdc-auth-page .rdc-auth-form .form-label {
    color: #0f172a;
    font-weight: 700;
    font-size: .86rem;
    margin-bottom: .45rem;
}

body.authentication-bg.rdc-auth-page .rdc-auth-form .form-control {
    min-height: 54px;
    border-radius: 999px;
    border: 1px solid transparent;
    background: #f4f4f6;
    color: #111827;
    font-size: .94rem;
    padding: .9rem 1rem;
    box-shadow: none;
}

body.authentication-bg.rdc-auth-page .rdc-auth-form .form-control:focus {
    background: #fff;
    border-color: rgba(31, 41, 55, .12);
    box-shadow: 0 0 0 4px rgba(17, 24, 39, .05);
}

body.authentication-bg.rdc-auth-page .rdc-auth-submit {
    width: 100%;
    min-height: 56px;
    border-radius: 999px;
    background: linear-gradient(180deg, #111536 0%, #0c112b 100%);
    border: 0;
    color: #fff;
    font-size: .98rem;
    font-weight: 700;
    box-shadow: 0 14px 24px rgba(12, 17, 43, .16);
}

body.authentication-bg.rdc-auth-page .rdc-auth-submit:hover,
body.authentication-bg.rdc-auth-page .rdc-auth-submit:focus {
    background: linear-gradient(180deg, #131941 0%, #0f1536 100%);
}

body.authentication-bg.rdc-auth-page .rdc-auth-form-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .8rem;
    margin-top: .85rem;
}

body.authentication-bg.rdc-auth-page .rdc-auth-remember {
    color: #364152;
    font-size: .9rem;
}

body.authentication-bg.rdc-auth-page .rdc-auth-remember .form-check-input {
    width: 1rem;
    height: 1rem;
    border-radius: .35rem;
    border-color: #d7dbe3;
}

body.authentication-bg.rdc-auth-page .rdc-auth-link {
    color: #121735;
    font-size: .9rem;
    font-weight: 700;
}

body.authentication-bg.rdc-auth-page .rdc-auth-footer-note {
    margin-top: 1.05rem;
    text-align: center;
    color: #6b7280;
}

body.authentication-bg.rdc-auth-page .rdc-auth-footer-note a {
    color: #121735;
    font-weight: 700;
}

body.authentication-bg.rdc-auth-page .rdc-auth-art-col {
    min-height: 680px;
    position: relative;
    transform: rotate(8deg);
    transform-origin: center;
    pointer-events: none;
    overflow: hidden;
}

body.authentication-bg.rdc-auth-page .rdc-auth-photo-stage {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(252,252,253,.96));
    border: 0;
    overflow: hidden;
}

body.authentication-bg.rdc-auth-page .rdc-auth-hero-photo,
body.authentication-bg.rdc-auth-page .rdc-auth-art-grid,
body.authentication-bg.rdc-auth-page .rdc-auth-guitar,
body.authentication-bg.rdc-auth-page .rdc-auth-guitar-head,
body.authentication-bg.rdc-auth-page .rdc-auth-guitar-neck,
body.authentication-bg.rdc-auth-page .rdc-auth-guitar-frets,
body.authentication-bg.rdc-auth-page .rdc-auth-guitar-strings,
body.authentication-bg.rdc-auth-page .rdc-auth-guitar-body,
body.authentication-bg.rdc-auth-page .rdc-auth-guitar-pickguard,
body.authentication-bg.rdc-auth-page .rdc-auth-art-caption {
    display: none !important;
}

body.authentication-bg.rdc-auth-page .rdc-auth-photo-stage::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(#111827, #111827) 22px 24px / 34px 6px no-repeat,
        linear-gradient(#111827, #111827) calc(100% - 66px) 24px / 44px 10px no-repeat,
        radial-gradient(circle at 76px 98px, #0f172a 0 17px, transparent 18px),
        linear-gradient(#111630, #111630) 104px 82px / 168px 16px no-repeat,
        linear-gradient(#1c223f, #1c223f) 34px 122px / 258px 10px no-repeat,
        linear-gradient(#f2f3f7, #f2f3f7) 34px 190px / calc(100% - 68px) 54px no-repeat,
        linear-gradient(#f2f3f7, #f2f3f7) 34px 264px / calc(100% - 68px) 54px no-repeat,
        linear-gradient(#f2f3f7, #f2f3f7) 34px 338px / calc(100% - 68px) 54px no-repeat,
        linear-gradient(#10132d, #10132d) 34px 434px / calc(100% - 68px) 56px no-repeat,
        linear-gradient(#ebedf1, #ebedf1) 34px 548px / 38% 2px no-repeat,
        linear-gradient(#ebedf1, #ebedf1) calc(100% - 34px) 548px / 38% 2px no-repeat,
        radial-gradient(circle at calc(50% - 24px) 600px, #ffffff 0 19px, #e9edf3 20px, transparent 21px),
        radial-gradient(circle at calc(50% + 24px) 600px, #ffffff 0 19px, #e9edf3 20px, transparent 21px),
        linear-gradient(180deg, rgba(255,255,255,.96), rgba(251,251,253,.93));
}

body.authentication-bg.rdc-auth-page .rdc-auth-photo-stage::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 86% 86%, rgba(99,102,241,.08), transparent 34%),
        radial-gradient(circle at 14% 20%, rgba(59,130,246,.05), transparent 28%);
}

@media (max-width: 991.98px) {
    body.authentication-bg.rdc-auth-page .rdc-auth-shell::after,
    body.authentication-bg.rdc-auth-page::after {
        display: none;
    }

    body.authentication-bg.rdc-auth-page .rdc-auth-frame {
        grid-template-columns: 1fr;
        gap: 0;
        justify-items: center;
    }

    body.authentication-bg.rdc-auth-page .rdc-auth-art-col {
        display: none;
    }

    body.authentication-bg.rdc-auth-page .rdc-auth-form-col {
        transform: none;
        width: min(430px, 100%);
        min-height: auto;
        border-radius: 26px;
        padding: 1.15rem 1.05rem 1rem;
    }

    body.authentication-bg.rdc-auth-page .rdc-auth-brandline {
        margin-top: 2.2rem;
        font-size: 1.9rem;
    }
}

@media (max-width: 575.98px) {
    body.authentication-bg.rdc-auth-page .rdc-auth-stage {
        padding: .85rem;
    }

    body.authentication-bg.rdc-auth-page .rdc-auth-form-col {
        border-radius: 20px;
        padding: .95rem .9rem .95rem;
    }

    body.authentication-bg.rdc-auth-page .rdc-auth-form-col::before {
        top: 12px;
        left: 16px;
        font-size: .84rem;
    }

    body.authentication-bg.rdc-auth-page .rdc-auth-form-col::after {
        top: 16px;
        right: 16px;
        width: 46px;
    }

    body.authentication-bg.rdc-auth-page .rdc-auth-brandline {
        margin-top: 1.95rem;
        font-size: 1.55rem;
    }

    body.authentication-bg.rdc-auth-page .rdc-auth-brand-logo {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
    }

    body.authentication-bg.rdc-auth-page .rdc-auth-title {
        font-size: 1.9rem;
    }

    body.authentication-bg.rdc-auth-page .rdc-auth-form .form-control,
    body.authentication-bg.rdc-auth-page .rdc-auth-submit {
        min-height: 50px;
    }

    body.authentication-bg.rdc-auth-page .rdc-auth-form-meta {
        flex-direction: column;
        align-items: flex-start;
    }

    body.authentication-bg.rdc-auth-page .rdc-auth-link {
        align-self: flex-end;
    }
}

/* Shared login visual refresh v4 (modern polish + live clock + signup preview card) */
body.authentication-bg.rdc-auth-page .rdc-auth-form-col::before,
body.authentication-bg.rdc-auth-page .rdc-auth-form-col::after {
    display: none !important;
}

body.authentication-bg.rdc-auth-page .rdc-auth-stage {
    background: none;
}

/* Shared auth register page (labels/register.php) using login design system */
body.authentication-bg.rdc-auth-page.rdc-auth-register-page .rdc-auth-shell {
    width: min(980px, 100%);
}

body.authentication-bg.rdc-auth-page.rdc-auth-register-page .rdc-auth-shell::before {
    inset: 8% 8% 4% 8%;
}

body.authentication-bg.rdc-auth-page.rdc-auth-register-page .rdc-auth-frame {
    grid-template-columns: minmax(560px, 820px) !important;
}

body.authentication-bg.rdc-auth-page.rdc-auth-register-page .rdc-auth-form-col {
    width: min(820px, 100%);
    padding: 1.25rem 1.45rem 1.25rem;
    border-radius: 28px;
}

body.authentication-bg.rdc-auth-page.rdc-auth-register-page .rdc-auth-brandline {
    justify-content: flex-start;
    font-size: clamp(1.55rem, 2vw, 2.1rem);
    padding: .7rem .85rem;
    margin-bottom: .95rem;
}

body.authentication-bg.rdc-auth-page.rdc-auth-register-page .rdc-auth-head {
    text-align: left;
    margin-bottom: .95rem;
}

body.authentication-bg.rdc-auth-page.rdc-auth-register-page .rdc-auth-title {
    font-size: clamp(2rem, 2.6vw, 2.5rem);
}

body.authentication-bg.rdc-auth-page.rdc-auth-register-page .rdc-auth-subtitle {
    margin-left: 0;
    margin-right: 0;
    max-width: 48ch;
}

body.authentication-bg.rdc-auth-page.rdc-auth-register-page .rdc-auth-register-form {
    width: 100%;
}

body.authentication-bg.rdc-auth-page.rdc-auth-register-page .rdc-auth-register-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .95rem 1rem;
}

body.authentication-bg.rdc-auth-page.rdc-auth-register-page .rdc-auth-register-grid > .mb-3 {
    margin-bottom: 0 !important;
}

body.authentication-bg.rdc-auth-page.rdc-auth-register-page .rdc-auth-register-span-2 {
    grid-column: 1 / -1;
}

body.authentication-bg.rdc-auth-page.rdc-auth-register-page .rdc-auth-form .form-control {
    min-height: 52px;
}

body.authentication-bg.rdc-auth-page.rdc-auth-register-page .rdc-auth-register-hint-row {
    min-height: 18px;
    margin-top: .35rem;
    display: flex;
    align-items: center;
}

body.authentication-bg.rdc-auth-page.rdc-auth-register-page .rdc-auth-register-hint {
    color: #94a3b8;
    font-size: .78rem;
}

body.authentication-bg.rdc-auth-page.rdc-auth-register-page .rdc-auth-register-match-msg {
    font-size: .8rem;
}

body.authentication-bg.rdc-auth-page.rdc-auth-register-page .rdc-auth-register-consent {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    width: 100%;
    padding: .85rem .95rem;
    background: rgba(248, 250, 252, .95);
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    cursor: pointer;
    user-select: none;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

body.authentication-bg.rdc-auth-page.rdc-auth-register-page .rdc-auth-register-consent:focus-within {
    border-color: rgba(99, 102, 241, .35);
    box-shadow: 0 0 0 .2rem rgba(99, 102, 241, .06);
    background: #fbfdff;
}

body.authentication-bg.rdc-auth-page.rdc-auth-register-page .rdc-auth-register-consent-input {
    width: 1.05rem;
    height: 1.05rem;
    min-width: 1.05rem;
    margin: .1rem 0 0 0;
    border-radius: .35rem;
    border: 1.5px solid #cbd5e1;
    background-color: #fff;
    appearance: none;
    -webkit-appearance: none;
    position: relative;
    flex-shrink: 0;
    cursor: pointer;
}

body.authentication-bg.rdc-auth-page.rdc-auth-register-page .rdc-auth-register-consent-input:checked {
    border-color: #1f2b72;
    background: linear-gradient(135deg, #0d1231 0%, #1b255e 100%);
}

body.authentication-bg.rdc-auth-page.rdc-auth-register-page .rdc-auth-register-consent-input:checked::after {
    content: "";
    position: absolute;
    left: 4px;
    top: 1px;
    width: 4px;
    height: 8px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

body.authentication-bg.rdc-auth-page.rdc-auth-register-page .rdc-auth-register-consent-copy {
    display: flex;
    flex-direction: column;
    gap: .2rem;
    line-height: 1.2;
}

body.authentication-bg.rdc-auth-page.rdc-auth-register-page .rdc-auth-register-consent-copy .title {
    color: #334155;
    font-weight: 600;
}

body.authentication-bg.rdc-auth-page.rdc-auth-register-page .rdc-auth-register-consent-copy .subtitle {
    color: #94a3b8;
    font-size: .78rem;
}

body.authentication-bg.rdc-auth-page.rdc-auth-register-page .rdc-auth-register-consent-copy a {
    color: #1f2b72;
    text-decoration: none;
}

body.authentication-bg.rdc-auth-page.rdc-auth-register-page .rdc-auth-register-consent-copy a:hover {
    text-decoration: underline;
}

body.authentication-bg.rdc-auth-page.rdc-auth-register-page .rdc-auth-submit {
    min-height: 54px;
}

body.authentication-bg.rdc-auth-page.rdc-auth-register-page .rdc-auth-footer-note {
    text-align: center;
    margin-top: .95rem;
}

@media (max-width: 991.98px) {
    body.authentication-bg.rdc-auth-page.rdc-auth-register-page .rdc-auth-shell {
        width: min(720px, 100%);
    }

    body.authentication-bg.rdc-auth-page.rdc-auth-register-page .rdc-auth-form-col {
        width: min(720px, 100%);
        padding: 1rem 1rem 1.05rem;
        border-radius: 24px;
    }

    body.authentication-bg.rdc-auth-page.rdc-auth-register-page .rdc-auth-register-grid {
        grid-template-columns: 1fr;
        gap: .9rem;
    }

    body.authentication-bg.rdc-auth-page.rdc-auth-register-page .rdc-auth-register-span-2 {
        grid-column: auto;
    }
}

@media (max-width: 575.98px) {
    body.authentication-bg.rdc-auth-page.rdc-auth-register-page .rdc-auth-form-col {
        border-radius: 20px;
        padding: .9rem .85rem 1rem;
    }

    body.authentication-bg.rdc-auth-page.rdc-auth-register-page .rdc-auth-brandline {
        font-size: 1.35rem;
        padding: .55rem .65rem;
    }

    body.authentication-bg.rdc-auth-page.rdc-auth-register-page .rdc-auth-title {
        font-size: 1.75rem;
    }

    body.authentication-bg.rdc-auth-page.rdc-auth-register-page .rdc-auth-subtitle {
        font-size: .9rem;
    }

    body.authentication-bg.rdc-auth-page.rdc-auth-register-page .rdc-auth-register-consent {
        padding: .75rem .8rem;
        border-radius: 14px;
    }
}

body.authentication-bg.rdc-auth-page .rdc-auth-shell::before {
    content: "";
    position: absolute;
    inset: 5% 6% 4% 6%;
    background: radial-gradient(circle at 50% 56%, rgba(203, 213, 225, .35), rgba(203, 213, 225, 0) 65%);
    filter: blur(10px);
    pointer-events: none;
}

body.authentication-bg.rdc-auth-page .rdc-auth-form-col,
body.authentication-bg.rdc-auth-page .rdc-auth-art-col {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

body.authentication-bg.rdc-auth-page .rdc-auth-form-col {
    overflow: hidden;
}

body.authentication-bg.rdc-auth-page .rdc-auth-form-col::selection,
body.authentication-bg.rdc-auth-page .rdc-auth-art-col::selection {
    background: rgba(99, 102, 241, .18);
}

body.authentication-bg.rdc-auth-page .rdc-auth-phone-status {
    position: absolute;
    top: 14px;
    left: 18px;
    right: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 3;
    pointer-events: none;
}

body.authentication-bg.rdc-auth-page .rdc-auth-phone-time {
    color: #111827;
    font-weight: 700;
    font-size: .92rem;
    letter-spacing: .01em;
    min-width: 3.2ch;
}

body.authentication-bg.rdc-auth-page .rdc-auth-phone-icons {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
}

body.authentication-bg.rdc-auth-page .rdc-auth-phone-icons span {
    display: inline-block;
    background: #111827;
    opacity: .92;
}

body.authentication-bg.rdc-auth-page .rdc-auth-phone-icons span:nth-child(1) {
    width: 14px;
    height: 2px;
    border-radius: 999px;
}

body.authentication-bg.rdc-auth-page .rdc-auth-phone-icons span:nth-child(2) {
    width: 4px;
    height: 4px;
    border-radius: 50%;
}

body.authentication-bg.rdc-auth-page .rdc-auth-phone-icons span:nth-child(3) {
    width: 16px;
    height: 8px;
    border-radius: 3px;
    border: 1.5px solid #111827;
    background: transparent;
    position: relative;
}

body.authentication-bg.rdc-auth-page .rdc-auth-phone-icons span:nth-child(3)::after {
    content: "";
    position: absolute;
    top: 1px;
    left: 1px;
    width: 10px;
    height: 4px;
    border-radius: 1px;
    background: #111827;
}

body.authentication-bg.rdc-auth-page .rdc-auth-brandline {
    margin-top: 2.95rem;
    gap: .7rem;
    position: relative;
}

body.authentication-bg.rdc-auth-page .rdc-auth-brandline::after {
    content: "";
    position: absolute;
    inset: -10px -18px;
    border-radius: 16px;
    background: radial-gradient(circle at 20% 40%, rgba(99,102,241,.06), transparent 55%);
    z-index: -1;
}

body.authentication-bg.rdc-auth-page .rdc-auth-head {
    margin-bottom: .95rem;
}

body.authentication-bg.rdc-auth-page .rdc-auth-title {
    font-weight: 800;
    text-shadow: 0 1px 0 rgba(255,255,255,.8);
}

body.authentication-bg.rdc-auth-page .rdc-auth-subtitle {
    max-width: 31ch;
}

body.authentication-bg.rdc-auth-page .rdc-auth-form .form-label {
    margin-left: .25rem;
}

body.authentication-bg.rdc-auth-page .rdc-auth-form .form-control {
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

body.authentication-bg.rdc-auth-page .rdc-auth-form .form-control:not(:focus) {
    border-color: rgba(15, 23, 42, 0.03);
}

body.authentication-bg.rdc-auth-page .rdc-auth-submit {
    letter-spacing: .015em;
    background: linear-gradient(135deg, #0d1231 0%, #131b47 54%, #1b255e 100%);
    position: relative;
    overflow: hidden;
}

body.authentication-bg.rdc-auth-page .rdc-auth-submit::before {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,0));
    pointer-events: none;
}

body.authentication-bg.rdc-auth-page .rdc-auth-submit:hover,
body.authentication-bg.rdc-auth-page .rdc-auth-submit:focus {
    transform: translateY(-1px);
    box-shadow: 0 18px 28px rgba(12, 17, 43, .2);
}

body.authentication-bg.rdc-auth-page .rdc-auth-form-meta {
    padding-inline: .25rem;
}

body.authentication-bg.rdc-auth-page .rdc-auth-art-col {
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    padding: 0;
    background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(252,252,254,.93));
}

body.authentication-bg.rdc-auth-page .rdc-auth-photo-stage {
    display: none !important;
}

body.authentication-bg.rdc-auth-page .rdc-auth-preview-card {
    position: relative;
    width: 100%;
    min-height: 100%;
    padding: 1.4rem 1.35rem 1.25rem;
    display: flex;
    flex-direction: column;
    border-radius: inherit;
    background:
        radial-gradient(circle at 18% 18%, rgba(99,102,241,.07), transparent 36%),
        radial-gradient(circle at 88% 88%, rgba(59,130,246,.05), transparent 42%),
        linear-gradient(180deg, rgba(255,255,255,.99), rgba(251,251,253,.95));
}

body.authentication-bg.rdc-auth-page .rdc-auth-phone-status--preview {
    position: static;
    margin-bottom: 2.6rem;
}

body.authentication-bg.rdc-auth-page .rdc-auth-preview-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    color: #0f1230;
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.02em;
    margin-bottom: .75rem;
}

body.authentication-bg.rdc-auth-page .rdc-auth-preview-logo {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    padding: 2px;
    background: #fff;
    box-shadow: inset 0 0 0 1px rgba(15,23,42,.06);
}

body.authentication-bg.rdc-auth-page .rdc-auth-preview-title {
    margin: 0;
    text-align: center;
    color: #111827;
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

body.authentication-bg.rdc-auth-page .rdc-auth-preview-subtitle {
    margin: .35rem auto 1.15rem;
    max-width: 30ch;
    text-align: center;
    color: #64748b;
    font-size: .9rem;
    line-height: 1.45;
}

body.authentication-bg.rdc-auth-page .rdc-auth-preview-fields {
    display: grid;
    gap: .75rem;
    margin-top: .25rem;
}

body.authentication-bg.rdc-auth-page .rdc-auth-preview-field {
    height: 50px;
    border-radius: 999px;
    background: #f3f4f7;
    border: 1px solid rgba(15, 23, 42, 0.03);
    display: flex;
    align-items: center;
    padding: 0 1rem;
    color: #9aa3b2;
    font-size: .88rem;
    position: relative;
}

body.authentication-bg.rdc-auth-page .rdc-auth-preview-field::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 3px;
    border: 1.5px solid #7c8698;
    margin-right: .7rem;
    opacity: .8;
    flex-shrink: 0;
}

body.authentication-bg.rdc-auth-page .rdc-auth-preview-cta {
    margin-top: 1rem;
    height: 54px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0d1231 0%, #161f55 55%, #202b69 100%);
    color: #fff;
    font-weight: 700;
    letter-spacing: .01em;
    box-shadow: 0 14px 24px rgba(12,17,43,.14);
}

body.authentication-bg.rdc-auth-page .rdc-auth-preview-divider {
    position: relative;
    margin: 1rem 0 .7rem;
    text-align: center;
    color: #6b7280;
    font-size: .78rem;
    font-weight: 600;
}

body.authentication-bg.rdc-auth-page .rdc-auth-preview-divider::before,
body.authentication-bg.rdc-auth-page .rdc-auth-preview-divider::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 34%;
    height: 1px;
    background: #e5e7eb;
}

body.authentication-bg.rdc-auth-page .rdc-auth-preview-divider::before { left: 0; }
body.authentication-bg.rdc-auth-page .rdc-auth-preview-divider::after { right: 0; }

body.authentication-bg.rdc-auth-page .rdc-auth-preview-divider span {
    background: rgba(255,255,255,.94);
    padding: 0 .45rem;
    position: relative;
    z-index: 1;
}

body.authentication-bg.rdc-auth-page .rdc-auth-preview-socials {
    display: flex;
    justify-content: center;
    gap: .8rem;
    margin-bottom: .75rem;
}

body.authentication-bg.rdc-auth-page .rdc-auth-preview-socials span {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.05);
    color: #111827;
    font-weight: 800;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
}

body.authentication-bg.rdc-auth-page .rdc-auth-preview-footnote {
    margin-top: auto;
    text-align: center;
    color: #6b7280;
    font-size: .88rem;
}

body.authentication-bg.rdc-auth-page .rdc-auth-preview-footnote strong {
    color: #111827;
    font-weight: 700;
}

@media (max-width: 1199.98px) {
    body.authentication-bg.rdc-auth-page .rdc-auth-frame {
        gap: 2rem;
        grid-template-columns: minmax(320px, 400px) minmax(320px, 400px);
    }

    body.authentication-bg.rdc-auth-page .rdc-auth-form-col,
    body.authentication-bg.rdc-auth-page .rdc-auth-art-col {
        min-height: 630px;
    }

    body.authentication-bg.rdc-auth-page .rdc-auth-preview-title,
    body.authentication-bg.rdc-auth-page .rdc-auth-title {
        font-size: 1.9rem;
    }
}

@media (max-width: 991.98px) {
    body.authentication-bg.rdc-auth-page .rdc-auth-form-col {
        transform: none;
        overflow: visible;
    }

    body.authentication-bg.rdc-auth-page .rdc-auth-phone-status {
        top: 12px;
        left: 14px;
        right: 14px;
    }
}

@media (max-width: 575.98px) {
    body.authentication-bg.rdc-auth-page .rdc-auth-phone-time {
        font-size: .84rem;
    }

    body.authentication-bg.rdc-auth-page .rdc-auth-phone-icons span:nth-child(1) {
        width: 12px;
    }

    body.authentication-bg.rdc-auth-page .rdc-auth-form-meta {
        gap: .5rem;
    }
}

/* Shared login visual refresh v5 (single-card desktop layout, no side signup preview) */
body.authentication-bg.rdc-auth-page .rdc-auth-shell {
    width: min(700px, 100%);
}

body.authentication-bg.rdc-auth-page .rdc-auth-shell::after {
    display: none !important;
}

body.authentication-bg.rdc-auth-page .rdc-auth-shell::before {
    inset: 6% 12% 4% 12%;
    background: radial-gradient(circle at 50% 56%, rgba(203, 213, 225, .42), rgba(203, 213, 225, 0) 70%);
    filter: blur(14px);
}

body.authentication-bg.rdc-auth-page .rdc-auth-frame {
    grid-template-columns: minmax(420px, 560px) !important;
    justify-content: center;
    gap: 0 !important;
}

body.authentication-bg.rdc-auth-page .rdc-auth-art-col {
    display: none !important;
}

body.authentication-bg.rdc-auth-page .rdc-auth-form-col {
    width: min(560px, 100%);
    min-height: auto !important;
    margin: 0 auto;
    padding: 1.1rem 1.5rem 1.25rem;
    border-radius: 30px;
    transform: none !important;
    box-shadow:
        0 30px 70px rgba(15, 23, 42, 0.09),
        0 8px 20px rgba(15, 23, 42, 0.04),
        inset 0 1px 0 rgba(255,255,255,.98);
}

body.authentication-bg.rdc-auth-page .rdc-auth-phone-status {
    position: static;
    margin-bottom: .7rem;
    padding: .15rem .1rem 0;
}

body.authentication-bg.rdc-auth-page .rdc-auth-brandline {
    margin-top: .15rem;
    margin-bottom: .85rem;
    padding: .75rem .85rem;
    border-radius: 16px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.85);
}

body.authentication-bg.rdc-auth-page .rdc-auth-brandline::after {
    display: none;
}

body.authentication-bg.rdc-auth-page .rdc-auth-brand-logo {
    width: 50px;
    height: 50px;
    flex-basis: 50px;
    border-radius: 13px;
}

body.authentication-bg.rdc-auth-page .rdc-auth-head {
    margin-bottom: 1rem;
}

body.authentication-bg.rdc-auth-page .rdc-auth-title {
    font-size: clamp(2.25rem, 3vw, 2.95rem);
}

body.authentication-bg.rdc-auth-page .rdc-auth-subtitle {
    font-size: 1rem;
    max-width: 33ch;
}

body.authentication-bg.rdc-auth-page .rdc-auth-form .mb-3 {
    margin-bottom: 1.05rem !important;
}

body.authentication-bg.rdc-auth-page .rdc-auth-form .form-label {
    font-size: .9rem;
    margin-left: .2rem;
}

body.authentication-bg.rdc-auth-page .rdc-auth-form .form-control {
    min-height: 56px;
    border-radius: 999px;
    padding-inline: 1.15rem;
}

body.authentication-bg.rdc-auth-page .rdc-auth-submit {
    min-height: 58px;
    margin-top: .15rem;
    font-size: 1.02rem;
}

body.authentication-bg.rdc-auth-page .rdc-auth-form-meta {
    margin-top: .95rem;
    padding-inline: .15rem;
}

body.authentication-bg.rdc-auth-page .rdc-auth-footer-note {
    margin-top: .95rem;
    padding-inline: .15rem;
}

@media (max-width: 991.98px) {
    body.authentication-bg.rdc-auth-page .rdc-auth-shell {
        width: min(560px, 100%);
    }

    body.authentication-bg.rdc-auth-page .rdc-auth-form-col {
        width: min(520px, 100%);
        border-radius: 24px;
        padding: 1rem 1rem 1.05rem;
    }

    body.authentication-bg.rdc-auth-page .rdc-auth-brandline {
        margin-top: .1rem;
        font-size: 1.85rem;
        padding: .65rem .75rem;
    }

    body.authentication-bg.rdc-auth-page .rdc-auth-title {
        font-size: 2rem;
    }
}

@media (max-width: 575.98px) {
    body.authentication-bg.rdc-auth-page .rdc-auth-form-col {
        border-radius: 20px;
        padding: .9rem .85rem 1rem;
    }

    body.authentication-bg.rdc-auth-page .rdc-auth-phone-status {
        margin-bottom: .55rem;
    }

    body.authentication-bg.rdc-auth-page .rdc-auth-brandline {
        font-size: 1.45rem;
        gap: .5rem;
        border-radius: 14px;
        padding: .55rem .6rem;
    }

    body.authentication-bg.rdc-auth-page .rdc-auth-brand-logo {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
    }

    body.authentication-bg.rdc-auth-page .rdc-auth-title {
        font-size: 1.75rem;
    }

    body.authentication-bg.rdc-auth-page .rdc-auth-subtitle {
        font-size: .9rem;
    }

    body.authentication-bg.rdc-auth-page .rdc-auth-form .form-control,
    body.authentication-bg.rdc-auth-page .rdc-auth-submit {
        min-height: 50px;
    }
}

/* Shared login visual refresh v6 (remove phone status icons/time) */
body.authentication-bg.rdc-auth-page .rdc-auth-phone-status {
    display: none !important;
}

body.authentication-bg.rdc-auth-page .rdc-auth-brandline {
    margin-top: 0 !important;
}

/* Shared login visual refresh v7 (music-themed premium background) */
body.authentication-bg.rdc-auth-page {
    background:
        radial-gradient(circle at 12% 18%, rgba(255, 120, 72, 0.14), transparent 28%),
        radial-gradient(circle at 86% 14%, rgba(99, 102, 241, 0.14), transparent 34%),
        radial-gradient(circle at 78% 82%, rgba(236, 72, 153, 0.10), transparent 34%),
        radial-gradient(circle at 28% 78%, rgba(14, 165, 233, 0.08), transparent 30%),
        linear-gradient(135deg, #f5f5f7 0%, #edf0f7 42%, #f6f2f8 100%) !important;
}

body.authentication-bg.rdc-auth-page::before {
    opacity: .45 !important;
    background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.18) 50%, rgba(255,255,255,0));
    background-repeat: no-repeat;
}

body.authentication-bg.rdc-auth-page::after {
    opacity: .85 !important;
    background:
        radial-gradient(ellipse at 50% 58%, rgba(59, 130, 246, .08) 0%, rgba(255,255,255,0) 55%),
        radial-gradient(ellipse at 52% 62%, rgba(168, 85, 247, .07) 0%, rgba(255,255,255,0) 62%),
        linear-gradient(90deg, rgba(255,255,255,0) 36%, rgba(255,255,255,.35) 50%, rgba(255,255,255,0) 64%);
}

body.authentication-bg.rdc-auth-page .rdc-auth-shell::before {
    background:
        radial-gradient(circle at 50% 56%, rgba(79, 70, 229, .10), rgba(79, 70, 229, 0) 46%),
        radial-gradient(circle at 46% 62%, rgba(236, 72, 153, .07), rgba(236, 72, 153, 0) 54%),
        radial-gradient(circle at 56% 66%, rgba(59, 130, 246, .08), rgba(59, 130, 246, 0) 58%);
    filter: blur(18px);
}

/* Labels songs / release UI upgrades */
.songs-ui-date-filter-form-inline {
    flex: 0 0 auto;
}

.songs-ui-date-range-pill-wrap {
    display: flex;
    align-items: center;
}

.songs-ui-date-range-pill {
    min-width: 210px;
    justify-content: center;
    gap: 0.45rem;
    border-radius: 14px;
}

.songs-ui-date-range-pill span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 170px;
}

.songs-ui-audio-wrap {
    display: inline-flex;
    align-items: center;
    padding: 0 !important;
    border-radius: 999px;
    background: linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%);
    border: 1px solid #dbe7ff;
    overflow: hidden;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 8px 18px rgba(37, 99, 235, 0.08);
}

.songs-ui-audio-wrap audio {
    width: 300px;
    max-width: 100%;
    height: 38px;
    display: block;
    margin: 0;
    border-radius: 999px;
}

/* Labels upload single/album modern form shell */
.label-release-editor-page .container-fluid {
    padding-bottom: 1rem;
}

.label-release-editor-card {
    border-radius: 22px;
}

.label-release-editor-card .card-body {
    padding: 1.25rem 1.25rem 1.5rem;
}

.label-release-form-head {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 1rem;
    padding: 0.95rem 1rem;
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    background: linear-gradient(180deg, rgba(37,99,235,0.04), rgba(37,99,235,0.02));
}

.label-release-form-head-actions {
    display: flex;
    justify-content: flex-start;
    margin-top: 0.45rem;
}

.label-release-form-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    min-height: 44px;
    padding: 0 1rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.34);
    background: #ffffff;
    color: #0f172a;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
    transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.label-release-form-back-btn:hover {
    background: #eff6ff;
    border-color: rgba(59, 130, 246, 0.34);
    color: #1d4ed8;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 18px 38px rgba(59, 130, 246, 0.16);
}

.label-release-form-back-btn:focus-visible {
    outline: 0;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.18);
}

.label-release-form-title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
}

.label-release-form-subtitle {
    margin: 0;
    color: #64748b;
    font-size: 0.92rem;
}

.label-release-editor-page .label-release-form .form-group.row {
    margin-left: 0;
    margin-right: 0;
    padding: 0.7rem 0.85rem;
    /* border-radius: 16px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    background: #ffffff;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.03); */
}

.label-release-editor-page .label-release-form .col-form-label {
    color: #334155;
    font-weight: 700;
}

.label-release-editor-page .label-release-form .form-control,
.label-release-editor-page .label-release-form select.form-control,
.label-release-editor-page .label-release-form textarea.form-control {
    border-radius: 12px;
    border: 1px solid #d7e0ec;
    background: #f8fbff;
    color: #0f172a;
    min-height: 46px;
    box-shadow: none;
    transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.label-release-editor-page .label-release-form textarea.form-control {
    min-height: 100px;
    resize: vertical;
}

.label-release-editor-page .label-release-form .form-control:focus,
.label-release-editor-page .label-release-form select.form-control:focus,
.label-release-editor-page .label-release-form textarea.form-control:focus {
    border-color: rgba(37, 99, 235, 0.45);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.10);
}

.label-release-editor-page .label-release-form .select2-container {
    width: 100% !important;
}

.label-release-editor-page .label-release-form .select2-container .select2-selection--single {
    min-height: 46px;
    border-radius: 12px;
    border: 1px solid #d7e0ec;
    background: #f8fbff;
    display: flex;
    align-items: center;
    box-shadow: none;
}

.label-release-editor-page .label-release-form .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #0f172a;
    line-height: 1.5;
    padding: 11px 40px 11px 14px;
}

.label-release-editor-page .label-release-form .select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #64748b;
}

.label-release-editor-page .label-release-form .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 100%;
    right: 12px;
}

.label-release-editor-page .label-release-form .select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: #64748b transparent transparent transparent;
}

.label-release-editor-page .label-release-form .select2-container--open .select2-selection--single {
    border-color: rgba(37, 99, 235, 0.45);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.10);
}

.label-release-editor-page .label-metadata-select-dropdown {
    border: 1px solid #d7e0ec;
    border-radius: 12px;
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.18);
    overflow: hidden;
}

.label-release-editor-page .label-metadata-select-dropdown .select2-search--dropdown {
    display: none;
}

.label-release-editor-page .label-metadata-select-dropdown .select2-results__options {
    max-height: 280px;
    overflow-y: auto;
}

.label-release-editor-page .label-metadata-select-dropdown .select2-results__option {
    padding: .7rem .9rem;
}

.label-release-editor-page .label-release-form .progress {
    height: 10px;
    border-radius: 999px;
    overflow: hidden;
    background: #eef2ff;
}

.label-release-editor-page .label-release-form .progress-bar {
    font-size: 0.7rem;
    line-height: 10px;
    background: linear-gradient(90deg, #2563eb, #3b82f6);
}

.label-release-editor-page .label-release-form .metadata-chip-field {
    width: 100%;
    position: relative;
}

.label-release-editor-page .label-release-form .metadata-chip-control {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.55rem;
    min-height: 46px;
    padding: 0.5rem 0.85rem;
    border-radius: 12px;
    border: 1px solid #d7e0ec;
    background: #f8fbff;
    cursor: text;
    transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.label-release-editor-page .label-release-form .metadata-chip-field.is-invalid .metadata-chip-control {
    border-color: #dc3545;
}

.label-release-editor-page .label-release-form .metadata-chip-control:focus-within {
    border-color: rgba(37, 99, 235, 0.45);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.10);
}

.label-release-editor-page .label-release-form .metadata-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.label-release-editor-page .label-release-form .metadata-chip-token {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    max-width: 100%;
    padding: 0.48rem 0.7rem 0.48rem 0.9rem;
    border-radius: 999px;
    border: 1px solid #c99216;
    background: #fff4db;
    color: #6b4d08;
    font-size: 0.92rem;
    font-weight: 700;
}

.label-release-editor-page .label-release-form .metadata-chip-token-text {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.label-release-editor-page .label-release-form .metadata-chip-token-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border: 0;
    border-radius: 999px;
    background: rgba(107, 77, 8, 0.12);
    color: #7c5407;
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
    padding: 0;
}

.label-release-editor-page .label-release-form .metadata-chip-input {
    flex: 1 1 180px;
    min-width: 180px;
    border: 0;
    outline: 0;
    background: transparent;
    color: #0f172a;
    padding: 0;
    min-height: 34px;
}

.label-release-editor-page .label-release-form .metadata-chip-input::placeholder {
    color: #94a3b8;
}

.label-release-editor-page .label-release-form .metadata-chip-hidden-inputs {
    display: none;
}

.label-release-editor-page .label-release-form .metadata-chip-suggestions {
    position: absolute;
    top: calc(100% + 0.45rem);
    left: 0;
    right: 0;
    z-index: 25;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    max-height: 240px;
    overflow-y: auto;
    padding: 0.45rem;
    border: 1px solid #d7e0ec;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.14);
}

.label-release-editor-page .label-release-form .metadata-chip-suggestion-item {
    width: 100%;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #0f172a;
    text-align: left;
    font-size: 0.94rem;
    font-weight: 600;
    padding: 0.72rem 0.8rem;
    cursor: pointer;
}

.label-release-editor-page .label-release-form .metadata-chip-suggestion-item:hover,
.label-release-editor-page .label-release-form .metadata-chip-suggestion-item:focus {
    background: #eef4ff;
    color: #1d4ed8;
    outline: none;
}

.label-release-editor-page .label-release-form .metadata-chip-suggestion-item-create {
    background: #f0f4ff;
    color: #4361ee;
    border: 1px dashed #c7d4fb;
    font-style: italic;
}

.label-release-editor-page .label-release-form .metadata-chip-suggestion-item-create:hover,
.label-release-editor-page .label-release-form .metadata-chip-suggestion-item-create:focus {
    background: #e0eaff;
    color: #2d4fd6;
    border-color: #a5b4fc;
    outline: none;
}

.label-release-editor-page .label-release-form .msg,
.label-release-editor-page .label-release-form .msg_album_art {
    font-size: 0.88rem;
    color: #64748b;
    margin-top: 0.35rem;
}

.label-release-editor-page .label-release-form .field_wrapper > div {
    margin-top: 0.75rem !important;
    padding: 0.65rem;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    background: #f8fafc;
}

.label-release-editor-page .label-release-form .add_button button,
.label-release-editor-page .label-release-form .btn-info,
.label-release-editor-page .label-release-form .btn-success {
    border-radius: 12px;
    border: 0;
    padding: 0.7rem 1rem;
    font-weight: 700;
    box-shadow: 0 12px 20px rgba(37, 99, 235, 0.18);
}

.label-release-editor-page .label-release-form .btn-info {
    background: linear-gradient(135deg, #22c1ee, #2563eb);
}

.label-release-editor-page .label-release-form .btn-success {
    background: linear-gradient(135deg, #059669, #10b981);
}

.label-release-editor-page .label-release-form .remove_button {
    border-radius: 10px;
    border: 0;
    font-weight: 700;
    box-shadow: 0 8px 16px rgba(220, 38, 38, 0.14);
}

.label-release-editor-page #img-tag {
    width: 220px !important;
    height: 220px;
    object-fit: cover;
    border-radius: 18px;
    border: 1px solid #dbe3ee;
    background: #fff;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
}

html[data-theme="dark"] .songs-ui-audio-wrap {
    background: linear-gradient(180deg, rgba(30,41,59,0.92), rgba(15,23,42,0.92));
    border-color: rgba(96, 165, 250, 0.20);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.02), 0 12px 24px rgba(2, 6, 23, 0.35);
}

html[data-theme="dark"] .songs-ui-date-range-pill {
    background: rgba(15, 23, 42, 0.88);
    border-color: rgba(96, 165, 250, 0.18);
    color: #dbeafe;
}

html[data-theme="dark"] .label-release-form-head {
    border-color: rgba(96, 165, 250, 0.16);
    background: linear-gradient(180deg, rgba(37,99,235,0.10), rgba(37,99,235,0.04));
}

html[data-theme="dark"] .label-release-form-back-btn {
    background: rgba(15, 23, 42, 0.84);
    border-color: rgba(96, 165, 250, 0.22);
    color: #e2e8f0;
    box-shadow: 0 16px 34px rgba(2, 6, 23, 0.36);
}

html[data-theme="dark"] .label-release-form-back-btn:hover {
    background: rgba(30, 41, 59, 0.96);
    border-color: rgba(96, 165, 250, 0.38);
    color: #93c5fd;
}

html[data-theme="dark"] .label-release-form-title {
    color: #e2e8f0;
}

html[data-theme="dark"] .label-release-form-subtitle {
    color: #94a3b8;
}

html[data-theme="dark"] .label-release-editor-page .label-release-form .form-group.row {
    /* background: rgba(15, 23, 42, 0.88);
    border-color: rgba(96, 165, 250, 0.12);
    box-shadow: 0 10px 22px rgba(2, 6, 23, 0.22); */
}

html[data-theme="dark"] .label-release-editor-page .label-release-form .col-form-label {
    color: #cbd5e1;
}

html[data-theme="dark"] .label-release-editor-page .label-release-form .form-control,
html[data-theme="dark"] .label-release-editor-page .label-release-form select.form-control,
html[data-theme="dark"] .label-release-editor-page .label-release-form textarea.form-control {
    background: rgba(30, 41, 59, 0.9);
    border-color: rgba(96, 165, 250, 0.16);
    color: #e2e8f0;
}

html[data-theme="dark"] .label-release-editor-page .label-release-form .form-control::placeholder,
html[data-theme="dark"] .label-release-editor-page .label-release-form textarea.form-control::placeholder {
    color: #94a3b8;
}

html[data-theme="dark"] .label-release-editor-page .label-release-form .metadata-chip-control {
    background: rgba(30, 41, 59, 0.9);
    border-color: rgba(96, 165, 250, 0.16);
}

html[data-theme="dark"] .label-release-editor-page .label-release-form .metadata-chip-control:focus-within {
    background: rgba(30, 41, 59, 0.96);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.16);
}

html[data-theme="dark"] .label-release-editor-page .label-release-form .select2-container .select2-selection--single,
body.analytics-dashboard-theme-dark .label-release-editor-page .label-release-form .select2-container .select2-selection--single {
    background: rgba(30, 41, 59, 0.9);
    border-color: rgba(96, 165, 250, 0.16);
}

html[data-theme="dark"] .label-release-editor-page .label-release-form .select2-container--default .select2-selection--single .select2-selection__rendered,
body.analytics-dashboard-theme-dark .label-release-editor-page .label-release-form .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #e2e8f0;
}

html[data-theme="dark"] .label-release-editor-page .label-release-form .select2-container--default .select2-selection--single .select2-selection__placeholder,
body.analytics-dashboard-theme-dark .label-release-editor-page .label-release-form .select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #94a3b8;
}

html[data-theme="dark"] .label-release-editor-page .label-release-form .select2-container--default .select2-selection--single .select2-selection__arrow b,
body.analytics-dashboard-theme-dark .label-release-editor-page .label-release-form .select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: #94a3b8 transparent transparent transparent;
}

html[data-theme="dark"] .label-release-editor-page .label-metadata-select-dropdown,
body.analytics-dashboard-theme-dark .label-release-editor-page .label-metadata-select-dropdown {
    background: rgba(15, 23, 42, 0.98);
    border-color: rgba(96, 165, 250, 0.18);
    box-shadow: 0 18px 36px rgba(2, 6, 23, 0.42);
}

html[data-theme="dark"] .label-release-editor-page .label-metadata-select-dropdown .select2-results__option,
body.analytics-dashboard-theme-dark .label-release-editor-page .label-metadata-select-dropdown .select2-results__option {
    color: #e2e8f0;
}

html[data-theme="dark"] .label-release-editor-page .label-metadata-select-dropdown .select2-results__option--highlighted.select2-results__option--selectable,
body.analytics-dashboard-theme-dark .label-release-editor-page .label-metadata-select-dropdown .select2-results__option--highlighted.select2-results__option--selectable {
    background: rgba(37, 99, 235, 0.18);
    color: #bfdbfe;
}

html[data-theme="dark"] .label-release-editor-page .label-release-form .metadata-chip-token {
    border-color: rgba(245, 158, 11, 0.55);
    background: rgba(120, 53, 15, 0.38);
    color: #fcd34d;
}

html[data-theme="dark"] .label-release-editor-page .label-release-form .metadata-chip-token-remove {
    background: rgba(252, 211, 77, 0.14);
    color: #fde68a;
}

html[data-theme="dark"] .label-release-editor-page .label-release-form .metadata-chip-input {
    color: #e2e8f0;
}

html[data-theme="dark"] .label-release-editor-page .label-release-form .metadata-chip-input::placeholder {
    color: #94a3b8;
}

html[data-theme="dark"] .label-release-editor-page .label-release-form .metadata-chip-suggestions {
    border-color: rgba(96, 165, 250, 0.18);
    background: rgba(15, 23, 42, 0.98);
    box-shadow: 0 18px 36px rgba(2, 6, 23, 0.42);
}

html[data-theme="dark"] .label-release-editor-page .label-release-form .metadata-chip-suggestion-item {
    color: #e2e8f0;
}

html[data-theme="dark"] .label-release-editor-page .label-release-form .metadata-chip-suggestion-item:hover,
html[data-theme="dark"] .label-release-editor-page .label-release-form .metadata-chip-suggestion-item:focus {
    background: rgba(37, 99, 235, 0.18);
    color: #bfdbfe;
}

html[data-theme="dark"] .label-release-editor-page .label-release-form .metadata-chip-suggestion-item-create {
    background: rgba(37, 99, 235, 0.16);
    color: #93c5fd;
    border-color: rgba(96, 165, 250, 0.35);
}

html[data-theme="dark"] .label-release-editor-page .label-release-form .metadata-chip-suggestion-item-create:hover,
html[data-theme="dark"] .label-release-editor-page .label-release-form .metadata-chip-suggestion-item-create:focus {
    background: rgba(37, 99, 235, 0.28);
    color: #bfdbfe;
    border-color: rgba(96, 165, 250, 0.5);
}

html[data-theme="dark"] .label-release-editor-page .label-release-form .field_wrapper > div {
    background: rgba(15, 23, 42, 0.7);
    border-color: rgba(96, 165, 250, 0.16);
}

html[data-theme="dark"] .label-release-editor-page #img-tag {
    border-color: rgba(96, 165, 250, 0.18);
    background: rgba(15, 23, 42, 0.85);
}

/* Shared action buttons */
.rdc-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid transparent;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    transition: border-color .16s ease, background-color .16s ease, color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.rdc-button:hover:not(:disabled) { transform: translateY(-1px); }
.rdc-button:focus-visible { outline: 0; box-shadow: 0 0 0 3px rgba(52, 120, 246, .18); }
.rdc-button:disabled, .rdc-button[aria-disabled="true"] { cursor: not-allowed; opacity: .48; transform: none; }
.rdc-button--sm { min-height: 36px; padding-inline: 12px; font-size: 12px; }
.rdc-button--lg { min-height: 46px; padding-inline: 18px; font-size: 14px; }
.rdc-button--primary { border-color: #3478f6; color: #fff; background: #3478f6; }
.rdc-button--primary:hover:not(:disabled) { color: #fff; background: #2867df; box-shadow: 0 8px 18px rgba(52, 120, 246, .22); }
.rdc-button--outline { border-color: #d4deeb; color: #53637a; background: #fff; }
.rdc-button--outline:hover:not(:disabled) { color: #1f4fa7; border-color: #9dbcf0; background: #f7faff; }
.rdc-button--neutral { border-color: #d4deeb; color: #18243a; background: #f4f7fb; }
.rdc-button--success { border-color: #bce6d3; color: #087653; background: #eaf9f2; }
.rdc-button--danger { border-color: #ffc9cf; color: #cf2941; background: #fff0f2; }
.rdc-button--ghost { color: #53637a; background: transparent; }

.users-selection-column {
    width: 44px;
    text-align: center;
}
.users-selection-column input {
    width: 16px;
    height: 16px;
    accent-color: #3478f6;
}

/* Filter controls must wrap instead of colliding after filters are applied. */
.songs-ui-table-head-filter,
.songs-analytics-filter-toolbar,
.songs-analytics-filter-toolbar .analytics-filter-toolbar-left,
.songs-analytics-filter-toolbar .analytics-filter-applied-list {
    min-width: 0;
}
.songs-ui-table-head-filter,
.songs-analytics-filter-toolbar .analytics-filter-toolbar-left,
.songs-analytics-filter-toolbar .analytics-filter-applied-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    column-gap: 10px;
    row-gap: 8px;
}
.songs-analytics-filter-toolbar .analytics-filter-applied-list {
    margin: 0;
}

/* Legacy release forms are full-width horizontal forms; no removed sidebar column. */
.song-create-page .label-release-editor-card,
.album-create-page .label-release-editor-card {
    display: block !important;
    width: min(100%, 1120px);
    max-width: 1120px;
    margin-inline: auto;
}
.song-create-page .song-studio-form-panel,
.album-create-page .song-studio-form-panel {
    width: 100%;
    max-width: none;
}
.song-create-page .label-release-form,
.album-create-page .label-release-form {
    display: block;
    padding: 24px;
}
.song-create-page .label-release-form .form-group.row,
.album-create-page .label-release-form .form-group.row {
    display: flex;
    align-items: flex-start;
    margin: 0;
    padding: 14px 0;
    border: 0;
}
.song-create-page .label-release-form-actions,
.album-create-page .label-release-form-actions {
    padding-top: 20px;
    border-top: 1px solid var(--analytics-border);
}

/* Keep the dedicated review shell and its single border within the content column. */
.song-review-editor-page.content-page,
.song-review-page.content-page,
.content-page.song-review-page,
.content-page.song-review-editor-page {
    min-height: 0 !important;
    padding-bottom: 15px !important;
}

.song-review-page .content,
.song-review-editor-page .content {
    min-height: 0 !important;
}

.song-review-page .container-fluid,
.song-review-editor-page .container-fluid {
    padding-bottom: 0 !important;
}

.song-review-page .song-review-moderation-card {
    margin-bottom: 0 !important;
}

/* Compact layout for song review page so everything fits on screen cleanly without vertical scrolling */
.song-review-page .song-review-hero {
    padding: 0.9rem 1.25rem !important;
    margin-bottom: 0.75rem !important;
}

.song-review-page .song-review-grid {
    margin-top: 0.75rem !important;
    margin-bottom: 0.75rem !important;
    gap: 0.75rem !important;
}

.song-review-page .song-review-card > .card-body {
    padding: 1rem 1.25rem !important;
}

.song-review-page .workspace-detail-grid {
    gap: 0.45rem !important;
}

.song-review-page .workspace-detail-field {
    flex: 1 1 calc(33.333% - 0.35rem) !important;
    min-width: 130px !important;
    padding: 0.5rem 0.7rem !important;
    border-radius: 10px !important;
}

.song-review-page .song-review-cover {
    height: auto !important;
    max-height: none !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: cover !important;
    border-radius: 12px !important;
    width: 100% !important;
}

.song-review-page .song-review-moderation-card {
    margin-top: 0.75rem !important;
    margin-bottom: 0 !important;
}

/* Full width 100% card layout for Add Song and Add Album pages */
.album-create-page .song-review-shell,
.song-create-page .song-review-shell {
    width: 100% !important;
    max-width: 100% !important;
    margin-inline: 0 !important;
}

.album-create-page .song-review-hero,
.album-create-page .label-release-editor-card,
.song-create-page .song-review-hero,
.song-create-page .label-release-editor-card {
    width: 100% !important;
    max-width: 100% !important;
    margin-inline: 0 !important;
}

.song-review-editor-page .song-review-shell,
.song-review-editor-page .song-review-hero,
.song-review-editor-page .song-review-grid,
.song-review-editor-page .song-review-card,
.song-review-shell .label-release-editor-card {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.song-review-shell .label-release-editor-card,
.song-create-page .label-release-editor-card,
.album-create-page .label-release-editor-card {
    border-radius: 22px !important;
    overflow: hidden !important;
    background-clip: padding-box !important;
}

/* Card rounded corner overflow perfection fix */
.label-release-editor-card,
.workspace-classic-form-shell,
.analytics-card,
.songs-ui-table-card,
.song-review-card,
.song-review-hero,
.song-review-moderation-card {
    overflow: hidden !important;
    background-clip: padding-box !important;
}

.label-release-editor-card > .card-body,
.workspace-classic-form-shell > .card-body,
.label-release-form-head,
.card-header,
.card-footer {
    overflow: hidden !important;
    border-top-left-radius: inherit !important;
    border-top-right-radius: inherit !important;
}

html[data-theme="dark"] .song-review-shell .label-release-editor-card,
html[data-theme="dark"] .label-release-editor-page .label-release-editor-card {
    border-color: rgba(255, 255, 255, 0.12) !important;
    background: linear-gradient(180deg, #111c2e 0%, #0f1726 100%) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 16px 30px rgba(0, 0, 0, 0.25) !important;
}

.song-review-editor-page .song-review-hero,
.song-review-editor-page .song-review-card {
    overflow: clip;
    background-clip: padding-box;
}
.song-review-editor-page .song-review-hero {
    box-shadow: 0 18px 34px rgba(15, 23, 42, .05);
}
.song-review-editor-page .song-review-grid {
    display: grid;
}

@media (max-width: 767px) {
    .song-create-page .label-release-form .form-group.row,
    .album-create-page .label-release-form .form-group.row {
        display: block;
    }
    .song-create-page .label-release-form,
    .album-create-page .label-release-form {
        padding: 18px;
    }
}

/* Song review editor + share editor */
.song-review-editor-page .container-fluid,
.share-editor-page .container-fluid,
.label-release-editor-page .container-fluid {
    padding-top: 0.55rem;
    padding-bottom: 1rem;
}

.song-review-shell,
.share-editor-shell,
.label-release-editor-shell {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.song-review-hero,
.share-editor-hero,
.label-release-editor-hero {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.15rem 1.2rem;
    border-radius: 22px;
    border: 1px solid rgba(191, 204, 224, 0.92);
    overflow: hidden;
    isolation: isolate;
    background-clip: padding-box;
    background:
        radial-gradient(circle at top right, rgba(37, 99, 235, 0.12), transparent 36%),
        linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.78),
        0 0 0 1px rgba(226, 232, 240, 0.9),
        0 18px 34px rgba(15, 23, 42, 0.05);
}

.song-review-hero-main,
.share-editor-hero-main,
.label-release-editor-hero-main {
    flex: 1 1 auto;
    min-width: 0;
}

.song-review-badge,
.share-editor-badge,
.label-release-editor-badge {
    display: inline-flex;
    align-items: center;
    gap: .42rem;
    padding: .42rem .72rem;
    border-radius: 999px;
    border: 1px solid rgba(37, 99, 235, .16);
    background: rgba(37, 99, 235, .08);
    color: #1d4ed8;
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .02em;
}

.song-review-title,
.share-editor-title,
.label-release-editor-hero-title {
    margin: .7rem 0 .4rem;
    color: #0f172a;
    font-size: clamp(1.4rem, 2vw, 2rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -.03em;
}

.song-review-subtitle,
.share-editor-subtitle,
.label-release-editor-hero-copy {
    margin: 0;
    max-width: 820px;
    color: #64748b;
    font-size: .95rem;
    line-height: 1.65;
}

.song-review-chip-row,
.label-release-editor-chip-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .65rem;
    margin-top: .9rem;
}

.song-review-chip,
.label-release-editor-chip {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .48rem .8rem;
    border-radius: 999px;
    border: 1px solid #d7e3f5;
    background: linear-gradient(180deg, #ffffff, #f6f9ff);
    color: #334155;
    font-size: .85rem;
    font-weight: 700;
}

.song-review-chip-approved,
.label-release-editor-chip-approved {
    border-color: rgba(22, 163, 74, .24);
    background: rgba(22, 163, 74, .10);
    color: #15803d;
}

.song-review-chip-pending,
.label-release-editor-chip-pending {
    border-color: rgba(245, 158, 11, .26);
    background: rgba(245, 158, 11, .12);
    color: #b45309;
}

.song-review-chip-rejected,
.label-release-editor-chip-rejected {
    border-color: rgba(239, 68, 68, .24);
    background: rgba(239, 68, 68, .10);
    color: #b91c1c;
}

.song-review-chip-checks-passed {
    border-color: rgba(56, 189, 248, .26);
    background: rgba(56, 189, 248, .10);
    color: #0284c7;
}

.song-review-chip-expired {
    border-color: rgba(100, 116, 139, .26);
    background: rgba(100, 116, 139, .10);
    color: #475569;
}

.song-review-hero-actions,
.share-editor-actions,
.label-release-editor-hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: nowrap !important;
    flex-shrink: 0;
    gap: .65rem;
}

.song-review-hero-btn,
.share-editor-btn,
.label-release-editor-hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    min-height: 46px;
    padding: .78rem 1rem;
    border-radius: 14px;
    border: 0;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 14px 22px rgba(37, 99, 235, .22);
}

.song-review-hero-btn:hover,
.share-editor-btn:hover,
.label-release-editor-hero-btn:hover {
    color: #ffffff;
    transform: translateY(-1px);
}

.song-review-hero-btn-soft,
.share-editor-btn-soft,
.label-release-editor-hero-btn-soft {
    border: 1px solid #d7e3f5;
    background: linear-gradient(180deg, #ffffff, #f8fbff);
    color: #1e293b;
    box-shadow: none;
}

.song-review-hero-btn-soft:hover,
.share-editor-btn-soft:hover,
.label-release-editor-hero-btn-soft:hover {
    color: #0f172a;
    border-color: #c7d7ee;
    background: linear-gradient(180deg, #ffffff, #eef5ff);
    box-shadow: 0 10px 18px rgba(15, 23, 42, 0.06);
}

.song-review-grid,
.share-editor-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.75fr) minmax(300px, .92fr);
    gap: 1rem;
}

.song-review-main,
.share-editor-main,
.song-review-side,
.share-editor-side {
    min-width: 0;
}

.song-review-card,
.share-editor-card,
.label-release-editor-summary-card {
    position: relative;
    border-radius: 22px;
    border: 1px solid rgba(203, 213, 225, .96);
    overflow: hidden;
    isolation: isolate;
    background-clip: padding-box;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.82),
        0 0 0 1px rgba(226, 232, 240, 0.92),
        0 16px 30px rgba(15, 23, 42, .05);
}

.song-review-card,
.share-editor-card {
    padding: 1.15rem 1.2rem 1.2rem;
}

.song-review-card + .song-review-card {
    margin-top: 1rem;
}

.song-review-card-head,
.share-editor-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: .8rem;
    margin-bottom: 1rem;
}

.song-review-card-title,
.share-editor-card-title {
    margin: 0;
    color: #0f172a;
    font-size: 1.02rem;
    font-weight: 800;
    letter-spacing: -.02em;
}

.song-review-card-copy,
.share-editor-card-copy {
    margin: .18rem 0 0;
    color: #64748b;
    font-size: .9rem;
    line-height: 1.55;
}

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

.song-review-detail-item {
    padding: .9rem 1rem;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    background: #f8fbff;
}

.song-review-detail-label,
.share-editor-side-label,
.label-release-editor-summary-label {
    color: #64748b;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.song-review-detail-value,
.share-editor-side-value {
    margin-top: .36rem;
    color: #0f172a;
    font-size: .97rem;
    font-weight: 700;
    line-height: 1.55;
    word-break: break-word;
}

.song-review-lyrics-block {
    margin-top: .95rem;
    padding: 1rem;
    border-radius: 18px;
    border: 1px solid #e2e8f0;
    background: linear-gradient(180deg, #fbfdff, #f8fbff);
}

.song-review-lyrics-copy {
    margin-top: .55rem;
    color: #334155;
    line-height: 1.75;
    white-space: normal;
}

.song-review-form .form-control,
.song-review-form select.form-control,
.song-review-form textarea.form-control,
.share-editor-form .form-control {
    min-height: 48px;
    border-radius: 14px;
    border: 1px solid #d7e0ec;
    background: #f8fbff;
    color: #0f172a;
    box-shadow: none;
}

.song-review-form textarea.form-control {
    min-height: 116px;
}

.song-review-form .form-control:focus,
.song-review-form select.form-control:focus,
.song-review-form textarea.form-control:focus,
.share-editor-form .form-control:focus {
    border-color: rgba(37, 99, 235, .45);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, .10);
}

.song-review-form-actions,
.share-editor-form-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 1rem;
}

.song-review-submit-btn,
.share-editor-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    min-height: 48px;
    padding: .82rem 1.15rem;
    border-radius: 14px;
    border: 0;
    background: linear-gradient(135deg, #059669, #10b981);
    color: #ffffff;
    font-weight: 800;
    box-shadow: 0 14px 22px rgba(5, 150, 105, .22);
}

.song-review-cover-wrap,
.share-editor-preview-card {
    overflow: hidden;
}

.song-review-cover-art,
.share-editor-cover-art,
.label-release-editor-summary-art {
    width: 100%;
    object-fit: cover;
    border-radius: 18px;
    border: 1px solid #dbe3ee;
    background: #f8fafc;
}

.song-review-cover-art,
.share-editor-cover-art {
    aspect-ratio: 1 / 1;
}

.label-release-editor-summary-art {
    max-width: 170px;
    aspect-ratio: 1 / 1;
    margin-top: .65rem;
}

.song-review-audio-wrap,
.share-editor-side-meta,
.song-review-side-note,
.label-release-editor-summary-meta {
    margin-top: 1rem;
}

.song-review-audio-wrap audio,
.label-release-editor-audio-wrap audio {
    width: 100%;
}

.label-release-audio-preview {
    display: flex;
    flex-direction: column;
    gap: .95rem;
    min-height: 176px;
    margin-top: .8rem;
    padding: 1rem;
    border-radius: 18px;
    border: 1px solid rgba(203, 213, 225, .88);
    background:
        linear-gradient(135deg, rgba(37, 99, 235, .08), rgba(16, 185, 129, .07)),
        #f8fbff;
}

.label-release-audio-preview-head {
    display: flex;
    align-items: center;
    gap: .82rem;
    min-width: 0;
}

.label-release-audio-preview-icon,
.label-release-audio-preview-empty {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    color: #2563eb;
    background: #ffffff;
    border: 1px solid rgba(37, 99, 235, .16);
    box-shadow: 0 12px 22px rgba(15, 23, 42, .08);
}

.label-release-audio-preview-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    font-size: 1.35rem;
}

.label-release-audio-preview-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.label-release-audio-preview-title {
    color: #0f172a;
    font-size: .98rem;
    font-weight: 800;
    line-height: 1.3;
}

.label-release-audio-preview .songs-ui-audio-wrap {
    display: flex;
    width: 100%;
    min-height: 48px;
    padding: .32rem !important;
    border-radius: 16px;
    background: #ffffff;
    border-color: rgba(203, 213, 225, .98);
    box-shadow: 0 12px 24px rgba(15, 23, 42, .07);
}

.label-release-audio-preview .label-release-editor-audio-wrap audio {
    display: block;
    width: 100%;
    min-width: 0;
    height: 44px;
    min-height: 44px;
    border-radius: 12px;
}

.label-release-audio-preview-empty {
    width: 100%;
    min-height: 64px;
    border-radius: 16px;
    color: #94a3b8;
    font-size: 1.35rem;
    background: rgba(255, 255, 255, .72);
    box-shadow: none;
}

.label-release-audio-preview.is-empty {
    background: linear-gradient(180deg, #f8fafc, #f1f5f9);
}

.song-review-side-note-copy,
.share-editor-side-note,
.label-release-editor-summary-meta {
    color: #475569;
    line-height: 1.7;
}

.share-editor-save-state {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .42rem .72rem;
    border-radius: 999px;
    border: 1px solid rgba(22, 163, 74, .24);
    background: rgba(22, 163, 74, .10);
    color: #15803d;
    font-size: .82rem;
    font-weight: 800;
}

.share-editor-rows {
    display: flex;
    flex-direction: column;
    gap: .7rem;
}

.share-editor-row,
.share-editor-custom-row {
    display: grid;
    grid-template-columns: minmax(140px, 180px) minmax(0, 1fr);
    gap: .8rem;
    align-items: center;
    padding: .82rem .9rem;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    background: #f8fbff;
}

.share-editor-custom-row {
    grid-template-columns: minmax(160px, 220px) minmax(0, 1fr) 44px;
}

.share-editor-row-label {
    color: #1e293b;
    font-weight: 700;
}

.share-editor-custom-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: .9rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

.share-editor-custom-head h6 {
    margin: 0;
    color: #0f172a;
    font-size: .95rem;
    font-weight: 800;
}

.share-editor-custom-head p {
    margin: .22rem 0 0;
    color: #64748b;
    font-size: .88rem;
}

.share-editor-custom-list {
    display: flex;
    flex-direction: column;
    gap: .7rem;
    margin-top: .9rem;
}

.share-editor-remove-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid rgba(239, 68, 68, .18);
    background: rgba(239, 68, 68, .08);
    color: #b91c1c;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.share-editor-side-meta + .share-editor-side-meta {
    margin-top: .8rem;
}

.label-release-editor-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.label-release-editor-summary-card {
    padding: 1rem 1.05rem;
}

.label-release-editor-summary-meta {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    margin-top: .7rem;
}

html[data-theme="dark"] .song-review-hero,
html[data-theme="dark"] .share-editor-hero,
html[data-theme="dark"] .label-release-editor-hero {
    border-color: rgba(96, 165, 250, .16);
    background:
        radial-gradient(circle at top right, rgba(59, 130, 246, 0.16), transparent 38%),
        linear-gradient(180deg, rgba(15, 23, 42, 0.96), rgba(17, 24, 39, 0.96));
    box-shadow: 0 18px 32px rgba(2, 6, 23, .34);
}

html[data-theme="dark"] .song-review-badge,
html[data-theme="dark"] .share-editor-badge,
html[data-theme="dark"] .label-release-editor-badge {
    border-color: rgba(96, 165, 250, .24);
    background: rgba(59, 130, 246, .14);
    color: #bfdbfe;
}

html[data-theme="dark"] .song-review-title,
html[data-theme="dark"] .share-editor-title,
html[data-theme="dark"] .label-release-editor-hero-title,
html[data-theme="dark"] .song-review-card-title,
html[data-theme="dark"] .share-editor-card-title,
html[data-theme="dark"] .share-editor-custom-head h6 {
    color: #e2e8f0;
}

html[data-theme="dark"] .song-review-subtitle,
html[data-theme="dark"] .share-editor-subtitle,
html[data-theme="dark"] .label-release-editor-hero-copy,
html[data-theme="dark"] .song-review-card-copy,
html[data-theme="dark"] .share-editor-card-copy,
html[data-theme="dark"] .share-editor-custom-head p,
html[data-theme="dark"] .song-review-side-note-copy,
html[data-theme="dark"] .share-editor-side-note,
html[data-theme="dark"] .label-release-editor-summary-meta {
    color: #94a3b8;
}

html[data-theme="dark"] .song-review-chip,
html[data-theme="dark"] .label-release-editor-chip {
    border-color: rgba(96, 165, 250, .16);
    background: rgba(15, 23, 42, .78);
    color: #dbeafe;
}

html[data-theme="dark"] .song-review-chip-approved,
html[data-theme="dark"] .label-release-editor-chip-approved {
    background: rgba(22, 163, 74, .12);
    color: #86efac;
}

html[data-theme="dark"] .song-review-chip-pending,
html[data-theme="dark"] .label-release-editor-chip-pending {
    background: rgba(245, 158, 11, .16);
    color: #fcd34d;
}

html[data-theme="dark"] .song-review-chip-rejected,
html[data-theme="dark"] .label-release-editor-chip-rejected {
    background: rgba(239, 68, 68, .12);
    color: #fca5a5;
}

html[data-theme="dark"] .song-review-chip-checks-passed {
    background: rgba(56, 189, 248, .14);
    color: #7dd3fc;
}

html[data-theme="dark"] .song-review-chip-expired {
    background: rgba(100, 116, 139, .18);
    color: #cbd5e1;
}

html[data-theme="dark"] .song-review-hero-btn-soft,
html[data-theme="dark"] .share-editor-btn-soft,
html[data-theme="dark"] .label-release-editor-hero-btn-soft {
    border-color: rgba(96, 165, 250, .16);
    background: rgba(15, 23, 42, .74);
    color: #e2e8f0;
}

html[data-theme="dark"] .song-review-hero-btn-soft:hover,
html[data-theme="dark"] .share-editor-btn-soft:hover,
html[data-theme="dark"] .label-release-editor-hero-btn-soft:hover {
    color: #f8fafc;
    border-color: rgba(96, 165, 250, .24);
    background: rgba(30, 41, 59, .92);
    box-shadow: 0 12px 22px rgba(2, 6, 23, .22);
}

html[data-theme="dark"] .song-review-card,
html[data-theme="dark"] .share-editor-card,
html[data-theme="dark"] .label-release-editor-summary-card {
    border-color: rgba(96, 165, 250, .12);
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.96), rgba(17, 24, 39, 0.96));
    box-shadow: 0 18px 30px rgba(2, 6, 23, .30);
}

html[data-theme="dark"] .song-review-detail-item,
html[data-theme="dark"] .song-review-lyrics-block,
html[data-theme="dark"] .share-editor-row,
html[data-theme="dark"] .share-editor-custom-row {
    border-color: rgba(96, 165, 250, .12);
    background: rgba(30, 41, 59, .72);
}

html[data-theme="dark"] .song-review-detail-label,
html[data-theme="dark"] .share-editor-side-label,
html[data-theme="dark"] .label-release-editor-summary-label {
    color: #93a4bc;
}

html[data-theme="dark"] .song-review-detail-value,
html[data-theme="dark"] .share-editor-side-value,
html[data-theme="dark"] .share-editor-row-label {
    color: #e2e8f0;
}

html[data-theme="dark"] .song-review-form .form-control,
html[data-theme="dark"] .song-review-form select.form-control,
html[data-theme="dark"] .song-review-form textarea.form-control,
html[data-theme="dark"] .share-editor-form .form-control {
    background: rgba(30, 41, 59, 0.88);
    border-color: rgba(96, 165, 250, .16);
    color: #e2e8f0;
}

html[data-theme="dark"] .share-editor-custom-head {
    border-top-color: rgba(96, 165, 250, .12);
}

html[data-theme="dark"] .share-editor-save-state {
    background: rgba(22, 163, 74, .12);
    color: #86efac;
}

html[data-theme="dark"] .song-review-cover-art,
html[data-theme="dark"] .share-editor-cover-art,
html[data-theme="dark"] .label-release-editor-summary-art {
    border-color: rgba(96, 165, 250, .16);
    background: rgba(30, 41, 59, .8);
}

html[data-theme="dark"] .label-release-audio-preview {
    border-color: rgba(96, 165, 250, .14);
    background:
        linear-gradient(135deg, rgba(59, 130, 246, .14), rgba(20, 184, 166, .10)),
        rgba(15, 23, 42, .72);
}

html[data-theme="dark"] .label-release-audio-preview-title {
    color: #e2e8f0;
}

html[data-theme="dark"] .label-release-audio-preview-icon,
html[data-theme="dark"] .label-release-audio-preview-empty {
    border-color: rgba(96, 165, 250, .16);
    background: rgba(15, 23, 42, .86);
    color: #93c5fd;
}

html[data-theme="dark"] .label-release-audio-preview .songs-ui-audio-wrap {
    border-color: rgba(96, 165, 250, .16);
    background: rgba(15, 23, 42, .82);
}

@media (max-width: 1199.98px) {
    .song-review-grid,
    .share-editor-grid,
    .label-release-editor-summary-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 991.98px) {
    .songs-ui-audio-wrap audio {
        width: 240px;
    }

    .songs-ui-date-range-pill {
        min-width: 180px;
    }

    .label-release-editor-page .label-release-form .metadata-chip-input {
        min-width: 100%;
    }

    .songs-ui-date-range-pill span {
        max-width: 140px;
    }

    .label-release-editor-page .label-release-form .form-group.row {
        padding: 0.8rem;
    }

    .song-review-hero,
    .share-editor-hero,
    .label-release-editor-hero,
    .share-editor-custom-head {
        flex-direction: column;
    }

    .song-review-hero-actions,
    .share-editor-actions,
    .label-release-editor-hero-actions {
        width: 100%;
    }

    .song-review-hero-btn,
    .share-editor-btn,
    .label-release-editor-hero-btn {
        width: 100%;
    }

    .song-review-detail-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .share-editor-row,
    .share-editor-custom-row {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Labels billing page compact polish */
.billing-modern-page.billing-shared-workspace-page.labels-billing-page .billing-table-card {
    margin-bottom: .5rem;
}

.billing-modern-page.billing-shared-workspace-page.labels-billing-page .billing-table-card .card-body {
    padding: .85rem .9rem .75rem;
}

.billing-modern-page.billing-shared-workspace-page.labels-billing-page .billing-history-head {
    margin-bottom: .45rem;
}

.billing-modern-page.billing-shared-workspace-page.labels-billing-page .billing-history-title {
    font-size: 1rem;
    letter-spacing: -.01em;
}

.billing-modern-page.billing-shared-workspace-page.labels-billing-page .billing-history-subtitle {
    font-size: .76rem;
    line-height: 1.3;
    margin-top: .12rem;
}

.billing-modern-page.billing-shared-workspace-page.labels-billing-page .billing-history-head-actions {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
}

.billing-modern-page.billing-shared-workspace-page.labels-billing-page .billing-history-calendar-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid var(--bws-border);
    background: linear-gradient(180deg, #ffffff, #f8fbff);
    box-shadow: none;
}

.billing-modern-page.billing-shared-workspace-page.labels-billing-page .billing-history-calendar-icon:hover {
    border-color: var(--bws-border-strong);
    background: #fff;
}

.billing-modern-page.billing-shared-workspace-page.labels-billing-page .billing-history-calendar-icon.is-active {
    border-color: rgba(37,99,235,.28);
    background: color-mix(in srgb, var(--analytics-accent-soft) 45%, #ffffff);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .08);
}

.billing-modern-page.billing-shared-workspace-page.labels-billing-page .billing-history-calendar-icon .analytics-filter-date-icon-btn {
    color: #2563eb;
    font-size: 1.08rem;
}

.billing-modern-page.billing-shared-workspace-page.labels-billing-page .billing-toolbar {
    margin-bottom: .55rem;
    padding-bottom: .55rem;
}

.billing-modern-page.billing-shared-workspace-page.labels-billing-page .billing-chip,
.billing-modern-page.billing-shared-workspace-page.labels-billing-page .btn.billing-btn-filter {
    min-height: 40px;
    padding: .45rem .75rem;
    font-size: .88rem;
    border-radius: 12px;
}

.billing-modern-page.billing-shared-workspace-page.labels-billing-page .billing-chip i,
.billing-modern-page.billing-shared-workspace-page.labels-billing-page .btn.billing-btn-filter i {
    font-size: .95rem;
}

.billing-modern-page.billing-shared-workspace-page.labels-billing-page #basic-datatable_wrapper .dataTables_info {
    font-size: .82rem;
}

.billing-modern-page.billing-shared-workspace-page.labels-billing-page #basic-datatable_wrapper .dataTables_paginate .paginate_button {
    min-width: 34px;
    min-height: 34px;
    line-height: 34px !important;
}

.billing-modern-page.billing-shared-workspace-page.labels-billing-page #basic-datatable_wrapper > .row:first-child {
    display: none;
}

.billing-modern-page.billing-shared-workspace-page.labels-billing-page #basic-datatable_wrapper > .row:nth-child(2) {
    margin-top: 0 !important;
}

.billing-modern-page.billing-shared-workspace-page.labels-billing-page #basic-datatable_wrapper .row:last-child {
    margin-top: .55rem;
    padding-top: .65rem;
    border-top: 1px solid #edf2f7;
    align-items: center;
    row-gap: .55rem;
}

.billing-modern-page.billing-shared-workspace-page.labels-billing-page #basic-datatable_wrapper .billing-dt-info-pill,
.billing-modern-page.billing-shared-workspace-page.labels-billing-page #basic-datatable_wrapper .dataTables_info {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    width: auto;
    max-width: 100%;
    padding: .4rem .7rem;
    border-radius: 999px;
    border: 1px solid #dfe8f4;
    background: linear-gradient(180deg, #ffffff, #f8fbff);
    color: #5f7089;
    font-weight: 600;
    letter-spacing: .01em;
}

.billing-modern-page.billing-shared-workspace-page.labels-billing-page #basic-datatable_wrapper .billing-dt-info-pill::before,
.billing-modern-page.billing-shared-workspace-page.labels-billing-page #basic-datatable_wrapper .dataTables_info::before {
    content: "\F0E6";
    font-family: "Material Design Icons";
    font-size: .95rem;
    color: #64748b;
    line-height: 1;
}

.billing-modern-page.billing-shared-workspace-page.labels-billing-page #basic-datatable_wrapper .billing-dt-paginate-shell,
.billing-modern-page.billing-shared-workspace-page.labels-billing-page #basic-datatable_wrapper .dataTables_paginate {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: .35rem;
    padding: .22rem;
    border-radius: 999px;
    border: 1px solid #dfe8f4;
    background: linear-gradient(180deg, #ffffff, #f8fbff);
}

.billing-modern-page.billing-shared-workspace-page.labels-billing-page #basic-datatable_wrapper .dataTables_paginate .pagination {
    margin: 0;
    gap: .2rem;
    align-items: center;
}

.billing-modern-page.billing-shared-workspace-page.labels-billing-page #basic-datatable_wrapper .dataTables_paginate .page-item .page-link,
.billing-modern-page.billing-shared-workspace-page.labels-billing-page #basic-datatable_wrapper .dataTables_paginate .paginate_button {
    min-width: 36px;
    height: 36px;
    padding: 0 .55rem !important;
    border-radius: 10px !important;
    border: 1px solid transparent !important;
    background: transparent !important;
    color: #64748b !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    line-height: 1 !important;
    box-shadow: none !important;
}

.billing-modern-page.billing-shared-workspace-page.labels-billing-page #basic-datatable_wrapper .dataTables_paginate .page-item.active .page-link,
.billing-modern-page.billing-shared-workspace-page.labels-billing-page #basic-datatable_wrapper .dataTables_paginate .paginate_button.current {
    background: linear-gradient(135deg, #6366f1, #4f46e5) !important;
    border-color: transparent !important;
    color: #fff !important;
    box-shadow: 0 8px 16px rgba(99, 102, 241, .22) !important;
}

.billing-modern-page.billing-shared-workspace-page.labels-billing-page #basic-datatable_wrapper .dataTables_paginate .page-item .page-link:hover,
.billing-modern-page.billing-shared-workspace-page.labels-billing-page #basic-datatable_wrapper .dataTables_paginate .paginate_button:hover {
    background: #eef4ff !important;
    border-color: #cfddf2 !important;
    color: #1e293b !important;
}

html[data-theme="dark"] .billing-modern-page.billing-shared-workspace-page.labels-billing-page .billing-history-calendar-icon {
    border-color: #2b3950;
    background: linear-gradient(180deg, #162033, #111a2c);
}

html[data-theme="dark"] .billing-modern-page.billing-shared-workspace-page.labels-billing-page .billing-history-calendar-icon:hover {
    border-color: #364861;
    background: linear-gradient(180deg, #1a2740, #142138);
}

html[data-theme="dark"] .billing-modern-page.billing-shared-workspace-page.labels-billing-page .billing-history-calendar-icon.is-active {
    border-color: rgba(106,169,255,.28);
    background: rgba(106,169,255,.08);
    box-shadow: 0 0 0 3px rgba(106, 169, 255, .08);
}

html[data-theme="dark"] .billing-modern-page.billing-shared-workspace-page.labels-billing-page .billing-history-calendar-icon .analytics-filter-date-icon-btn {
    color: #6aa9ff;
}

html[data-theme="dark"] .billing-modern-page.billing-shared-workspace-page.labels-billing-page #basic-datatable_wrapper .row:last-child {
    border-top-color: rgba(148,163,184,.14);
}

html[data-theme="dark"] .billing-modern-page.billing-shared-workspace-page.labels-billing-page #basic-datatable_wrapper .billing-dt-info-pill,
html[data-theme="dark"] .billing-modern-page.billing-shared-workspace-page.labels-billing-page #basic-datatable_wrapper .dataTables_info {
    border-color: #2b3950;
    background: linear-gradient(180deg, #162033, #111a2c);
    color: #b8c7da;
}

html[data-theme="dark"] .billing-modern-page.billing-shared-workspace-page.labels-billing-page #basic-datatable_wrapper .billing-dt-info-pill::before,
html[data-theme="dark"] .billing-modern-page.billing-shared-workspace-page.labels-billing-page #basic-datatable_wrapper .dataTables_info::before {
    color: #9cb0cb;
}

html[data-theme="dark"] .billing-modern-page.billing-shared-workspace-page.labels-billing-page #basic-datatable_wrapper .billing-dt-paginate-shell,
html[data-theme="dark"] .billing-modern-page.billing-shared-workspace-page.labels-billing-page #basic-datatable_wrapper .dataTables_paginate {
    border-color: #2b3950;
    background: linear-gradient(180deg, #162033, #111a2c);
}

html[data-theme="dark"] .billing-modern-page.billing-shared-workspace-page.labels-billing-page #basic-datatable_wrapper .dataTables_paginate .page-item .page-link,
html[data-theme="dark"] .billing-modern-page.billing-shared-workspace-page.labels-billing-page #basic-datatable_wrapper .dataTables_paginate .paginate_button {
    color: #b5c4d8 !important;
}

html[data-theme="dark"] .billing-modern-page.billing-shared-workspace-page.labels-billing-page #basic-datatable_wrapper .dataTables_paginate .page-item.active .page-link,
html[data-theme="dark"] .billing-modern-page.billing-shared-workspace-page.labels-billing-page #basic-datatable_wrapper .dataTables_paginate .paginate_button.current {
    background: linear-gradient(135deg, #3b82f6, #6366f1) !important;
    color: #fff !important;
}

html[data-theme="dark"] .billing-modern-page.billing-shared-workspace-page.labels-billing-page #basic-datatable_wrapper .dataTables_paginate .page-item .page-link:hover,
html[data-theme="dark"] .billing-modern-page.billing-shared-workspace-page.labels-billing-page #basic-datatable_wrapper .dataTables_paginate .paginate_button:hover {
    background: rgba(59,130,246,.12) !important;
    border-color: #304159 !important;
    color: #eef4ff !important;
}

@media (max-width: 991.98px) {
    .billing-modern-page.billing-shared-workspace-page.labels-billing-page .billing-table-card {
        margin-bottom: .35rem;
    }

    .billing-modern-page.billing-shared-workspace-page.labels-billing-page .billing-history-title {
        font-size: .96rem;
    }

    .billing-modern-page.billing-shared-workspace-page.labels-billing-page .billing-history-subtitle {
        font-size: .74rem;
    }

    .billing-modern-page.billing-shared-workspace-page.labels-billing-page .billing-history-head-actions {
        width: 100%;
        display: grid;
        grid-template-columns: minmax(0, 1fr) 42px;
        gap: .5rem;
    }

    .billing-modern-page.billing-shared-workspace-page.labels-billing-page .billing-history-head-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .billing-modern-page.billing-shared-workspace-page.labels-billing-page #basic-datatable_wrapper .dataTables_paginate {
        width: 100%;
        justify-content: center;
    }
}

/* Albums and songs list polish */
.albums-modern-page.users-shared-workspace-page .users-table-card,
.albums-modern-page.users-shared-workspace-page .users-table-card:hover {
    border-color: transparent;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.06);
}

.albums-modern-page.users-shared-workspace-page .table-responsive-shell {
    border: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.94));
    box-shadow: none;
}

.albums-modern-page.users-shared-workspace-page #basic-datatable tbody tr {
    transition: transform 0.24s ease, filter 0.24s ease;
}

.albums-modern-page.users-shared-workspace-page #basic-datatable tbody tr:hover {
    transform: translateY(-2px);
    filter: saturate(1.04);
}

.albums-modern-page.users-shared-workspace-page #basic-datatable tbody tr:hover td {
    background: linear-gradient(180deg, #ffffff, #f6f9ff);
}

.albums-modern-page.users-shared-workspace-page .user-cell {
    gap: 0.9rem;
}

.albums-modern-page.users-shared-workspace-page .user-media {
    width: 104px;
    min-width: 104px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.albums-modern-page.users-shared-workspace-page .user-logo {
    width: 52px;
    height: 52px;
    padding: 0;
    border: 0;
    border-radius: 14px;
    background: transparent;
    overflow: hidden;
    box-shadow: none;
    transform-origin: center center;
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s ease;
}

.albums-modern-page.users-shared-workspace-page .user-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

.albums-modern-page.users-shared-workspace-page .user-logo:hover,
.albums-modern-page.users-shared-workspace-page .user-logo:focus-within {
    transform: scale(1.14);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.14);
}

.albums-modern-page.users-shared-workspace-page .action-icon-btn {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.albums-modern-page.users-shared-workspace-page .action-icon-btn:hover:not(.is-disabled):not([aria-disabled="true"]) {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 14px 24px rgba(37, 99, 235, 0.14);
}

.songs-modern-page .analytics-card.songs-ui-table-card,
.songs-modern-page .analytics-card.songs-ui-table-card:hover {
    border-color: transparent;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.06);
}

.songs-modern-page .songs-ui-table-responsive {
    border: 0;
    background: color-mix(in srgb, var(--analytics-surface-solid) 98%, transparent);
    box-shadow: none;
}

.songs-modern-page .songs-ui-data-table tbody tr {
    transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease;
}

.songs-modern-page .songs-ui-data-table tbody tr:hover {
    transform: translateY(-2px);
    background: color-mix(in srgb, var(--analytics-accent-soft) 68%, var(--analytics-surface-solid));
    box-shadow: 0 14px 28px color-mix(in srgb, var(--analytics-accent) 14%, transparent);
}

.songs-modern-page .songs-ui-song-media {
    gap: 0.9rem;
}

.songs-modern-page .songs-ui-song-cover {
    position: relative;
    width: 52px;
    height: 52px;
    margin-right: 2.4rem;
    border-radius: 14px;
    overflow: hidden;
    transform-origin: center center;
    transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.22s ease, filter 0.22s ease;
}

.songs-modern-page .songs-ui-song-cover[data-preview-src] {
    cursor: pointer;
}

.songs-modern-page .songs-ui-song-cover:hover,
.songs-modern-page .songs-ui-song-cover:focus-within {
    transform: scale(1.12);
    box-shadow: 0 14px 26px rgba(15, 23, 42, 0.16);
}

.songs-modern-page .songs-ui-song-cover.is-preview-playing {
    transform: scale(1.14);
    box-shadow: 0 16px 28px rgba(37, 99, 235, 0.18);
    filter: saturate(1.06);
}

.songs-modern-page .songs-ui-data-table .action-icon {
    width: 36px;
    height: 36px;
    border-radius: 11px;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.songs-modern-page .songs-ui-data-table .action-icon:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 12px 24px color-mix(in srgb, var(--analytics-accent) 18%, transparent);
}

html[data-theme="dark"] .albums-modern-page.users-shared-workspace-page .users-table-card,
html[data-theme="dark"] .albums-modern-page.users-shared-workspace-page .users-table-card:hover {
    box-shadow: 0 20px 44px rgba(2, 6, 23, 0.28);
}

html[data-theme="dark"] .albums-modern-page.users-shared-workspace-page .table-responsive-shell {
    background: rgba(15, 23, 42, 0.42);
    box-shadow: none;
}

html[data-theme="dark"] .albums-modern-page.users-shared-workspace-page #basic-datatable tbody tr:hover td {
    background: linear-gradient(180deg, #121c2f, #162235);
}

html[data-theme="dark"] .albums-modern-page.users-shared-workspace-page .user-logo {
    background: transparent;
}

html[data-theme="dark"] .albums-modern-page.users-shared-workspace-page .user-logo:hover,
html[data-theme="dark"] .albums-modern-page.users-shared-workspace-page .user-logo:focus-within {
    box-shadow: 0 14px 28px rgba(2, 6, 23, 0.30);
}

html[data-theme="dark"] .albums-modern-page.users-shared-workspace-page .action-icon-btn:hover:not(.is-disabled):not([aria-disabled="true"]) {
    box-shadow: 0 14px 26px rgba(37, 99, 235, 0.18);
}

html[data-theme="dark"] .songs-modern-page .analytics-card.songs-ui-table-card,
html[data-theme="dark"] .songs-modern-page .analytics-card.songs-ui-table-card:hover {
    box-shadow: 0 20px 44px rgba(2, 6, 23, 0.28);
}

html[data-theme="dark"] .songs-modern-page .songs-ui-song-cover:hover,
html[data-theme="dark"] .songs-modern-page .songs-ui-song-cover:focus-within {
    box-shadow: 0 16px 28px rgba(2, 6, 23, 0.30);
}

html[data-theme="dark"] .songs-modern-page .songs-ui-song-cover.is-preview-playing {
    box-shadow: 0 18px 30px rgba(8, 47, 73, 0.34);
}

.songs-modern-page .songs-ui-data-table td[data-label="Play Song"] .songs-ui-audio-wrap {
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.songs-modern-page .songs-ui-data-table td[data-label="Play Song"] .songs-ui-audio-wrap audio {
    margin: 0;
    background: transparent;
}

.songs-modern-page .songs-ui-data-table td[data-label="Play Song"] .songs-ui-audio-wrap audio::-webkit-media-controls-enclosure {
    padding: 0;
    border: 1px solid #dbe7ff;
    border-radius: 999px;
    background: linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 8px 18px rgba(37, 99, 235, 0.08);
}

.songs-modern-page .songs-ui-data-table td[data-label="Play Song"] .songs-ui-audio-wrap audio::-webkit-media-controls-panel {
    padding: 0;
    background: linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%);
}

html[data-theme="dark"] .songs-modern-page .songs-ui-data-table td[data-label="Play Song"] .songs-ui-audio-wrap audio::-webkit-media-controls-enclosure {
    border-color: rgba(125, 211, 252, 0.34);
    background: linear-gradient(180deg, #324763 0%, #24364f 100%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 12px 24px rgba(2, 6, 23, 0.26);
}

html[data-theme="dark"] .songs-modern-page .songs-ui-data-table td[data-label="Play Song"] .songs-ui-audio-wrap audio::-webkit-media-controls-panel {
    background: linear-gradient(180deg, #324763 0%, #24364f 100%);
}

@media (max-width: 767.98px) {
    .leftside-menu.firebase-admin-sidebar {
        display: none;
        width: min(260px, calc(100vw - 2rem));
        min-width: 0;
        max-width: calc(100vw - 1rem);
        box-shadow: 0 20px 40px rgba(15, 23, 42, 0.18);
    }

    .sidebar-enable .leftside-menu.firebase-admin-sidebar {
        display: flex !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        inset: 0 !important;
        width: 100vw !important;
        max-width: 100vw !important;
        height: 100dvh !important;
        border-radius: 0;
        border-right: 0;
        box-shadow: none !important;
        z-index: 2000 !important;
    }

    html.sidebar-enable,
    html.sidebar-enable body {
        overflow: hidden !important;
    }

    .sidebar-enable .leftside-menu.firebase-admin-sidebar .logo {
        width: 100% !important;
    }

    .sidebar-enable .leftside-menu.firebase-admin-sidebar .firebase-admin-sidebar-scroll {
        height: calc(100dvh - 70px);
        min-height: 0;
    }

    .sidebar-enable .leftside-menu.firebase-admin-sidebar .side-nav {
        padding-top: 0.6rem;
    }

    .sidebar-enable .leftside-menu.firebase-admin-sidebar .side-nav .side-nav-item {
        margin-left: 0.85rem;
        margin-right: 0.85rem;
    }

    .sidebar-enable .leftside-menu.firebase-admin-sidebar .side-nav .side-nav-link {
        min-height: 48px;
        border-radius: 16px;
    }

    html.sidebar-enable[data-sidenav-size="condensed"] .firebase-admin-sidebar .firebase-side-nav-brand,
    html.sidebar-enable[data-sidenav-size="condensed"] .firebase-admin-sidebar .firebase-side-nav-title,
    html.sidebar-enable[data-sidenav-size="condensed"] .firebase-admin-sidebar .side-nav .side-nav-link span,
    html.sidebar-enable[data-sidenav-size="condensed"] .firebase-admin-sidebar .firebase-sidebar-collapse-label {
        display: block !important;
    }

    html.sidebar-enable[data-sidenav-size="condensed"] .firebase-admin-sidebar .button-sm-hover,
    html.sidebar-enable[data-sidenav-size="condensed"] .firebase-admin-sidebar .firebase-sidebar-rail-toggle-item {
        display: none !important;
    }

    html.sidebar-enable[data-sidenav-size="condensed"] .firebase-admin-sidebar .side-nav .side-nav-item {
        width: auto !important;
        max-width: none !important;
        overflow: visible !important;
    }

    html.sidebar-enable[data-sidenav-size="condensed"] .firebase-admin-sidebar .side-nav .side-nav-link {
        justify-content: flex-start !important;
        text-align: left !important;
        padding: 0.65rem 0.85rem !important;
        gap: 0.7rem !important;
        box-shadow: none;
    }

    html.sidebar-enable[data-sidenav-size="condensed"] .firebase-admin-sidebar .side-nav .side-nav-link i {
        width: 22px !important;
        min-width: 22px !important;
        margin: 0 !important;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        font-size: 1.1rem;
    }

    html.sidebar-enable[data-sidenav-size="condensed"] .firebase-admin-sidebar .logo {
        width: 100% !important;
        min-width: 0 !important;
        padding: 0 1rem !important;
        justify-content: flex-start;
    }

    html.sidebar-enable[data-sidenav-size="condensed"] .firebase-admin-sidebar .logo .logo-lg {
        display: block !important;
    }

    html.sidebar-enable[data-sidenav-size="condensed"] .firebase-admin-sidebar .logo .logo-sm {
        display: none !important;
    }

    .topnav-navbar .button-toggle-menu {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
    }

    .analytics-topbar-profile-trigger {
        min-width: 0 !important;
        max-width: calc(100vw - 9rem);
        padding: 0.3rem 0.45rem !important;
    }

    .analytics-topbar-profile-email {
        max-width: 96px;
    }
}

/* Date filter "All" / active-range states */
.analytics-filter-date-all-active {
    background: var(--analytics-accent, #3b82f6) !important;
    color: #fff !important;
    border-radius: 10px !important;
    width: auto !important;
    height: auto !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    padding: 0 12px !important;
    min-height: 36px !important;
}
.analytics-filter-date-range-active {
    background: color-mix(in srgb, var(--analytics-accent, #3b82f6) 14%, transparent) !important;
    color: var(--analytics-accent, #3b82f6) !important;
    border-radius: 10px !important;
}

/* Report page styles */
.report-shot-exact-page {
    --report-bg: #f6f8fc;
    --report-surface: rgba(255, 255, 255, 0.92);
    --report-surface-strong: #ffffff;
    --report-surface-soft: rgba(247, 249, 253, 0.92);
    --report-border: rgba(219, 228, 242, 0.88);
    --report-border-strong: rgba(209, 221, 239, 0.96);
    --report-text: #172033;
    --report-muted: #6f7f9b;
    --report-soft-text: #8ea0bd;
    --report-purple: #6c41f5;
    --report-purple-deep: #5f33ea;
    --report-cyan: #3ac9e8;
    --report-green: #29c160;
    --report-red: #ff7b92;
    --report-orange: #ffbe46;
    --report-blue: #6b9cff;
    --report-shadow: 0 20px 40px rgba(17, 24, 39, .06);
    --report-card-shadow: 0 18px 38px rgba(15, 23, 42, .05);
    --report-grid-y: rgba(148, 163, 184, .1);
    --report-grid-x: rgba(148, 163, 184, .05);
    --analytics-surface-solid: var(--report-surface-strong);
    --analytics-surface-alt: var(--report-surface-soft);
    --analytics-border: var(--report-border);
    --analytics-border-strong: var(--report-border-strong);
    --analytics-text: var(--report-text);
    --analytics-text-muted: var(--report-muted);
    --analytics-accent: #2563eb;
    --analytics-accent-soft: rgba(37, 99, 235, 0.12);
    background:
        radial-gradient(circle at 18% 0%, rgba(255, 216, 107, .12), transparent 22%),
        radial-gradient(circle at 70% 5%, rgba(109, 65, 245, .05), transparent 26%),
        linear-gradient(180deg, #fafbfe 0%, #f5f7fc 100%);
}

.report-shot-exact-page[data-analytics-theme="dark"] {
    --report-bg: #0f1422;
    --report-surface: rgba(19, 27, 43, 0.86);
    --report-surface-strong: rgba(24, 33, 52, 0.94);
    --report-surface-soft: rgba(16, 23, 38, 0.92);
    --report-border: rgba(109, 122, 152, 0.22);
    --report-border-strong: rgba(130, 143, 176, 0.24);
    --report-text: #f3f7ff;
    --report-muted: #98a8c7;
    --report-soft-text: #7e90af;
    --report-shadow: 0 30px 60px rgba(0, 0, 0, .28);
    --report-card-shadow: 0 18px 36px rgba(0, 0, 0, .22);
    --report-grid-y: rgba(128, 145, 176, .12);
    --report-grid-x: rgba(128, 145, 176, .07);
    background:
        radial-gradient(circle at 12% 0%, rgba(67, 179, 128, .12), transparent 24%),
        radial-gradient(circle at 86% 8%, rgba(108, 65, 245, .16), transparent 26%),
        linear-gradient(180deg, #0d1320 0%, #131c2e 100%);
}

.report-shot-exact-page .report-shot-shell {
    padding: .2rem;
}

.report-shot-exact-page .report-shot-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: .2rem 0 1.05rem;
    padding: 0 .2rem;
}

.report-shot-exact-page .report-shot-heading-copy {
    display: grid;
    gap: .4rem;
}

.report-shot-exact-page .report-shot-title {
    margin: 0;
    font-size: 2rem;
    line-height: 1.1;
    font-weight: 800;
    color: var(--report-text);
    letter-spacing: -.03em;
}

.report-shot-exact-page .report-shot-subtitle {
    margin: 0;
    color: var(--report-muted);
    font-size: .95rem;
    font-weight: 600;
    max-width: 760px;
}

.report-shot-exact-page .report-shot-frame {
    border-radius: 28px;
    border: 1px solid var(--report-border-strong);
    background: linear-gradient(180deg, var(--report-surface), var(--report-surface-soft));
    box-shadow: var(--report-shadow);
    backdrop-filter: blur(18px);
    padding: 1rem;
}

.report-shot-exact-page .report-shot-filter-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: flex-start;
    column-gap: 1.1rem;
    row-gap: .9rem;
    margin-bottom: 1rem;
}

.report-shot-exact-page .report-shot-filter-toolbar-left {
    flex: 1 1 auto;
    min-width: 0;
    display: grid;
    gap: .85rem;
    width: 100%;
}

.report-shot-exact-page .report-shot-filter-toolbar-right {
    margin-left: 0;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: .85rem;
    min-width: 0;
    flex-wrap: nowrap;
    justify-self: end;
    align-self: start;
}

.report-shot-exact-page .report-shot-filter-applied {
    gap: .55rem;
}

.report-shot-exact-page .report-shot-date-wrap {
    position: relative;
    min-width: 250px;
    width: min(330px, 100%);
    flex: 0 1 330px;
}

.report-shot-exact-page .report-shot-date-input {
    width: 100%;
    min-height: 56px;
    border-radius: 16px;
    border: 1px solid var(--report-border);
    background: var(--report-surface-strong);
    color: var(--report-text);
    padding: 0;
    font-size: 1rem;
    font-weight: 700;
}

.report-shot-exact-page .report-shot-date-icon {
    position: absolute;
    top: 50%;
    left: 1rem;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--report-muted);
    z-index: 2;
}

.report-shot-exact-page .report-shot-date-trigger {
    position: absolute;
    inset: 0;
    border: 0;
    background: transparent;
    color: var(--report-text);
    padding: 0 1rem 0 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    font-weight: 700;
    border-radius: 16px;
}

.report-shot-exact-page .report-shot-date-display {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.report-shot-exact-page .report-shot-reset-btn {
    min-height: 56px;
    padding: .88rem 1.3rem;
    border-radius: 16px;
    border: 1px solid var(--report-border-strong);
    background: var(--report-surface-strong);
    color: var(--report-muted);
    font-weight: 700;
    box-shadow: none;
    flex: 0 0 auto;
    white-space: nowrap;
}

.report-shot-exact-page .report-shot-overview-banner {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) auto;
    gap: 1rem;
    align-items: center;
    padding: 1rem 1.1rem;
    margin-bottom: 1rem;
    border-radius: 22px;
    border: 1px solid var(--report-border);
    background:
        radial-gradient(circle at top right, rgba(122, 70, 243, .1), transparent 28%),
        linear-gradient(135deg, rgba(122, 70, 243, .06), rgba(78, 213, 239, .05) 48%, rgba(255, 188, 59, .06));
    box-shadow: var(--report-card-shadow);
}

.report-shot-exact-page .report-shot-overview-copy {
    display: grid;
    gap: .35rem;
}

.report-shot-exact-page .report-shot-overview-eyebrow {
    color: var(--report-soft-text);
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.report-shot-exact-page .report-shot-overview-title {
    margin: 0;
    color: var(--report-text);
    font-size: 1.32rem;
    font-weight: 800;
}

.report-shot-exact-page .report-shot-overview-text {
    margin: 0;
    max-width: 720px;
    color: var(--report-muted);
    font-size: .92rem;
    font-weight: 700;
    line-height: 1.45;
}

.report-shot-exact-page .report-shot-overview-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .7rem;
    min-width: min(560px, 100%);
}

.report-shot-exact-page .report-shot-overview-stat {
    display: grid;
    gap: .18rem;
    min-width: 0;
    padding: .75rem .9rem;
    border-radius: 16px;
    border: 1px solid var(--report-border);
    background: rgba(255, 255, 255, .66);
}

.report-shot-exact-page[data-analytics-theme="dark"] .report-shot-overview-stat {
    background: rgba(255, 255, 255, .03);
}

.report-shot-exact-page .report-shot-overview-stat strong {
    color: var(--report-text);
    font-size: 1.18rem;
    font-weight: 800;
}

.report-shot-exact-page .report-shot-overview-stat span {
    color: var(--report-muted);
    font-size: .76rem;
    font-weight: 700;
}

.report-shot-exact-page .report-shot-kpis {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.report-shot-exact-page .report-shot-kpi {
    min-width: 0;
    min-height: 186px;
    padding: 1.05rem 1.05rem .95rem;
    border-radius: 18px;
    border: 1px solid var(--report-border);
    background: linear-gradient(180deg, var(--report-surface-strong), var(--report-surface-soft));
    box-shadow: var(--report-card-shadow);
    position: relative;
    overflow: hidden;
}

.report-shot-exact-page .report-shot-kpi::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 68px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .24), rgba(255, 255, 255, 0));
    pointer-events: none;
}

.report-shot-exact-page .report-shot-kpi--plays::after,
.report-shot-exact-page .report-shot-kpi--songs::after,
.report-shot-exact-page .report-shot-kpi--reach::after,
.report-shot-exact-page .report-shot-kpi--missing::after {
    content: '';
    position: absolute;
    inset: auto 1rem .9rem 1rem;
    height: 6px;
    border-radius: 999px;
    opacity: .95;
}

.report-shot-exact-page .report-shot-kpi--plays::after {
    background: linear-gradient(90deg, #67d58f 0%, #2cc56a 100%);
}

.report-shot-exact-page .report-shot-kpi--songs::after {
    background: linear-gradient(90deg, #a98bff 0%, #7a46f3 100%);
}

.report-shot-exact-page .report-shot-kpi--reach::after {
    background: linear-gradient(90deg, #8bb7ff 0%, #5c8eff 100%);
}

.report-shot-exact-page .report-shot-kpi--missing::after {
    background: linear-gradient(90deg, #ffd279 0%, #ffb73a 100%);
}

.report-shot-exact-page .report-shot-kpi-head,
.report-shot-exact-page .report-shot-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    margin-bottom: .85rem;
}

.report-shot-exact-page .report-shot-kpi-title,
.report-shot-exact-page .report-shot-kpi-meta,
.report-shot-exact-page .report-shot-muted {
    color: var(--report-muted);
}

.report-shot-exact-page .report-shot-kpi-title {
    font-size: .92rem;
    font-weight: 700;
}

.report-shot-exact-page .report-shot-kpi-icon {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.report-shot-exact-page .report-shot-kpi-icon.is-purple { background: rgba(108,65,245,.11); color: var(--report-purple); }
.report-shot-exact-page .report-shot-kpi-icon.is-cyan { background: rgba(58,201,232,.11); color: var(--report-cyan); }
.report-shot-exact-page .report-shot-kpi-icon.is-green { background: rgba(41,193,96,.11); color: var(--report-green); }
.report-shot-exact-page .report-shot-kpi-icon.is-orange { background: rgba(255,190,70,.14); color: var(--report-orange); }
.report-shot-exact-page .report-shot-kpi-icon.is-blue { background: rgba(107,156,255,.12); color: var(--report-blue); }

.report-shot-exact-page .report-shot-kpi-value {
    margin-bottom: .4rem;
    color: var(--report-text);
    font-size: 2.35rem;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -.03em;
}

.report-shot-exact-page .report-shot-kpi-meta {
    min-height: 52px;
    font-size: .82rem;
    font-weight: 700;
    margin-bottom: .8rem;
    line-height: 1.35;
    max-width: 95%;
}

.report-shot-exact-page .report-shot-kpi-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: .26rem .68rem;
    margin-bottom: .55rem;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 800;
    width: fit-content;
}

.report-shot-exact-page .report-shot-kpi-status.is-muted {
    background: rgba(107, 156, 255, .12);
    color: #5c8eff;
}

.report-shot-exact-page .report-shot-kpi-status.is-warning {
    background: rgba(255, 188, 59, .14);
    color: #c2830d;
}

.report-shot-exact-page .report-shot-kpi-status.is-good {
    background: rgba(41, 193, 96, .12);
    color: var(--report-green);
}

.report-shot-exact-page .report-shot-kpi-status.is-accent {
    background: rgba(108, 65, 245, .11);
    color: var(--report-purple);
}

.report-shot-exact-page .report-shot-kpi-action {
    display: inline-flex;
    align-items: center;
    gap: .32rem;
    margin-top: .25rem;
    color: var(--report-soft-text);
    font-size: .76rem;
    font-weight: 800;
}

.report-shot-exact-page .report-shot-spark {
    height: 54px;
    margin-top: auto;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, 0));
    overflow: hidden;
}

.report-shot-exact-page .report-shot-spark svg {
    width: 100%;
    height: 100%;
}

.report-shot-exact-page .report-shot-spark polyline {
    fill: none;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 8px 12px rgba(17, 24, 39, .08));
}

.report-shot-exact-page .report-shot-main-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(340px, .96fr) minmax(320px, .9fr);
    gap: 1rem;
    margin-bottom: 1rem;
    align-items: stretch;
}

.report-shot-exact-page .report-shot-bottom-grid {
    display: grid;
    grid-template-columns: 1.35fr .95fr;
    gap: 1rem;
}

.report-shot-exact-page .report-shot-card {
    min-width: 0;
    min-height: 100%;
    overflow: hidden;
    border-radius: 20px;
    border: 1px solid var(--report-border);
    background: linear-gradient(180deg, var(--report-surface-strong), var(--report-surface-soft));
    box-shadow: var(--report-card-shadow);
    backdrop-filter: blur(14px);
    padding: 1rem;
    display: flex;
    flex-direction: column;
}

.report-shot-exact-page .report-shot-card--catalog,
.report-shot-exact-page .report-shot-card--gap,
.report-shot-exact-page .report-shot-card--coverage {
    min-height: 620px;
}

.report-shot-exact-page .report-shot-card-title {
    margin: 0;
    color: var(--report-text);
    font-size: 1rem;
    font-weight: 800;
}

.report-shot-exact-page .report-shot-card-summary-chips {
    display: flex;
    align-items: center;
    gap: .55rem;
    flex-wrap: wrap;
}

.report-shot-exact-page .report-shot-summary-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: .34rem .82rem;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 800;
    white-space: nowrap;
}

.report-shot-exact-page .report-shot-summary-chip.is-purple {
    background: rgba(108, 65, 245, .11);
    color: var(--report-purple);
}

.report-shot-exact-page .report-shot-summary-chip.is-cyan {
    background: rgba(58, 201, 232, .12);
    color: #22b8d7;
}

.report-shot-exact-page .report-shot-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: .34rem .78rem;
    border-radius: 999px;
    border: 1px solid var(--report-border);
    background: var(--report-surface-strong);
    color: var(--report-muted);
    font-size: .78rem;
    font-weight: 700;
    text-decoration: none;
}

.report-shot-exact-page .report-shot-legend {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: .85rem;
    color: var(--report-muted);
    font-size: .78rem;
    font-weight: 700;
}

.report-shot-exact-page .report-shot-legend span {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
}

.report-shot-exact-page .report-shot-legend i {
    width: 30px;
    height: 4px;
    border-radius: 999px;
    display: inline-block;
}

.report-shot-exact-page .report-shot-chart {
    height: 250px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: .75rem;
    flex: 1 1 auto;
}

.report-shot-exact-page .report-shot-card--catalog .report-shot-chart {
    height: 100%;
    min-height: 500px;
}

.report-shot-exact-page .report-shot-yaxis {
    display: grid;
    align-content: space-between;
    padding: .4rem 0 1.2rem;
    color: var(--report-muted);
    font-size: .72rem;
    font-weight: 700;
}

.report-shot-exact-page .report-shot-chart-area {
    display: grid;
    grid-template-rows: 1fr auto;
    gap: .8rem;
}

.report-shot-exact-page .report-shot-chart-canvas {
    position: relative;
    border-radius: 18px;
    background:
        linear-gradient(180deg, var(--report-grid-y) 1px, transparent 1px) 0 0 / 100% 25%,
        linear-gradient(90deg, var(--report-grid-x) 1px, transparent 1px) 0 0 / calc(100% / 12) 100%;
    overflow: hidden;
}

.report-shot-exact-page .report-shot-bars {
    position: absolute;
    inset: .6rem .5rem 1rem;
    display: flex;
    align-items: flex-end;
    gap: 10px;
}

.report-shot-exact-page .report-shot-bar-group {
    flex: 1;
    min-width: 10px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    height: 100%;
}

.report-shot-exact-page .report-shot-bar {
    width: 58%;
    min-height: 0;
    border-radius: 10px 10px 0 0;
    background: linear-gradient(180deg, rgba(108,65,245,.72), rgba(108,65,245,.98));
    box-shadow: 0 10px 18px rgba(108,65,245,.16);
}

.report-shot-exact-page .report-shot-line {
    position: absolute;
    inset: .4rem .5rem .9rem;
    width: calc(100% - 1rem);
    height: calc(100% - 1.3rem);
    overflow: visible;
    pointer-events: none;
}

.report-shot-exact-page .report-shot-line polygon {
    fill: rgba(78, 213, 239, .14);
}

.report-shot-exact-page .report-shot-line polyline {
    fill: none;
    stroke: var(--report-cyan);
    stroke-width: 3.6;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 7px 12px rgba(58, 201, 232, .18));
}

.report-shot-exact-page .report-shot-line circle {
    fill: #ffffff;
    stroke: var(--report-cyan);
    stroke-width: 2.8;
}

.report-shot-exact-page .report-shot-chart-empty {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--report-muted);
    font-size: .92rem;
    font-weight: 700;
    background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,0));
}

.report-shot-exact-page .report-shot-xaxis {
    display: flex;
    gap: 8px;
    color: var(--report-muted);
    font-size: .72rem;
    font-weight: 700;
}

.report-shot-exact-page .report-shot-xaxis span {
    flex: 1;
    min-width: 0;
    text-align: center;
    white-space: nowrap;
}

.report-shot-exact-page .report-shot-donut-wrap {
    display: grid;
    grid-template-columns: minmax(132px, 150px) minmax(0, 1fr);
    gap: .9rem;
    min-height: 250px;
    align-items: center;
    flex: 1 1 auto;
}

.report-shot-exact-page .report-shot-donut {
    width: 152px;
    height: 152px;
    margin: 0 auto;
    border-radius: 50%;
    background: var(--report-donut, #e7ecf6);
    position: relative;
}

.report-shot-exact-page .report-shot-donut::before {
    content: '';
    position: absolute;
    inset: 26px;
    border-radius: 50%;
    background: var(--report-surface-strong);
    border: 1px solid var(--report-border);
}

.report-shot-exact-page .report-shot-platform-list,
.report-shot-exact-page .report-shot-performance-list,
.report-shot-exact-page .report-shot-coverage-list {
    display: grid;
    gap: .8rem;
}

.report-shot-exact-page .report-shot-gap-graph {
    display: grid;
    gap: .9rem;
    min-height: 0;
    height: 100%;
    align-content: start;
    flex: 1 1 auto;
}

.report-shot-exact-page .report-shot-scroll-area {
    min-height: 0;
    max-height: 100%;
    overflow-y: auto;
    padding-right: .28rem;
}

.report-shot-exact-page .report-shot-scroll-area::-webkit-scrollbar {
    width: 8px;
}

.report-shot-exact-page .report-shot-scroll-area::-webkit-scrollbar-thumb {
    background: rgba(108, 65, 245, .18);
    border-radius: 999px;
}

.report-shot-exact-page .report-shot-gap-item {
    display: grid;
    gap: .5rem;
    padding: .8rem .9rem;
    border-radius: 16px;
    border: 1px solid var(--report-border);
    background: linear-gradient(180deg, rgba(255, 255, 255, .42), rgba(247, 249, 253, .68));
}

.report-shot-exact-page[data-analytics-theme="dark"] .report-shot-gap-item {
    background: linear-gradient(180deg, rgba(255, 255, 255, .025), rgba(255, 255, 255, .01));
}

.report-shot-exact-page .report-shot-gap-item-head,
.report-shot-exact-page .report-shot-gap-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .7rem;
    flex-wrap: wrap;
}

.report-shot-exact-page .report-shot-gap-platform {
    display: flex;
    align-items: center;
    gap: .72rem;
    min-width: 0;
}

.report-shot-exact-page .report-shot-gap-platform strong {
    color: var(--report-text);
    font-weight: 700;
    line-height: 1.2;
}

.report-shot-exact-page .report-shot-gap-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: .26rem .62rem;
    border-radius: 999px;
    font-size: .74rem;
    font-weight: 800;
    white-space: nowrap;
}

.report-shot-exact-page .report-shot-gap-tag.is-warning {
    background: rgba(255, 188, 59, .14);
    color: #c2830d;
}

.report-shot-exact-page .report-shot-gap-tag.is-clear {
    background: rgba(41, 193, 96, .1);
    color: var(--report-green);
}

.report-shot-exact-page .report-shot-gap-bar {
    display: flex;
    width: 100%;
    height: 10px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(108, 65, 245, .08);
}

.report-shot-exact-page .report-shot-gap-bar-linked,
.report-shot-exact-page .report-shot-gap-bar-missing {
    display: block;
    height: 100%;
}

.report-shot-exact-page .report-shot-gap-bar-linked {
    background: linear-gradient(90deg, #8ec5ff 0%, #6f47f5 100%);
}

.report-shot-exact-page .report-shot-gap-bar-missing {
    background: linear-gradient(90deg, rgba(255, 188, 59, .24), rgba(255, 123, 146, .72));
}

.report-shot-exact-page .report-shot-gap-meta {
    color: var(--report-muted);
    font-size: .78rem;
    font-weight: 700;
}

.report-shot-exact-page .report-shot-gap-meta strong {
    color: var(--report-text);
    font-size: .82rem;
    font-weight: 800;
}

.report-shot-exact-page .report-shot-platform-list {
    align-content: center;
}

.report-shot-exact-page .report-shot-coverage-list {
    min-height: 0;
    height: 100%;
    align-content: start;
    flex: 1 1 auto;
    grid-template-rows: minmax(0, 1fr) auto;
}

.report-shot-exact-page .report-shot-coverage-body {
    display: grid;
    gap: .8rem;
}

.report-shot-exact-page .report-shot-platform-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 52px 34px;
    gap: .55rem;
    align-items: center;
    color: var(--report-muted);
    font-size: .84rem;
    font-weight: 700;
}

.report-shot-exact-page .report-shot-platform-row strong,
.report-shot-exact-page .report-shot-file strong,
.report-shot-exact-page .report-shot-metric {
    color: var(--report-text);
    font-weight: 700;
}

.report-shot-exact-page .report-shot-platform-mark {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: .55rem;
    vertical-align: -6px;
    background: color-mix(in srgb, var(--report-surface-soft) 92%, transparent);
    border: 1px solid var(--report-border);
}

.report-shot-exact-page .report-shot-platform-mark.is-large {
    width: 34px;
    height: 34px;
    margin-right: 0;
    vertical-align: middle;
}

.report-shot-exact-page .report-shot-platform-mark img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.report-shot-exact-page .report-shot-platform-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.report-shot-exact-page .report-shot-coverage-row {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(135px, .86fr) minmax(86px, auto);
    align-items: center;
    gap: .75rem;
    padding: .3rem 0;
}

.report-shot-exact-page .report-shot-coverage-meta {
    display: flex;
    align-items: center;
    gap: .8rem;
    min-width: 0;
}

.report-shot-exact-page .report-shot-coverage-meta .report-shot-file strong,
.report-shot-exact-page .report-shot-platform-row strong {
    line-height: 1.2;
}

.report-shot-exact-page .report-shot-file {
    display: grid;
    gap: .16rem;
    min-width: 0;
}

.report-shot-exact-page .report-shot-file span {
    color: var(--report-muted);
    font-size: .8rem;
}

.report-shot-exact-page .report-shot-coverage-capsules {
    display: flex;
    align-items: center;
    gap: .28rem;
    min-width: 0;
    align-self: center;
}

.report-shot-exact-page .report-shot-coverage-capsule {
    flex: 1 1 0;
    min-width: 6px;
    height: 38px;
    border-radius: 999px;
    background: rgba(122, 70, 243, .08);
    border: 1px solid rgba(122, 70, 243, .06);
}

.report-shot-exact-page .report-shot-coverage-capsule.is-filled {
    background: linear-gradient(180deg, rgba(169, 139, 255, .65), rgba(108, 65, 245, .95));
    box-shadow: 0 10px 20px rgba(108, 65, 245, .14);
}

.report-shot-exact-page .report-shot-coverage-stats {
    display: grid;
    justify-items: end;
    gap: .14rem;
    min-width: 78px;
}

.report-shot-exact-page .report-shot-coverage-stats strong {
    color: var(--report-text);
    font-size: 1rem;
    font-weight: 800;
}

.report-shot-exact-page .report-shot-coverage-stats span,
.report-shot-exact-page .report-shot-coverage-scale {
    color: var(--report-muted);
    font-size: .76rem;
    font-weight: 700;
}

.report-shot-exact-page .report-shot-coverage-scale {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    padding-top: .2rem;
    margin-top: auto;
}

.report-shot-exact-page .report-shot-coverage-scale-bar {
    width: 140px;
    height: 12px;
    border-radius: 999px;
    background: linear-gradient(90deg, #f0ebff, #c9b9ff, #7a46f3);
}

.report-shot-exact-page .report-shot-table {
    width: 100%;
    margin-bottom: 0;
}

.report-shot-exact-page .report-shot-table thead th {
    border: 0;
    padding: .72rem .5rem;
    color: var(--report-soft-text);
    font-size: .74rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.report-shot-exact-page .report-shot-table tbody td {
    border-top: 1px solid var(--report-border);
    padding: .9rem .5rem;
    vertical-align: middle;
    color: var(--report-text);
    font-size: .88rem;
}

.report-shot-exact-page .report-shot-table tbody tr:first-child td {
    border-top: 0;
}

.report-shot-exact-page .report-shot-library-empty {
    text-align: center;
    color: var(--report-muted);
    font-weight: 700;
    padding: 2rem 1rem;
}

.report-shot-exact-page .report-shot-media {
    display: flex;
    align-items: center;
    gap: .75rem;
    min-width: 0;
}

.report-shot-exact-page .report-shot-song-rank {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(108, 65, 245, .22);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--report-purple);
    background: rgba(108, 65, 245, .06);
}

.report-shot-exact-page .report-shot-thumb {
    width: 42px;
    height: 42px;
    display: inline-block;
    border-radius: 12px;
    object-fit: cover;
    background: var(--report-surface-soft);
    border: 1px solid var(--report-border);
    flex-shrink: 0;
}

.report-shot-exact-page .report-shot-thumb--placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--report-soft-text);
    font-size: 1.1rem;
}

.report-shot-exact-page .report-shot-top-links-value {
	color: var(--report-text);
	font-size: 1.08rem;
	font-weight: 800;
	letter-spacing: -.02em;
}

.report-shot-exact-page .report-shot-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .34rem .7rem;
    border-radius: 999px;
    background: rgba(108, 65, 245, .08);
    color: var(--report-purple);
    font-size: .72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.report-shot-exact-page .report-shot-performance-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto 88px auto auto;
    gap: .75rem;
    align-items: center;
    padding: .55rem 0;
    border-top: 1px solid var(--report-border);
}

.report-shot-exact-page .report-shot-performance-item:first-child {
    border-top: 0;
    padding-top: 0;
}

.report-shot-exact-page .report-shot-performance-spark {
    height: 20px;
}

.report-shot-exact-page .report-shot-performance-spark polyline {
    fill: none;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.report-shot-exact-page .report-shot-link-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 66px;
    padding: .38rem .62rem;
    border-radius: 999px;
    background: rgba(41, 193, 96, .1);
    color: var(--report-green);
    font-size: .76rem;
    font-weight: 800;
}

.daterangepicker.analytics-report-daterangepicker {
    border: 1px solid rgba(209, 221, 239, 0.96);
    border-radius: 18px;
    box-shadow: 0 20px 40px rgba(17, 24, 39, .08);
    background: #fff;
    color: #172033;
}

.daterangepicker.analytics-report-daterangepicker .ranges li {
    color: #4a5b78;
    font-weight: 600;
    user-select: none;
    -webkit-user-select: none;
    cursor: pointer;
}

.daterangepicker.analytics-report-daterangepicker .ranges li.active,
.daterangepicker.analytics-report-daterangepicker td.active,
.daterangepicker.analytics-report-daterangepicker td.active:hover,
.daterangepicker.analytics-report-daterangepicker .drp-buttons .btn-primary {
    background: #6c41f5 !important;
    border-color: #6c41f5 !important;
    color: #fff !important;
}

.daterangepicker.analytics-report-daterangepicker .ranges li.active {
    color: #fff !important;
}

.daterangepicker.analytics-report-daterangepicker .calendar-table td.in-range {
    background: rgba(108, 65, 245, .12);
    color: #2256d6;
}

.report-shot-exact-page[data-analytics-theme="dark"] .report-shot-reset-btn,
.report-shot-exact-page[data-analytics-theme="dark"] .report-shot-pill,
.report-shot-exact-page[data-analytics-theme="dark"] .report-shot-date-input {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .03);
}

@media (max-width: 1399px) {
    .report-shot-exact-page .report-shot-overview-banner,
    .report-shot-exact-page .report-shot-overview-stats {
        grid-template-columns: 1fr;
    }

    .report-shot-exact-page .report-shot-kpis {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .report-shot-exact-page .report-shot-main-grid,
    .report-shot-exact-page .report-shot-bottom-grid {
        grid-template-columns: 1fr;
    }

    .report-shot-exact-page .report-shot-card--catalog,
    .report-shot-exact-page .report-shot-card--gap,
    .report-shot-exact-page .report-shot-card--coverage {
        min-height: auto;
    }

    .report-shot-exact-page .report-shot-card--catalog .report-shot-chart {
        min-height: 420px;
    }
}

@media (max-width: 1199px) {
    .report-shot-exact-page .report-shot-date-wrap {
        min-width: 240px;
        width: min(300px, 100%);
        flex-basis: 300px;
    }

    .report-shot-exact-page .report-shot-card--catalog,
    .report-shot-exact-page .report-shot-card--gap,
    .report-shot-exact-page .report-shot-card--coverage {
        min-height: auto;
    }

    .report-shot-exact-page .report-shot-coverage-row,
    .report-shot-exact-page .report-shot-performance-item {
        grid-template-columns: 1fr;
        align-items: flex-start;
    }

    .report-shot-exact-page .report-shot-gap-item-head,
    .report-shot-exact-page .report-shot-gap-meta {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 767px) {
    .report-shot-exact-page .report-shot-heading {
        flex-direction: column;
        align-items: stretch;
    }

    .report-shot-exact-page .report-shot-card-summary-chips {
        width: 100%;
    }

    .report-shot-exact-page .report-shot-filter-toolbar,
    .report-shot-exact-page .report-shot-filter-toolbar-right,
    .report-shot-exact-page .report-shot-filter-toolbar-left {
        width: 100%;
    }

    .report-shot-exact-page .report-shot-filter-toolbar {
        grid-template-columns: 1fr;
    }

    .report-shot-exact-page .report-shot-filter-toolbar-right {
        margin-left: 0;
        justify-content: stretch;
        flex-wrap: wrap;
    }

    .report-shot-exact-page .report-shot-date-wrap,
    .report-shot-exact-page .report-shot-reset-btn {
        width: 100%;
        min-width: 0;
    }

    .report-shot-exact-page .report-shot-kpis {
        grid-template-columns: 1fr;
    }

    .report-shot-exact-page .report-shot-chart,
    .report-shot-exact-page .report-shot-donut-wrap {
        grid-template-columns: 1fr;
    }

    .report-shot-exact-page .report-shot-coverage-capsules {
        overflow-x: auto;
        padding-bottom: .25rem;
    }
}

/* Report page UI refresh */
.report-shot-exact-page .report-shot-frame {
    padding: 1.15rem;
    border-radius: 30px;
}

.report-shot-exact-page .report-shot-hero {
    display: grid;
    gap: 1.05rem;
    padding: 1.35rem;
    margin-bottom: 1.15rem;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, .18);
    background:
        radial-gradient(circle at 18% 18%, rgba(255, 255, 255, .2), transparent 30%),
        radial-gradient(circle at 88% 12%, rgba(255, 195, 111, .24), transparent 18%),
        linear-gradient(115deg, #2f63ff 0%, #5d6fff 34%, #8c72ff 68%, #d7d0ff 100%);
    box-shadow: 0 26px 52px rgba(68, 88, 221, .22);
}

.report-shot-exact-page[data-analytics-theme="dark"] .report-shot-hero {
    background:
        radial-gradient(circle at 18% 18%, rgba(255, 255, 255, .1), transparent 30%),
        radial-gradient(circle at 88% 12%, rgba(255, 195, 111, .18), transparent 18%),
        linear-gradient(115deg, #2146b9 0%, #3f4de0 34%, #6149d4 68%, #7468c3 100%);
}

.report-shot-exact-page .report-shot-hero-top,
.report-shot-exact-page .report-shot-hero-body {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.report-shot-exact-page .report-shot-hero-copy {
    display: grid;
    gap: .5rem;
    max-width: 620px;
}

.report-shot-exact-page .report-shot-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    color: #fff;
    font-size: 1.28rem;
    font-weight: 800;
}

.report-shot-exact-page .report-shot-hero-badge i {
    font-size: 1rem;
}

.report-shot-exact-page .report-shot-hero-summary {
    margin: 0;
    color: rgba(255, 255, 255, .9);
    font-size: .94rem;
    font-weight: 600;
    line-height: 1.45;
}

.report-shot-exact-page .report-shot-hero-actions {
    display: flex;
    align-items: stretch;
    justify-content: flex-end;
    gap: .75rem;
    flex-wrap: wrap;
}

.report-shot-exact-page .report-shot-hero .report-shot-date-wrap {
    display: flex;
    align-items: stretch;
    align-self: center;
    min-width: 280px;
    width: min(330px, 100%);
    height: 48px;
}

.report-shot-exact-page .report-shot-hero .report-shot-date-input,
.report-shot-exact-page .report-shot-hero .report-shot-date-trigger,
.report-shot-exact-page .report-shot-hero .report-shot-filter-btn,
.report-shot-exact-page .report-shot-export-btn,
.report-shot-exact-page .report-shot-reset-btn {
    min-height: 48px;
    border-radius: 14px;
}

.report-shot-exact-page .report-shot-hero .report-shot-date-input,
.report-shot-exact-page .report-shot-hero .report-shot-filter-btn,
.report-shot-exact-page .report-shot-export-btn,
.report-shot-exact-page .report-shot-reset-btn {
    min-height: 48px;
    border: 1px solid rgba(255, 255, 255, .26);
    background: rgba(255, 255, 255, .9);
    color: #25335f;
    box-shadow: 0 12px 24px rgba(24, 35, 79, .08);
}

.report-shot-exact-page .report-shot-hero .report-shot-date-icon {
    color: #62739f;
}

.report-shot-exact-page .report-shot-hero .report-shot-date-trigger {
    min-height: 48px;
    height: 100%;
    padding: .65rem 1rem;
    border: 1px solid rgba(255, 255, 255, .26);
    background: rgba(255, 255, 255, .9);
    color: #25335f;
    box-shadow: 0 12px 24px rgba(24, 35, 79, .08);
}

.report-shot-exact-page .report-shot-filter-btn,
.report-shot-exact-page .report-shot-export-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    padding: .65rem 1rem;
    font-weight: 700;
}

.report-shot-exact-page .report-shot-date-copy {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    min-width: 0;
}

.report-shot-exact-page .report-shot-hero .report-shot-date-copy .report-shot-date-icon,
.report-shot-exact-page .report-shot-hero .report-shot-date-trigger > .ri-arrow-down-s-line {
    position: static;
    transform: none;
    color: #62739f;
    flex: 0 0 auto;
}

.report-shot-exact-page .report-shot-hero .report-shot-date-display {
    color: #25335f;
}

.report-shot-exact-page .report-shot-export-btn {
    background: linear-gradient(135deg, #6f47f5 0%, #5f33ea 100%);
    color: #fff;
    border-color: rgba(111, 71, 245, .4);
}

.report-shot-exact-page .report-shot-export-btn[disabled] {
    opacity: 1;
    cursor: default;
}

.report-shot-exact-page .report-shot-reset-btn {
    padding: .65rem 1rem;
    color: #62739f;
}

.report-shot-exact-page .report-shot-hero-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .85rem;
    flex: 1 1 auto;
    min-width: 0;
}

.report-shot-exact-page .report-shot-hero-stat {
    display: flex;
    align-items: center;
    gap: .8rem;
    min-width: 0;
    padding: .35rem 0;
    color: #fff;
}

.report-shot-exact-page .report-shot-hero-stat + .report-shot-hero-stat {
    border-left: 1px solid rgba(255, 255, 255, .18);
    padding-left: .95rem;
}

.report-shot-exact-page .report-shot-hero-stat-icon {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .16);
    font-size: 1rem;
    flex-shrink: 0;
}

.report-shot-exact-page .report-shot-hero-stat-copy {
    display: grid;
    gap: .1rem;
    min-width: 0;
}

.report-shot-exact-page .report-shot-hero-stat-copy strong {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 800;
    line-height: 1.1;
}

.report-shot-exact-page .report-shot-hero-stat-copy span {
    color: rgba(255, 255, 255, .82);
    font-size: .84rem;
    font-weight: 600;
}

.report-shot-exact-page .report-shot-hero-health {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-left: 1rem;
    min-width: 240px;
}

.report-shot-exact-page .report-shot-health-ring {
    position: relative;
    width: 92px;
    height: 92px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: conic-gradient(#ffb54b 0 var(--report-health-pct), rgba(255, 255, 255, .24) var(--report-health-pct) 100%);
}

.report-shot-exact-page .report-shot-health-ring-core {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .18);
    border: 1px solid rgba(255, 255, 255, .24);
    backdrop-filter: blur(8px);
}

.report-shot-exact-page .report-shot-health-copy {
    display: grid;
    gap: .1rem;
    color: #fff;
}

.report-shot-exact-page .report-shot-health-label {
    font-size: .84rem;
    font-weight: 700;
    color: rgba(255, 255, 255, .82);
}

.report-shot-exact-page .report-shot-health-copy strong {
    font-size: 2rem;
    line-height: 1;
    font-weight: 800;
    color: #fff;
}

.report-shot-exact-page .report-shot-health-copy span:last-child {
    color: rgba(255, 255, 255, .82);
    font-size: .84rem;
    font-weight: 600;
}

.report-shot-exact-page .report-shot-filter-applied {
    margin-top: .15rem;
}

.report-shot-exact-page .report-shot-filter-applied .analytics-filter-active-chip {
    background: rgba(255, 255, 255, .16);
    border-color: rgba(255, 255, 255, .18);
}

.report-shot-exact-page .report-shot-filter-applied .analytics-filter-active-chip-key,
.report-shot-exact-page .report-shot-filter-applied .analytics-filter-active-chip-value,
.report-shot-exact-page .report-shot-filter-applied .analytics-filter-active-chip-clear {
    color: #fff;
}

.report-shot-exact-page .report-shot-kpis {
    gap: 1.1rem;
}

.report-shot-exact-page .report-shot-kpi {
    min-height: 190px;
    padding: 1.15rem 1.15rem 1rem;
    border-radius: 22px;
    box-shadow: 0 16px 34px rgba(15, 23, 42, .05);
}

.report-shot-exact-page .report-shot-kpi::before {
    display: none;
}

.report-shot-exact-page .report-shot-kpi-head {
    justify-content: flex-start;
    gap: .7rem;
    margin-bottom: .85rem;
}

.report-shot-exact-page .report-shot-kpi-icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    font-size: 1.35rem;
    flex-shrink: 0;
}

.report-shot-exact-page .report-shot-kpi-title {
    color: var(--report-text);
    font-size: 1.02rem;
    font-weight: 700;
}

.report-shot-exact-page .report-shot-kpi-value {
    margin-bottom: .3rem;
    font-size: 2rem;
}

.report-shot-exact-page .report-shot-kpi-value--compact {
    font-size: 1.55rem;
    line-height: 1.1;
}

.report-shot-exact-page .report-shot-kpi-meta {
    min-height: auto;
    margin-bottom: .55rem;
    max-width: 100%;
}

.report-shot-exact-page .report-shot-kpi-footer {
    margin-top: auto;
    padding-top: .65rem;
    border-top: 1px solid rgba(225, 232, 245, .9);
    color: var(--report-muted);
    font-size: .84rem;
    font-weight: 700;
}

.report-shot-exact-page .report-shot-main-grid,
.report-shot-exact-page .report-shot-bottom-grid {
    gap: 1.1rem;
}

.report-shot-exact-page .report-shot-card {
    border-radius: 22px;
    padding: 1.05rem 1.1rem;
}

.report-shot-exact-page .report-shot-card-head {
    margin-bottom: 1rem;
}

.report-shot-exact-page .report-shot-card-title-wrap {
    display: grid;
    gap: .18rem;
}

.report-shot-exact-page .report-shot-card-note {
    color: var(--report-soft-text);
    font-size: .78rem;
    font-weight: 700;
}

.report-shot-exact-page .report-shot-pill {
    min-height: 30px;
    padding: .3rem .72rem;
    border-radius: 12px;
    color: #6f7f9b;
}

.report-shot-exact-page .report-shot-card-footer {
    margin-top: auto;
    padding-top: .9rem;
    display: flex;
    justify-content: flex-end;
}

.report-shot-exact-page .report-shot-card-link {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    color: #5f33ea;
    text-decoration: none;
    font-size: .84rem;
    font-weight: 700;
}

.report-shot-exact-page .report-shot-chart-canvas {
    border-radius: 20px;
    background:
        linear-gradient(180deg, rgba(127, 86, 255, .04), rgba(33, 180, 255, .02)),
        linear-gradient(180deg, var(--report-grid-y) 1px, transparent 1px) 0 0 / 100% 25%,
        linear-gradient(90deg, var(--report-grid-x) 1px, transparent 1px) 0 0 / calc(100% / 12) 100%;
}

.report-shot-exact-page .report-shot-bar {
    width: 0;
    opacity: 0;
}

.report-shot-exact-page .report-shot-line polygon {
    fill: rgba(39, 177, 255, .12);
}

.report-shot-exact-page .report-shot-line polyline {
    stroke-width: 3;
}

.report-shot-exact-page .report-shot-gap-item,
.report-shot-exact-page .report-shot-coverage-row,
.report-shot-exact-page .report-shot-performance-item {
    border-radius: 16px;
}

.report-shot-exact-page .report-shot-gap-item {
    padding: .9rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, .78), rgba(249, 251, 255, .94));
}

.report-shot-exact-page .report-shot-gap-bar {
    height: 8px;
    background: #f0f2fb;
}

.report-shot-exact-page .report-shot-gap-bar-linked {
    background: linear-gradient(90deg, #ffc9cf 0%, #ff9da9 100%);
}

.report-shot-exact-page .report-shot-gap-bar-missing {
    background: linear-gradient(90deg, #ffd7de 0%, #ffb8c2 100%);
}

.report-shot-exact-page .report-shot-coverage-body {
    gap: .95rem;
}

.report-shot-exact-page .report-shot-coverage-row {
    padding: .2rem 0;
}

.report-shot-exact-page .report-shot-coverage-capsule {
    height: 6px;
    min-width: 9px;
    border-radius: 999px;
    background: #edf0fa;
    border: 0;
}

.report-shot-exact-page .report-shot-coverage-capsule.is-filled {
    background: linear-gradient(90deg, #8f74ff 0%, #6f47f5 100%);
    box-shadow: none;
}

.report-shot-exact-page .report-shot-coverage-scale-bar {
    height: 8px;
    border-radius: 999px;
}

.report-shot-exact-page .report-shot-table thead th {
    text-transform: none;
    letter-spacing: 0;
    font-size: .78rem;
}

.report-shot-exact-page .report-shot-table tbody td {
    font-size: .86rem;
}

.report-shot-exact-page .report-shot-performance-head,
.report-shot-exact-page .report-shot-performance-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 86px 96px 72px 72px;
    align-items: center;
    gap: .75rem;
}

.report-shot-exact-page .report-shot-performance-head {
    padding: 0 0 .7rem;
    border-bottom: 1px solid var(--report-border);
    color: var(--report-soft-text);
    font-size: .74rem;
    font-weight: 800;
}

.report-shot-exact-page .report-shot-performance-item {
    padding: .7rem 0;
}

.report-shot-exact-page .report-shot-link-pill {
    min-width: 0;
    background: rgba(108, 65, 245, .08);
    color: var(--report-purple);
}

.report-shot-exact-page .report-shot-performance-spark {
    height: 18px;
}

@media (max-width: 1399px) {
    .report-shot-exact-page .report-shot-hero-top,
    .report-shot-exact-page .report-shot-hero-body {
        flex-direction: column;
    }

    .report-shot-exact-page .report-shot-hero-actions,
    .report-shot-exact-page .report-shot-hero-health {
        width: 100%;
        justify-content: flex-start;
        padding-left: 0;
    }

    .report-shot-exact-page .report-shot-hero-stats {
        width: 100%;
    }
}

@media (max-width: 1199px) {
    .report-shot-exact-page .report-shot-hero-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .report-shot-exact-page .report-shot-hero-stat:nth-child(3) {
        border-left: 0;
        padding-left: 0;
    }

    .report-shot-exact-page .report-shot-performance-head,
    .report-shot-exact-page .report-shot-performance-item {
        grid-template-columns: 1fr;
    }

    .report-shot-exact-page .report-shot-performance-head {
        display: none;
    }
}

@media (max-width: 767px) {
    .report-shot-exact-page .report-shot-hero {
        padding: 1rem;
    }

    .report-shot-exact-page .report-shot-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .report-shot-exact-page .report-shot-hero .report-shot-date-wrap,
    .report-shot-exact-page .report-shot-filter-btn,
    .report-shot-exact-page .report-shot-export-btn,
    .report-shot-exact-page .report-shot-reset-btn {
        width: 100%;
    }

    .report-shot-exact-page .report-shot-hero-stats {
        grid-template-columns: 1fr;
    }

    .report-shot-exact-page .report-shot-hero-stat + .report-shot-hero-stat {
        border-left: 0;
        padding-left: 0;
        border-top: 1px solid rgba(255, 255, 255, .18);
        padding-top: .75rem;
    }
}

/* Report page fixups */
.report-shot-exact-page .report-shot-hero {
    overflow: visible;
}

.report-shot-exact-page .analytics-filter-dropdown {
    z-index: 200;
}

.report-shot-exact-page .analytics-filter-dropdown .analytics-filter-menu {
    left: auto;
    right: 0;
    top: calc(100% + 12px);
    width: min(760px, calc(100vw - 48px));
    min-width: 660px;
    border-radius: 18px;
}

.report-shot-exact-page .analytics-filter-dropdown .analytics-filter-sheet {
    min-height: 340px;
}

.report-shot-exact-page .report-shot-hero-actions {
    flex-wrap: nowrap;
    gap: .65rem;
}

.report-shot-exact-page .report-shot-hero .report-shot-date-wrap {
    flex: 0 1 320px;
    min-width: 240px;
    width: auto;
}

.report-shot-exact-page .report-shot-hero .analytics-filter-dropdown,
.report-shot-exact-page .report-shot-reset-btn {
    flex: 0 0 auto;
}

.report-shot-exact-page .report-shot-reset-btn {
    min-width: 112px;
}

.report-shot-exact-page .report-shot-kpi {
    min-height: 156px;
    padding: .95rem .95rem .85rem;
}

.report-shot-exact-page .report-shot-kpi-icon {
    width: 48px;
    height: 48px;
    border-radius: 15px;
    font-size: 1.15rem;
}

.report-shot-exact-page .report-shot-kpi-value {
    font-size: 1.82rem;
}

.report-shot-exact-page .report-shot-kpi-value--split {
    font-size: 1.58rem;
    letter-spacing: -.02em;
}

.report-shot-exact-page .report-shot-summary-chip.is-slate {
    background: rgba(91, 106, 138, .10);
    color: #61708d;
}

.report-shot-exact-page .report-shot-kpi-icon--platform {
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255, 194, 106, .28) 0%, rgba(255, 243, 222, .95) 100%);
}

.report-shot-exact-page .report-shot-kpi-icon--platform img {
    width: 26px;
    height: 26px;
    object-fit: contain;
}

.report-shot-exact-page .report-shot-kpi--linked-songs {
	background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.report-shot-exact-page .report-shot-kpi--pending-links {
	background: linear-gradient(180deg, #fffdfa 0%, #fff6f0 100%);
}

.report-shot-exact-page[data-analytics-theme="dark"] .report-shot-kpi--linked-songs,
.report-shot-exact-page[data-analytics-theme="dark"] .report-shot-kpi--pending-links,
.report-shot-exact-page[data-analytics-theme="dark"] .report-overview-nav-card,
.report-shot-exact-page[data-analytics-theme="dark"] .report-subview-toolbar,
.report-shot-exact-page[data-analytics-theme="dark"] .report-subview-summary-card,
.report-shot-exact-page[data-analytics-theme="dark"] .report-subview-card,
.report-shot-exact-page[data-analytics-theme="dark"] .report-detail-activity-item,
.report-shot-exact-page[data-analytics-theme="dark"] .report-detail-list-item,
.report-shot-exact-page[data-analytics-theme="dark"] .report-shot-distribution-row,
.report-shot-exact-page[data-analytics-theme="dark"] .report-shot-release-insight,
.report-shot-exact-page[data-analytics-theme="dark"] .report-shot-release-empty {
	background: linear-gradient(180deg, var(--report-surface-strong) 0%, var(--report-surface-soft) 100%);
	border-color: var(--report-border);
	box-shadow: none;
}

.report-shot-exact-page[data-analytics-theme="dark"] .report-overview-nav-card:hover {
	background: linear-gradient(180deg, rgba(34, 46, 71, .96) 0%, rgba(19, 27, 43, .98) 100%);
}

.report-shot-exact-page[data-analytics-theme="dark"] .report-overview-nav-icon,
.report-shot-exact-page[data-analytics-theme="dark"] .report-detail-cover--placeholder {
	background: rgba(127, 86, 255, .18);
}

.report-shot-exact-page[data-analytics-theme="dark"] .report-overview-nav-arrow {
	color: #a8b6d4;
}

.report-shot-exact-page[data-analytics-theme="dark"] .report-shot-distribution-pie-backdrop {
	fill: rgba(255, 255, 255, .04);
}

.report-shot-exact-page[data-analytics-theme="dark"] .report-shot-distribution-copy small,
.report-shot-exact-page[data-analytics-theme="dark"] .report-shot-distribution-pct,
.report-shot-exact-page[data-analytics-theme="dark"] .report-shot-release-activity-label,
.report-shot-exact-page[data-analytics-theme="dark"] .report-shot-release-empty,
.report-shot-exact-page[data-analytics-theme="dark"] .report-subview-table tbody td,
.report-shot-exact-page[data-analytics-theme="dark"] .report-detail-activity-url,
.report-shot-exact-page[data-analytics-theme="dark"] .report-detail-list-meta {
	color: var(--report-muted);
}

.report-shot-exact-page[data-analytics-theme="dark"] .report-shot-release-center {
	background: rgba(11, 17, 29, .94);
	border-color: rgba(126, 144, 175, .22);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .02);
}

.report-shot-exact-page[data-analytics-theme="dark"] .report-shot-release-activity-row,
.report-shot-exact-page[data-analytics-theme="dark"] .report-subview-table thead th,
.report-shot-exact-page[data-analytics-theme="dark"] .report-subview-table tbody td {
	border-color: rgba(126, 144, 175, .14);
}

.report-shot-exact-page[data-analytics-theme="dark"] .report-shot-coverage-track {
	background: rgba(255, 255, 255, .08);
}

.report-shot-exact-page[data-analytics-theme="dark"] .report-shot-chart-empty {
	background: linear-gradient(180deg, rgba(255, 255, 255, .06) 0%, rgba(255, 255, 255, .02) 100%);
}

.report-shot-exact-page[data-analytics-theme="dark"] .report-subview-back,
.report-shot-exact-page[data-analytics-theme="dark"] .report-subview-page-link {
	background: rgba(255, 255, 255, .04);
	border-color: var(--report-border);
	color: var(--report-muted);
}

.report-shot-exact-page[data-analytics-theme="dark"] .report-subview-page-link:hover,
.report-shot-exact-page[data-analytics-theme="dark"] .report-subview-back:hover {
	background: rgba(255, 255, 255, .08);
	color: var(--report-text);
}

.report-shot-exact-page[data-analytics-theme="dark"] .report-subview-inline-link {
	color: #a98bff;
}

.report-shot-exact-page[data-analytics-theme="dark"] .report-detail-chart-svg {
	background:
		linear-gradient(180deg, rgba(127, 86, 255, .08) 0%, rgba(33, 180, 255, .03) 100%),
		linear-gradient(180deg, rgba(128, 145, 176, .12) 1px, transparent 1px) 0 0 / 100% 25%;
}

.report-shot-exact-page[data-analytics-theme="dark"] .report-shot-kpi-status.is-accent {
	background: rgba(139, 119, 255, .18);
	color: #bcaeff;
}

.report-shot-exact-page[data-analytics-theme="dark"] .report-shot-kpi-status.is-warning {
	background: rgba(255, 170, 91, .14);
	color: #ffcb86;
}

.report-shot-exact-page .report-shot-kpi--pending-links .report-shot-kpi-status {
    color: #ca7a0d;
    background: rgba(255, 187, 71, .16);
}

.report-shot-exact-page .report-shot-kpi-icon.is-red {
    background: rgba(255, 120, 120, .12);
    color: #ef5a5a;
}

.report-shot-exact-page .report-shot-gap-platform {
    gap: .85rem;
}

.report-shot-exact-page .report-shot-gap-platform strong,
.report-shot-exact-page .report-shot-coverage-meta .report-shot-file strong {
    font-size: 1rem;
    font-weight: 800;
}

.report-shot-exact-page .report-shot-platform-mark.is-large {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
}

.report-shot-exact-page .report-shot-platform-mark img {
    object-fit: contain;
}

.report-shot-exact-page .report-shot-gap-item-head {
    align-items: center;
}

.report-shot-exact-page .report-shot-gap-tag {
    min-height: 34px;
    padding: .38rem .86rem;
    font-size: .84rem;
}

.report-shot-exact-page .report-shot-gap-meta {
    font-size: .84rem;
}

.report-shot-exact-page .report-shot-gap-meta strong {
    font-size: .92rem;
}

.report-shot-exact-page .report-shot-coverage-row {
    grid-template-columns: minmax(0, 168px) minmax(0, 1fr) minmax(78px, auto);
    gap: .8rem;
    padding: .3rem 0;
}

.report-shot-exact-page .report-shot-coverage-meta {
    gap: .72rem;
}

.report-shot-exact-page .report-shot-file {
    gap: .18rem;
}

.report-shot-exact-page .report-shot-file span {
    font-size: .79rem;
    line-height: 1.35;
}

.report-shot-exact-page .report-shot-card--coverage .report-shot-platform-mark.is-large {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
}

.report-shot-exact-page .report-shot-coverage-meter {
    display: grid;
    gap: .34rem;
    min-width: 0;
}

.report-shot-exact-page .report-shot-coverage-meter-labels {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .65rem;
    color: var(--report-muted);
    font-size: .74rem;
    font-weight: 700;
}

.report-shot-exact-page .report-shot-coverage-track {
    width: 100%;
    height: 9px;
    border-radius: 999px;
    background: #edf0fa;
    overflow: hidden;
}

.report-shot-exact-page .report-shot-coverage-fill {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #cfc2ff 0%, #7f56ff 100%);
}

.report-shot-exact-page .report-shot-coverage-stats {
    text-align: right;
    display: grid;
    gap: .1rem;
}

.report-shot-exact-page .report-shot-card--gap .report-shot-gap-graph,
.report-shot-exact-page .report-shot-card--coverage .report-shot-coverage-body {
    padding-bottom: .25rem;
}

.report-shot-exact-page .report-shot-card--distribution .report-shot-card-head {
    margin-bottom: .8rem;
}

.report-shot-exact-page .report-shot-distribution-wrap {
    grid-template-columns: minmax(180px, 260px) minmax(0, 1fr);
    gap: 1.15rem;
    min-height: 0;
    align-items: center;
}

.report-shot-exact-page .report-shot-distribution-chart {
    width: 100%;
    max-width: 260px;
    margin: 0 auto;
}

.report-shot-exact-page .report-shot-distribution-pie {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
}

.report-shot-exact-page .report-shot-distribution-pie-backdrop {
    fill: #f3f6fd;
}

.report-shot-exact-page .report-shot-distribution-slice-top {
    stroke: rgba(255, 255, 255, .95);
    stroke-width: 4px;
    stroke-linejoin: round;
    filter: drop-shadow(0 12px 18px rgba(56, 70, 130, .08));
}

.report-shot-exact-page .report-shot-distribution-slice-top.is-empty {
    fill: #eef2fa;
    stroke: rgba(255, 255, 255, .9);
}

.report-shot-exact-page .report-shot-distribution-center {
    position: absolute;
    inset: 26px;
    border-radius: 50%;
    display: grid;
    place-content: center;
    text-align: center;
    gap: .15rem;
    z-index: 2;
}

.report-shot-exact-page .report-shot-distribution-center-label {
    color: var(--report-soft-text);
    font-size: .76rem;
    font-weight: 700;
}

.report-shot-exact-page .report-shot-distribution-center strong {
    color: var(--report-text);
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1;
}

.report-shot-exact-page .report-shot-distribution-list {
    display: grid;
    gap: .75rem;
    width: 100%;
    min-width: 0;
}

.report-shot-exact-page .report-shot-distribution-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: .65rem;
    align-items: center;
    padding: .65rem .75rem;
    border-radius: 14px;
    background: #f8faff;
    color: var(--report-muted);
    font-size: .9rem;
    font-weight: 700;
}

.report-shot-exact-page .report-shot-distribution-type {
    display: grid;
    grid-template-columns: 12px minmax(0, 1fr);
    align-items: center;
    gap: .7rem;
    min-width: 0;
    padding-right: .2rem;
}

.report-shot-exact-page .report-shot-distribution-copy {
    display: grid;
    gap: .12rem;
    min-width: 0;
}

.report-shot-exact-page .report-shot-distribution-copy strong {
    display: block;
    color: var(--report-text);
    font-size: .86rem;
    font-weight: 800;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.report-shot-exact-page .report-shot-distribution-copy small {
    display: block;
    color: #7b89a3;
    font-size: .72rem;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.report-shot-exact-page .report-shot-distribution-swatch {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex: 0 0 12px;
    box-shadow: none;
}

.report-shot-exact-page .report-shot-distribution-stats {
    display: grid;
    justify-items: end;
    gap: .08rem;
    min-width: 58px;
}

.report-shot-exact-page .report-shot-distribution-row .report-shot-metric {
    color: var(--report-text);
    font-size: .92rem;
    font-weight: 800;
    line-height: 1;
}

.report-shot-exact-page .report-shot-distribution-pct {
    text-align: right;
    color: #68799e;
    font-size: .72rem;
    font-weight: 800;
    line-height: 1;
}

.report-shot-exact-page .report-shot-distribution-chart-meta {
    display: grid;
    justify-items: center;
    gap: .08rem;
    margin-top: .45rem;
    color: var(--report-muted);
}

.report-shot-exact-page .report-shot-distribution-chart-meta strong {
    color: var(--report-text);
    font-size: .92rem;
    font-weight: 800;
    line-height: 1;
}

.report-shot-exact-page .report-shot-distribution-chart-meta span {
    font-size: .72rem;
    font-weight: 700;
}

.report-shot-exact-page .report-shot-card--gap .report-shot-card-footer,
.report-shot-exact-page .report-shot-card--coverage .report-shot-card-footer {
    display: none;
}

.report-shot-exact-page .report-shot-card--catalog .report-shot-card-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: .8rem;
}

.report-shot-exact-page .report-shot-card--catalog .report-shot-card-note {
    display: inline-block;
    margin-top: .18rem;
}

.report-shot-exact-page .report-shot-card--catalog .report-shot-card-summary-chips {
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: .45rem;
}

.report-shot-exact-page .report-shot-card--catalog .report-shot-summary-chip {
    min-height: 30px;
    padding: .32rem .68rem;
    font-size: .75rem;
}

.report-shot-exact-page .report-shot-release-wrap {
    display: grid;
    grid-template-columns: minmax(156px, 190px) minmax(0, 1fr);
    gap: 1rem;
    align-items: center;
    min-height: 0;
    flex: 1 1 auto;
}

.report-shot-exact-page .report-shot-release-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.report-shot-exact-page .report-shot-release-donut {
    width: 162px;
    height: 162px;
    box-shadow: inset 0 0 0 1px rgba(226, 233, 246, .65);
}

.report-shot-exact-page .report-shot-release-center {
    position: absolute;
    inset: 28px;
    border-radius: 50%;
    border: 1px solid rgba(221, 229, 244, .8);
    background: rgba(255, 255, 255, .96);
    display: grid;
    place-content: center;
    gap: .18rem;
    text-align: center;
    z-index: 2;
}

.report-shot-exact-page .report-shot-release-center span {
    color: var(--report-soft-text);
    font-size: .76rem;
    font-weight: 700;
}

.report-shot-exact-page .report-shot-release-center strong {
    color: var(--report-text);
    font-size: 1.52rem;
    font-weight: 800;
    line-height: 1;
}

.report-shot-exact-page .report-shot-release-breakdown {
    display: grid;
    gap: .9rem;
    min-width: 0;
}

.report-shot-exact-page .report-shot-release-list {
    display: grid;
    gap: .68rem;
}

.report-shot-exact-page .report-shot-release-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 52px 48px;
    gap: .7rem;
    align-items: center;
    color: var(--report-muted);
    font-size: .82rem;
    font-weight: 700;
}

.report-shot-exact-page .report-shot-release-label {
    display: inline-flex;
    align-items: center;
    gap: .62rem;
    min-width: 0;
}

.report-shot-exact-page .report-shot-release-label strong {
    color: var(--report-text);
    font-size: .94rem;
    font-weight: 800;
}

.report-shot-exact-page .report-shot-release-insight {
    display: grid;
    gap: .2rem;
    padding: .72rem .82rem;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(247, 250, 255, .9), rgba(242, 246, 253, .76));
    border: 1px solid rgba(226, 233, 246, .72);
}

.report-shot-exact-page .report-shot-release-insight-label,
.report-shot-exact-page .report-shot-release-activity-title {
    color: var(--report-soft-text);
    font-size: .75rem;
    font-weight: 700;
}

.report-shot-exact-page .report-shot-release-insight strong {
    color: var(--report-text);
    font-size: .92rem;
    font-weight: 800;
    line-height: 1.4;
}

.report-shot-exact-page .report-shot-release-activity {
    display: grid;
    gap: .55rem;
}

.report-shot-exact-page .report-shot-release-activity-list {
    display: grid;
    gap: .46rem;
}

.report-shot-exact-page .report-shot-release-activity-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .8rem;
    padding: .42rem .02rem;
    border-bottom: 1px solid rgba(226, 233, 246, .6);
    color: var(--report-muted);
    font-size: .8rem;
    font-weight: 700;
}

.report-shot-exact-page .report-shot-release-activity-row:last-child {
    border-bottom: 0;
}

.report-shot-exact-page .report-shot-release-activity-row strong {
    color: var(--report-text);
    font-size: .82rem;
    font-weight: 800;
}

.report-shot-exact-page .report-shot-release-empty {
    padding: .7rem .82rem;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(247, 250, 255, .9), rgba(242, 246, 253, .76));
    border: 1px solid rgba(226, 233, 246, .72);
    color: var(--report-muted);
    font-size: .82rem;
    font-weight: 700;
}

.report-shot-exact-page .report-shot-kpi-footer-link {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    text-decoration: none;
    color: inherit;
}

.report-shot-exact-page .report-shot-main-grid,
.report-shot-exact-page .report-shot-bottom-grid {
    gap: .95rem;
}

.report-shot-exact-page .report-shot-health-ring {
    background: conic-gradient(#ffffff 0 var(--report-health-pct), rgba(255, 255, 255, .18) var(--report-health-pct) 100%);
}

.report-shot-exact-page .report-shot-health-copy strong {
    font-size: 1.52rem;
    line-height: 1.1;
}

.report-shot-exact-page .report-shot-health-copy span:last-child {
    max-width: 150px;
    line-height: 1.35;
}

.report-shot-exact-page .report-shot-card {
    padding: .92rem .98rem;
}

.report-shot-exact-page .report-shot-card--catalog,
.report-shot-exact-page .report-shot-card--gap,
.report-shot-exact-page .report-shot-card--coverage {
    min-height: 0;
}

.report-shot-exact-page .report-shot-card--catalog .report-shot-chart {
    min-height: 330px;
    height: 330px;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: .55rem;
}

.report-shot-exact-page .report-shot-yaxis {
    padding: .3rem 0 1.6rem;
    font-size: .7rem;
}

.report-shot-exact-page .report-shot-chart-area {
    gap: .55rem;
}

.report-shot-exact-page .report-shot-bars {
    display: none;
}

.report-shot-exact-page .report-shot-chart-canvas {
    background:
        linear-gradient(180deg, rgba(127, 86, 255, .03), rgba(33, 180, 255, .015)),
        linear-gradient(180deg, rgba(219, 227, 242, .55) 1px, transparent 1px) 0 0 / 100% 25%,
        linear-gradient(90deg, rgba(232, 238, 248, .65) 1px, transparent 1px) 0 0 / calc(100% / 12) 100%;
}

.report-shot-exact-page .report-shot-line {
    display: block;
    position: absolute;
    inset: .4rem .5rem .9rem;
    width: calc(100% - 1rem);
    height: calc(100% - 1.3rem);
    overflow: visible;
    pointer-events: none;
}

.report-shot-exact-page .report-shot-line polyline {
    fill: none;
    stroke-width: 2.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.report-shot-exact-page .report-shot-line polyline.is-music {
    stroke: #7f56ff;
    filter: drop-shadow(0 6px 10px rgba(127, 86, 255, .12));
}

.report-shot-exact-page .report-shot-line polyline.is-album {
    stroke: #3ec0e4;
    filter: drop-shadow(0 6px 10px rgba(62, 192, 228, .10));
}

.report-shot-exact-page .report-shot-line circle {
    fill: #ffffff;
    stroke-width: 2.4;
}

.report-shot-exact-page .report-shot-line circle.is-music {
    stroke: #7f56ff;
}

.report-shot-exact-page .report-shot-line circle.is-album {
    stroke: #3ec0e4;
}

.report-shot-exact-page .report-shot-chart-empty {
    background: linear-gradient(180deg, rgba(255,255,255,.22), rgba(255,255,255,.05));
}

.report-shot-exact-page .report-shot-gap-item {
    padding: .8rem .85rem;
}

.report-shot-exact-page #reportGapScrollArea,
.report-shot-exact-page #reportCoverageScrollArea {
    max-height: 420px;
    overflow-y: auto;
}

.report-shot-exact-page #reportGapScrollArea.is-expanded,
.report-shot-exact-page #reportCoverageScrollArea.is-expanded {
    max-height: none;
}

.report-shot-exact-page .report-shot-card-link-btn {
    appearance: none;
    border: 0;
    background: transparent;
    padding: 0;
    cursor: pointer;
    color: inherit;
}

.report-shot-exact-page .report-shot-breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .28rem;
    margin-bottom: .6rem;
    color: #93a0bb;
    font-size: .78rem;
    font-weight: 700;
}

.report-shot-exact-page .report-shot-breadcrumb-link {
    color: #7f8dac;
    text-decoration: none;
}

.report-shot-exact-page .report-shot-breadcrumb-link:hover {
    color: var(--report-accent);
}

.report-shot-exact-page .report-shot-breadcrumb-current {
    color: var(--report-text);
}

.report-shot-exact-page .report-shot-breadcrumb-sep {
    display: inline-flex;
    align-items: center;
    color: #c0c9da;
}

.report-shot-exact-page .report-overview-nav {
    margin-top: .95rem;
}

.report-shot-exact-page .report-overview-nav-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .85rem;
}

.report-shot-exact-page .report-overview-nav-card {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 20px;
    align-items: center;
    gap: .8rem;
    padding: .95rem 1rem;
    border-radius: 18px;
    border: 1px solid rgba(226, 233, 246, .92);
    background: linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(247, 250, 255, .92));
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.report-shot-exact-page .report-overview-nav-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(96, 122, 182, .12);
    border-color: rgba(127, 86, 255, .22);
}

.report-shot-exact-page .report-overview-nav-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(127, 86, 255, .10);
    color: #7f56ff;
    font-size: 1.1rem;
}

.report-shot-exact-page .report-overview-nav-copy {
    display: grid;
    gap: .16rem;
    min-width: 0;
}

.report-shot-exact-page .report-overview-nav-copy strong {
    color: var(--report-text);
    font-size: .92rem;
    font-weight: 800;
    line-height: 1.2;
}

.report-shot-exact-page .report-overview-nav-copy span {
    color: var(--report-muted);
    font-size: .76rem;
    font-weight: 700;
    line-height: 1.35;
}

.report-shot-exact-page .report-overview-nav-arrow {
    display: inline-flex;
    justify-content: flex-end;
    color: #a6b1c7;
    font-size: 1rem;
}

.report-shot-exact-page .report-subview {
    display: grid;
    gap: 1rem;
}

.report-shot-exact-page .report-subview-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .9rem;
    padding: .95rem 1rem;
    border-radius: 20px;
    border: 1px solid rgba(226, 233, 246, .88);
    background: linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(247, 250, 255, .9));
}

.report-shot-exact-page .report-subview-toolbar-copy {
    display: grid;
    gap: .16rem;
}

.report-shot-exact-page .report-subview-toolbar-label {
    color: var(--report-soft-text);
    font-size: .74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.report-shot-exact-page .report-subview-toolbar-copy strong {
    color: var(--report-text);
    font-size: 1rem;
    font-weight: 800;
}

.report-shot-exact-page .report-subview-back {
    display: inline-flex;
    align-items: center;
    gap: .42rem;
    padding: .7rem .96rem;
    border-radius: 999px;
    border: 1px solid rgba(220, 228, 243, .95);
    background: #fff;
    color: #7080a4;
    text-decoration: none;
    font-size: .82rem;
    font-weight: 800;
}

.report-shot-exact-page .report-subview-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: .85rem;
}

.report-shot-exact-page .report-subview-summary-card,
.report-shot-exact-page .report-subview-card {
    padding: 1rem 1.05rem;
    border-radius: 22px;
    border: 1px solid rgba(226, 233, 246, .9);
    background: linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(247, 250, 255, .92));
    box-shadow: 0 14px 34px rgba(108, 130, 184, .08);
}

.report-shot-exact-page .report-subview-summary-card {
    display: grid;
    gap: .28rem;
}

.report-shot-exact-page .report-subview-summary-card span {
    color: var(--report-soft-text);
    font-size: .78rem;
    font-weight: 700;
}

.report-shot-exact-page .report-subview-summary-card strong {
    color: var(--report-text);
    font-size: 1.42rem;
    font-weight: 800;
    line-height: 1.05;
}

.report-shot-exact-page .report-subview-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .8rem;
    margin-bottom: .95rem;
}

.report-shot-exact-page .report-subview-card-head h5 {
    margin: 0;
    color: var(--report-text);
    font-size: 1rem;
    font-weight: 800;
}

.report-shot-exact-page .report-subview-card-head span {
    color: var(--report-soft-text);
    font-size: .76rem;
    font-weight: 800;
}

.report-shot-exact-page .report-subview-table {
    margin-bottom: 0;
}

.report-shot-exact-page .report-subview-table thead th {
    border-top: 0;
    border-bottom: 1px solid rgba(223, 231, 244, .95);
    color: #8c9ab5;
    font-size: .73rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
    padding: .78rem .65rem;
    white-space: nowrap;
}

.report-shot-exact-page .report-subview-table tbody td {
    border-color: rgba(233, 238, 248, .9);
    padding: .9rem .65rem;
    color: var(--report-muted);
    font-size: .84rem;
    font-weight: 700;
    vertical-align: middle;
}

.report-shot-exact-page .report-subview-table tbody td strong {
    color: var(--report-text);
}

.report-shot-exact-page .report-subview-platform-link,
.report-shot-exact-page .report-subview-song-link {
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    min-width: 0;
    color: var(--report-text);
    text-decoration: none;
    font-weight: 800;
}

.report-shot-exact-page .report-subview-platform-link.is-static {
    text-decoration: none;
}

.report-shot-exact-page .report-subview-song-link {
    align-items: flex-start;
}

.report-shot-exact-page .report-subview-song-copy {
    display: grid;
    gap: .12rem;
    min-width: 0;
}

.report-shot-exact-page .report-subview-song-copy strong {
    display: block;
    color: var(--report-text);
    font-size: .86rem;
    font-weight: 800;
    line-height: 1.25;
}

.report-shot-exact-page .report-subview-song-copy small {
    color: var(--report-soft-text);
    font-size: .72rem;
    font-weight: 700;
    line-height: 1.25;
}

.report-shot-exact-page .report-subview-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 74px;
    padding: .38rem .7rem;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 800;
}

.report-shot-exact-page .report-subview-status--linked {
    color: #1f9b5f;
    background: rgba(77, 210, 133, .14);
}

.report-shot-exact-page .report-subview-status--partial {
    color: #d08310;
    background: rgba(255, 184, 72, .16);
}

.report-shot-exact-page .report-subview-status--missing {
    color: #d55858;
    background: rgba(255, 124, 124, .14);
}

.report-shot-exact-page .report-subview-trend-cell {
    min-width: 116px;
}

.report-shot-exact-page .report-subview-spark {
    display: block;
    width: 100%;
    height: 26px;
}

.report-shot-exact-page .report-subview-spark polyline,
.report-shot-exact-page .report-detail-chart-svg polyline {
    fill: none;
    stroke-width: 2.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.report-shot-exact-page .report-subview-pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: .45rem;
    margin-top: 1rem;
}

.report-shot-exact-page .report-subview-page-link {
    min-width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: 1px solid rgba(220, 228, 243, .95);
    background: #fff;
    color: #7483a6;
    text-decoration: none;
    font-size: .78rem;
    font-weight: 800;
}

.report-shot-exact-page .report-subview-page-link.is-active {
    background: #7f56ff;
    border-color: #7f56ff;
    color: #fff;
}

.report-shot-exact-page .report-detail-hero {
    padding: 1.1rem 1.15rem;
}

.report-shot-exact-page .report-detail-media {
    display: flex;
    align-items: center;
    gap: .95rem;
}

.report-shot-exact-page .report-detail-cover {
    width: 74px;
    height: 74px;
    border-radius: 18px;
    object-fit: cover;
    flex: 0 0 74px;
    box-shadow: 0 12px 24px rgba(56, 74, 128, .16);
}

.report-shot-exact-page .report-detail-cover--placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(127, 86, 255, .12);
    color: #7f56ff;
    font-size: 1.4rem;
}

.report-shot-exact-page .report-detail-copy {
    display: grid;
    gap: .2rem;
    min-width: 0;
}

.report-shot-exact-page .report-detail-copy h5 {
    margin: 0;
    color: var(--report-text);
    font-size: 1.2rem;
    font-weight: 800;
}

.report-shot-exact-page .report-detail-copy p {
    margin: 0;
    color: var(--report-muted);
    font-size: .86rem;
    font-weight: 700;
}

.report-shot-exact-page .report-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem .75rem;
    color: var(--report-soft-text);
    font-size: .74rem;
    font-weight: 700;
}

.report-shot-exact-page .report-subview-grid {
    display: grid;
    gap: .95rem;
}

.report-shot-exact-page .report-subview-grid--detail,
.report-shot-exact-page .report-subview-grid--platform {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.report-shot-exact-page .report-detail-activity-list,
.report-shot-exact-page .report-detail-list {
    display: grid;
    gap: .62rem;
}

.report-shot-exact-page .report-detail-activity-item,
.report-shot-exact-page .report-detail-list-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: .8rem;
    padding: .8rem .84rem;
    border-radius: 14px;
    background: #f8faff;
    color: var(--report-muted);
    text-decoration: none;
}

.report-shot-exact-page .report-detail-activity-item strong,
.report-shot-exact-page .report-detail-list-item strong {
    display: block;
    color: var(--report-text);
    font-size: .86rem;
    font-weight: 800;
    line-height: 1.25;
}

.report-shot-exact-page .report-detail-activity-item span,
.report-shot-exact-page .report-detail-list-item span {
    display: block;
    color: var(--report-soft-text);
    font-size: .72rem;
    font-weight: 700;
    line-height: 1.35;
    word-break: break-word;
}

.report-shot-exact-page .report-detail-activity-item time,
.report-shot-exact-page .report-detail-list-item time {
    color: #8d9bbb;
    font-size: .72rem;
    font-weight: 800;
    white-space: nowrap;
}

.report-shot-exact-page .report-detail-chip-group {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    margin-top: .85rem;
}

.report-shot-exact-page .report-detail-chart {
    display: grid;
    gap: .6rem;
}

.report-shot-exact-page .report-detail-chart-svg {
    display: block;
    width: 100%;
    height: 180px;
    padding: .2rem;
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(127, 86, 255, .03), rgba(33, 180, 255, .015)),
        linear-gradient(180deg, rgba(219, 227, 242, .55) 1px, transparent 1px) 0 0 / 100% 25%;
}

.report-shot-exact-page .report-detail-chart-svg polyline {
    stroke: #7f56ff;
    filter: drop-shadow(0 6px 10px rgba(127, 86, 255, .14));
}

.report-shot-exact-page .report-detail-chart-labels {
    display: flex;
    justify-content: space-between;
    gap: .55rem;
    color: #8e9db8;
    font-size: .7rem;
    font-weight: 800;
}

.report-shot-exact-page .report-subview-inline-link {
    color: #7f56ff;
    text-decoration: none;
    font-weight: 800;
}

@media (max-width: 1399px) {
    .report-shot-exact-page .report-overview-nav-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .report-shot-exact-page .report-subview-grid--detail,
    .report-shot-exact-page .report-subview-grid--platform {
        grid-template-columns: 1fr;
    }

    .report-shot-exact-page .report-shot-hero-actions {
        flex-wrap: wrap;
    }

    .report-shot-exact-page .report-shot-card--catalog .report-shot-card-head {
        grid-template-columns: 1fr;
    }

    .report-shot-exact-page .report-shot-card--catalog .report-shot-card-summary-chips {
        justify-content: flex-start;
    }

    .report-shot-exact-page .report-shot-release-wrap {
        grid-template-columns: 1fr;
        justify-items: start;
    }

    .report-shot-exact-page .report-shot-distribution-wrap {
        grid-template-columns: minmax(180px, 220px) minmax(0, 1fr);
    }

    .report-shot-exact-page .analytics-filter-dropdown .analytics-filter-menu {
        min-width: 0;
    }
}

@media (max-width: 1199px) {
    .report-shot-exact-page .report-subview-toolbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .report-shot-exact-page .report-shot-card--catalog .report-shot-chart {
        min-height: 300px;
        height: 300px;
    }

    .report-shot-exact-page .report-shot-distribution-wrap {
        grid-template-columns: 1fr;
        justify-items: center;
        align-items: start;
    }

    .report-shot-exact-page .report-shot-distribution-list {
        max-width: 100%;
    }

    .report-shot-exact-page .report-shot-coverage-row {
        grid-template-columns: minmax(0, 1fr);
        gap: .55rem;
    }

    .report-shot-exact-page .report-shot-coverage-stats {
        text-align: left;
        grid-auto-flow: column;
        justify-content: space-between;
        align-items: center;
    }
}

@media (max-width: 767px) {
    .report-shot-exact-page .report-overview-nav-grid {
        grid-template-columns: 1fr;
    }

    .report-shot-exact-page .report-subview-summary-grid {
        grid-template-columns: 1fr;
    }

    .report-shot-exact-page .report-detail-media {
        align-items: flex-start;
    }

    .report-shot-exact-page .report-detail-cover {
        width: 60px;
        height: 60px;
        flex-basis: 60px;
    }

    .report-shot-exact-page .analytics-filter-dropdown .analytics-filter-menu {
        width: min(100vw - 28px, 520px);
        min-width: 0;
        right: auto;
        left: 0;
    }

    .report-shot-exact-page .analytics-filter-dropdown .analytics-filter-sheet {
        grid-template-columns: 1fr;
    }

    .report-shot-exact-page .analytics-filter-dropdown .analytics-filter-sheet-sidebar {
        border-right: 0;
        border-bottom: 1px solid var(--analytics-border);
    }

    .report-shot-exact-page .report-shot-card--catalog .report-shot-chart {
        min-height: 260px;
        height: 260px;
        grid-template-columns: 44px minmax(0, 1fr);
    }

    .report-shot-exact-page .report-shot-card--catalog .report-shot-card-summary-chips {
        flex-wrap: wrap;
    }

    .report-shot-exact-page .report-shot-release-row {
        grid-template-columns: 1fr auto auto;
        gap: .5rem;
    }

    .report-shot-exact-page .report-shot-distribution-chart {
        max-width: 220px;
    }

    .report-shot-exact-page .report-shot-distribution-row {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: .5rem;
        font-size: .84rem;
    }

    .report-shot-exact-page .report-shot-distribution-copy strong {
        font-size: .82rem;
    }

    .report-shot-exact-page .report-shot-distribution-copy small {
        font-size: .68rem;
    }

    .report-shot-exact-page .report-shot-distribution-row .report-shot-metric {
        font-size: .8rem;
    }

    .report-shot-exact-page .report-shot-distribution-pct {
        font-size: .7rem;
    }
}

.label-release-editor-reject-box {

    margin-top: 14px;

    padding: 12px 14px;

    border-radius: 12px;

    background: rgba(220, 53, 69, 0.08);

    border: 1px solid rgba(220, 53, 69, 0.22);

    color: #b42318;

    font-size: 14px;

    line-height: 1.5;

}

.label-release-editor-reject-box strong {

    display: block;

    margin-bottom: 4px;

    font-weight: 700;

}

.label-release-editor-reject-box i {

    margin-right: 4px;

}

/* Shared Laravel pagination component. */
.rdc-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    width: 100%;
    margin-top: 22px;
    padding: 14px 16px;
    border: 1px solid rgba(148, 163, 184, .2);
    border-radius: 14px;
    background: rgba(148, 163, 184, .045);
}

.rdc-pagination-summary {
    margin: 0;
    color: #64748b;
    font-size: 13px;
    line-height: 1.4;
    white-space: nowrap;
}

.rdc-pagination-summary strong {
    color: #1e293b;
    font-weight: 750;
}

.rdc-pagination-controls,
.rdc-pagination-pages {
    display: flex;
    align-items: center;
    gap: 6px;
}

.rdc-pagination-link,
.rdc-pagination-ellipsis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    border: 1px solid rgba(148, 163, 184, .25);
    border-radius: 10px;
    color: #475569;
    background: rgba(255, 255, 255, .72);
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none !important;
    transition: border-color .16s ease, background-color .16s ease, color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.rdc-pagination-link:hover,
.rdc-pagination-link:focus-visible {
    border-color: rgba(var(--rdc-button-color-rgb, 37, 99, 235), .48);
    color: var(--rdc-button-color, #2563eb);
    background: rgba(var(--rdc-button-color-rgb, 37, 99, 235), .08);
    box-shadow: 0 5px 14px rgba(var(--rdc-button-color-rgb, 37, 99, 235), .12);
    transform: translateY(-1px);
    outline: 0;
}

.rdc-pagination-number.is-active {
    border-color: var(--rdc-button-color, #2563eb);
    color: #fff;
    background: linear-gradient(135deg, var(--rdc-button-color, #2563eb), #3b82f6);
    box-shadow: 0 7px 18px rgba(var(--rdc-button-color-rgb, 37, 99, 235), .25);
}

.rdc-pagination-nav {
    gap: 5px;
    min-width: auto;
    padding: 0 12px;
}

.rdc-pagination-nav i {
    font-size: 18px;
}

.rdc-pagination-link.is-disabled {
    cursor: not-allowed;
    opacity: .42;
    pointer-events: none;
}

.rdc-pagination-ellipsis {
    border-color: transparent;
    color: #94a3b8;
    background: transparent;
}

html[data-theme="dark"] .rdc-pagination {
    border-color: rgba(148, 163, 184, .16);
    background: rgba(15, 23, 42, .34);
}

html[data-theme="dark"] .rdc-pagination-summary {
    color: #94a3b8;
}

html[data-theme="dark"] .rdc-pagination-summary strong {
    color: #e2e8f0;
}

html[data-theme="dark"] .rdc-pagination-link,
html[data-theme="dark"] .rdc-pagination-ellipsis {
    border-color: rgba(148, 163, 184, .2);
    color: #cbd5e1;
    background: rgba(30, 41, 59, .72);
}

/* Reference-style pagination: lightweight five-page window with jump control. */
.rdc-pagination {
    margin-top: 18px;
    padding: 14px 2px 4px;
    border: 0;
    border-top: 1px solid rgba(148, 163, 184, .18);
    border-radius: 0;
    background: transparent;
}

.rdc-pagination-controls {
    gap: 3px;
}

.rdc-pagination-pages {
    gap: 4px;
    margin: 0 7px;
}

.rdc-pagination-step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 36px;
    padding: 0;
    border: 0;
    color: var(--rdc-button-color, #2563eb);
    background: transparent;
    font-size: 20px;
    line-height: 1;
    text-decoration: none !important;
    transition: color .15s ease, opacity .15s ease, transform .15s ease;
}

.rdc-pagination-step:hover,
.rdc-pagination-step:focus-visible {
    color: #60a5fa;
    transform: translateY(-1px);
    outline: 0;
}

.rdc-pagination-step.is-disabled {
    color: #cbd5e1;
    cursor: default;
    opacity: .58;
}

.rdc-pagination .rdc-pagination-number {
    width: 38px;
    min-width: 38px;
    height: 38px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: #475569;
    background: transparent;
    box-shadow: none;
    font-size: 14px;
    font-weight: 650;
}

.rdc-pagination .rdc-pagination-number:hover,
.rdc-pagination .rdc-pagination-number:focus-visible {
    border: 0;
    color: var(--rdc-button-color, #2563eb);
    background: rgba(var(--rdc-button-color-rgb, 37, 99, 235), .1);
    box-shadow: none;
    transform: none;
}

.rdc-pagination .rdc-pagination-number.is-active,
.rdc-pagination .rdc-pagination-number.is-active:hover {
    color: #fff;
    background: var(--rdc-button-color, #2563eb);
    box-shadow: 0 6px 15px rgba(var(--rdc-button-color-rgb, 37, 99, 235), .24);
}

.rdc-pagination-jump {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 14px;
    padding-left: 18px;
    border-left: 1px solid rgba(148, 163, 184, .28);
}

.rdc-pagination-jump label {
    margin: 0;
    color: #64748b;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.rdc-pagination-jump input {
    width: 48px;
    height: 38px;
    padding: 4px 6px;
    border: 1.5px solid rgba(var(--rdc-button-color-rgb, 37, 99, 235), .46);
    border-radius: 8px;
    color: #1e293b;
    background: transparent;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    appearance: textfield;
    -moz-appearance: textfield;
    outline: 0;
}

.rdc-pagination-jump input::-webkit-inner-spin-button,
.rdc-pagination-jump input::-webkit-outer-spin-button {
    margin: 0;
    -webkit-appearance: none;
}

.rdc-pagination-jump input:focus {
    border-color: var(--rdc-button-color, #2563eb);
    box-shadow: 0 0 0 3px rgba(var(--rdc-button-color-rgb, 37, 99, 235), .12);
}

html[data-theme="dark"] .rdc-pagination {
    border-top-color: rgba(148, 163, 184, .16);
    background: transparent;
}

html[data-theme="dark"] .rdc-pagination-step {
    color: #60a5fa;
}

html[data-theme="dark"] .rdc-pagination-step.is-disabled {
    color: #475569;
}

html[data-theme="dark"] .rdc-pagination .rdc-pagination-number {
    border: 0;
    color: #cbd5e1;
    background: transparent;
}

html[data-theme="dark"] .rdc-pagination .rdc-pagination-number:hover {
    color: #93c5fd;
    background: rgba(59, 130, 246, .13);
}

html[data-theme="dark"] .rdc-pagination .rdc-pagination-number.is-active {
    color: #fff;
    background: var(--rdc-button-color, #2563eb);
}

html[data-theme="dark"] .rdc-pagination-jump {
    border-left-color: rgba(148, 163, 184, .2);
}

html[data-theme="dark"] .rdc-pagination-jump label {
    color: #94a3b8;
}

html[data-theme="dark"] .rdc-pagination-jump input {
    color: #e2e8f0;
    background: rgba(15, 23, 42, .28);
}

@media (max-width: 767.98px) {
    .rdc-pagination {
        align-items: center;
        padding-top: 12px;
    }

    .rdc-pagination-controls {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

    .rdc-pagination-pages {
        overflow: visible;
    }

    .rdc-pagination-jump {
        flex: 0 0 100%;
        justify-content: center;
        margin: 8px 0 0;
        padding: 10px 0 0;
        border-top: 1px solid rgba(148, 163, 184, .2);
        border-left: 0;
    }
}

html[data-theme="dark"] .rdc-pagination-link:hover,
html[data-theme="dark"] .rdc-pagination-link:focus-visible {
    border-color: rgba(96, 165, 250, .52);
    color: #93c5fd;
    background: rgba(59, 130, 246, .13);
}

html[data-theme="dark"] .rdc-pagination-number.is-active {
    border-color: #3b82f6;
    color: #fff;
    background: linear-gradient(135deg, var(--rdc-button-color, #2563eb), #3b82f6);
}

html[data-theme="dark"] .rdc-pagination-ellipsis {
    border-color: transparent;
    color: #64748b;
    background: transparent;
}

@media (max-width: 767.98px) {
    .rdc-pagination {
        align-items: stretch;
        flex-direction: column;
        padding: 12px;
    }

    .rdc-pagination-summary {
        text-align: center;
        white-space: normal;
    }

    .rdc-pagination-controls {
        justify-content: space-between;
    }

    .rdc-pagination-pages {
        overflow-x: auto;
        scrollbar-width: none;
    }

    .rdc-pagination-pages::-webkit-scrollbar {
        display: none;
    }

    .rdc-pagination-nav span {
        display: none;
    }

    .rdc-pagination-nav {
        flex: 0 0 38px;
        width: 38px;
        padding: 0;
    }
}

/* Song review: compact, accessible status action bar. */
.song-review-summary-card .song-review-status-form {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) auto auto;
    align-items: stretch;
    gap: 12px;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid rgba(148, 163, 184, 0.2);
}

.song-review-status-field {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 64px;
    padding: 9px 44px 9px 12px;
    border: 1px solid rgba(96, 165, 250, 0.28);
    border-radius: 14px;
    background: rgba(148, 163, 184, 0.08);
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.song-review-status-field:focus-within {
    border-color: var(--rdc-button-color, #2563eb);
    background: rgba(var(--rdc-button-color-rgb, 37, 99, 235), 0.08);
    box-shadow: 0 0 0 4px rgba(var(--rdc-button-color-rgb, 37, 99, 235), 0.13);
}

.song-review-status-field-icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    border-radius: 11px;
    color: #60a5fa;
    background: rgba(59, 130, 246, 0.14);
    font-size: 20px;
}

.song-review-status-field-copy {
    min-width: 0;
    flex: 1;
}

.song-review-status-field-copy label {
    display: block;
    margin: 0 0 2px;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    line-height: 1.2;
    text-transform: uppercase;
}

.song-review-status-field .form-select {
    width: 100%;
    min-height: 25px;
    padding: 0;
    border: 0;
    color: inherit;
    background: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

.song-review-status-caret {
    position: absolute;
    right: 15px;
    bottom: 19px;
    color: #94a3b8;
    font-size: 20px;
    pointer-events: none;
}

.song-review-update-btn,
.song-review-back-btn {
    min-height: 64px;
    padding: 0 22px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-weight: 700;
    white-space: nowrap;
}

.song-review-update-btn {
    border: 1px solid transparent;
    color: #fff;
    background: linear-gradient(135deg, var(--rdc-button-color, #2563eb), #3b82f6);
    box-shadow: 0 10px 24px rgba(var(--rdc-button-color-rgb, 37, 99, 235), 0.28);
}

.song-review-update-btn:hover,
.song-review-update-btn:focus {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(var(--rdc-button-color-rgb, 37, 99, 235), 0.36);
}

.song-review-back-btn {
    border: 1px solid rgba(148, 163, 184, 0.28);
    color: inherit;
    background: rgba(148, 163, 184, 0.1);
}

.song-review-back-btn:hover,
.song-review-back-btn:focus {
    color: inherit;
    border-color: rgba(96, 165, 250, 0.5);
    background: rgba(96, 165, 250, 0.12);
}

@media (max-width: 767.98px) {
    .song-review-summary-card .song-review-status-form {
        grid-template-columns: 1fr 1fr;
    }

    .song-review-status-field {
        grid-column: 1 / -1;
    }
}

@media (max-width: 479.98px) {
    .song-review-summary-card .song-review-status-form {
        grid-template-columns: 1fr;
    }

    .song-review-status-field {
        grid-column: auto;
    }
}

/* Pagination reference design — final cascade overrides. */
.rdc-pagination{--rdc-pagination-accent:#4fc3b5;--rdc-pagination-accent-soft:rgba(79,195,181,.15);position:relative;display:flex;align-items:center;justify-content:center;min-height:72px;margin-top:12px;padding:14px 220px;border:0;border-radius:0;background:transparent}
.rdc-pagination-summary{position:absolute;left:0;top:50%;margin:0;color:#7b7f86;font-size:13px;font-weight:400;transform:translateY(-50%)}
.rdc-pagination-summary strong{color:#555a61;font-weight:700}
.rdc-pagination-controls{display:inline-flex;align-items:center;justify-content:center;gap:2px;width:auto}
.rdc-pagination-pages{display:inline-flex;align-items:center;gap:3px;margin:0 9px;overflow:visible}
.rdc-pagination-step{display:inline-flex;align-items:center;justify-content:center;width:28px;height:42px;border:0;color:var(--rdc-pagination-accent);background:transparent;font-size:20px;text-decoration:none!important}
.rdc-pagination-step:hover,.rdc-pagination-step:focus-visible{color:#35ac9e;transform:none;outline:0}
.rdc-pagination-step.is-disabled{color:#dfe3e6;cursor:default;opacity:1}
.rdc-pagination .rdc-pagination-number,html[data-theme="dark"] .rdc-pagination .rdc-pagination-number{display:inline-flex;align-items:center;justify-content:center;width:42px;min-width:42px;height:42px;padding:0;border:0;border-radius:50%;color:#5d6065;background:transparent;box-shadow:none;font-size:16px;font-weight:400;text-decoration:none!important}
.rdc-pagination .rdc-pagination-number:hover,.rdc-pagination .rdc-pagination-number:focus-visible,html[data-theme="dark"] .rdc-pagination .rdc-pagination-number:hover{color:#339f93;background:var(--rdc-pagination-accent-soft);box-shadow:none;transform:none}
.rdc-pagination .rdc-pagination-number.is-active,.rdc-pagination .rdc-pagination-number.is-active:hover,html[data-theme="dark"] .rdc-pagination .rdc-pagination-number.is-active{color:#fff;background:var(--rdc-pagination-accent);box-shadow:none}
.rdc-pagination-jump{display:flex;align-items:center;gap:14px;margin-left:14px;padding-left:22px;border-top:0;border-left:1px solid #dedede}
.rdc-pagination-jump label,html[data-theme="dark"] .rdc-pagination-jump label{margin:0;color:#777b80;font-size:16px;font-weight:400;white-space:nowrap}
.rdc-pagination-jump input,html[data-theme="dark"] .rdc-pagination-jump input{width:44px;height:42px;padding:4px;border:2px solid var(--rdc-pagination-accent);border-radius:7px;color:#555a61;background:transparent;box-shadow:none;font-size:15px;font-weight:500;text-align:center;appearance:textfield;-moz-appearance:textfield;outline:0}
.rdc-pagination-jump input:focus{border-color:#35ac9e;box-shadow:0 0 0 3px rgba(79,195,181,.14)}
html[data-theme="dark"] .rdc-pagination{background:transparent}
html[data-theme="dark"] .rdc-pagination-summary{color:#94a3b8}
html[data-theme="dark"] .rdc-pagination-summary strong,html[data-theme="dark"] .rdc-pagination .rdc-pagination-number,html[data-theme="dark"] .rdc-pagination-jump input{color:#cbd5e1}
html[data-theme="dark"] .rdc-pagination-step.is-disabled{color:#475569}
html[data-theme="dark"] .rdc-pagination-jump{border-left-color:rgba(148,163,184,.3)}
@media(max-width:1199.98px){.rdc-pagination{justify-content:flex-end;padding-right:0;padding-left:190px}}
@media(max-width:767.98px){.rdc-pagination{align-items:center;justify-content:center;flex-direction:column;gap:10px;padding:12px 0}.rdc-pagination-summary{position:static;transform:none}.rdc-pagination-controls{justify-content:center;flex-wrap:wrap}.rdc-pagination-pages{overflow:visible}.rdc-pagination-jump{flex:0 0 100%;justify-content:center;margin:8px 0 0;padding:10px 0 0;border-top:1px solid rgba(148,163,184,.24);border-left:0}}

/* Shared pagination component. Isolated namespace prevents legacy pagination rules from shifting controls. */
.rdc-pager {
    --rdc-pager-accent: var(--rdc-button-color, #3478f6);
    --rdc-pager-accent-rgb: var(--rdc-button-color-rgb, 52, 120, 246);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 72px;
    margin-top: 14px;
    padding: 12px 16px;
    border: 1px solid rgba(148, 163, 184, .2);
    border-radius: 16px;
    color: #526176;
    background: rgba(255, 255, 255, .72);
    box-shadow: 0 8px 24px rgba(15, 23, 42, .045);
}

.rdc-pager__summary {
    margin: 0;
    color: #718096;
    font-size: 14px;
    line-height: 1.4;
}

.rdc-pager__summary strong {
    color: #334155;
    font-weight: 750;
}

.rdc-pager__controls,
.rdc-pager__pages,
.rdc-pager__jump {
    display: flex;
    align-items: center;
}

.rdc-pager__controls {
    justify-content: center;
    gap: 4px;
    padding: 4px;
    border: 1px solid rgba(148, 163, 184, .2);
    border-radius: 14px;
    background: rgba(248, 250, 252, .9);
}

.rdc-pager__pages {
    gap: 6px;
    margin: 0 8px;
}

.rdc-pager__page,
.rdc-pager__step {
    box-sizing: border-box;
    display: grid;
    place-items: center;
    flex: 0 0 36px;
    width: 36px;
    min-width: 36px;
    height: 36px;
    margin: 0;
    padding: 0;
    border: 0;
    line-height: 1;
    text-align: center;
    text-decoration: none !important;
    transform: none;
}

.rdc-pager__page {
    border-radius: 10px;
    color: #44546a;
    background: transparent;
    font-size: 15px;
    font-weight: 650;
    transition: color .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.rdc-pager__page:hover,
.rdc-pager__page:focus-visible {
    color: var(--rdc-pager-accent);
    background: rgba(var(--rdc-pager-accent-rgb), .12);
    box-shadow: inset 0 0 0 1px rgba(var(--rdc-pager-accent-rgb), .16);
    outline: none;
}

.rdc-pager__page.is-active,
.rdc-pager__page.is-active:hover {
    color: #fff;
    background: linear-gradient(135deg, var(--rdc-pager-accent), #5b9bff);
    box-shadow: 0 5px 14px rgba(var(--rdc-pager-accent-rgb), .28);
}

.rdc-pager__step {
    border-radius: 10px;
    color: var(--rdc-pager-accent);
    background: transparent;
    font-size: 20px;
    transition: color .18s ease, background-color .18s ease;
}

.rdc-pager__step i {
    color: currentColor !important;
    font-size: inherit;
    line-height: 1;
}

.rdc-pager__step:hover,
.rdc-pager__step:focus-visible {
    color: var(--rdc-pager-accent);
    background: rgba(var(--rdc-pager-accent-rgb), .1);
    outline: none;
}

.rdc-pager__step.is-disabled {
    color: #b6c0ce;
    background: transparent;
    cursor: default;
    opacity: .55;
}

.rdc-pager__jump {
    gap: 9px;
    margin-left: 8px;
    padding-left: 14px;
    border-left: 1px solid rgba(100, 116, 139, .22);
}

.rdc-pager__jump label {
    margin: 0;
    color: #64748b;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

.rdc-pager__jump input {
    box-sizing: border-box;
    width: 48px;
    height: 36px;
    padding: 4px;
    border: 1px solid rgba(var(--rdc-pager-accent-rgb), .55);
    border-radius: 9px;
    color: #334155;
    background: rgba(var(--rdc-pager-accent-rgb), .04);
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    appearance: textfield;
    -moz-appearance: textfield;
    outline: none;
}

.rdc-pager__jump input:focus {
    border-color: var(--rdc-pager-accent);
    box-shadow: 0 0 0 3px rgba(var(--rdc-pager-accent-rgb), .14);
}

html[data-theme="dark"] .rdc-pager {
    color: #aebed2;
    border-color: rgba(148, 163, 184, .2);
    background: rgba(15, 25, 42, .72);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .14);
}

html[data-theme="dark"] .rdc-pager__controls {
    border-color: rgba(148, 163, 184, .18);
    background: rgba(15, 23, 42, .68);
}

html[data-theme="dark"] .rdc-pager__summary {
    color: #91a3ba;
}

html[data-theme="dark"] .rdc-pager__summary strong,
html[data-theme="dark"] .rdc-pager__page,
html[data-theme="dark"] .rdc-pager__jump input {
    color: #dbe7f5;
}

html[data-theme="dark"] .rdc-pager__page.is-active {
    color: #fff;
}

html[data-theme="dark"] .rdc-pager__page:not(.is-active):hover,
html[data-theme="dark"] .rdc-pager__page:not(.is-active):focus-visible {
    color: #ffffff !important;
    background: rgba(var(--rdc-pager-accent-rgb), .3) !important;
    box-shadow: inset 0 0 0 1px rgba(147, 197, 253, .48),
        0 5px 14px rgba(var(--rdc-pager-accent-rgb), .18) !important;
    transform: translateY(-1px);
}

html[data-theme="dark"] .rdc-pager__step.is-disabled {
    color: #526277;
}

html[data-theme="dark"] .rdc-pager__step:not(.is-disabled) {
    color: #8ab8ff;
}

html[data-theme="dark"] .rdc-pager__step:not(.is-disabled):hover,
html[data-theme="dark"] .rdc-pager__step:not(.is-disabled):focus-visible {
    color: #ffffff !important;
    background: rgba(var(--rdc-pager-accent-rgb), .34) !important;
    box-shadow: inset 0 0 0 1px rgba(147, 197, 253, .48),
        0 5px 14px rgba(var(--rdc-pager-accent-rgb), .2) !important;
    transform: translateY(-1px);
}

html[data-theme="dark"] .rdc-pager__jump {
    border-left-color: rgba(148, 163, 184, .25);
}

html[data-theme="dark"] .rdc-pager__jump label {
    color: #9aacbf;
}

html[data-theme="dark"] .rdc-pager__jump input {
    background: rgba(var(--rdc-pager-accent-rgb), .07);
}

@media (max-width: 1199.98px) {
    .rdc-pager {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 767.98px) {
    .rdc-pager {
        align-items: stretch;
        gap: 12px;
        padding: 12px;
    }

    .rdc-pager__summary {
        text-align: center;
    }

    .rdc-pager__controls {
        justify-content: center;
        flex-wrap: wrap;
    }

    .rdc-pager__jump {
        flex: 0 0 100%;
        justify-content: center;
        margin: 8px 0 0;
        padding: 12px 0 0;
        border-top: 1px solid rgba(148, 163, 184, .22);
        border-left: 0;
    }
}

@media (max-width: 479.98px) {
    .rdc-pager__page,
    .rdc-pager__step {
        flex-basis: 34px;
        width: 34px;
        min-width: 34px;
        height: 34px;
    }

    .rdc-pager__pages {
        gap: 2px;
        margin: 0 2px;
    }
}

/* Authentication v2: isolated shared login and registration experience. */
body.rdc-auth-v2 {
    min-height: 100vh;
    margin: 0;
    color: #172033;
    background:
        radial-gradient(circle at 8% 12%, rgba(59, 130, 246, .13), transparent 28%),
        radial-gradient(circle at 92% 88%, rgba(124, 58, 237, .12), transparent 30%),
        linear-gradient(135deg, #f7f9fd 0%, #eef3fb 52%, #f8f7fc 100%);
    font-family: Inter, "Nunito Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.rdc-auth-v2 *,
.rdc-auth-v2 *::before,
.rdc-auth-v2 *::after {
    box-sizing: border-box;
}

.rdc-auth-v2__stage {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 100vh;
    padding: 32px;
    overflow: hidden;
}

.rdc-auth-v2__stage::before,
.rdc-auth-v2__stage::after {
    content: "";
    position: fixed;
    border: 1px solid rgba(99, 102, 241, .08);
    border-radius: 50%;
    pointer-events: none;
}

.rdc-auth-v2__stage::before {
    width: 520px;
    height: 520px;
    top: -280px;
    right: -180px;
}

.rdc-auth-v2__stage::after {
    width: 380px;
    height: 380px;
    bottom: -230px;
    left: -130px;
}

.rdc-auth-v2__shell {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(340px, .9fr) minmax(440px, 1.1fr);
    width: min(1040px, 100%);
    min-height: 650px;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, .18);
    border-radius: 28px;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 30px 80px rgba(32, 48, 78, .16);
    backdrop-filter: blur(18px);
}

.rdc-auth-v2--register .rdc-auth-v2__shell {
    grid-template-columns: minmax(330px, .78fr) minmax(600px, 1.22fr);
    width: min(1160px, 100%);
    min-height: 680px;
}

.rdc-auth-v2__visual {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: 34px 38px;
    overflow: hidden;
    color: #fff;
    background:
        linear-gradient(150deg, rgba(13, 28, 58, .96), rgba(29, 57, 113, .94)),
        var(--auth-accent);
}

.rdc-auth-v2__visual::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .28;
    background-image:
        linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(to bottom, #000, transparent 82%);
}

.rdc-auth-v2__visual-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(2px);
    pointer-events: none;
}

.rdc-auth-v2__visual-orb--one {
    width: 280px;
    height: 280px;
    top: 22%;
    right: -130px;
    background: rgba(74, 144, 255, .28);
    box-shadow: 0 0 80px rgba(74, 144, 255, .28);
}

.rdc-auth-v2__visual-orb--two {
    width: 190px;
    height: 190px;
    bottom: -65px;
    left: -70px;
    background: rgba(167, 139, 250, .22);
    box-shadow: 0 0 70px rgba(167, 139, 250, .22);
}

.rdc-auth-v2__mobile-brand {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: -.01em;
}

.rdc-auth-v2__visual-identity {
    position: relative;
    z-index: 1;
    display: grid;
    justify-items: center;
    width: min(100%, 300px);
    text-align: center;
}

.rdc-auth-v2__hero-logo {
    display: grid;
    place-items: center;
    width: 136px;
    height: 136px;
    padding: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 30px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .22), 0 0 0 10px rgba(255, 255, 255, .05);
}

.rdc-auth-v2__hero-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.rdc-auth-v2__visual-identity strong {
    margin-top: 22px;
    color: #fff;
    font-size: 24px;
    font-weight: 820;
    letter-spacing: -.03em;
    line-height: 1.2;
}

.rdc-auth-v2__identity-line {
    width: 64px;
    height: 3px;
    margin-top: 16px;
    border-radius: 999px;
    background: linear-gradient(90deg, #60a5fa, #a78bfa);
    box-shadow: 0 0 18px rgba(96, 165, 250, .55);
}

.rdc-auth-v2__stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 10px;
    margin-top: 25px;
}

.rdc-auth-v2__stat {
    position: relative;
    display: flex;
    align-items: center;
    gap: 11px;
    min-height: 92px;
    padding: 14px;
    overflow: hidden;
    border: 1px solid rgba(191, 219, 254, .18);
    border-radius: 18px;
    color: #dbeafe;
    background:
        radial-gradient(circle at 100% 0, rgba(96, 165, 250, .18), transparent 52%),
        linear-gradient(145deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .045));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .11), 0 14px 30px rgba(5, 15, 36, .18);
    backdrop-filter: blur(16px);
    text-align: left;
    isolation: isolate;
    transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}

.rdc-auth-v2__stat:first-child {
    grid-column: 1 / -1;
    min-height: 74px;
}

.rdc-auth-v2__stat:not(:first-child) {
    align-items: flex-start;
    flex-direction: column;
    min-height: 112px;
}

.rdc-auth-v2__stat::before {
    content: "";
    position: absolute;
    z-index: -1;
    width: 80px;
    height: 80px;
    right: -35px;
    bottom: -43px;
    border: 1px solid rgba(147, 197, 253, .17);
    border-radius: 50%;
    box-shadow: 0 0 35px rgba(96, 165, 250, .12);
}

.rdc-auth-v2__stat::after {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: linear-gradient(180deg, #60a5fa, #8b5cf6);
    opacity: .78;
}

.rdc-auth-v2__stat:hover {
    border-color: rgba(147, 197, 253, .42);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 18px 36px rgba(5, 15, 36, .24);
    transform: translateY(-3px);
}

.rdc-auth-v2__stat > i {
    display: grid;
    place-items: center;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(191, 219, 254, .22);
    border-radius: 12px;
    color: #bfdbfe;
    background: linear-gradient(145deg, rgba(96, 165, 250, .28), rgba(124, 58, 237, .14));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 8px 18px rgba(15, 34, 72, .24);
    font-size: 18px;
}

.rdc-auth-v2__stat span {
    display: grid;
    gap: 2px;
    min-width: 0;
    color: #cbd9ee;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
}

.rdc-auth-v2__stat span strong {
    margin: 0;
    color: #fff;
    background: linear-gradient(90deg, #fff, #bfdbfe);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 21px;
    letter-spacing: -.035em;
    line-height: 1;
}

.rdc-auth-v2__stat:first-child span {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.rdc-auth-v2__stat:first-child span strong {
    font-size: 23px;
}

.rdc-auth-v2__logo {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.32);
    border-radius: 15px;
    background: rgba(255,255,255,.96);
    box-shadow: 0 10px 28px rgba(0,0,0,.14);
}

.rdc-auth-v2__logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.rdc-auth-v2__panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: 58px 64px 38px;
}

.rdc-auth-v2--register .rdc-auth-v2__panel {
    padding: 42px 54px 30px;
}

.rdc-auth-v2__mobile-brand {
    display: none;
    margin-bottom: 30px;
    color: #172033;
}

.rdc-auth-v2__header {
    margin-bottom: 30px;
}

.rdc-auth-v2--register .rdc-auth-v2__header {
    margin-bottom: 23px;
}

.rdc-auth-v2__header h1 {
    margin: 0 0 10px;
    color: #172033;
    font-size: clamp(29px, 3vw, 38px);
    font-weight: 820;
    letter-spacing: -.04em;
    line-height: 1.1;
}

.rdc-auth-v2__header p {
    margin: 0;
    color: #718096;
    font-size: 14px;
    line-height: 1.6;
}

.rdc-auth-v2__alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
    padding: 12px 14px;
    border: 1px solid;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.45;
}

.rdc-auth-v2__alert--success {
    color: #08734a;
    border-color: #a7f3d0;
    background: #ecfdf5;
}

.rdc-auth-v2__form {
    display: grid;
    gap: 19px;
}

.rdc-auth-v2__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 18px;
}

.rdc-auth-v2__field {
    display: grid;
    gap: 7px;
    margin: 0;
}

.rdc-auth-v2__field--wide {
    grid-column: 1 / -1;
}

.rdc-auth-v2__field > span:first-child {
    color: #344258;
    font-size: 12px;
    font-weight: 750;
}

.rdc-auth-v2__field-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.rdc-auth-v2__field-heading a {
    color: var(--auth-accent);
    font-weight: 750;
    text-decoration: none;
}

.rdc-auth-v2__field-heading a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.rdc-auth-v2__control {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 50px;
    border: 1px solid #d8e0ec;
    border-radius: 13px;
    background: #fbfcfe;
    transition: border-color .16s ease, box-shadow .16s ease, background-color .16s ease;
}

.rdc-auth-v2__control:focus-within {
    border-color: var(--auth-accent);
    background: #fff;
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--auth-accent) 13%, transparent);
}

.rdc-auth-v2__control.is-invalid {
    border-color: #ef4444;
    background: #fffafa;
}

.rdc-auth-v2__control > i {
    flex: 0 0 44px;
    color: #91a0b5;
    text-align: center;
    font-size: 18px;
}

.rdc-auth-v2__control input {
    flex: 1;
    width: 100%;
    min-width: 0;
    height: 48px;
    padding: 0 13px 0 0;
    border: 0;
    outline: 0;
    color: #1e293b;
    background: transparent;
    font-size: 14px;
    font-weight: 600;
}

.rdc-auth-v2__control input::placeholder {
    color: #a2aec0;
    font-weight: 450;
}

.rdc-auth-v2__password-toggle {
    display: grid;
    place-items: center;
    flex: 0 0 40px;
    width: 40px;
    height: 38px;
    margin-right: 5px;
    padding: 0;
    border: 0;
    border-radius: 10px;
    color: #718096;
    background: transparent;
    font-size: 18px;
}

.rdc-auth-v2__password-toggle:hover,
.rdc-auth-v2__password-toggle:focus-visible {
    color: var(--auth-accent);
    background: color-mix(in srgb, var(--auth-accent) 9%, transparent);
    outline: none;
}

.rdc-auth-v2__error,
.rdc-auth-v2__caps,
.rdc-auth-v2__match {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 650;
}

.rdc-auth-v2__error {
    color: #dc2626;
}

.rdc-auth-v2__caps {
    color: #b45309;
}

.rdc-auth-v2__match {
    min-height: 15px;
    color: #dc2626;
}

.rdc-auth-v2__match[hidden] {
    display: none;
    min-height: 0;
}

.rdc-auth-v2__match.is-valid {
    color: #059669;
}

.rdc-auth-v2__strength {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    align-items: center;
}

.rdc-auth-v2__strength > span {
    height: 3px;
    border-radius: 999px;
    background: #e2e8f0;
}

.rdc-auth-v2__strength small {
    grid-column: 1 / -1;
    color: #8a98aa;
    font-size: 10px;
}

.rdc-auth-v2__strength[data-score="1"] > span:nth-child(1) { background: #f59e0b; }
.rdc-auth-v2__strength[data-score="2"] > span:nth-child(-n+2) { background: #3b82f6; }
.rdc-auth-v2__strength[data-score="3"] > span { background: #10b981; }

.rdc-auth-v2__switch a {
    color: var(--auth-accent);
    font-weight: 750;
    text-decoration: none;
}

.rdc-auth-v2__link-button {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    color: var(--auth-accent);
    font-weight: 750;
    font-size: inherit;
    font-family: inherit;
    cursor: pointer;
    text-decoration: none;
}

.rdc-auth-v2__link-button:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.rdc-auth-v2__submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 50px;
    padding: 0 20px;
    border: 1px solid transparent;
    border-radius: 13px;
    color: #fff;
    background: linear-gradient(135deg, var(--auth-accent), color-mix(in srgb, var(--auth-accent) 74%, #7c3aed));
    box-shadow: 0 12px 25px color-mix(in srgb, var(--auth-accent) 27%, transparent);
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
}

.rdc-auth-v2__submit:hover,
.rdc-auth-v2__submit:focus-visible {
    color: #fff;
    filter: brightness(1.06);
    outline: none;
    transform: translateY(-1px);
    box-shadow: 0 15px 30px color-mix(in srgb, var(--auth-accent) 34%, transparent);
}

.rdc-auth-v2__submit:disabled {
    cursor: wait;
    opacity: .75;
    transform: none;
}

.rdc-auth-v2__submit.is-loading i {
    animation: rdc-auth-arrow-pulse .8s ease-in-out infinite alternate;
}

@keyframes rdc-auth-arrow-pulse {
    to { transform: translateX(4px); opacity: .55; }
}

.rdc-auth-v2__switch {
    margin: 24px 0 0;
    color: #718096;
    font-size: 13px;
    text-align: center;
}

.rdc-auth-v2__switch a {
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.rdc-auth-v2__switch a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.rdc-auth-v2__security-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: auto;
    padding-top: 25px;
    color: #9aa7b8;
    font-size: 10px;
}

.rdc-auth-v2--register .rdc-auth-v2__security-note {
    padding-top: 18px;
}

@media (max-width: 991.98px) {
    .rdc-auth-v2__stage {
        padding: 22px;
    }

    .rdc-auth-v2__shell,
    .rdc-auth-v2--register .rdc-auth-v2__shell {
        display: block;
        width: min(660px, 100%);
        min-height: 0;
    }

    .rdc-auth-v2__visual {
        display: none;
    }

    .rdc-auth-v2__panel,
    .rdc-auth-v2--register .rdc-auth-v2__panel {
        padding: 42px 46px 28px;
    }

    .rdc-auth-v2__mobile-brand {
        display: flex;
    }

    .rdc-auth-v2__mobile-brand .rdc-auth-v2__logo {
        width: 44px;
        height: 44px;
        border-color: #dce4ef;
        box-shadow: 0 7px 18px rgba(15,23,42,.08);
    }
}

@media (max-width: 575.98px) {
    .rdc-auth-v2__stage {
        display: block;
        padding: 0;
        overflow: visible;
    }

    .rdc-auth-v2__shell,
    .rdc-auth-v2--register .rdc-auth-v2__shell {
        min-height: 100vh;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .rdc-auth-v2__panel,
    .rdc-auth-v2--register .rdc-auth-v2__panel {
        min-height: 100vh;
        padding: 28px 20px 22px;
    }

    .rdc-auth-v2__mobile-brand {
        margin-bottom: 35px;
    }

    .rdc-auth-v2__header,
    .rdc-auth-v2--register .rdc-auth-v2__header {
        margin-bottom: 25px;
    }

    .rdc-auth-v2__header h1 {
        font-size: 29px;
    }

    .rdc-auth-v2__grid {
        grid-template-columns: 1fr;
    }

    .rdc-auth-v2__field--wide {
        grid-column: auto;
    }

    .rdc-auth-v2__security-note {
        padding-top: 28px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rdc-auth-v2 *,
    .rdc-auth-v2 *::before,
    .rdc-auth-v2 *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

/* ===== Modern catalog-code importer ===== */
.catalog-import-page {
    --catalog-accent: #3478f6;
    --catalog-accent-strong: #245de8;
    --catalog-ink: #14213a;
    --catalog-muted: #66758f;
    --catalog-border: #dbe4f1;
    --catalog-surface: #fff;
    --catalog-soft: #f6f9fd;
    padding: 14px;
}

.catalog-import-hero {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    overflow: hidden;
    margin-bottom: 22px;
    padding: 28px 30px;
    border: 1px solid var(--catalog-border);
    border-radius: 22px;
    background: linear-gradient(120deg, #fff 0%, #f7faff 62%, #eef5ff 100%);
    box-shadow: 0 12px 36px rgba(33, 60, 105, .07);
}

.catalog-import-hero::after {
    content: '';
    position: absolute;
    right: 18%;
    width: 220px;
    height: 220px;
    border: 34px solid rgba(52, 120, 246, .045);
    border-radius: 50%;
    pointer-events: none;
}

.catalog-import-hero__icon {
    position: relative;
    z-index: 1;
    display: grid;
    flex: 0 0 58px;
    height: 58px;
    place-items: center;
    border-radius: 17px;
    color: #fff;
    background: linear-gradient(145deg, #4195ff, #315bea);
    box-shadow: 0 12px 24px rgba(49, 91, 234, .24);
    font-size: 25px;
}

.catalog-import-hero__copy { position: relative; z-index: 1; min-width: 0; }
.catalog-import-hero__eyebrow { display: block; margin-bottom: 4px; color: var(--catalog-accent); font-size: 11px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.catalog-import-hero h1 { margin: 0 0 5px; color: var(--catalog-ink); font-size: clamp(25px, 2.2vw, 34px); font-weight: 760; letter-spacing: -.035em; }
.catalog-import-hero p { max-width: 690px; margin: 0; color: var(--catalog-muted); font-size: 14px; line-height: 1.55; }

.catalog-import-hero__badge {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 11px;
    margin-left: auto;
    padding: 11px 14px;
    border: 1px solid #d9e5f8;
    border-radius: 14px;
    background: rgba(255, 255, 255, .78);
    box-shadow: 0 7px 20px rgba(44, 74, 124, .06);
    white-space: nowrap;
}

.catalog-import-hero__badge-icon { display: grid; width: 37px; height: 37px; place-items: center; border-radius: 11px; color: var(--catalog-accent); background: #edf4ff; font-size: 18px; }
.catalog-import-hero__badge strong, .catalog-import-hero__badge small { display: block; }
.catalog-import-hero__badge strong { color: var(--catalog-ink); font-size: 13px; }
.catalog-import-hero__badge small { margin-top: 2px; color: var(--catalog-muted); font-size: 12.5px; }

.catalog-import-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; align-items: start; gap: 22px; }
.catalog-import-sidebar { display: grid; gap: 16px; }
.catalog-import-card { overflow: hidden; border: 1px solid var(--catalog-border); border-radius: 22px; background: var(--catalog-surface); box-shadow: 0 12px 34px rgba(33, 60, 105, .065); }
.catalog-import-card--form { padding: 30px; }
.catalog-import-card__header { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; padding-bottom: 22px; border-bottom: 1px solid var(--catalog-border); }
.catalog-import-card__header--compact { margin: 0; padding: 24px 24px 19px; }
.catalog-import-card__step { display: grid; flex: 0 0 43px; height: 43px; place-items: center; border-radius: 13px; color: var(--catalog-accent); background: #edf4ff; font-size: 13px; font-weight: 800; }
.catalog-import-card__step i { font-size: 20px; }
.catalog-import-card__header h2 { margin: 0 0 3px; color: var(--catalog-ink); font-size: 17px; font-weight: 750; }
.catalog-import-card__header p { margin: 0; color: var(--catalog-muted); font-size: 12px; }

.catalog-import-fieldset { margin: 0 0 22px; padding: 0; border: 0; }
.catalog-import-fieldset legend { margin-bottom: 10px; color: var(--catalog-ink); font-size: 12px; font-weight: 750; }
.catalog-import-page .catalog-type-switch { gap: 12px; }
.catalog-import-page .catalog-type-switch span { min-height: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.catalog-import-page .catalog-type-switch > label > span {
    position: relative;
    display: flex;
    justify-content: flex-start;
    gap: 12px;
    min-height: 72px;
    padding: 13px 44px 13px 14px;
    border: 1px solid var(--catalog-border);
    border-radius: 15px;
    background: var(--catalog-soft);
    box-shadow: none;
    transition: border-color .18s ease, background .18s ease, box-shadow .18s ease, transform .18s ease;
}
.catalog-import-page .catalog-type-switch > label:hover > span { border-color: #a9c5f7; transform: translateY(-1px); }
.catalog-import-page .catalog-type-switch input:focus-visible + span { outline: 3px solid rgba(52, 120, 246, .2); outline-offset: 2px; }
.catalog-import-page .catalog-type-switch input:checked + span { color: inherit; border-color: var(--catalog-accent); background: #f2f7ff; box-shadow: 0 0 0 3px rgba(52, 120, 246, .1); }
.catalog-type-switch__icon { display: grid !important; flex: 0 0 42px; height: 42px; place-items: center; border-radius: 12px !important; color: #75849c; background: #fff !important; box-shadow: inset 0 0 0 1px var(--catalog-border) !important; font-size: 18px; }
.catalog-type-switch input:checked + span .catalog-type-switch__icon { color: var(--catalog-accent); box-shadow: inset 0 0 0 1px #bcd2fa !important; }
.catalog-type-switch__copy { display: block !important; min-width: 0; text-align: left; }
.catalog-type-switch__copy strong, .catalog-type-switch__copy small { display: block; }
.catalog-type-switch__copy strong { color: var(--catalog-ink); font-size: 13px; }
.catalog-type-switch__copy small { margin-top: 2px; color: var(--catalog-muted); font-size: 12.5px; font-weight: 500; }
.catalog-type-switch__check { position: absolute; top: 50%; right: 15px; opacity: 0; color: var(--catalog-accent); font-size: 18px; transform: translateY(-50%) scale(.7); transition: .18s ease; }
.catalog-type-switch input:checked + span .catalog-type-switch__check { opacity: 1; transform: translateY(-50%) scale(1); }

.catalog-import-method { padding: 18px; border: 1px solid var(--catalog-border); border-radius: 16px; background: var(--catalog-soft); }
.catalog-import-method__heading { display: flex; align-items: center; gap: 11px; margin-bottom: 14px; }
.catalog-import-method__icon { display: grid; flex: 0 0 36px; height: 36px; place-items: center; border-radius: 10px; color: var(--catalog-accent); background: #e8f1ff; font-size: 17px; }
.catalog-import-method__heading label { display: block; margin: 0 0 2px; color: var(--catalog-ink); font-size: 12px; font-weight: 750; }
.catalog-import-method__heading small { display: block; color: var(--catalog-muted); font-size: 12.5px; line-height: 1.4; }
.catalog-import-file.form-control { min-height: 48px; padding: 0; overflow: hidden; border-color: #cedaea; border-radius: 12px; background: var(--catalog-surface); color: var(--catalog-muted); font-size: 12px; }
.catalog-import-file::file-selector-button { height: 48px; margin-right: 14px; padding: 0 18px; border: 0; border-right: 1px solid var(--catalog-border); color: var(--catalog-ink); background: #eaf1fb; font-weight: 700; cursor: pointer; }
.catalog-import-method__meta { display: flex; gap: 18px; margin-top: 10px; color: var(--catalog-muted); font-size: 12.5px; }
.catalog-import-method__meta i { margin-right: 4px; color: var(--catalog-accent); }
.catalog-import-page .catalog-import-divider { margin: 23px 0; color: #8594ab; font-size: 12.5px; font-weight: 750; }
.catalog-import-textarea.form-control { min-height: 205px; padding: 15px 16px; resize: vertical; border-color: #cedaea; border-radius: 12px; background: var(--catalog-surface); color: var(--catalog-ink); font-family: inherit; font-size: 12px; line-height: 1.65; }
.catalog-import-file:focus, .catalog-import-textarea:focus { border-color: var(--catalog-accent); box-shadow: 0 0 0 3px rgba(52, 120, 246, .12); }
.catalog-import-normalize-note { display: flex; align-items: center; gap: 6px; margin: 10px 0 0; color: var(--catalog-muted); font-size: 12.5px; }
.catalog-import-normalize-note i { color: #8b5cf6; font-size: 14px; }
.catalog-import-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--catalog-border); }
.catalog-import-actions .btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; padding: 0 18px; border-radius: 11px; font-size: 12px; font-weight: 750; }
.catalog-import-cancel { border: 1px solid var(--catalog-border); color: var(--catalog-muted); background: var(--catalog-soft); }
.catalog-import-cancel:hover { border-color: #b9c8dc; color: var(--catalog-ink); background: #edf2f8; }
.catalog-import-submit { min-width: 145px; border: 0; color: #fff; background: linear-gradient(135deg, var(--catalog-accent), var(--catalog-accent-strong)); box-shadow: 0 9px 20px rgba(52, 120, 246, .24); }
.catalog-import-submit:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 12px 24px rgba(52, 120, 246, .3); }
.catalog-import-submit:disabled { opacity: .72; transform: none; }

.catalog-import-guide { gap: 0; padding: 8px 24px 18px; }
.catalog-import-page .catalog-import-guide > div { gap: 11px; padding: 14px 0; border-bottom: 1px solid var(--catalog-border); }
.catalog-import-page .catalog-import-guide > div:last-child { border-bottom: 0; }
.catalog-import-page .catalog-import-guide i { flex-basis: 28px; height: 28px; margin-top: 1px; color: #0b9b72; background: #e7faf4; font-size: 15px; }
.catalog-import-guide span, .catalog-import-guide strong, .catalog-import-guide small { display: block; }
.catalog-import-guide strong { color: var(--catalog-ink); font-size: 11px; }
.catalog-import-guide small { margin-top: 3px; color: var(--catalog-muted); font-size: 12.5px; line-height: 1.45; }
.catalog-import-tip { display: flex; gap: 12px; padding: 17px; border: 1px solid #ddd8fe; border-radius: 16px; background: linear-gradient(135deg, #f8f7ff, #f1f5ff); }
.catalog-import-tip__icon { display: grid; flex: 0 0 37px; height: 37px; place-items: center; border-radius: 11px; color: #7654e8; background: #e8e3ff; font-size: 18px; }
.catalog-import-tip strong { color: var(--catalog-ink); font-size: 11px; }
.catalog-import-tip p { margin: 3px 0 0; color: var(--catalog-muted); font-size: 12.5px; line-height: 1.55; }

html[data-theme="dark"] .catalog-import-page { --catalog-ink: #eef4ff; --catalog-muted: #9babc4; --catalog-border: #2b3b54; --catalog-surface: #111c2e; --catalog-soft: #162338; }
html[data-theme="dark"] .catalog-import-hero { background: linear-gradient(120deg, #111c2e 0%, #13223a 65%, #172b4a 100%); }
html[data-theme="dark"] .catalog-import-hero__badge { border-color: #304464; background: rgba(17, 28, 46, .8); }
html[data-theme="dark"] .catalog-type-switch__icon { background: #101a2b !important; }
html[data-theme="dark"] .catalog-import-page .catalog-type-switch input:checked + span { background: rgba(52, 120, 246, .12); }
html[data-theme="dark"] .catalog-import-method__icon { background: rgba(52, 120, 246, .14); }
html[data-theme="dark"] .catalog-import-file::file-selector-button { color: #dce8fb; background: #1b2b43; }
html[data-theme="dark"] .catalog-import-tip { border-color: #3c3961; background: linear-gradient(135deg, #1c203a, #17243b); }
html[data-theme="dark"] .catalog-import-tip__icon { background: rgba(118, 84, 232, .19); }

@media (max-width: 1199.98px) {
    .catalog-import-layout { grid-template-columns: 1fr; }
    .catalog-import-sidebar { grid-template-columns: minmax(0, 1fr) minmax(260px, .55fr); }
}

@media (max-width: 767.98px) {
    .catalog-import-page { padding: 4px; }
    .catalog-import-hero { align-items: flex-start; padding: 22px 20px; }
    .catalog-import-hero__icon { flex-basis: 48px; height: 48px; border-radius: 14px; }
    .catalog-import-hero__badge { display: none; }
    .catalog-import-card--form { padding: 20px; }
    .catalog-import-sidebar { grid-template-columns: 1fr; }
    .catalog-import-page .catalog-type-switch { grid-template-columns: 1fr; }
    .catalog-import-actions { flex-direction: column-reverse; }
    .catalog-import-actions .btn { width: 100%; }
}

/* ===== Modern release creation workspace ===== */
.release-form-page-heading {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 14px 0 20px;
    padding: 22px 24px;
    border: 1px solid #dce5f2;
    border-radius: 20px;
    background: linear-gradient(120deg, #fff 0%, #f7faff 72%, #eef5ff 100%);
    box-shadow: 0 10px 30px rgba(32, 59, 101, .06);
}
.release-form-page-heading__icon { display: grid; flex: 0 0 52px; height: 52px; place-items: center; border-radius: 15px; color: #fff; background: linear-gradient(145deg, #4296ff, #315dea); box-shadow: 0 10px 21px rgba(49, 93, 234, .23); font-size: 23px; }
.release-form-page-heading__eyebrow { display: block; margin-bottom: 3px; color: #3478f6; font-size: 10px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.release-form-page-heading h1 { margin: 0 0 3px; color: #15213a; font-size: clamp(23px, 2vw, 31px); font-weight: 780; letter-spacing: -.03em; }
.release-form-page-heading p { margin: 0; color: #697991; font-size: 12px; }

.label-release-editor-page .label-release-editor-card { overflow: hidden; border: 1px solid #dce5f2; border-radius: 20px; background: #fff; box-shadow: 0 14px 38px rgba(32, 59, 101, .07); }
.label-release-editor-page .label-release-editor-card > .card-body { padding: 0; }
.label-release-editor-page .label-release-form-head { display: flex; align-items: center; gap: 13px; margin: 0; padding: 21px 25px; border: 0; border-bottom: 1px solid #dce5f2; border-radius: 0; background: linear-gradient(100deg, #f7faff, #fff); }
.label-release-form-head__icon { display: grid; flex: 0 0 42px; height: 42px; place-items: center; border-radius: 12px; color: #3478f6; background: #eaf2ff; font-size: 19px; }
.label-release-form-head__status { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; padding: 7px 10px; border: 1px solid #cfeedd; border-radius: 999px; color: #07865f; background: #edfbf5; font-size: 10px; font-weight: 750; white-space: nowrap; }
.label-release-editor-page .label-release-form-title { font-size: 15px; }
.label-release-editor-page .label-release-form-subtitle { margin-top: 2px; font-size: 11px; }
.label-release-editor-page .label-release-form { padding: 26px; }

.song-create-page .label-release-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.song-create-page .label-release-form .form-group.row { display: block; min-width: 0; margin: 0 !important; padding: 17px; border: 1px solid #e0e8f3; border-radius: 15px; background: #f9fbfe; }
.song-create-page .label-release-form .col-form-label,
.song-create-page .label-release-form .workspace-form-control-wrap { width: 100%; max-width: none; padding: 0; text-align: left !important; }
.song-create-page .label-release-form .col-form-label { display: block; margin: 0 0 8px; font-size: 11px; }
.song-create-page .label-release-form .form-group.row:has(textarea),
.song-create-page .label-release-form .form-group.row:has(input[type="file"]),
.song-create-page .label-release-form-actions { grid-column: 1 / -1; }
.song-create-page .label-release-form .form-text { display: block; margin-top: 6px; font-size: 9px; }

.album-create-page .label-release-editor-card { max-width: 980px; margin-inline: auto; }
.album-create-page .label-release-form { max-width: 820px; margin-inline: auto; padding: 38px 34px; }
.album-create-page .label-release-form .form-group.row { display: grid; grid-template-columns: 170px minmax(0, 1fr); align-items: start; margin: 0 0 22px !important; padding: 18px; border: 1px solid #e0e8f3; border-radius: 15px; background: #f9fbfe; }
.album-create-page .label-release-form .col-form-label { width: auto; max-width: none; padding: 13px 20px 0 0; text-align: left !important; font-size: 11px; }
.album-create-page .label-release-form .workspace-form-control-wrap { width: auto; max-width: none; padding: 0; }

.label-release-form input[type="file"].form-control { min-height: 48px; padding: 0; overflow: hidden; }
.label-release-form input[type="file"]::file-selector-button { height: 48px; margin-right: 13px; padding: 0 17px; border: 0; border-right: 1px solid #d7e0ec; color: #263854; background: #eaf1fb; font-weight: 700; cursor: pointer; }
.label-release-form-actions { display: flex; justify-content: flex-end; margin-top: 4px; padding-top: 22px; border-top: 1px solid #dce5f2; }
.label-release-form-actions .btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 43px; padding: 0 17px; border-radius: 11px; font-size: 11px; font-weight: 750; }
.label-release-form-actions .btn-success { min-width: 118px; background: linear-gradient(135deg, #3478f6, #285be0) !important; box-shadow: 0 9px 20px rgba(52, 120, 246, .22) !important; }
.label-release-form-actions .btn-success:hover { transform: translateY(-1px); box-shadow: 0 12px 24px rgba(52, 120, 246, .29) !important; }

/* ===== Modern bulk release upload ===== */
.bulk-release-page { --bulk-border: #dce5f2; --bulk-ink: #15213a; --bulk-muted: #697991; --bulk-surface: #fff; --bulk-soft: #f7faff; }
.bulk-release-form { display: grid; gap: 18px; padding-bottom: 35px; }
.bulk-release-card { overflow: hidden; border: 1px solid var(--bulk-border); border-radius: 20px; background: var(--bulk-surface); box-shadow: 0 13px 34px rgba(32, 59, 101, .065); }
.bulk-release-card__header { display: flex; align-items: center; gap: 13px; padding: 21px 24px; border-bottom: 1px solid var(--bulk-border); background: linear-gradient(100deg, var(--bulk-soft), var(--bulk-surface)); }
.bulk-release-card__number { display: grid; flex: 0 0 40px; height: 40px; place-items: center; border-radius: 12px; color: #3478f6; background: #eaf2ff; font-size: 11px; font-weight: 800; }
.bulk-release-card__header h2 { margin: 0 0 3px; color: var(--bulk-ink); font-size: 15px; font-weight: 760; }
.bulk-release-card__header p { margin: 0; color: var(--bulk-muted); font-size: 10px; }
.bulk-release-card__format { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; padding: 7px 10px; border: 1px solid #d4e3fb; border-radius: 999px; color: #3478f6; background: #f0f6ff; font-size: 10px; font-weight: 750; }
.bulk-release-upload { position: relative; display: flex; align-items: center; gap: 14px; margin: 24px; padding: 24px; border: 1.5px dashed #a9c5ee; border-radius: 17px; background: #f7faff; cursor: pointer; transition: .18s ease; }
.bulk-release-upload:hover { border-color: #3478f6; background: #f0f6ff; transform: translateY(-1px); }
.bulk-release-upload input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.bulk-release-upload__icon { display: grid; flex: 0 0 53px; height: 53px; place-items: center; border-radius: 15px; color: #3478f6; background: #e3efff; font-size: 23px; }
.bulk-release-upload__copy strong, .bulk-release-upload__copy small { display: block; }
.bulk-release-upload__copy strong { color: var(--bulk-ink); font-size: 12px; }
.bulk-release-upload__copy small { margin-top: 3px; color: var(--bulk-muted); font-size: 10px; }
.bulk-release-upload__button { margin-left: auto; padding: 10px 14px; border-radius: 10px; color: #fff; background: #3478f6; box-shadow: 0 7px 17px rgba(52, 120, 246, .21); font-size: 10px; font-weight: 750; }
.bulk-release-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 17px; padding: 24px; }
.bulk-release-field { grid-column: span 2; min-width: 0; }
.bulk-release-field--wide { grid-column: span 3; }
.bulk-release-field label { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; color: var(--bulk-ink); font-size: 10px; font-weight: 750; }
.bulk-release-field label i { color: #3478f6; font-size: 14px; }
.bulk-release-field label span { color: #ef476f; }
.bulk-release-field .form-control, .bulk-release-field .form-select { min-height: 47px; border: 1px solid #d6e0ed; border-radius: 11px; background-color: var(--bulk-soft); color: var(--bulk-ink); font-size: 11px; box-shadow: none; }
.bulk-release-field input[type="file"] { padding: 0; overflow: hidden; }
.bulk-release-field input[type="file"]::file-selector-button { height: 47px; margin-right: 12px; border: 0; border-right: 1px solid var(--bulk-border); background: #eaf1fb; font-weight: 700; }
.bulk-release-field .form-control:focus, .bulk-release-field .form-select:focus { border-color: #72a5f8; box-shadow: 0 0 0 3px rgba(52, 120, 246, .11); }
.bulk-release-field small { display: block; margin-top: 5px; color: var(--bulk-muted); font-size: 9px; }
.bulk-release-actions { display: flex; align-items: center; justify-content: space-between; padding: 17px 20px; border: 1px solid var(--bulk-border); border-radius: 16px; background: var(--bulk-surface); box-shadow: 0 9px 24px rgba(32, 59, 101, .05); }
.bulk-release-actions__note { display: inline-flex; align-items: center; gap: 7px; color: var(--bulk-muted); font-size: 10px; }
.bulk-release-actions__note i { color: #0a9a71; font-size: 15px; }
.bulk-release-actions > div { display: flex; gap: 9px; }
.bulk-release-actions .btn { display: inline-flex; align-items: center; gap: 7px; min-height: 42px; padding: 0 16px; border-radius: 10px; font-size: 10px; font-weight: 750; }
.bulk-release-cancel { border: 1px solid var(--bulk-border); color: var(--bulk-muted); background: var(--bulk-soft); }
.bulk-release-submit { border: 0; color: #fff; background: linear-gradient(135deg, #3478f6, #285be0); box-shadow: 0 8px 18px rgba(52, 120, 246, .22); }
.bulk-release-submit:hover { color: #fff; transform: translateY(-1px); }

/* ===== Modern genre creation dialogs ===== */
.genre-create-modal .modal-dialog { width: min(92vw, 520px); }
.genre-create-modal .modal-content { overflow: hidden; border: 1px solid #d9e4f2; border-radius: 20px; background: #fff; box-shadow: 0 28px 70px rgba(15, 32, 60, .22); }
.genre-create-modal__hero { position: relative; display: flex; align-items: center; gap: 13px; padding: 23px 24px 20px; border-bottom: 1px solid #dfe7f2; background: linear-gradient(110deg, #f5f9ff, #fff); }
.genre-create-modal__icon { display: grid; flex: 0 0 46px; height: 46px; place-items: center; border-radius: 14px; color: #3478f6; background: #e5f0ff; font-size: 21px; }
.genre-create-modal__icon--sub { color: #7654e8; background: #eeeaff; }
.genre-create-modal__eyebrow { display: block; margin-bottom: 2px; color: #3478f6; font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.genre-create-modal .modal-title { color: #15213a; font-size: 17px; font-weight: 780; }
.genre-create-modal__hero p { margin: 3px 0 0; color: #697991; font-size: 10px; }
.genre-create-modal__close { position: absolute; top: 17px; right: 17px; display: grid; width: 33px; height: 33px; place-items: center; border: 1px solid #d9e3ef; border-radius: 10px; color: #718097; background: #fff; font-size: 18px; transition: .18s ease; }
.genre-create-modal__close:hover { color: #ef476f; border-color: #f2bdc8; background: #fff5f7; transform: rotate(4deg); }
.genre-create-modal .modal-body { padding: 24px; }
.genre-create-modal__fields { display: grid; gap: 19px; }
.genre-create-modal__field, .genre-create-modal__field > span, .genre-create-modal__field small { display: block; }
.genre-create-modal__field > span:first-child { margin-bottom: 8px; color: #263650; font-size: 10px; font-weight: 750; }
.genre-create-modal__field em { color: #ef476f; font-style: normal; }
.genre-create-modal__input { position: relative; }
.genre-create-modal__input > i { position: absolute; z-index: 2; top: 50%; left: 14px; color: #7890af; font-size: 16px; transform: translateY(-50%); pointer-events: none; }
.genre-create-modal__input .form-control, .genre-create-modal__input .form-select { min-height: 48px; padding-left: 42px; border: 1px solid #d5e0ed; border-radius: 11px; color: #15213a; background-color: #f8faff; font-size: 11px; box-shadow: none; }
.genre-create-modal__input .form-control:focus, .genre-create-modal__input .form-select:focus { border-color: #6da2f7; background-color: #fff; box-shadow: 0 0 0 3px rgba(52, 120, 246, .11); }
.genre-create-modal__field small { margin-top: 6px; color: #8290a5; font-size: 9px; }
.genre-create-modal .modal-footer { gap: 9px; padding: 17px 24px; border-top: 1px solid #dfe7f2; background: #f9fbfe; }
.genre-create-modal .modal-footer .btn { display: inline-flex; align-items: center; gap: 6px; min-height: 41px; padding: 0 15px; border-radius: 10px; font-size: 10px; font-weight: 750; }
.genre-create-modal__cancel { border: 1px solid #d6e0ed; color: #697991; background: #fff; }
.genre-create-modal__submit { border: 0; color: #fff; background: linear-gradient(135deg, #3478f6, #285be0); box-shadow: 0 8px 18px rgba(52, 120, 246, .22); }
.genre-create-modal__submit:hover { color: #fff; transform: translateY(-1px); }

html[data-theme="dark"] .release-form-page-heading { border-color: #2b3b54; background: linear-gradient(120deg, #111c2e, #152640); }
html[data-theme="dark"] .release-form-page-heading h1,
html[data-theme="dark"] .bulk-release-page,
html[data-theme="dark"] .genre-create-modal { --bulk-ink: #eef4ff; --bulk-muted: #9babc4; --bulk-border: #2b3b54; --bulk-surface: #111c2e; --bulk-soft: #162338; }
html[data-theme="dark"] .release-form-page-heading p { color: #9babc4; }
html[data-theme="dark"] .label-release-editor-page .label-release-editor-card { border-color: #2b3b54; background: #111c2e; }
html[data-theme="dark"] .label-release-editor-page .label-release-form-head { border-color: #2b3b54; background: linear-gradient(100deg, #162338, #111c2e); }
html[data-theme="dark"] .label-release-form-head__status { border-color: rgba(36, 183, 133, .28); color: #6ee7b7; background: rgba(16, 185, 129, .1); }
html[data-theme="dark"] .song-create-page .label-release-form .form-group.row,
html[data-theme="dark"] .album-create-page .label-release-form .form-group.row { border-color: #2b3b54; background: #162338; }
html[data-theme="dark"] .label-release-form-actions { border-color: #2b3b54; }
html[data-theme="dark"] .label-release-form input[type="file"]::file-selector-button,
html[data-theme="dark"] .bulk-release-field input[type="file"]::file-selector-button { border-color: #2b3b54; color: #dce8fb; background: #1c2c45; }
html[data-theme="dark"] .bulk-release-card__header { background: linear-gradient(100deg, #162338, #111c2e); }
html[data-theme="dark"] .bulk-release-upload { border-color: #385273; background: #162338; }
html[data-theme="dark"] .bulk-release-upload:hover { border-color: #5792f2; background: #192b47; }
html[data-theme="dark"] .genre-create-modal .modal-content { border-color: #2b3b54; background: #111c2e; }
html[data-theme="dark"] .genre-create-modal__hero { border-color: #2b3b54; background: linear-gradient(110deg, #162338, #111c2e); }
html[data-theme="dark"] .genre-create-modal .modal-title,
html[data-theme="dark"] .genre-create-modal__field > span:first-child { color: #eef4ff; }
html[data-theme="dark"] .genre-create-modal__hero p,
html[data-theme="dark"] .genre-create-modal__field small { color: #9babc4; }
html[data-theme="dark"] .genre-create-modal__close { border-color: #34465f; color: #aebed3; background: #17243a; }
html[data-theme="dark"] .genre-create-modal__input .form-control,
html[data-theme="dark"] .genre-create-modal__input .form-select { border-color: #34465f; color: #eef4ff; background-color: #162338; }
html[data-theme="dark"] .genre-create-modal .modal-footer { border-color: #2b3b54; background: #0f1929; }
html[data-theme="dark"] .genre-create-modal__cancel { border-color: #34465f; color: #b5c2d6; background: #17243a; }

@media (max-width: 991.98px) {
    .song-create-page .label-release-form { grid-template-columns: 1fr; }
    .song-create-page .label-release-form .form-group.row:has(textarea),
    .song-create-page .label-release-form .form-group.row:has(input[type="file"]),
    .song-create-page .label-release-form-actions { grid-column: auto; }
    .bulk-release-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .bulk-release-field, .bulk-release-field--wide { grid-column: span 1; }
}

@media (max-width: 767.98px) {
    .release-form-page-heading { padding: 18px; }
    .release-form-page-heading__icon { flex-basis: 45px; height: 45px; }
    .label-release-form-head__status { display: none; }
    .label-release-editor-page .label-release-form { padding: 18px; }
    .album-create-page .label-release-form .form-group.row { grid-template-columns: 1fr; gap: 8px; }
    .album-create-page .label-release-form .col-form-label { padding: 0; }
    .bulk-release-upload { align-items: flex-start; margin: 18px; padding: 18px; }
    .bulk-release-upload__button { display: none; }
    .bulk-release-grid { grid-template-columns: 1fr; padding: 18px; }
    .bulk-release-actions { align-items: stretch; flex-direction: column; gap: 13px; }
    .bulk-release-actions > div { display: grid; grid-template-columns: 1fr 1fr; }
}

/* Compact release forms */
.label-release-editor-page.song-create-page .container-fluid,
.label-release-editor-page.album-create-page .container-fluid {
    max-width: 1320px;
    margin-inline: auto;
}

.label-release-editor-page .release-form-page-heading {
    gap: 11px;
    margin: 9px 0 13px;
    padding: 14px 17px;
    border-radius: 15px;
}

.label-release-editor-page .release-form-page-heading__icon {
    flex-basis: 39px;
    height: 39px;
    border-radius: 11px;
    font-size: 18px;
    box-shadow: 0 7px 15px rgba(49, 93, 234, .2);
}

.label-release-editor-page .release-form-page-heading__eyebrow {
    margin-bottom: 1px;
    font-size: 8px;
}

.label-release-editor-page .release-form-page-heading h1 {
    margin-bottom: 1px;
    font-size: clamp(19px, 1.65vw, 24px);
}

.label-release-editor-page .release-form-page-heading p {
    font-size: 10px;
}

.label-release-editor-page .label-release-editor-card {
    border-radius: 16px;
}

.label-release-editor-page .label-release-form-head {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    min-height: 0;
    margin: 0;
    padding: 13px 17px;
    text-align: left;
}

.label-release-editor-page .label-release-form-head__icon {
    flex-basis: 34px;
    height: 34px;
    border-radius: 10px;
    font-size: 16px;
}

.label-release-editor-page .label-release-form-title {
    font-size: 13px;
}

.label-release-editor-page .label-release-form-subtitle {
    margin-top: 1px;
    font-size: 9px;
}

.label-release-editor-page .label-release-form-head__status {
    padding: 5px 8px;
    font-size: 8px;
}

.label-release-editor-page .label-release-form {
    padding: 15px 17px 17px;
}

.song-create-page .label-release-form {
    gap: 10px 12px;
}

.song-create-page .label-release-form .form-group.row {
    padding: 10px 12px;
    border-radius: 11px;
}

.song-create-page .label-release-form .col-form-label {
    margin-bottom: 5px;
    font-size: 9px;
    line-height: 1.25;
}

.label-release-editor-page .label-release-form .form-control,
.label-release-editor-page .label-release-form select.form-control,
.label-release-editor-page .label-release-form textarea.form-control,
.label-release-editor-page .label-release-form .metadata-chip-control,
.label-release-editor-page .label-release-form .select2-container .select2-selection--single {
    min-height: 39px;
    border-radius: 9px;
    font-size: 11px;
}

.label-release-editor-page .label-release-form .form-control {
    padding: 8px 11px;
}

.label-release-editor-page .label-release-form textarea.form-control {
    min-height: 78px;
}

.label-release-editor-page .label-release-form .metadata-chip-control {
    gap: 6px;
    padding: 4px 10px;
}

.label-release-editor-page .label-release-form .metadata-chip-input {
    min-height: 29px;
    font-size: 11px;
}

.label-release-editor-page .label-release-form input[type="file"].form-control {
    min-height: 40px;
    padding: 0;
}

.label-release-editor-page .label-release-form input[type="file"]::file-selector-button {
    height: 40px;
    padding-inline: 13px;
    font-size: 10px;
}

.label-release-editor-page .label-release-form .form-text,
.label-release-editor-page .label-release-form .msg {
    margin-top: 4px;
    font-size: 8px;
}

.label-release-editor-page .label-release-form-actions {
    margin-top: 2px;
    padding-top: 13px;
}

.label-release-editor-page .label-release-form-actions .btn {
    min-height: 37px;
    padding-inline: 13px;
    border-radius: 9px;
    font-size: 10px;
}

.album-create-page .label-release-editor-card {
    max-width: 780px;
}

.album-create-page .label-release-form {
    max-width: 680px;
    padding: 22px;
}

.album-create-page .label-release-form .form-group.row {
    grid-template-columns: 130px minmax(0, 1fr);
    margin-bottom: 12px !important;
    padding: 11px 12px;
    border-radius: 11px;
}

.album-create-page .label-release-form .col-form-label {
    padding: 10px 14px 0 0;
    font-size: 9px;
}

@media (max-width: 767.98px) {
    .label-release-editor-page .release-form-page-heading {
        padding: 12px 14px;
    }

    .label-release-editor-page .release-form-page-heading p,
    .label-release-editor-page .label-release-form-subtitle {
        display: none;
    }

    .label-release-editor-page .label-release-form {
        padding: 12px;
    }

    .album-create-page .label-release-form .form-group.row {
        grid-template-columns: 1fr;
    }
}

/* Final release-studio safeguards: keep after shared form rules. */
.album-studio-file {
    grid-template-columns: 40px minmax(130px, .75fr) minmax(175px, 1fr);
}

.album-studio-file > input[type="file"].form-control {
    display: block;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    min-height: 39px;
    padding: 0;
    overflow: hidden;
    box-sizing: border-box;
    font-size: 8px;
    line-height: normal;
}

.album-studio-file > input[type="file"]::file-selector-button {
    height: 39px;
    max-width: none;
    margin: 0 7px 0 0;
    padding: 0 8px;
    font-size: 8px;
    line-height: 39px;
    white-space: nowrap;
}

.song-create-page .container-fluid {
    max-width: 1220px !important;
}

.song-create-page .label-release-editor-card {
    display: block;
    width: min(100%, 1120px);
    max-width: 1120px;
    margin-inline: auto;
}

.song-create-page .song-studio-form-panel {
    min-width: 0;
    padding: 0 !important;
}

@media (max-width: 1050px) {
    .song-create-page .label-release-editor-card {
        display: block;
    }
}

@media (max-width: 850px) {
    .song-create-page .label-release-editor-card {
        display: block;
    }
}

@media (max-width: 575.98px) {
    .album-studio-file {
        grid-template-columns: 40px 1fr;
    }

    .album-studio-file > input[type="file"].form-control {
        grid-column: 1 / -1;
    }
}

.zip-download-toast {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 2000;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    width: 320px;
    max-width: calc(100vw - 40px);
    padding: 16px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.18), 0 2px 8px rgba(15, 23, 42, 0.08);
    animation: zipDownloadToastIn 0.25s ease-out;
}

.zip-download-toast[hidden] {
    display: none;
}

@keyframes zipDownloadToastIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

.zip-download-toast-icon {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(59, 91, 253, 0.12);
    color: #3b5bfd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.zip-download-toast-body {
    flex: 1;
    min-width: 0;
}

.zip-download-toast-title {
    font-size: 13px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 2px;
}

.zip-download-toast-subtitle {
    font-size: 12px;
    color: #64748b;
    margin-bottom: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.zip-download-toast-track {
    height: 6px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.08);
    overflow: hidden;
    margin-bottom: 6px;
}

.zip-download-toast-fill {
    height: 100%;
    width: 0%;
    border-radius: 999px;
    background: linear-gradient(90deg, #3b5bfd, #6d8bff);
    transition: width 0.3s ease;
}

.zip-download-toast-percent {
    font-size: 11px;
    font-weight: 600;
    color: #3b5bfd;
    text-align: right;
}

.zip-download-toast-hint {
    margin-top: 6px;
    font-size: 11px;
    font-style: italic;
    color: #94a3b8;
}

.zip-download-toast-hint[hidden] {
    display: none;
}

.zip-download-toast-close {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border: none;
    background: transparent;
    color: #94a3b8;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 6px;
}

.zip-download-toast-close:hover {
    background: rgba(15, 23, 42, 0.06);
    color: #475569;
}

@media (max-width: 480px) {
    .zip-download-toast {
        right: 12px;
        left: 12px;
        bottom: 12px;
        width: auto;
    }
}

/* Songs queue: keep desktop filters and bulk actions aligned without collisions. */
@media (min-width: 1200px) {
    .songs-modern-page .songs-ui-table-head {
        align-items: flex-start;
        column-gap: 24px;
    }

    .songs-modern-page .songs-ui-table-head-filter {
        flex: 0 1 auto;
        flex-wrap: nowrap;
        gap: 12px;
    }

    .songs-modern-page .songs-analytics-filter-toolbar .analytics-filter-toolbar-left {
        flex-wrap: nowrap;
        gap: 12px;
    }

    .songs-modern-page .songs-analytics-filter-toolbar .analytics-filter-applied-list {
        display: flex;
        flex-wrap: nowrap;
        gap: 12px;
        margin: 0;
        padding: 0;
    }

    .songs-modern-page .songs-analytics-filter-toolbar .analytics-filter-active-chip {
        flex: 0 0 auto;
        margin: 0;
    }

    .songs-modern-page .songs-ui-toolbar-row {
        flex-wrap: nowrap;
        gap: 10px;
    }

    .songs-modern-page .songs-ui-search-form {
        flex: 0 1 460px;
        width: min(460px, 34vw);
        max-width: 460px;
    }

    .songs-modern-page .songs-ui-toolbar-actions {
        flex: 1 0 auto;
        flex-wrap: nowrap;
        gap: 8px;
    }
}

/* Release queue: stable desktop geometry after filters are applied. */
@media (min-width: 1400px) {
    .songs-modern-page .songs-ui-table-head {
        display: grid;
        grid-template-columns: minmax(360px, 1fr) minmax(680px, auto);
        align-items: start;
        gap: 20px 28px;
    }

    .songs-modern-page .songs-ui-table-head-filter {
        display: flex;
        width: 100%;
        flex: none;
        flex-wrap: nowrap;
        justify-content: flex-end;
        gap: 14px;
    }

    .songs-modern-page .songs-analytics-filter-toolbar,
    .songs-modern-page .songs-analytics-filter-toolbar .analytics-filter-toolbar-left {
        min-width: 0;
    }

    .songs-modern-page .songs-analytics-filter-toolbar .analytics-filter-toolbar-left {
        display: flex;
        align-items: center;
        flex-wrap: nowrap;
        gap: 14px;
    }

    .songs-modern-page .songs-analytics-filter-toolbar .analytics-filter-applied-list {
        display: flex;
        align-items: center;
        flex-wrap: nowrap;
        gap: 12px;
        min-width: 0;
        margin: 0;
        padding: 0;
    }

    .songs-modern-page .songs-ui-toolbar-row {
        display: flex;
        align-items: center;
        flex-wrap: nowrap;
        column-gap: 14px;
    }

    .songs-modern-page .songs-ui-toolbar-status {
        flex: 0 0 auto;
    }

    .songs-modern-page .songs-ui-search-form {
        flex: 0 1 390px;
        width: min(390px, 27vw);
        min-width: 260px;
        max-width: 390px;
        margin-left: 4px;
    }

    .songs-modern-page .songs-ui-toolbar-actions {
        display: flex;
        flex: 1 1 auto;
        flex-wrap: nowrap;
        justify-content: flex-end;
        gap: 10px;
        min-width: 0;
    }
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
    .songs-modern-page .songs-ui-table-head {
        display: grid;
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .songs-modern-page .songs-ui-table-head-filter {
        width: 100%;
        justify-content: flex-start;
    }

    .songs-modern-page .songs-ui-search-form {
        margin-left: 4px;
    }
}

/* Release creation headers should retain visual hierarchy at compact density. */
.label-release-editor-page .label-release-form-head {
    padding: 22px 28px;
}

.label-release-editor-page .label-release-form-title {
    font-size: 20px;
    line-height: 1.25;
    letter-spacing: -0.015em;
}

.label-release-editor-page .label-release-form-subtitle {
    margin-top: 5px;
    font-size: 13px;
    line-height: 1.45;
}

/*
 * Shared responsive action bar. Add this class to filter/action toolbars so
 * their children wrap as complete controls instead of colliding or clipping.
 */
.rdc-responsive-toolbar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    column-gap: 14px;
    row-gap: 12px;
    min-width: 0;
    max-width: 100%;
}

.rdc-responsive-toolbar > * {
    min-width: 0;
    margin-block: 0;
}

.rdc-responsive-toolbar-shell {
    container-type: inline-size;
    overflow: visible;
}

/* Songs filters: Filter, applied values, All and calendar stay separated. */
.songs-modern-page .songs-ui-table-head-filter.rdc-responsive-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px 16px;
}

.songs-modern-page .songs-analytics-filter-toolbar {
    width: 100%;
    min-width: 0;
}

.songs-modern-page .songs-analytics-filter-toolbar .analytics-filter-toolbar-left {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    width: 100%;
    min-width: 0;
}

.songs-modern-page .songs-analytics-filter-toolbar .analytics-filter-dropdown {
    margin: 0;
}

.songs-modern-page .songs-analytics-filter-toolbar .analytics-filter-applied-list {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 12px;
    width: auto;
    min-width: 0;
    margin: 0;
    padding: 0;
    overflow-x: auto;
}

.songs-modern-page .songs-analytics-filter-toolbar .analytics-filter-active-chip {
    flex: 0 0 auto;
    margin: 0;
}

/* Content becomes narrow before the browser reaches a mobile breakpoint
   because the dashboard sidebar also consumes width. Wrap actions sooner. */
@media (min-width: 1200px) and (max-width: 1699.98px) {
    .songs-modern-page .songs-ui-table-head {
        display: grid;
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .songs-modern-page .songs-ui-table-head-filter.rdc-responsive-toolbar {
        width: 100%;
    }

    .songs-modern-page .songs-ui-toolbar-row.rdc-responsive-toolbar {
        display: grid;
        grid-template-columns: auto minmax(260px, 1fr);
        align-items: center;
        gap: 12px 16px;
    }

    .songs-modern-page .songs-ui-search-form {
        width: 100%;
        max-width: none;
        margin: 0;
    }

    .songs-modern-page .songs-ui-toolbar-actions {
        grid-column: 1 / -1;
        display: flex;
        width: 100%;
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 10px;
    }
}

@media (min-width: 1700px) {
    .songs-modern-page .songs-ui-toolbar-row.rdc-responsive-toolbar {
        column-gap: 16px;
    }

    .songs-modern-page .songs-ui-search-form {
        margin: 0;
    }
}

@media (max-width: 1199.98px) {
    .songs-modern-page .songs-ui-table-head {
        display: grid;
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .songs-modern-page .songs-ui-table-head-filter.rdc-responsive-toolbar {
        width: 100%;
        justify-content: stretch;
    }

    .songs-modern-page .songs-ui-toolbar-row.rdc-responsive-toolbar {
        display: grid;
        grid-template-columns: auto minmax(220px, 1fr);
        align-items: center;
        gap: 12px 14px;
    }

    .songs-modern-page .songs-ui-search-form {
        width: 100%;
        max-width: none;
        margin: 0;
    }

    .songs-modern-page .songs-ui-toolbar-actions {
        grid-column: 1 / -1;
        display: flex;
        width: 100%;
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 10px;
    }
}

@media (max-width: 767.98px) {
    .songs-modern-page .songs-ui-table-head-filter.rdc-responsive-toolbar,
    .songs-modern-page .songs-analytics-filter-toolbar .analytics-filter-toolbar-left,
    .songs-modern-page .songs-ui-toolbar-row.rdc-responsive-toolbar {
        grid-template-columns: minmax(0, 1fr);
    }

    .songs-modern-page .songs-ui-table-head-filter.rdc-responsive-toolbar {
        align-items: stretch;
    }

    .songs-modern-page .songs-ui-date-filter-form-head {
        justify-self: start;
    }

    .songs-modern-page .songs-analytics-filter-toolbar .analytics-filter-applied-list {
        width: 100%;
        padding-bottom: 2px;
    }

    .songs-modern-page .songs-ui-toolbar-status,
    .songs-modern-page .songs-ui-search-form,
    .songs-modern-page .songs-ui-toolbar-actions {
        grid-column: 1;
        width: 100%;
    }

    .songs-modern-page .songs-ui-toolbar-actions .songs-ui-btn {
        flex: 1 1 calc(50% - 5px);
    }
}

@media (max-width: 479.98px) {
    .songs-modern-page .songs-ui-toolbar-actions .songs-ui-btn {
        flex-basis: 100%;
    }
}

/* Songs queue desktop toolbar: keep every control on one row. */
@media (min-width: 1200px) {
    .songs-modern-page .songs-ui-toolbar-row.rdc-responsive-toolbar {
        display: grid;
        grid-template-columns: auto minmax(220px, 360px) minmax(0, 1fr);
        align-items: center;
        gap: 12px;
        flex-wrap: nowrap;
    }

    .songs-modern-page .songs-ui-search-form {
        width: 100%;
        min-width: 0;
        max-width: 360px;
        margin: 0;
    }

    .songs-modern-page .songs-ui-toolbar-actions {
        grid-column: auto;
        display: flex;
        width: auto;
        min-width: 0;
        flex-wrap: nowrap;
        justify-content: flex-end;
        gap: 8px;
    }

    .songs-modern-page .songs-ui-toolbar-actions .songs-ui-btn {
        flex: 0 0 auto;
        white-space: nowrap;
    }
}

/* Keep the Songs filter sheet attached to its trigger and inside the content
   viewport. The generic right anchor makes a wide sheet extend over the
   sidebar when the trigger is on the left side of the toolbar. */
.songs-modern-page .songs-analytics-filter-toolbar,
.songs-modern-page .songs-analytics-filter-toolbar .analytics-filter-toolbar-left,
.songs-modern-page .songs-analytics-filter-toolbar .analytics-filter-dropdown {
    min-width: 0;
}

.songs-modern-page .songs-analytics-filter-toolbar .analytics-filter-dropdown {
    position: relative;
    z-index: 80;
}

.songs-modern-page .songs-ui-table-head-filter .analytics-filter-menu {
    left: 0 !important;
    right: auto !important;
    width: min(680px, calc(100vw - 32px));
    min-width: 0;
    max-width: calc(100vw - 32px);
    box-sizing: border-box;
}

@media (max-width: 767.98px) {
    .songs-modern-page .songs-ui-table-head-filter .analytics-filter-menu {
        position: fixed;
        top: 88px;
        left: 12px !important;
        right: 12px !important;
        width: auto;
        max-width: none;
        max-height: calc(100dvh - 108px);
        overflow: auto;
    }

    .songs-modern-page .songs-ui-table-head-filter .analytics-filter-sheet {
        width: 100%;
    }
}

/* Songs queue control alignment.
   Preserve the same control order at every viewport width and allow natural
   wrapping only when the available content width is exhausted. */
.songs-modern-page .songs-ui-table-head-filter.rdc-responsive-toolbar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 12px;
    width: 100%;
}

.songs-modern-page .songs-analytics-filter-toolbar {
    display: flex;
    align-items: center;
    flex: 0 1 auto;
    width: auto;
    max-width: 100%;
    order: 1;
}

.songs-modern-page .songs-analytics-filter-toolbar .analytics-filter-toolbar-left {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    width: auto;
    max-width: 100%;
}

.songs-modern-page .songs-ui-date-filter-form-head {
    flex: 0 0 auto;
    order: 2;
    margin: 0;
}

.songs-modern-page .songs-ui-toolbar-row.rdc-responsive-toolbar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    width: 100%;
}

.songs-modern-page .songs-ui-toolbar-status {
    flex: 0 0 auto;
}

.songs-modern-page .songs-ui-search-form {
    flex: 0 1 340px;
    width: min(340px, 100%);
    min-width: 220px;
    max-width: 340px;
    margin: 0;
}

.songs-modern-page .songs-ui-toolbar-actions {
    display: flex;
    align-items: center;
    flex: 0 1 auto;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 8px;
    width: auto;
    min-width: 0;
}

.songs-modern-page .songs-ui-toolbar-actions .songs-ui-btn {
    flex: 0 0 auto;
    white-space: nowrap;
}

@media (max-width: 767.98px) {
    .songs-modern-page .songs-ui-table-head-filter.rdc-responsive-toolbar {
        justify-content: flex-start;
    }

    .songs-modern-page .songs-analytics-filter-toolbar,
    .songs-modern-page .songs-analytics-filter-toolbar .analytics-filter-toolbar-left {
        width: auto;
    }

    .songs-modern-page .songs-ui-search-form {
        flex-basis: min(340px, 100%);
        width: 100%;
        min-width: 0;
        max-width: 340px;
    }

    .songs-modern-page .songs-ui-toolbar-actions {
        width: 100%;
    }
}

/* Release Queue header: keep the title and filter controls together.
   This intentionally supersedes the older full-width/grid toolbar rules. */
.songs-modern-page .songs-ui-table-head {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    column-gap: 24px;
    row-gap: 12px;
    min-height: 0;
}

.songs-modern-page .songs-ui-table-heading {
    flex: 0 0 auto;
    min-width: 0;
}

.songs-modern-page .songs-ui-table-head-filter.rdc-responsive-toolbar {
    display: flex;
    flex: 0 1 auto;
    width: auto;
    max-width: calc(100% - 230px);
    margin: 0;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 10px;
}

.songs-modern-page .songs-analytics-filter-toolbar,
.songs-modern-page .songs-analytics-filter-toolbar .analytics-filter-toolbar-left {
    display: flex;
    flex: 0 1 auto;
    width: auto;
    max-width: 100%;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.songs-modern-page .songs-analytics-filter-toolbar .analytics-filter-applied-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 0;
    overflow: visible;
}

.songs-modern-page .songs-ui-date-filter-form-head {
    flex: 0 0 auto;
    margin: 0;
}

/* The sheet is positioned against the complete header, preventing it from
   escaping beyond either edge of the dashboard content. */
.songs-modern-page .songs-analytics-filter-toolbar .analytics-filter-dropdown {
    position: static;
}

.songs-modern-page .songs-ui-table-head-filter .analytics-filter-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0 !important;
    right: auto !important;
    width: min(680px, 100%);
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}

@media (max-width: 767.98px) {
    .songs-modern-page .songs-ui-table-head {
        column-gap: 14px;
    }

    .songs-modern-page .songs-ui-table-head-filter.rdc-responsive-toolbar {
        max-width: 100%;
    }

    .songs-modern-page .songs-ui-table-head-filter .analytics-filter-menu {
        position: fixed;
        top: 88px;
        left: 12px !important;
        right: 12px !important;
        width: auto;
        max-width: none;
    }
}

/* Definitive Songs queue alignment (must remain after legacy overrides). */
.songs-modern-page .songs-ui-table-card,
.songs-modern-page .songs-ui-table-card > .card-body,
.songs-modern-page .songs-ui-table-head,
.songs-modern-page .songs-ui-table-head-filter,
.songs-modern-page .songs-analytics-filter-toolbar,
.songs-modern-page .analytics-filter-toolbar-left {
    overflow: visible;
}

.songs-modern-page .songs-ui-table-head {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    width: 100%;
    z-index: 50;
}

.songs-modern-page .songs-ui-table-heading {
    min-width: 0;
}

.songs-modern-page .songs-ui-table-head-filter.rdc-responsive-toolbar,
.songs-modern-page .songs-analytics-filter-toolbar,
.songs-modern-page .songs-analytics-filter-toolbar .analytics-filter-toolbar-left {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 10px;
    width: auto;
    max-width: none;
    margin-left: auto;
}

.songs-modern-page .songs-ui-table-head-filter.rdc-responsive-toolbar {
    justify-self: end;
}

.songs-modern-page .songs-analytics-filter-toolbar .analytics-filter-dropdown {
    position: relative;
    z-index: 120;
}

.songs-modern-page .songs-ui-table-head-filter .analytics-filter-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0 !important;
    left: auto !important;
    width: min(680px, calc(100vw - 48px));
    min-width: 0;
    max-width: calc(100vw - 48px);
    z-index: 9999;
    box-sizing: border-box;
}

.songs-modern-page .songs-ui-table-head-filter .analytics-filter-sheet {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    width: 100%;
    min-width: 0;
}

.songs-modern-page .songs-ui-table-head-filter .analytics-filter-sheet-main {
    min-width: 0;
}

.songs-modern-page .songs-ui-toolbar-row.rdc-responsive-toolbar {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 12px;
    width: max-content;
    min-width: 100%;
}

.songs-modern-page .songs-ui-toolbar-wrap {
    position: relative;
    z-index: 10;
    width: 100%;
    overflow: visible !important;
}

.songs-modern-page .songs-ui-toolbar-row.rdc-responsive-toolbar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    width: 100%;
    min-width: 0;
}

.songs-modern-page .songs-ui-toolbar-status {
    position: relative;
    z-index: 20;
    flex: 0 0 auto;
}

.songs-modern-page .songs-ui-search-form {
    flex: 1 1 260px;
    min-width: 180px;
    max-width: 360px;
    margin: 0;
}

.songs-modern-page .songs-ui-dropdown-menu {
    z-index: 1050 !important;
}

.songs-modern-page .songs-ui-toolbar-actions {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex: 0 0 auto;
    flex-wrap: nowrap;
    gap: 8px;
    width: auto;
}

@media (max-width: 767.98px) {
    .songs-modern-page .songs-ui-table-head {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 10px;
    }

    .songs-modern-page .songs-ui-table-head-filter.rdc-responsive-toolbar {
        justify-content: flex-end;
        flex-wrap: nowrap;
    }

    .songs-modern-page .songs-ui-table-head-filter .analytics-filter-menu {
        position: fixed;
        top: 88px;
        right: 12px !important;
        left: 12px !important;
        width: auto;
        min-width: 0;
        max-width: none;
        max-height: calc(100dvh - 108px);
        overflow: auto;
    }

    .songs-modern-page .songs-ui-table-head-filter .analytics-filter-sheet {
        grid-template-columns: 150px minmax(0, 1fr);
    }

    .songs-modern-page .songs-ui-toolbar-wrap {
        overflow: visible !important;
        padding-bottom: 2px;
    }

    .songs-modern-page .songs-ui-toolbar-row.rdc-responsive-toolbar {
        width: max-content;
        min-width: 100%;
    }

    .songs-modern-page .songs-ui-search-form {
        flex-basis: 280px;
        width: 280px;
        min-width: 280px;
        max-width: 280px;
    }
}

/* Compact summary for active status and non-default sort filters. */
.songs-modern-page .songs-filter-count-badge {
    display: inline-grid;
    place-items: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 6px;
    background: #111827;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
}

/* ==========================================================================
   Label Notifications Dropdown Panel (Light & Dark Theme Support)
   ========================================================================== */
.label-notifications-dropdown {
    width: 400px;
    max-width: 90vw;
    border-radius: 14px;
    overflow: hidden;
    padding: 0 !important;
    margin-top: 8px !important;
    background: #ffffff;
    border: 1px solid rgba(203, 213, 225, 0.9);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.15);
}

.label-notifications-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.label-notifications-header-title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.01em;
}

.label-notifications-header-subtitle {
    font-size: 0.82rem;
    color: #64748b;
    margin-top: 2px;
}

.label-notifications-close {
    background: transparent;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    cursor: pointer;
    transition: all 0.15s ease;
    padding: 0;
}

.label-notifications-close:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.label-notifications-body {
    padding: 16px;
    max-height: 420px;
    overflow-y: auto;
}

.label-notification-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 14px 16px;
    transition: background 0.15s ease;
}

.label-notification-item + .label-notification-item {
    margin-top: 12px;
}

.label-notification-item:hover {
    background: #f1f5f9;
}

.label-notification-title {
    margin: 0 0 6px 0;
    font-size: 0.93rem;
    font-weight: 700;
    color: #0f172a;
}

.label-notification-text {
    font-size: 0.83rem;
    line-height: 1.55;
    color: #475569;
    white-space: pre-wrap;
    word-break: break-word;
}

/* Dark Theme Overrides */
html[data-theme="dark"] .label-notifications-dropdown,
html[data-bs-theme="dark"] .label-notifications-dropdown,
body.analytics-dashboard-theme-dark .label-notifications-dropdown {
    background: #161c28;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
}

html[data-theme="dark"] .label-notifications-header,
html[data-bs-theme="dark"] .label-notifications-header,
body.analytics-dashboard-theme-dark .label-notifications-header {
    background: #1b2334;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] .label-notifications-header-title,
html[data-bs-theme="dark"] .label-notifications-header-title,
body.analytics-dashboard-theme-dark .label-notifications-header-title {
    color: #ffffff;
}

html[data-theme="dark"] .label-notifications-header-subtitle,
html[data-bs-theme="dark"] .label-notifications-header-subtitle,
body.analytics-dashboard-theme-dark .label-notifications-header-subtitle {
    color: #94a3b8;
}

html[data-theme="dark"] .label-notifications-close,
html[data-bs-theme="dark"] .label-notifications-close,
body.analytics-dashboard-theme-dark .label-notifications-close {
    border-color: rgba(255, 255, 255, 0.12);
    color: #94a3b8;
}

html[data-theme="dark"] .label-notifications-close:hover,
html[data-bs-theme="dark"] .label-notifications-close:hover,
body.analytics-dashboard-theme-dark .label-notifications-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

html[data-theme="dark"] .label-notification-item,
html[data-bs-theme="dark"] .label-notification-item,
body.analytics-dashboard-theme-dark .label-notification-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] .label-notification-item:hover,
html[data-bs-theme="dark"] .label-notification-item:hover,
body.analytics-dashboard-theme-dark .label-notification-item:hover {
    background: rgba(255, 255, 255, 0.07);
}

html[data-theme="dark"] .label-notification-title,
html[data-bs-theme="dark"] .label-notification-title,
body.analytics-dashboard-theme-dark .label-notification-title {
    color: #f8fafc;
}

html[data-theme="dark"] .label-notification-text,
html[data-bs-theme="dark"] .label-notification-text,
body.analytics-dashboard-theme-dark .label-notification-text {
    color: #94a3b8;
}

.label-notifications-body::-webkit-scrollbar {
    width: 5px;
}
.label-notifications-body::-webkit-scrollbar-track {
    background: transparent;
}
.label-notifications-body::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.3);
    border-radius: 4px;
}
.label-notifications-body::-webkit-scrollbar-thumb:hover {
    background: rgba(148, 163, 184, 0.5);
}

/* ===== Bank Detail Review Page ===== */
.bank-detail-review-page {
    padding-top: 90px !important;
    padding-bottom: 40px !important;
}
.bank-detail-review-page .content {
    padding-top: 0 !important;
}
.bank-detail-review-page .container-fluid {
    padding-top: 10px !important;
}
.bank-detail-review-page .bank-review-hero {
    padding: 24px 28px;
    background: var(--analytics-surface, #ffffff);
    border: 1px solid var(--analytics-border, #e2e8f0);
    border-radius: 20px;
}
.bank-detail-review-page .bank-review-hero-grid {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
.bank-detail-review-page .bank-review-title {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 6px 0;
    color: var(--analytics-ink, #0f172a);
}
.bank-detail-review-page .bank-review-subtitle {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 16px;
    max-width: 600px;
}
.bank-detail-review-page .bank-review-pills-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.bank-detail-review-page .bank-review-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid var(--analytics-border, #e2e8f0);
    background: var(--analytics-surface, #f8fafc);
    color: var(--analytics-ink, #1e293b);
}
.bank-detail-review-page .bank-review-pill i {
    color: #64748b;
    font-size: 15px;
}
.bank-detail-review-page .bank-review-hero-right {
    display: flex;
    align-items: center;
    gap: 16px;
}
.bank-detail-review-page .bank-review-hero-card {
    padding: 16px 20px;
    border-radius: 16px;
    border: 1px solid var(--analytics-border, #e2e8f0);
    background: var(--analytics-surface, #ffffff);
    min-width: 210px;
}
.bank-detail-review-page .bank-review-card-label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: #64748b;
    margin-bottom: 4px;
}
.bank-detail-review-page .bank-review-card-value {
    font-size: 16px;
    font-weight: 750;
    margin: 0 0 2px 0;
    color: var(--analytics-ink, #0f172a);
}
.bank-detail-review-page .bank-review-card-subtext {
    display: block;
    font-size: 11px;
    color: #94a3b8;
}
.bank-detail-review-page .bank-review-hero-card .status-pending {
    color: #d97706;
}
.bank-detail-review-page .bank-review-hero-card .status-verified {
    color: #16a34a;
}
.bank-detail-review-page .bank-review-hero-card .status-rejected {
    color: #dc2626;
}

.bank-detail-review-page .bank-review-card {
    border-radius: 20px;
    border: 1px solid var(--analytics-border, #e2e8f0);
    background: var(--analytics-surface, #ffffff);
    overflow: hidden;
}
.bank-detail-review-page .bank-review-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}
.bank-detail-review-page .bank-review-header-icon {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    color: #3b82f6;
    background: rgba(59, 130, 246, 0.1);
    font-size: 16px;
}
.bank-detail-review-page .bank-review-card-title {
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    color: var(--analytics-ink, #0f172a);
}
.bank-detail-review-page .bank-review-field-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--analytics-ink, #334155);
    margin-bottom: 6px;
}
.bank-detail-review-page .bank-review-input,
.bank-detail-review-page .bank-review-textarea {
    border-radius: 12px;
    border: 1px solid var(--analytics-border, #cbd5e1);
    background: var(--analytics-surface, #f8fafc);
    color: var(--analytics-ink, #0f172a);
    font-size: 14px;
    padding: 10px 14px;
}
.bank-detail-review-page .bank-review-input:focus,
.bank-detail-review-page .bank-review-textarea:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.bank-detail-review-page .bank-review-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 0 10px;
}
.bank-detail-review-page .bank-review-footer-note {
    font-size: 13px;
    color: #64748b;
}
.bank-detail-review-page .bank-review-footer-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}
.bank-detail-review-page .bank-review-btn-primary {
    background: #0f172a;
    color: #ffffff;
    border: 1px solid #0f172a;
    border-radius: 12px;
    padding: 10px 24px;
    font-weight: 600;
    font-size: 14px;
}
.bank-detail-review-page .bank-review-btn-primary:hover {
    background: #1e293b;
    color: #ffffff;
}
.bank-detail-review-page .bank-review-btn-secondary {
    background: var(--analytics-surface, #ffffff);
    color: var(--analytics-ink, #334155);
    border: 1px solid var(--analytics-border, #cbd5e1);
    border-radius: 12px;
    padding: 10px 24px;
    font-weight: 600;
    font-size: 14px;
}

html[data-theme="dark"] .bank-detail-review-page .bank-review-hero,
html[data-bs-theme="dark"] .bank-detail-review-page .bank-review-hero,
body.analytics-dashboard-theme-dark .bank-detail-review-page .bank-review-hero,
html[data-theme="dark"] .bank-detail-review-page .bank-review-card,
html[data-bs-theme="dark"] .bank-detail-review-page .bank-review-card,
body.analytics-dashboard-theme-dark .bank-detail-review-page .bank-review-card,
html[data-theme="dark"] .bank-detail-review-page .bank-review-hero-card,
html[data-bs-theme="dark"] .bank-detail-review-page .bank-review-hero-card,
body.analytics-dashboard-theme-dark .bank-detail-review-page .bank-review-hero-card {
    background: #111c2e !important;
    border-color: #2b3b54 !important;
}

html[data-theme="dark"] .bank-detail-review-page .bank-review-title,
html[data-bs-theme="dark"] .bank-detail-review-page .bank-review-title,
body.analytics-dashboard-theme-dark .bank-detail-review-page .bank-review-title,
html[data-theme="dark"] .bank-detail-review-page .bank-review-card-title,
html[data-bs-theme="dark"] .bank-detail-review-page .bank-review-card-title,
body.analytics-dashboard-theme-dark .bank-detail-review-page .bank-review-card-title {
    color: #f8fafc !important;
}

html[data-theme="dark"] .bank-detail-review-page .bank-review-subtitle,
html[data-bs-theme="dark"] .bank-detail-review-page .bank-review-subtitle,
body.analytics-dashboard-theme-dark .bank-detail-review-page .bank-review-subtitle,
html[data-theme="dark"] .bank-detail-review-page .bank-review-footer-note,
html[data-bs-theme="dark"] .bank-detail-review-page .bank-review-footer-note,
body.analytics-dashboard-theme-dark .bank-detail-review-page .bank-review-footer-note,
html[data-theme="dark"] .bank-detail-review-page .bank-review-card-label,
html[data-bs-theme="dark"] .bank-detail-review-page .bank-review-card-label,
body.analytics-dashboard-theme-dark .bank-detail-review-page .bank-review-card-label {
    color: #94a3b8 !important;
}

html[data-theme="dark"] .bank-detail-review-page .bank-review-field-label,
html[data-bs-theme="dark"] .bank-detail-review-page .bank-review-field-label,
body.analytics-dashboard-theme-dark .bank-detail-review-page .bank-review-field-label {
    color: #cbd5e1 !important;
}

html[data-theme="dark"] .bank-detail-review-page .bank-review-card-value,
html[data-bs-theme="dark"] .bank-detail-review-page .bank-review-card-value,
body.analytics-dashboard-theme-dark .bank-detail-review-page .bank-review-card-value {
    color: #f8fafc !important;
}

html[data-theme="dark"] .bank-detail-review-page .bank-review-pill,
html[data-bs-theme="dark"] .bank-detail-review-page .bank-review-pill,
body.analytics-dashboard-theme-dark .bank-detail-review-page .bank-review-pill {
    background: #172438 !important;
    border-color: #2b3b54 !important;
    color: #e2e8f0 !important;
}
html[data-theme="dark"] .bank-detail-review-page .bank-review-pill i,
html[data-bs-theme="dark"] .bank-detail-review-page .bank-review-pill i,
body.analytics-dashboard-theme-dark .bank-detail-review-page .bank-review-pill i {
    color: #94a3b8 !important;
}

html[data-theme="dark"] .bank-detail-review-page .bank-review-input,
html[data-bs-theme="dark"] .bank-detail-review-page .bank-review-input,
body.analytics-dashboard-theme-dark .bank-detail-review-page .bank-review-input,
html[data-theme="dark"] .bank-detail-review-page .bank-review-textarea,
html[data-bs-theme="dark"] .bank-detail-review-page .bank-review-textarea,
body.analytics-dashboard-theme-dark .bank-detail-review-page .bank-review-textarea {
    background: #172438 !important;
    border-color: #2b3b54 !important;
    color: #f8fafc !important;
}

html[data-theme="dark"] .bank-detail-review-page .bank-review-btn-primary,
html[data-bs-theme="dark"] .bank-detail-review-page .bank-review-btn-primary,
body.analytics-dashboard-theme-dark .bank-detail-review-page .bank-review-btn-primary {
    background: #3b82f6 !important;
    border-color: #3b82f6 !important;
    color: #ffffff !important;
}

html[data-theme="dark"] .bank-detail-review-page .bank-review-btn-secondary,
html[data-bs-theme="dark"] .bank-detail-review-page .bank-review-btn-secondary,
body.analytics-dashboard-theme-dark .bank-detail-review-page .bank-review-btn-secondary {
    background: #172438 !important;
    border-color: #2b3b54 !important;
    color: #e2e8f0 !important;
}

/* ===== YouTube Claims & Whitelisting Inline Action & Truncation Styles ===== */
.yt-requests-page .yt-link-text {
    display: inline-block;
    max-width: 210px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: middle;
}
.yt-requests-page .yt-inline-review-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 220px;
    gap: 20px;
    align-items: stretch;
    padding: 16px 20px;
    border-radius: 16px;
    background: var(--analytics-surface, #f8fafc);
    border: 1px solid var(--analytics-border, #e2e8f0);
}
.yt-requests-page .yt-inline-context {
    display: flex;
    flex-direction: column;
}
.yt-requests-page .yt-inline-context span,
.yt-requests-page .yt-inline-note span {
    font-size: 11px;
    font-weight: 750;
    letter-spacing: 0.05em;
    color: #64748b;
    margin-bottom: 8px;
    display: block;
    text-transform: uppercase;
}
.yt-requests-page .yt-inline-context p {
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid var(--analytics-border, #e2e8f0);
    background: var(--analytics-surface, #ffffff);
    color: var(--analytics-ink, #334155);
    font-size: 13px;
    line-height: 1.5;
    flex: 1;
    margin: 0;
}
.yt-requests-page .yt-inline-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-content: flex-end;
}
.yt-requests-page .yt-inline-actions .btn,
.yt-requests-page .yt-inline-actions button,
.yt-requests-page .yt-inline-actions .rdc-button {
    width: 100%;
    height: 44px;
    font-weight: 700;
    letter-spacing: 0.03em;
    border-radius: 10px;
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    font-size: 13px;
    line-height: 1 !important;
    color: #ffffff !important;
}
.yt-requests-page .yt-inline-actions .btn i,
.yt-requests-page .yt-inline-actions button i,
.yt-requests-page .yt-inline-actions .rdc-button i {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 17px !important;
    line-height: 1 !important;
    color: #ffffff !important;
    background: transparent !important;
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
.yt-requests-page .yt-inline-actions .btn span,
.yt-requests-page .yt-inline-actions button span,
.yt-requests-page .yt-inline-actions .rdc-button span {
    display: inline-flex !important;
    align-items: center !important;
    line-height: 1 !important;
    color: #ffffff !important;
    background: transparent !important;
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
html[data-theme="dark"] .yt-requests-page .yt-inline-review-form {
    background: #131f32 !important;
    border-color: #2b3b54 !important;
}
html[data-theme="dark"] .yt-requests-page .yt-inline-context p {
    background: #172438 !important;
    border-color: #2b3b54 !important;
    color: #e2e8f0 !important;
}

/* ===== Unified Dark Theme Top Cards Glow Styling ===== */

/* Tile 1: Total / Primary / Business (Blue Glow) */
html[data-theme="dark"] .users-hero-stats .stat-tile:nth-child(1),
html[data-bs-theme="dark"] .users-hero-stats .stat-tile:nth-child(1),
body.analytics-dashboard-theme-dark .users-hero-stats .stat-tile:nth-child(1),
html[data-theme="dark"] .bank-review-hero-card:nth-child(1),
html[data-bs-theme="dark"] .bank-review-hero-card:nth-child(1),
body.analytics-dashboard-theme-dark .bank-review-hero-card:nth-child(1),
html[data-theme="dark"] .invoice-editor-stat,
html[data-bs-theme="dark"] .invoice-editor-stat,
body.analytics-dashboard-theme-dark .invoice-editor-stat,
html[data-theme="dark"] .albums-hero-stats .stat-tile,
html[data-bs-theme="dark"] .albums-hero-stats .stat-tile,
body.analytics-dashboard-theme-dark .albums-hero-stats .stat-tile,
html[data-theme="dark"] .songs-ui-stat-card-total,
html[data-bs-theme="dark"] .songs-ui-stat-card-total,
body.analytics-dashboard-theme-dark .songs-ui-stat-card-total {
    background: linear-gradient(180deg, rgba(37, 99, 235, 0.22), rgba(15, 23, 42, 0.92)) !important;
    border: 1px solid rgba(96, 165, 250, 0.3) !important;
}

/* Tile 2: Pending / Awaiting Action (Amber Glow) */
html[data-theme="dark"] .users-hero-stats .stat-tile:nth-child(2),
html[data-bs-theme="dark"] .users-hero-stats .stat-tile:nth-child(2),
body.analytics-dashboard-theme-dark .users-hero-stats .stat-tile:nth-child(2),
html[data-theme="dark"] .songs-ui-stat-card-pending,
html[data-bs-theme="dark"] .songs-ui-stat-card-pending,
body.analytics-dashboard-theme-dark .songs-ui-stat-card-pending {
    background: linear-gradient(180deg, rgba(245, 158, 11, 0.20), rgba(15, 23, 42, 0.92)) !important;
    border: 1px solid rgba(251, 191, 36, 0.3) !important;
}

/* Tile 3: Released / Whitelisted / Verified / Approved (Emerald Glow) */
html[data-theme="dark"] .users-hero-stats .stat-tile:nth-child(3),
html[data-bs-theme="dark"] .users-hero-stats .stat-tile:nth-child(3),
body.analytics-dashboard-theme-dark .users-hero-stats .stat-tile:nth-child(3),
html[data-theme="dark"] .songs-ui-stat-card-approved,
html[data-bs-theme="dark"] .songs-ui-stat-card-approved,
body.analytics-dashboard-theme-dark .songs-ui-stat-card-approved {
    background: linear-gradient(180deg, rgba(16, 185, 129, 0.20), rgba(15, 23, 42, 0.92)) !important;
    border: 1px solid rgba(52, 211, 153, 0.3) !important;
}

/* Tile 4: Rejected / Declined (Rose Glow) */
html[data-theme="dark"] .users-hero-stats .stat-tile:nth-child(4),
html[data-bs-theme="dark"] .users-hero-stats .stat-tile:nth-child(4),
body.analytics-dashboard-theme-dark .users-hero-stats .stat-tile:nth-child(4),
html[data-theme="dark"] .songs-ui-stat-card-rejected,
html[data-bs-theme="dark"] .songs-ui-stat-card-rejected,
body.analytics-dashboard-theme-dark .songs-ui-stat-card-rejected {
    background: linear-gradient(180deg, rgba(239, 68, 68, 0.18), rgba(15, 23, 42, 0.92)) !important;
    border: 1px solid rgba(248, 113, 113, 0.3) !important;
}

/* Bank Review Status Card (Tile 2) in Bank Detail Review */
html[data-theme="dark"] .bank-detail-review-page .bank-review-hero-card:nth-child(2),
html[data-bs-theme="dark"] .bank-detail-review-page .bank-review-hero-card:nth-child(2),
body.analytics-dashboard-theme-dark .bank-detail-review-page .bank-review-hero-card:nth-child(2) {
    background: linear-gradient(180deg, rgba(245, 158, 11, 0.20), rgba(15, 23, 42, 0.92)) !important;
    border: 1px solid rgba(251, 191, 36, 0.3) !important;
}

/* Ensure label, value, and meta colors inside top cards are bright in dark mode */
html[data-theme="dark"] .stat-tile .label,
html[data-bs-theme="dark"] .stat-tile .label,
body.analytics-dashboard-theme-dark .stat-tile .label,
html[data-theme="dark"] .invoice-editor-stat .label,
html[data-bs-theme="dark"] .invoice-editor-stat .label,
body.analytics-dashboard-theme-dark .invoice-editor-stat .label {
    color: #b7c8dc !important;
}

html[data-theme="dark"] .stat-tile .value,
html[data-bs-theme="dark"] .stat-tile .value,
body.analytics-dashboard-theme-dark .stat-tile .value,
html[data-theme="dark"] .invoice-editor-stat .value,
html[data-bs-theme="dark"] .invoice-editor-stat .value,
body.analytics-dashboard-theme-dark .invoice-editor-stat .value {
    color: #f8fbff !important;
}

html[data-theme="dark"] .stat-tile .meta,
html[data-bs-theme="dark"] .stat-tile .meta,
body.analytics-dashboard-theme-dark .stat-tile .meta,
html[data-theme="dark"] .invoice-editor-stat .meta,
html[data-bs-theme="dark"] .invoice-editor-stat .meta,
body.analytics-dashboard-theme-dark .invoice-editor-stat .meta {
    color: #9db0c9 !important;
}

/* ===== Catalog Code Filter Select Styling ===== */
.catalog-code-filter-select {
    width: auto !important;
    min-width: 100px !important;
    max-width: 145px !important;
    flex: 0 0 auto !important;
    display: inline-block !important;
    height: 38px !important;
    padding: 6px 30px 6px 14px !important;
    border-radius: 10px !important;
    border: 1px solid var(--analytics-border, #cbd5e1) !important;
    background-color: var(--analytics-surface, #ffffff) !important;
    color: var(--analytics-ink, #1e293b) !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
    transition: all 0.15s ease;
}
.catalog-code-filter-select:hover {
    border-color: #94a3b8 !important;
}
html[data-theme="dark"] .catalog-code-filter-select,
html[data-bs-theme="dark"] .catalog-code-filter-select,
body.analytics-dashboard-theme-dark .catalog-code-filter-select {
    background-color: #172438 !important;
    border-color: #2b3b54 !important;
    color: #f8fafc !important;
}

/* ===== Song Release Form Input Text Sizing & Visibility ===== */
.song-create-page .label-release-form .form-control,
.song-create-page .label-release-form .form-select,
.label-release-editor-page .label-release-form .form-control,
.label-release-editor-page .label-release-form .form-select,
.song-create-page .metadata-chip-input,
.label-release-editor-page .metadata-chip-input,
.song-create-page .metadata-chip-token-text,
.label-release-editor-page .metadata-chip-token-text {
    font-size: 15px !important;
    font-weight: 500 !important;
    color: #0f172a !important;
}

html[data-theme="dark"] .song-create-page .label-release-form .form-control,
html[data-theme="dark"] .song-create-page .label-release-form .form-select,
html[data-theme="dark"] .label-release-editor-page .label-release-form .form-control,
html[data-theme="dark"] .label-release-editor-page .label-release-form .form-select,
html[data-theme="dark"] .song-create-page .metadata-chip-input,
html[data-theme="dark"] .label-release-editor-page .metadata-chip-input,
html[data-theme="dark"] .song-create-page .metadata-chip-token-text,
html[data-theme="dark"] .label-release-editor-page .metadata-chip-token-text {
    color: #f8fafc !important;
}

/* ═══════════════════════════════════════════════════════
   Help text — workspace form rows
   ═══════════════════════════════════════════════════════ */
.workspace-form-help {
    margin: 6px 0 0;
    font-size: 13px;
    line-height: 1.5;
    color: #64748b;
    display: flex;
    align-items: flex-start;
    gap: 4px;
}
.workspace-form-help i {
    flex-shrink: 0;
    margin-top: 2px;
    font-size: 13px;
}
html[data-theme="dark"] .workspace-form-help {
    color: #94a3b8;
}

/* ═══════════════════════════════════════════════════════
   Song Review — Edit Metadata panel & locked fields
   ═══════════════════════════════════════════════════════ */
.song-review-edit-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    background: rgba(99, 102, 241, 0.09);
    color: #6366f1;
    border: 1.5px solid rgba(99, 102, 241, 0.25);
    transition: background .18s, border-color .18s, color .18s;
}
.song-review-edit-btn:hover,
.song-review-edit-btn[aria-expanded="true"] {
    background: #6366f1;
    color: #fff;
    border-color: #6366f1;
}
html[data-theme="dark"] .song-review-edit-btn {
    background: rgba(99, 102, 241, 0.14);
    color: #818cf8;
    border-color: rgba(99, 102, 241, 0.30);
}
html[data-theme="dark"] .song-review-edit-btn:hover,
html[data-theme="dark"] .song-review-edit-btn[aria-expanded="true"] {
    background: #6366f1;
    color: #fff;
    border-color: #6366f1;
}

.song-review-edit-panel {
    border: 1.5px solid rgba(99, 102, 241, 0.20);
    border-radius: 16px;
}
html[data-theme="dark"] .song-review-edit-panel {
    border-color: rgba(99, 102, 241, 0.28);
}

.song-review-edit-panel-icon {
    width: 42px;
    height: 42px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    background: rgba(99, 102, 241, 0.10);
    color: #6366f1;
}

/* Inline edit form inherits label-release-editor-page grid */
.song-review-edit-form.label-release-editor-page .workspace-form-row {
    display: grid;
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
    margin-bottom: 36px;
}
.song-review-edit-form.label-release-editor-page .workspace-form-label {
    font-size: 15px;
    font-weight: 650;
    text-align: right;
    padding-top: 16px;
}
.song-review-edit-form.label-release-editor-page .workspace-form-control-wrap > .form-control,
.song-review-edit-form.label-release-editor-page .workspace-form-control-wrap > .form-select,
.song-review-edit-form.label-release-editor-page .metadata-chip-control {
    width: 100%;
    min-height: 52px;
    border-radius: 10px;
}
.song-review-edit-form.label-release-editor-page .workspace-form-control-wrap > textarea.form-control {
    min-height: 120px;
}

/* Locked ISRC / UPC field */
.song-review-locked-field {
    position: relative;
}
.song-review-locked-icon {
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
    font-size: 15px;
    color: #94a3b8;
    pointer-events: none;
    z-index: 2;
}
.song-review-locked-field .form-control[disabled] {
    background: #f1f5f9;
    color: #94a3b8;
    cursor: not-allowed;
    padding-right: 38px;
}
html[data-theme="dark"] .song-review-locked-field .form-control[disabled] {
    background: rgba(148,163,184,0.08);
    color: #64748b;
}

@media (max-width: 767.98px) {
    .song-review-edit-form.label-release-editor-page .workspace-form-row {
        grid-template-columns: 1fr;
        gap: 6px;
    }
    .song-review-edit-form.label-release-editor-page .workspace-form-label {
        text-align: left;
        padding-top: 0;
    }
}

/* ═══════════════════════════════════════════════════════
   RDC File Drop — drag & drop upload widget
   ═══════════════════════════════════════════════════════ */
.rdc-file-drop {
    position: relative;
}

/* Hidden native input */
.rdc-file-drop__input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

/* Drop zone label */
.rdc-file-drop__zone {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 22px 24px;
    border: 2px dashed rgba(99, 102, 241, 0.30);
    border-radius: 12px;
    background: rgba(99, 102, 241, 0.03);
    cursor: pointer;
    transition: border-color .18s, background .18s, box-shadow .18s;
    user-select: none;
}
.rdc-file-drop__zone:hover,
.rdc-file-drop__zone--dragover {
    border-color: #6366f1;
    background: rgba(99, 102, 241, 0.07);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.08);
}
html[data-theme="dark"] .rdc-file-drop__zone {
    border-color: rgba(99, 102, 241, 0.28);
    background: rgba(99, 102, 241, 0.05);
}
html[data-theme="dark"] .rdc-file-drop__zone:hover,
html[data-theme="dark"] .rdc-file-drop__zone--dragover {
    border-color: #818cf8;
    background: rgba(99, 102, 241, 0.10);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.12);
}

.rdc-file-drop__icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: rgba(99, 102, 241, 0.10);
    color: #6366f1;
    transition: background .18s;
}
.rdc-file-drop__zone:hover .rdc-file-drop__icon-wrap,
.rdc-file-drop__zone--dragover .rdc-file-drop__icon-wrap {
    background: rgba(99, 102, 241, 0.16);
}
.rdc-file-drop__icon {
    font-size: 24px;
}

.rdc-file-drop__zone-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.rdc-file-drop__zone-title {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
}
.rdc-file-drop__zone-hint {
    font-size: 12px;
    color: #94a3b8;
}
html[data-theme="dark"] .rdc-file-drop__zone-title { color: #e2e8f0; }
html[data-theme="dark"] .rdc-file-drop__zone-hint  { color: #64748b; }

/* Selected state row */
.rdc-file-drop__selected {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 1.5px solid rgba(16, 185, 129, 0.35);
    border-radius: 12px;
    background: rgba(16, 185, 129, 0.05);
}
.rdc-file-drop__selected-icon {
    font-size: 26px;
    flex-shrink: 0;
    color: #10b981;
}
.rdc-file-drop__selected-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.rdc-file-drop__selected-name {
    font-size: 13.5px;
    font-weight: 600;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.rdc-file-drop__selected-size {
    font-size: 12px;
    color: #64748b;
}
.rdc-file-drop__upload-status {
    display: inline-flex;
    align-items: flex-start;
    gap: 5px;
    margin-top: 3px;
    font-size: 12.5px;
    line-height: 1.4;
    color: #64748b;
}
.rdc-file-drop__upload-status--error {
    color: #dc2626;
    font-weight: 700;
}
.rdc-file-drop__upload-status--error::before {
    content: "⚠";
    flex-shrink: 0;
}
.rdc-file-drop__clear {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    background: rgba(239, 68, 68, 0.10);
    color: #ef4444;
    font-size: 15px;
    cursor: pointer;
    flex-shrink: 0;
    transition: background .15s;
    padding: 0;
}
.rdc-file-drop__clear:hover {
    background: rgba(239, 68, 68, 0.18);
}
html[data-theme="dark"] .rdc-file-drop__selected {
    border-color: rgba(16, 185, 129, 0.28);
    background: rgba(16, 185, 129, 0.06);
}
html[data-theme="dark"] .rdc-file-drop__selected-name { color: #e2e8f0; }
html[data-theme="dark"] .rdc-file-drop__selected-size { color: #94a3b8; }

/* Upload validation / transfer failure state */
.rdc-file-drop--error .rdc-file-drop__zone,
.rdc-file-drop--error .rdc-file-drop__selected {
    border-color: #ef4444;
    background: rgba(239, 68, 68, 0.08);
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.10);
}
.rdc-file-drop--error .rdc-file-drop__zone:hover {
    border-color: #dc2626;
    background: rgba(239, 68, 68, 0.12);
}
.rdc-file-drop--error .rdc-file-drop__selected-icon,
.rdc-file-drop--error .rdc-file-drop__icon-wrap,
.rdc-file-drop--error .rdc-file-drop__zone-title {
    color: #dc2626;
}
.rdc-file-drop--error .rdc-file-drop__icon-wrap {
    background: rgba(239, 68, 68, 0.12);
}
.rdc-file-drop--error .rdc-file-drop__progress .progress-bar {
    background-color: #ef4444;
}
html[data-theme="dark"] .rdc-file-drop--error .rdc-file-drop__zone,
html[data-theme="dark"] .rdc-file-drop--error .rdc-file-drop__selected {
    border-color: #f87171;
    background: rgba(239, 68, 68, 0.13);
    box-shadow: 0 0 0 4px rgba(248, 113, 113, 0.12);
}
html[data-theme="dark"] .rdc-file-drop--error .rdc-file-drop__selected-icon,
html[data-theme="dark"] .rdc-file-drop--error .rdc-file-drop__icon-wrap,
html[data-theme="dark"] .rdc-file-drop--error .rdc-file-drop__zone-title,
html[data-theme="dark"] .rdc-file-drop__upload-status--error {
    color: #fca5a5;
}

/* Current file indicator */
.rdc-file-drop__current {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    color: #6366f1;
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.18);
}
html[data-theme="dark"] .rdc-file-drop__current {
    color: #818cf8;
    background: rgba(99, 102, 241, 0.12);
    border-color: rgba(99, 102, 241, 0.25);
}

.rdc-file-drop__progress {
    margin-top: 8px;
    border-radius: 8px;
}

/* ═══════════════════════════════════════════════════════
   Dark Mode Date & Time Picker Calendar Icon Fix
   ═══════════════════════════════════════════════════════ */
html[data-theme="dark"] input[type="date"],
html[data-theme="dark"] input[type="datetime-local"],
html[data-theme="dark"] input[type="time"],
body.analytics-dashboard-theme-dark input[type="date"],
body.analytics-dashboard-theme-dark input[type="datetime-local"],
body.analytics-dashboard-theme-dark input[type="time"] {
    color-scheme: dark !important;
}

html[data-theme="dark"] input[type="date"]::-webkit-calendar-picker-indicator,
html[data-theme="dark"] input[type="datetime-local"]::-webkit-calendar-picker-indicator,
html[data-theme="dark"] input[type="time"]::-webkit-calendar-picker-indicator,
body.analytics-dashboard-theme-dark input[type="date"]::-webkit-calendar-picker-indicator,
body.analytics-dashboard-theme-dark input[type="datetime-local"]::-webkit-calendar-picker-indicator,
body.analytics-dashboard-theme-dark input[type="time"]::-webkit-calendar-picker-indicator {
    filter: invert(0.9) brightness(1.8) !important;
    cursor: pointer;
}

/* ═══════════════════════════════════════════════════════
   MOBILE VIEW COMPACT TOOLBARS & NO GAP FIX FOR ALL PAGES
   (Releases, Albums, YouTube Claims/Whitelist, Users, Bank Details)
   ═══════════════════════════════════════════════════════ */
@media (max-width: 991.98px) {
    /* 1. Ensure all toolbar containers stack vertically without extra height or space-between */
    .users-toolbar,
    .claims-toolbar,
    .wl-toolbar,
    .songs-ui-toolbar-wrap,
    .songs-ui-toolbar-row,
    .songs-ui-table-head,
    .songs-ui-table-head-filter,
    .rdc-responsive-toolbar-shell,
    .rdc-responsive-toolbar {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        margin-bottom: 8px !important;
        padding-bottom: 0 !important;
        gap: 8px !important;
        grid-template-columns: none !important;
        box-sizing: border-box !important;
    }

    .users-toolbar-left,
    .claims-toolbar-main,
    .wl-toolbar-main,
    .albums-toolbar-main,
    .songs-ui-queue-head-main {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        flex: 0 0 auto !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        height: auto !important;
        min-height: 0 !important;
        gap: 8px !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }

    /* 2. Full-width Filter, Search & Date forms */
    .users-toolbar-search-form,
    .users-dashboard-filter-form,
    .analytics-filter-toolbar,
    .songs-ui-search-form,
    .songs-ui-date-filter-form,
    .songs-analytics-filter-toolbar {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        flex: 0 0 auto !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        gap: 8px !important;
        box-sizing: border-box !important;
    }

    .users-toolbar-search,
    .songs-ui-search-box {
        display: flex !important;
        align-items: center !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        flex: 1 1 100% !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }

    /* 3. Action button rows (Export, Approve, Reject, Verify, New Album, etc.) */
    .bank-actions-row,
    .users-actions-row,
    .claims-toolbar-actions,
    .wl-toolbar-actions,
    .songs-ui-toolbar-actions,
    .albums-toolbar-actions {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        flex: 0 0 auto !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        gap: 6px !important;
        margin: 0 !important;
        margin-top: 0 !important;
        margin-bottom: 4px !important;
        padding: 0 !important;
        grid-column: auto !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }

    /* Date icon form inside action rows should be compact inline item, not 100% full-width block */
    .claims-toolbar-actions .songs-ui-date-filter-form,
    .wl-toolbar-actions .songs-ui-date-filter-form,
    .albums-toolbar-actions .songs-ui-date-filter-form {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        width: 100% !important;
        flex: 0 0 auto !important;
        max-width: 100% !important;
    }

    /* 4. Action buttons inside rows (100% full width on mobile to prevent any overflow) */
    .bank-actions-row .rdc-button,
    .bank-actions-row .btn,
    .users-actions-row .rdc-button,
    .users-actions-row .btn,
    .claims-toolbar-actions .rdc-button,
    .claims-toolbar-actions .btn,
    .wl-toolbar-actions .rdc-button,
    .wl-toolbar-actions .btn,
    .songs-ui-toolbar-actions .btn,
    .songs-ui-toolbar-actions .songs-ui-btn,
    .songs-ui-toolbar-status,
    .songs-ui-toolbar-status .btn {
        flex: 1 1 100% !important;
        width: 100% !important;
        display: inline-flex !important;
        justify-content: center !important;
        align-items: center !important;
        min-width: 0 !important;
        max-width: 100% !important;
        white-space: nowrap !important;
        margin: 0 !important;
        padding: 0.55rem 0.85rem !important;
        font-size: 13.5px !important;
        box-sizing: border-box !important;
    }

    /* 5. Filter Toolbar Left / Right headers */
    .analytics-filter-toolbar-left,
    .analytics-filter-toolbar-right,
    .songs-ui-date-filter-form-head {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 6px !important;
        width: 100% !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }
}

/* ==========================================================================
   CONSOLIDATED MODULE STYLES (laravel-modules.css, bulk-release.css, coming-soon.css)
   ========================================================================== */

/* --- FROM laravel-modules.css --- */
.rdc-module-page{padding:28px 16px 50px}.rdc-module-page .container-fluid{max-width:1640px}.rdc-page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}.rdc-page-heading h2{margin:0 0 4px;color:#121a2f;font-size:25px;font-weight:750}.rdc-page-heading p{margin:0;color:#66738c}.rdc-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:20px}.rdc-mini-stat{padding:18px 20px;background:#fff;border:1px solid #d9e2f1;border-radius:14px;box-shadow:0 8px 24px rgba(17,35,70,.035)}.rdc-mini-stat span{display:block;color:#6a7790;font-size:12px;font-weight:700;letter-spacing:.055em;text-transform:uppercase}.rdc-mini-stat strong{display:block;margin-top:5px;color:#121a2f;font-size:24px}.rdc-data-card{border:1px solid #d9e2f1;border-radius:16px;box-shadow:0 8px 28px rgba(17,35,70,.045)}.rdc-data-card>.card-body{padding:20px}.rdc-list-filters{display:grid;grid-template-columns:minmax(260px,2fr) minmax(150px,1fr) 155px 155px auto auto;gap:10px;align-items:center;padding:12px;margin-bottom:20px;border:1px solid #e2e8f3;border-radius:12px;background:#fbfcff}.rdc-list-filters .form-check{margin:0 8px;white-space:nowrap}.rdc-inline-create{display:flex;gap:10px;max-width:600px;margin-bottom:18px}.rdc-bulk-bar{display:flex;gap:8px;max-width:360px;margin-bottom:12px}.rdc-table thead th{padding:13px 12px;background:#f7f9fd;color:#65728a;border-bottom-color:#dce4f0;font-size:11px;letter-spacing:.065em;text-transform:uppercase;white-space:nowrap}.rdc-table td{padding:12px;color:#344056;border-bottom-color:#edf1f7}.rdc-media-cell{display:flex;align-items:center;gap:11px;min-width:280px}.rdc-media-cell img{width:44px;height:44px;object-fit:cover;border-radius:9px;background:#edf1f7}.rdc-media-cell strong,.rdc-media-cell small{display:block}.rdc-media-cell strong{color:#172037}.rdc-media-cell small{color:#78849a;margin-top:2px}.rdc-status{display:inline-flex;align-items:center;padding:4px 9px;border-radius:999px;background:#eef2f7;color:#5d687b;font-size:11px;font-weight:700;white-space:nowrap}.rdc-status-approved,.rdc-status-active{background:#e5f7ed;color:#16794a}.rdc-status-pending{background:#fff3d8;color:#a86800}.rdc-status-rejected,.rdc-status-block{background:#ffe5e9;color:#bd3047}.rdc-album-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.rdc-album-card{display:flex;overflow:hidden;min-height:150px;border:1px solid #e0e7f2;border-radius:14px;background:#fff}.rdc-album-card>img{width:145px;object-fit:cover;background:#edf1f7}.rdc-album-body{padding:18px;min-width:0}.rdc-album-body h4{color:#172037;font-size:16px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rdc-album-body p{color:#758198;font-size:12px}.rdc-pill-row{display:flex;flex-wrap:wrap;gap:6px}.rdc-notification-list{display:grid;gap:12px}.rdc-notification-item{display:grid;grid-template-columns:auto 1fr auto;gap:14px;align-items:start;padding:17px;border:1px solid #e1e7f1;border-radius:13px}.rdc-notification-item h5{margin:0 0 6px;color:#172037}.rdc-notification-item p{margin:0;color:#66738a;white-space:normal}.rdc-notification-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:10px;color:#2674ff;background:#edf4ff;font-size:18px}
[data-theme=dark] .rdc-page-heading h2,[data-theme=dark] .rdc-mini-stat strong,[data-theme=dark] .rdc-media-cell strong,[data-theme=dark] .rdc-album-body h4,[data-theme=dark] .rdc-notification-item h5{color:#edf3ff}[data-theme=dark] .rdc-page-heading p,[data-theme=dark] .rdc-mini-stat span,[data-theme=dark] .rdc-table td,[data-theme=dark] .rdc-album-body p,[data-theme=dark] .rdc-notification-item p{color:#aebbd0}[data-theme=dark] .rdc-mini-stat,[data-theme=dark] .rdc-data-card,[data-theme=dark] .rdc-album-card,[data-theme=dark] .rdc-notification-item{background:#172033;border-color:#2c3850}[data-theme=dark] .rdc-list-filters,[data-theme=dark] .rdc-table thead th{background:#111a2c;border-color:#2c3850;color:#aebbd0}[data-theme=dark] .rdc-table td{border-color:#29354a}
@media(max-width:1200px){.rdc-album-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.rdc-list-filters{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:767px){.rdc-module-page{padding:18px 4px}.rdc-page-heading{align-items:flex-start;flex-direction:column}.rdc-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.rdc-list-filters{display:flex;flex-direction:column;align-items:stretch}.rdc-album-grid{grid-template-columns:1fr}.rdc-album-card>img{width:110px}.rdc-notification-item{grid-template-columns:auto 1fr}.rdc-notification-item form{grid-column:2}}

.users-modern-page .analytics-filter-toolbar-right{display:flex;align-items:center;gap:6px}.users-modern-page .analytics-filter-toolbar-right>[data-all-dates]{width:auto;height:auto;min-height:36px;padding:0 12px;font-size:12px;font-weight:600;white-space:nowrap}.users-modern-page .users-inline-status{display:flex;align-items:center;gap:6px;min-width:205px}.users-modern-page .users-inline-status[hidden]{display:none!important}.users-modern-page .action-icon-btn{border:0}.users-modern-page .analytics-table-footer{display:flex;align-items:center;justify-content:space-between;gap:16px}.users-modern-page .analytics-pagination .pagination{margin:0}.users-modern-page .analytics-filter-option-item[hidden]{display:none!important}
.songs-modern-page .songs-ui-toolbar-status .songs-ui-btn-soft{background:#080808!important;background-image:none!important;border-color:#080808!important;color:#fff!important;box-shadow:0 10px 22px rgba(0,0,0,.16)!important}.songs-modern-page .songs-ui-toolbar-status .songs-ui-btn-soft:hover,.songs-modern-page .songs-ui-toolbar-status .songs-ui-btn-soft:focus{background:#1b1b1b!important;border-color:#1b1b1b!important;color:#fff!important}.songs-modern-page .songs-ui-toolbar-status .songs-ui-btn-soft i{color:#fff!important}
html[data-theme=dark] .songs-modern-page .songs-ui-toolbar-status .songs-ui-btn-soft{background:#f4f6fb!important;border-color:#f4f6fb!important;color:#111827!important}html[data-theme=dark] .songs-modern-page .songs-ui-toolbar-status .songs-ui-btn-soft i{color:#111827!important}
@media(max-width:767px){.users-modern-page .analytics-table-footer{align-items:flex-start;flex-direction:column}.users-modern-page .users-inline-status{min-width:180px}}

.users-modern-page .analytics-filter-dropdown,.songs-modern-page .analytics-filter-dropdown{position:relative;z-index:30}.users-modern-page .analytics-filter-menu,.songs-modern-page .analytics-filter-menu{z-index:1085}.daterangepicker{z-index:1095!important}.albums-modern-page .analytics-filter-toolbar-right .songs-ui-date-filter-form,.isrc-upc-modern-page .analytics-filter-toolbar{display:flex;align-items:center;gap:6px}.albums-modern-page [data-all-dates],.isrc-upc-modern-page [data-all-dates]{width:auto;height:auto;min-height:36px;padding:0 12px;font-size:12px;font-weight:600;white-space:nowrap}.isrc-upc-modern-page .users-toolbar-search{min-width:220px}.isrc-upc-modern-page .users-inline-status{min-width:440px}.yt-requests-page .users-inline-status{min-width:480px}
@media(max-width:991px){.isrc-upc-modern-page .analytics-filter-toolbar{align-items:stretch;flex-direction:column}.isrc-upc-modern-page .analytics-filter-toolbar-left{flex-wrap:wrap}.isrc-upc-modern-page .users-inline-status,.yt-requests-page .users-inline-status{min-width:300px}}

.label-release-editor-page .metadata-chip-suggestion-person{display:flex;align-items:center;gap:10px}.label-release-editor-page .metadata-chip-suggestion-person img,.label-release-editor-page .metadata-chip-avatar{width:32px;height:32px;border-radius:50%;object-fit:cover;flex:0 0 auto}.label-release-editor-page .metadata-chip-avatar{width:20px;height:20px}.label-release-editor-page [data-file-name]{margin-top:5px;min-height:18px;color:#64748b;font-size:12px}.label-release-editor-page .label-release-form-back-btn{min-height:40px}.notification-composer-page .pagination{margin:0}

/* --- FROM bulk-release.css --- */
.bulk-release-page {
    --bulk-bg: #f5f8fc;
    --bulk-surface: #fff;
    --bulk-surface-raised: #f8faff;
    --bulk-surface-input: #f1f6fc;
    --bulk-border: #d7e1ee;
    --bulk-border-strong: #b9cce2;
    --bulk-text: #172238;
    --bulk-muted: #687990;
    --bulk-blue: #2563eb;
    --bulk-teal: #0b806f;
    background: var(--bulk-bg) !important;
}

html[data-theme="dark"] .bulk-release-page {
    --bulk-bg: #0c1728;
    --bulk-surface: #101c2f;
    --bulk-surface-raised: #132137;
    --bulk-surface-input: #17263b;
    --bulk-border: #2a3a51;
    --bulk-border-strong: #385474;
    --bulk-text: #f4f7fc;
    --bulk-muted: #a8b5c9;
    --bulk-blue: #6da0fa;
    --bulk-teal: #62d5c3;
}

.bulk-release-page .content,
.bulk-release-page .container-fluid {
    background: transparent !important;
}

.bulk-release-page .container-fluid {
    width: min(100%, 1320px) !important;
    max-width: 1320px !important;
    margin: 0 auto !important;
    padding: 0 24px !important;
}

.bulk-release-page .page-title-box {
    margin: 0 0 20px !important;
    padding: 0 !important;
}

.bulk-release-page .songs-ui-page-title {
    margin: 0 !important;
    color: var(--bulk-text) !important;
    font-size: 20px !important;
    font-weight: 750 !important;
}

.brx-form {
    display: grid;
    gap: 24px;
    padding-bottom: 0;
}

.brx-panel {
    border: 1px solid var(--bulk-border);
    border-radius: 18px;
    color: var(--bulk-text);
    background: linear-gradient(145deg, var(--bulk-surface-raised), var(--bulk-surface));
    box-shadow: 0 12px 36px rgba(35, 58, 94, .05);
}

html[data-theme="dark"] .brx-panel {
    box-shadow: 0 12px 36px rgba(2, 8, 20, .16);
}

.brx-hero {
    padding: 20px 24px;
    background:
        radial-gradient(circle at 96% 15%, color-mix(in srgb, var(--bulk-teal) 13%, transparent), transparent 28%),
        linear-gradient(135deg, var(--bulk-surface-raised), var(--bulk-surface));
}

.brx-hero__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

.brx-hero__title {
    max-width: 850px;
    margin: 0;
    color: var(--bulk-text);
    font-size: 22px;
    font-weight: 750;
    line-height: 1.25;
    letter-spacing: -.02em;
}

.brx-hero__actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 10px;
}

.brx-action {
    display: inline-flex;
    min-height: 42px;
    padding: 0 18px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid var(--bulk-border);
    border-radius: 999px;
    color: var(--bulk-text);
    background: var(--bulk-surface);
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.brx-action:hover {
    color: var(--bulk-blue);
}

.brx-action--format {
    border-color: color-mix(in srgb, var(--bulk-teal) 42%, var(--bulk-border));
    color: var(--bulk-teal);
    background: color-mix(in srgb, var(--bulk-teal) 9%, var(--bulk-surface));
}

.brx-action--back {
    border-color: color-mix(in srgb, var(--bulk-blue) 34%, var(--bulk-border));
    color: var(--bulk-blue);
    background: color-mix(in srgb, var(--bulk-blue) 7%, var(--bulk-surface));
}

.brx-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.brx-step {
    min-height: 72px;
    padding: 14px 16px;
    border: 1px solid var(--bulk-border);
    border-radius: 14px;
    background: color-mix(in srgb, var(--bulk-surface-input) 72%, transparent);
}

.brx-step__eyebrow {
    display: block;
    margin-bottom: 6px;
    color: var(--bulk-muted);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
}

.brx-step__name {
    margin: 0;
    color: var(--bulk-text);
    font-size: 15px;
    font-weight: 700;
}

.brx-columns {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    align-items: stretch;
}

.brx-card {
    display: flex;
    min-width: 0;
    min-height: 380px;
    padding: 20px;
    flex-direction: column;
}

.brx-card__head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 42px;
    gap: 14px;
    align-items: start;
}

.brx-card__title {
    margin: 0 0 5px;
    color: var(--bulk-text);
    font-size: 21px;
    font-weight: 760;
}

.brx-card__description {
    max-width: 350px;
    margin: 0;
    color: var(--bulk-muted);
    font-size: 14px;
    line-height: 1.55;
}

.brx-card__number {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 50%;
    color: var(--bulk-text);
    background: color-mix(in srgb, var(--bulk-bg) 72%, transparent);
    font-size: 13px;
    font-weight: 800;
}

.brx-drop {
    position: relative;
    display: grid;
    min-height: 240px;
    margin: 18px 0 15px;
    padding: 25px;
    place-items: center;
    border: 2px dashed var(--bulk-border-strong);
    border-radius: 18px;
    text-align: center;
    background: color-mix(in srgb, var(--bulk-surface-input) 72%, transparent);
    cursor: pointer;
    transition: border-color .18s ease, background-color .18s ease, transform .18s ease;
}

.brx-drop:hover {
    border-color: var(--bulk-blue);
    background: color-mix(in srgb, var(--bulk-blue) 8%, var(--bulk-surface-input));
    transform: translateY(-1px);
}

.brx-drop input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.brx-drop strong,
.brx-drop small {
    display: block;
}

.brx-drop strong {
    color: var(--bulk-text);
    font-size: 18px;
    font-weight: 760;
}

.brx-drop small {
    margin-top: 12px;
    color: var(--bulk-muted);
    font-size: 14px;
}

.brx-pills {
    display: flex;
    margin-top: auto;
    gap: 10px;
    flex-wrap: wrap;
}

.brx-pill {
    display: inline-flex;
    min-height: 38px;
    padding: 0 14px;
    align-items: center;
    gap: 7px;
    border: 1px solid var(--bulk-border);
    border-radius: 999px;
    color: var(--bulk-muted);
    background: color-mix(in srgb, var(--bulk-surface-input) 56%, transparent);
    font-size: 13px;
    font-weight: 700;
}

.brx-metadata {
    display: grid;
    gap: 23px;
    margin-top: 23px;
}

.brx-field label {
    display: block;
    margin: 0 0 11px;
    color: var(--bulk-muted);
    font-size: 14px;
    font-weight: 770;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.brx-field label span {
    color: #ef476f;
}

.brx-field .form-control,
.brx-field .form-select {
    width: 100%;
    min-height: 58px;
    padding: 13px 16px;
    border: 1px solid var(--bulk-border-strong);
    border-radius: 13px;
    color: var(--bulk-text);
    background-color: var(--bulk-surface-input);
    box-shadow: none;
    font-size: 16px;
}

.brx-field input[type="file"] {
    padding: 0;
    overflow: hidden;
}

.brx-field input[type="file"]::file-selector-button {
    height: 58px;
    margin-right: 16px;
    padding: 0 18px;
    border: 0;
    border-right: 1px solid var(--bulk-border);
    color: var(--bulk-text);
    background: color-mix(in srgb, var(--bulk-surface-input) 62%, var(--bulk-surface));
    font-weight: 700;
}

.brx-submit-wrap {
    display: flex;
    margin-top: auto;
    padding-top: 24px;
    justify-content: flex-end;
}

.brx-submit {
    min-width: 184px;
    min-height: 58px;
    border: 0;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, #178f80, #0d7468);
    box-shadow: 0 12px 28px rgba(15, 139, 121, .22);
    font-size: 15px;
    font-weight: 750;
}

.brx-footer {
    padding: 17px 14px 4px;
    color: var(--bulk-muted);
    font-size: 15px;
}

@media (max-width: 1100px) {
    .brx-hero__top {
        align-items: flex-start;
        flex-direction: column;
    }

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

    .brx-card:last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767.98px) {
    .bulk-release-page .container-fluid {
        padding: 0 15px !important;
    }

    .bulk-release-page .page-title-box {
        margin-bottom: 26px !important;
    }

    .brx-form {
        gap: 28px;
    }

    .brx-hero {
        padding: 20px;
    }

    .brx-hero__actions {
        width: 100%;
        flex-wrap: wrap;
    }

    .brx-action {
        flex: 1 1 180px;
    }

    .brx-steps,
    .brx-columns {
        grid-template-columns: 1fr;
    }

    .brx-card:last-child {
        grid-column: auto;
    }
}

@media (max-width: 480px) {
    .brx-card {
        min-height: auto;
        padding: 18px;
    }

    .brx-drop {
        min-height: 210px;
    }
}

/* --- FROM coming-soon.css --- */
/* Export Modal & Daterangepicker Contrast Styles */
#songsExportModal .modal-content {
    background-color: var(--ct-card-bg, #ffffff) !important;
    color: var(--ct-body-color, #313a46);
}

#songsExportModal .modal-title {
    color: var(--ct-heading-color, #313a46) !important;
}

#songsExportModal .form-label {
    color: var(--ct-body-color, #475569) !important;
}

#songsExportModal .input-group-text {
    background-color: var(--ct-input-bg, #f1f5f9) !important;
    border-color: var(--ct-border-color, #e2e8f0) !important;
    color: var(--ct-body-color, #64748b) !important;
}

#songsExportModal .form-control,
#songsExportModal .form-select {
    background-color: var(--ct-input-bg, #ffffff) !important;
    border-color: var(--ct-border-color, #e2e8f0) !important;
    color: var(--ct-body-color, #1e293b) !important;
}

#songsExportModal .form-control::placeholder {
    color: #94a3b8 !important;
}

html[data-theme="dark"] #songsExportModal .modal-content {
    background-color: #1e2634 !important;
    color: #cbd5e1 !important;
}

html[data-theme="dark"] #songsExportModal .modal-title {
    color: #f8fafc !important;
}

html[data-theme="dark"] #songsExportModal .form-label {
    color: #cbd5e1 !important;
}

html[data-theme="dark"] #songsExportModal .input-group-text {
    background-color: #0f172a !important;
    border-color: #334155 !important;
    color: #94a3b8 !important;
}

html[data-theme="dark"] #songsExportModal .form-control,
html[data-theme="dark"] #songsExportModal .form-select {
    background-color: #0f172a !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
}

html[data-theme="dark"] #songsExportModal .form-control::placeholder {
    color: #64748b !important;
}

html[data-theme="dark"] .daterangepicker {
    background-color: #1e2634 !important;
    border-color: #334155 !important;
    color: #f8fafc !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4) !important;
}

html[data-theme="dark"] .daterangepicker .calendar-table {
    background-color: #1e2634 !important;
    border-color: #334155 !important;
}

html[data-theme="dark"] .daterangepicker td.off,
html[data-theme="dark"] .daterangepicker td.off.in-range,
html[data-theme="dark"] .daterangepicker td.off.start-date,
html[data-theme="dark"] .daterangepicker td.off.end-date {
    background-color: transparent !important;
    color: #475569 !important;
}

html[data-theme="dark"] .daterangepicker td.available:hover,
html[data-theme="dark"] .daterangepicker th.available:hover {
    background-color: #334155 !important;
    color: #ffffff !important;
}

html[data-theme="dark"] .daterangepicker td.in-range {
    background-color: rgba(37, 99, 235, 0.2) !important;
    color: #f8fafc !important;
}

html[data-theme="dark"] .daterangepicker td.active,
html[data-theme="dark"] .daterangepicker td.active:hover {
    background-color: #2563eb !important;
    color: #ffffff !important;
}

html[data-theme="dark"] .daterangepicker .ranges li {
    color: #cbd5e1 !important;
}

html[data-theme="dark"] .daterangepicker .ranges li:hover,
html[data-theme="dark"] .daterangepicker .ranges li.active {
    background-color: #2563eb !important;
    color: #ffffff !important;
}

html[data-theme="dark"] .daterangepicker select.monthselect,
html[data-theme="dark"] .daterangepicker select.yearselect {
    background-color: #0f172a !important;
    color: #f8fafc !important;
    border-color: #334155 !important;
}

/* Hide native WebKit search cancel button to prevent duplicate 'x' clear icons */
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
    -webkit-appearance: none;
    appearance: none;
    display: none;
}

/* --- Restored coming-soon styles --- */
.coming-soon-page{--cs-bg:radial-gradient(circle at 14% 12%,rgba(59,130,246,.1),transparent 28%),radial-gradient(circle at 84% 20%,rgba(14,165,233,.08),transparent 24%),linear-gradient(180deg,#f8fbff,#f2f6fc);--cs-card:rgba(255,255,255,.76);--cs-border:rgba(148,163,184,.18);--cs-title:#0f172a;--cs-copy:#475569;position:relative;min-height:calc(100vh - 120px);overflow:hidden;border-radius:28px;padding:32px;background:var(--cs-bg);color:var(--cs-title)}html[data-theme=dark] .coming-soon-page{--cs-bg:radial-gradient(circle at 20% 20%,rgba(124,58,237,.28),transparent 28%),radial-gradient(circle at 80% 25%,rgba(6,182,212,.22),transparent 26%),radial-gradient(circle at 50% 80%,rgba(34,197,94,.16),transparent 22%),linear-gradient(135deg,#07111f,#0d1b2a 45%,#132238);--cs-card:rgba(255,255,255,.07);--cs-border:rgba(255,255,255,.14);--cs-title:#fff;--cs-copy:rgba(255,255,255,.78)}.coming-soon-grid{position:absolute;inset:0;background-image:linear-gradient(rgba(148,163,184,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(148,163,184,.08) 1px,transparent 1px);background-size:46px 46px;mask-image:radial-gradient(circle at center,#000 40%,transparent 100%);opacity:.3;animation:cs-grid 16s linear infinite}.coming-soon-orb{position:absolute;border-radius:999px;filter:blur(18px);opacity:.8;animation:cs-float 8s ease-in-out infinite}.coming-soon-orb.one{width:190px;height:190px;background:rgba(124,58,237,.22);top:10%;left:8%}.coming-soon-orb.two{width:240px;height:240px;background:rgba(6,182,212,.18);right:10%;bottom:8%;animation-delay:1.8s}.coming-soon-orb.three{width:120px;height:120px;background:rgba(34,197,94,.15);top:65%;left:20%;animation-delay:3.2s}.coming-soon-shell{position:relative;z-index:2;max-width:1180px;margin:0 auto}.coming-soon-card{overflow:hidden;border:1px solid var(--cs-border);background:var(--cs-card);backdrop-filter:blur(16px);box-shadow:0 25px 80px rgba(15,23,42,.12);border-radius:30px;padding:42px 36px}.coming-soon-badge{display:inline-flex;align-items:center;gap:10px;padding:10px 16px;border-radius:999px;background:rgba(255,255,255,.1);border:1px solid var(--cs-border);font-size:14px;margin-bottom:26px}.coming-soon-pulse{width:9px;height:9px;border-radius:50%;background:#22c55e;animation:cs-pulse 1.8s infinite}.coming-soon-layout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr);gap:54px;align-items:center}.coming-soon-title{margin:0;font-size:clamp(42px,5vw,72px);line-height:1.02;letter-spacing:-.045em;color:var(--cs-title)}.coming-soon-title .gradient{color:transparent;background:linear-gradient(90deg,#2563eb,#60a5fa,#7c3aed);background-clip:text}.coming-soon-desc{max-width:640px;margin:24px 0;color:var(--cs-copy);font-size:18px;line-height:1.75}.coming-soon-actions{display:flex;gap:12px;margin-top:28px}.coming-soon-btn{display:inline-flex;padding:13px 22px;border-radius:12px;font-weight:700;transition:.2s}.coming-soon-btn-primary{color:#fff;background:linear-gradient(135deg,#2563eb,#3b82f6);box-shadow:0 14px 28px rgba(37,99,235,.2)}.coming-soon-btn:hover{transform:translateY(-2px);color:#fff}.coming-soon-note{margin-top:18px;color:var(--cs-copy);font-size:13px}.coming-soon-visual{display:grid;place-items:center;min-height:420px}.coming-soon-ring-wrap{position:relative;width:360px;height:360px;display:grid;place-items:center}.coming-soon-ring{position:absolute;border:1px solid var(--cs-border);border-radius:50%;animation:cs-spin 13s linear infinite}.coming-soon-ring.r1{width:330px;height:330px}.coming-soon-ring.r2{width:250px;height:250px;animation-direction:reverse}.coming-soon-ring.r3{width:170px;height:170px}.coming-soon-ring:before{content:"";position:absolute;width:12px;height:12px;border-radius:50%;background:#06b6d4;box-shadow:0 0 22px rgba(6,182,212,.75);top:-6px;left:50%}.coming-soon-ring.r2:before{background:#7c3aed}.coming-soon-ring.r3:before{background:#22c55e}.coming-soon-center-card{position:relative;width:150px;height:150px;border-radius:28px;display:grid;place-items:center;background:var(--cs-card);border:1px solid var(--cs-border);box-shadow:0 20px 40px rgba(0,0,0,.14)}.coming-soon-center-content{text-align:center}.coming-soon-rocket{font-size:42px}.coming-soon-mini{color:var(--cs-copy);font-size:12px}.coming-soon-big{color:var(--cs-title);font-size:18px;font-weight:800}@keyframes cs-spin{to{transform:rotate(360deg)}}@keyframes cs-float{50%{transform:translateY(-18px) translateX(8px)}}@keyframes cs-pulse{70%{box-shadow:0 0 0 12px rgba(34,197,94,0)}}@keyframes cs-grid{to{background-position:46px 46px}}@media(max-width:991px){.coming-soon-layout{grid-template-columns:1fr}.coming-soon-visual{min-height:320px}}@media(max-width:576px){.coming-soon-page{padding:16px;border-radius:18px}.coming-soon-card{padding:28px 20px}.coming-soon-ring-wrap{transform:scale(.78)}}

/* --- Fix Modal & Offcanvas Backdrop Dimming --- */
.modal-backdrop,
.offcanvas-backdrop {
    --ct-modal-backdrop-bg: #000000 !important;
    --ct-backdrop-bg: #000000 !important;
    background-color: #000000 !important;
}
.modal-backdrop.show,
.offcanvas-backdrop.show {
    opacity: 0.65 !important;
}








