
@font-face {
    font-family: "Nunito Sans";
    src: url("fonts/NunitoSans-Variable.ttf") format("truetype-variations");
    font-style: normal;
    font-weight: 200 1000;
    font-display: block;
}


html body :is(button, a)[data-rm-target-required][aria-disabled="true"] {
    opacity:.65 !important;
    cursor:help !important;
    -webkit-tap-highlight-color:transparent;
}


html {
    scrollbar-gutter: stable;
}

:root {
    --primary: #56CC82;
    --primary-dark: #4F9068;
    --primary-hover: #47A76B;
    --primary-light: #EBF9F0;
    --primary-subtle: #F8FCFA;
    --topbar-bg: #56CC82;
    --primary-contrast: #ffffff;
    --primary-dark-contrast: #ffffff;
    --catalog-accent: #4F9068;
    --topbar-contrast: #ffffff;
    --player-contrast: #ffffff;
    --freeze-action-bg: #295E95;
    --freeze-action-hover-bg: #202E54;
    --enterprise-context-control-width: 240px;
    --ink: #1f2430;
    --muted: #6b7280;
    --border: #e5e7eb;
    --table-border: #e5e7eb;

    
    --field-border: #d7dae2;   
    --control-border: #9B9B9D; 
    --control-underline: #E0E0E0;
    
    --neutral-badge-bg: #E2E8F0;
    --neutral-badge-text: #334155;
    --neutral-badge-border: #CBD5E1;
    --text-faint: #9ca3af;     
    --text-muted: #6b7280;     
    --surface-soft: var(--primary-subtle); 
    --surface: var(--surface-bg, #ffffff); 
    --row-gap: 11px;           
    
    --dsp-accent:var(--primary);
    --dsp-selected-bg:var(--primary-light);
    --dsp-selected-border:var(--primary);
    --dsp-selected-text:var(--text-main);
}


.table-scroll:has(> .rm-container-card-table) { overflow-x:hidden !important; }
table.data-table.rm-container-card-table {
    display:block;
    width:100% !important;
    min-width:0 !important;
    border:0;
    border-radius:0;
    overflow:visible;
    background:transparent;
    table-layout:auto;
}
.rm-container-card-table > colgroup { display:none; }
.rm-container-card-table > thead {
    display:none !important;
}
.rm-container-card-table tbody { display:block; width:100%; min-width:0; }
.rm-container-card-table tbody > tr {
    display:block;
    width:100%;
    min-width:0;
    margin:0 0 10px;
    border:1px solid var(--table-border);
    border-radius:10px;
    overflow:hidden;
    background:var(--surface);
}
.rm-container-card-table tbody > tr > td {
    display:grid;
    grid-template-columns:minmax(112px,34%) minmax(0,1fr);
    align-items:start;
    gap:10px;
    width:100% !important;
    min-width:0 !important;
    max-width:100%;
    padding:9px 10px;
    border:0;
    border-bottom:1px solid var(--table-border);
    box-sizing:border-box;
    white-space:normal !important;
    overflow-wrap:anywhere;
    text-align:left !important;
}

table.data-table.rm-container-card-table tbody > tr > td.cell-clip {
    width:100% !important;
    max-width:100% !important;
}
.rm-container-card-table tbody > tr > th {
    display:block;
    width:100% !important;
    min-width:0 !important;
    max-width:100%;
    padding:10px;
    border:0;
    border-bottom:1px solid var(--table-border);
    box-sizing:border-box;
    background:var(--surface-soft);
    color:var(--text-main);
    text-align:left !important;
    overflow-wrap:anywhere;
}
.rm-container-card-table tbody > tr > td:last-child { border-bottom:0; }
.rm-container-card-table tbody > tr > td::before {
    content:attr(data-rm-label);
    min-width:0;
    color:var(--text-muted);
    font-size:11px;
    font-weight:600;
    line-height:1.35;
    text-transform:uppercase;
    overflow-wrap:anywhere;
}
.rm-container-card-table tbody > tr > td.rm-mobile-card-unlabelled {
    grid-template-columns:minmax(0,1fr);
}
.rm-container-card-table tbody > tr > td.rm-mobile-card-unlabelled::before,
.rm-container-card-table tbody > tr > td.rm-mobile-card-spanning::before { display:none; }
.rm-container-card-table tbody > tr > td.rm-mobile-card-spanning {
    display:block;
    width:100% !important;
}
.rm-container-card-table td > *,
.rm-container-card-table td form,
.rm-container-card-table td .row-actions { min-width:0; max-width:100%; }
.rm-container-card-table tbody > tr > td > .status-badge,
.rm-mobile-card-table tbody > tr > td > .status-badge {
    justify-self:start;
}
table.data-table.rm-container-card-table tbody > tr > td > .row-actions {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:7px;
    width:100% !important;
    max-width:100% !important;
    margin-left:0;
}
.rm-container-card-table td .row-actions > * {
    width:100%;
    min-width:0;
    white-space:normal;
}
table.data-table.rm-container-card-table tbody > tr > td > .row-actions > :last-child:nth-child(odd) {
    grid-column:1 / -1;
}


.revenue-share-row-actions {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    align-items:center;
    gap:8px;
    width:100%;
    min-width:0;
}
.revenue-share-row-badges {
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    justify-content:center;
    gap:8px;
    min-width:0;
}
.revenue-share-row-actions > .btn {
    justify-self:center;
    min-width:80px;
    width:80px;
    max-width:100%;
}
.revenue-share-table:is(.rm-container-card-table,.rm-mobile-card-table) > thead {
    display:none !important;
}
.revenue-share-table.rm-container-card-table tbody > tr > td.cell-clip {
    max-width:100% !important;
}

@media (max-width:760px) {
    .rm-container-card-table .revenue-share-row-actions,
    .rm-mobile-card-table .revenue-share-row-actions {
        grid-template-columns:minmax(0,1fr);
        width:100%;
    }
    .rm-container-card-table .revenue-share-row-actions > .btn,
    .rm-mobile-card-table .revenue-share-row-actions > .btn {
        flex-basis:100%;
        width:100%;
        max-width:100%;
        white-space:normal;
    }
}


.mobile-metadata-icon { display:none; }
.mobile-metadata-label { min-width:0; }

.album-cover-upload-label {
    gap:8px;
    background:var(--surface-bg) !important;
    color:var(--primary) !important;
    border-color:var(--primary) !important;
}
.album-cover-upload-label:hover,
.file-input-wrap:focus-within > .album-cover-upload-label {
    background:var(--primary-light) !important;
    color:var(--primary) !important;
    border-color:var(--primary) !important;
}
.file-input-wrap:focus-within > .album-cover-upload-label {
    box-shadow:0 0 0 2px color-mix(in srgb,var(--primary) 28%,transparent);
}
.album-cover-upload-icon { display:none; }

@media (max-width:640px) {
    #coverUploadForm .file-input-wrap {
        display:grid;
        grid-template-columns:24px minmax(0,1fr);
        align-items:center;
        gap:10px;
        width:100%;
        min-width:0;
    }
    #coverUploadForm .album-cover-upload-label {
        display:inline-flex;
        width:44px;
        min-width:44px;
        height:44px;
        min-height:44px;
        padding:0;
        border-radius:8px;
        background:var(--primary-light) !important;
        color:var(--primary) !important;
        transform:translateX(-10px);
        -webkit-tap-highlight-color:transparent;
    }
    .album-cover-upload-icon {
        display:inline-flex;
        align-items:center;
        justify-content:center;
        width:15px;
        height:15px;
    }
    .album-cover-upload-icon > .rm-icon { width:15px;height:15px; }
    .album-cover-upload-text {
        position:absolute;
        width:1px;
        height:1px;
        padding:0;
        margin:-1px;
        overflow:hidden;
        clip:rect(0,0,0,0);
        white-space:nowrap;
        border:0;
    }
    #coverUploadForm .file-input-filename {
        min-width:0;
        overflow:hidden;
        text-overflow:ellipsis;
        white-space:nowrap;
    }
    #coverUploadForm #coverUploadSubmitBtn {
        grid-column:1 / -1;
        width:100%;
        min-width:64px;
        min-height:44px;
        margin:0;
    }

}


@media (max-width:640px) {
    .profile-primary-card > h2:first-child { text-align:center; }
    #profileForm .avatar-upload-row {
        align-items:center;
        width:100%;
    }
    #profileForm .avatar-preview-wrap { margin-inline:auto; }
    #profileForm .avatar-upload-row > div:last-child {
        width:100%;
        text-align:center;
    }
    #profileForm .avatar-upload-row .field-label {
        display:block;
        text-align:center;
    }
    #profileForm .avatar-upload-row .file-input-wrap {
        flex-direction:column;
        align-items:center;
        justify-content:center;
        gap:8px;
        width:100%;
    }
    #profileForm .avatar-upload-row .file-input-label { margin-inline:auto; }
    #profileForm .avatar-upload-row .file-input-filename {
        display:block;
        width:100%;
        text-align:center;
    }
    #profileForm .avatar-upload-row .settings-hint { text-align:center; }
}


@media (max-width:760px) {

    .detail-mobile-metadata-table {
        display:block !important;
        width:100% !important;
        min-width:0 !important;
        border:0 !important;
        background:transparent !important;
        box-shadow:none !important;
    }
    .detail-mobile-metadata-table > .album-metadata-column,
    .detail-mobile-metadata-table > .track-view-metadata-column {
        display:block;
        width:100%;
        min-width:0;
    }
    .detail-mobile-metadata-table > .album-metadata-column > tr,
    .detail-mobile-metadata-table > .track-view-metadata-column > tr {
        display:grid !important;
        grid-template-columns:repeat(2,minmax(0,1fr));
        align-items:stretch;
        width:100%;
        min-width:0;
        min-height:68px;
        margin:0 0 8px;
        overflow:hidden;
        border:1px solid var(--table-border);
        border-radius:10px;
        background:var(--raised-bg);
        box-shadow:0 2px 8px color-mix(in srgb,var(--page-bg) 7%,transparent);
    }
    .detail-mobile-metadata-table > .album-metadata-column > tr {
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
    .detail-mobile-metadata-table > .album-metadata-column > tr > td,
    .detail-mobile-metadata-table > .track-view-metadata-column > tr > td {
        width:auto !important;
        min-width:0;
        border:0 !important;
        background:transparent !important;
        box-sizing:border-box;
    }
    .detail-mobile-metadata-table > .album-metadata-column > tr > td.diff-cell,
    .detail-mobile-metadata-table > .track-view-metadata-column > tr > td.diff-cell {
        background:var(--modified-row-bg) !important;
    }
    .detail-mobile-metadata-table > .album-metadata-column > tr > td.meta-key,
    .detail-mobile-metadata-table > .track-view-metadata-column > tr > td.meta-key {
        display:grid !important;
        grid-template-columns:38px minmax(0,1fr);
        align-items:center;
        gap:10px;
        padding:10px 8px 10px 10px !important;
        color:var(--text-main);
        font-weight:600;
        line-height:1.3;
    }
    .detail-mobile-metadata-table > .album-metadata-column > tr > td.meta-key + td,
    .detail-mobile-metadata-table > .track-view-metadata-column > tr > td.meta-key + td {
        display:flex !important;
        align-items:center;
        justify-content:flex-start;
        min-height:66px;
        padding:10px 10px 10px 8px !important;
        color:var(--text-main);
        line-height:1.4;
        overflow-wrap:anywhere;
        word-break:normal;
    }
    .detail-mobile-metadata-table > .album-metadata-column > tr > td.meta-key + td,
    .detail-mobile-metadata-table > .track-view-metadata-column > tr > td.meta-key + td {
        display:block !important;
        align-content:center;
        overflow:hidden;
        text-overflow:ellipsis;
        white-space:nowrap;
        overflow-wrap:normal;
    }
    .detail-mobile-metadata-table > .album-metadata-column > tr > td.meta-key + td > * {
        max-width:100%;
    }
    .detail-mobile-metadata-table .mobile-metadata-icon {
        display:inline-flex;
        align-items:center;
        justify-content:center;
        width:38px;
        height:38px;
        box-sizing:border-box;
        border-radius:50%;
        background:color-mix(in srgb,var(--primary) 10%,var(--surface-bg));
        color:var(--primary);
    }
    .detail-mobile-metadata-table .mobile-metadata-icon > .rm-icon {
        width:20px;
        height:20px;
    }
    .detail-mobile-metadata-table .mobile-metadata-label {
        min-width:0;
        overflow:hidden;
        text-overflow:ellipsis;
        white-space:nowrap;
    }
    .album-metadata-scroll,
    .track-view-metadata-scroll {
        overflow:visible;
        border:0;
    }
    #albumInfoWrap .detail-mobile-metadata-table tr:hover > td:not(.diff-cell),
    html[data-theme="dark"] #albumInfoWrap .detail-mobile-metadata-table tr:hover > td:not(.diff-cell) {
        background:transparent !important;
    }
}


.rm-impersonation-confirm-modal .modal-box {
    max-width:440px !important;
    padding:28px !important;
    border-radius:18px !important;
}
.rm-impersonation-confirm-modal .modal-box > div:first-child {
    margin:0 0 22px !important;
    text-align:center;
    font-size:16px !important;
    line-height:1.45 !important;
}
.rm-impersonation-confirm-modal .modal-box > div:last-child {
    justify-content:center !important;
    gap:12px !important;
}
.rm-impersonation-confirm-modal .modal-box > div:last-child > button {
    min-width:132px;
}
@media (max-width:640px) {
    .rm-impersonation-confirm-modal .modal-box {
        width:min(100% - 40px,440px) !important;
        padding:24px 20px !important;
    }
    .rm-impersonation-confirm-modal .modal-box > div:last-child {
        display:grid !important;
        grid-template-columns:1fr 1fr;
    }
    .rm-impersonation-confirm-modal .modal-box > div:last-child > button {
        width:100%;
        min-width:0;
    }
}


input[type="file"]::file-selector-button,
input[type="file"]::-webkit-file-upload-button {
    -webkit-appearance:none;
    appearance:none;
    min-height:var(--button-height,38px);
    padding:8px 14px;
    margin-right:10px;
    border:1px solid var(--control-border);
    border-radius:4px;
    background:var(--surface-bg);
    color:var(--primary);
    font:inherit;
    line-height:1.75;
    font-weight:500;
    text-transform:uppercase;
    cursor:pointer;
    transition:background-color .15s ease,border-color .15s ease,color .15s ease;
}
input[type="file"]:hover::file-selector-button,
input[type="file"]:focus-visible::file-selector-button,
input[type="file"]:hover::-webkit-file-upload-button,
input[type="file"]:focus-visible::-webkit-file-upload-button {
    background:var(--primary-light);
    border-color:var(--primary);
    color:var(--primary);
}
html[data-theme="dark"] input[type="file"]::file-selector-button,
html[data-theme="dark"] input[type="file"]::-webkit-file-upload-button {
    background:transparent;
    color:var(--text-main);
    border-color:var(--text-muted);
}
html[data-theme="dark"] input[type="file"]:hover::file-selector-button,
html[data-theme="dark"] input[type="file"]:focus-visible::file-selector-button,
html[data-theme="dark"] input[type="file"]:hover::-webkit-file-upload-button,
html[data-theme="dark"] input[type="file"]:focus-visible::-webkit-file-upload-button {
    background:var(--text-main);
    border-color:var(--text-main);
    color:var(--page-bg);
}

.album-mobile-choose,
.album-mobile-selection-actions { display:none !important; }
.delivery-mobile-bulk-trigger { display:none; }

.rm-mobile-selection-helper {
    position:fixed;
    left:50%;
    bottom:calc(14px + env(safe-area-inset-bottom, 0px));
    z-index:850;
    display:flex;
    align-items:center;
    gap:8px;
    min-height:38px;
    padding:7px 13px;
    border:1px solid color-mix(in srgb,var(--dsp-selected-border) 58%,transparent);
    border-radius:999px;
    background:color-mix(in srgb,var(--surface-bg) 84%,transparent);
    color:var(--text-main);
    box-shadow:0 8px 24px color-mix(in srgb,#000 22%,transparent);
    backdrop-filter:blur(12px) saturate(120%);
    -webkit-backdrop-filter:blur(12px) saturate(120%);
    pointer-events:none;
    opacity:0;
    visibility:hidden;
    transform:translate(-50%,10px);
    transition:opacity .16s ease,transform .16s ease,visibility .16s ease;
}
.rm-mobile-selection-helper-count {
    display:grid;
    place-items:center;
    min-width:24px;
    height:24px;
    padding-inline:5px;
    border-radius:999px;
    background:var(--dsp-selected-border);
    color:var(--btn-primary-text,#fff);
    font-weight:800;
}
.rm-mobile-selection-helper-label { font-size:12px;font-weight:700; }


.rm-page-scroll-helper {
    position: fixed;
    right: calc(max(18px, env(safe-area-inset-right, 0px)) + var(--rm-page-scroll-helper-shift, 0px));
    bottom: calc(18px + env(safe-area-inset-bottom, 0px) + var(--rm-page-scroll-helper-keyboard-lift, 0px) + var(--rm-page-scroll-helper-lift, 0px));
    z-index: 840;
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 5px;
    border: 1px solid color-mix(in srgb, var(--primary) 42%, var(--border));
    border-radius: 999px;
    background: color-mix(in srgb, var(--surface-bg) 92%, transparent);
    color: var(--primary);
    box-shadow: 0 8px 24px color-mix(in srgb, #000 20%, transparent);
    backdrop-filter: blur(10px) saturate(115%);
    -webkit-backdrop-filter: blur(10px) saturate(115%);
    
    opacity: var(--rm-page-scroll-opacity, .76);
    transition: opacity .16s ease, box-shadow .16s ease;
}
.rm-export-bubble {
    position: fixed;
    right: max(18px, env(safe-area-inset-right, 0px));
    bottom: calc(18px + env(safe-area-inset-bottom, 0px) + var(--rm-export-bubble-lift, 0px));
    z-index: 840;
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--surface-bg);
    color: var(--text);
    box-shadow: 0 8px 24px color-mix(in srgb, #000 20%, transparent);
    -webkit-tap-highlight-color: transparent;
}
.rm-export-bubble-ring {
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    background: conic-gradient(var(--primary) var(--rm-export-progress, 0%), var(--border) 0);
    mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 0);
}
.rm-export-bubble-number { font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.rm-export-bubble:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
.rm-export-bubble-detail {
    position: absolute;
    bottom: calc(100% + 8px);
    right: 0;
    width: max-content;
    max-width: min(280px, calc(100vw - 36px));
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface-bg);
    color: var(--text);
    font-size: 13px;
    box-shadow: 0 4px 16px color-mix(in srgb, #000 16%, transparent);
    opacity: 0;
    pointer-events: none;
}
.rm-export-bubble:hover .rm-export-bubble-detail,
.rm-export-bubble:focus .rm-export-bubble-detail { opacity: 1; pointer-events: auto; }
.rm-page-scroll-helper[hidden] { display: none !important; }
.rm-page-scroll-helper.is-obscured { opacity: 0; visibility: hidden; pointer-events: none; }
.rm-page-scroll-helper-button {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: inherit;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    transition: background-color .16s ease, color .16s ease;
}
.rm-page-scroll-helper-button[hidden] { display: none !important; }
.rm-page-scroll-helper-button > .rm-icon { width: 20px; height: 20px; }
.rm-page-scroll-helper-button:hover {
    background: var(--primary-light);
    color: var(--primary);
}
.rm-page-scroll-helper-button:active { background: color-mix(in srgb, var(--primary) 20%, transparent); }
.rm-page-scroll-helper-button:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}
html[data-theme="dark"] .rm-page-scroll-helper {
    --rm-page-scroll-opacity: .82;
    background: color-mix(in srgb, var(--surface-bg) 94%, transparent);
    border-color: color-mix(in srgb, var(--primary) 58%, var(--border));
    color: var(--primary);
    box-shadow: 0 9px 26px color-mix(in srgb, #000 42%, transparent);
}

.rm-page-scroll-helper:not(.is-obscured):has(.rm-page-scroll-helper-button:focus-visible),
.rm-page-scroll-helper:not(.is-obscured):has(.rm-page-scroll-helper-button:active) {
    opacity: 1;
}
@media (hover: hover) and (pointer: fine) {
    .rm-page-scroll-helper:not(.is-obscured):hover { opacity: 1; }
}

@media (max-width: 700px) {
    .rm-page-scroll-helper {
        left: var(--rm-page-scroll-helper-left, 50%);
        right: auto;
        bottom: calc(18px + env(safe-area-inset-bottom, 0px) + var(--rm-page-scroll-helper-keyboard-lift, 0px) + var(--rm-page-scroll-helper-lift, 0px));
        flex-direction: row;
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .rm-page-scroll-helper,
    .rm-page-scroll-helper-button { transition: none !important; }
}
.rm-mobile-bulk-action-grid { display:grid;grid-template-columns:1fr;gap:10px;margin-top:18px; }
.rm-mobile-bulk-action-grid > button { width:100%;min-height:44px;justify-content:center; }
.album-mobile-status-options {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
    margin-top:16px;
}
.album-mobile-status-options > button { width:100%; min-height:44px; }
.rm-status-choice-grid {
    text-align:center;
}
.rm-status-choice-card {
    text-align:center;
}
.rm-status-choice-card.status-album-draft { border-color:var(--dsp-draft-border,var(--border)); color:var(--dsp-draft-text,var(--text-main)); background:var(--dsp-draft-bg,var(--surface-soft)); }
.rm-status-choice-card.status-album-pending { border-color:var(--dsp-pending-border,var(--warning)); color:var(--dsp-pending-text,var(--text-main)); background:var(--dsp-pending-bg,var(--surface-soft)); }
.rm-status-choice-card.status-album-submitted { border-color:var(--dsp-delivered-border,var(--primary)); color:var(--dsp-delivered-text,var(--primary-dark)); background:var(--dsp-delivered-bg,var(--surface-soft)); }
.rm-status-choice-card.status-album-takedown { border-color:var(--dsp-takedown-border,var(--border)); color:var(--dsp-takedown-text,var(--text-main)); background:var(--dsp-takedown-bg,var(--surface-soft)); }
.rm-status-choice-card.status-album-rejected { border-color:var(--status-rejected-bg,var(--alert-bg)); color:var(--status-rejected-text,var(--alert-text)); background:var(--status-rejected-bg,var(--alert-bg)); }
.rm-status-choice-grid.has-selection > .rm-status-choice-card:not(.is-selected) {
    opacity:.42;
    filter:saturate(.45);
}
.rm-status-choice-card.is-selected {
    opacity:1;
    border-color:transparent;
    box-shadow:none;
}
.rm-status-choice-apply { width:100%; min-height:44px; margin-top:14px; }
.rm-queue-priority-select {
    width:100%;
    min-height:44px;
    margin-top:6px;
    padding:0 40px 0 14px;
    border:1px solid var(--control-border,var(--border));
    border-radius:12px;
    background-color:var(--input-bg,var(--surface-bg));
    color:var(--input-text,var(--text-main));
}
.rm-queue-priority-select:hover { border-color:var(--primary); }
.rm-queue-priority-select:focus-visible { outline:2px solid var(--primary); outline-offset:2px; border-color:var(--primary); }
.album-status-mobile-trigger,
.delivery-view-status-mobile,
.album-public-dsp-status-mobile { display:none !important; }

@media (max-width:640px) {
    .delivery-mobile-bulk-desktop { display:none !important; }
    .delivery-mobile-bulk-trigger { display:inline-flex;align-items:center;justify-content:center; }
    .delivery-mobile-bulk-action-modal .modal-box { width:min(420px,calc(100vw - 24px)); }
    .album-phone-hide-filter { display:none !important; }
    .album-list-table .album-mobile-clone { display:none !important; }
    .album-list-table .album-mobile-choose { display:inline-flex !important; }
    .album-list-table .album-mobile-choose {
        -webkit-tap-highlight-color:transparent;
        touch-action:manipulation;
    }
    .album-list-table .album-mobile-choose.is-selected {
        background:var(--primary) !important;
        border-color:var(--primary) !important;
        color:var(--primary-contrast) !important;
    }
    .album-mobile-selection-actions {
        display:grid !important;
        grid-template-columns:repeat(auto-fit,minmax(min(190px,100%),1fr));
        gap:10px;
        padding:0 0 12px;
    }
    .album-mobile-selection-actions > button {
        width:100%;
        min-width:0;
        min-height:44px;
        white-space:normal;
    }
    .album-mobile-selection-actions > button:only-child { grid-column:1 / -1; }
    .album-mobile-status-modal .modal-box { width:min(420px,calc(100vw - 24px)); }
    .album-mobile-status-options.rm-status-choice-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .album-status-desktop-trigger { display:none !important; }
    .album-status-mobile-trigger { display:inline-flex !important; align-items:center; justify-content:center; min-height:44px; }
    .delivery-view-status-desktop { display:none !important; }
    .delivery-view-status-mobile { display:inline-flex !important; align-items:center; justify-content:center; width:100%; min-height:44px; }
    .delivery-view-status-controls { margin-top:12px; }
    .delivery-add-remove-action,
    .delivery-add-remove-action > button { width:100%; }
    .delivery-add-remove-action > button { display:inline-flex;min-height:44px;align-items:center;justify-content:center;white-space:normal; }
    .album-public-dsp-status-desktop { display:none !important; }
    .album-public-dsp-status-mobile { display:inline-flex !important; align-items:center; justify-content:center; width:100%; min-height:44px; }

    
    .album-list-table .album-mobile-title > a.rm-btn-loading {
        display:-webkit-box;
        width:100%;
        overflow:hidden;
    }
}

@media (max-width:760px) {
    a,
    button,
    input,
    select,
    textarea,
    label,
    summary,
    [role="button"],
    [role="option"],
    [role="checkbox"] {
        -webkit-tap-highlight-color:transparent;
    }
    .rm-mobile-selection-helper[data-visible="true"] {
        opacity:.94;
        visibility:visible;
        transform:translate(-50%,0);
    }
}

@media (max-width:640px) and (hover:none) {
    table.data-table.album-list-table tbody tr:hover > td {
        background:var(--surface-bg) !important;
    }
}

@media (max-width:640px) {
    .album-header-upc-line {
        display:flex;
        align-items:baseline;
        flex-wrap:nowrap;
        gap:4px;
        margin:10px 0 8px !important;
        min-height:20px;
        line-height:20px;
        white-space:nowrap;
    }
    .album-header-catalog-number {
        display:inline-block;
        flex:1 1 auto;
        min-width:0;
        max-width:100%;
        overflow:hidden;
        white-space:nowrap;
        -webkit-line-clamp:unset;
        text-overflow:ellipsis;
    }
    #coverUploadForm { margin-top:0 !important; }
}
@media (max-width:430px) {
    .album-header-info.can-manage-cover .album-header-catalog-number { display:none !important; }
}
@media (max-width:520px) {
    .album-header-info.is-cover-locked {
        --album-identity-vertical-gap:13px;
        display:flex;
        flex-direction:column;
        min-height:var(--album-view-cover-size);
    }
    .album-header-info.is-cover-locked .album-view-title {
        margin-bottom:0;
    }
    .album-header-info.is-cover-locked .album-header-upc-line {
        display:grid;
        grid-template-columns:max-content minmax(0,1fr);
        grid-template-rows:auto auto;
        row-gap:var(--album-identity-vertical-gap);
        flex:0 0 auto;
        flex-wrap:wrap;
        margin:var(--album-identity-vertical-gap) 0 0 !important;
    }
    .album-header-info.is-cover-locked .album-header-catalog-number {
        display:block;
        grid-column:1 / -1;
        flex:0 0 100%;
        flex-basis:100%;
        width:100%;
        min-width:0;
        margin:0;
        white-space:nowrap;
        overflow:hidden;
        text-overflow:ellipsis;
        -webkit-line-clamp:1;
    }
}
@container album-header-info (max-width:235px) {
    .album-header-info.is-cover-locked .album-header-catalog-label { display:none; }
}


html:not([data-theme="dark"]) .file-input-label {
    background:var(--surface-bg) !important;
    color:var(--primary) !important;
    border-color:var(--primary) !important;
}
html:not([data-theme="dark"]) .file-input-label:hover,
html:not([data-theme="dark"]) .file-input-wrap:focus-within > .file-input-label {
    background:var(--primary-light) !important;
    color:var(--primary) !important;
    border-color:var(--primary) !important;
}
html[data-theme="dark"] .file-input-label {
    background:var(--raised-bg) !important;
    color:var(--text-main) !important;
    border-color:var(--control-border) !important;
}
html[data-theme="dark"] .file-input-label:hover,
html[data-theme="dark"] .file-input-wrap:focus-within > .file-input-label {
    background:var(--text-main) !important;
    color:var(--page-bg) !important;
    border-color:var(--text-main) !important;
}


.album-dsp-identity {
    display:flex;
    align-items:center;
    gap:12px;
    width:100%;
    min-width:0;
}
.dsp-logo-mark.album-status-dsp-logo {
    flex:0 0 40px !important;
    width:40px !important;
    height:40px !important;
    min-width:40px !important;
    border-radius:10px;
}
.album-dsp-name-stack {
    display:flex;
    align-items:center;
    gap:7px;
    min-width:0;
    max-width:100%;
}

html body button.album-dsp-logo-trigger,
html body button.album-dsp-logo-trigger:is(:hover,:focus,:active) {
    position:relative;display:inline-flex;align-items:center;justify-content:center;
    flex:0 0 40px;width:40px;min-width:40px;height:40px;min-height:40px;
    padding:0;border:0;border-radius:10px;background:transparent;color:inherit;
    box-shadow:none;transform:none;overflow:visible;line-height:1;
    touch-action:manipulation;-webkit-tap-highlight-color:transparent;
}
html body button.album-dsp-logo-trigger:focus-visible { outline:2px solid var(--focus-ring,var(--primary));outline-offset:2px; }
@media (max-width:760px) {
    html body button.album-dsp-logo-trigger,
    html body button.album-dsp-logo-trigger:is(:hover,:focus,:active) {
        grid-column:1;grid-row:1;flex-basis:38px;width:38px;min-width:38px;height:38px;min-height:38px;
    }
    .album-dsp-logo-trigger::before { content:"";position:absolute;inset:-3px; }
}
.album-dsp-name {
    display:block;
    min-width:0;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}
.album-dsp-name-stack > .diff-tag { flex:0 0 auto; }

.album-public-dsp-head-actions {
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:12px;
}
.album-public-dsp-header-actions {
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:12px;
    min-width:0;
}
.album-public-dsp-select-all {
    display:inline-flex;
    align-items:center;
    gap:8px;
    min-height:38px;
    padding:6px 10px;
    border:1px solid var(--control-border);
    border-radius:4px;
    color:var(--text-main);
    font-size:13px;
    cursor:pointer;
}
.album-public-dsp-select-all:hover {
    border-color:var(--catalog-accent);
    background:color-mix(in srgb,var(--catalog-accent) 8%,var(--surface-bg));
}
.album-public-dsp-select-all:has(input:focus-visible) {
    outline:2px solid var(--catalog-accent);
    outline-offset:2px;
}
.album-public-dsp-select-all input { margin:0; }

.dsp-delivery-status-card .table-scroll { overflow:visible; }
.dsp-delivery-status-card table.album-public-dsps-table {
    display:block;
    width:100%;
    border:0;
    border-radius:0;
    background:transparent;
}
.album-public-dsps-table > tbody {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px;
}
.album-public-dsps-table > tbody > tr {
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(148px,42%);
    align-items:center;
    min-width:0;
    min-height:76px;
    border:1px solid var(--table-border);
    border-radius:8px;
    background:var(--surface-bg);
    transition:border-color .15s ease,background-color .15s ease,box-shadow .15s ease;
}
.album-public-dsps-table.has-selectable-dsps > tbody > tr {
    grid-template-columns:36px minmax(0,1fr) minmax(148px,42%);
}
.album-public-dsps-table > tbody > tr:hover {
    border-color:color-mix(in srgb,var(--catalog-accent) 48%,var(--table-border));
    background:color-mix(in srgb,var(--catalog-accent) 4%,var(--surface-bg));
    box-shadow:0 4px 14px color-mix(in srgb,var(--text-main) 7%,transparent);
}
.album-public-dsps-table > tbody > tr:focus-visible,
.album-public-dsps-table > tbody > tr:has(.dspRowCheck:focus-visible) {
    border-color:var(--catalog-accent);
    outline:2px solid color-mix(in srgb,var(--catalog-accent) 65%,transparent);
    outline-offset:2px;
}
.dsp-delivery-status-card .album-public-dsps-table > tbody > tr > :is(th,td) {
    width:auto;
    min-width:0;
    padding:12px 10px;
    border:0;
    background:transparent;
    text-align:left;
}
.album-public-dsps-table > tbody > tr > .dsp-mobile-select {
    padding-right:0 !important;
    text-align:center;
}
.album-public-dsps-table > tbody > tr > [data-rm-dsp-live-status] {
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:5px;
    overflow:hidden;
}
.album-public-dsp-status-cluster {
    display:inline-flex;
    align-items:center;
    gap:8px;
    min-width:0;
}
.album-public-dsps-table [data-rm-dsp-live-status] > .cell-hint {
    flex:1 0 100%;
    min-width:0;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}
.album-public-dsps-table > tbody > tr[data-rm-dsp-empty-row] { grid-column:1/-1; }
.album-public-dsps-table > tbody > tr[data-rm-dsp-empty-row] > td { grid-column:1/-1; }

.delivery-private-dsps-table .album-dsp-identity-cell { min-width:0; }
.delivery-private-dsps-table .album-dsp-identity { container-type:inline-size; }
.delivery-private-dsps-table .album-dsp-name-stack { max-width:min(100%,360px); }
.delivery-private-dsps-table {
    width:100%;
    table-layout:fixed;
}
.delivery-private-dsps-table .delivery-private-dsp-col-select { width:48px; }
.delivery-private-dsps-table .delivery-private-dsp-col-name { width:35%; }
.delivery-private-dsps-table .delivery-private-dsp-col-status { width:180px; }
.delivery-private-dsps-table .delivery-private-dsp-col-details { width:auto; }
.delivery-private-dsps-table .delivery-private-dsp-col-sent { width:180px; }
.delivery-private-dsps-table .delivery-private-dsp-col-actions { width:120px; }
.delivery-private-dsps-table > tbody > tr > .dsp-mobile-actions { padding-right:16px; text-align:right; }
.delivery-private-dsps-table > thead > tr > .dsp-mobile-sent-at { text-align:center; }
@media (min-width:761px) and (max-width:1100px) {
    .delivery-private-dsps-table { min-width:600px; }
    .delivery-private-dsps-table .delivery-private-dsp-col-select { width:36px; }
    .delivery-private-dsps-table .delivery-private-dsp-col-name { width:auto; }
    .delivery-private-dsps-table .delivery-private-dsp-col-status { width:132px; }
    .delivery-private-dsps-table .delivery-private-dsp-col-details { width:70px; }
    .delivery-private-dsps-table .delivery-private-dsp-col-sent { width:125px; }
    .delivery-private-dsps-table .delivery-private-dsp-col-actions { width:90px; }
}
.delivery-private-dsps-table:not(:has(td.dsp-mobile-actions > button)) .delivery-private-dsp-col-actions,
.delivery-private-dsps-table:not(:has(td.dsp-mobile-actions > button)) .dsp-mobile-actions { display:none; }
.delivery-private-dsps-table > tbody > tr > td {
    min-width:0;
    vertical-align:middle;
}
.delivery-private-dsps-table > thead > tr > th:nth-child(3),
.delivery-private-dsps-table > thead > tr > th:nth-child(4) {
    text-align:center;
}
.delivery-private-dsps-table [data-rm-dsp-live-status] {
    display:table-cell;
    white-space:nowrap;
    padding-inline:8px;
    vertical-align:middle;
    text-align:center;
    min-width:0;
}
@media (min-width:761px) {
    .delivery-private-dsps-table [data-rm-dsp-live-status]:not(:has(.dsp-irrevocable-lock,.dsp-processing-direction))::after {
        content:"";
        display:inline-block;
        width:16px;
        margin-left:4px;
    }
}
.delivery-private-dsp-details {
    min-width:0;
    overflow:hidden;
    text-align:center;
}
.delivery-private-dsp-details .dsp-failure-badge {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:auto !important;
    max-width:100%;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    vertical-align:middle;
}
.delivery-private-dsp-no-details { color:var(--muted); }
.delivery-private-dsps-table > tbody > tr,
.delivery-private-dsps-table > tbody > tr:nth-child(odd),
.delivery-private-dsps-table > tbody > tr:nth-child(even) {
    background:var(--surface-bg);
}
.delivery-private-dsps-table > tbody > tr:hover {
    background:color-mix(in srgb,var(--catalog-accent) 6%,var(--surface-bg));
}
.delivery-private-dsps-table > tbody > tr:has(:focus-visible) {
    background:color-mix(in srgb,var(--catalog-accent) 8%,var(--surface-bg));
    outline:2px solid var(--catalog-accent);
    outline-offset:-2px;
}

@media (max-width: 900px) {
    .album-public-dsps-table > tbody {
        grid-template-columns:minmax(0,1fr);
    }
}

@media (max-width: 640px) {
    
    .rm-mobile-responsive-actions {
        display: grid !important;
        grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr)) !important;
        gap: 10px !important;
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }
    .rm-mobile-responsive-actions > button,
    .rm-mobile-responsive-actions > a,
    .rm-mobile-responsive-actions > form,
    .rm-mobile-responsive-actions > form > button {
        width: 100% !important;
        max-width: 100%;
        min-width: 0 !important;
        min-height: 44px;
        margin: 0 !important;
        white-space: normal !important;
        overflow-wrap: anywhere;
    }
    
    .filter-bar button:not(.search-clear-btn),
    .filter-bar .btn {
        height: 44px;
        min-height: 44px;
        max-height: 44px;
        block-size: 44px;
        min-block-size: 44px;
        max-block-size: 44px;
    }
    .track-mobile-primary-action {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 100% !important;
        max-width: 100%;
        min-width: 0 !important;
        min-height: 44px;
        margin-inline: 0 !important;
        box-sizing: border-box;
        white-space: normal;
        text-align: center;
    }
    .rm-mobile-search-action {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 100% !important;
        max-width: 100%;
        min-width: 0 !important;
        height: 44px !important;
        min-height: 44px;
        max-height: 44px;
        margin-inline: 0 !important;
        box-sizing: border-box;
        white-space: normal;
        text-align: center;
    }
    .album-public-dsp-head-actions { align-items:stretch; flex-direction:column; width:100%; }
    .album-public-dsp-select-all { justify-content:center; width:100%; min-height:44px; }
    .album-public-dsp-head-actions .bulk-menu-wrap,
    .album-public-dsp-head-actions .bulk-menu-wrap > button { width:100%; min-height:44px; }
    .album-public-dsps-table > tbody > tr,
    .album-public-dsps-table.has-selectable-dsps > tbody > tr {
        grid-template-columns:38px minmax(120px,1fr) minmax(0,123px);
        gap:8px;
        min-height:64px;
        padding:8px 10px;
        box-sizing:border-box;
    }
    .album-public-dsps-table:not(.has-selectable-dsps) > tbody > tr {
        grid-template-columns:38px minmax(120px,1fr) minmax(0,123px);
    }
    .dsp-delivery-status-card .album-public-dsps-table > tbody > tr > :is(th,td) { padding:0 !important; }
    .album-public-dsps-table > tbody > tr > .dsp-mobile-select { display:flex;grid-column:1;align-items:center;justify-content:center; }
    .album-public-dsps-table .album-dsp-identity-cell { display:contents; }
    .album-public-dsps-table .album-dsp-identity { display:contents; }
    .album-public-dsps-table .album-dsp-name-stack { display:none; }
    .album-public-dsps-table.has-selectable-dsps .album-status-dsp-logo { grid-column:1; }
    .album-public-dsps-table:not(.has-selectable-dsps) .album-status-dsp-logo { grid-column:1; }
    .album-public-dsps-table > tbody > tr > [data-rm-dsp-live-status] {
        display:contents;
    }
    .album-public-dsp-status-cluster { grid-column:2;grid-row:1;justify-self:center;display:inline-flex;align-items:center;gap:8px;max-width:100%;margin:0; }
    .album-public-dsp-status-cluster > :is(.dsp-state-badge,.review-flag) { margin:0; }
    .album-public-dsps-table [data-rm-dsp-live-status] > .album-public-dsp-status-cluster > .dsp-state-badge { width:92px;min-width:92px; }
    .album-public-dsp-status-cluster:has(.dsp-store-state) { flex-wrap:wrap;justify-content:center;row-gap:2px; }
    .album-public-dsp-status-cluster:has(.dsp-store-state) > .dsp-store-state { margin-left:0; }
    .album-public-dsps-table [data-rm-dsp-live-status] > .cell-hint { grid-column:3;grid-row:1;align-self:center;justify-self:end;min-width:0;max-width:100%;flex:none;overflow:hidden;text-align:right;text-overflow:ellipsis;white-space:nowrap;margin:0; }
    .album-public-dsps-table .dsp-sent-prefix { display:none; }
    .album-public-dsps-table .dsp-sent-value { display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap; }
    .album-public-dsps-table [data-rm-dsp-live-status] > .dsp-failure-badge { grid-column:2/-1;min-width:0;max-width:100%; }
    .dsp-logo-mark.album-status-dsp-logo {
        flex-basis:38px !important;
        width:38px !important;
        height:38px !important;
        min-width:38px !important;
    }
}
@media (max-width:760px) and (hover:none) and (pointer:coarse) {
    .album-view-tracks-table > tbody > tr:hover { background:transparent !important; }
    .album-view-tracks-table > tbody > tr:hover > td { background:transparent !important; }
    .album-view-tracks-table > tbody > tr { -webkit-tap-highlight-color:transparent; }
}

.enterprise-directory-filter { margin: 0 0 12px; }
.enterprise-directory-filter input[type="search"] { flex: 1 1 320px; }
.enterprise-mobile-sort { display: none; }
.smart-link-list-table .smart-link-card-clicks { text-align: center !important; }
.smart-link-copy-button { display: none; }


.rm-copy-smart-link-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
}
.rm-copy-smart-link-button::before {
    content: "";
    flex: 0 0 15px;
    width: 15px;
    height: 15px;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M8 7V5a3 3 0 0 1 3-3h7a3 3 0 0 1 3 3v7a3 3 0 0 1-3 3h-2v2a3 3 0 0 1-3 3H6a3 3 0 0 1-3-3v-7a3 3 0 0 1 3-3h2Zm3-2v2h2a3 3 0 0 1 3 3v2h2V5h-7Zm2 5H6v7h7v-7Z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M8 7V5a3 3 0 0 1 3-3h7a3 3 0 0 1 3 3v7a3 3 0 0 1-3 3h-2v2a3 3 0 0 1-3 3H6a3 3 0 0 1-3-3v-7a3 3 0 0 1 3-3h2Zm3-2v2h2a3 3 0 0 1 3 3v2h2V5h-7Zm2 5H6v7h7v-7Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
@media (min-width: 761px) {
    .rm-copy-smart-link-button {
        --rm-copy-smart-link-button-width: 148px;
        width: var(--rm-copy-smart-link-button-width);
        min-width: var(--rm-copy-smart-link-button-width);
    }
}

@media (max-width: 640px) {
    .enterprise-mobile-sort {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 8px;
        align-items: end;
        margin: 0 0 12px;
    }
    .enterprise-mobile-sort > label { grid-column: 1 / -1; color: var(--text-main); font-weight: 600; }
    .enterprise-mobile-sort select,
    .enterprise-mobile-sort button { width: 100%; min-width: 0; min-height: 44px; }
    .enterprise-table.rm-mobile-card-table > thead { display: none; }
}


.album-dsp-selection-launch {
    display:flex;
    align-items:center;
    margin:12px 0 8px;
}
.album-public-dsp-form-spacer { height:0; }

.album-dsp-selection-launch-button {
    min-width:128px;
    -webkit-tap-highlight-color:transparent;
    touch-action:manipulation;
}

.modal-overlay .modal-box.album-dsp-selection-modal-box {
    width:min(1120px, calc(100vw - 40px));
    max-width:1120px;
    height:min(850px, calc(100dvh - 40px));
    max-height:calc(100dvh - 40px);
    padding:30px;
    border:1px solid var(--table-border);
    border-radius:20px;
    background:var(--surface-bg);
    box-shadow:0 24px 70px color-mix(in srgb,#000 24%,transparent);
    overflow:hidden;
    display:flex;
    flex-direction:column;
}

html[data-theme="dark"] .album-dsp-selection-modal-box {
    border-color:color-mix(in srgb,var(--control-border) 72%,transparent);
    background:color-mix(in srgb,var(--surface-bg) 88%,var(--page-bg));
    box-shadow:0 26px 80px rgba(0,0,0,.52);
}
html[data-theme="dark"] {
    
    --dsp-accent:var(--chart-accent,var(--primary));
    --dsp-selected-bg:color-mix(in srgb,var(--dsp-accent) 15%,var(--raised-bg));
    --dsp-selected-border:var(--dsp-accent);
    --dsp-selected-text:var(--text-main);
}
.album-dsp-selection-modal-box>.modal-close{display:grid;place-items:center;width:44px;height:44px;min-width:44px;min-height:44px;padding:0}

.album-dsp-modal-heading{display:flex;align-items:center;gap:16px;padding-right:46px;margin-bottom:24px}
.album-dsp-modal-heading>span:last-child{min-width:0}
.album-dsp-modal-heading h3{margin:0 0 5px;font-size:clamp(24px,2.5vw,34px);line-height:1.15}
.album-dsp-modal-heading p{margin:0;color:var(--text-muted)}
.album-dsp-modal-heading-icon{display:grid;place-items:center;flex:0 0 56px;width:56px;height:56px;border-radius:14px;background:var(--primary);color:var(--primary-contrast);box-shadow:0 8px 20px color-mix(in srgb,var(--primary) 24%,transparent)}
html[data-theme="dark"] .album-dsp-modal-heading-icon{background:var(--dsp-accent);color:var(--primary-contrast)}
.album-dsp-modal-tools{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:16px}
.album-dsp-search{display:flex;align-items:center;gap:9px;width:min(420px,100%);min-height:44px;padding:0 15px;border:1px solid color-mix(in srgb,var(--control-border) 82%,transparent);border-radius:999px;background:color-mix(in srgb,var(--raised-bg) 82%,var(--surface-bg));color:var(--text-muted);transition:border-color .15s ease,box-shadow .15s ease,background-color .15s ease}
.album-dsp-search:focus-within{border-color:var(--dsp-accent);box-shadow:0 0 0 2px color-mix(in srgb,var(--dsp-accent) 18%,transparent)}
.album-dsp-search input{width:100%;min-width:0;min-height:44px;margin:0!important;padding:0!important;border:0!important;background:transparent!important;color:var(--text-main)!important;box-shadow:none!important;outline:0!important}
.album-dsp-selected-count{flex:0 0 auto;min-width:116px;padding:9px 16px;border:1px solid var(--dsp-selected-border);border-radius:999px;background:var(--dsp-selected-bg);color:var(--dsp-selected-text);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--dsp-selected-border) 8%,transparent);font-weight:400;text-align:center}


#albumDspSelectionLaunch[aria-expanded="true"] {
    background:var(--primary);
    border-color:var(--primary);
    color:var(--primary-contrast);
    opacity:1;
}

html[data-theme="dark"] #albumDspSelectionLaunch[aria-expanded="true"] {
    background:var(--primary);
    border-color:var(--dsp-accent);
    color:var(--primary-contrast);
}

.album-dsp-card-grid {
    display:grid;
    grid-template-columns:repeat(3, minmax(0, 1fr));
    grid-auto-rows:minmax(64px,max-content);
    gap:11px 14px;
    align-items:stretch;
    align-content:start;
    flex:1 1 auto;
    min-height:120px;
    max-height:none;
    overflow:auto;
    padding:3px 5px 3px 2px;
    scrollbar-color:color-mix(in srgb,var(--text-muted) 70%,transparent) transparent;
}

.album-dsp-card {
    display:flex;
    align-items:center;
    gap:10px;
    min-width:0;
    min-height:64px;
    padding:9px 13px;
    border:1px solid color-mix(in srgb,var(--table-border, var(--border)) 82%,transparent);
    border-radius:12px;
    background:color-mix(in srgb,var(--raised-bg) 88%,var(--surface-bg));
    color:var(--text-main);
    cursor:pointer;
    -webkit-tap-highlight-color:transparent;
    touch-action:manipulation;
    transition:border-color .15s ease,background .15s ease,box-shadow .15s ease,transform .15s ease;
}

.album-dsp-card:hover {
    border-color:var(--dsp-accent);
    background:color-mix(in srgb,var(--dsp-accent) 5%,var(--raised-bg));
    box-shadow:0 9px 22px color-mix(in srgb,#000 12%,transparent);
}
.album-dsp-card:hover{transform:translateY(-1px)}
.album-dsp-card:active{transform:translateY(0);background:color-mix(in srgb,var(--dsp-accent) 10%,var(--raised-bg));box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--dsp-accent) 26%,transparent)}
.album-dsp-card:has(input[type="checkbox"]:focus-visible){outline:2px solid var(--dsp-accent);outline-offset:2px;border-color:var(--dsp-accent);box-shadow:none}
.album-dsp-card.is-selected{border-color:var(--dsp-selected-border);background:var(--dsp-selected-bg);color:var(--dsp-selected-text);box-shadow:0 0 0 1px color-mix(in srgb,var(--dsp-selected-border) 12%,transparent)}
.album-dsp-card:has(input[type="checkbox"]:checked){border-color:var(--dsp-selected-border);background:var(--dsp-selected-bg);color:var(--dsp-selected-text);box-shadow:0 0 0 1px color-mix(in srgb,var(--dsp-selected-border) 12%,transparent)}
.album-dsp-card input[type="checkbox"]{flex:0 0 18px;width:18px;height:18px;margin:0;accent-color:var(--primary)}
.album-dsp-card.album-dsp-search-card { display:block; min-height:118px; cursor:pointer; }
#albumDspSearchModal .album-dsp-card-grid { grid-auto-rows:minmax(118px,max-content); }
.album-dsp-search-identity { display:flex; align-items:center; gap:10px; min-width:0; cursor:pointer; }
.album-dsp-search-card .album-dsp-search-status { display:block; margin:10px 0 0; font-size:13px; font-weight:400; }
.album-dsp-search-identity { min-height:36px; border-radius:6px; }
.album-dsp-search-identity:focus-visible { outline:2px solid var(--dsp-accent); outline-offset:3px; }
.album-dsp-search-status>.rm-searchable-select-shell { width:100%; min-width:0; }
.album-dsp-search-status .rm-searchable-select-option { text-align:center; }
.album-dsp-search-status .rm-searchable-select-popup { left:0; width:100%; min-width:0; }
.album-dsp-search-card:has(.rm-searchable-select-shell.is-open) { position:relative; z-index:20; }

#albumDspSearchModal .album-dsp-search-card { border-radius:13px; border-color:color-mix(in srgb,var(--primary) 30%,var(--table-border)); background:color-mix(in srgb,var(--raised-bg) 90%,var(--surface-bg)); box-shadow:0 2px 10px color-mix(in srgb,#000 6%,transparent); }
#albumDspSearchModal .album-dsp-search-card:hover { border-color:var(--dsp-accent); }
#albumDspSearchModal .album-dsp-search-card:has(input:checked) { border-color:var(--dsp-accent); box-shadow:inset 0 0 0 1px var(--dsp-accent); background:color-mix(in srgb,var(--dsp-accent) 16%,var(--raised-bg)); }
html[data-theme="dark"] #albumDspSearchModal .album-dsp-search-card { background:#091218; border-color:color-mix(in srgb,var(--dsp-accent) 38%,var(--table-border)); box-shadow:inset 0 1px 0 color-mix(in srgb,var(--text-main) 4%,transparent),0 8px 24px color-mix(in srgb,#000 18%,transparent); }
html[data-theme="dark"] #albumDspSearchModal .album-dsp-search-card:hover { border-color:var(--dsp-accent); }
html[data-theme="dark"] #albumDspSearchModal .album-dsp-search-card:has(input:checked) { background:color-mix(in srgb,var(--dsp-accent) 18%,#091218); border-color:var(--dsp-accent); box-shadow:inset 0 0 0 1px var(--dsp-accent); }
.album-dsp-search-status > span { flex:0 0 auto; white-space:nowrap; }
@media (max-width:640px) { .delivery-desktop-selected-count { display:none!important; } }
.album-dsp-search-status > select { flex:1 1 auto; min-width:0; min-height:36px; margin:0; }
.album-dsp-modal-actions > .rm-dsp-select-toggle { display:inline-grid; grid-template-columns:1fr; }
.rm-dsp-select-toggle > span { grid-area:1 / 1; white-space:nowrap; }
.rm-dsp-select-toggle > [aria-hidden="true"] { visibility:hidden; }
@media (max-width:760px) {
    .rm-dsp-search-launcher { display:none !important; }
}
@media (min-width:641px) {
    .delivery-bulk-toolbar > .delivery-mobile-bulk-trigger,
    .delivery-bulk-toolbar > .delivery-mobile-upcs { display:none !important; }
}
.album-dsp-card-logo{flex:0 0 42px!important;width:42px!important;height:42px!important;min-width:42px!important;border-radius:11px}

.album-dsp-card.is-locked {
    cursor:not-allowed;
    opacity:1;
    border-style:solid;
}
.album-dsp-locked-badge{display:inline-flex;align-items:center;gap:4px;margin-left:auto;padding:4px 8px;border:1px solid color-mix(in srgb,var(--text-muted) 28%,transparent);border-radius:999px;background:color-mix(in srgb,var(--text-muted) 10%,var(--raised-bg));color:var(--text-main);font-size:11px;font-weight:600;white-space:nowrap}

.album-dsp-card-name {
    min-width:0;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.rm-dsp-touch-name-popover {
    position:fixed;
    z-index:12050;
    display:none;
    box-sizing:border-box;
    max-width:calc(100vw - 24px);
    padding:9px 12px;
    border:1px solid var(--control-border);
    border-radius:8px;
    background:var(--surface-bg);
    color:var(--text-main);
    box-shadow:0 10px 28px rgb(0 0 0 / 22%);
    font-size:13px;
    font-weight:600;
    line-height:1.35;
    overflow-wrap:anywhere;
    pointer-events:none;
}
@media (hover: none), (max-width:640px) {
    .rm-dsp-touch-name-popover.is-visible { display:block; }
}

.album-dsp-selection-empty,
.album-dsp-selection-hint {
    color:var(--text-muted);
    font-size:13px;
}

.album-dsp-selection-hint {
    display:flex;align-items:center;gap:12px;margin:16px 0 0;padding:13px 15px;border:1px solid color-mix(in srgb,var(--primary) 32%,var(--table-border));border-radius:12px;background:color-mix(in srgb,var(--primary) 7%,var(--surface-soft));
}
.album-dsp-selection-hint>span{display:grid;place-items:center;flex:0 0 30px;width:30px;height:30px;border:1px solid color-mix(in srgb,var(--dsp-accent) 62%,transparent);border-radius:50%;background:color-mix(in srgb,var(--primary) 18%,var(--raised-bg));color:var(--dsp-accent);box-shadow:0 0 16px color-mix(in srgb,var(--dsp-accent) 16%,transparent)}
.album-dsp-selection-hint>span::before{content:"";width:17px;height:17px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='9' fill='none' stroke='black' stroke-width='2'/%3E%3Cpath d='M12 10.8v6M12 7.2h.01' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='9' fill='none' stroke='black' stroke-width='2'/%3E%3Cpath d='M12 10.8v6M12 7.2h.01' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat}
.album-dsp-selection-hint p{margin:0}

.album-dsp-modal-actions {
    display:flex;
    align-items:center;
    gap:10px;
    margin-top:18px;
}

.album-dsp-modal-actions > button {
    min-width:150px;
    min-height:44px;
}
.album-dsp-modal-actions>.btn-secondary:is(:hover,:focus-visible){
    border-color:var(--dsp-accent)!important;
    background:color-mix(in srgb,var(--dsp-accent) 9%,var(--raised-bg))!important;
    color:var(--dsp-secondary-text,var(--primary))!important;
    outline:2px solid color-mix(in srgb,var(--dsp-accent) 30%,transparent)!important;
    outline-offset:2px;
}
.album-dsp-modal-actions>.btn-secondary:active{
    border-color:var(--dsp-accent)!important;
    background:color-mix(in srgb,var(--dsp-accent) 17%,var(--raised-bg))!important;
    color:var(--dsp-secondary-text,var(--primary))!important;
    transform:translateY(0);
}
.album-dsp-modal-actions>.album-dsp-save-button{margin-left:auto;min-width:210px}
html[data-theme="dark"] .album-dsp-modal-actions { --dsp-secondary-text:var(--text-main); }
#albumDspSelectionForm{display:flex;flex:1 1 auto;min-height:0;flex-direction:column}
.album-dsp-selection-modal-box>form{display:flex;flex:1 1 auto;min-height:0;flex-direction:column}


.change-dsp-status-modal-box .album-dsp-modal-heading{margin-bottom:18px}
.change-dsp-status-modal-box .album-dsp-modal-tools{margin-bottom:12px}
.change-dsp-status-card-grid{min-height:128px}
.change-dsp-status-controls{
    display:grid;
    grid-template-columns:minmax(0,1.35fr) minmax(210px,.65fr);
    gap:16px;
    align-items:start;
    margin-top:14px;
    padding-top:14px;
    border-top:1px solid color-mix(in srgb,var(--table-border) 82%,transparent);
}
.change-dsp-status-controls>.form-row{min-width:0;margin:0}
.change-dsp-status-target-row .dsp-status-chip-group{margin-top:7px}
.change-dsp-status-actions>.btn:last-child{margin-left:auto;min-width:190px}

@media (max-width: 900px) {
    .album-dsp-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
    .change-dsp-status-controls{grid-template-columns:minmax(0,1fr)}
}

@media (max-width: 760px) {
    .album-dsp-locked-badge {
        justify-content:center;
        flex:0 0 32px;
        width:32px;
        height:32px;
        min-width:32px;
        padding:0;
    }
    .album-dsp-locked-badge svg {
        width:16px;
        height:16px;
    }
    .album-dsp-locked-label {
        position:absolute;
        width:1px;
        height:1px;
        padding:0;
        margin:-1px;
        overflow:hidden;
        clip:rect(0, 0, 0, 0);
        white-space:nowrap;
        border:0;
    }
}

@media (max-width: 520px) {
    .modal-overlay .modal-box.album-dsp-selection-modal-box {
        width:calc(100vw - 20px);
        height:calc(100dvh - 20px);
        max-height:calc(100dvh - 20px);
        padding:20px 16px;
        border-radius:15px;
    }

    .album-dsp-card-grid { max-height:none; }

    .album-dsp-modal-actions {
        display:grid;
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
    .album-dsp-modal-actions>.album-dsp-save-button{grid-column:1/-1;margin-left:0}
    .album-dsp-modal-actions>button{min-width:0;min-height:44px}
    .album-dsp-modal-tools{align-items:stretch;flex-direction:column;gap:10px}
    .album-dsp-selected-count{align-self:center;margin-inline:auto}
    .album-dsp-modal-heading{align-items:flex-start;gap:12px;margin-bottom:18px}
    .album-dsp-modal-heading-icon{flex-basis:46px;width:46px;height:46px;border-radius:12px}
    .album-dsp-modal-heading h3{font-size:23px}
    .change-dsp-status-controls{gap:10px;margin-top:10px;padding-top:10px}
    .change-dsp-status-actions>.btn:last-child{grid-column:1/-1;margin-left:0;min-width:0}
}

@media (max-width:640px) {
    
    .album-dsp-card { position:relative; gap:6px; padding:7px 8px; }
    .album-dsp-card input[type="checkbox"] { flex-basis:16px; width:16px; height:16px; }
    .album-dsp-card-logo { flex-basis:34px !important; width:34px !important; height:34px !important; min-width:34px !important; border-radius:9px; }
    .album-dsp-locked-badge { position:absolute; right:4px; bottom:4px; margin:0; flex-basis:20px; width:20px; height:20px; min-width:20px; }
    .album-dsp-locked-badge svg { width:11px; height:11px; }
}

@media (max-width: 360px) {
    .album-dsp-card-grid { grid-template-columns:minmax(0, 1fr); }
}

* {
    box-sizing: border-box;
}
[hidden] { display: none !important; }

button,
.btn,
input,
select,
textarea {
    font-family: inherit;
}

input[type=checkbox],
input[type=range] {
    accent-color: var(--primary);
}


input[type=radio] {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background-color: transparent;
    background-image: radial-gradient(circle at center,
        transparent 0 4px,
        var(--control-border) 4.5px 5.5px,
        transparent 6px);
    box-shadow: none;
    vertical-align: middle;
    cursor: pointer;
}
input[type=radio]:checked {
    border: 0;
    background-color: transparent;
    background-image: radial-gradient(circle at center,
        var(--primary) 0 5px,
        transparent 5.5px);
    box-shadow: none;
}
input[type=radio]:hover:not(:disabled):not(:checked) {
    background-image: radial-gradient(circle at center,
        transparent 0 4px,
        var(--primary) 4.5px 5.5px,
        transparent 6px);
}
input[type=radio]:focus-visible {
    outline: 2px solid color-mix(in srgb, var(--primary) 72%, transparent);
    outline-offset: 2px;
}
body input[type=radio]:focus {
    box-shadow: none;
    outline: none;
}
body input[type=radio]:focus-visible {
    outline: 2px solid color-mix(in srgb, var(--primary) 72%, transparent);
    outline-offset: 2px;
}
input[type=radio]:disabled {
    cursor: not-allowed;
    opacity: .5;
}


.notification-volume-range,
input[type="range"].rm-dark-progress-range {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(to right,
        var(--primary) 0 var(--range-progress, 30%),
        var(--control-underline) var(--range-progress, 30%) 100%);
    cursor: pointer;
}
.notification-volume-range::-webkit-slider-runnable-track,
input[type="range"].rm-dark-progress-range::-webkit-slider-runnable-track {
    height: 6px;
    border-radius: 999px;
    background: transparent;
}
.notification-volume-range::-webkit-slider-thumb,
input[type="range"].rm-dark-progress-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    margin-top: -5px;
    border: 0;
    border-radius: 50%;
    background: var(--primary);
}
.notification-volume-range::-moz-range-track,
input[type="range"].rm-dark-progress-range::-moz-range-track {
    height: 6px;
    border: 0;
    border-radius: 999px;
    background: var(--control-underline);
}
.notification-volume-range::-moz-range-progress,
input[type="range"].rm-dark-progress-range::-moz-range-progress {
    height: 6px;
    border-radius: 999px;
    background: var(--primary);
}
.notification-volume-range::-moz-range-thumb,
input[type="range"].rm-dark-progress-range::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border: 0;
    border-radius: 50%;
    background: var(--primary);
}
html[data-theme="dark"] input[type="range"].rm-dark-progress-range {
    background: linear-gradient(to right,
        #F2F3F5 0 var(--range-progress, 30%),
        #5F6368 var(--range-progress, 30%) 100%);
}
html[data-theme="dark"] input[type="range"].rm-dark-progress-range::-webkit-slider-runnable-track {
    background: transparent;
}
html[data-theme="dark"] input[type="range"].rm-dark-progress-range::-webkit-slider-thumb {
    background: #F2F3F5;
}
html[data-theme="dark"] input[type="range"].rm-dark-progress-range::-moz-range-track {
    background: #5F6368;
}
html[data-theme="dark"] input[type="range"].rm-dark-progress-range::-moz-range-progress {
    background: #F2F3F5;
}
html[data-theme="dark"] input[type="range"].rm-dark-progress-range::-moz-range-thumb {
    background: #F2F3F5;
}

input[type=checkbox]:not(.rm-switch) {
    appearance: none;
    -webkit-appearance: none;
    flex: 0 0 auto;
    box-sizing: border-box;
    padding: 0;
    width: 16px;
    height: 16px;
    margin: 0;
    border: 1px solid var(--table-border);
    border-radius: 2px;
    background-color: #fff;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 12px 12px;
    vertical-align: middle;
    cursor: pointer;
}
input[type=checkbox]:not(.rm-switch):checked {
    border-color: var(--primary);
    background-color: var(--primary);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.2 8.2 6.4 11.2 12.8 4.8' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
input[type=checkbox]:not(.rm-switch):indeterminate {
    border-color: var(--primary);
    background-color: var(--primary);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8h9' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E");
}
input[type=checkbox]:not(.rm-switch):disabled {
    border-color: var(--table-border);
    background-color: #F0F0F0;
    opacity: 1;
    cursor: not-allowed;
}
input[type=checkbox]:not(.rm-switch):disabled:checked,
input[type=checkbox]:not(.rm-switch):disabled:indeterminate {
    border-color: var(--table-border);
    background-color: #BDBDBD;
}


.team-dsp-picker {
    position: relative;
    flex: 0 0 auto;
}
.team-dsp-picker-toggle {
    min-width: 180px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.team-dsp-picker-chevron {
    width: 6px;
    height: 6px;
    flex: 0 0 6px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-1px);
    transform-origin: center;
    transition: transform 160ms ease;
}
.team-dsp-picker-toggle[aria-expanded="true"] .team-dsp-picker-chevron {
    transform: rotate(225deg) translate(-1px, -1px);
}
.team-dsp-picker-panel {
    position: absolute;
    z-index: 450;
    top: calc(100% + 4px);
    left: 0;
    width: max-content;
    min-width: 200px;
    max-width: min(320px, calc(100vw - 32px));
    max-height: 320px;
    overflow-y: auto;
    padding: 6px 10px;
    border: 0;
    border-radius: 0;
    background: #fff;
    box-shadow: 0 8px 22px rgba(31, 31, 33, .16);
}
.team-dsp-picker-panel[hidden] {
    display: none;
}
.team-dsp-picker-panel label {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 28px;
    color: #1f1f21;
    font: inherit;
    cursor: pointer;
    white-space: nowrap;
}

html {
    
    overflow-x: clip;
    width: 100%;
}

body {
    margin: 0;
    font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: #fff;
    color: var(--ink);
    overflow-x: clip;
    width: 100%;
    
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a {
    color: inherit;
}

.topbar {
    background: var(--topbar-bg);
    color: #fff;
    font-family: var(--font-family-navigation);
    padding: 14px 24px 14px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.topbar .brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.2;
    text-decoration: none;
    color: #fff;
    margin-right: 24px;
}

.topbar nav {
    flex: 1;
}

.topbar nav a {
    margin-right: 20px;
    text-decoration: none;
    color: rgba(255, 255, 255, .82);
    font-weight: 600;
    font-size: 14px;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
}

.topbar nav a:hover {
    color: #fff;
    border-bottom-color: rgba(255, 255, 255, .5);
}

.nav-dropdown {
    position: relative;
    display: inline-block;
}

.nav-dropdown-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    margin-right: 20px;
    text-decoration: none;
    color: rgba(255, 255, 255, .82);
    font-weight: 500;
    font-size: 14px;
    padding: 0 0 4px;
    border-bottom: 2px solid transparent;
}

.nav-dropdown-toggle:hover,
.nav-dropdown-toggle.open {
    color: #fff;
    border-bottom-color: transparent;
    
    background: none;
}


.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 4px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .18);
    min-width: 170px;
    padding: 6px;
    
    z-index: 600;
}

.nav-dropdown-menu.open {
    display: block;
}

.topbar .nav-dropdown-menu a {
    display: block;
    padding: 9px 12px;
    border-radius: 7px;
    color: #1f1f21;
    text-decoration: none;
    font-weight: 400;
    font-size: 14px;
    border-bottom: none;
    margin-right: 0;
}

.topbar .nav-dropdown-menu a:hover {
    background: var(--primary-light);
    color: var(--primary);
}

.nav-user-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: rgba(255, 255, 255, .82);
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    padding: 0;
}


.nav-user-toggle:hover {
    color: #fff;
    background: rgba(255, 255, 255, .14);
}

.nav-user-toggle span {
    color: #fff;
    font-weight: 600;
}

.nav-user-toggle small {
    color: rgba(255, 255, 255, .7);
}


.nav-user-dropdown .nav-dropdown-menu,
.nav-bell-dropdown .nav-dropdown-menu {
    left: auto;
    right: 0;
}

.nav-user-dropdown .nav-dropdown-menu a {
    font-weight: 400;
}


.user-avatar-placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    overflow: hidden;
    background: var(--primary);
    color: var(--primary-contrast);
    border: 1px solid color-mix(in srgb, var(--primary) 78%, #fff);
}
.user-avatar-placeholder svg {
    display: block;
    width: 72%;
    height: 72%;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.topbar .user-avatar-placeholder {
    background: color-mix(in srgb, var(--topbar-contrast) 18%, transparent);
    color: var(--topbar-contrast);
    border-color: color-mix(in srgb, var(--topbar-contrast) 40%, transparent);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 24px 16px 60px;
}

.login-container {
    max-width: 400px;
    margin: 80px auto;
    padding: 0 16px;
    font-family: var(--font-family-main);
    font-weight: 400;
}

.login-container h2,
.auth-page-card > h2:first-child {
    margin-bottom: 20px;
    font-family: var(--font-family-heading);
    font-size: 28px;
    font-weight: 400;
    line-height: 1.235;
}

.auth-page-card {
    font-family: var(--font-family-main);
    font-weight: 400;
}

.login-container .btn-google,
.auth-page-card .btn-google {
    font-family: inherit;
    font-weight: 500;
}

.flash {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-family: var(--font-family-main);
    font-weight: 400;
    line-height: 1.45;
}

.flash-success,
.flash-error,
.flash-info {
    font-family: var(--font-family-main);
}
.flash *,
.delivery-readiness-warning * {
    font-family: inherit;
}
.flash h2,
.flash h3,
.flash strong,
.delivery-readiness-warning h2,
.delivery-readiness-warning h3,
.delivery-readiness-warning strong {
    font-weight: 600;
}
.flash li,
.flash p,
.delivery-readiness-warning li,
.delivery-readiness-warning p {
    font-weight: 400;
}
.flash-success {
    background: var(--primary-light);
    color: var(--primary-dark);
    color: color-mix(in srgb, var(--primary) 58%, #1f1f21);
    font-weight: 500;
}
.flash-error { background: var(--alert-bg); color: var(--alert-text); border: 1px solid var(--alert-border); }
.flash-info { background: var(--info-bg); color: var(--info-text); }


#rmContent:has(.login-container) > .flash-error,
#rmContent:has(.auth-page-card) > .flash-error,
.login-container .flash-error,
.auth-page-card .flash-error {
    background: var(--primary-light);
    color: var(--primary-dark);
    color: color-mix(in srgb, var(--primary) 58%, #1f1f21);
    border-color: color-mix(in srgb, var(--primary) 58%, transparent);
    font-weight: 500;
}


.card {
    background: #fff;
    border-radius: 0;
    padding: 4px 0 24px;
    margin-bottom: 8px;
}


#rmContent > :is(.revenue-report-section-card, .security-log-header-card, .packages-header-card, .analytics-header-card) > :is(h1, h2, h3, p, .hint-text, .filter-bar):last-child {
    margin-bottom: 0 !important;
}

.card h2, .card h3 { margin-top: 0; }

.form-row { margin-bottom: 14px; }

.row-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-row label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 14px;
}
.row-2col.is-bottom-aligned { align-items: end; }

.smart-link-cover-preview {
    display: block;
    width: 140px;
    height: 140px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .1);
}
.smart-link-icon-preview {
    width: 36px;
    height: 36px;
    margin-bottom: 6px;
    border-radius: 8px;
    object-fit: contain;
}
.smart-link-logo-library{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,210px),1fr));gap:10px;max-height:320px;margin-top:10px;padding:2px;overflow:auto}
.smart-link-logo-choice{display:grid;grid-template-columns:20px 42px minmax(0,1fr);align-items:center;gap:10px;min-width:0;min-height:66px;padding:10px;border:1px solid var(--table-border);border-radius:11px;background:var(--raised-bg);cursor:pointer;transition:border-color .15s ease,background-color .15s ease,box-shadow .15s ease,transform .15s ease}
.smart-link-logo-choice:hover{border-color:color-mix(in srgb,var(--primary) 64%,var(--table-border));background:color-mix(in srgb,var(--primary) 5%,var(--raised-bg))}
.smart-link-logo-choice:active{transform:scale(.985);background:color-mix(in srgb,var(--primary) 9%,var(--raised-bg))}
.smart-link-logo-choice:focus-within{outline:2px solid color-mix(in srgb,var(--primary) 34%,transparent);outline-offset:2px}
.smart-link-logo-choice:has(input:checked){border-color:var(--primary);background:color-mix(in srgb,var(--primary) 9%,var(--raised-bg));box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--primary) 18%,transparent)}
.smart-link-logo-choice>input{margin:0}.smart-link-logo-choice>img,.smart-link-logo-choice-mark{width:42px!important;height:42px!important;min-width:42px!important;object-fit:contain}.smart-link-logo-choice>span:last-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600}
.smart-link-slug-preview { font-weight: 600; }
.smart-link-section-title { margin-top: 24px; }
.smart-link-search-results { margin-top: 10px; }


.form-row > label:not(.check-row):not(.check-inline) {
    color: var(--text-muted);
    font-family: inherit;
    font-weight: 400;
    letter-spacing: .15px;
    line-height: 1.4;
}


.entity-view-title {
    color: var(--text-main);
    font-family: var(--font-family-heading);
    font-size: 28px;
    font-weight: 400;
    line-height: 1.235;
    letter-spacing: -.01em;
}
.section-title,
#rmContent > .card > h3:first-child {
    font-family: var(--font-family-heading);
    font-size: 22px;
    font-weight: 400;
    line-height: 1.3;
}
@media (max-width: 640px) {
    .entity-view-title { font-size: 24px; }
    .section-title,
    #rmContent > .card > h3:first-child { font-size: 20px; }
}


#profileForm > .form-row > label:not(.check-inline),
#profileForm .avatar-upload-row .field-label {
    color: var(--text-muted);
    font-family: inherit;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: .15px;
}

.package-feature-add-card > h3 {
    margin-top: 0;
    font-family: var(--font-family-heading);
    font-size: 22px;
    font-weight: 400;
    line-height: 1.3;
}
.package-feature-add-card .form-row > label {
    color: var(--text-muted);
    font-family: inherit;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: .15px;
}

.contact-spam-section-title {
    font-family: var(--font-family-heading);
    font-size: 22px;
    font-weight: 400;
    line-height: 1.3;
}
.contact-spam-section-title.is-inset {
    margin-top: 0;
    padding: 16px 16px 0;
}

table.data-table.contact-request-table tbody td {
    color: var(--text-muted);
    border-bottom: none;
}
table.data-table.contact-request-table tbody td:first-child {
    color: #3F3F42;
    font-weight: 400;
}

[id^="settings-anchor-"] .form-row > label:first-child {
    display: flex;
    align-items: center;
    color: var(--text-muted);
    font-family: inherit;
    font-weight: 400;
    letter-spacing: .15px;
    line-height: 1.4;
}

.cleanup-plain-label {
    font-family: inherit;
    font-weight: 400;
}

.db-health-panel .db-health-title {
    margin: 0 0 10px;
    font-family: var(--font-family-heading);
    font-size: 24px;
    font-weight: 400;
    line-height: 1.235;
}

.db-health-panel {
    margin-top: 24px;
    padding: 16px;
    border: 1px solid var(--table-border);
    border-radius: 4px;
    background: var(--surface-bg);
    color: var(--text-main);
}

.db-health-value {
    font-family: inherit;
    font-size: 18px;
    font-weight: 400;
}
.db-health-value.is-alert,
.settings-hint-alert,
.db-integrity-result.is-alert { color: var(--alert-text); }
.db-health-value.is-warning,
.settings-hint-warning { color: var(--warning-text); }
.db-integrity-result { margin-top: 8px; }
.db-integrity-result.is-success { color: var(--primary); }

.backup-restore-panel {
    margin-top: 24px;
    padding: 16px;
    border: 1px solid #F2B6C5;
    border-radius: 4px;
    background: #FFF1F5;
    color: var(--text-main);
}
.backup-restore-title {
    margin: 0 0 6px;
    color: #B8325A;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
}
.backup-restore-hint {
    margin: 0 0 4px;
    color: var(--text-muted);
    font-size: 13px;
}
.backup-restore-warning {
    margin: 0 0 14px;
    color: #B8325A;
    font-size: 13px;
    font-weight: 600;
}
html[data-theme="dark"] .backup-restore-panel {
    background: #35262D;
    border-color: #845064;
}
html[data-theme="dark"] .backup-restore-title,
html[data-theme="dark"] .backup-restore-warning {
    color: #F2A9BE;
}
.settings-code-block {
    display: block;
    margin-top: 6px;
    padding: 10px 12px;
    border: 1px solid var(--table-border);
    border-radius: 4px;
    background: var(--raised-bg);
    color: var(--text-main);
    font-size: 12px;
    word-break: break-all;
}

.maintenance-status-line {
    margin-bottom: 16px;
    padding: 4px 0;
    background: transparent;
}
.maintenance-status-line strong {
    color: var(--text-main);
    font-family: inherit;
    font-weight: 600;
}
.maintenance-status-line.is-on strong { color: #B8325A; }
.maintenance-status-line .hint-text { margin-top: 3px; }
html[data-theme="dark"] .maintenance-status-line.is-on strong { color: #F2A9BE; }

.branding-theme-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    align-items: start;
}
.branding-image-field { min-width: 0; }
.branding-image-control {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    align-items: flex-start;
    gap: 14px;
    min-width: 0;
}
.branding-image-preview {
    display: flex;
    width: var(--branding-preview-size);
    height: var(--branding-preview-size);
    flex: 0 0 var(--branding-preview-size);
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid var(--table-border);
    border-radius: 4px;
    background: var(--raised-bg);
}
.branding-image-options { min-width: 0; flex: 1; }
.branding-image-field .file-input-wrap {
    width: fit-content;
    max-width: 100%;
}

.branding-image-field input[type=file] { display: none !important; }
.branding-image-field-wide { max-width: calc(50% - 11px); }

@media (max-width: 900px) {
    .branding-theme-grid { grid-template-columns: minmax(0, 1fr); }
    .branding-image-field-wide { max-width: none; }
}
@media (max-width: 520px) {
    .branding-image-control { grid-template-columns: minmax(0, 1fr); }
}

.dashboard-welcome-title,
.dashboard-section-title {
    font-family: var(--font-family-heading);
    font-weight: 400;
    line-height: 1.235;
}

.dashboard-welcome-title { font-size: 36px; }
.dashboard-section-title { font-size: 24px; }

.delivery-filter-form .form-row > label {
    color: var(--text-muted);
    font-family: inherit;
    font-weight: 400;
    letter-spacing: .15px;
    line-height: 1.4;
}

@media (max-width: 640px) {
    .dashboard-welcome-title { font-size: 28px; }
    .dashboard-section-title { font-size: 20px; }
    .db-health-panel .db-health-title { font-size: 20px; }
}


.form-row input:not([type]),
.form-row input[type=text],
.form-row input[type=url],
.form-row input[type=email],
.form-row input[type=password],
.form-row input[type=date],
.form-row input[type=month],
.form-row input[type=time],
.form-row input[type=week],
.form-row input[type=datetime-local],
.form-row input[type=number],
.form-row select,
.form-row textarea,
.modal-box input[type=text] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--field-border);
    border-radius: 8px;
    font-size: 14px;
    background: #fff;
}
.form-row .rich-signature-editor {
    width: 100%;
    font-size: 14px;
    min-height: 90px;
    overflow-y: auto;
    cursor: text;
}

.data-table td input[type=text],
.data-table td input[type=date],
.data-table td input[type=month],
.data-table td input[type=time],
.data-table td input[type=week],
.data-table td input[type=datetime-local],
.data-table td input[type=number] {
    width: 100%;
    max-width: 160px;
    padding: 6px 10px;
    border: 1px solid var(--field-border);
    border-radius: 6px;
    font-size: 13px;
    background: #fff;
}
.form-row .rich-signature-editor img { max-width: 100%; }


.form-row select,
.filter-bar select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%236b7280' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 34px;
    cursor: pointer;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}


.table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
}


.rm-table-scroll-sticky-safe {
    overflow-x: visible;
}


@media (max-width: 640px) {
    .rm-table-scroll-sticky-safe {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}


.data-table td.wrap-any {
    word-break: break-word;
    overflow-wrap: anywhere;
    max-width: 420px;
    white-space: normal;
}


.audit-log-table.rm-container-card-table tbody > tr > td,
.audit-log-table.rm-mobile-card-table tbody > tr > td {
    grid-template-columns:150px minmax(0,1fr) !important;
}
.audit-log-table.rm-container-card-table tbody > tr > td.wrap-any,
.audit-log-table.rm-mobile-card-table tbody > tr > td.wrap-any {
    max-width:100% !important;
}


.notification-admin-mobile-select-cell { display:none; }

@media (max-width:640px) {
    
    .notification-admin-results {
        margin-inline:0;
        width:100%;
    }
    .notification-admin-bulk-actions {
        padding-inline:0 !important;
    }
    table.data-table.notification-admin-table.rm-mobile-card-table
    > thead > tr > .notification-admin-mobile-select-cell {
        display:none !important;
    }
    table.data-table.notification-admin-table.rm-mobile-card-table
    > tbody > tr > .notification-admin-mobile-select-cell {
        display:flex !important;
        align-items:center;
        justify-content:center;
        width:100% !important;
        max-width:100% !important;
        padding:9px 10px !important;
    }
    table.data-table.notification-admin-table.rm-mobile-card-table
    .notification-admin-mobile-select-cell > .rm-mobile-row-select {
        width:50% !important;
        min-width:44px !important;
        max-width:220px !important;
    }
}



.dashboard-grid-shell {
    container-type: inline-size;
    container-name: dashboard-grid-shell;
}
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 16px;
    align-items: stretch;
}
.dashboard-grid > .card { margin: 0; }


.wallet-summary-card {
    padding-bottom:8px;
    margin-bottom:0;
}
.wallet-history-card {
    padding-top:0 !important;
    margin-top:0;
}
.wallet-history-heading {
    padding:0 !important;
    margin:12px 0 14px;
}
.wallet-history-table {
    table-layout:fixed;
}
.wallet-history-col-date { width:20%; }
.wallet-history-col-kind { width:18%; }
.wallet-history-col-note { width:47%; }
.wallet-history-col-amount { width:15%; }

.dashboard-account-count {
    font: inherit;
    font-weight: 400;
}

.quota-row { margin-top: 14px; }
.quota-row-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    font-size: 14px;
}
.quota-row-head strong {
    font-family: inherit;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
}
.quota-unlimited { font-weight: 400; font-size: 12px; color: var(--text-muted); }
.quota-bar {
    height: 8px;
    border-radius: 999px;
    background: var(--primary-light);
    overflow: hidden;
    margin: 7px 0 5px;
}
.quota-bar span { display: block; height: 100%; border-radius: 999px; }

.quota-bar.is-unlimited { background: transparent; }
.quota-row-foot { font-size: 12px; color: var(--text-muted); }

.chart-wrap {
    display: grid;
    grid-template-columns: max-content minmax(120px, 1fr);
    align-items: center;
    gap: 22px;
    margin-top: 12px;
}
.donut-chart-visual {
    display: grid;
    place-items: center;
    min-width: 0;
}
.donut {
    display:block;
    overflow:visible;
    outline:0 !important;
    -webkit-tap-highlight-color:transparent;
}
.donut-slice {
    cursor: help;
    transition: stroke-width .14s ease, filter .14s ease;
}
.donut-slice:hover,
.donut-slice:active { stroke-width: 29; }
.donut-slice:focus,
.donut-slice:focus-visible,
.donut-slice.is-active {
    outline: 0 !important;
    stroke-width: 32;
    filter: none;
    opacity: .82;
}
.donut-total {
    font-family: inherit;
    font-size: 26px;
    font-weight: 500;
    fill: var(--text-main);
}
.donut-caption {
    font-family: inherit;
    font-size: 11px;
    font-weight: 400;
    fill: var(--text-muted);
}

.bar-chart-wrap { width:100%; max-width:var(--bar-chart-max-width,100%); margin:0 auto; }
.bar-chart { display: block; max-width: 100%; }
.dashboard-revenue-title-mobile { display:none; }
@media(max-width:640px){
    .bar-chart-wrap{max-width:100%;}
    .dashboard-revenue-title-desktop{display:none;}
    .dashboard-revenue-title-mobile{display:inline;}
}
.bar-chart-bar { fill: var(--chart-accent, var(--primary)); transition: fill 0.15s; }
.bar-chart-bar:hover, .bar-chart-bar.is-hovered { fill: var(--chart-accent-hover, var(--primary-hover)); }
.bar-chart-hit-area { cursor: pointer; }
.bar-chart-value { font-size: 10px; fill: var(--text-main); font-weight: 600; }
.bar-chart-label { font-size: 11px; fill: var(--text-muted); }
.bar-chart-axis { stroke: var(--field-border); stroke-width: 1; }

.line-chart { display: block; max-width: 100%; }
.line-chart-grid { stroke: var(--field-border); stroke-width: 1; stroke-dasharray: 3 3; }
.line-chart-axis-label { font-size: 10px; fill: var(--text-muted); }
.chart-legend-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 10px; }
.chart-legend-item { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ink); }

.row-clickable { cursor: pointer; }
.row-clickable:hover { background: var(--surface-soft); }

.chart-legend { list-style: none; margin: 0; padding: 0; flex: 1; min-width: 190px; }
.chart-legend li {
    display: flex;
    align-items: baseline;
    gap: 9px;
    font-size: 13px;
    padding: 5px 0;
}

.chart-legend li.is-zero { opacity: .45; }
.chart-dot { width: 11px; height: 11px; border-radius: 3px; flex-shrink: 0; align-self: center; }
.chart-label { flex: 1; }
.chart-value { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; line-height: inherit; }
.chart-value small { font-weight: 400; color: var(--text-muted); }


@container dashboard-grid-shell (max-width: 1350px) and (min-width: 1051px) {
    .dashboard-status-card .chart-value { display: none; }
    .dashboard-status-card .chart-legend {
        justify-self: end;
        width: max-content;
        max-width: 100%;
        min-width: 0;
    }
}
@container dashboard-grid-shell (max-width: 1050px) {
    .dashboard-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dashboard-status-card {
        grid-column: 1 / -1;
        padding-left: 0 !important;
        border-left: none !important;
    }
    .dashboard-status-card .chart-wrap {
        grid-template-columns: 168px minmax(190px, 320px);
        justify-content: center;
    }
}
@container dashboard-grid-shell (max-width: 560px) {
    .dashboard-grid { grid-template-columns: 1fr; }
    .dashboard-status-card { grid-column: auto; }
    .dashboard-status-card .chart-wrap {
        grid-template-columns: 1fr;
        justify-items: center;
    }
    .dashboard-status-card .chart-legend {
        width: min(100%, 280px);
        max-width: 280px;
    }
    .dashboard-status-card .chart-value {
        display: inline-block;
        min-width: 66px;
        text-align: right;
    }
}
@media (prefers-reduced-motion: reduce) {
    .donut-slice { transition: none; }
}



.nav-bell-toggle {
    position: relative;
    display: flex;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px 8px;
    line-height: 1;
    border-radius: 8px;
    color: rgba(255, 255, 255, .82);
}
.nav-bell-toggle:hover {
    color: #fff;
    background: rgba(255, 255, 255, .14);
}
.nav-bell-icon {
    width: 20px;
    height: 20px;
    display: block;
}
.nav-bell-badge {
    position: absolute;
    top: 0;
    right: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 999px;
    background: #fff;
    color: #1F2937;
    border: 1px solid color-mix(in srgb, var(--primary) 24%, #fff);
    box-shadow: 0 1px 3px rgba(31, 36, 48, .16);
    font-family: var(--font-family-status);
    font-size: 11px;
    font-weight: 500;
    line-height: 1;
    text-align: center;
    box-sizing: border-box;
}


.nav-count-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    margin-left: auto;
    min-width: 22px;
    min-height: 22px;
    padding: 2px 7px;
    border-radius: 999px;
    background: var(--primary-light);
    color: var(--primary);
    font-family: inherit;
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
    box-sizing: border-box;
}

.dsp-failure-badge {
    display: inline-flex;
    align-items: center;
}
.delivery-failure-count {
    display: inline-flex;
    min-width: 22px;
    height: 22px;
    margin-left: 6px;
    padding: 0 6px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--alert-border);
    border-radius: 999px;
    background: var(--alert-bg);
    color: var(--alert-text);
    box-shadow: 0 1px 3px rgb(143 20 27 / 14%);
    font: inherit;
    font-size: 11px;
    line-height: 1;
    vertical-align: middle;
    cursor: help;
}
.delivery-failure-count > strong { font-weight: 600; }
.nav-bell-menu {
    min-width: 290px;
    max-width: 340px;
    margin-top: 0;
}
.nav-bell-item { display: block; padding: 9px 12px; }
.nav-bell-item strong { display: block; font-size: 13px; }
.nav-bell-item span { display: block; font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.nav-bell-empty { display: block; padding: 14px 12px; font-size: 13px; color: var(--text-muted); }
.nav-bell-all {
    display: block;
    margin: 0 -6px -6px;
    padding: 9px 18px;
    border-top: 1px solid var(--table-border);
    border-radius: 0 0 10px 10px !important;
    font-size: 13px;
    font-weight: 600;
}

.pending-hint { color: var(--warning-text); }


.hint-text.action-hint,
.settings-hint.action-hint,
.action-hint a {
    color: var(--primary);
}


.auth-confirm-error {
    color: var(--alert-text) !important;
    margin: 8px 0 0;
}

.action-hint a {
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.action-hint a:hover {
    color: var(--primary-hover);
}


.table-input {
    width: 100%;
    max-width: 130px;
    padding: 8px 10px;
    border: 1px solid var(--field-border);
    border-radius: 8px;
    font-size: 14px;
    background: #fff;
    text-align: right;
    font-variant-numeric: tabular-nums;
}
.table-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.data-table td.num, .data-table th.num {
    text-align: right;
    font-variant-numeric: tabular-nums;
}
.release-jobs-table td.num,
.release-jobs-table th.num {
    text-align: center;
}
.cell-hint {
    display: block;
    font-size: 12px;
    line-height: 16px;
    min-height: 16px;      
    color: var(--text-muted);
    margin-top: 4px;
}

.data-table td.quota-cell {
    vertical-align: top;
    white-space: nowrap;
}

.form-row textarea { min-height: 90px; resize: vertical; }
.form-row input[type=file] { padding: 8px 0; }

.form-actions { display: flex; gap: 10px; margin-top: 20px; align-items: center; }

button, .btn {
    display: inline-block;
    background: var(--primary);
    color: var(--primary-contrast);
    border: none;
    padding: 9px 16px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    line-height: 1.2;
    cursor: pointer;
    text-decoration: none;
    letter-spacing: .1px;
}

button:hover, .btn:hover { background: var(--primary-hover); color: var(--primary-dark-contrast); }

.btn-secondary { background: #fff; color: var(--primary); border: 1px solid var(--primary); font-weight: 400; }
.btn-secondary:hover { background: var(--primary-light); color: var(--primary); border-color: var(--primary); }

.btn-info { background: var(--freeze-action-bg); color: #FFFFFF; }
.btn-info:hover { background: var(--freeze-action-hover-bg); color: #FFFFFF; }
.btn-danger { background: var(--primary); color: var(--primary-contrast); }
.btn-danger:hover { background: var(--primary-hover); color: var(--primary-dark-contrast); }
.btn-small {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    min-width: 64px;
    padding: 6px 16px;
    box-sizing: border-box;
    border-radius: 4px;
    font-family: var(--font-family-control);
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.75;
    white-space: nowrap;
    text-transform: uppercase;
    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,
                box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,
                border 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
}


.filter-bar {
    display: flex;
    gap: 10px;
    margin-top: 16px;
    flex-wrap: wrap;
    align-items: center;
    width: 100%;
    min-width: 0;
    max-width: 100%;
}



select,
select option {
    color: var(--text-muted);
    font-weight: 400;
}

button,
.btn {
    box-shadow: none;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease;
}


.btn,
.btn-danger,
.btn-secondary,
button[type="submit"]:not([class]),
button[type="submit"][class=""],
button[type="submit"][class="rm-btn-loading"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    padding: 6px 16px;
    min-width: 64px;
    box-sizing: border-box;
    font-family: var(--font-family-control);
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.75;
    white-space: nowrap;
    border-radius: 4px;
    text-transform: uppercase;
    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,
                box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,
                border 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
}

.nav-dropdown-menu a,
.dsp-status-menu button {
    color: #1f1f21;
    font-weight: 400;
}


#rmContent > h1:first-child,
#rmContent > .card > h1:first-child,
#rmContent > .card > h2:first-child,
#rmContent > .card > .row-between:first-child > h2 {
    margin-top: 0;
    margin-bottom: 18px;
    color: var(--text-main);
    font-family: var(--font-family-heading);
    font-size: 36px;
    font-weight: 400;
    line-height: 1.235;
    letter-spacing: -.02em;
}

@media (max-width: 640px) {
    #rmContent > h1:first-child,
    #rmContent > .card > h1:first-child,
    #rmContent > .card > h2:first-child,
    #rmContent > .card > .row-between:first-child > h2 {
        margin-bottom: 14px;
        font-size: 28px;
        line-height: 1.25;
    }
}



.dsp-list-filter {
    margin-bottom: 18px;
}

.dsp-top-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .dsp-top-actions {
        width: 100%;
        flex-wrap: nowrap;
    }

    .dsp-top-actions .btn {
        flex: 1 1 0;
        width: 50%;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
}


.filter-bar-2row {
    flex-wrap: wrap;
    flex-direction: column;
    align-items: stretch;
}
.filter-bar-row1,
.filter-bar-row2 {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}
@media (min-width: 721px) {
    .filter-bar-row1 { flex-wrap: nowrap; }
}

.filter-bar input[type=text],
.filter-bar input[type=search],
.filter-bar input[type=date],
.filter-bar input[type=month],
.filter-bar input[type=time],
.filter-bar input[type=week],
.filter-bar input[type=datetime-local],
.filter-bar select {
    height: 36px;
    min-height: 36px;
    padding: 6px 14px;
    border: 1px solid var(--control-border);
    border-radius: 999px;
    box-sizing: border-box;
    font-family: inherit;
    font-size: 14px;
    font-weight: 400;
    background-color: #fff;
    color: var(--text-muted);
}


.filter-bar button,
.filter-bar .btn {
    height: 36px;
    min-height: 36px;
    box-sizing: border-box;
}


.filter-bar :is(
    input[type=text],
    input[type=search],
    input[type=date],
    input[type=month],
    input[type=time],
    input[type=week],
    input[type=datetime-local],
    select,
    button,
    .btn
) {
    height: 36px;
    min-height: 36px;
    max-height: 36px;
    block-size: 36px;
    min-block-size: 36px;
    max-block-size: 36px;
    box-sizing: border-box;
}
.filter-bar :is(
    input[type=date],
    input[type=month],
    input[type=time],
    input[type=week],
    input[type=datetime-local]
) {
    padding-block: 0;
    line-height: 34px;
}
.filter-bar :is(
    input[type=date],
    input[type=month],
    input[type=time],
    input[type=week],
    input[type=datetime-local]
)::-webkit-date-and-time-value {
    min-height: 0;
    line-height: 34px;
}

.filter-bar select {
    padding-right: 34px;
}

.filter-bar input[type=text] {
    flex: 1;
    min-width: 220px;
    border-radius: 8px;
    font-weight: 400;
}


@media (min-width: 701px) {
    .filter-bar > input[type=text],
    .filter-bar > input[type=search],
    .filter-bar-row1 > input[type=text],
    .filter-bar-row1 > input[type=search],
    .filter-bar-row2 > input[type=text],
    .filter-bar-row2 > input[type=search] {
        width: auto;
        min-width: 220px;
        max-width: 520px;
        flex: 1 1 320px;
    }
    .filter-bar > select,
    .filter-bar-row1 > select,
    .filter-bar-row2 > select {
        width: auto;
        min-width: 180px;
        max-width: 280px;
        flex: 1 1 190px;
    }
}


.filter-bar-control-slot {
    display: block;
    width: auto;
    min-width: 180px;
    max-width: 280px;
    flex: 1 1 190px;
}

.filter-bar-row1 > .filter-bar-control-slot,
.filter-bar-row2 > .filter-bar-control-slot {
    max-width: 280px;
    flex: 1 1 190px;
}
.filter-bar-control-slot > :is(select, .rm-searchable-select-shell) {
    width: 100%;
    min-width: 0;
    max-width: 100%;
}
@media (max-width: 700px) {
    .filter-bar-control-slot {
        width: 100%;
        min-width: 0 !important;
        max-width: none;
        flex-basis: 100%;
    }
}

.filter-bar input[type=date],
.filter-bar input[type=month],
.filter-bar input[type=time],
.filter-bar input[type=week],
.filter-bar input[type=datetime-local] {
    border-radius: 8px;
    font-weight: 400;
    
}

.filter-bar input:focus,
.filter-bar select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}


select:not([multiple]):not(:focus) {
    border-color: var(--control-border);
}

table.data-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: none;
    border: 1px solid var(--table-border);
}

table.data-table th {
    text-align: left;
    font-family: inherit;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.35;
    letter-spacing: 0;
    text-transform: uppercase;
    color: var(--text-main);
    padding: 13px 16px;
    border-bottom: 1px solid var(--table-border);
    background: var(--primary-subtle);
}

table.data-table th > a {
    display: inline-block;
    overflow: hidden;
    max-width: 100%;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: inherit;
    font: inherit;
    margin: 0;
    padding: 0;
    border: 0;
    text-decoration: none;
    text-transform: inherit;
    vertical-align: middle;
}
table.data-table th > a:hover { text-decoration: none; }

table.data-table td {
    padding: 13px 16px;
    border-bottom: none;
    font-size: 14px;
    vertical-align: middle;
}

table.data-table tbody tr:nth-child(even) td { background: var(--primary-subtle); }
table.data-table tbody tr:hover td { background: var(--primary-light); }
table.data-table tbody tr:last-child td { border-bottom: none; }


.entity-related-albums-card .filter-bar {
    margin-bottom: 12px;
}
.entity-related-albums-table tbody td {
    border-bottom: none;
}


table.data-table.entity-list-flat-rows tbody td {
    border-bottom: none;
}
.data-table :is(th,td).entity-col-center {
    text-align: center;
}


.dsp-delivery-status-card table.data-table {
    border: 1px solid var(--table-border);
    border-radius: 4px;
}
.dsp-delivery-status-card table.data-table tbody td {
    border-bottom: none;
}

table.data-table a {
    color: var(--catalog-accent);
    text-decoration: none;
    font-weight: 600;
}
table.data-table a:hover { text-decoration: underline; }


table.data-table a.hint-faint,
table.data-table a.hint-text {
    color: var(--text-faint);
    font-weight: 400;
}
table.data-table a.hint-text { color: var(--text-muted); }


.delivery-row-actions {
    display: flex;
    align-items: center;
    gap: 0;
    min-height: 36px;
}
.delivery-row-actions > .hint-faint {
    display: inline-flex;
    align-items: center;
    margin-left: 16px;
    min-height: 36px;
    line-height: 1.2;
}

.delivery-list-table th:last-child,
.delivery-list-table td:last-child {
    width: 1%;
    white-space: nowrap;
}

table.data-table.delivery-list-table .delivery-status-column {
    width: 1%;
    white-space: nowrap;
    padding-left: 8px;
}
table.data-table.delivery-list-table .delivery-owner-column {
    width: 1%;
    white-space: nowrap;
    padding-right: 8px;
}

table.data-table.delivery-list-table .delivery-cover-column {
    text-align: center;
}

@media (min-width: 1800px) {
    
    table.data-table.delivery-list-table {
        table-layout: fixed;
    }

    table.data-table.delivery-list-table .delivery-bulk-column {
        width: 84px;
    }

    table.data-table.delivery-list-table .delivery-cover-column {
        width: 72px;
    }

    table.data-table.delivery-list-table .delivery-cover-column {
        padding-left: 0;
        padding-right: 32px;
    }

    table.data-table.delivery-list-table .delivery-title-column {
        width: 342px;
        max-width: 342px;
    }
    table.data-table.delivery-list-table .delivery-artists-column {
        width: 252px;
        max-width: 252px;
    }
    table.data-table.delivery-list-table .delivery-upc-column {
        width: 240px;
        max-width: 240px;
    }
    table.data-table.delivery-list-table .delivery-owner-column {
        width: 204px;
        min-width: 204px;
        max-width: 204px;
    }

    table.data-table.delivery-list-table .delivery-status-column {
        width: 204px;
        min-width: 204px;
        max-width: 204px;
    }

    table.data-table.delivery-list-table th:last-child,
    table.data-table.delivery-list-table td:last-child {
        width: auto;
    }

    .delivery-list-table .delivery-row-actions {
        justify-content: flex-end;
    }
}
table.data-table.delivery-list-table .delivery-status-content {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}


@media (max-width: 1280px) {
    table.data-table.delivery-list-table th.delivery-owner-column,
    table.data-table.delivery-list-table td.delivery-owner-column {
        display: none;
    }
}
@media (max-width: 1120px) {
    table.data-table.delivery-list-table th.delivery-artists-column,
    table.data-table.delivery-list-table td.delivery-artists-column {
        display: none;
    }
}
@media (max-width: 980px) {
    table.data-table.delivery-list-table th.delivery-cover-column,
    table.data-table.delivery-list-table td.delivery-cover-column {
        display: none;
    }
}


table.data-table.release-jobs-live-table .rjl-col-album {
    min-width: 130px;
}
table.data-table.release-jobs-live-table .rjl-col-select {
    width: 36px;
    min-width: 36px;
    text-align: center;
}
table.data-table.release-jobs-live-table .rjl-col-dsp {
    min-width: 120px;
}
table.data-table.release-jobs-live-table .rjl-col-status {
    min-width: 116px;
    text-align: center;
}
table.data-table.release-jobs-live-table td.rjl-col-actions {
    width: 1%;
    min-width: 360px;
    white-space: normal;
}
table.data-table.release-jobs-live-table td.rjl-col-actions > .row-actions {
    grid-template-columns: repeat(4, minmax(78px, 1fr));
    grid-auto-flow: row;
    width: 100%;
}
.rjl-live-filter-groups {
    display:flex;
    align-items:stretch;
    margin-top:10px;
}
.rjl-live-filter-groups > .rjl-live-filter-tabs { margin:0; }
.rjl-live-filter-groups.has-module-tabs > .rjl-type-filter-tabs {
    margin-left:28px;
    padding-left:28px;
    border-left:3px solid var(--primary);
}
@media (max-width: 1400px) {
    table.data-table.release-jobs-live-table td.rjl-col-actions {
        min-width: 180px;
    }
    table.data-table.release-jobs-live-table td.rjl-col-actions > .row-actions {
        grid-template-columns: repeat(2, minmax(78px, 1fr));
    }
}
@media (max-width: 1280px) {
    table.data-table.release-jobs-live-table .rjl-col-upc {
        display: none;
    }
}
@media (max-width: 760px) {
    table.data-table.release-jobs-live-table .rjl-col-type {
        display: none;
    }
}
@media (max-width: 700px) {
    table.data-table.release-jobs-live-table .rjl-col-time {
        display: none;
    }
}
@media (max-width: 640px) {
    .rjl-live-filter-groups { flex-direction:column; }
    .rjl-live-filter-groups.has-module-tabs > .rjl-type-filter-tabs {
        margin-left:0;
        margin-top:10px;
        padding-left:0;
        border-left:0;
    }
    .rjl-live-filter-tabs { justify-content:center; }
    .table-scroll:has(> .release-jobs-live-table) {
        overflow-x: hidden !important;
    }
    table.data-table.release-jobs-live-table {
        display: block;
        width: 100%;
        min-width: 0 !important;
        border: 0;
        table-layout: auto;
    }
    table.data-table.release-jobs-live-table > thead {
        position: absolute;
        width: 1px;
        height: 1px;
        margin: -1px;
        padding: 0;
        overflow: hidden;
        clip-path: inset(50%);
        white-space: nowrap;
    }
    table.data-table.release-jobs-live-table > tbody {
        display: block;
        width: 100%;
    }
    table.data-table.release-jobs-live-table > tbody > tr {
        display: grid;
        position: relative;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 6px;
        grid-template-areas:
            "album album"
            "dsp status"
            "actions actions";
        width: 100%;
        min-width: 0;
        padding-inline: 14px;
        margin-bottom: 10px;
        border: 1px solid var(--border);
        border-radius: 10px;
        overflow: hidden;
        background: var(--surface);
        box-sizing: border-box;
    }
    table.data-table.release-jobs-live-table > tbody > tr > td {
        display: flex;
        align-items: center;
        min-width: 0 !important;
        width: auto !important;
        min-height: 40px;
        padding: 7px 10px;
        border: 0;
        border-bottom: 1px solid var(--border);
        box-sizing: border-box;
        overflow: hidden;
    }
    table.data-table.release-jobs-live-table .rjl-col-select {
        position: absolute;
        top: 0;
        left: 0;
        z-index: 1;
        justify-content: flex-start;
        width: 44px !important;
        height: 44px;
        min-width: 0;
        padding: 0;
        border: 0;
    }
    table.data-table.release-jobs-live-table .rjl-row-check-hit {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        margin: 0;
        cursor: pointer;
    }
    table.data-table.release-jobs-live-table .rjl-col-select input[type="checkbox"] {
        width: 24px;
        height: 24px;
        margin: 0;
    }
    table.data-table.release-jobs-live-table .rjl-col-album {
        grid-area: album;
        justify-content: center;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        padding-inline: 44px;
        text-align: center;
    }
    table.data-table.release-jobs-live-table .rjl-col-dsp {
        grid-area: dsp;
        justify-content: flex-start;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    table.data-table.release-jobs-live-table .rjl-col-status {
        grid-area: status;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        min-width: 0;
        text-align: center;
    }
    table.data-table.release-jobs-live-table .rjl-col-status .release-job-status-badges {
        min-width: 0;
        justify-content: center;
    }
    table.data-table.release-jobs-live-table .rjl-col-upc,
    table.data-table.release-jobs-live-table .rjl-col-type,
    table.data-table.release-jobs-live-table .rjl-col-time {
        display: none !important;
    }
    table.data-table.release-jobs-live-table td.rjl-col-actions {
        grid-area: actions;
        display: block;
        min-width: 0;
        padding: 9px 0;
        border-bottom: 0;
    }
    table.data-table.release-jobs-live-table td.rjl-col-actions > .row-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
        width: 100%;
        min-width: 0;
        margin: 0;
    }
    table.data-table.release-jobs-live-table td.rjl-col-actions > .row-actions > * {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        min-width: 0;
        min-height: 44px;
        margin: 0;
    }
    table.data-table.release-jobs-live-table td.rjl-col-actions > .row-actions > :last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }
}


table.data-table .btn,
table.data-table a.btn {
    color: #fff;
    text-decoration: none;
}
table.data-table .btn:hover,
table.data-table a.btn:hover {
    text-decoration: none;
}
table.data-table .btn-secondary,
table.data-table a.btn-secondary {
    color: var(--primary);
}

.status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    height: 24px;
    min-height: 24px;
    padding: 0 10px;
    box-sizing: border-box;
    border-radius: 999px;
    font-family: inherit;
    font-size: 12px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: .15px;
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


.status-badge:is(
    .status-draft,
    .status-pending,
    .status-delivered,
    .status-rejected,
    .status-reviewed,
    .status-takedown,
    .status-submitted,
    .status-dsp-draft,
    .status-dsp-pending,
    .status-dsp-submitted,
    .status-dsp-delivered,
    .status-dsp-takedown
) {
    width: 112px;
}


.status-badge-set .status-badge {
    width: var(--status-badge-width, 112px);
}
.status-badge-set--compact { --status-badge-width: 92px; }
.status-badge-set--summary { --status-badge-width: 132px; }
.status-badge--fit { width: auto !important; }
.track-list-table .track-draft-column {
    width:42px;
    min-width:42px;
    max-width:42px;
    text-align:center !important;
}
.track-draft-state {
    position:relative;
    display:inline-grid;
    place-items:center;
    width:20px;
    height:20px;
    color:var(--text-muted);
    vertical-align:middle;
}
.track-draft-state::after {
    content:attr(data-tooltip);
    position:absolute;
    z-index:1200;
    left:50%;
    bottom:calc(100% + 7px);
    width:max-content;
    max-width:min(220px, 70vw);
    padding:6px 8px;
    border:1px solid var(--table-border);
    border-radius:5px;
    background:var(--surface-bg, var(--surface, #fff));
    color:var(--text-main);
    box-shadow:0 8px 22px color-mix(in srgb, #000 20%, transparent);
    font-size:12px;
    font-weight:400;
    line-height:1.3;
    white-space:normal;
    pointer-events:none;
    opacity:0;
    transform:translate(-50%, 3px);
    transition:opacity .06s linear, transform .06s linear;
}
.track-draft-state:is(:hover,:focus-visible)::after {
    opacity:1;
    transform:translate(-50%, 0);
}
.track-draft-state:focus-visible {
    outline:2px solid var(--primary);
    outline-offset:2px;
    border-radius:3px;
}
.track-draft-state > svg {
    width:16px;
    height:16px;
    fill:none;
    stroke:currentColor;
    stroke-width:1.8;
    stroke-linecap:round;
    stroke-linejoin:round;
}


.status-skipped {
    background: var(--freeze-action-bg) !important;
    color: #FFFFFF !important;
    opacity: 1;
}


[data-rm-dsp-live-status] > .dsp-state-badge {
    width: 112px;
}

.status-active { background: var(--status-active-bg, #DCFCE7); color: var(--status-active-text, #166534); opacity: var(--status-opacity, 1); }
.status-enterprise-inactive { background: var(--enterprise-inactive-bg, var(--status-pending-bg, #C56A20)); color: var(--enterprise-inactive-text, var(--status-pending-text, #FFFFFF)); opacity: var(--status-opacity, 1); }
.status-draft { background: var(--album-draft-bg, var(--surface-soft)); color: var(--album-draft-text, var(--text-muted)); opacity: var(--status-opacity, 1); }
.status-neutral { background: var(--neutral-badge-bg); color: var(--neutral-badge-text); border: 1px solid var(--neutral-badge-border); }
.status-mode-auto {
    background: #0F766E;
    color: #FFFFFF;
}
.status-mode-manual {
    background: var(--status-pending-bg, var(--warning-bg));
    color: var(--status-pending-text, var(--warning-text));
}
.status-sandbox-mock {
    background: #6D28D9;
    color: #FFFFFF;
}
.status-disabled, .status-rejected { background: var(--status-rejected-bg, var(--alert-bg)); color: var(--status-rejected-text, var(--alert-text)); opacity: var(--status-opacity, 1); }
.status-pending { background: var(--status-pending-bg, var(--warning-bg)); color: var(--status-pending-text, var(--warning-text)); opacity: var(--status-opacity, 1); }
.status-submitted { background: var(--info-bg); color: var(--info-text); }
.status-delivered { background: var(--status-delivered-bg, var(--primary-light)); color: var(--status-delivered-text, var(--primary-dark)); opacity: var(--status-opacity, 1); }
.status-reviewed { background: var(--primary-light); color: var(--catalog-accent); }
.status-takedown { background: var(--status-takedown-bg, #111827); color: var(--status-takedown-text, #fff); opacity: var(--status-opacity, 1); }

.status-dsp-pending { background: var(--status-pending-bg, var(--warning-bg)); color: var(--status-pending-text, var(--warning-text)); opacity: var(--status-opacity, 1); }
.status-dsp-draft { background: var(--dsp-draft-bg, var(--surface-soft)); color: var(--dsp-draft-text, var(--text-muted)); opacity: var(--status-opacity, 1); }
.status-dsp-submitted { background: var(--info-bg); color: var(--info-text); }
.status-dsp-delivered { background: var(--status-delivered-bg, var(--primary-light)); color: var(--status-delivered-text, var(--catalog-accent)); opacity: var(--status-opacity, 1); }
.status-dsp-takedown { background: var(--status-takedown-bg, #111827); color: var(--status-takedown-text, #fff); opacity: var(--status-opacity, 1); }


.release-jobs-table td:has(> .status-badge) > .status-badge:first-child,
#rjlTable .release-job-status-badges > .status-badge:first-child {
    width: 92px;
    box-sizing: border-box;
    text-align: center;
    white-space: nowrap;
}
.release-jobs-table .status-active,
#rjlTable .status-active {
    background: var(--status-active-bg, #DCFCE7) !important;
    color: var(--status-active-text, #166534) !important;
    opacity: var(--status-opacity, 1);
}
.release-jobs-table .status-disabled,
#rjlTable .status-disabled {
    background: var(--status-rejected-bg, var(--alert-bg)) !important;
    color: var(--status-rejected-text, var(--alert-text)) !important;
    opacity: var(--status-opacity, 1);
}

#rjlTable tr:has(button[onclick*="'unfreeze'"]) .release-job-status-badges > .status-badge:first-child {
    background: #1D63A5 !important;
    color: #FFFFFF !important;
    opacity: 1;
}


#rjlTable .release-job-status-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 5px 6px;
    min-width: 0;
}


#rjlTable .release-job-status-badges > .release-job-priority-badge {
    width: 92px;
    box-sizing: border-box;
    text-align: center;
    white-space: nowrap;
}


.release-jobs-table .rj-history-col-status {
    text-align: center;
    min-width: 108px;
}
.release-jobs-table .rj-history-col-status .release-job-status-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 5px 6px;
}
.release-jobs-table .rj-history-col-status .status-badge {
    width: auto;
    min-width: 92px;
    box-sizing: border-box;
    white-space: nowrap;
    text-align: center;
}


.release-jobs-table .rj-history-col-note {
    width: 1%;
    min-width: 138px;
    max-width: 176px;
    text-align: center;
    white-space: nowrap;
}
.release-jobs-table .rj-history-col-note .status-badge {
    width: auto;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    white-space: nowrap;
    text-align: center;
}

#rjlTable .rjl-col-status .release-job-step {
    text-align: center;
}


table.data-table.album-list-table .status-delivered,
.dsp-delivery-status-card .status-dsp-delivered,
table.data-table.delivery-private-dsps-table .status-delivered,
table.data-table.delivery-list-table .status-delivered {
    color: var(--status-delivered-text, var(--catalog-accent));
}

.delivery-album-status {
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
    perspective: 600px;
}
@media(max-width:640px) {
    .delivery-album-status-label { display:none; }
    .delivery-album-indicators { display:flex;align-items:center;gap:12px;margin-top:8px; }
    .delivery-album-indicators .modified-flag { margin:-12px; }
    .delivery-album-indicators > [data-rm-album-modified-flag]:empty,
    .delivery-album-indicators > [data-rm-album-activity]:empty { display:none; }
}
.delivery-album-summary {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}


table.data-table.album-list-table .col-album-status {
    width: 1%;
    min-width: 140px;
    white-space: nowrap;
}
table.data-table.album-list-table th.col-album-status {
    text-align: center;
}
table.data-table.album-list-table .album-status-content {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex-wrap: nowrap;
    white-space: nowrap;
}
@media (max-width: 1320px) {
    table.data-table.album-list-table th.col-responsive-owner,
    table.data-table.album-list-table td.col-responsive-owner,
    table.data-table.track-list-table th.col-responsive-owner,
    table.data-table.track-list-table td.col-responsive-owner {
        display: none;
    }
}
@media (max-width: 1120px) {
    table.data-table.album-list-table th.col-responsive-release-date,
    table.data-table.album-list-table td.col-responsive-release-date {
        display: none;
    }
}


.dsp-irrevocable-lock {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 4px;
    color: var(--primary);
    vertical-align: middle;
    cursor: help;
}
.dsp-irrevocable-lock svg {
    display: block;
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}


.dsp-processing-direction {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 24px;
    margin-left: 5px;
    vertical-align: middle;
    opacity: .84;
    cursor: help;
    animation: rm-dsp-direction-glint 3.2s ease-in-out infinite;
}
.dsp-processing-direction.dsp-processing-direction--up { color: #278A4B !important; }
.dsp-processing-direction.dsp-processing-direction--down { color: #D97706 !important; }
.dsp-processing-direction svg {
    display: block;
    width: 16px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
html[data-theme="dark"] .dsp-processing-direction.dsp-processing-direction--up { color: #56CC82 !important; }
html[data-theme="dark"] .dsp-processing-direction.dsp-processing-direction--down { color: #F6A23C !important; }
@keyframes rm-dsp-direction-glint {
    0%, 58%, 100% { opacity: .84; filter: brightness(1) drop-shadow(0 0 0 transparent); }
    66% { opacity: 1; filter: brightness(1.65) drop-shadow(0 0 2px rgb(255 255 255 / 50%)); }
    72% { opacity: .9; filter: brightness(1.1) drop-shadow(0 0 1px rgb(255 255 255 / 16%)); }
}


.rm-quickgen-btn {
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 15px;
    padding: 2px 6px;
    border-radius: 6px;
    vertical-align: middle;
    line-height: 1;
    color: var(--primary);
}
.rm-quickgen-btn:hover,
.rm-quickgen-btn:focus-visible { background: var(--primary-subtle); color: var(--primary); }
.rm-quickgen-btn:disabled { opacity: 0.5; cursor: default; }
.rm-quickgen-icon { width: 15px; height: 15px; vertical-align: middle; }
.rm-quickgen-field { display: flex; align-items: center; gap: 6px; }
.rm-quickgen-field > input { min-width: 0; flex: 1 1 auto; }
html[data-theme="dark"] .rm-quickgen-btn,
html[data-theme="dark"] .rm-quickgen-btn:hover,
html[data-theme="dark"] .rm-quickgen-btn:focus-visible { color: #fff; }


.dsp-status-chip-group { display: flex; gap: 8px; flex-wrap: wrap; }
.dsp-status-chip {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    border: 2px solid transparent;
    opacity: var(--status-opacity, 1);
    transition: opacity .12s, filter .12s, border-color .12s, box-shadow .12s;
    flex:1 1 104px;
    max-width:128px;
    min-width:104px;
    justify-content:center;
    box-sizing:border-box;
    text-align:center;
}
.dsp-status-chip:hover { filter: brightness(1.08); }
.dsp-status-chip-group.has-selection .dsp-status-chip:not(.is-selected) {
    opacity: .32;
    filter: saturate(.35);
}
.dsp-status-chip-group.has-selection .dsp-status-chip:not(.is-selected):hover {
    opacity: .55;
}
.dsp-status-chip.is-selected {
    opacity: var(--status-opacity, 1);
    border-color: currentColor;
    box-shadow: 0 0 0 1px var(--surface-raised, var(--page-bg));
}
.dsp-status-chip input[type=radio] {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}
@media (max-width:640px) {
    .rm-status-choice-grid {
        display:grid;
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:10px;
        width:100%;
        text-align:center;
    }
    .rm-status-choice-card,
    .dsp-status-chip-group.rm-status-choice-grid > .rm-status-choice-card {
        width:100%;
        min-width:0;
        max-width:none;
        min-height:44px;
        display:inline-flex;
        align-items:center;
        justify-content:center;
        border-radius:999px;
        line-height:1.2;
        white-space:normal;
        text-align:center;
    }
    .rm-status-choice-grid > .rm-status-choice-card:last-child:nth-child(odd) {
        grid-column:1 / -1;
        width:calc((100% - 10px) / 2);
        justify-self:center;
    }
    .rm-status-choice-card:hover { filter:brightness(1.06); }
    .rm-status-choice-card:focus-visible { outline:2px solid var(--primary); outline-offset:2px; }
    .rm-status-choice-card:focus:not(:focus-visible) { outline:none; }
    .rm-status-choice-card:active { transform:none; box-shadow:none; }
    .album-mobile-status-modal .rm-status-choice-card.is-selected,
    .album-mobile-status-modal .rm-status-choice-card.is-selected:hover,
    .album-mobile-status-modal .rm-status-choice-card.is-selected:focus,
    .album-mobile-status-modal .rm-status-choice-card.is-selected:active {
        border-color:transparent !important;
        box-shadow:none !important;
        filter:none;
        transform:none;
    }
    html:not([data-theme="dark"]) .rm-status-choice-card:is(.status-dsp-pending,.status-dsp-delivered,.status-album-pending,.status-album-submitted) {
        color:#111827;
    }
    html[data-theme="dark"] .rm-status-choice-card:is(.status-dsp-pending,.status-album-pending) {
        background:color-mix(in srgb,var(--status-pending-bg,#c56a20) 55%,#000);
        color:#fff;
    }
    html[data-theme="dark"] .rm-status-choice-card:is(.status-dsp-delivered,.status-album-submitted) {
        background:color-mix(in srgb,var(--status-delivered-bg,#0b7d5b) 55%,#000);
        color:#fff;
    }
}
@media (max-width:640px) {
    .rm-status-choice-card:hover { filter:none; }
}

@media (max-width:640px) {
    
    .delivery-private-dsps-table > tbody > tr.is-mobile-selected,
    .delivery-private-dsps-table > tbody > tr.is-mobile-selected:hover {
        background:transparent !important;
        box-shadow:none !important;
    }
    html body table.data-table.delivery-private-dsps-table > tbody > tr.is-mobile-selected > td,
    html body table.data-table.delivery-private-dsps-table > tbody > tr.is-mobile-selected:hover > td {
        background:transparent !important;
        box-shadow:none !important;
    }
    .delivery-private-dsps-table > tbody > tr.is-mobile-selected > td.album-dsp-identity-cell,
    .delivery-private-dsps-table > tbody > tr.is-mobile-selected:hover > td.album-dsp-identity-cell {
        border-left:3px solid var(--dsp-selected-border) !important;
    }
}

.album-mobile-status-modal .modal-close:focus-visible {
    outline:2px solid var(--primary);
    outline-offset:2px;
    border-radius:8px;
}


.dsp-status-chip.status-dsp-pending,
.rm-status-choice-card.status-album-pending {
    background: var(--status-pending-bg) !important;
    color: var(--status-pending-text) !important;
}
.dsp-status-chip.status-dsp-delivered,
.rm-status-choice-card.status-album-submitted {
    background: var(--status-delivered-bg) !important;
    color: var(--status-delivered-text) !important;
}
.dsp-status-chip.status-dsp-takedown,
.rm-status-choice-card.status-album-takedown {
    background: var(--status-takedown-bg) !important;
    color: var(--status-takedown-text) !important;
}
.dsp-status-chip.status-dsp-draft,
.rm-status-choice-card.status-album-draft {
    background: var(--dsp-draft-bg) !important;
    color: var(--dsp-draft-text) !important;
}
.rm-status-choice-card.status-album-rejected {
    background: var(--status-rejected-bg) !important;
    color: var(--status-rejected-text) !important;
}
html:not([data-theme="dark"]) .rm-status-choice-card:is(.status-dsp-pending,.status-dsp-delivered,.status-album-pending,.status-album-submitted) {
    color:#111827 !important;
}
html[data-theme="dark"] .rm-status-choice-card:is(.status-dsp-pending,.status-album-pending) {
    background:color-mix(in srgb,var(--status-pending-bg,#c56a20) 55%,#000) !important;
    color:#fff !important;
}
html[data-theme="dark"] .rm-status-choice-card:is(.status-dsp-delivered,.status-album-submitted) {
    background:color-mix(in srgb,var(--status-delivered-bg,#0b7d5b) 55%,#000) !important;
    color:#fff !important;
}


.track-block { border: 1px solid #e5e7eb; border-radius: 12px; margin-bottom: 14px; overflow: hidden; }
.track-block-header { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; background: var(--surface-soft); cursor: pointer; }
.track-block-header-actions { display: flex; gap: 6px; align-items: center; }
.track-block-chevron { transition: transform .15s; color: var(--text-faint); margin-left: 4px; }
.track-block.collapsed .track-block-chevron { transform: rotate(-90deg); }
.track-block.collapsed .track-block-body { display: none; }

.btn-x-remove { border: none; background: none; color: var(--text-faint); font-size: 18px; line-height: 1; cursor: pointer; padding: 0 4px; }
.btn-x-remove:hover { color: var(--alert-text); }
.track-block-body { padding: 16px; }


.field-error {
    border-color: var(--alert-border) !important;
    background: var(--alert-bg) !important;
}
.field-error-msg {
    color: var(--alert-text);
    font-family: var(--font-family-main);
    font-weight: 400;
    font-size: 12px;
    line-height: 1.45;
    margin-top: 4px;
}


.search-clear-wrap {
    position: relative;
    display: inline-block;
}
.search-clear-wrap input[type=text] {
    padding-right: 30px !important;
}
.search-clear-btn,
.filter-bar button.search-clear-btn {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    min-width: 28px;
    min-height: 28px;
    box-sizing: border-box;
    border: none;
    background: transparent;
    color: var(--text-faint);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    border-radius: 50%;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}
.search-clear-btn:hover,
.search-clear-btn:focus-visible,
.search-clear-btn:active,
.filter-bar button.search-clear-btn:hover,
.filter-bar button.search-clear-btn:focus-visible,
.filter-bar button.search-clear-btn:active {
    color: var(--alert-text);
    background: var(--surface-soft);
}
.search-clear-btn:focus-visible,
.filter-bar button.search-clear-btn:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: -2px;
}


.textarea-label-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 10px;
}
.textarea-clear-link {
    border: none;
    background: transparent;
    color: var(--text-faint);
    font-size: 12px;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
}
.textarea-clear-link:hover { color: var(--alert-text); background: transparent; text-decoration-color: var(--alert-text); }


.dsp-status-menu {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 4px);
    background: #fff;
    border: 1px solid var(--field-border);
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .12);
    z-index: 50;
    min-width: 160px;
    overflow: hidden;
}
.dsp-status-menu.open { display: block; }
.dsp-status-menu button {
    display: block;
    width: 100%;
    text-align: left;
    background: var(--surface-bg);
    color: var(--text-main);
    border: none;
    border-radius: 0;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 400;
    height: auto;
    min-width: 0;
    line-height: 1.35;
    text-transform: none;
    cursor: pointer;
}

.dsp-status-menu button[type="submit"]:not([class]) {
    display: block;
    height: auto;
    min-width: 0;
    padding: 10px 14px;
    border-radius: 0;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.35;
    text-transform: none;
}
.dsp-status-menu button:hover {
    background: var(--primary-light);
    color: var(--primary);
}

html[data-theme="dark"] .dsp-status-menu,
html[data-theme="dark"] .dsp-status-menu button {
    background: var(--surface-bg) !important;
    color: var(--text-main) !important;
}
html[data-theme="dark"] .dsp-status-menu button:hover {
    background: var(--primary-light) !important;
    color: var(--primary) !important;
}


html[data-theme="dark"] .dsp-status-menu,
html[data-theme="dark"] .dsp-status-menu button {
    background: var(--surface-bg) !important;
    color: var(--text-main) !important;
}
html[data-theme="dark"] .dsp-status-menu button:hover {
    background: var(--primary-light) !important;
    color: var(--primary) !important;
}

.role-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 6px;
    font-family: inherit;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: .15px;
    background: var(--primary-light);
    color: var(--catalog-accent);
}

.empty-state {
    text-align: center;
    color: var(--text-faint);
    padding: 40px 0;
}


.footer {
    display: flex; justify-content: center; align-items: center;
    text-align: center;
    color: var(--text-faint);
    font-size: 12px;
    padding: 10px 0;
}
.footer-content {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:14px;
    flex-wrap:wrap;
    max-width:100%;
    text-align:center;
}
.footer p { margin: 0; }

.footer a {
    color: var(--semantic-accent, var(--primary-dark));
    text-decoration: none;
    font-weight: 600;
}



.row-actions { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }
@media (min-width: 761px) {
    table.data-table.team-list-table td > .row-actions.team-row-actions {
        display:grid;
        grid-template-columns:repeat(3,minmax(112px,1fr));
        min-width:360px;
        width:min(100%,420px);
        margin-left:auto;
    }
    table.data-table.team-list-table td > .row-actions.team-row-actions > :is(.btn,button) { width:100%; min-width:0; }
}


.rm-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.rm-back-link::before {
    content: "";
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m14.5 5-7 7 7 7M8 12h11' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m14.5 5-7 7 7 7M8 12h11' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}

.delivery-view-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 7px;
}
.delivery-view-actions > .delivery-view-edit {
    height: 36px;
    align-items: center;
    justify-content: center;
    margin-block: 0;
}
.delivery-dsp-manage-card {
    padding-bottom: 24px;
}
.delivery-add-remove-action {
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin-top: 8px;
}


table.data-table td.row-actions {
    width: 1%;
    white-space: nowrap;
}


table.release-jobs-table td.row-actions {
    display: table-cell;
    text-align: right;
    white-space: normal;
}

table.release-jobs-table td > .rj-row-actions {
    grid-auto-columns: minmax(0, 1fr);
    width: 100%;
    min-width: 244px;
}
table.release-jobs-table td > .rj-row-actions:has(> :nth-child(4)) {
    grid-auto-flow: row;
    grid-auto-columns: initial;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.rj-blocked-reason {
    cursor: help;
}


table.data-table td.dsp-list-status-cell {
    width: 124px;
    white-space: nowrap;
    text-align: center;
}

table.data-table th.dsp-list-status-cell,
table.data-table th.dsp-list-code-cell,
table.data-table td.dsp-list-code-cell {
    text-align: center;
}

table.data-table td.dsp-list-status-cell .status-badge {
    width: 112px;
    text-align: center;
}

table.data-table.dsp-list-table td.dsp-list-property-cell,
table.data-table.dsp-list-table th.dsp-list-property-cell {
    width: 132px;
    text-align: center;
    white-space: nowrap;
}

table.data-table.dsp-list-table td.dsp-list-property-cell .status-badge {
    width: 112px;
}

table.data-table.dsp-list-table :is(th, td).dsp-list-sandbox-cell {
    width: 1%;
    min-width: 88px;
    white-space: nowrap;
}

.dsp-list-bulk-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 14px 0 10px;
}

.dsp-list-filter-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1 0 100%;
    flex-basis: 100%;
    flex-wrap: wrap;
}

.dsp-list-results {
    container-type: inline-size;
}

table.data-table.dsp-list-table :is(th, td).dsp-list-select-cell {
    width: 44px;
    min-width: 44px;
    padding-left: 12px;
    padding-right: 8px;
    text-align: center;
}

.dsp-list-name-link {
    min-width: 0;
    color: var(--semantic-accent, var(--primary-dark));
    text-decoration: none;
}


table.data-table.dsp-list-table :is(th, td).dsp-list-scope-cell {
    width: 116px;
}

table.data-table.dsp-list-table :is(th, td).dsp-list-exclusive-enterprise-cell {
    width: clamp(150px, 14vw, 230px);
    max-width: 230px;
}

table.data-table.dsp-list-table td.dsp-list-exclusive-enterprise-cell {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dsp-scope-options {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin-top: 6px;
}

.dsp-scope-options .check-row {
    margin: 0;
}

@media (max-width: 1500px) {
    table.data-table.dsp-list-table :is(th, td).dsp-list-exclusive-enterprise-cell {
        display: none;
    }
}

table.data-table td.dsp-list-status-cell .status-active,
table.data-table.entity-list-flat-rows .status-active {
    background: var(--status-active-bg, #DCFCE7);
    color: var(--status-active-text, #166534);
}


.wallet-credit,
.settings-success-hint {
    color: var(--semantic-accent, var(--primary-dark)) !important;
}
.no-manager-available {
    margin: 0;
    padding: 10px 12px;
    color: var(--text-muted);
    background: var(--surface-soft);
    border-radius: 4px;
    font-size: 13px;
}


.export-column-item {
    background: var(--surface-bg);
    color: var(--text-main);
}

table.data-table td.dsp-list-actions-cell {
    width: 1%;
    white-space: nowrap;
}

table.data-table td > .row-actions.dsp-list-actions {
    --dsp-list-action-width: 152px;
    flex-wrap: nowrap;
    grid-auto-flow: row;
    grid-auto-columns: initial;
    grid-template-columns: repeat(2, var(--dsp-list-action-width));
    width: calc((var(--dsp-list-action-width) * 2) + 8px);
}


table.data-table .dsp-list-actions .dsp-list-delete-action,
table.data-table .dsp-list-actions .dsp-list-delete-placeholder {
    width: 100%;
}

table.data-table .dsp-list-actions .dsp-list-delete-action > button {
    width: 100%;
}

@media (min-width: 641px) {
    table.data-table .dsp-list-actions .dsp-list-delete-action,
    table.data-table .dsp-list-actions .dsp-list-delete-placeholder {
        display: none !important;
    }
}

@media (min-width: 641px) and (max-width: 1250px) {
    table.data-table.dsp-list-table .dsp-list-edit-action {
        display: none !important;
    }
    table.data-table td > .row-actions.dsp-list-actions {
        grid-template-columns: var(--dsp-list-action-width);
        width: var(--dsp-list-action-width);
    }
}

@container (max-width: 1250px) {
    table.data-table.dsp-list-table :is(
        .dsp-list-exclusive-enterprise-cell,
        .dsp-list-mode-cell
    ) {
        display: none;
    }
    table.data-table.dsp-list-table .dsp-list-edit-action {
        display: none !important;
    }
    table.data-table td > .row-actions.dsp-list-actions {
        grid-template-columns: var(--dsp-list-action-width);
        width: var(--dsp-list-action-width);
    }
}

table.data-table .dsp-list-toggle-btn {
    width: 100%;
    white-space: nowrap;
}


.row-actions .btn,
.row-actions button,
table.data-table .row-actions .btn,
table.data-table .row-actions button {
    min-width: 62px;
    padding: 5px 9px;
    font-size: 12px;
    text-align: center;
    justify-content: center;
}


table.data-table td > .row-actions {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(max-content, 1fr);
    width: max-content;
    max-width: none;
    margin-left: auto;
    gap: 8px;
    align-items: stretch;
}
table.data-table td > .row-actions > .btn,
table.data-table td > .row-actions > button,
table.data-table td > .row-actions > form,
table.data-table td > .row-actions > form > button {
    width: 100%;
    min-width: 0;
    margin: 0;
    white-space: nowrap;
}


.entity-toggle-label-stack {
    display: grid;
    min-width: 0;
    max-width: 100%;
    align-items: center;
    justify-items: center;
}
.entity-toggle-label-stack > span {
    grid-area: 1 / 1;
    min-width: 0;
    max-width: 100%;
}
.entity-toggle-label-measure {
    visibility: hidden;
    pointer-events: none;
}
.entity-toggle-action.btn-danger {
    box-sizing: border-box;
    border: 1px solid transparent;
}


@media (max-width: 640px) {
    table.data-table td > .row-actions {
        grid-auto-flow: row;
        grid-auto-columns: initial;
        grid-template-columns: repeat(2, minmax(max-content, 1fr));
    }
}
@media (max-width: 400px) {
    table.data-table td > .row-actions {
        grid-template-columns: minmax(max-content, 1fr);
    }
}


@media (max-width: 640px) {
    .dsp-list-bulk-actions,
    .dsp-list-selected-count,
    table.data-table.dsp-list-table .dsp-list-select-cell {
        display: none !important;
    }
    .dsp-delete-selected-action {
        display: none !important;
    }
    .dsp-list-filter-actions {
        display: block;
        width: 100%;
    }
    .dsp-list-filter-actions > button[type="submit"] {
        width: 100%;
    }
    table.data-table.dsp-list-table .dsp-list-delete-action {
        display: block;
    }
}


.action-group-equal {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(max-content, 1fr);
    gap: 8px;
    align-items: stretch;
}
.action-group-equal > .btn,
.action-group-equal > button {
    width: 100%;
    min-width: 0;
    margin: 0;
    white-space: nowrap;
}


.entity-view-actions {
    align-self: flex-start;
}
.entity-identity-card {
    display:grid;
    grid-template-columns:auto minmax(0,1fr) auto;
    align-items:center;
    gap:16px;
}
.entity-identity-card--no-avatar { grid-template-columns:minmax(0,1fr) auto; }
.entity-identity-main { min-width:0; }
.entity-identity-main .entity-view-title { overflow-wrap:anywhere; }
.entity-owner-info-trigger { display:none; gap:6px; }
.entity-owner-info-trigger--desktop-visible { display:inline-flex; }
.entity-owner-info-trigger svg { flex:0 0 auto; }
.entity-owner-info-trigger--compact { width:44px;min-width:44px;height:44px;padding:0;align-items:center;justify-content:center; }
.entity-owner-impersonate-trigger { display:inline-flex; }
.entity-owner-context-modal .modal-box { width:min(460px,calc(100vw - 32px)); }
.entity-owner-context-modal .modal-box > h3 {
    margin-inline:0;
    padding-inline:40px;
    text-align:center;
}
.entity-owner-context-details { display:grid;gap:10px;margin:18px 0; }
.entity-owner-context-details > div { display:grid;grid-template-columns:minmax(110px,.8fr) minmax(0,1.2fr);align-items:center;gap:14px;min-height:48px;padding:10px 12px;border:1px solid var(--table-border);border-radius:10px;background:var(--surface-soft); }
.entity-owner-context-details span { color:var(--text-muted); }
.entity-owner-context-details strong {
    min-width:0;
    color:var(--text-main);
    font-family:var(--font-family-main);
    font-size:15px;
    font-weight:600;
    line-height:1.4;
    overflow-wrap:anywhere;
    white-space:normal;
}
.entity-owner-context-form,.entity-owner-modal-confirm { width:100%; }
.entity-owner-change-action { display:none; justify-content:center; margin:18px 0 4px; }
.entity-owner-change-action > .btn { min-width:180px; justify-content:center; }
.entity-view-actions > .enterprise-context-value {
    display: inline-flex;
    align-items: center;
    min-width: max-content;
    min-height: 36px;
    white-space: nowrap;
}
@media (max-width: 640px) {
    .rm-stable-toggle-width {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
    }
    .entity-identity-card {
        grid-template-columns:auto minmax(0,1fr);
        align-items:start;
        gap:12px 14px;
    }
    .entity-identity-card > .entity-view-actions {
        grid-column:1 / -1;
    }
    .entity-owner-info-trigger { display:inline-flex; }
    .entity-change-owner-action { display:none !important; }
    .entity-owner-change-action { display:flex; }
    .entity-owner-impersonate-trigger,
    .entity-owner-context-modal .entity-owner-context-form,
    .entity-owner-context-modal .entity-owner-impersonate-hint { display:none !important; }
    .action-group-equal {
        grid-auto-flow: row;
        grid-template-columns: minmax(0, 1fr);
        width: 100%;
    }
    .action-group-equal > .btn,
    .action-group-equal > button {
        min-height: 44px;
    }

    .entity-view-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
        margin-left: 0;
        gap: 8px;
        justify-content: stretch;
    }
    .entity-view-actions > .btn,
    .entity-view-actions > button,
    .entity-view-actions > form,
    .entity-view-actions > form > button {
        width: 100%;
        min-width: 0;
        margin: 0;
        white-space: nowrap;
    }
    .entity-view-actions > form {
        display: block !important;
    }
    .entity-view-actions > form > button {
        min-height: 44px;
    }
    .entity-view-actions > .enterprise-context-value {
        grid-column: 1 / -1;
        justify-self: end;
        width: auto;
        min-height: 36px;
    }
}
@media (max-width: 340px) {
    .entity-view-actions {
        grid-template-columns: minmax(0, 1fr);
    }
}


table.data-table th.nowrap,
table.data-table td.nowrap { white-space: nowrap; }


.artist-row-avatar {
    display: block;
}

.avatar-upload-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 14px;
}


.cover-upload-fields { flex:1; min-width:0; }
@media (min-width:641px) {
    .album-form-page .cover-upload-fields {
        --album-form-cover-size:120px;
        --album-form-file-action-height:36px;
        height:120px;
        display:flex;
        flex-direction:column;
        justify-content:space-between;
    }
    .album-form-page .cover-upload-fields > .field-label { margin:0; }
    .album-form-page .cover-upload-fields > .settings-hint { margin:0; }
    
    .album-create-form .cover-owner-field {
        --album-form-cover-size:120px;
        --album-form-file-action-height:36px;
        height:calc((var(--album-form-cover-size) + var(--album-form-file-action-height)) / 2);
        display:flex;
        flex-direction:column;
        justify-content:space-between;
    }
    .album-create-form .cover-owner-field > label { margin:0; }
}

.avatar-preview-wrap img,
.avatar-preview-wrap div {
    display: block;
}


.status-stepper {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: #fff;
    border-bottom: 1px solid var(--border);
    font-family: inherit;
    font-size: 12px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: .15px;
    flex-wrap: wrap;
}


.status-stepper [data-rm-album-status-stepper] { display: contents; }

.status-stepper .step {
    color: #b0b6c0;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
}

.status-stepper .step.step-done {
    color: var(--text-faint);
}

.status-stepper .step.step-active {
    color: var(--warning-text);
}

.status-stepper .step.step-final {
    color: var(--catalog-accent);
}

html[data-theme="dark"] .status-stepper .step.step-final {
    color: #56CC82;
}

.status-stepper .step.step-rejected {
    color: var(--alert-text);
}

.status-stepper .arrow {
    color: var(--field-border);
    font-weight: 400;
}

.rm-album-live-activity {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-right: 8px;
    perspective: 500px;
}

.rm-album-live-activity--trailing {
    margin-left: auto;
    margin-right: 0;
}

.rm-status-card-flip {
    animation: rm-status-card-flip 720ms cubic-bezier(.22, .75, .28, 1);
    transform-origin: center center;
    backface-visibility: hidden;
    will-change: transform, opacity;
}

.rm-live-soft-enter {
    animation: rm-live-soft-enter 560ms cubic-bezier(.22, .75, .28, 1);
    transform-origin: center top;
}

.rm-live-soft-leave {
    animation: rm-live-soft-leave 220ms ease-in forwards;
    pointer-events: none;
}

@keyframes rm-live-soft-enter {
    0% { opacity: .18; transform: translateY(-4px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes rm-live-soft-leave {
    0% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(-3px); }
}

@keyframes rm-status-card-flip {
    0% { opacity: .4; transform: perspective(520px) rotateY(-58deg) scale(.98); }
    68% { opacity: 1; transform: perspective(520px) rotateY(4deg) scale(1); }
    100% { opacity: 1; transform: perspective(520px) rotateY(0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
    .rm-status-card-flip,
    .rm-live-soft-enter,
    .rm-live-soft-leave,
    .rm-processing-pulse,
    .dsp-processing-direction,
    .rjl-pulse { animation: none; }
}

.album-status-change-row { justify-content: space-between; }
.album-review-actions { display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-left:auto; }
.album-review-actions-label { margin-right:6px; }
@media (max-width:640px) {
    .album-status-change-row:has(> .album-review-actions) { row-gap:20px; }
    .album-review-actions { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;order:-1;flex-basis:100%;width:100%;margin:0; }
    .album-review-actions-label { display:none; }
    .album-review-actions > button { width:100%;min-width:0;min-height:44px;padding-inline:8px;white-space:normal;line-height:1.25; }
}
.album-status-freshness:empty { display: none; }
.album-status-freshness .modified-banner {
    margin: 12px 0 0;
}
.album-mobile-review-flag { display:none; }
.album-view-title-text { min-width:0; }

.album-view-tracks-card > .row-between.is-card-head.album-view-tracks-card-head,
.dsp-delivery-status-card > .row-between.is-card-head {
    padding-inline: 0;
}
.dsp-delivery-status-card .review-legend-wrap { padding-inline:20px; }


@media (min-width: 761px) {
    
    .album-status-freshness .modified-banner {
        margin-top: 28px;
    }
    .album-public-dsp-header-actions {
        display:flex;
    }
    .album-public-dsp-header-actions .album-dsp-selection-launch {
        margin:0;
    }
    .album-public-dsp-header-actions .album-dsp-selection-launch-button {
        height:38px !important;
        min-height:38px !important;
    }
    .album-public-dsp-header-actions .album-public-dsp-select-all {
        height:38px !important;
        min-height:38px !important;
    }
    .album-view-metadata-card {
        padding-bottom:0;
    }
    .dsp-delivery-status-card > .row-between.is-card-head {
        padding-top:17px;
    }
    .album-status-context-card {
        margin-bottom: 0;
    }
    #albumInfoWrap > .card:first-child {
        padding-bottom: 0;
        margin-bottom: 0;
    }
    #albumInfoWrap {
        
        --album-track-desktop-grid-columns: 48px 72px repeat(4, minmax(0, 1fr)) 76px 84px 152px 20px;
    }
    .album-view-tracks-card {
        --album-track-desktop-action-width: 152px;
        --album-track-desktop-action-gap: 8px;
        --album-track-desktop-edge-inset: 20px;
    }
    .btn-row.album-view-track-actions {
        display: grid;
        grid-template-columns: repeat(2, var(--album-track-desktop-action-width));
        gap: var(--album-track-desktop-action-gap);
        margin-inline-end: var(--album-track-desktop-edge-inset);
    }
    .album-view-track-actions > button {
        width: 100%;
        min-width: 0;
        margin: 0;
    }
    .album-view-tracks-table {
        width: 100%;
        table-layout: fixed;
    }
    .album-view-tracks-table .album-track-number-cell {
        width: 48px;
    }
    .album-view-tracks-table .album-track-listen-cell {
        width: 72px;
    }
    .album-view-tracks-table.has-track-actions .album-track-split-cell {
        width: calc(var(--album-track-desktop-action-width) + var(--album-track-desktop-action-gap));
        padding-left: 0;
        padding-right: var(--album-track-desktop-action-gap);
        box-sizing: border-box;
    }
    .album-view-tracks-table.has-track-actions .album-track-actions-cell {
        width: calc(var(--album-track-desktop-action-width) + var(--album-track-desktop-edge-inset));
        padding-left: 0;
        padding-right: var(--album-track-desktop-edge-inset);
        box-sizing: border-box;
    }
    .album-view-tracks-table.has-track-actions .album-track-split-cell > button,
    .album-view-tracks-table.has-track-actions .album-track-actions-cell button {
        width: 100%;
        min-width: 0;
        margin: 0;
    }
    .album-view-tracks-table.has-track-actions .album-track-actions-cell form {
        display: block !important;
        width: 100%;
        margin: 0;
    }
}

@media (max-width: 760px) {
    .dsp-delivery-status-card > .row-between.is-card-head {
        display:flex;
        flex-direction:column;
    }
    .album-public-dsp-header-actions {
        display:contents;
    }
    .album-public-dsp-header-actions .album-dsp-selection-launch {
        order:-1;
        align-self:flex-start;
    }
    .dsp-delivery-status-card > .row-between.is-card-head > h3 {
        order:0;
    }
    .album-public-dsp-header-actions .album-public-dsp-head-actions {
        order:1;
    }
}
.album-enterprise-context { margin-left:auto;white-space:nowrap;color:var(--muted);font-size:12px;font-weight:600;letter-spacing:.04em;text-transform:uppercase; }
.album-diagnostic-link { margin-left:auto;white-space:nowrap; }
.album-mobile-owner-context {
    display: none;
}
@media (max-width: 760px) {
    .entity-view-actions > .album-view-impersonate-form {
        display: none !important;
    }
}
@media(max-width:760px){
    html body .status-stepper {
        display:flex;
        flex-wrap:nowrap;
        align-items:center;
        gap:5px;
        font-size:10.5px;
        position:relative;
        padding-right:72px;
        
        overflow:hidden;
    }
    .status-stepper .step { gap:4px; }
    .status-stepper .album-mobile-review-flag {
        display:grid;
        place-items:center;
        position:absolute;
        top:50%;
        right:0;
        width:44px;
        height:40px;
        transform:translateY(-50%);
    }
    .status-stepper .album-mobile-review-flag:empty { visibility:hidden; }
    .status-stepper .rm-album-live-activity--trailing {
        flex:1 0 100%;
        margin-left:0;
        order:1;
    }
    .status-stepper .rm-album-live-activity--trailing:empty { display:none; }
    .album-view-title {
        display:flex;
        align-items:center;
        flex-wrap:nowrap;
        width:fit-content;
        max-width:100%;
        min-width:0;
        gap:7px;
    }
    .album-view-title .album-view-title-text {
        display:block;
        flex:0 1 auto !important;
        overflow:hidden;
        text-overflow:ellipsis;
        white-space:nowrap;
    }
    .album-view-title .album-title-review-flag { display:none; }
    .album-view-title [data-rm-album-modified-flag] {
        display:inline-flex;
        flex:0 0 auto;
    }
    .status-stepper .album-enterprise-context{flex:1 0 100%;margin-left:0;text-align:right;white-space:normal}
    .album-status-change-row{gap:10px}
    .album-diagnostic-link,
    .album-js-diagnostic-link{display:none !important}
    .album-mobile-owner-context{
        display:none;
    }
    .album-mobile-owner-name{
        max-width:180px;
        overflow:hidden;
        color:var(--text);
        text-overflow:ellipsis;
        white-space:nowrap;
    }
    .album-mobile-owner-code{
        font-size:12px;
        letter-spacing:.02em;
    }
    .album-status-change-row > .entity-owner-info-trigger { margin-left:auto; }
    .album-metadata-owner-row { display:none !important; }
    .rm-mobile-diagnostic-action { display:none !important; }
}


html.rm-theme-changing *,
html.rm-theme-changing *::before,
html.rm-theme-changing *::after {
    transition:none !important;
}
::view-transition-old(root),
::view-transition-new(root) {
    animation-duration:.18s;
    animation-timing-function:ease-out;
}
@media (prefers-reduced-motion:reduce) {
    ::view-transition-old(root),
    ::view-transition-new(root) { animation-duration:.001ms; }
}


.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(20, 25, 22, .45);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay.open {
    display: flex;
}

.modal-box {
    background: #fff;
    border-radius: 16px;
    padding: 28px;
    width: 100%;
    max-width: 440px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .25);
    position: relative;
    animation: modal-pop .15s ease;
}

@keyframes modal-pop {
    from { transform: scale(.96); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.modal-box h3 {
    margin-top: 0;
    font-family: var(--font-family-heading);
    font-size: 22px;
    font-weight: 400;
    line-height: 1.3;
}

.modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    background: none;
    border: none;
    font-size: 20px;
    line-height: 1;
    color: var(--text-faint);
    cursor: pointer;
    padding: 4px;
}

.modal-close:hover {
    background: none;
    color: var(--ink);
}


.approve-preview-group-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .02em;
    color: var(--text-muted);
    margin: 16px 0 6px;
}
.approve-preview-group-label:first-of-type {
    margin-top: 4px;
}
.approve-preview-list {
    list-style: none;
    margin: 0 0 4px;
    padding: 0;
    background: var(--surface-soft);
    border-radius: 8px;
    max-height: 220px;
    overflow-y: auto;
}
.approve-preview-list li {
    padding: 7px 12px;
    font-size: 14px;
    color: var(--ink);
    border-bottom: 1px solid var(--field-border);
}
.approve-preview-list li:last-child {
    border-bottom: none;
}



.cover-download-link {
    display: inline-block;
    line-height: 0;
    cursor: pointer;
}
.cover-download-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(17, 24, 22, 0);
    opacity: 0;
    transition: opacity .15s ease, background-color .15s ease;
}
.cover-download-link:hover .cover-download-overlay,
.cover-download-link:focus-visible .cover-download-overlay {
    background: rgba(17, 24, 22, .55);
    opacity: 1;
}


.file-input-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.file-input-wrap input[type=file] {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.file-input-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    min-height: 36px;
    min-width:64px;
    padding: 6px 16px;
    box-sizing: border-box;
    background: var(--surface-bg);
    border: 1px solid var(--primary);
    border-radius: 4px;
    font-family: var(--font-family-control);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.75;
    cursor: pointer;
    color: var(--primary);
    white-space: nowrap;
    text-transform:uppercase;
    transition:background-color .15s ease,border-color .15s ease,color .15s ease;
}

.file-input-label:hover,
.file-input-wrap:focus-within > .file-input-label {
    background: var(--primary-light);
    border-color: var(--primary);
    color:var(--primary);
}
.file-input-wrap:focus-within > .file-input-label {
    outline:2px solid color-mix(in srgb,var(--primary) 36%,transparent);
    outline-offset:2px;
}

.file-input-filename {
    font-size: 13px;
    color: var(--text-muted);
}

@media (min-width:641px) {
    .form-page-card .track-mobile-primary-action {
        width:max-content;
        min-width:220px;
        max-width:100%;
        height:auto;
        min-height:36px;
        white-space:normal;
        text-align:center;
    }
}

.view-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    color: #9B9B9D;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px 4px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: .1px;
    flex: 0 0 auto;
    white-space: nowrap;
}
.view-toggle.is-active,
.view-toggle:hover { color: var(--primary); text-decoration: none; }

.album-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 18px;
}

.album-card {
    display: block;
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 1px 3px rgba(0, 0, 0, .05);
    text-decoration: none !important;
    color: inherit;
    transition: box-shadow .15s ease, transform .15s ease;
}

.album-card:hover {
    box-shadow: 0 6px 16px rgba(0, 0, 0, .1);
    transform: translateY(-2px);
}

.album-card-cover-link,
.album-card-title-link {
    color: inherit;
    text-decoration: none;
}
.album-card-cover-link { display:block; }
.album-card-title-link:hover,
.album-card-title-link:focus-visible { color:var(--catalog-accent); text-decoration:underline; }
.album-card-cover-link:focus-visible { outline:2px solid var(--primary); outline-offset:-2px; }

.album-cover {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #f0f0f0;
}

.album-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


html.rm-cover-js img[data-rm-cover]:not([data-rm-cover-ready]),
html.rm-cover-js [data-rm-cover-grid]:not([data-rm-covers-settled]) {
    visibility:hidden;
}


.bulk-menu-wrap .dsp-status-menu {
    min-width: 200px;
    max-width: 280px;
    max-height: 320px;
    overflow-y: auto;
}
.bulk-menu-wrap .dsp-status-menu button {
    white-space: normal;
    line-height: 1.35;
}


.brand-logo {
    height: 26px;
    width: auto;
    max-width: 140px;
    display: block;
    flex: 0 0 auto;
}


.artist-avatar-placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    overflow: hidden;
    border-radius: 50%;
    color: var(--primary);
    background: var(--primary-light);
}
.artist-avatar-placeholder svg {
    display: block;
    width: 72%;
    height: 72%;
}
.artist-avatar-placeholder .artist-avatar-body {
    fill: currentColor;
}
.artist-avatar-placeholder .artist-avatar-note {
    fill: none;
    stroke: currentColor;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}


.album-cover-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #c8cfd9 0%, #aeb7c4 100%);
}
.album-cover-placeholder svg {
    width: 62%;
    height: 62%;
    display: block;
}
.album-cover-placeholder .disc-body { fill: #8d97a6; }
.album-cover-placeholder .disc-ring {
    fill: none;
    stroke: #c8cfd9;
    stroke-width: 1.6;
}
.album-cover-placeholder .disc-label { fill: #6f7887; }
.album-cover-placeholder .disc-hole  { fill: #e6eaf0; }

.album-status-pill {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: #fff !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .2);
}

.album-card-info {
    padding: 12px 14px;
    color: var(--text-muted);
    font-family: inherit;
}

.album-card-title {
    display: flex;
    align-items: center;
    min-width: 0;
    gap: 4px;
    color: var(--catalog-accent);
    font: inherit;
    font-size: 15px;
    font-weight: 400;
    padding: 0;
    margin: 0;
    border: 0;
}
.album-card-title-link {
    display: block;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.album-card-title-flag { flex: 0 0 auto; }


.album-view-title {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    margin: 0 0 4px;
    padding: 0;
    border: 0;
    color: var(--catalog-accent);
    font-family: inherit;
    font-size: 22px;
    font-weight: 400;
    line-height: 1.235;
}

.album-card-artist {
    font-size: 13px;
    color: var(--text-muted);
    font-family: inherit;
    font-weight: 400;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.album-card-meta {
    display: flex;
    align-items: center;
    min-width: 0;
    min-height: 20px;
    gap: 5px;
    white-space: nowrap;
    overflow: hidden;
    color: var(--text-muted);
    font-family: inherit;
    font-weight: 400;
}
.album-card-meta-label { flex: 0 0 auto; }
.album-card-meta-value {
    display: block;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.album-card-meta-value--status { display:flex; align-items:center; }
.album-card-meta > .status-badge,
.album-card-meta > [data-rm-live-album-modified-id] { flex:0 0 auto; }

table.data-table td.cell-clip > a.clip-text,
table.data-table a.catalog-title-link,
table.data-table .catalog-title-text {
    color: var(--catalog-accent);
    font-family: inherit;
    font-weight: 400;
    overflow-wrap: anywhere;
    word-break: normal;
    padding: 0;
    margin: 0;
    border: 0;
    text-decoration: none;
}

table.data-table a.track-title-link {
    color: inherit;
    font: inherit;
    font-weight: 400;
    text-decoration: none;
}

table.data-table a.wallet-transaction-name-link {
    color: inherit;
    font-family: inherit;
    font-size: inherit;
    font-weight: 400;
    line-height: inherit;
    text-decoration: none;
}


@media (max-width: 899px) {
    .topbar {
        flex-direction: column;
        align-items: flex-start;
        padding: 12px 16px;
        gap: 4px;
    }
    .topbar nav {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        width: 100%;
        gap: 6px;
        margin: 6px 0;
    }
    .topbar nav a,
    .nav-dropdown-toggle {
        margin-right: 0;
        padding: 6px 10px;
        border-bottom: none;
        background: rgba(255, 255, 255, .14);
        border-radius: 20px;
        line-height: 1.3;
    }
    .nav-dropdown {
        width: auto;
    }
    .nav-dropdown-menu {
        position: absolute;
        margin-top: 6px;
        box-shadow: 0 10px 24px rgba(0, 0, 0, .3);
        border-radius: 10px;
        background: #fff;
        width: max-content;
        min-width: 150px;
        max-width: calc(100vw - 32px);
    }
    .topbar .nav-dropdown-menu a {
        color: #1f1f21;
        padding: 9px 12px;
        background: none;
        border-radius: 7px;
    }
    .topbar .nav-dropdown-menu a:hover {
        background: var(--primary-light);
        color: var(--primary);
    }
    .nav-user-dropdown {
        width: 100%;
        margin-top: 4px;
        padding-top: 10px;
        border-top: 1px solid rgba(255, 255, 255, .15);
    }
    .nav-user-dropdown .nav-dropdown-menu {
        right: 0;
        left: auto;
    }
}

@media (max-width: 640px) {
    body { font-size: 15px; }

    .row-2col { grid-template-columns: 1fr; gap: 0; }

    .container { padding: 16px 10px 40px; }

    
    .card { padding: 16px 8px; }

    table.data-table { min-width: 560px; }

    .form-actions { flex-wrap: wrap; }
    .form-actions button, .form-actions .btn { flex: 1 1 auto; text-align: center; }

    .filter-bar {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }
    .filter-bar .search-clear-wrap {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        flex: 0 0 auto;
    }
    .filter-bar input[type=text],
    .filter-bar input[type=search],
    .filter-bar input[type=date],
    .filter-bar input[type=month],
    .filter-bar input[type=time],
    .filter-bar input[type=week],
    .filter-bar input[type=datetime-local],
    .filter-bar select,
    .filter-bar button,
    .filter-bar .btn {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        inline-size: 100%;
        min-inline-size: 0;
        max-inline-size: 100%;
        -webkit-min-logical-width: 0;
    }
    html body .filter-bar > button:not(.search-clear-btn),
    html body .filter-bar-row1 > button:not(.search-clear-btn),
    html body .filter-bar-row2 > button:not(.search-clear-btn),
    html body .filter-bar > .btn,
    html body .filter-bar-row1 > .btn,
    html body .filter-bar-row2 > .btn {
        height: 44px !important;
        min-height: 44px !important;
        max-height: 44px !important;
        block-size: 44px !important;
        min-block-size: 44px !important;
        max-block-size: 44px !important;
    }
    
    .filter-bar input[type=text],
    .filter-bar input[type=search],
    .filter-bar input[type=date],
    .filter-bar input[type=month],
    .filter-bar input[type=time],
    .filter-bar input[type=week],
    .filter-bar input[type=datetime-local],
    .filter-bar select {
        font-size: 16px;
    }
    
    .filter-bar input[type=date],
    .filter-bar input[type=month],
    .filter-bar input[type=time],
    .filter-bar input[type=week],
    .filter-bar input[type=datetime-local] {
        display: block;
        flex: 0 0 auto;
        align-self: stretch;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        inline-size: 100% !important;
        min-inline-size: 0 !important;
        max-inline-size: 100% !important;
        -webkit-appearance: none;
        appearance: none;
        overflow: hidden;
    }
    .filter-bar input[type=date]::-webkit-calendar-picker-indicator,
    .filter-bar input[type=month]::-webkit-calendar-picker-indicator,
    .filter-bar input[type=time]::-webkit-calendar-picker-indicator,
    .filter-bar input[type=week]::-webkit-calendar-picker-indicator,
    .filter-bar input[type=datetime-local]::-webkit-calendar-picker-indicator {
        flex: 0 0 auto;
        margin: 0;
        padding: 0;
    }

    .artist-grid, .album-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 10px;
    }

    .avatar-upload-row { flex-direction: column; align-items: flex-start; gap: 10px; }

    .status-stepper {
        padding: 12px 16px;
        gap: 8px;
        font-size: 11px;
        max-width: 100%;
        overflow-x: hidden;
        flex-wrap: wrap;
    }

    .row-actions { flex-wrap: wrap; }

    
    .login-container { margin: 40px auto; }

    
    #contributorRows > div,
    #trackChips > div {
        flex-wrap: wrap !important;
    }
    #contributorRows select.contribRole,
    #contributorRows input.contribName {
        flex: 1 1 100% !important;
        width: 100% !important;
    }
}


.checkbox-list {
    border: 1px solid var(--field-border);
    border-radius: 8px;
    max-height: 220px;
    overflow-y: auto;
    padding: 4px 0;
}
.checkbox-list label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    margin: 0;
    font-weight: 400;
    cursor: pointer;
}
.checkbox-list label:hover { background: #f7f8fa; }
.checkbox-list input[type="checkbox"] { width: 16px; height: 16px; margin: 0; }


.picker-disabled { opacity: .45; }
.picker-disabled .checkbox-list label { cursor: default; }
.picker-disabled .checkbox-list label:hover { background: transparent; }


.modified-flag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    margin-left: 4px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--modified-icon-bg, var(--alert-text));
    opacity: var(--modified-icon-opacity, 1);
    line-height: 0;
    vertical-align: middle;
    cursor: help;
    filter: drop-shadow(0 1px 1.5px rgba(143, 20, 27, .22));
}
.modified-flag-wrap{position:relative;display:inline-flex;vertical-align:middle}
.modified-flag-tooltip{position:absolute;z-index:1200;left:50%;bottom:calc(100% + 8px);width:max-content;max-width:min(320px,calc(100vw - 32px));padding:8px 10px;border-radius:6px;background:var(--text-main,var(--ink));color:var(--surface-bg,#fff);font-size:12px;font-weight:400;line-height:1.4;white-space:normal;box-shadow:0 8px 24px rgba(0,0,0,.18);opacity:0;visibility:hidden;pointer-events:none;transform:translate(calc(-50% + var(--rm-flag-tip-shift,0px)),4px);transition:opacity .12s ease,transform .12s ease,visibility .12s}
.modified-flag-wrap:hover .modified-flag-tooltip,.modified-flag-wrap:focus-within .modified-flag-tooltip,.modified-flag-wrap.is-open .modified-flag-tooltip{opacity:1;visibility:visible;pointer-events:auto;transform:translate(calc(-50% + var(--rm-flag-tip-shift,0px)),0)}
.modified-flag:focus-visible{outline:2px solid var(--focus-ring,var(--primary));outline-offset:2px}
.dsp-send-approval-required{white-space:normal;line-height:1.25}
.modified-flag svg {
    display: block;
    width: 20px;
    height: 20px;
    overflow: visible;
}
.modified-flag svg > circle:first-child {
    fill: currentColor;
    stroke: color-mix(in srgb, currentColor 38%, transparent);
    stroke-width: .75;
}
.modified-flag svg path {
    fill: none;
    stroke: var(--modified-icon-text, #fff);
    stroke-width: 1.7;
    stroke-linecap: round;
}
.modified-flag .modified-flag-dot {
    fill: var(--modified-icon-text, #fff);
}
@media (max-width:640px), (pointer:coarse) {
    .modified-flag {
        width:44px;
        height:44px;
        margin:-12px -12px -12px -8px;
    }
    .modified-flag svg {
        width:20px;
        height:20px;
    }
}

a.modified-flag:link,
a.modified-flag:visited {
    color: var(--modified-icon-bg, var(--alert-text));
}


:root {
    
    
    --modified-warning-surface: color-mix(in srgb, var(--modified-icon-bg) 10%, var(--surface));
    
    --modified-warning-ink: var(--modified-icon-bg);
    --modified-warning-border: color-mix(in srgb, var(--modified-icon-bg) 52%, transparent);
    --modified-row-bg: var(--modified-warning-surface);
}
.diff-changed {
    color: var(--modified-warning-ink);
    font-weight: 600;
}

table.data-table a.diff-changed,
table.data-table .diff-changed a,
.diff-changed a {
    color: var(--modified-warning-ink);
    font-weight: 600;
}

table.data-table td.diff-changed {
    color: var(--modified-warning-ink) !important;
}

.diff-cell {
    background: var(--modified-row-bg);
}
table.data-table td.diff-cell {
    background: var(--modified-row-bg) !important;
}

.data-table {
    
}
.data-table tr.diff-row {
    background: var(--modified-row-bg);
}
.data-table tr.diff-row > td {
    background: transparent !important;
}
table:not(.data-table) tr.diff-row > td {
    background: color-mix(in srgb, var(--modified-icon-bg) 14%, var(--surface));
}

.dsp-store-state {
    display: inline-block;
    margin-left: 6px;
    padding: 2px 8px;
    border-radius: 999px;
    background: var(--surface-soft);
    border: 1px solid var(--field-border);
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}


.diff-tag {
    display: inline-block;
    margin-left: 6px;
    padding: 1px 7px;
    border-radius: 999px;
    background: var(--modified-warning-surface);
    color: var(--modified-warning-ink);
    border: 1px solid var(--modified-warning-border);
    font-size: 11px;
    font-weight: 600;
    vertical-align: middle;
    white-space: nowrap;
}

.diff-removed {
    margin: 6px 0 0;
    font-size: 13px;
    color: var(--modified-warning-ink);
}
.diff-removed strong { font-weight: 600; }


.review-flag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    margin-left: 4px;
    border-radius: 50%;
    color: #fff;
    vertical-align: middle;
    cursor: help;
    border: 1px solid rgba(255, 255, 255, .42);
    box-shadow: 0 2px 5px rgba(31, 65, 44, .18), inset 0 1px 0 rgba(255, 255, 255, .24);
}
.review-flag .rm-icon {
    
    stroke-width: 2.25;
}
.review-flag-manager     { background: #ed7a22; }
.review-flag-white_label { background: #d9a514; }
.review-flag-admin {
    background: var(--success-icon-bg, var(--primary));
    color: var(--success-icon-text, var(--primary-contrast));
}
.delivery-live-icon { margin-left: 0; }



.review-legend-wrap { padding: 28px 20px 0; }
.dsp-delivery-status-card:has(.review-legend-wrap) { padding-bottom:20px !important; }
.review-legend {
    margin: 4px 0 0;
    font-size: 13px;
    color: var(--text-muted);
}
.review-legend-title {
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}
.review-legend-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
}
.review-legend-list li {
    display: flex;
    align-items: center;
    gap: 6px;
}
.review-legend-list .review-flag {
    margin-left: 0;
    cursor: default;   
}
.review-legend-live {
    padding: 1px 8px;
    border-radius: 999px;
    background: var(--primary-light);
    color: var(--catalog-accent);
    font-size: 11px;
    font-weight: 600;
}
.review-legend-note { margin: 8px 0 0; font-size: 12px; }


.settings-hint {
    margin-top: 6px;
    font-size: 12px;
    color: var(--text-muted);
}

.settings-hint-tight {
    margin: 6px 0 0;
    font-size: 12px;
    color: var(--text-muted);
}


.hint-text  { font-size: 13px; color: var(--text-muted); }
.hint-faint { font-size: 12px; color: var(--text-faint); }
.text-muted { color: var(--text-muted); }
.text-faint { color: var(--text-faint); }


.mono    { font-family: monospace; }
.mono-sm,
.data-table td.mono-sm {
    font-family: monospace;
    font-size: 12px;
}


.upc-code,
table.data-table td.upc-code,
table.data-table .upc-code {
    color: var(--text-main) !important;
    opacity: 1 !important;
    font-family: monospace;
    font-weight: 400;
    font-variant-numeric: tabular-nums;
}

html[data-theme="dark"] .upc-code,
html[data-theme="dark"] table.data-table td.upc-code,
html[data-theme="dark"] table.data-table .upc-code {
    color: var(--text-muted) !important;
    color: color-mix(in srgb, var(--text-muted) 70%, var(--text-main)) !important;
}


.code-view {
    display: block;
    width: 100%;
    font-family: monospace;
    font-size: 12px;
    line-height: 1.5;
    color: var(--text-muted);
    background: var(--surface-soft);
    border: 1px solid var(--field-border);
    border-radius: 8px;
    padding: 10px 12px;
    resize: vertical;
}


.check-row,
.form-row.check-row,
.form-row label.check-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-weight: 400;
}
.check-row > input[type=checkbox] {
    margin-top: 3px;
    flex-shrink: 0;
}

.form-row.check-row > label,
.check-row > span {
    display: inline;
    margin: 0;
    font-weight: 400;
}

.check-row.is-strong,
.form-row label.check-row.is-strong { font-weight: 600; }

.check-row .cell-hint { font-weight: 400; }


.enterprise-share-toggle-row {
    margin-bottom: 11px;
}

.rjl-dsp-filter-summary {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
}

table.data-table.delivery-list-table td.delivery-owner-cell {
    color: var(--text-main) !important;
    font-weight: 400;
    opacity: 1;
}
.rjl-dsp-filter-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    margin-left: 4px;
    padding: 0 5px;
    border-radius: 10px;
    background: var(--primary);
    color: #fff;
    font-size: 11px;
    line-height: 1;
}
.rjl-dsp-filter-modal .modal-box {
    max-width: 720px;
}
.rjl-dsp-filter-modal h3 {
    margin: 0 40px 18px 0;
    font-family: var(--font-family-heading);
    font-size: 22px;
    font-weight: 400;
    line-height: 1.3;
}
.rjl-dsp-filter-form { margin: 0; }
.rjl-dsp-filter-options {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 4px 12px;
    width: 100%;
}
.rjl-dsp-filter-option {
    align-items: center;
    min-width: 0;
    min-height: 34px;
    margin: 0;
    padding: 6px 8px;
    border-radius: 2px;
    color: var(--text-main);
    font-family: inherit;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.35;
}
@media (hover: hover) and (pointer: fine) {
    .rjl-dsp-filter-option:hover { background: var(--surface-soft); }
}
.rjl-dsp-filter-option > input[type=checkbox] { margin-top: 0; }
.rjl-dsp-filter-option > span {
    overflow-wrap: anywhere;
    word-break: normal;
}
.rjl-dsp-filter-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}


.check-inline,
.form-row label.check-inline {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 400;
}
.check-inline.is-spaced,
.form-row label.check-inline.is-spaced { margin-bottom: 6px; }





.album-header-media {
    --album-view-cover-size:112px;
    align-items:flex-start;
    flex-wrap:wrap;
}
.album-header-cover {
    flex:0 0 var(--album-view-cover-size);
    width:var(--album-view-cover-size);
}
.album-view-cover-frame {
    position:relative;
    width:var(--album-view-cover-size);
    height:var(--album-view-cover-size);
    overflow:hidden;
    flex-shrink:0;
    border-radius:10px;
    background:#f0f0f0;
}
.album-view-cover-frame > :is(img,.album-cover-placeholder) {
    width:100%;
    height:100%;
    object-fit:cover;
}
@media (min-width:641px) {
    .album-header-info.is-cover-locked {
        display:flex;
        flex-direction:column;
        justify-content:space-between;
        min-height:var(--album-view-cover-size);
    }
    .album-header-info.is-cover-locked .album-view-title { margin:0; }
    .album-header-info.is-cover-locked .album-header-upc-line { display:contents; }
    .album-header-info.is-cover-locked :is(.album-header-upc-value,.album-header-catalog-number) {
        display:block;
        min-width:0;
        line-height:1.35;
    }
}
@media (max-width: 640px) {
    .album-view-header-layout:has(.album-view-locked-actions) {
        gap:4px !important;
    }
    .album-view-locked-actions {
        grid-template-columns:minmax(0,1fr);
        gap:8px;
    }
    .album-view-locked-actions > .hint-faint-row {
        padding:2px 0;
    }
    .album-header-media {
        --album-view-cover-size:100px;
        display:grid !important;
        grid-template-columns:100px minmax(0,1fr);
        align-items:start;
        gap:16px !important;
        width:100%;
        min-width:0;
    }
    .album-header-cover { grid-column:1; min-width:0; }
    .album-header-info {
        width:100%;
        min-width:0;
        max-width:100%;
        container:album-header-info / inline-size;
    }
    .album-view-title {
        flex-wrap:nowrap;
        min-width:0;
        overflow:hidden;
    }
    .album-view-title > span:first-child {
        flex:1 1 auto;
        min-width:0;
        overflow:hidden;
        text-overflow:ellipsis;
        white-space:nowrap;
    }
    .album-view-title > span:not(:first-child) { flex:0 0 auto; }
    .album-header-info p {
        min-width:0;
        max-width:100%;
        overflow:hidden;
        text-overflow:ellipsis;
        white-space:nowrap;
        overflow-wrap:normal;
    }
    .album-header-info button.catalog-number-copy {
        display: inline-block;
        width: auto !important;
        max-width: 100%;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        overflow-wrap: normal;
        word-break: normal;
    }
    .album-header-info button.catalog-number-copy::after {
        left: auto;
        right: 0;
        width: min(240px, calc(100vw - 64px));
        max-width: calc(100vw - 64px);
    }
    .album-header-info input[type="file"] { max-width: 100%; }
}
@media (max-width: 360px) {
    .album-header-media { grid-template-columns:100px minmax(0,1fr); gap:12px !important; }
    .album-header-cover #albumViewCoverPreviewWrap {
        width:100px !important;
        height:100px !important;
        border-radius:9px !important;
    }
}

.row-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.row-between > h2,
.row-between > h3 { margin: 0; }

.list-header-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
}

.row-between.is-card-head { padding: 20px 20px 12px; }

.row-between.is-top { align-items: flex-start; }

.report-total-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.report-total-badge {
    padding: 8px 14px;
    font-size: 14px;
}
.revenue-grand-total {
    margin: 0;
    color: var(--text-muted);
    font: inherit;
    font-size: 13px;
    line-height: 1.45;
}
.revenue-grand-total strong {
    color: var(--text-main);
    font: inherit;
    font-weight: 500;
}
.revenue-report-tab-row {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}
.revenue-report-tab-row > .subnav {
    min-width: 0;
    margin-bottom: 0;
}
.revenue-report-tab-total {
    flex: 0 1 auto;
    margin-left: auto;
    text-align: right;
    white-space: nowrap;
}
.revenue-report-mobile-total { display: none; }
.revenue-report-toolbar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}
.revenue-report-view-actions,
.revenue-report-summary,
.revenue-report-download-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.revenue-report-summary { justify-content: flex-end; }
.revenue-report-filter-slot { display:contents; }
@media (min-width:641px) {
    
    .filter-bar > .revenue-report-owner-slot > .rm-searchable-select-shell {
        width:auto;
        min-width:180px;
        max-width:280px;
        flex:1 1 190px;
    }
}
.revenue-report-control-placeholder {
    display:inline-block;
    width:128px;
    height:36px;
    visibility:hidden;
    pointer-events:none;
}
.revenue-report-filter-placeholder {
    visibility:hidden !important;
    pointer-events:none !important;
}
.revenue-report-filter > .search-clear-wrap.revenue-report-filter-placeholder {
    flex:1 1 320px;
    min-width:220px;
    height:36px;
}
.revenue-report-owner-placeholder {
    flex:0 1 260px;
    min-width:180px;
    height:36px;
}
.revenue-report-active-filter {
    min-height:19px;
}
@media (max-width: 640px) {
    .revenue-report-tab-row { display: block; }
    .revenue-report-tab-row > .subnav { margin-bottom: 12px; }
    .revenue-report-tab-total { display: none; }
    .revenue-report-mobile-total { display: block; }
    .revenue-report-toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    .revenue-report-view-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
    }
    .revenue-report-view-actions > .btn {
        width: 100%;
        min-width: 0;
        min-height: 44px;
        white-space: normal;
    }
    .revenue-report-view-actions > :last-child:nth-child(odd) {
        grid-column: 1 / -1;
        justify-self: center;
        width: calc(50% - 4px);
    }
    .revenue-report-summary {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
    }
    .revenue-report-grand-total {
        display: block;
        width: 100%;
        text-align: center;
    }
    .revenue-report-download-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
    }
    .revenue-report-download-actions > .btn {
        width: 100%;
        min-width: 0;
        min-height: 44px;
        white-space: normal;
    }
    .revenue-report-download-actions > :only-child {
        grid-column: 1 / -1;
        justify-self: center;
        width: calc(50% - 4px);
    }
    
    .revenue-report-download-actions > .revenue-report-control-placeholder {
        display:none;
    }
    .revenue-report-download-actions > .btn:only-of-type {
        grid-column:1 / -1;
        justify-self:center;
        width:calc(50% - 4px);
    }
    .revenue-report-control-placeholder {
        width:100%;
        min-height:44px;
    }
    .revenue-report-filter-slot {
        display:grid;
        grid-template-columns:minmax(88px,32%) minmax(0,1fr);
        align-items:center;
        gap:8px;
        width:100%;
        min-height:44px;
    }
    .revenue-report-search-slot { grid-template-columns:minmax(0,1fr); }
    .revenue-report-owner-slot,
    .revenue-report-date-slot {
        grid-template-columns:minmax(0,1fr);
    }
    
    .revenue-report-owner-slot > label,
    .revenue-report-date-slot > label {
        position:absolute !important;
        width:1px !important;
        height:1px !important;
        padding:0 !important;
        margin:-1px !important;
        overflow:hidden !important;
        clip:rect(0,0,0,0) !important;
        white-space:nowrap !important;
        border:0 !important;
    }
    .revenue-report-filter-slot > :is(.search-clear-wrap,select,.rm-searchable-select-shell,input) {
        width:100%;
        min-width:0;
        max-width:100%;
    }
    .revenue-report-filter-slot.revenue-report-filter-placeholder {
        visibility:hidden !important;
        pointer-events:none !important;
    }
}
.subscription-detail-download { margin-left: auto; }


.bulk-bar {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 12px;
}
.delivery-bulk-toolbar {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 16px;
    margin-bottom: 0;
    min-width: 0;
}
.delivery-bulk-toolbar > .bulk-menu-wrap {
    flex: 0 0 auto;
}

.delivery-bulk-toolbar > :not(#deliverySelectedCount) { order:0; }
.delivery-bulk-toolbar > #deliverySelectedCount { order:1; flex:0 0 auto; }
.delivery-bulk-toolbar > #deliverySelectAllPagesHint {
    flex: 0 1 auto;
    min-width: 0;
    overflow-wrap: anywhere;
}
.delivery-mobile-upcs { display: none; }

.bulk-bar.is-inset { padding: 16px 20px 0; }
.wallet-auto-controls #walletAutoFilterForm { margin-bottom:12px; }
#rmContent > .wallet-auto-controls { padding-bottom:0; }
.wallet-auto-controls .wallet-auto-actions { padding:0; margin:0; gap:8px; flex-wrap:wrap; }
.wallet-auto-controls .wallet-auto-actions > .hint-text:empty { display:none; }
#albumBulkForm .bulk-bar.is-inset { padding-inline: 0; }


@media (min-width: 641px) {
    .catalog-sticky-bulk-bar { padding-top: 16px; }
}
.catalog-sticky-bulk-wrap { padding-bottom: 12px; }
.catalog-sticky-bulk-wrap > .catalog-sticky-bulk-bar { margin-bottom: 0; }

.wallet-tx-mobile-select { display: none; }
.wallet-tx-heading-mobile { display: none; }


.details-gap { margin: 10px 0 12px; }


.chip-tray {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}


.btn-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}


.ac-menu {
    position: absolute;
    z-index: 10;
    width: 100%;
    max-height: 220px;
    overflow: auto;
    background: #fff;
    border: 1px solid var(--field-border);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .1);
}


.notice-warn {
    font-size: 12px;
    font-family: var(--font-family-main);
    font-weight: 400;
    line-height: 1.45;
    color: var(--warning-text);
    background: var(--warning-bg);
    border: 1px solid var(--warning-border);
    border-radius: 6px;
    padding: 8px 10px;
    margin-top: 6px;
}


.progress-track {
    height: 10px;
    background: color-mix(in srgb, var(--table-border-color) 58%, var(--surface-soft));
    border: 1px solid color-mix(in srgb, var(--table-border-color) 82%, var(--text-muted));
    border-radius: 20px;
    overflow: hidden;
    box-sizing: border-box;
}
.progress-fill {
    height: 100%;
    width: 0;
    background: var(--catalog-accent, var(--primary));
    transition: .2s;
}
.progress-text {
    margin: 8px 0 0;
    color: var(--muted-text);
    font: inherit;
    font-size: 13px;
}
html[data-theme="dark"] .progress-track {
    background: color-mix(in srgb, var(--raised-bg) 74%, #000);
    border-color: color-mix(in srgb, var(--table-border-color) 72%, #fff);
}
html[data-theme="dark"] .progress-fill {
    background: color-mix(in srgb, var(--catalog-accent, var(--primary)) 82%, #fff);
}


.chip-x {
    cursor: pointer;
    font-weight: 900;
}
.chip-x-danger {
    cursor: pointer;
    color: var(--alert-text);
    font-weight: 700;
    padding: 0 6px;
}


.field-label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 600;
}


.badge-dark {
    background: #111827;
    color: #fff;
}


.avatar-lg {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
}


.hint-faint-row { font-size: 12px; color: var(--text-faint); padding: 6px 0; }
.hint-text-tight { font-size: 13px; color: var(--text-muted); margin-top: -4px; }


.meta-key {
    font-family: var(--font-family-table);
    font-weight: 400;
}


table.data-table.meta-table {
    border: none;
    border-radius: 0;
    box-shadow: none;
    font-family: var(--font-family-main);
    font-weight: 400;
}
table.data-table.meta-table tbody td {
    border-bottom: none;
}


.album-section-heading {
    display:inline-flex;
    align-items:center;
    gap:9px;
}
.album-section-heading-icon {
    width:20px;
    height:20px;
    flex:0 0 20px;
    color:var(--primary);
    fill:none;
    stroke:currentColor;
    stroke-width:1.8;
    stroke-linecap:round;
    stroke-linejoin:round;
}
.album-heading-icon--tracks ellipse { fill:var(--surface-bg); }

.album-metadata-table td,
.album-metadata-table td.mono-sm {
    font-size:14px !important;
    line-height:1.45;
}
.album-metadata-table .album-metadata-grid-row {
    background:transparent;
}
.album-metadata-table .album-metadata-grid-row > td {
    background:transparent !important;
}
.album-metadata-table .album-metadata-grid-row:hover,
.album-metadata-table .album-metadata-grid-row:focus-within {
    background:color-mix(in srgb,var(--catalog-accent) 6%,var(--surface-bg)) !important;
}
.album-metadata-table .album-metadata-grid-row:hover > td,
.album-metadata-table .album-metadata-grid-row:focus-within > td {
    background:transparent !important;
}
@media (min-width:761px) {
    table.data-table.album-metadata-table {
        display:grid;
        grid-template-columns:minmax(0,59%) minmax(0,41%);
        gap:0;
        width:100%;
        table-layout:fixed;
    }
    .album-metadata-table > .album-metadata-column {
        display:flex;
        flex-direction:column;
        width:100%;
        min-width:0;
    }
    .album-metadata-table > .album-metadata-column > tr {
        display:grid;
        align-items:start;
    }
    .album-metadata-table > .album-metadata-primary > tr {
        grid-template-columns:minmax(0,30%) minmax(0,70%);
    }
    .album-metadata-table > .album-metadata-secondary > tr {
        grid-template-columns:minmax(0,51%) minmax(0,49%);
    }
    .album-metadata-table > .album-metadata-column > tr > td { width:auto;min-width:0; }
    .album-metadata-table .album-metadata-grid-row { order:99; }
}
@media (min-width:761px) {
    table.data-table.album-metadata-table.has-track-actions {
        grid-template-columns:var(--album-track-desktop-grid-columns);
    }
    .album-metadata-table.has-track-actions > .album-metadata-primary,
    .album-metadata-table.has-track-actions > .album-metadata-secondary {
        display:grid;
        grid-template-columns:subgrid;
        min-width:0;
    }
    .album-metadata-table.has-track-actions > .album-metadata-primary {
        grid-column:1 / 6;
    }
    .album-metadata-table.has-track-actions > .album-metadata-secondary {
        grid-column:6 / 11;
    }
    .album-metadata-table.has-track-actions > .album-metadata-column > tr {
        display:grid;
        grid-column:1 / -1;
        grid-template-columns:subgrid;
    }
    .album-metadata-table.has-track-actions > .album-metadata-primary > tr > .meta-key {
        grid-column:1 / 4;
    }
    .album-metadata-table.has-track-actions > .album-metadata-primary > tr > .meta-key + td {
        grid-column:4 / 6;
    }
    .album-metadata-table.has-track-actions > .album-metadata-secondary > tr > .meta-key {
        grid-column:1 / 3;
    }
    .album-metadata-table.has-track-actions > .album-metadata-secondary > tr > .meta-key + td {
        grid-column:3 / 6;
        
        padding-left:0;
    }
    .album-metadata-primary > tr > .meta-key {
        padding-left:29px;
    }
    .album-metadata-table:not(.has-track-actions) > .album-metadata-primary > tr {
        grid-template-columns:minmax(0,calc(33.898% + 96px)) minmax(0,1fr);
    }
    
    .album-metadata-table.is-metadata-row-aligned > .album-metadata-column {
        display:grid;
        grid-row:1 / span var(--rm-metadata-row-count);
        grid-template-rows:subgrid;
    }
}
@media (max-width:760px) {
    table.data-table.album-metadata-table { display:block; }
}
@media (max-width:640px) {
    .album-section-heading-icon { width:19px;height:19px;flex-basis:19px; }
}


table.data-table.track-contributors-table {
    border: 1px solid var(--table-border);
    border-radius: 4px;
    box-shadow: none;
}
table.data-table.track-contributors-table tbody td {
    border-bottom: none;
}


.rm-download-icon { display: none; }
@media (max-width: 640px) {
    .rm-download-btn {
        display: inline-flex; align-items: center; justify-content: center;
        width: 32px; height: 32px; padding: 0; border-radius: 50%;
    }
    .rm-download-icon { display: block; }
    .rm-download-btn-label {
        position: absolute; width: 1px; height: 1px; overflow: hidden;
        clip: rect(0,0,0,0); white-space: nowrap; 
    }
}


@media (max-width: 640px) {
    table.meta-table,
    table.meta-table tbody,
    table.meta-table tr {
        display: block;
        width: 100%;
        min-width: 0 !important;
        max-width: 100%;
        box-sizing: border-box;
    }
    table.meta-table td.meta-key,
    table.meta-table td.meta-key + td {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }
    table.meta-table td.meta-key {
        padding-bottom: 2px;
        border-bottom: none;
    }
    table.meta-table td.meta-key + td {
        padding-top: 0;
        min-width: 0;
        max-width: 100%;
        overflow-wrap: anywhere;
        word-break: break-word;
    }
    table.meta-table + *,
    table.meta-table a { max-width: 100%; overflow-wrap: anywhere; }
}


@media (min-width: 761px) {
    .detail-mobile-metadata-table > .album-metadata-column > tr.metadata-mobile-only,
    .detail-mobile-metadata-table > .track-view-metadata-column > tr.metadata-mobile-only { display:none !important; }
    .detail-mobile-metadata-table > .album-metadata-column > tr[hidden],
    .detail-mobile-metadata-table > .track-view-metadata-column > tr[hidden] { display:none !important; }
    table.data-table.track-view-metadata-table {
        display:grid;
        grid-template-columns:repeat(2,minmax(0,1fr));
        width:100%;
        table-layout:fixed;
    }
    .track-view-metadata-column {
        display:flex;
        flex-direction:column;
        min-width:0;
    }
    .track-view-metadata-column > tr {
        display:grid;
        grid-template-columns:repeat(2,minmax(0,1fr));
        min-width:0;
    }
    .track-view-metadata-column > tr > td {
        display:block;
        width:auto;
        min-width:0;
    }
}

@media (max-width: 760px) {
    .detail-mobile-metadata-table > .album-metadata-column > tr.metadata-desktop-only,
    .detail-mobile-metadata-table > .track-view-metadata-column > tr.metadata-desktop-only { display:none !important; }
    table.data-table.album-metadata-table,
    table.data-table.track-view-metadata-table,
    .album-metadata-column,
    .track-view-metadata-column {
        display:block;
        width:100%;
        min-width:0;
    }
    .track-view-metadata-column > tr {
        display:grid !important;
        grid-template-columns:minmax(0,42%) minmax(0,58%);
        width:100%;
        min-width:0;
    }
    .track-view-metadata-column > tr > td {
        display:block !important;
        width:auto !important;
        min-width:0;
        overflow-wrap:anywhere;
    }
}

@media (min-width: 641px) {
    table.data-table.track-contributors-table {
        table-layout:fixed;
    }
    table.data-table.track-contributors-table th:first-child,
    table.data-table.track-contributors-table td:first-child {
        width:50%;
    }
}
@media (max-width: 640px) {
    .detail-mobile-metadata-table > .album-metadata-column > tr.metadata-desktop-only,
    .detail-mobile-metadata-table > .track-view-metadata-column > tr.metadata-desktop-only { display:none !important; }
    .track-view-metadata-card,
    .track-view-contributors-card,
    .track-view-split-shares-card {
        padding-top:8px;
        padding-bottom:8px;
    }
    
    .track-view-metadata-card > h3,
    .track-view-contributors-card > h3 {
        margin-bottom:32px;
    }
    
    .track-view-contributors-card {
        padding-bottom:6px;
    }
    .track-view-split-shares-card {
        margin-bottom:0;
    }
    
    .app-main > .container:has(.track-view-split-shares-card) {
        flex:0 0 auto;
        padding-bottom:8px;
    }
    
    .app-main:has(.track-view-split-shares-card) > .footer {
        padding-inline:28px;
    }
    .app-main:has(.track-view-split-shares-card) > .footer .footer-content {
        gap:0;
    }
    table.data-table.track-view-metadata-table,
    .track-view-metadata-column {
        display:block;
        width:100%;
        min-width:0;
    }
    .track-view-metadata-column > tr {
        display:grid !important;
        grid-template-columns:minmax(0,42%) minmax(0,58%);
        width:100%;
        min-width:0;
    }
    .track-view-metadata-column > tr > td {
        display:block !important;
        width:auto !important;
        min-width:0;
        padding-top:9px;
        padding-bottom:9px;
        overflow-wrap:anywhere;
    }
    table.data-table.track-contributors-table > tbody > tr > td {
        grid-template-columns:50% minmax(0,1fr);
        align-items:center;
        min-height:37px;
    }
}


.ac-anchor { position: relative; }

.modified-banner {
    margin: 0 0 18px;
    padding: 10px 14px;
    border-radius: 4px;
    background: var(--modified-warning-surface);
    border: 1px solid var(--modified-warning-border);
    color: var(--modified-warning-ink);
    font-size: 13px;
    font-weight: 600;
    font-family: var(--font-family-main);
}
.delivery-readiness-warning li { font-weight: 400; }

.modified-banner-lead {
    margin: 0 0 4px;
}
.modified-banner .diff-removed,
.modified-banner .diff-added {
    margin: 4px 0 0;
    font-weight: 400;
}
.modified-banner .diff-removed strong,
.modified-banner .diff-added strong {
    font-weight: 600;
}

.modified-banner .diff-added {
    color: var(--modified-warning-ink);
}
.modified-banner .diff-added strong {
    color: inherit;
}


.delivery-diff-notice {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    font-weight:500;
}
.delivery-diff-notice-summary {
    min-width:0;
    line-height:1.45;
}
.delivery-diff-notice-summary a {
    color:inherit;
    font-weight:700;
    text-decoration:underline;
    text-underline-offset:2px;
}
.delivery-diff-details-trigger {
    flex:0 0 auto;
    min-height:32px;
    padding:5px 12px;
    border:1px solid currentColor;
    border-radius:4px;
    background:transparent;
    color:inherit;
    font:inherit;
    cursor:pointer;
}
.delivery-diff-details-trigger:hover,
.delivery-diff-details-trigger:focus-visible {
    background:color-mix(in srgb, var(--modified-warning-ink) 9%, transparent);
}
.delivery-diff-details-modal .modal-box {
    max-width:560px;
}
.delivery-diff-details-modal h3 {
    margin:0 0 18px;
    padding-inline:40px;
    text-align:center;
}
.delivery-diff-details-body {
    color:var(--text);
    font-size:14px;
    font-weight:400;
    line-height:1.55;
}
.delivery-diff-details-copy { margin:0; }
.delivery-diff-details-body .diff-removed,
.delivery-diff-details-body .diff-added { margin:10px 0 0; }
.delivery-diff-details-actions {
    display:flex;
    justify-content:center;
    margin-top:22px;
}

@media (max-width:640px) {
    .delivery-diff-notice { padding:10px 12px; }
    .delivery-diff-notice-summary {
        display:-webkit-box;
        overflow:hidden;
        -webkit-box-orient:vertical;
        -webkit-line-clamp:2;
    }
    .delivery-diff-details-trigger { min-width:68px; }
}


.blocked-banner {
    display: inline-block;
    margin: 0 0 10px;
    padding: 8px 12px;
    border-radius: 8px;
    background: #111827;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
}
.lock-icon { vertical-align: middle; margin-left: 6px; color: var(--text-muted); flex-shrink: 0; }


.isrc-album-header {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    margin: 20px 0 28px;
    flex-wrap: wrap;
}
.isrc-album-cover {
    width: 220px;
    height: 220px;
    max-width: 100%;
    border-radius: 16px;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
}
.isrc-album-info {
    flex: 1;
    min-width: 220px;
    padding-top: 4px;
}
.isrc-album-title {
    margin: 0 0 6px;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.25;
}
.isrc-album-artist {
    margin: 0 0 14px;
    font-size: 15px;
    color: var(--text-muted);
}
.isrc-album-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}
.isrc-album-meta > .status-badge,
.isrc-upc-chip {
    height:32px;
    min-height:32px;
    padding:0 12px;
    box-sizing:border-box;
    font-size:13px;
    line-height:1;
}
.isrc-upc-chip {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    background: var(--neutral-badge-bg);
    color: var(--neutral-badge-text);
    border: 1px solid var(--neutral-badge-border);
    border-radius: 999px;
}


.flash-details-btn {
    margin-left: 10px;
    vertical-align: middle;
}


.pagination {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 16px;
    font-size: 13px;
}
.pagination-perpage {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
}
.pagination-perpage select {
    width: auto;
    padding: 6px 10px;
    border: 1px solid var(--field-border);
    border-radius: 8px;
    background: #fff;
    font-size: 13px;
}
.pagination-info {
    color: var(--text-muted);
}
.pagination-links {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
    flex-wrap: wrap;
}
.pagination-links .page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    border: 1px solid var(--field-border);
    border-radius: 8px;
    background: #fff;
    color: var(--text-muted);
    font-weight: 600;
    text-decoration: none;
}
.pagination-links a.page-link:hover {
    border-color: var(--primary);
    color: var(--primary-dark);
}
.pagination-links .page-link.current {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--primary-contrast);
}
.pagination-links .page-link.disabled {
    color: #c8ccd2;
    background: #f7f8fa;
}
.pagination-links .page-ellipsis {
    padding: 0 2px;
    color: var(--text-faint);
}


.select-all-notice {
    display: inline-block;
    margin: 0;
    padding: 4px 10px;
    border-radius: 6px;
    background: var(--primary-light);
    color: var(--primary-dark);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

@media (max-width: 720px) {
    .pagination { gap: 10px; }
    .pagination-links { margin-left: 0; }
}

@media (max-width: 400px) {
    .topbar .brand { font-size: 16px; }
    h2 { font-size: 20px; }
}


.env-warning {
    background: #7f1d1d;
    color: #fff;
    padding: 14px 24px;
}
.env-warning strong { display: block; font-size: 15px; margin-bottom: 4px; }
.env-warning p { margin: 4px 0; font-size: 13px; line-height: 1.55; }
.env-warning form { margin-top: 10px; }
.env-warning-list { margin: 8px 0; padding-left: 20px; font-size: 13px; line-height: 1.7; }
.env-warning-list code { background: rgba(255,255,255,.15); padding: 1px 5px; border-radius: 4px; }
.env-warning-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-top: 10px; }
.env-warning-actions form { display: flex; gap: 8px; align-items: center; margin: 0; }
.env-warning-actions input[type=text] {
    padding: 6px 10px; border: none; border-radius: 6px; font-size: 13px; max-width: 130px;
}

.impersonation-banner {
    
    background: var(--impersonation-bg, #b45309);
    color: var(--impersonation-text, #fff);
    padding: 10px 24px;
    display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap;
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
}
.impersonation-banner form { margin: 0; }
@keyframes rmIdentityCoverIn{from{opacity:0}to{opacity:1}}
@keyframes rmIdentityLandingIn{from{opacity:.72}to{opacity:1}}
@keyframes rmIdentitySpin{to{transform:rotate(360deg)}}
body:is(.rm-identity-transitioning,.rm-language-transitioning){overflow:hidden}
body:is(.rm-identity-transitioning,.rm-language-transitioning)::after{
    content:"";
    position:fixed;
    inset:0;
    z-index:99998;
    background:var(--page-bg,#fff);
    animation:rmIdentityCoverIn .16s ease both;
}
body:is(.rm-identity-transitioning,.rm-language-transitioning)::before{
    content:"";
    position:fixed;
    left:calc(50% - 18px);
    top:calc(50% - 18px);
    z-index:99999;
    width:44px;
    height:44px;
    border:3px solid color-mix(in srgb,var(--text-muted) 25%,transparent);
    border-top-color:var(--catalog-accent);
    border-radius:50%;
    animation:rmIdentitySpin .7s linear infinite;
}
body.rm-identity-landing{animation:rmIdentityLandingIn .18s ease both}
body.rm-language-transitioning::before{left:calc(50% - 25px);top:calc(50% - 25px)}
body.rm-language-transitioning::after{background:rgba(20,25,22,.28);backdrop-filter:none;-webkit-backdrop-filter:none}
html[data-theme="dark"] body.rm-language-transitioning::after{background:rgb(148 163 184 / 16%)}
@media(prefers-reduced-motion:reduce){body.rm-identity-transitioning::after,body.rm-identity-transitioning::before,body.rm-identity-landing{animation:none}}
.styles-preview-impersonation {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 10px;
    border-radius: 4px;
    background: var(--pv-impersonation-bg);
    color: var(--pv-impersonation-text);
    font-family: var(--pv-control-font);
    cursor: pointer;
}
.styles-preview-chat{
    display:inline-flex;
    width:150px;
    min-height:58px;
    padding:7px;
    border-radius:10px;
    background:var(--pv-ticket-canvas);
    flex-direction:column;
    gap:5px;
    vertical-align:middle;
}
.styles-preview-chat-canvas,.styles-preview-chat-own,.styles-preview-chat-other{
    min-height:0;
    border:0;
    font-family:var(--pv-control-font);
    box-shadow:none;
}
.styles-preview-chat-canvas{
    align-self:center;
    padding:0 5px;
    background:transparent;
    color:var(--pv-main);
    font-size:9px;
    line-height:1;
    opacity:.72;
}
.styles-preview-chat-own,.styles-preview-chat-other{
    max-width:76%;
    padding:4px 8px;
    border-radius:10px;
    font-size:10px;
    line-height:1.2;
}
.styles-preview-chat-canvas:hover,.styles-preview-chat-canvas:focus-visible{background:transparent;color:var(--pv-main);outline:1px solid currentColor;outline-offset:1px}
.styles-preview-chat-own:hover,.styles-preview-chat-own:focus-visible{background:var(--pv-ticket-own-bg);color:var(--pv-ticket-own-text);outline:1px solid currentColor;outline-offset:1px}
.styles-preview-chat-other:hover,.styles-preview-chat-other:focus-visible{background:var(--pv-ticket-other-bg);color:var(--pv-ticket-other-text);outline:1px solid currentColor;outline-offset:1px}
.styles-preview-chat-other{align-self:flex-start;background:var(--pv-ticket-other-bg);color:var(--pv-ticket-other-text);border-bottom-left-radius:3px}
.styles-preview-chat-own{align-self:flex-end;background:var(--pv-ticket-own-bg);color:var(--pv-ticket-own-text);border-bottom-right-radius:3px}

.nav-bell-alert { background: #fef2f2; border-left: 3px solid #b91c1c; }
.nav-bell-alert strong { color: #7f1d1d; }

.nav-bell-item.is-unread { border-left: 3px solid var(--primary); background: var(--primary-light); }
.notify-list { list-style: none; margin: 0; padding: 0; }
.notify-list li {
    display: flex; justify-content: space-between; gap: 16px; align-items: baseline;
    padding: 12px 14px; border-bottom: 1px solid var(--border); font-size: 14px;
}
.notify-list li:last-child { border-bottom: none; }
.notify-list li.is-unread { background: var(--primary-light); border-left: 3px solid var(--primary); }
.notify-list time { font-size: 12px; color: var(--text-muted); white-space: nowrap; }

html[data-theme="dark"] .nav-bell-menu .nav-bell-item,
html[data-theme="dark"] .nav-bell-menu .nav-bell-item strong {
    color: var(--text-main);
}
html[data-theme="dark"] .nav-bell-menu .nav-bell-item span {
    color: var(--text-muted);
}
html[data-theme="dark"] .nav-bell-item.is-unread,
html[data-theme="dark"] .notify-list li.is-unread {
    border-left-color: var(--semantic-accent);
    background: color-mix(in srgb, var(--semantic-accent) 14%, var(--raised-bg));
}
html[data-theme="dark"] .nav-bell-alert {
    border-left-color: var(--status-rejected-text);
    background: color-mix(in srgb, var(--status-rejected-bg) 68%, var(--raised-bg));
}
html[data-theme="dark"] .nav-bell-alert strong {
    color: var(--status-rejected-text);
}


.rm-settings-sticky-wrap {
    position: sticky;
    top: var(--rm-sticky-offset, 0px);
    z-index: 50;
    background: #fff;
}


@media (max-width: 640px) {
    .rm-settings-sticky-wrap {
        position: static;
        top: auto;
        z-index: auto;
    }
    
    .rm-settings-sticky-wrap.enterprise-settings-sticky-wrap {
        position: sticky;
        top: var(--rm-sticky-offset, 0px);
        z-index: 50;
    }
}

.rm-settings-sticky-wrap .settings-search-bar {
    position: relative;
    margin-top: 0;
    padding: 16px 0 10px;
}


table.data-table.rm-table-sticky-thead > thead > tr > th {
    position: sticky;
    top: var(--rm-thead-sticky-offset, 0px);
    z-index: 40;
    background: var(--primary-subtle);
}


table.data-table.rm-table-sticky-thead {
    overflow: visible;
}


.settings-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
    margin-top: 4px;
    max-height: 360px;
    overflow-y: auto;
    z-index: 60;
    display: none;
}
.settings-search-results.is-open { display: block; }
.settings-search-results a {
    display: block;
    padding: 10px 14px;
    text-decoration: none;
    color: var(--ink);
    border-bottom: 1px solid var(--border);
}
.settings-search-results a:last-child { border-bottom: none; }
.settings-search-results a:hover,
.settings-search-results a.is-highlighted { background: var(--primary-light); }
.settings-search-results .settings-search-result-title { font-weight: 600; font-size: 13px; }
.settings-search-results .settings-search-result-tab { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.settings-search-results .settings-search-empty { padding: 14px; font-size: 13px; color: var(--text-muted); }
.enterprise-copy-to-region { position:relative; isolation:isolate; }
.enterprise-copy-to-region.is-copy-selected { outline:2px solid var(--primary); outline-offset:2px; background:color-mix(in srgb,var(--primary) 12%,var(--surface-bg)); }
html body button.enterprise-copy-to-hit { position:absolute; inset:0; width:100%; height:100%; min-width:0; min-height:0; padding:0; border:0; border-radius:4px; background:transparent !important; box-shadow:none; z-index:5; cursor:pointer; }
html body button.enterprise-copy-to-hit:hover { background:color-mix(in srgb,var(--primary) 8%,transparent) !important; }
html body button.enterprise-copy-to-hit:focus-visible { outline:2px solid var(--primary) !important; outline-offset:2px; }
.is-copy-to-mode ~ #enterpriseSaveHelper,.is-copy-to-mode #enterpriseSaveHelper { display:none !important; }
body:has(.is-copy-to-mode) :is(#enterpriseSaveHelper,#userPageSaveHelper,#pageSaveHelper) { display:none !important; }
.enterprise-copy-to-review { max-height:220px; overflow:auto; padding-left:20px; }
.enterprise-copy-to-review li { margin:6px 0; overflow-wrap:anywhere; }
.enterprise-copy-to-targets { border:1px solid var(--control-border); border-radius:8px; padding:10px; }
.enterprise-copy-to-targets summary { cursor:pointer; min-height:32px; }
.enterprise-copy-to-targets .enterprise-copy-parts { max-height:240px; overflow:auto; }
.enterprise-copy-to-chips { display:flex; flex-wrap:wrap; gap:8px; margin:12px 0; }
.enterprise-copy-to-chips>button { max-width:100%; white-space:normal; overflow-wrap:anywhere; }
#enterpriseCopyTabForm { flex-wrap:nowrap; }
.enterprise-search-actions-row #enterpriseCopyTabForm>button { width:auto; flex:1 1 auto; min-width:0; }
.enterprise-enter-value-target {
    scroll-margin-top:calc(var(--rm-settings-sticky-height,110px) + 18px);
    outline:2px solid color-mix(in srgb,var(--primary) 52%,var(--text-main));
    outline-offset:4px;
    background-color:color-mix(in srgb,var(--primary) 10%,var(--surface-bg));
}
.rm-settings-search-target{
    scroll-margin-top:calc(var(--rm-settings-sticky-height,110px) + 18px);
    outline:2px solid color-mix(in srgb,var(--primary) 52%,var(--text-main));
    outline-offset:4px;
    animation:rm-settings-search-target-pulse 3.2s ease both;
}
@keyframes rm-settings-search-target-pulse{
    0%,100%{background-color:transparent}
    18%,72%{background-color:color-mix(in srgb,var(--primary) 10%,var(--surface-bg))}
}


.user-form-heading-row {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    margin-bottom:10px;
}
.user-form-page-heading { margin:0; }
.user-form-impersonate-form { margin:0 0 0 auto; flex:0 0 auto; }
.user-form-impersonate-button,
.user-settings-copy-trigger { width:180px; min-width:180px; }
.user-assignment-row {
    display:flex;
    align-items:center;
    gap:10px;
    min-height:40px;
    padding:8px 0;
    border-bottom:1px solid var(--table-border);
}
.user-assignment-row.is-select-all { font-weight:600; }
@media (max-width:640px) {
    .user-form-heading-row { align-items:stretch; flex-direction:column; gap:10px; }
    .user-form-impersonate-form,
    .user-form-impersonate-button { width:100%; }
}
.user-form-search-sticky {
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    align-items:center;
    gap:24px;
    position: sticky;
    top: var(--rm-sticky-offset, 0px);
    z-index: 55;
    margin: 0 0 14px;
    padding: 8px 0;
    background: var(--surface-bg, #fff);
}
@media (max-width:640px) {
    .user-form-search-sticky { grid-template-columns:minmax(0,1fr); gap:8px; }
    .user-form-search-sticky .user-settings-copy-trigger,
    .user-form-impersonate-button { width:100%; min-width:0; min-height:44px; }
}
.user-form-search-bar {
    position: relative;
    width: min(720px, 100%);
    min-width: 0;
    max-width: 100%;
    margin: 0;
}
.user-form-search-bar .search-clear-wrap,
.user-form-search-bar input { width: 100%; min-width: 0; max-width: 100%; }
.user-form-search-bar input[type="text"] {
    display: block;
    height: 36px;
    box-sizing: border-box;
    padding: 8px 40px 8px 16px !important;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: var(--surface-bg, #fff);
    color: var(--text-main, var(--ink));
    font: inherit;
}
.user-form-search-bar input[type="text"]:focus {
    border-color: var(--primary);
    outline: 2px solid color-mix(in srgb, var(--primary) 28%, transparent);
    outline-offset: 1px;
}
.user-form-search-bar .search-clear-btn {
    right: 2px;
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
}
.user-form-search-results {
    inset-inline: 0;
    top: calc(100% + 4px);
    width: auto;
    max-width: 100%;
    margin-top: 0;
    overscroll-behavior: contain;
}
.user-form-search-results button {
    display: block;
    width: 100%;
    padding: 10px 14px;
    border: 0;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
    background: transparent;
    color: var(--ink);
    text-align: left;
    font: inherit;
    line-height: 1.35;
    white-space: normal;
    overflow-wrap: anywhere;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}
.user-form-search-results button:last-child { border-bottom: 0; }
.user-form-search-results button:hover,
.user-form-search-results button:focus-visible,
.user-form-search-results button:active,
.user-form-search-results button.is-highlighted {
    background: var(--primary-light);
    color: var(--ink);
    outline: none;
}
.user-form-search-results .settings-search-result-title,
.user-form-search-results .settings-search-result-tab { display: block; }
.user-form-page .form-row,
.user-form-page .card.form-page-card { scroll-margin-top: 86px; }
.enterprise-create-page .user-form-search-sticky { background: var(--surface-bg, #fff); }
.enterprise-create-page :is(.form-row,[data-rm-search-entry]) { scroll-margin-top: 86px; }
.user-search-target-highlight {
    border-radius: 6px;
    box-shadow: 0 0 0 2px var(--primary);
    background: color-mix(in srgb, var(--primary) 8%, transparent);
    transition: box-shadow .18s ease, background-color .18s ease;
}
html[data-theme="dark"] .user-form-search-sticky { background: var(--surface-bg); }
html[data-theme="dark"] .enterprise-create-page .user-form-search-sticky { background: var(--surface-bg); }
html[data-theme="dark"] .user-form-search-results button:hover,
html[data-theme="dark"] .user-form-search-results button:focus-visible,
html[data-theme="dark"] .user-form-search-results button:active,
html[data-theme="dark"] .user-form-search-results button.is-highlighted {
    background: color-mix(in srgb, var(--primary) 22%, var(--page-bg));
    color: var(--text-main);
}
@media (max-width: 640px) {
    .user-form-search-sticky { padding: 6px 0; }
    .user-form-search-bar { width: 100%; }
    .user-form-search-bar input[type="text"] { font-size: 16px; }
    .user-form-search-results {
        max-height: min(320px, calc(100dvh - var(--rm-sticky-offset, 0px) - 64px));
    }
    .user-form-page .form-row,
    .user-form-page .card.form-page-card { scroll-margin-top: 72px; }
}


.subnav {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-bottom: 1px solid var(--border);
    padding-bottom: 0;
}
.subnav a {
    padding: 10px 16px;
    font-size: 14px;
    font-family: inherit;
    font-weight: 400;
    color: var(--muted);
    text-decoration: none;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
}
.subnav a:hover { color: var(--ink); }
.subnav a.is-active { color: var(--primary); border-bottom-color: var(--primary); }


.subnav.settings-subnav a.is-active {
    color: var(--catalog-accent);
    border-bottom-color: var(--catalog-accent);
}


.revenue-reports-nav { margin-bottom: 16px; }


.rjl-filter-grid {
    display: grid;
    grid-template-columns: auto auto 1fr auto;
    grid-template-areas:
        "view type . module"
        "filter channel . .";
    column-gap: 28px;
    row-gap: 10px;
    align-items: start;
    margin-top: 10px;
}
.rjl-fg-view    { grid-area: view; margin: 0; }
.rjl-fg-type    { grid-area: type; margin: 0; padding-left: 24px; border-left: 3px solid var(--primary); }
.rjl-fg-module  { grid-area: module; margin: 0; }
.rjl-fg-filter  { grid-area: filter; margin: 0; }
.rjl-fg-channel { grid-area: channel; margin: 0; padding-left: 24px; border-left: 3px solid var(--primary); }


@media (max-width: 900px) {
    .rjl-filter-grid {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    .rjl-fg-type,
    .rjl-fg-channel {
        padding-left: 0;
        border-left: none;
    }
    
    .rjl-filter-grid .subnav {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        overflow-x: visible;
        width: 100%;
    }
}


.reviewer-cell { white-space: nowrap; }
.reviewer-name { display: block; font-size: 13px; }
.reviewer-date { display: block; font-size: 11px; color: var(--muted); margin-top: 1px; }
.reviewer-none { color: #cbd5e1; }



.app-shell { display: flex; align-items: stretch; flex: 1; }


.sidebar {
    flex: 0 0 auto;
    width: max-content;
    min-width: 178px;
    max-width: 260px;
    background: #fbfbfc;
    border-right: 1px solid var(--border);
    padding: 14px 0 24px;
}
.sidebar > nav {
    position: sticky;
    
    
    top: var(--rm-sticky-offset, 0px);
    
    
    max-height: calc(100vh - var(--rm-sticky-offset, 0px) - 25px);
    overflow-y: auto;
    
    scrollbar-width: thin;
}
.sidebar > nav::-webkit-scrollbar { width: 6px; }
.sidebar > nav::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 3px; }
.sidebar > nav::-webkit-scrollbar-track { background: transparent; }

.sidebar-group { margin-top: 14px; }
.sidebar-group-label {
    padding: 0 16px 6px;
    white-space: nowrap;
    font-size: 12px; font-weight: 400; letter-spacing: .04em;
    text-transform: uppercase; color: var(--text-muted);
}
.sidebar-link {
    display: flex; align-items: center; gap: 10px;
    margin: 0;
    padding: 6px 16px;
    white-space: nowrap;
    border-radius: 0;
    font-family: inherit;
    font-size: 15px; font-weight: 400;
    line-height: 1.35;
    color: var(--text-main); text-decoration: none;
    transition: background .12s, color .12s;
}
.sidebar-link:hover { background: var(--surface-soft); color: var(--text-main); border-radius: 0; }
.sidebar-link.is-active {
    background: #EDEDED;
    color: var(--text-main);
    font-weight: 400;
    border-radius: 0;
}

.sidebar-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    
    color: currentColor;
}


.app-shell > .container {
    flex: 1;
    min-width: 0;
    max-width: 1800px;
    padding: 24px 24px 40px;
}


.topbar-spacer { flex: 1; }


.rm-sticky-nav-wrap {
    position: sticky;
    top: 0;
    z-index: 500;
}


.topbar .topnav-desktop { display: none; }


@media (min-width: 900px) {
    .topbar .topnav { display: none; }
    .topbar .topnav-desktop { display: flex; align-items: center; gap: 4px; }
}


@media (max-width: 899px) {
    .sidebar { display: none; }
    .topbar-spacer { display: none; }
    .app-shell { display: block; }
}

.dsp-access-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 8px 16px;
    padding: 12px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #fafafa;
    max-height: 260px;
    overflow-y: auto;
}


.nav-lang-form {
    display: flex; align-items: center; gap: 8px;
    position: relative;
    padding: 8px 14px;
    border-top: 1px solid #eef0f4;
    border-bottom: 1px solid #eef0f4;
}
.nav-lang-form label { font-size: 12px; color: var(--text-faint); white-space: nowrap; }
.nav-lang-form select {
    flex: 1; min-width: 0;
    font-size: 12px; padding: 4px 26px 4px 6px;
    border: 1px solid var(--field-border); border-radius: 6px; background: #fff;
}


.lang-strip {
    background: #fff; border-bottom: 0;
    padding: 6px 24px; display: flex; justify-content: flex-end;
}
.lang-strip form { display: flex; align-items: center; gap: 6px; position: relative; }
.lang-strip label { font-size: 12px; color: var(--text-faint); }
.lang-strip select {
    font-size: 12px; padding: 4px 26px 4px 8px;
    border: 1px solid var(--field-border); border-radius: 6px;
}
.nav-lang-form.is-switching select,
.lang-strip form.is-switching select {
    opacity: .6;
    pointer-events: none;
    cursor: wait;
}
.nav-lang-form.is-switching::after,
.lang-strip form.is-switching::after {
    content: '';
    position: absolute;
    right: 21px;
    width: 12px;
    height: 12px;
    box-sizing: border-box;
    border: 2px solid color-mix(in srgb, var(--theme-color) 28%, transparent);
    border-top-color: var(--theme-color);
    border-radius: 50%;
    animation: rm-btn-spin .6s linear infinite;
    will-change: transform;
    backface-visibility: hidden;
    pointer-events: none;
}
.lang-strip form.is-switching::after { right: 8px; }


.grid-pagination {
    margin-top: 4px;
    padding: 4px 2px 8px;
}



.topbar .nav-dropdown-menu a.nav-menu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    white-space: nowrap;
}
.nav-menu-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    line-height: 1;
    opacity: .65;
}
.nav-menu-icon .rm-icon { display:block; width:16px; height:16px; }
.topbar .nav-dropdown-menu a.nav-menu-item:hover .nav-menu-icon { opacity: 1; }


.nav-menu-hint { display: none; }


@media (min-width: 900px) {
    .nav-menu-hint {
        display: block;
        position: absolute;
        left: calc(100% + 12px);
        top: 50%;
        width: max-content;
        max-width: 240px;
        white-space: normal;
        background: #1f2430;
        color: #fff;
        font-size: 12px;
        font-weight: 400;
        line-height: 1.5;
        letter-spacing: .01em;
        padding: 9px 11px;
        border-radius: 8px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, .22);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-50%) translateX(-6px);
        transition: opacity .15s ease, transform .15s ease, visibility .15s;
        pointer-events: none;
        z-index: 300;
    }
    
    .nav-menu-hint::before {
        content: "";
        position: absolute;
        right: 100%;
        top: 50%;
        margin-top: -5px;
        border: 5px solid transparent;
        border-right-color: #1f2430;
    }
    .topbar .nav-dropdown-menu a.nav-menu-item:hover .nav-menu-hint,
    .topbar .nav-dropdown-menu a.nav-menu-item:focus-visible .nav-menu-hint {
        opacity: 1;
        visibility: visible;
        transform: translateY(-50%) translateX(0);
    }
}



.transfer-layout {
    --transfer-control-height:52px;
    --transfer-control-radius:10px;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 1fr);
    gap: 20px;
    font-family: var(--font-family-main);
    
    
    align-items: start;
}
.transfer-layout > .card { margin-bottom: 0; min-width: 0; }
@media (max-width: 899px) {
    .transfer-layout { grid-template-columns: 1fr; }
}


.track-transfer-page {
    max-width: 1100px;
    margin: 0 auto;
    font-family: var(--font-family-main);
}
.track-transfer-page .transfer-page-header { margin: 0 0 30px; }
.track-transfer-page .transfer-page-header h1 {
    margin: 0 0 8px;
    font-size: 36px;
    font-weight: 400;
    line-height: 1.235;
}
.track-transfer-page .transfer-page-header p {
    max-width: 720px;
    margin: 0;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.5;
}
.track-transfer-page .transfer-layout {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 420px);
    gap: 48px;
}
.track-transfer-page .transfer-summary,
.track-transfer-page .transfer-action { padding-top: 0; }
.track-transfer-page .transfer-album-meta h2 {
    font-family: inherit;
    font-size: 24px;
    font-weight: 400;
}
.track-transfer-page .transfer-track-head {
    font-family: inherit;
    font-weight: 400;
}
.track-transfer-page .transfer-count { font-weight: 500; }
.track-transfer-page table.data-table.transfer-linked-albums {
    border: none;
    border-radius: 0;
    box-shadow: none;
}
.track-transfer-page .transfer-action h2 {
    margin: 0 0 18px;
    font-family: inherit;
    font-size: 22px;
    font-weight: 400;
    line-height: 1.3;
}
.track-transfer-page .transfer-owner-box {
    border: none;
    border-radius: 4px;
    padding: 14px 16px;
}
.track-transfer-page .transfer-owner-box.is-target {
    border: none;
    background: var(--primary-light);
}
.track-transfer-page .transfer-owner-role { font-weight: 500; }
.track-transfer-page .transfer-owner-box strong { font-weight: 500; }
.track-transfer-page .transfer-owner-box select {
    border: none;
    border-bottom: 1px solid var(--control-underline);
    border-radius: 0;
    padding: 8px 26px 8px 2px;
    font-family: inherit;
}
.track-transfer-page .transfer-arrow { color: var(--primary-dark); }
.track-transfer-page .transfer-warning {
    border: none;
    border-left: 3px solid #f0b44d;
    border-radius: 0 4px 4px 0;
    font-family: inherit;
    font-weight: 400;
}
.track-transfer-page .form-actions { margin-top: 20px; }
@media (max-width: 899px) {
    .track-transfer-page .transfer-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}
@media (max-width: 640px) {
    .track-transfer-page .transfer-page-header { margin-bottom: 24px; }
    .track-transfer-page .transfer-page-header h1 { font-size: 28px; }
    .track-transfer-page .transfer-layout { gap: 24px; }
    .track-transfer-page .form-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    .track-transfer-page .form-actions > .btn,
    .track-transfer-page .form-actions > button {
        width: 100%;
        justify-content: center;
    }
}

.transfer-album-head { display: flex; gap: 18px; align-items: flex-start; }
.transfer-cover {
    width: 132px; height: 132px; flex-shrink: 0;
    border-radius: 10px; overflow: hidden; background: #f0f0f0;
}
.transfer-album-meta { flex: 1; min-width: 0; }
.transfer-album-meta h2 { margin: 0 0 4px; font-size: 20px; line-height: 1.25; }
.transfer-artists { margin: 0 0 10px; color: var(--muted); font-size: 14px; }



.transfer-facts {
    display: grid;
    grid-template-columns: max-content max-content;
    justify-content: start;
    gap: 6px 28px;
    margin: 14px 0 0;
    font-size: 13px;
}
.transfer-facts dt { color: var(--muted); font-weight: 400; }
.transfer-facts dd { margin: 0; font-weight: 400; }
@media (max-width: 640px) {
    .transfer-facts { grid-template-columns: max-content minmax(0,1fr); gap-column: 12px; }
    .transfer-facts dd { overflow-wrap: anywhere; }
}

.transfer-track-head {
    display: flex; align-items: center; gap: 8px;
    margin: 24px 0 10px;
    padding-top: 0;
    border-top: none;
    font-size: 15px;
}
.transfer-count {
    background: var(--primary-light); color: var(--primary-dark);
    font-size: 12px; font-weight: 700;
    padding: 2px 8px; border-radius: 20px;
}

.transfer-empty {
    display: flex; align-items: center; justify-content: center;
    margin: 0; padding: 16px;
    background: #f3f4f6;
    border-radius: 8px;
    color: var(--text-faint); font-size: 13px; text-align: center;
}
.transfer-tracks td { font-size: 13px; }
.transfer-track-no { width: 34px; color: var(--muted); font-weight: 500; text-align: right; }
.transfer-version { color: var(--muted); }
.transfer-isrc { color: var(--muted); font-family: ui-monospace, "Consolas", monospace; font-size: 12px; }

.transfer-action h2 { font-size: 17px; margin: 0 0 4px; }
.transfer-hint { margin: 0 0 18px; font-size: 13px; color: var(--muted); }



.transfer-owner-flow { display: flex; flex-direction: column; gap: 10px; }
.transfer-owner-box {
    flex: 1; min-width: 0;
    padding: 12px 14px;
    border: 1px solid var(--border); border-radius: 10px;
    background: var(--surface-soft);
    display: flex; flex-direction: column; gap: 3px;
}
.transfer-owner-box.is-target { background: var(--primary-light); border-color: #bde9cd; }
.transfer-owner-role {
    font-size: 11px; font-weight: 700; letter-spacing: .05em;
    text-transform: uppercase; color: var(--text-faint);
}
.transfer-owner-box strong { font-size: 14px; }
.transfer-owner-mail { font-size: 12px; color: var(--muted); word-break: break-all; }
.transfer-owner-box select {
    width: 100%; max-width: 100%; min-width: 0; margin-top: 2px;
    padding: 7px 9px; font-size: 13px;
    border: 1px solid #cfe6d9; border-radius: 7px; background: #fff;
}
.transfer-arrow {
    align-self: center;
    color: #c3c8d0;
    font-size: 18px;
    line-height: 1;
    transform: rotate(90deg);
}

.transfer-warning {
    margin: 18px 0;
    padding: 12px 14px;
    border: 1px solid var(--warning-border); border-radius: 10px; background: var(--warning-bg);
    font-size: 13px; line-height: 1.55; color: var(--warning-text);
}


.transfer-summary,
.transfer-action { min-width:0; }
.transfer-album-head { align-items:stretch; }
.transfer-album-meta {
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    min-height:132px;
    overflow:hidden;
}
.transfer-album-meta h2,
.transfer-artists,
.transfer-upc {
    display:block;
    min-width:0;
    max-width:100%;
    margin:0;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}
.transfer-album-meta h2 { font-size:20px; line-height:1.3; }
.transfer-artists { color:var(--muted); font-size:14px; line-height:1.35; }
.transfer-upc {
    display:flex;
    align-items:baseline;
    gap:8px;
    color:var(--muted);
    font-size:13px;
    line-height:1.35;
}
.transfer-upc > span:first-child { flex:0 0 auto; }
.transfer-upc .upc-code {
    min-width:0;
    color:var(--text-main);
}
.transfer-album-meta > .status-badge { align-self:flex-start; }


.transfer-track-stage {
    width:100%;
    min-width:0;
    overflow:hidden;
    border:1px solid var(--control-border);
    border-radius:8px;
    background:var(--raised-bg);
}
.transfer-track-item {
    display:grid;
    grid-template-columns:40px minmax(0,1fr) minmax(130px,.7fr) auto;
    align-items:center;
    min-width:0;
    min-height:48px;
    padding:0 8px;
    gap:10px;
}
.transfer-track-item[hidden] { display:none !important; }
.transfer-track-copy { display:block; min-width:0; }
.transfer-track-title,
.transfer-track-artists {
    display:block;
    min-width:0;
    max-width:100%;
    overflow:hidden;
    white-space:nowrap;
    text-overflow:ellipsis;
}
.transfer-track-title { color:var(--text-main); font-size:13px; }
.transfer-track-artists { display:none !important; color:var(--muted); font-size:12px; }
.transfer-track-no { width:auto; text-align:center; }
.transfer-isrc {
    display:block;
    min-width:0;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}
.transfer-track-stepper {
    display:grid;
    grid-template-columns:1fr 1fr;
    width:68px;
    height:34px;
    gap:4px;
}
.transfer-track-step {
    display:grid;
    place-items:center;
    min-width:0;
    min-height:0;
    padding:0;
    border:1px solid var(--control-border);
    border-radius:7px;
    background:var(--control-bg);
    color:var(--primary);
    cursor:pointer;
    touch-action:manipulation;
    user-select:none;
    -webkit-touch-callout:none;
    -webkit-tap-highlight-color:transparent;
}
.transfer-track-step svg { width:15px; height:15px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.transfer-track-step:hover { border-color:var(--primary); background:var(--primary-light); color:var(--primary-dark); }
.transfer-track-step:focus-visible { outline:2px solid var(--primary); outline-offset:2px; }
.transfer-owner-box select,
.transfer-owner-box .rm-searchable-select-trigger { min-height:48px; height:48px; border-radius:8px; }

@media (min-width:900px) {
    .transfer-owner-flow { gap:4px; }
    .transfer-arrow { position:relative; top:2px; height:0; line-height:0; }
}

@media (max-width:640px) {
    .transfer-album-head { gap:16px; }
    .transfer-cover { width:132px; height:132px; }
    .transfer-album-meta { min-height:132px; }
    .transfer-album-meta h2 { font-size:20px; }
    .transfer-track-head { margin-top:22px; }
    .transfer-track-item {
        grid-template-columns:28px minmax(0,1fr) 38px;
        grid-template-rows:32px 32px;
        min-height:64px;
        padding:0 6px;
        gap:0 8px;
    }
    .transfer-track-no { grid-column:1; grid-row:1 / 3; }
    .transfer-track-copy {
        grid-column:2;
        grid-row:1 / 3;
        display:grid;
        grid-template-rows:32px 32px;
        align-items:center;
        min-width:0;
    }
    .transfer-track-title { grid-row:1; align-self:center; }
    .transfer-track-artists { display:block !important; grid-row:2; align-self:center; }
    .transfer-isrc { display:none !important; }
    .transfer-track-stepper {
        grid-column:3;
        grid-row:1 / 3;
        grid-template-columns:1fr;
        grid-template-rows:1fr 1fr;
        width:38px;
        height:64px;
        gap:0;
    }
    .transfer-track-step { border:0; border-left:1px solid var(--control-border); border-radius:0; }
    .transfer-track-step:first-child { border-bottom:1px solid var(--control-border); }
    .transfer-owner-box select,
    .transfer-owner-box .rm-searchable-select-trigger { min-height:44px; height:44px; }
}


.album-owner-transfer > .transfer-summary,
.album-owner-transfer > .transfer-action {
    padding:20px;
    border:0;
    border-radius:0;
    background:transparent;
    box-shadow:none;
}
.album-owner-transfer .transfer-action-heading {
    display:flex;
    align-items:center;
    gap:12px;
    min-width:0;
}
.album-owner-transfer .transfer-action-heading h2 {
    margin:0;
    font-size:20px;
    line-height:1.3;
}
.album-owner-transfer .transfer-owner-lead { min-width:0; }
.album-owner-transfer .transfer-icon-badge,
.album-owner-transfer .transfer-owner-avatar {
    display:grid;
    place-items:center;
    flex:0 0 auto;
    width:40px;
    height:40px;
    border-radius:50%;
    background:var(--primary-light);
    color:var(--primary);
}
.album-owner-transfer .transfer-icon-badge svg,
.album-owner-transfer .transfer-owner-avatar svg,
.album-owner-transfer .transfer-select-icon svg,
.album-owner-transfer .transfer-warning-icon svg {
    width:22px;
    height:22px;
    fill:none;
    stroke:currentColor;
    stroke-width:1.7;
    stroke-linecap:round;
    stroke-linejoin:round;
}
.album-owner-transfer .transfer-hint {
    margin:8px 0 32px;
    line-height:1.45;
}
.album-owner-transfer .transfer-owner-flow {
    display:flex;
    flex-direction:column;
    gap:12px;
}
.album-owner-transfer .transfer-owner-box,
.album-owner-transfer .transfer-owner-box.is-target {
    display:flex;
    flex-direction:column;
    gap:9px;
    min-width:0;
    padding:0;
    border:0;
    border-radius:0;
    background:transparent;
}
.album-owner-transfer .transfer-owner-role {
    font-size:11px;
    font-weight:700;
    letter-spacing:.06em;
    color:var(--text-faint);
}
.album-owner-transfer .transfer-owner-current {
    display:flex;
    align-items:center;
    gap:12px;
    min-width:0;
}
.album-owner-transfer .transfer-owner-copy {
    display:flex;
    flex-direction:column;
    gap:2px;
    min-width:0;
}
.album-owner-transfer .transfer-owner-copy strong,
.album-owner-transfer .transfer-owner-mail {
    display:block;
    min-width:0;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}
.album-owner-transfer .transfer-owner-copy strong { font-size:14px; }
.album-owner-transfer .transfer-owner-mail { font-size:12px; }
.album-owner-transfer .transfer-current-owner-note { text-transform:lowercase; }
.album-owner-transfer .transfer-arrow {
    display:grid;
    grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);
    align-items:center;
    gap:12px;
    width:100%;
    height:20px;
    color:var(--text-faint);
    transform:none;
}
.album-owner-transfer .transfer-arrow::before,
.album-owner-transfer .transfer-arrow::after {
    content:"";
    height:1px;
    background:var(--control-border);
}
.album-owner-transfer .transfer-arrow span { line-height:1; }
.album-owner-transfer .transfer-owner-box form { min-width:0; }
.transfer-owner-select-shell {
    position:relative;
    width:100%;
    height:var(--transfer-control-height);
    min-width:0;
}
.album-owner-transfer .transfer-select-icon {
    position:absolute;
    z-index:2;
    left:12px;
    top:50%;
    display:grid;
    place-items:center;
    width:26px;
    height:26px;
    color:var(--text-muted);
    transform:translateY(-50%);
    pointer-events:none;
}
.album-owner-transfer .transfer-owner-select-shell > select,
.album-owner-transfer .transfer-owner-select-shell > .rm-searchable-select-shell,
.album-owner-transfer .transfer-owner-select-shell .rm-searchable-select-trigger {
    width:100%;
    height:var(--transfer-control-height);
    min-height:var(--transfer-control-height);
    max-height:var(--transfer-control-height);
    box-sizing:border-box;
    border-radius:var(--transfer-control-radius);
}
.album-owner-transfer .transfer-owner-select-shell > select,
.album-owner-transfer .transfer-owner-select-shell .rm-searchable-select-trigger {
    padding-left:48px;
    border-color:var(--control-border);
    background-color:var(--control-bg);
}
.album-owner-transfer .rm-searchable-select-value {
    display:block;
    min-width:0;
    line-height:normal;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}
.album-owner-transfer .transfer-track-stage {
    height:var(--transfer-control-height);
    min-height:var(--transfer-control-height);
    border-radius:10px;
}
.album-owner-transfer .transfer-track-item {
    min-height:var(--transfer-control-height);
    height:var(--transfer-control-height);
}
.album-owner-transfer .transfer-warning {
    margin:20px 0 0;
    padding:12px 8px;
    border:0;
    border-radius:10px;
    background:var(--surface-soft);
    color:var(--muted);
}
.album-owner-transfer .transfer-warning-desktop {
    display:grid;
    grid-template-columns:40px minmax(0,1fr);
    align-items:center;
    gap:10px;
    padding-left:9px;
    padding-right:9px;
}
.album-owner-transfer .transfer-warning-mobile { display:none; }
.album-owner-transfer .transfer-warning-icon {
    display:grid;
    place-items:center;
    width:30px;
    height:30px;
    justify-self:center;
    border-radius:50%;
    background:color-mix(in srgb, var(--text-faint) 16%, transparent);
    color:var(--text-muted);
}
.album-owner-transfer .transfer-warning-icon svg { width:18px; height:18px; }
.album-owner-transfer .form-actions { margin-top:22px; }
.album-owner-transfer .rm-searchable-select-heading { display:none; }
.album-owner-transfer .transfer-desktop-visual { display:none; }
.track-owner-transfer .transfer-owner-cover {
    display:grid;
    place-items:center;
    background:transparent;
    padding:0;
}
.track-owner-transfer .transfer-owner-cover > :is(img,.user-avatar-placeholder) {
    width:100% !important;
    height:100% !important;
    border-radius:50% !important;
    margin:0 !important;
    object-fit:cover;
}
.track-owner-transfer .transfer-owner-cover .user-avatar-placeholder svg {
    width:70%;
    height:70%;
}
.track-owner-transfer .transfer-track-links > a {
    display:grid;
    place-items:center;
    text-decoration:none;
}
.track-owner-transfer .transfer-track-links svg {
    width:17px;
    height:17px;
}

@media (min-width:960px) {
    
    .app-main > .container:has(> .album-owner-transfer) {
        display:flex;
        flex-direction:column;
    }
    .album-owner-transfer {
        flex:1;
        width:100%;
        grid-template-columns:minmax(0,1fr) minmax(0,1fr);
        grid-template-rows:auto 18px auto auto auto minmax(280px,1fr);
        align-content:start;
        row-gap:0;
    }
    .album-owner-transfer .transfer-action-heading {
        align-items:center;
        transform:translateY(-7px);
    }
    .album-owner-transfer .transfer-hint {
        margin-bottom:8px;
        padding-left:52px;
        overflow:hidden;
        text-overflow:ellipsis;
        white-space:nowrap;
        transform:translateY(-7px);
    }
    .album-owner-transfer > .transfer-summary,
    .album-owner-transfer > .transfer-action {
        display:grid;
        grid-template-rows:subgrid;
        grid-row:1 / 6;
        align-self:stretch;
    }
    .album-owner-transfer > .transfer-summary { grid-column:1; }
    .album-owner-transfer > .transfer-action { grid-column:2; }
    .album-owner-transfer .transfer-album-head,
    .album-owner-transfer .transfer-owner-lead { grid-row:1; }
    .album-owner-transfer .transfer-album-head {
        align-self:start;
        height:132px;
    }
    .album-owner-transfer .transfer-track-head {
        grid-row:3;
        align-self:start;
        margin:0 0 10px;
    }
    .album-owner-transfer .transfer-track-stage,
    .album-owner-transfer .transfer-empty { grid-row:4; }
    .album-owner-transfer .transfer-warning-desktop,
    .album-owner-transfer .form-actions { grid-row:5; align-self:start; margin:20px 0 0; }
    .album-owner-transfer .form-actions { margin-top:20px; }
    .album-owner-transfer .transfer-warning-desktop {
        padding:0 9px;
        background:transparent;
        align-items:start;
    }
    .album-owner-transfer .transfer-owner-box.is-target {
        display:grid;
        grid-template-rows:subgrid;
        grid-row:3 / 5;
        gap:0;
    }
    .album-owner-transfer .transfer-owner-box.is-target > .transfer-owner-role {
        grid-row:1;
        align-self:start;
        margin:0 0 10px;
        line-height:18px;
        transform:none;
    }
    .album-owner-transfer .transfer-owner-box.is-target > form { grid-row:2; }
    .album-owner-transfer .transfer-track-title { font-size:14px; transform:none; }
    .album-owner-transfer .transfer-arrow { position:static; top:auto; height:18px; line-height:normal; transform:translateY(17px); }
    .album-owner-transfer .transfer-warning-desktop .transfer-warning-icon {
        background:transparent;
    }
    .album-owner-transfer .transfer-desktop-visual {
        display:grid;
        grid-column:1 / -1;
        grid-row:6;
        grid-template-rows:auto auto;
        place-items:start center;
        align-self:stretch;
        align-content:center;
        gap:10px;
        min-height:0;
        
        padding:26px 24px 0;
        overflow:hidden;
        pointer-events:none;
        user-select:none;
    }
    .album-owner-transfer .transfer-desktop-visual svg {
        display:block;
        width:min(520px, 50vw);
        height:auto;
        overflow:visible;
    }
    .album-owner-transfer .transfer-visual-copy {
        display:grid;
        justify-items:center;
        gap:5px;
        width:min(580px, 62vw);
        text-align:center;
    }
    .album-owner-transfer .transfer-visual-copy strong {
        color:var(--text-main);
        font-size:17px;
        font-weight:700;
        line-height:1.3;
    }
    .album-owner-transfer .transfer-visual-copy span {
        color:var(--muted);
        font-size:13px;
        line-height:1.5;
        text-wrap:balance;
    }
    .album-owner-transfer .transfer-visual-ground {
        fill:none;
        stroke:color-mix(in srgb, var(--primary) 30%, var(--control-border));
        stroke-width:2;
        stroke-linecap:round;
    }
    .album-owner-transfer .transfer-visual-route,
    .album-owner-transfer .transfer-visual-route-tip {
        fill:none;
        stroke:color-mix(in srgb, var(--primary) 78%, var(--text-main));
        stroke-width:2;
        stroke-linecap:round;
        stroke-linejoin:round;
    }
    .album-owner-transfer .transfer-visual-route { stroke-dasharray:5 7; }
    .album-owner-transfer .transfer-visual-card > path:first-child {
        fill:color-mix(in srgb, var(--surface) 94%, var(--primary) 6%);
        stroke:var(--control-border);
        stroke-width:1.5;
    }
    .album-owner-transfer .transfer-visual-card.is-target > path:first-child {
        fill:color-mix(in srgb, var(--surface) 89%, var(--primary) 11%);
    }
    .album-owner-transfer .transfer-visual-fold {
        fill:none;
        stroke:var(--control-border);
        stroke-width:1.5;
        stroke-linejoin:round;
    }
    .album-owner-transfer .transfer-visual-avatar-ring {
        fill:color-mix(in srgb, var(--primary) 10%, transparent);
        stroke:color-mix(in srgb, var(--primary) 78%, var(--text-main));
        stroke-width:2;
    }
    .album-owner-transfer .transfer-visual-avatar-head,
    .album-owner-transfer .transfer-visual-avatar-body {
        fill:none;
        stroke:color-mix(in srgb, var(--primary) 86%, var(--text-main));
        stroke-width:2;
        stroke-linecap:round;
        stroke-linejoin:round;
    }
    .album-owner-transfer .transfer-visual-line {
        fill:none;
        stroke:color-mix(in srgb, var(--text-muted) 48%, transparent);
        stroke-width:5;
        stroke-linecap:round;
    }
    .album-owner-transfer .transfer-visual-line.is-strong {
        stroke:color-mix(in srgb, var(--primary) 48%, transparent);
    }
    .album-owner-transfer .transfer-visual-check {
        fill:color-mix(in srgb, var(--primary) 18%, var(--surface));
        stroke:var(--primary);
        stroke-width:1.5;
    }
    .album-owner-transfer .transfer-visual-check-mark,
    .album-owner-transfer .transfer-visual-action path,
    .album-owner-transfer .transfer-visual-note path {
        fill:none;
        stroke-linecap:round;
        stroke-linejoin:round;
    }
    .album-owner-transfer .transfer-visual-check-mark {
        stroke:var(--primary);
        stroke-width:1.5;
    }
    .album-owner-transfer .transfer-visual-action circle { fill:var(--primary); }
    .album-owner-transfer .transfer-visual-action path {
        stroke:var(--primary-contrast, #fff);
        stroke-width:2;
    }
    .album-owner-transfer .transfer-visual-note path {
        stroke:color-mix(in srgb, var(--primary) 72%, var(--text-main));
        stroke-width:2;
    }
    .album-owner-transfer .transfer-visual-note circle,
    .album-owner-transfer .transfer-visual-dot {
        fill:color-mix(in srgb, var(--primary) 74%, var(--text-main));
    }
    .album-owner-transfer .transfer-visual-dot.is-small { opacity:.45; }
}

@media (max-width:959px) {
    .album-owner-transfer { gap:20px; }
    .album-owner-transfer > .transfer-summary,
    .album-owner-transfer > .transfer-action {
        display:block;
        grid-column:auto;
        grid-row:auto;
    }
}

@media (max-width:640px) {
    .album-owner-transfer > .transfer-summary,
    .album-owner-transfer > .transfer-action {
        padding:18px;
        border-radius:14px;
    }
    .album-owner-transfer .transfer-track-stage,
    .album-owner-transfer .transfer-track-item {
        height:64px;
        min-height:64px;
    }
    .album-owner-transfer .transfer-track-stage { border-radius:10px; }
    .album-owner-transfer .transfer-track-head { margin:56px 0 10px; }
    .album-owner-transfer .transfer-owner-select-shell,
    .album-owner-transfer .transfer-owner-select-shell > select,
    .album-owner-transfer .transfer-owner-select-shell > .rm-searchable-select-shell,
    .album-owner-transfer .transfer-owner-select-shell .rm-searchable-select-trigger {
        height:var(--transfer-control-height);
        min-height:var(--transfer-control-height);
        max-height:var(--transfer-control-height);
    }
    .album-owner-transfer .transfer-warning-desktop { display:none; }
    .album-owner-transfer .transfer-warning-mobile {
        display:grid;
        grid-template-columns:36px minmax(0,1fr);
        align-items:start;
        gap:10px;
        margin-top:18px;
        padding:12px;
    }
    .album-owner-transfer .transfer-warning-mobile .transfer-warning-icon { width:30px; height:30px; }
    .album-owner-transfer .transfer-action-heading h2 { font-size:20px; }
    .album-owner-transfer .transfer-hint { margin-bottom:20px; }
    .album-owner-transfer .transfer-owner-current { padding:2px 0; }
    .album-owner-transfer .form-actions { margin-top:18px; }
    .album-owner-transfer .transfer-owner-select-shell .rm-searchable-select-popup.has-modal-heading {
        position:fixed;
        z-index:1400;
        top:50%;
        right:20px;
        left:20px;
        width:auto;
        max-width:440px;
        max-height:min(620px,calc(100dvh - 40px));
        margin:0 auto;
        padding:0 16px 16px;
        overflow:hidden;
        border:1px solid var(--table-border);
        border-radius:16px;
        background:var(--raised-bg);
        box-shadow:0 0 0 100vmax rgba(15,23,42,.42),0 18px 46px rgba(15,23,42,.24);
        transform:translateY(-50%);
    }
    .album-owner-transfer .rm-searchable-select-heading {
        display:flex;
        align-items:center;
        justify-content:space-between;
        gap:12px;
        min-height:58px;
        border-bottom:1px solid var(--table-border);
        color:var(--text-main);
    }
    .album-owner-transfer .rm-searchable-select-heading strong {
        font-size:18px;
        font-weight:500;
    }
    .album-owner-transfer .rm-searchable-select-close {
        display:grid;
        place-items:center;
        width:40px;
        min-width:40px;
        height:40px;
        min-height:40px;
        padding:0;
        border:0;
        border-radius:8px;
        background:transparent;
        color:var(--text-muted);
        font-size:26px;
        font-weight:300;
        line-height:1;
        box-shadow:none;
        -webkit-tap-highlight-color:transparent;
    }
    .album-owner-transfer .rm-searchable-select-close:is(:hover,:active) {
        background:var(--primary-light);
        color:var(--primary-dark);
        transform:none;
    }
    .album-owner-transfer .transfer-owner-select-shell .rm-searchable-select-search {
        height:44px;
        margin:14px 0 12px;
        padding:0 14px;
        border:1px solid var(--control-border)!important;
        border-radius:999px!important;
        background:var(--input-bg)!important;
        box-shadow:none!important;
    }
    .album-owner-transfer .transfer-owner-select-shell .rm-searchable-select-search:focus {
        border-color:var(--primary)!important;
        box-shadow:0 0 0 3px var(--primary-light)!important;
    }
    .album-owner-transfer .transfer-owner-select-shell .rm-searchable-select-options {
        display:grid;
        gap:8px;
        max-height:min(410px,calc(100dvh - 170px));
        padding-right:2px;
    }
    .album-owner-transfer .transfer-owner-select-shell .rm-searchable-select-option {
        min-height:48px;
        padding:10px 12px;
        border:1px solid var(--table-border);
        border-radius:10px;
        background:var(--raised-bg);
        color:var(--text-main);
        line-height:1.35;
    }
    .album-owner-transfer .transfer-owner-select-shell .rm-searchable-select-option.is-selected {
        border-color:var(--primary);
        background:var(--primary-light);
        color:var(--primary-dark);
    }
    .album-owner-transfer .transfer-owner-select-shell .rm-searchable-select-option:is(:hover,:focus-visible,:active) {
        border-color:var(--primary);
        background:var(--primary-light);
        color:var(--primary-dark);
        outline:0;
        transform:none;
    }
    html:not([data-theme="dark"]) .album-owner-transfer .transfer-owner-select-shell .rm-searchable-select-option:is(.is-selected,:hover,:focus-visible,:active) {
        color:var(--text-main);
    }
}

@media (max-width:640px) {
    .track-owner-transfer .transfer-owner-cover {
        width:132px;
        height:132px;
    }
}


@media (min-width: 761px) {
    .data-table.track-list-table .track-albums-column,
    .data-table.track-list-table .track-mobile-listen {
        text-align: center;
    }
}


.rm-play-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 30px; height: 30px; padding: 0;
    border: none; border-radius: 50%;
    background: var(--primary); color: var(--primary-contrast);
    cursor: pointer;
    transition: transform .12s ease, background .12s ease;
}
.rm-play-btn:hover { transform: scale(1.08); background: var(--primary-hover); }


.rm-play-icon {
    width: 0; height: 0;
    margin-left: 2px;                       
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 10px solid currentColor;
}

.rm-play-btn.is-playing .rm-play-icon,
.rm-player.is-playing .rm-play-icon {
    
    margin-left: 0;
    width: 10px; height: 12px;
    border: none;
    border-left: 3.5px solid currentColor;
    border-right: 3.5px solid currentColor;
}


.rm-player.is-playing .rm-play-icon {
    width: 14px;
    height: 15px;
    border-left-width: 4.5px;
    border-right-width: 4.5px;
}


.rm-play-btn.is-missing {
    background: #f59e0b; color: #fff;
    font-weight: 800; font-size: 15px; line-height: 1;
    cursor: default;
}
.rm-play-btn.is-missing:hover { transform: none; background: #f59e0b; }


.rm-player {
    position: fixed; left: 0; right: 0; bottom: 0;
    z-index: 400;
    display: flex; align-items: center; gap: 16px;
    padding: 10px 18px;
    background: var(--player-bg, #3a4150); color: var(--player-contrast);
    box-shadow: 0 -4px 18px rgba(0, 0, 0, .16);
}
.rm-player[hidden] { display: none; }

.rm-player-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 38px; height: 38px; flex-shrink: 0;
    border: none; border-radius: 50%;
    background: var(--primary); color: var(--primary-contrast); cursor: pointer;
}
.rm-player-toggle:hover { background: var(--primary-hover); }

.rm-player-meta { min-width: 0; width: 210px; flex-shrink: 0; }
.rm-player-meta strong {
    display: block; font-size: 13px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.rm-player-meta span {
    display: block; font-size: 12px; color: rgba(255, 255, 255, .6);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.rm-player-seek { flex: 1; display: flex; align-items: center; gap: 10px; min-width: 0; }
.rm-player-seek input[type=range] {
    flex: 1; min-width: 0; height: 4px; accent-color: var(--primary); cursor: pointer;
}
.rm-player-time {
    font-size: 11px; color: rgba(255, 255, 255, .65);
    font-variant-numeric: tabular-nums; flex-shrink: 0;
}

.rm-player-close {
    background: none; border: none; cursor: pointer; flex-shrink: 0;
    color: rgba(255, 255, 255, .6); font-size: 22px; line-height: 1; padding: 0 4px;
}

.rm-player-close:hover { color: #fff; background: none; }


body:has(.rm-player:not([hidden])) .footer { padding-bottom: 68px; }

@media (max-width: 640px) {
    .rm-player { gap: 10px; padding: 8px 12px; }
    .rm-player-meta { width: 120px; }
    .rm-player-duration { display: none; }
}


.form-page-card .form-row > input[type=text],
.form-page-card .form-row > input[type=url],
.form-page-card .form-row > input[type=email],
.form-page-card .form-row > input[type=password],
.form-page-card .form-row > input[type=date],
.form-page-card .form-row > input[type=month],
.form-page-card .form-row > input[type=time],
.form-page-card .form-row > input[type=week],
.form-page-card .form-row > input[type=datetime-local],
.form-page-card .form-row > input[type=number],
.form-page-card .form-row > select,
.form-page-card .form-row > textarea {
    max-width: 560px;
}

.form-page-card .row-2col .form-row > input,
.form-page-card .row-2col .form-row > select,
.form-page-card .row-2col .form-row > textarea {
    max-width: none;
}


.audio-line {
    display: flex; align-items: center; gap: 12px;
    margin-top: 16px; padding: 12px 14px;
    background: var(--surface-soft); border: 1px solid var(--table-border); border-radius: 4px;
}
.audio-line-name {
    font-size: 13px; color: var(--text-muted);
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    flex: 1; min-width: 0;
}




.owner-box {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    max-width: 640px;
    min-width: 0;
    padding: 10px 12px;
    border: 1px solid var(--control-underline);
    border-radius: 4px;
    background: transparent;
    overflow: visible;
    font-family: inherit;
    font-weight: 400;
}
.owner-avatar { display: flex; flex-shrink: 0; }
.owner-ident {
    display: flex; flex-direction: column; gap: 2px;
    flex: 1; min-width: 0;          
}

.owner-ident strong { display: block; font-size: 14px; font-weight: 500; line-height: 1.3; }
.owner-email {
    display: block;
    font-size: 11px; line-height: 1.35;
    color: #9aa1ad;                 
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.owner-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-width: 140px;
    margin-left: auto;
    padding: 6px 16px;
    border: 1px solid var(--primary);
    border-radius: 4px;
    white-space: nowrap;
    font-family: inherit;
    font-weight: 500;
}
html[data-theme="dark"] .audio-line { background: var(--raised-bg); }
html[data-theme="dark"] .audio-line .btn-secondary {
    background: transparent;
    color: var(--text-main);
    border-color: var(--control-border);
}
.owner-field-row > label,
.cover-owner-field > label {
    color: var(--text-muted);
    font-family: var(--font-family-main);
    font-weight: 400;
    letter-spacing: .15px;
}
@media (max-width: 560px) {
    
    .owner-box { flex-wrap: wrap; }
    .owner-action {
        width: 100%;
        min-width: 0;
        margin-left: 0;
    }
}


.form-page-card.is-medium  { max-width: 840px; margin-left: auto; margin-right: auto; }
.form-page-card.is-compact { max-width: 600px; margin-left: auto; margin-right: auto; }


.form-page-card.is-medium .form-row > input,
.form-page-card.is-medium .form-row > select,
.form-page-card.is-medium .form-row > textarea,
.form-page-card.is-compact .form-row > input,
.form-page-card.is-compact .form-row > select,
.form-page-card.is-compact .form-row > textarea {
    max-width: none;
}


.form-section-title {
    margin: 26px 0 14px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    font-size: 14px;
    color: var(--muted);
    font-weight: 700;
    letter-spacing: .02em;
}


.form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 26px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
}



.row-isrc-artist {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-items: start;
}
.row-isrc-artist > *:first-child > input { max-width: 220px; }
@media (max-width: 640px) {
    .row-isrc-artist { grid-template-columns: 1fr; gap: 0; }
}


.avatar-upload-row .cover-title-field { flex: 1; min-width: 260px; margin-bottom: 0; }
.avatar-upload-row .cover-title-field > input { max-width: none; }



.sidebar { background: #fff; }


.card[style*="padding:0"] { padding: 4px 0 24px !important; }


.table-scroll { border-top: 0; }




.dashboard-grid { gap: 0; }
.dashboard-grid > .card { padding: 4px 24px 24px; border-left: 1px solid var(--border); }
.dashboard-grid > .card:first-child { padding-left: 0; border-left: none; }
@media (max-width: 900px) {
    .dashboard-grid > .card { padding-left: 0; border-left: none; }
}


.app-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.app-main > .container {
    flex: 1;
    width: 100%;
    max-width: 1800px;
    padding: 24px 24px 40px;
}
@media (max-width:640px) {
    
    .app-main > .container { padding:20px 20px 32px; }
}



.form-page-card .row-isrc-artist .form-row > input,
.row-isrc-artist .form-row > input {
    max-width: none;
}


.sidebar { min-width: 178px; max-width: 260px; }
.sidebar-link { font-size: 15px; padding: 6px 16px; }
.sidebar-icon { width: 18px; height: 18px; }
.sidebar-group-label { font-size: 12px; padding: 0 16px 6px; }


.topbar .brand { font-size: 21px; }
.topbar .nav-dropdown-toggle,
.topbar nav a { font-size: 15px; }
.topbar .nav-dropdown-menu a { font-size: 14.5px; }


.cover-owner-field { flex: 1; min-width: 260px; }
.cover-owner-field > label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.cover-owner-field > select { width: 100%; padding: 10px 12px; border: 1px solid var(--field-border); border-radius: 8px; font-size: 14px; background: #fff; }


.row-2col,
.row-isrc-artist {
    row-gap: 14px;
    align-items: start;
}
.row-2col > .form-row,
.row-2col > div > .form-row:last-child,
.row-isrc-artist > .form-row,
.row-isrc-artist > div > .form-row:last-child {
    margin-bottom: 0;
}


[id^="artistChips"]:empty,
[id^="labelChips"]:empty {
    
    display: none !important;
    margin: 0 !important;
}


.form-row { margin-bottom: 18px; }
.row-2col,
.row-isrc-artist {
    row-gap: 18px;
    margin-bottom: 18px;
}

.row-2col > div > .form-row:last-child,
.row-isrc-artist > div > .form-row:last-child { margin-bottom: 0; }


.form-row { margin-bottom: 11px; }
.form-row label { margin-bottom: 11px; }
.row-2col,
.row-isrc-artist {
    row-gap: 11px;
    margin-bottom: 11px;
}


.form-row > input:not([type]),
.form-row > input[type=text],
.form-row > input[type=url],
.form-row > input[type=email],
.form-row > input[type=password],
.form-row > input[type=date],
.form-row > input[type=month],
.form-row > input[type=time],
.form-row > input[type=week],
.form-row > input[type=datetime-local],
.form-row > input[type=number],
.form-row > select,
.form-row > textarea,
.form-row > .rich-signature-editor,
.modal-box input[type=text] {
    border: none;
    border-bottom: 1px solid var(--control-underline);
    border-radius: 0;
    
    background-color: transparent;
    padding: 8px 2px;
    transition: border-color .15s, box-shadow .15s;
}

.form-row > select {
    padding-right: 26px;
    background-position: right 2px center;
}

.form-row > select:not([multiple]):not(:focus),
.transfer-owner-box select:not([multiple]):not(:focus),
.cover-owner-field > select:not([multiple]):not(:focus) {
    border-bottom-color: var(--control-underline);
}


.form-row > input:focus,
.form-row > select:focus,
.form-row > textarea:focus,
.form-row > .rich-signature-editor:focus,
.modal-box input[type=text]:focus {
    outline: none;
    border-bottom-color: var(--primary) !important;
    box-shadow: inset 0 -1px 0 var(--primary);
}


.form-row > textarea {
    border: 1px solid var(--field-border);
    border-radius: 8px;
    padding: 10px 12px;
    background: #fff;
}
.form-row > textarea:focus {
    border-color: var(--primary);
    box-shadow: none;
}



.track-block {
    border: none;
    border-radius: 0;
    border-bottom: 1px solid var(--border);
    margin-bottom: 4px;
}
.track-block:last-of-type { border-bottom: none; }
.track-block-header { background: transparent; padding: 12px 0; }
.track-block-body { padding: 4px 0 16px; }

.manage-tracks-header { margin-bottom: 10px; }
.manage-tracks-header .section-title { margin: 0; }

#addTrackPanel {
    background: #fff;
    border-radius: 4px;
    padding: 18px 20px 24px;
}
#addTrackPanel .track-block:not(.collapsed) > .track-block-header {
    background: var(--primary-light);
    background: color-mix(in srgb, var(--primary-light) 62%, #fff);
    border-radius: 4px;
    padding: 12px 0;
}
.track-block-title {
    color: var(--text-main);
    font-family: inherit;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.35;
}


.contribRow select.contribRole,
.contribRow input.contribName,
#contributorRows select.contribRole,
#contributorRows input.contribName {
    border: none !important;
    border-bottom: 1px solid var(--control-underline) !important;
    border-radius: 0 !important;
    background-color: transparent !important;
    padding: 8px 2px !important;
}
.contribRow select.contribRole:focus,
.contribRow input.contribName:focus,
#contributorRows select.contribRole:focus,
#contributorRows input.contribName:focus {
    outline: none;
    border-bottom-color: var(--primary) !important;
    box-shadow: inset 0 -1px 0 var(--primary);
}


select.contribRole,
input.contribName {
    border: none !important;
    border-bottom: 1px solid var(--control-underline) !important;
    border-radius: 0 !important;
    background-color: transparent !important;
    padding: 8px 2px !important;
}
select.contribRole:focus,
input.contribName:focus {
    outline: none;
    border-bottom-color: var(--primary) !important;
    box-shadow: inset 0 -1px 0 var(--primary);
}


.cover-owner-field > select {
    border: none;
    border-bottom: 1px solid var(--control-underline);
    border-radius: 0;
    background-color: transparent;
    padding: 8px 26px 8px 2px;
    background-position: right 2px center;
}
.cover-owner-field > select:focus {
    outline: none;
    border-bottom-color: var(--primary);
    box-shadow: inset 0 -1px 0 var(--primary);
}


.sidebar-link { margin: 0; padding: 6px 16px; }
.sidebar-group-label { padding: 0 16px 6px; }


input[id^="artistSearch"],
input[id^="labelSearch"] {
    border: none;
    border-bottom: 1px solid var(--control-underline);
    border-radius: 0;
    background-color: transparent;
    padding: 8px 2px;
}
input[id^="artistSearch"]:focus,
input[id^="labelSearch"]:focus {
    outline: none;
    border-bottom-color: var(--primary);
    box-shadow: inset 0 -1px 0 var(--primary);
}


.filter-bar .search-clear-wrap {
    position: relative;
    flex: 1 1 420px;
    max-width: 520px;
    min-width: 260px;
    height: 36px;
}
.filter-bar .search-clear-wrap input[type=text],
.filter-bar .search-clear-wrap input[type=search] { width: 100%; box-sizing: border-box; }
.filter-bar-row1 > button { flex: 0 0 auto; }


.ddex-batch-filter-bar {
    flex-wrap: nowrap;
    justify-content: flex-start;
    margin-bottom: 20px;
}

.ddex-batch-filter-bar > button:not(.search-clear-btn) {
    flex: 0 0 auto;
}


@media (max-width: 700px) {
    .filter-bar .search-clear-wrap {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        flex: 0 0 auto;
    }

    .ddex-batch-filter-bar {
        flex-wrap: wrap;
        margin-bottom: 16px;
    }
}


#labelChip:empty {
    display: none !important;
    margin: 0 !important;
}


.form-row input[type=text][id^="artistSearch"],
.form-row input[type=text][id^="labelSearch"] {
    border: none;
    border-bottom: 1px solid var(--control-underline);
    border-radius: 0;
    background-color: transparent;
    padding: 8px 2px;
}
.form-row input[type=text][id^="artistSearch"]:focus,
.form-row input[type=text][id^="labelSearch"]:focus {
    outline: none;
    border-bottom-color: var(--primary);
    box-shadow: inset 0 -1px 0 var(--primary);
}


.rm-play-btn.is-playing .rm-play-icon,
.rm-player.is-playing .rm-play-icon {
    position: relative;
    margin-left: 0;
    border: none;
    width: 12px;
    height: 13px;
}
.rm-play-btn.is-playing .rm-play-icon::before,
.rm-play-btn.is-playing .rm-play-icon::after,
.rm-player.is-playing .rm-play-icon::before,
.rm-player.is-playing .rm-play-icon::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 4px;
    background: currentColor;
    border-radius: 1px;
}
.rm-play-btn.is-playing .rm-play-icon::before,
.rm-player.is-playing .rm-play-icon::before { left: 0; }
.rm-play-btn.is-playing .rm-play-icon::after,
.rm-player.is-playing .rm-play-icon::after { right: 0; }


.rm-player.is-playing .rm-play-icon { width: 14px; height: 15px; }
.rm-player.is-playing .rm-play-icon::before,
.rm-player.is-playing .rm-play-icon::after { width: 4.5px; }


.rm-play-btn.is-playing .rm-play-icon,
.rm-player.is-playing .rm-play-icon {
    display: block;
}


.rm-player.is-playing .rm-play-icon {
    display: block !important;
    width: 14px !important;
    height: 15px !important;
    border: none !important;
    margin-left: 0 !important;
    position: relative !important;
}


.row-3col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    row-gap: 11px;
    margin-bottom: 11px;
    align-items: start;
}
.row-3col > .form-row { margin-bottom: 0; }
@media (max-width: 720px) {
    .row-3col { grid-template-columns: 1fr; }
}


.rm-play-btn.is-playing .rm-play-icon { min-width: 13px; }
.rm-player.is-playing .rm-play-icon  { min-width: 16px; }

.rm-play-btn.is-playing .rm-play-icon::before,
.rm-play-btn.is-playing .rm-play-icon::after { width: 4px; }
.rm-player.is-playing .rm-play-icon::before,
.rm-player.is-playing .rm-play-icon::after { width: 5px; }


.track-block-chevron {
    font-size: 18px;
    line-height: 1;
    color: var(--primary);
    padding: 2px 6px;
    border-radius: 6px;
}
.track-block-header:hover .track-block-chevron { background: var(--primary-light); }


#addTrackPanel .track-block.collapsed {
    border-left: 0;
    padding-left: 0;
    background: transparent;
    border-radius: 0;
}
#addTrackPanel .track-block.collapsed .track-block-header {
    padding: 12px 0;
}
#addTrackPanel .track-block-chevron {
    display: inline-flex;
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    padding: 0;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    font-size: 22px;
    transform-origin: center;
}


.track-block.collapsed {
    border-left: 4px solid var(--primary);
    padding-left: 12px;
    background: var(--primary-light);
    border-radius: 0 8px 8px 0;
}
.track-block.collapsed .track-block-header { padding: 12px; }




.form-row > textarea,
.form-page-card .form-row > textarea {
    border: none;
    border-bottom: 1px solid var(--control-underline);
    border-radius: 0;
    background-color: transparent;
    padding: 8px 2px;
    min-height: 84px;
    resize: vertical;
}
.form-row > textarea:focus,
.form-page-card .form-row > textarea:focus {
    outline: none;
    border-bottom-color: var(--primary);
    box-shadow: inset 0 -1px 0 var(--primary);
}


.transfer-owner-box,
.transfer-owner-box.is-target {
    border: none;
    background: transparent;
    padding: 0;
}
.transfer-owner-box + .transfer-arrow { margin: 2px 0; }


.transfer-warning,
.track-transfer-page .transfer-warning {
    border: none;
    background: transparent;
    padding: 0;
    margin: 16px 0 20px;
    color: var(--text-muted);
}


.dsp-pick {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 2px;
    font-weight: 400;
    font-size: 14px;
    cursor: pointer;
}
.dsp-pick input[type=checkbox] { width: 16px; height: 16px; margin: 0; }


.checkbox-list { border: none; padding: 0; }
.checkbox-list label { padding: 7px 2px; }
.checkbox-list label:hover { background: transparent; color: var(--primary-dark); }


.dsp-access-grid {
    border: none;
    background: transparent;
    padding: 0;
}


.row-actions { align-items: stretch; }
.row-actions form {
    display: flex;
    align-items: stretch;
}
.row-actions form > button { height: 100%; }


.transfer-owner-box select {
    border: none;
    border-bottom: 1px solid var(--control-underline);
    border-radius: 8px;
    background-color: transparent;
    min-height: 48px;
    padding: 8px 34px 8px 12px;
    background-position: right 12px center;
}
.transfer-owner-box select:focus {
    outline: none;
    border-bottom-color: var(--primary);
    box-shadow: inset 0 -1px 0 var(--primary);
}
@media (max-width:640px) {
    .transfer-owner-box select { min-height:44px; }
}


.cover-owner-field > select,
.nav-lang-form select,
.lang-strip select,
.pagination-perpage select,
.form-row input[type=text],
.form-row input[type=url],
.form-row input[type=email],
.form-row input[type=password],
.form-row input[type=date],
.form-row input[type=month],
.form-row input[type=time],
.form-row input[type=week],
.form-row input[type=datetime-local],
.form-row input[type=number],
.modal-box input[type=text],
.modal-box input[type=url],
.modal-box input[type=email],
.modal-box input[type=password],
.modal-box input[type=date],
.modal-box input[type=month],
.modal-box input[type=time],
.modal-box input[type=week],
.modal-box input[type=datetime-local],
.modal-box input[type=number],
.data-table td input[type=text],
.data-table td input[type=url],
.data-table td input[type=email],
.data-table td input[type=password],
.data-table td input[type=date],
.data-table td input[type=month],
.data-table td input[type=time],
.data-table td input[type=week],
.data-table td input[type=datetime-local],
.data-table td input[type=number],
.contribRole,
.contribName,
#languageRows input[type=text],
.table-input {
    border: none !important;
    border-bottom: 1px solid var(--control-underline) !important;
    border-radius: 0 !important;
    background-color: transparent !important;
    padding: 7px 2px !important;
}

.cover-owner-field > select,
.nav-lang-form select,
.lang-strip select,
.pagination-perpage select {
    padding-right: 24px !important;
    background-position: right 2px center !important;
}
.cover-owner-field > select:focus,
.nav-lang-form select:focus,
.lang-strip select:focus,
.pagination-perpage select:focus,
.form-row input[type=text]:focus,
.form-row input[type=url]:focus,
.form-row input[type=email]:focus,
.form-row input[type=password]:focus,
.form-row input[type=date]:focus,
.form-row input[type=month]:focus,
.form-row input[type=time]:focus,
.form-row input[type=week]:focus,
.form-row input[type=datetime-local]:focus,
.form-row input[type=number]:focus,
.modal-box input[type=text]:focus,
.modal-box input[type=url]:focus,
.modal-box input[type=email]:focus,
.modal-box input[type=password]:focus,
.modal-box input[type=date]:focus,
.modal-box input[type=month]:focus,
.modal-box input[type=time]:focus,
.modal-box input[type=week]:focus,
.modal-box input[type=datetime-local]:focus,
.modal-box input[type=number]:focus,
.data-table td input[type=text]:focus,
.data-table td input[type=url]:focus,
.data-table td input[type=email]:focus,
.data-table td input[type=password]:focus,
.data-table td input[type=date]:focus,
.data-table td input[type=month]:focus,
.data-table td input[type=time]:focus,
.data-table td input[type=week]:focus,
.data-table td input[type=datetime-local]:focus,
.data-table td input[type=number]:focus,
.contribRole:focus,
.contribName:focus,
.table-input:focus {
    outline: none;
    border-bottom-color: var(--primary) !important;
    box-shadow: inset 0 -1px 0 var(--primary);
}


.filter-bar .search-clear-wrap input[type=text] {
    border: 1px solid var(--control-border) !important;
    border-radius: 20px !important;
    background-color: #fff !important;
    padding: 6px 30px 6px 14px !important;
}


.revenue-report-filter {
    margin-bottom: 18px;
}
.filter-bar .search-clear-wrap input[type=text]:focus {
    border-color: var(--primary) !important;
}


#theme_color,
#theme_text_color,
#catalog_title_color,
#table_border_color,
#player_color {
    border: none !important;
    border-bottom: 1px solid var(--control-underline) !important;
    border-radius: 0 !important;
    background-color: transparent !important;
    padding: 7px 2px !important;
}
#theme_color:focus,
#theme_text_color:focus,
#catalog_title_color:focus,
#table_border_color:focus,
#player_color:focus {
    outline: none;
    border-bottom-color: var(--primary) !important;
    box-shadow: inset 0 -1px 0 var(--primary);
}


.form-section-title { border-top: none; padding-top: 0; margin: 22px 0 12px; }
.form-footer { border-top: none; padding-top: 0; margin-top: 24px; }


.form-row > input[type=text][id^="artistSearch"],
.form-row > input[type=text][id^="labelSearch"],
#labelSearchWrap > input[type=text],
#artistResults > input[type=text] {
    max-width: none;
}
[id^="artistChips"],
[id^="labelChip"] { max-width: 100%; }


[id^="artistChips"] > *,
[id^="labelChip"] > * {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}


input[type=checkbox].rm-switch {
    appearance: none;
    -webkit-appearance: none;
    position: relative;
    flex-shrink: 0;
    width: 38px;
    height: 22px;
    
    margin: 3px 0 0;
    border: none;
    border-radius: 11px;
    background: #cfd3da;
    cursor: pointer;
    transition: background .18s ease;
}
input[type=checkbox].rm-switch::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
    transition: transform .18s ease;
}
input[type=checkbox].rm-switch:checked { background: var(--primary); }
input[type=checkbox].rm-switch:checked::after { transform: translateX(16px); }

html[data-theme="dark"] input[type=checkbox].rm-switch:checked {
    background: #3D7FC4;
}

input[type=checkbox].rm-switch:focus-visible {
    outline: 2px solid var(--primary-dark);
    outline-offset: 2px;
}
input[type=checkbox].rm-switch:disabled { opacity: .5; cursor: not-allowed; }


.revenue-wallet-sync-control {
    align-items: center;
}
.revenue-wallet-sync-control > input[type=checkbox].rm-switch,
.revenue-wallet-sync-control > .cell-hint {
    margin-top: 0;
}

.revenue-currency-total {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    line-height: 1.2;
}
.revenue-currency-total-list {
    display: inline-flex;
    align-items: flex-start;
    justify-content: center;
    gap: 12px;
    min-width: 0;
}
.revenue-currency-total + .revenue-currency-total { margin-top: 0; }
.revenue-currency-code {
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 400;
}
.revenue-wallet-mobile-download,
.revenue-wallet-mobile-apply {
    display: none;
}
.revenue-wallet-row-utility {
    display: contents;
}
.revenue-wallet-results {
    container-type: inline-size;
}
.revenue-wallet-table .revenue-wallet-sync-cell {
    width: 52px;
    min-width: 52px;
    max-width: 52px;
    padding-inline: 6px !important;
    text-align: center;
}
.revenue-wallet-table .revenue-wallet-sync-cell form,
.revenue-wallet-table .revenue-wallet-sync-cell .check-row {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: max-content;
    margin: 0 auto !important;
}
.revenue-wallet-table .wallet-sync-heading {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    color: var(--text-main);
}
.revenue-wallet-imported-summary {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}
@container (max-width: 1380px) {
    .revenue-wallet-imported-column,
    .revenue-wallet-row-delete-action {
        display: none !important;
    }
}
@media (min-width: 641px) {
    .revenue-wallet-total-column .revenue-currency-total {
        align-items: center;
    }
    .revenue-wallet-status-column > form {
        margin-left: 0 !important;
    }
}


.release-jobs-role-permissions {
    display: grid;
    width: min(100%, 430px);
    gap: 8px;
    margin: 8px 0 14px;
}
#releaseJobsSettingsForm .release-jobs-role-permission-row {
    display: grid;
    grid-template-columns: 120px minmax(0, 280px);
    align-items: center;
    gap: 12px;
    margin: 0;
}
#releaseJobsSettingsForm .release-jobs-role-permission-row > label {
    display: block;
    margin: 0;
}
#releaseJobsSettingsForm .release-jobs-role-permission-row > select {
    width: 100%;
}
#releaseJobsSettingsForm .release-jobs-profile-field {
    display: grid;
    grid-template-columns: max-content minmax(180px, 280px);
    align-items: center;
    gap: 12px;
    width: min(100%, 430px);
}
#releaseJobsSettingsForm select.release-jobs-profile-select {
    width: 100%;
    height: 36px;
    min-height: 36px;
    max-height: 36px;
    padding: 6px 34px 6px 14px;
    border: 1px solid var(--control-border);
    border-radius: 999px;
    background-color: var(--input-bg, #fff);
    background-position: right 14px center;
    color: var(--text-muted);
    box-shadow: none;
    box-sizing: border-box;
}
#releaseJobsSettingsForm select.release-jobs-profile-select:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px var(--primary-light);
}
#releaseJobsSettingsForm .release-jobs-settings-actions {
    width: min(100%, 420px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (max-width: 480px) {
    #releaseJobsSettingsForm .release-jobs-role-permission-row {
        grid-template-columns: 1fr;
        gap: 5px;
    }
}
@media (max-width: 640px) {
    #releaseJobsSettingsForm .release-jobs-profile-field {
        width: 100%;
        grid-template-columns: minmax(0, 1fr);
        gap: 6px;
    }
    #releaseJobsSettingsForm select.release-jobs-profile-select {
        height: 44px;
        min-height: 44px;
        max-height: 44px;
    }
    #releaseJobsSettingsForm .release-jobs-settings-actions {
        width: 100%;
        grid-template-columns: minmax(0, 1fr);
    }
}




table.data-table td.cell-clip,
table.data-table th.cell-clip {
    max-width: 320px;
    overflow: hidden;
}


.wallet-payout-method-cell { overflow:visible !important; }
.wallet-withdraw-all-action {
    display:flex;
    align-items:center;
    justify-content:flex-start;
    margin-top:16px;
}
.wallet-withdraw-all-action > form,
.wallet-withdraw-all-action > .action-hint {
    margin:0;
}
@media (max-width:640px) {
    .wallet-withdraw-all-action,
    .wallet-withdraw-all-action > form,
    .wallet-withdraw-all-action button {
        width:100%;
    }
    .wallet-withdraw-all-action button {
        min-height:44px;
        justify-content:center;
    }
}
.wallet-transactions-table .wallet-sync-cell {
    box-sizing:border-box;
    width:52px;
    min-width:52px;
    max-width:52px;
    padding-inline:6px !important;
    text-align:center;
}
.wallet-transactions-table .wallet-sync-cell form,
.wallet-transactions-table .wallet-sync-cell .check-row {
    display:flex;
    width:100%;
    margin:0;
    align-items:center;
    justify-content:center;
}
.wallet-transactions-table .wallet-sync-heading {
    display:inline-flex;
    width:18px;
    height:18px;
    align-items:center;
    justify-content:center;
    color:currentColor;
}
.wallet-transactions-table .wallet-sync-heading > .rm-icon {
    display:block;
    width:16px;
    height:16px;
}
.wallet-table-detail-summary {
    position:relative;
    display:inline-flex;
    align-items:center;
    max-width:100%;
    color:inherit;
    cursor:help;
    white-space:normal;
}
.wallet-table-detail-summary::after {
    content:attr(data-tooltip);
    position:absolute;
    z-index:1200;
    right:0;
    bottom:calc(100% + 7px);
    width:max-content;
    max-width:min(320px,80vw);
    padding:7px 9px;
    border:1px solid var(--table-border);
    border-radius:5px;
    background:var(--surface-bg, var(--surface, #fff));
    color:var(--text-main);
    box-shadow:0 8px 22px color-mix(in srgb, #000 20%, transparent);
    font-size:12px;
    font-weight:400;
    line-height:1.35;
    white-space:normal;
    pointer-events:none;
    opacity:0;
    transform:translateY(3px);
    transition:opacity .06s linear,transform .06s linear;
}
.wallet-table-detail-summary:is(:hover,:focus-visible)::after {
    opacity:1;
    transform:translateY(0);
}
.wallet-table-detail-summary:focus-visible {
    outline:2px solid var(--primary);
    outline-offset:2px;
    border-radius:3px;
}


.wallet-transactions-results { container-type:inline-size; }
.wallet-transactions-table .wallet-tx-note-cell { overflow:visible !important; }
.wallet-transactions-table .wallet-tx-note-summary,
.wallet-transactions-table .wallet-tx-note-summary > .clip-text {
    width:100%;
    min-width:0;
    max-width:100%;
}
@media (min-width:641px) {
    @container (max-width:1450px) {
        .wallet-tx-created-by-column { display:none !important; }
    }
}


.clip-text {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;      
    overflow: hidden;
    text-overflow: ellipsis;
    
    color: inherit;
    text-decoration: inherit;
}


.email-address,
table.data-table .email-address {
    color: var(--text-main) !important;
    opacity: 1;
}

.release-worker-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 8px;
}
.release-worker-metrics > span,
.release-worker-item {
    border: 1px solid var(--border);
    background: var(--raised-bg);
    border-radius: 8px;
    padding: 9px 11px;
}
.release-worker-metrics strong { display:block; font-size:18px; color:var(--text-main); }
.release-worker-service-state {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    flex: 0 0 auto;
    max-width: 100%;
    color: var(--text-main);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.35;
    white-space: nowrap;
}
.release-worker-service-state::before {
    content: "";
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-radius: 50%;
    background: currentColor;
}
.release-worker-service-state.is-online {
    color: #16794B;
}
.release-worker-service-state.is-offline {
    color: #B42318;
}
html[data-theme="dark"] .release-worker-service-state.is-online {
    color: #75D6A2;
}
html[data-theme="dark"] .release-worker-service-state.is-offline {
    color: #FFB4AB;
}
.release-worker-layout { display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-top:14px; }
.release-worker-layout--single { grid-template-columns:1fr; }
.release-worker-layout h4 { margin:0 0 8px; }
.release-worker-collapse-toggle {
    width:100%;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    margin:12px 0 0;
    padding:8px 0 2px;
    border:0;
    border-top:1px solid var(--border);
    border-radius:0;
    background:transparent;
    color:var(--text-main);
    font:inherit;
    font-weight:600;
    text-align:left;
    cursor:pointer;
    -webkit-tap-highlight-color:transparent;
    touch-action:manipulation;
}
.release-worker-collapse-toggle:hover,
.release-worker-collapse-toggle:active {
    background:rgba(127,127,127,.10);
    background:color-mix(in srgb, var(--text-main) 9%, transparent);
    color:var(--text-main);
}
html:not([data-theme="dark"]) .release-worker-collapse-toggle:hover,
html:not([data-theme="dark"]) .release-worker-collapse-toggle:active {
    background:rgba(86,204,130,.10);
    background:color-mix(in srgb, var(--primary) 10%, transparent);
}
.release-worker-collapse-toggle:focus-visible {
    outline:2px solid var(--text-muted);
    outline-offset:3px;
}
.release-worker-collapse-icon {
    flex:0 0 auto;
    font-size:24px;
    line-height:1;
    transition:transform .16s ease;
}
.release-worker-collapse-toggle[aria-expanded="true"] .release-worker-collapse-icon {
    transform:rotate(90deg);
}
@media (hover:none), (pointer:coarse), (max-width:640px) {
    .release-worker-collapse-toggle:hover:not(:active):not(.is-touch-pressed),
    .release-worker-collapse-toggle:focus-visible:not(:active):not(.is-touch-pressed) {
        background:transparent;
        color:var(--text-main);
    }
    html:not([data-theme="dark"]) .release-worker-collapse-toggle:hover:not(:active):not(.is-touch-pressed),
    html:not([data-theme="dark"]) .release-worker-collapse-toggle:focus-visible:not(:active):not(.is-touch-pressed) {
        background:transparent;
        color:var(--text-main);
    }
    .release-worker-collapse-toggle:active {
        background:rgba(127,127,127,.14);
        background:color-mix(in srgb, var(--text-main) 13%, transparent);
    }
    html:not([data-theme="dark"]) .release-worker-collapse-toggle:active {
        background:rgba(86,204,130,.12);
        background:color-mix(in srgb, var(--primary) 12%, transparent);
    }
    .release-worker-collapse-toggle.is-touch-pressed {
        background:rgba(127,127,127,.15);
        background:color-mix(in srgb, var(--text-main) 14%, transparent);
        color:var(--text-main);
    }
    html:not([data-theme="dark"]) .release-worker-collapse-toggle.is-touch-pressed {
        background:rgba(86,204,130,.14);
        background:color-mix(in srgb, var(--primary) 14%, transparent);
    }
}
#rjlWorkerDetails,
#rjlUpcTools {
    overflow-anchor:none;
}
#rjlUpcTools {
    max-width:none;
    margin-bottom:10px;
}
.rjl-upc-tools-row {
    display:grid;
    grid-template-columns:auto minmax(220px, 1fr) auto;
    align-items:center;
    gap:10px;
    min-width:0;
}
.rjl-upc-tools-label {
    margin:0;
    gap:8px;
    white-space:nowrap;
}
.rjl-upc-tools-label label { margin:0; }
#rjlUpcBulkInput {
    width:100%;
    min-width:0;
    height:36px;
    min-height:36px;
    padding:7px 11px;
    box-sizing:border-box;
    resize:vertical;
    line-height:20px;
}
.rjl-upc-tools-actions {
    margin:0;
    gap:8px;
    flex-wrap:nowrap;
}
@media (max-width:1100px) {
    .rjl-upc-tools-row {
        grid-template-columns:minmax(0, 1fr) auto;
    }
    .rjl-upc-tools-label { grid-column:1 / -1; }
}
@media (max-width:640px) {
    .rjl-upc-tools-row { grid-template-columns:minmax(0, 1fr); }
    .rjl-upc-tools-label,
    #rjlUpcBulkInput,
    .rjl-upc-tools-actions { grid-column:1; }
    .rjl-upc-tools-actions { flex-wrap:wrap; }
}
.release-worker-list { display:grid; gap:7px; }
.release-worker-item { display:grid; grid-template-columns:minmax(90px,.7fr) minmax(140px,1.4fr) auto; gap:9px; align-items:center; }
.release-worker-item span,
.release-worker-item small { color:var(--text-muted); overflow-wrap:anywhere; }
.release-worker-tracking-warning {
    margin-top:10px;
    padding:9px 11px;
    border:1px solid var(--warning-border, var(--border));
    border-radius:8px;
    background:var(--warning-bg);
    color:var(--warning-text);
    font-size:12px;
    line-height:1.4;
}
.release-capacity-summary {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    margin-top:14px;
    padding-top:12px;
    border-top:1px solid var(--border);
}
.release-capacity-summary > div {
    display:flex;
    align-items:baseline;
    flex-wrap:wrap;
    gap:5px 10px;
    min-width:0;
}
.release-capacity-summary span { color:var(--text-muted); font-size:12px; }
.release-capacity-modal { max-width:820px; }
.release-capacity-filters {
    display:grid;
    grid-template-columns:minmax(180px,1fr) auto;
    align-items:center;
    gap:12px;
    margin:14px 0 12px;
}
.release-capacity-filters input[type=search] {
    width:100%;
    min-width:0;
    height:36px;
    padding:6px 14px;
    border:1px solid var(--control-border);
    border-radius:999px;
    box-sizing:border-box;
    background-color:var(--input-bg, #fff);
    color:var(--text-main);
    font:inherit;
    font-size:14px;
    font-weight:400;
    -webkit-appearance:none;
    appearance:none;
}
.release-capacity-filters input[type=search]::placeholder { color:var(--text-muted); }
.release-capacity-filters input[type=search]:focus {
    outline:none;
    border-color:var(--primary);
    box-shadow:0 0 0 3px var(--primary-light);
}
.release-capacity-filters .check-row { margin:0; white-space:nowrap; }
.release-capacity-table-wrap { max-height:52vh; }
.release-capacity-table th,
.release-capacity-table td { vertical-align:middle; }
.release-capacity-table th:nth-child(3),
.release-capacity-table td:nth-child(3),
.release-capacity-table th:nth-child(4),
.release-capacity-table td:nth-child(4) { text-align:center; }
.release-job-step { display:block; margin-top:4px; color:var(--text-muted); white-space:nowrap; }
@media (max-width: 700px) {
    .release-worker-layout { grid-template-columns:1fr; }
    .release-worker-item { grid-template-columns:1fr; gap:3px; }
    #rjlWorkerOverview > .row-between {
        align-items: flex-start;
    }
    .release-worker-service-state {
        white-space: normal;
        overflow-wrap: anywhere;
    }
    .release-capacity-summary {
        align-items:stretch;
        flex-direction:column;
    }
    .release-capacity-summary .btn-small { align-self:flex-start; }
    .release-capacity-filters { grid-template-columns:1fr; }
    .release-capacity-filters input[type=search] { font-size:16px; }
    .release-capacity-filters .check-row { white-space:normal; }
}


.clip-tip {
    position: fixed;
    z-index: 400;
    max-width: 320px;
    background: var(--surface-bg);
    color: var(--text-main);
    border:1px solid var(--control-border);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
    padding: 9px 11px;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .22);
    pointer-events: none;   
    overflow-wrap: anywhere;
}


.topbar-account {
    display: flex;
    align-items: center;
    gap: 10px;
}

@media (max-width: 899px) {
    
    .topbar .topbar-account { align-self: flex-end; }

    
    .topbar .topbar-account { flex-direction: row-reverse; }

    
    .topbar .nav-user-dropdown {
        width: auto;
        margin-top: 0;
        padding-top: 0;
        border-top: none;
    }
}

@media (max-width: 640px) {
    
    .topbar .brand { display: none; }

    
    .bulk-bar,
    .select-all-notice { display: none; }
    .bulk-bar.rm-mobile-bulk-actions,
    .rm-mobile-bulk-actions {
        display: flex !important;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        gap: 8px !important;
        align-items: center;
        flex-wrap: wrap !important;
        overflow-x: visible;
        -webkit-tap-highlight-color: transparent;
    }
    .rm-mobile-bulk-actions > button,
    .rm-mobile-bulk-actions > a,
    .rm-mobile-bulk-actions > .bulk-menu-wrap,
    .rm-mobile-bulk-actions > form,
    .rm-mobile-bulk-actions > .team-dsp-picker,
    .rm-mobile-bulk-actions > form > button {
        flex: 1 1 180px;
        width: auto;
        min-width: 0 !important;
        max-width: 100%;
        min-height: 44px;
        white-space: normal;
        overflow-wrap: anywhere;
    }
    .rm-mobile-bulk-actions > .bulk-menu-wrap > button,
    .rm-mobile-bulk-actions > form > button,
    .rm-mobile-bulk-actions > .team-dsp-picker > button {
        width: 100%;
        max-width: 100%;
        min-width: 0 !important;
        min-height: 44px;
        margin: 0;
        white-space: normal;
        overflow-wrap: anywhere;
    }
    .rm-mobile-bulk-actions > .hint-text,
    .rm-mobile-bulk-actions > .hint-faint,
    .rm-mobile-bulk-actions > [id$="Count"],
    .rm-mobile-bulk-actions > [id$="Hint"] {
        flex: 1 0 100%;
        width: 100%;
        min-width: 0 !important;
        margin-left: 0 !important;
        text-align: center !important;
    }
    table.data-table th.col-bulk-check,
    table.data-table td.col-bulk-check { display: none; }

    table[data-rm-mobile-bulk-table] tbody tr {
        -webkit-tap-highlight-color: transparent;
    }
    table[data-rm-mobile-bulk-table] tbody tr.is-mobile-selected > td {
        background: var(--dsp-selected-bg) !important;
    }
    table[data-rm-mobile-bulk-table] tbody tr.is-mobile-selected {
        box-shadow: none;
    }
    .rm-mobile-row-select {
        display: inline-flex !important;
        position: relative;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        height: 44px;
        min-height: 44px;
        padding: 0 !important;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }
    .track-mobile-hide-bulk-action { display: none !important; }
    .rm-mobile-row-select::before {
        content: none;
        display: none;
    }
    .rm-mobile-row-select::after {
        content: "";
        position: absolute;
        left: 50%;
        top: 50%;
        width: 10px;
        height: 10px;
        transform: translate(-50%, -50%);
        background:
            linear-gradient(currentColor, currentColor) center / 10px 2px no-repeat,
            linear-gradient(currentColor, currentColor) center / 2px 10px no-repeat;
    }
    .rm-mobile-row-select[data-rm-selection-state="selected"]::after {
        height: 2px;
        background: currentColor;
    }

    
    table.data-table th.col-phone-hide,
    table.data-table td.col-phone-hide { display: none; }

    
    table.data-table td.cell-clip,
    table.data-table th.cell-clip { max-width: 140px; }

    
    .clip-text { -webkit-line-clamp: 2; }

}

@media (min-width: 641px) {
    .rm-mobile-row-select { display: none !important; }
    .rjl-mobile-bulk-trigger { display: none !important; }
}

@media (max-width: 640px) {
    .entity-list-page-actions {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px !important;
        width: 100%;
    }
    .entity-list-page-actions > .enterprise-target-picker { grid-column: 1 / -1; }
    .entity-list-page-actions > a,
    .entity-list-page-actions > form,
    .entity-list-page-actions > form > button {
        width: 100%;
        min-height: 44px;
        margin: 0;
    }
    .entity-list-page-actions > a,
    .entity-list-page-actions > form > button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    .entity-mobile-bulk-actions {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px !important;
        overflow: visible;
    }
    .entity-mobile-bulk-actions > button { width: 100%; min-height: 44px; }
    .entity-mobile-bulk-actions > span { grid-column: 1 / -1; margin-left: 0 !important; text-align: center !important; }
    .rjl-query-tools,
    .rjl-dsp-filter-summary { width: 100%; }
    .rjl-dsp-filter-summary { align-items: stretch; }
    .rjl-dsp-filter-trigger {
        display: inline-flex;
        width: 100%;
        min-height: 44px;
        align-items: center;
        justify-content: center;
    }
    .rjl-controls-card {
        padding-bottom: 12px;
        margin-bottom: 0;
    }
    .rjl-results-card {
        padding-top: 0;
    }
    .rjl-mobile-bulk-trigger {
        display: inline-flex;
        width: 100%;
        min-height: 44px;
        margin: 0 0 10px;
        align-items: center;
        justify-content: center;
        -webkit-tap-highlight-color: transparent;
    }
    .release-jobs-table > tbody > tr[data-rj-select-row] {
        cursor: pointer;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }
    .release-jobs-table > tbody > tr.is-mobile-selected {
        box-shadow: none;
    }
    .release-jobs-table > tbody > tr.is-mobile-selected > td {
        background: var(--dsp-selected-bg) !important;
    }
    .rjl-mobile-bulk-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }
    .rjl-mobile-bulk-actions > button {
        display:inline-flex;
        align-items:center;
        justify-content:center;
        width:100%;
        min-height:44px;
        font-family:var(--font-family-control);
        font-size:0.875rem;
        font-weight:500;
        line-height:1.75;
        text-align:center;
        text-transform:uppercase;
    }
}


.rm-spa-bar {
    position: fixed; top: 0; left: 0; right: 0;
    height: 3px; z-index: 2000;
    background: var(--primary);
    transform-origin: left;
    transform: scaleX(0);
    opacity: 0;
    transition: transform .2s ease, opacity .15s ease;
    pointer-events: none;
    will-change: transform, opacity;
}
html.rm-spa-loading .rm-spa-bar,
html.rm-cover-loading .rm-spa-bar {
    transform: scaleX(.7);
    opacity: 1;
    transition: transform 4s cubic-bezier(.1, .6, .1, 1), opacity .15s ease;
}


.rm-btn-loading {
    position: relative;
    box-sizing:border-box;
    --rm-loading-spinner-track:rgba(255,255,255,.5);
    --rm-loading-spinner-head:#fff;
    min-inline-size:var(--rm-loading-width,auto);
    min-block-size:var(--rm-loading-height,auto);
    text-transform:var(--rm-loading-text-transform,inherit) !important;
    font-family:var(--rm-loading-font-family,inherit) !important;
    font-size:var(--rm-loading-font-size,inherit) !important;
    font-weight:var(--rm-loading-font-weight,inherit) !important;
    line-height:var(--rm-loading-line-height,normal) !important;
    letter-spacing:var(--rm-loading-letter-spacing,normal) !important;
    color: transparent !important;
    pointer-events: none;
    cursor: wait;
    transition:none !important;
}
.rm-btn-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 16px;
    margin: 0;
    box-sizing: border-box;
    border: 2px solid var(--rm-loading-spinner-track);
    border-top-color: var(--rm-loading-spinner-head);
    border-radius: 50%;
    transform: translate3d(-50%, -50%, 0) rotate(0deg);
    animation: rm-btn-spin .6s linear infinite;
    will-change: transform;
    backface-visibility: hidden;
}


.rm-loading-settling {
    transition:none !important;
}
.rm-loading-settling::after,
.rm-loading-settling .rm-nav-link-label::after {
    content:none !important;
    display:none !important;
    animation:none !important;
}


.rm-spa-trigger-ghost {
    position: fixed !important;
    display:var(--rm-spa-ghost-display) !important;
    left: var(--rm-spa-ghost-left) !important;
    top: var(--rm-spa-ghost-top) !important;
    width: var(--rm-spa-ghost-width) !important;
    height: var(--rm-spa-ghost-height) !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding-top:var(--rm-spa-ghost-padding-top) !important;
    padding-right:var(--rm-spa-ghost-padding-right) !important;
    padding-bottom:var(--rm-spa-ghost-padding-bottom) !important;
    padding-left:var(--rm-spa-ghost-padding-left) !important;
    align-items:var(--rm-spa-ghost-align-items) !important;
    justify-content:var(--rm-spa-ghost-justify-content) !important;
    flex-direction:var(--rm-spa-ghost-flex-direction) !important;
    column-gap:var(--rm-spa-ghost-column-gap) !important;
    row-gap:var(--rm-spa-ghost-row-gap) !important;
    text-align:var(--rm-spa-ghost-text-align) !important;
    z-index: 2001 !important;
    pointer-events: none !important;
    contain: layout paint style;
    isolation:isolate;
    transform:translateZ(0);
    will-change:transform;
    backface-visibility:hidden;
}


a.rm-btn-loading:where(:not([data-rm-loading-center="text"])) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 1.35em;
    vertical-align: middle;
    overflow: visible;
}


a[data-rm-loading-center="text"].rm-btn-loading {
    min-inline-size:auto;
    min-block-size:auto;
    overflow:hidden;
}


.rm-btn-loading:not(.brand-nav-link):not(.sidebar-link):not(.mobile-nav-link):not(.mobile-nav-dashboard-link):not(.nav-menu-item):not(.nav-user-menu-item) > * {
    opacity:0 !important;
}


a[data-rm-loading-center="text"].rm-btn-loading::after {
    left: var(--rm-loading-center-x, 50%);
    top: var(--rm-loading-center-y, 50%);
}


.rm-nav-link-label {
    position:relative;
    display:inline-block;
    min-width:0;
}
.sidebar-link.rm-btn-loading,
.mobile-nav-link.rm-btn-loading,
.mobile-nav-dashboard-link.rm-btn-loading,
.nav-menu-item.rm-btn-loading,
.nav-user-menu-item.rm-btn-loading {
    background:var(--primary-light) !important;
}
.brand-nav-link.rm-btn-loading {
    display:inline-flex;
    align-items:center;
    justify-content:flex-start;
    background:transparent !important;
    --rm-loading-spinner-track:color-mix(in srgb,var(--topbar-contrast,#fff) 34%,transparent);
    --rm-loading-spinner-head:var(--topbar-contrast,#fff);
    color:var(--topbar-contrast,#fff) !important;
}
.sidebar-link.rm-btn-loading {
    display:flex;
    justify-content:flex-start;
    --rm-loading-spinner-track:color-mix(in srgb,var(--primary) 34%,transparent);
    --rm-loading-spinner-head:var(--primary);
    color:var(--primary) !important;
}
.mobile-nav-link.rm-btn-loading {
    display:flex;
    justify-content:flex-start;
    min-height:48px;
    --rm-loading-spinner-track:color-mix(in srgb,var(--primary) 34%,transparent);
    --rm-loading-spinner-head:var(--primary);
    color:var(--primary) !important;
}
.mobile-nav-dashboard-link.rm-btn-loading {
    display:inline-flex;
    justify-content:flex-start;
    min-height:44px;
    --rm-loading-spinner-track:color-mix(in srgb,var(--primary) 34%,transparent);
    --rm-loading-spinner-head:var(--primary);
    color:var(--ink) !important;
}
.nav-menu-item.rm-btn-loading,
.nav-user-menu-item.rm-btn-loading {
    display:flex;
    align-items:center;
    justify-content:flex-start;
    --rm-loading-spinner-track:color-mix(in srgb,var(--primary) 34%,transparent);
    --rm-loading-spinner-head:var(--primary);
}
.nav-menu-item.rm-btn-loading {
    color:var(--primary) !important;
}
.brand-nav-link.rm-btn-loading::after,
.sidebar-link.rm-btn-loading::after {
    content:none;
}
.nav-menu-item.rm-btn-loading::after {
    content:none;
}
.nav-user-menu-item.rm-btn-loading::after {
    content:none;
}
.mobile-nav-link.rm-btn-loading::after,
.mobile-nav-dashboard-link.rm-btn-loading::after { content:none; }
.brand-nav-link.rm-btn-loading > .rm-nav-link-label,
.sidebar-link.rm-btn-loading > .rm-nav-link-label {
    color:transparent !important;
}
.nav-menu-item.rm-btn-loading > .rm-nav-link-label,
.nav-user-menu-item.rm-btn-loading > .rm-nav-link-label,
.mobile-nav-link.rm-btn-loading > .rm-nav-link-label,
.mobile-nav-dashboard-link.rm-btn-loading > .rm-nav-link-label {
    color:transparent !important;
}
.brand-nav-link.rm-btn-loading > .rm-nav-link-label::after,
.sidebar-link.rm-btn-loading > .rm-nav-link-label::after,
.nav-menu-item.rm-btn-loading > .rm-nav-link-label::after,
.nav-user-menu-item.rm-btn-loading > .rm-nav-link-label::after {
    content:'';
    position:absolute;
    left:50%;
    top:50%;
    width:16px;
    height:16px;
    box-sizing:border-box;
    border:2px solid var(--rm-loading-spinner-track);
    border-top-color:var(--rm-loading-spinner-head);
    border-radius:50%;
    transform:translate3d(-50%,-50%,0) rotate(0deg);
    animation:rm-btn-spin .6s linear infinite;
    will-change: transform;
    backface-visibility: hidden;
}
.mobile-nav-link.rm-btn-loading > .rm-nav-link-label::after,
.mobile-nav-dashboard-link.rm-btn-loading > .rm-nav-link-label::after {
    content:'';
    position:absolute;
    left:50%;
    top:50%;
    width:16px;
    height:16px;
    box-sizing:border-box;
    border:2px solid var(--rm-loading-spinner-track);
    border-top-color:var(--rm-loading-spinner-head);
    border-radius:50%;
    transform:translate3d(-50%,-50%,0) rotate(0deg);
    animation:rm-btn-spin .6s linear infinite;
    will-change: transform;
    backface-visibility: hidden;
}
html[data-theme="dark"] .sidebar-link.rm-btn-loading,
html[data-theme="dark"] .mobile-nav-link.rm-btn-loading,
html[data-theme="dark"] .mobile-nav-dashboard-link.rm-btn-loading,
html[data-theme="dark"] .nav-menu-item.rm-btn-loading,
html[data-theme="dark"] .nav-user-menu-item.rm-btn-loading {
    
    background:color-mix(in srgb,var(--primary) 18%,var(--surface-bg)) !important;
    --rm-loading-spinner-track:color-mix(in srgb,var(--primary-dark-contrast) 34%,transparent);
    --rm-loading-spinner-head:var(--primary-dark-contrast);
    color:var(--text-main) !important;
}
html[data-theme="dark"] .brand-nav-link.rm-btn-loading {
    background:transparent !important;
    --rm-loading-spinner-track:color-mix(in srgb,var(--topbar-contrast,#fff) 34%,transparent);
    --rm-loading-spinner-head:var(--topbar-contrast,#fff);
    color:var(--topbar-contrast,#fff) !important;
}


.inline-clip-link {
    display: inline-block;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: middle;
}


table.data-table td.album-track-title-with-copy {
    position: relative;
    padding-right: 112px;
}
table.data-table td.album-track-title-with-copy .inline-clip-link {
    max-width: 100%;
}
table.data-table .album-track-copy-btn {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 82px;
    min-width: 82px;
    padding: 2px 8px;
    font-size: 11px;
    box-sizing: border-box;
}
.album-track-mobile-meta { display: none; }


table.data-table a.rm-btn-loading:where(:not([data-rm-loading-center="text"])),
.inline-clip-link.rm-btn-loading:where(:not([data-rm-loading-center="text"])) {
    display: inline-flex;
    overflow: visible;
}

.delivery-album-title-cluster {
    display:grid;
    grid-template-columns:minmax(0,max-content) 22px;
    align-items:center;
    justify-content:start;
    gap:6px;
    max-width:100%;
    min-width:0;
}
.delivery-mobile-row-select { display:none; }
.delivery-album-title-cluster > .delivery-album-title-link { min-width:0; }
.delivery-album-failure-slot {
    display:grid;
    place-items:center;
    width:22px;
    min-width:22px;
    min-height:22px;
}
.delivery-album-failure-slot .delivery-failure-count { margin-left:0; }
table.data-table a.delivery-album-title-link.rm-btn-loading {
    display:-webkit-box;
    overflow:hidden;
}

.rm-btn-loading.btn-secondary,
a.rm-btn-loading {
    --rm-loading-spinner-track:rgba(0,0,0,.2);
    --rm-loading-spinner-head:var(--primary);
}
html[data-theme="dark"] .rm-btn-loading {
    --rm-loading-spinner-track:rgb(255 255 255 / 34%);
    --rm-loading-spinner-head:#fff;
}


:is(.btn,.btn-danger,button[type="submit"],input[type="submit"],button.btn-small).rm-btn-loading:not(.btn-secondary):not(.btn-info) {
    --rm-loading-spinner-track:color-mix(in srgb,var(--primary-contrast) 42%,transparent);
    --rm-loading-spinner-head:var(--primary-contrast);
}
html[data-theme="dark"] :is(.btn,.btn-danger,button[type="submit"],input[type="submit"],button.btn-small).rm-btn-loading:not(.btn-secondary):not(.btn-info) {
    --rm-loading-spinner-track:color-mix(in srgb,var(--page-bg) 42%,transparent);
    --rm-loading-spinner-head:var(--page-bg);
}
.rm-btn-loading:disabled {
    opacity:1 !important;
    filter:none !important;
}

.btn-secondary.rm-btn-loading {
    background:var(--primary-light) !important;
    border-color:var(--primary) !important;
    --rm-loading-spinner-track:color-mix(in srgb,var(--primary) 34%,transparent);
    --rm-loading-spinner-head:var(--primary);
}
html[data-theme="dark"] .btn-secondary.rm-btn-loading {
    background:color-mix(in srgb,var(--primary) 18%,var(--surface-bg)) !important;
    border-color:var(--primary) !important;
    --rm-loading-spinner-track:color-mix(in srgb,var(--primary-dark-contrast) 34%,transparent);
    --rm-loading-spinner-head:var(--primary-dark-contrast);
}
:is(.btn-info,button.btn-info).rm-btn-loading {
    --rm-loading-spinner-track:rgb(255 255 255 / 42%);
    --rm-loading-spinner-head:#fff;
}


.rm-status-choice-card,
.rm-status-choice-card:hover,
.rm-status-choice-card:active,
.rm-status-choice-card:focus:not(:focus-visible) {
    border-color:transparent !important;
    box-shadow:none !important;
    outline:none;
    transform:none;
}
.album-mobile-status-apply { width:100%;min-height:44px;margin-top:14px;justify-content:center; }

@media (max-width:640px) {
    .rm-mobile-diagnostic-action { display:none !important; }
    .delivery-view-back { display:flex;justify-content:center;margin-inline:auto; }
}
@media (max-width:640px) and (hover:none), (max-width:640px) and (pointer:coarse) {
    button, a, [role="button"], input, select, textarea, label {
        -webkit-tap-highlight-color:transparent;
    }
    button:focus:not(:focus-visible),
    a:focus:not(:focus-visible),
    [role="button"]:focus:not(:focus-visible) {
        outline:none !important;
        box-shadow:none;
    }
}
@keyframes rm-btn-spin {
    from { transform: translate3d(-50%, -50%, 0) rotate(0deg); }
    to { transform: translate3d(-50%, -50%, 0) rotate(360deg); }
}


.rjl-pulse,
.rm-processing-pulse {
    animation: rjl-pulse-anim 2.6s ease-in-out infinite;
}
@keyframes rjl-pulse-anim {
    0%, 100% { opacity: 1; }
    50% { opacity: .8; }
}


.or-divider {
    display: flex; align-items: center; gap: 12px;
    margin: 18px 0; color: var(--text-faint); font-size: 12px; text-transform: uppercase; letter-spacing: .04em;
}
.or-divider::before, .or-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.btn-google {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    width: 100%; padding: 10px 16px; border: 1px solid var(--border); border-radius: 8px;
    background: #fff; color: #3c4043; font-size: 14px; font-weight: 600;
    text-decoration: none; box-sizing: border-box;
}
.btn-google:hover { background: #f8f9fa; }


.rm-contact-support-fab {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    background: var(--primary, #166534);
    color: #fff;
    border: none;
    border-radius: 999px;
    box-shadow: 0 4px 14px rgba(0,0,0,.18);
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
}
.rm-contact-support-fab:hover { filter: brightness(1.08); }
@media (max-width: 640px) {
    .rm-contact-support-fab span { display: none; }
    .rm-contact-support-fab { padding: 14px; right: 16px; bottom: 16px; }
}


.line-chart-wrap {
  position: relative;
  width: 100%;
  max-width: var(--line-chart-max-width, 100%);
  margin: 0 auto;
}
@media (max-width: 640px) {
  .line-chart-wrap { max-width: 100%; }
}
.line-chart { cursor: grab; touch-action: none; -webkit-user-drag: none; user-select: none; -webkit-user-select: none; }
.line-chart:active { cursor: grabbing; }
.line-chart-hover-cursor { stroke: #9ca3af; stroke-width: 1; stroke-dasharray: 3 3; pointer-events: none; }
.line-chart-series { transition: opacity .15s ease; }
.line-chart-tooltip {
    position: absolute;
    background: #1f2937;
    color: #fff;
    padding: 8px 10px;
    border-radius: 4px;
    font-size: 12px;
    line-height: 1.5;
    pointer-events: none;
    z-index: 5;
    box-shadow: 0 4px 12px rgba(0,0,0,.2);
    white-space: nowrap;
}
.line-chart-tooltip-date { font-weight: 600; margin-bottom: 4px; color: #d1d5db; }
.line-chart-tooltip-row { display: flex; align-items: center; gap: 6px; }
.chart-legend-clickable .chart-legend-item { cursor: default; user-select: none; padding: 3px 4px 3px 8px; border-radius: 6px; transition: background .12s ease, opacity .12s ease; display: inline-flex; align-items: center; gap: 4px; }
.chart-legend-clickable .chart-legend-name { cursor: pointer; padding: 2px 4px; border-radius: 4px; }
.chart-legend-clickable .chart-legend-name:hover { background: var(--surface-soft); }
.chart-legend-hide-btn {
    border: none;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 15px;
    line-height: 1;
    padding: 2px 4px;
    border-radius: 4px;
}
.chart-legend-hide-btn:hover { background: var(--surface-soft); color: var(--alert-text); }
.chart-legend-hint { font-size: 11px; color: var(--text-muted); margin: 0 0 4px; }
.chart-legend-item.is-hidden-series { opacity: .4; text-decoration: line-through; }
.chart-legend-item.is-highlighted-series { background: var(--surface-soft); font-weight: 600; }


.package-pick-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; margin-top: 6px; }
.package-pick-card {
    position: relative;
    border: 2px solid var(--border-color, #e5e7eb);
    border-radius: 10px;
    padding: 14px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 4px;
    transition: border-color .12s ease, background .12s ease;
}
.package-pick-card input[type="radio"] { position: absolute; top: 10px; right: 10px; }
.package-pick-card:has(input:checked) { border-color: var(--primary, #166534); background: var(--surface-soft); }
.package-pick-name { font-weight: 600; }
.package-pick-price { font-size: 14px; color: var(--text-muted); }
.package-pick-detail { font-size: 12px; color: var(--text-muted); }


.chart-view-switcher { display: flex; gap: 6px; margin-bottom: 10px; flex-wrap: wrap; }
.chart-view-btn {
    border: 1px solid var(--border-color, #e5e7eb);
    background: #fff;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 13px;
    cursor: pointer;
    color: var(--text-muted);
}
.chart-view-btn.is-active { background: var(--primary, #166534); color: var(--primary-contrast); border-color: var(--primary, #166534); }


.pricing-card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin: 20px 0; }
.pricing-card {
    border: 2px solid var(--border-color, #e5e7eb);
    border-radius: 4px;
    padding: 24px 20px;
    text-align: center;
    background: #fff;
}
.pricing-card-name { font-weight: 700; font-size: 15px; letter-spacing: .02em; text-transform: uppercase; color: var(--text-muted); }
.pricing-card-price { margin-top: 10px; }
.pricing-card-amount { font-size: 34px; font-weight: 800; }
.pricing-card-currency { font-size: 14px; color: var(--text-muted); }
.pricing-compare-table td, .pricing-compare-table th { padding: 10px 14px; }
.pricing-check { color: #16a34a; font-weight: 700; font-size: 16px; }
.pricing-cross { color: var(--text-muted); }


.billing-card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; align-items: start; }
.billing-package-card {
    position: relative;
    background: var(--raised-bg, var(--surface-bg));
    color: var(--text-main);
    border: 1px solid var(--field-border, var(--line));
    border-radius: 18px;
    padding: 28px;
    transition: transform .2s ease, box-shadow .2s ease;
}
.billing-package-card:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(0,0,0,.07); }
.billing-package-card.is-current-package {
    box-shadow: 0 0 0 2px var(--primary), 0 10px 26px rgba(0,0,0,.06);
}
.billing-current-ribbon {
    position: absolute; top: 18px; right: 18px;
    background: var(--primary); color: var(--primary-contrast);
    font-size: 11px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase;
    padding: 5px 12px; border-radius: 999px;
}
.billing-package-name { font-size: 20px; font-weight: 700; margin-bottom: 18px; color: var(--text-main); }
.billing-package-price { margin-bottom: 22px; }
.billing-price-amount { font-size: 40px; font-weight: 800; line-height: 1; color: var(--text-main); }
.billing-price-currency { font-size: 14px; color: var(--text-muted); margin-left: 2px; }
.billing-price-period { color: var(--text-muted); margin-top: 6px; font-size: 13px; }
.billing-price-subnote { color: var(--text-muted); margin-top: 6px; font-size: 12px; }
.billing-feature-list { list-style: none; margin: 0 0 24px; padding: 0; }
.billing-feature-list li { padding: 10px 0; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-main); }
.billing-feature-list li:last-child { border-bottom: none; }
.billing-check {
    width: 20px; height: 20px; flex-shrink: 0;
    border-radius: 50%;
    background: color-mix(in srgb, var(--primary) 15%, transparent);
    color: var(--primary);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 11px;
}
.billing-subscribe-btn, .billing-paypal-slot { width: 100%; }
.billing-subscribe-btn {
    height: 46px; border: none; border-radius: 10px;
    background: var(--primary); color: var(--primary-contrast);
    font-size: 14px; font-weight: 600; cursor: pointer;
    transition: background .15s ease;
}
.billing-subscribe-btn:hover { background: var(--primary-dark, var(--primary)); color: var(--primary-dark-contrast); }
.billing-current-label {
    text-align: center; padding: 12px; border-radius: 10px;
    background: color-mix(in srgb, var(--primary) 12%, transparent);
    color: var(--primary); font-weight: 600; font-size: 13px;
}

.billing-paypal-slot { max-width: 100%; }


.pricing-period-toggle { display: flex; justify-content: center; gap: 4px; padding: 4px; background: var(--surface-soft); border-radius: 999px; width: fit-content; margin: 0 auto 16px; }
.pricing-toggle-btn { border: none; background: transparent; padding: 8px 20px; border-radius: 999px; font-weight: 600; font-size: 13px; cursor: pointer; color: var(--text-muted); }
.pricing-toggle-btn.is-active { background: var(--primary); color: var(--primary-contrast); }


.reject-inline-form { display: none; margin-top: 12px; padding: 12px; background: var(--surface-soft); border-radius: 10px; }
.reject-inline-form.open-inline { display: block; }


.rm-overview-grid { display: flex; flex-wrap: wrap; gap: 18px; width: 100%; min-width: 0; max-width: 100%; }
.rm-overview-block { flex: 1 1 140px; min-width: 140px; overflow-wrap: anywhere; word-break: break-word; }

.rm-overview-grid-primary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; width: 100%; min-width: 0; max-width: 100%; margin-bottom: 18px; }
.rm-overview-grid-primary .rm-overview-block { min-width: 0; }
.rm-overview-identity-line { margin: 0 0 14px; color: var(--text-muted); }
button.catalog-number-copy {
    -webkit-appearance: none;
    appearance: none;
    position: relative;
    display: inline;
    width: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: inherit !important;
    box-shadow: none !important;
    font: inherit !important;
    line-height: inherit !important;
    text-align: inherit;
    text-transform: none;
    cursor: copy;
    vertical-align:baseline;
    -webkit-tap-highlight-color: transparent;
}
button.catalog-number-copy:hover,
button.catalog-number-copy:focus-visible,
button.catalog-number-copy:active {
    background: transparent !important;
    color: inherit !important;
    box-shadow: none !important;
    text-decoration: underline dotted;
    text-underline-offset: 3px;
}
button.catalog-number-copy:focus-visible {
    outline: 1px dotted currentColor !important;
    outline-offset: 2px;
}

button.catalog-number-copy.text-faint { color: var(--text-faint) !important; }
button.catalog-number-copy::after {
    content: attr(data-tooltip);
    position: absolute;
    z-index: 1200;
    left: 0;
    bottom: calc(100% + 7px);
    width: max-content;
    max-width: min(320px, 80vw);
    padding: 7px 9px;
    border: 1px solid var(--border);
    border-radius: 4px;
    background: var(--surface-bg, #fff);
    color: var(--text-main, var(--ink));
    box-shadow: 0 8px 24px rgba(0,0,0,.18);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.35;
    white-space: normal;
    pointer-events: none;
    opacity: 0;
    transform: translateY(3px);
    transition: opacity .15s ease, transform .15s ease;
}
button.catalog-number-copy:hover::after,
button.catalog-number-copy:focus-visible::after { opacity: 1; transform: translateY(0); }
.user-overview-row > td {
    max-width: 0;
    overflow: hidden;
}
.user-overview-cell {
    background: var(--surface-bg);
    color: var(--text-main);
}
.user-overview-content {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
    color: var(--text-main);
}
@media (max-width: 700px) {
    .rm-overview-grid-primary { grid-template-columns: 1fr; }
    .rm-overview-grid-primary .rm-overview-block { grid-column: auto !important; }
}


.rm-analytics-series-row.is-excluded { opacity: 0.4; }
.rm-analytics-series-row.is-excluded label { text-decoration: line-through; }


@media (max-width: 640px) {
    
    
    .dsp-status-menu {
        right: auto;
        left: 0;
        min-width: 200px;
        max-width: calc(100vw - 32px);
    }

    
    .hide-on-mobile { display: none !important; }

    
    .delivery-bulk-toolbar > #deliverySelectAllPagesHint {
        flex: 1 1 100%;
    }

    
    table.data-table.rm-table-sticky-thead > thead > tr > th {
        position: static;
    }
}


@media (max-width: 640px) {
    
    .isrc-lookup-list-actions {
        width: 100%;
        margin: 0 0 8px !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        gap: 8px !important;
        box-shadow: none !important;
    }
    .isrc-lookup-list-actions.filter-bar,
    #isrcBulkBar .action-group-equal {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        width: 100%;
        gap: 8px !important;
    }
    .isrc-lookup-list-actions.filter-bar > .search-clear-wrap,
    .isrc-lookup-list-actions.filter-bar > select,
    .isrc-lookup-list-actions.filter-bar > .rm-searchable-select-shell {
        grid-column: 1 / -1;
    }
    .isrc-lookup-list-actions > button,
    #isrcBulkBar .action-group-equal > button {
        width: 100% !important;
        min-width: 0 !important;
        min-height: 44px;
        margin: 0 !important;
        justify-content: center;
    }
    #isrcSelectedCount,
    #isrcSelectAllNotice {
        display: none !important;
    }
    #isrcBulkBar button {
        flex: 0 0 auto;
    }
}


.bulk-delete-preview > p:first-child { margin-top: 0; }
.bulk-delete-preview ul { margin: 8px 0; padding-left: 20px; }
.bulk-delete-preview > p:last-child { margin-bottom: 0; }
.bulk-delete-preview,
.bulk-delete-preview * {
    font-family: inherit;
}
.bulk-delete-blocked {
    color: var(--alert-text);
    font: inherit;
    font-weight: 400;
    line-height: 1.45;
}
.bulk-delete-blocked-title {
    font: inherit;
    font-weight: 500;
}



:root {
    --focus-ring: #1d4ed8;
    --focus-ring-on-color: #ffffff;
}

:where(
    a[href],
    button,
    .btn,
    input,
    select,
    textarea,
    summary,
    [role="button"],
    [tabindex]:not([tabindex="-1"])
):focus-visible {
    outline: 3px solid var(--focus-ring);
    outline-offset: 2px;
}

.topbar :where(
    a[href],
    button,
    [role="button"],
    [tabindex]:not([tabindex="-1"])
):focus-visible {
    outline-color: var(--focus-ring-on-color);
    box-shadow: 0 0 0 5px rgba(31, 36, 48, .45);
}

.modal-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}

@media (prefers-reduced-motion: reduce) {
    html:focus-within {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms;
        animation-iteration-count: 1;
        scroll-behavior: auto;
        transition-duration: .01ms;
    }
}

@media (max-width: 640px) {
    .modal-overlay {
        padding: 10px;
        padding-top: max(10px, env(safe-area-inset-top));
        padding-right: max(10px, env(safe-area-inset-right));
        padding-bottom: max(10px, env(safe-area-inset-bottom));
        padding-left: max(10px, env(safe-area-inset-left));
    }

    .modal-box {
        max-height: calc(100vh - 20px);
        max-height: calc(100dvh - 20px);
        padding: 20px;
        border-radius: 12px;
        overscroll-behavior: contain;
    }

    .modal-box h3:first-of-type {
        padding-right: 40px;
        font-size: 20px;
    }

    .modal-close {
        top: 6px;
        right: 6px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        padding: 0;
    }

    .form-actions,
    .modal-actions {
        width: 100%;
        flex-wrap: wrap;
        align-items: stretch;
    }

    .form-actions > button,
    .form-actions > .btn,
    .modal-actions > button,
    .modal-actions > .btn {
        flex: 1 1 min(180px, 100%);
        width: auto;
        min-width: 0;
        max-width: 100%;
        height: auto;
        min-height: 44px;
        padding-block: 8px;
        text-align: center;
        white-space: normal;
        overflow-wrap: anywhere;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }

    .row-actions button,
    .row-actions .btn,
    .pagination-links .page-link,
    .btn-x-remove {
        min-width: 44px;
        min-height: 44px;
    }

    
    .search-clear-btn,
    .filter-bar button.search-clear-btn {
        right: 2px;
        width: 32px;
        height: 32px;
        min-width: 32px;
        min-height: 32px;
    }

    
    .search-clear-wrap input[type="text"],
    .filter-bar .search-clear-wrap input[type="text"] {
        padding-right: 40px !important;
    }

    .pagination-links {
        gap: 6px;
    }

    .pagination-links .page-link {
        height: 44px;
        padding-inline: 10px;
    }

    .chip-x,
    .chip-x-danger {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 36px;
        min-height: 36px;
    }

    input[type="checkbox"]:not(.rm-switch),
    input[type="radio"] {
        min-width: 22px;
        min-height: 22px;
    }

    .checkbox-list label,
    .check-row {
        min-height: 44px;
    }

    
    .login-container .form-row.check-row {
        margin-bottom: 0;
    }

    .login-container .form-actions {
        margin-top: 4px;
    }
}

@media (max-width: 400px) {
    .form-actions > button,
    .form-actions > .btn,
    .modal-actions > button,
    .modal-actions > .btn {
        flex-basis: 100%;
        width: 100%;
    }
}



.topbar {
    color: var(--topbar-contrast);
}

.topbar .brand,
.topbar .nav-dropdown-toggle:hover,
.topbar .nav-dropdown-toggle.open,
.topbar .nav-user-toggle span {
    color: var(--topbar-contrast);
}

.topbar .topnav > a,
.topbar .topnav-desktop > a,
.topbar .nav-dropdown-toggle,
.topbar .nav-user-toggle {
    color: color-mix(in srgb, var(--topbar-contrast) 82%, transparent);
}

.topbar .nav-user-toggle small {
    color: color-mix(in srgb, var(--topbar-contrast) 70%, transparent);
}

.topbar .nav-user-toggle:hover,
.topbar .nav-bell-toggle:hover {
    color: var(--topbar-contrast);
    background: color-mix(in srgb, var(--topbar-contrast) 14%, transparent);
}

.rm-player-meta span,
.rm-player-time,
.rm-player-close {
    color: color-mix(in srgb, var(--player-contrast) 65%, transparent);
}

.rm-player-close:hover {
    color: var(--player-contrast);
}



@media (min-width: 900px) and (max-width: 1199px) {
    .mobile-nav-group[data-nav-placement="sidebar"],
    .mobile-nav-header .mobile-nav-dashboard-link { display: none; }
    .mobile-nav-drawer .mobile-nav-header { justify-content: flex-end; }
}
.topbar .nav-dropdown-toggle { white-space: nowrap; }
.topbar .topnav-desktop,
.topbar .topnav-desktop > .nav-dropdown { flex-shrink: 0; }
.mobile-menu-toggle,
.mobile-nav-overlay {
    display: none;
}

@media (max-width: 1199px) {
    .topbar .topnav-desktop,
    .topbar .topbar-spacer { display: none; }
    body.mobile-nav-open {
        overflow: hidden;
    }

    
    .topbar .brand,
    .topbar .topnav > a:first-child {
        display: none;
    }

    .topbar {
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        gap: 8px;
        padding: 8px 10px;
    }

    .topbar .topnav {
        display: flex;
        flex: 1 1 auto;
        width: auto;
        min-width: 0;
        margin: 0;
        flex-wrap: nowrap;
        gap: 6px;
    }

    .topbar .topnav > .nav-dropdown {
        display: none;
    }

    .topbar .topnav > a,
    .topbar .mobile-menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 44px;
        margin: 0;
        padding: 8px;
        border: none;
        border-radius: 10px;
        background: color-mix(in srgb, var(--topbar-contrast) 14%, transparent);
        color: var(--topbar-contrast);
        font-size: 14px;
        font-weight: 700;
        text-decoration: none;
    }

    .mobile-menu-toggle {
        gap: 6px;
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
        user-select: none;
    }

    .mobile-menu-toggle:focus:not(:focus-visible),
    .mobile-nav-close:focus:not(:focus-visible),
    .mobile-nav-link:focus:not(:focus-visible),
    .mobile-nav-dashboard-link:focus:not(:focus-visible) {
        outline: none;
        box-shadow: none;
    }

    .mobile-nav-close,
    .mobile-nav-link,
    .mobile-nav-dashboard-link {
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }

    .mobile-menu-toggle-icon {
        font-size: 19px;
        line-height: 1;
    }

    .topbar .topbar-account {
        flex: 0 0 auto;
        align-self: center;
        gap: 4px;
    }

    .topbar .nav-bell-toggle,
    .topbar .nav-user-toggle {
        min-width: 44px;
        min-height: 44px;
        justify-content: center;
    }

    .topbar .nav-user-toggle > span:not(.user-avatar-placeholder),
    .topbar .nav-user-toggle > small {
        display: none;
    }

    .mobile-nav-overlay {
        position: fixed;
        inset: 0;
        z-index: 9000;
        align-items: stretch;
        justify-content: flex-start;
        background: rgba(15, 23, 42, .48);
        opacity: 0;
        transition: opacity .18s ease;
    }

    .mobile-nav-overlay.open {
        display: flex;
        opacity: 1;
    }

    .mobile-nav-drawer {
        width: min(88vw, 360px);
        height: 100vh;
        height: 100dvh;
        
        padding: 0 12px max(12px, env(safe-area-inset-bottom));
        background: #fff;
        color: var(--ink);
        overflow-y: auto;
        overscroll-behavior: contain;
        box-shadow: 12px 0 32px rgba(15, 23, 42, .2);
        transform: translateX(-100%);
        transition: transform .2s ease;
    }
    .mobile-nav-drawer:focus { outline:0; }

    .mobile-nav-overlay.open .mobile-nav-drawer {
        transform: translateX(0);
    }

    .mobile-nav-header {
        position: sticky;
        top: 0;
        z-index: 1;
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: calc(52px + env(safe-area-inset-top));
        padding: max(2px, env(safe-area-inset-top)) 4px 8px 10px;
        background: #fff;
        border-bottom: 1px solid var(--border);
    }

    .mobile-nav-dashboard-link {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
        padding: 7px 10px;
        border-radius: 4px;
        color: var(--ink);
        font-size: 18px;
        font-weight: 600;
        line-height: 1.2;
        text-decoration: none;
    }

    .mobile-nav-dashboard-link:hover,
    .mobile-nav-dashboard-link:focus-visible,
    .mobile-nav-dashboard-link.is-active {
        background: transparent;
        color: var(--ink);
    }

    .mobile-nav-close {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        padding: 0;
        border: none;
        background: transparent;
        color: var(--ink);
        font-size: 25px;
        line-height: 1;
    }

    .mobile-nav-close:hover {
        background: var(--surface-soft);
        color: var(--ink);
    }

    
    .mobile-nav-close.is-touch-open-focus:focus {
        outline: none !important;
        box-shadow: none !important;
        background: transparent !important;
    }

    .mobile-nav-close:focus-visible:not(.is-touch-open-focus) {
        outline: 2px solid var(--primary);
        outline-offset: 2px;
        box-shadow: none;
    }

    .mobile-nav-groups {
        display: block;
        width: 100%;
        margin: 0;
        padding: 4px 0 12px;
    }

    .mobile-nav-group {
        padding: 14px 0 4px;
        border-bottom: 1px solid var(--border);
    }

    .mobile-nav-group:last-child {
        border-bottom: none;
    }

    .mobile-nav-group h2 {
        margin: 0 10px 6px;
        color: var(--text-muted);
        font-size: 11px;
        font-weight: 700;
        letter-spacing: .06em;
        text-transform: uppercase;
    }

    .mobile-nav-link {
        display: flex;
        align-items: center;
        gap: 11px;
        min-height: 48px;
        padding: 10px;
        border-radius: 9px;
        color: var(--ink);
        font-size: 15px;
        font-weight: 400;
        text-decoration: none;
    }

    .mobile-nav-link:hover,
    .mobile-nav-link.is-active {
        background: var(--primary-light);
        color: var(--primary);
    }
    .mobile-nav-link.is-active {
        font-weight:600;
    }

    .mobile-nav-icon {
        display: inline-flex;
        width: 22px;
        height: 22px;
        align-items: center;
        justify-content: center;
        flex: 0 0 22px;
        opacity: .72;
    }

    .mobile-nav-icon svg {
        width: 18px;
        height: 18px;
    }

}


.settings-save-helper {
    position: fixed;
    top: 50%;
    right: auto;
    left: calc(100% - 35px);
    z-index: 900;
    display: inline-flex;
    width: 50px;
    min-height: 112px;
    padding: 13px 8px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 9px;
    border: 1px solid var(--primary);
    border-radius: 5px;
    background: var(--primary);
    color: var(--primary-contrast, #fff);
    font: inherit;
    font-weight: 600;
    text-transform: uppercase;
    box-shadow: 0 4px 14px rgb(0 0 0 / 12%);
    opacity: .4;
    transform: translate(-50%, -50%);
    transition: opacity .2s ease,
                box-shadow .2s ease;
}
.settings-save-helper[hidden] { display: none; }
.settings-save-helper.is-following-pointer {
    top: var(--settings-save-y, 50%);
    right: auto;
    left: var(--settings-save-x, auto);
    transform: translate(-50%, -50%) rotate(var(--settings-save-rotation, 0deg));
}
.settings-save-helper.is-summoned {
    transition: top .5s cubic-bezier(.2, .75, .2, 1),
                left .5s cubic-bezier(.2, .75, .2, 1),
                transform .5s cubic-bezier(.2, .75, .2, 1),
                opacity .2s ease,
                box-shadow .2s ease;
}
.settings-save-helper.is-returning {
    transition: top .7s cubic-bezier(.22, .72, .2, 1),
                left .7s cubic-bezier(.22, .72, .2, 1),
                transform .7s cubic-bezier(.22, .72, .2, 1),
                opacity .2s ease,
                box-shadow .2s ease;
}
.settings-save-helper-hint {
    position: fixed;
    z-index: 890;
    max-width: 310px;
    padding: 8px 11px;
    border: 1px solid var(--border);
    border-radius: 4px;
    background: var(--surface, #fff);
    color: var(--text-muted);
    box-shadow: 0 4px 12px rgb(0 0 0 / 10%);
    font: inherit;
    font-size: 12px;
    line-height: 1.4;
    pointer-events: none;
}
.settings-save-helper-hint[hidden] { display: none; }
.settings-save-helper-label {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    letter-spacing: .08em;
}
.settings-save-helper.is-dirty { opacity: .76; visibility:visible; pointer-events:auto; }
.settings-save-helper.is-dirty:hover,
.settings-save-helper.is-dirty:focus-visible {
    opacity: 1;
    box-shadow: 0 6px 18px rgb(0 0 0 / 18%);
}
.settings-save-helper:disabled { cursor: default; filter: saturate(.45); opacity:0; visibility:hidden; pointer-events:none; }
.settings-save-helper.rm-btn-loading {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    color: transparent !important;
    --rm-loading-spinner-track: color-mix(in srgb, var(--primary-contrast, #fff) 34%, transparent);
    --rm-loading-spinner-head: var(--primary-contrast, #fff);
    filter: none !important;
}
.settings-save-helper.is-saving:disabled {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: none !important;
}
.list-clear-helper.rm-btn-loading {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    --rm-loading-spinner-head: var(--primary-contrast, #fff);
}
.settings-save-helper-count:empty { display: none; }
.settings-save-helper-count:not(:empty) {
    display: inline-flex;
    min-width: 21px;
    height: 21px;
    padding: 0 5px;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: rgb(255 255 255 / 24%);
    color: inherit;
    font-size: 12px;
    line-height: 1;
}
.settings-field-error{margin:6px 0 0;color:var(--alert-text);font-size:12px;line-height:1.4}
.bulk-delete-blocked-summary{color:var(--alert-text)}
[aria-invalid="true"]{border-color:var(--alert-border)!important;box-shadow:inset 0 -1px 0 var(--alert-border)!important}
.settings-save-helper.is-label-flipping .settings-save-helper-label {
    animation: rm-save-helper-card-flip 500ms ease both;
}
@keyframes rm-save-helper-card-flip {
    0% { transform: rotate(180deg) scaleX(1); opacity: 1; }
    48% { transform: rotate(180deg) scaleX(.08); opacity: .35; }
    52% { transform: rotate(180deg) scaleX(.08); opacity: .35; }
    100% { transform: rotate(180deg) scaleX(1); opacity: 1; }
}

@media (min-width: 701px) and (pointer: fine) {
    .settings-save-helper.is-following-pointer:not(.is-returning) {
        width: auto;
        min-width: 92px;
        height: 40px;
        min-height: 40px;
        padding: 6px 16px;
        flex-direction: row;
        gap: 7px;
        transform: translate(-50%, -50%);
        white-space: nowrap;
    }
    .settings-save-helper.is-following-pointer:not(.is-returning) .settings-save-helper-label {
        writing-mode: horizontal-tb;
        transform: none;
        letter-spacing: .04em;
    }
    .settings-save-helper.is-following-pointer:not(.is-returning).is-label-flipping .settings-save-helper-label {
        animation-name: rm-save-helper-horizontal-flip;
    }
}
@keyframes rm-save-helper-horizontal-flip {
    0% { transform: scaleX(1); opacity: 1; }
    48% { transform: scaleX(.08); opacity: .35; }
    52% { transform: scaleX(.08); opacity: .35; }
    100% { transform: scaleX(1); opacity: 1; }
}
@media (max-width: 700px) {
    
    .settings-save-helper,
    .settings-save-helper.is-following-pointer {
        top: var(--rm-mobile-viewport-mid-y, 50vh);
        right: max(8px, env(safe-area-inset-right));
        left: auto;
        width: 46px;
        min-height: 100px;
        padding: 11px 7px;
        font-size: 12px;
        transform: translateY(-50%);
    }
}


html, body {
    background: var(--page-bg);
    color: var(--text-main);
}
.card,
.sidebar,
.app-main,
table.data-table,
.modal-box,
.nav-dropdown-menu,
.mobile-nav-drawer,
.track-block-body,
.settings-card,
.ac-menu {
    background-color: var(--surface-bg);
    color: var(--text-main);
}
input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]),
select,
textarea,
.file-input-label {
    background-color: var(--surface-bg);
    color: var(--text-main);
    border-color: var(--control-border);
}
input::placeholder,
textarea::placeholder {
    color: var(--text-muted);
    opacity: .58;
    font-style: normal;
    font-weight: 400;
}
.settings-hint,
.cell-hint,
.hint-text,
.hint-faint {
    color: var(--text-muted);
    opacity: .72;
    font-size: .88em;
    font-weight: 400;
}
html[data-theme="dark"] input::placeholder,
html[data-theme="dark"] textarea::placeholder {
    opacity: .5;
}
html[data-theme="dark"] .settings-hint,
html[data-theme="dark"] .cell-hint,
html[data-theme="dark"] .hint-text,
html[data-theme="dark"] .hint-faint {
    opacity: .64;
}
input[type=checkbox]:not(.rm-switch) { background-color: var(--surface-bg); }
.theme-toggle {
    display: inline-flex;
    width: 38px;
    height: 38px;
    padding: 0;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 4px;
    color: var(--topbar-contrast);
    background: transparent;
    min-width: 38px;
}
.theme-toggle:hover,
.theme-toggle:focus-visible { background: rgb(255 255 255 / 14%); color: var(--topbar-contrast); }
.theme-icon { width: 20px; height: 20px; }
.theme-icon-sun { display: none; }
html[data-theme="dark"] .theme-icon-sun { display: block; }
html[data-theme="dark"] .theme-icon-moon { display: none; }

html[data-theme="dark"] {
    --ink: var(--text-main);
    --muted: var(--text-muted);
    --border: var(--table-border);
    --field-border: var(--control-border);
    --text-faint: var(--text-muted);
    --control-underline: var(--table-border);
    --neutral-badge-bg: #475569;
    --neutral-badge-text: #F8FAFC;
    --neutral-badge-border: #64748B;
    
    --dark-action-accent: color-mix(in srgb, var(--primary) 62%, var(--text-main));
    --dark-catalog-accent: var(--catalog-accent);
}
html[data-theme="dark"] body,
html[data-theme="dark"] .app-shell,
html[data-theme="dark"] .app-main,
html[data-theme="dark"] .container { background-color: var(--page-bg); color: var(--text-main); }
html[data-theme="dark"] .card,
html[data-theme="dark"] .sidebar,
html[data-theme="dark"] table.data-table,
html[data-theme="dark"] .modal-box,
html[data-theme="dark"] .nav-dropdown-menu,
html[data-theme="dark"] .mobile-nav-drawer,
html[data-theme="dark"] .track-block-body,
html[data-theme="dark"] .ac-menu,
html[data-theme="dark"] .bulk-menu,
html[data-theme="dark"] .dropdown-menu,
html[data-theme="dark"] .dsp-status-menu,
html[data-theme="dark"] .dsp-status-menu button,
html[data-theme="dark"] .album-card,
html[data-theme="dark"] .status-stepper,
html[data-theme="dark"] .rm-settings-sticky-wrap,
html[data-theme="dark"] .settings-search-results,
html[data-theme="dark"] .pricing-card,
html[data-theme="dark"] .chart-view-btn {
    background-color: var(--surface-bg) !important;
    color: var(--text-main);
}
html[data-theme="dark"] table.data-table th,
html[data-theme="dark"] table.data-table tbody tr:nth-child(even) td {
    background-color: var(--primary-subtle);
}
html[data-theme="dark"] .sidebar-link:hover:not(.is-active) {
    background-color: #C9CCD1;
    color: #1F1F21;
}
html[data-theme="dark"] .sidebar-link.is-active,
html[data-theme="dark"] .sidebar-link.is-active:hover {
    background-color: var(--primary-subtle);
    color: var(--text-main);
}
html[data-theme="dark"] table.data-table td,
html[data-theme="dark"] table.data-table th,
html[data-theme="dark"] .sidebar-link,
html[data-theme="dark"] .sidebar-icon,
html[data-theme="dark"] .nav-dropdown-menu a,
html[data-theme="dark"] label,
html[data-theme="dark"] h1,
html[data-theme="dark"] h2,
html[data-theme="dark"] h3,
html[data-theme="dark"] h4,
html[data-theme="dark"] p { color: inherit; }
html[data-theme="dark"] #rmContent > h1:first-child,
html[data-theme="dark"] #rmContent > .card > h1:first-child,
html[data-theme="dark"] #rmContent > .card > h2:first-child,
html[data-theme="dark"] #rmContent > .card > .row-between:first-child > h2 {
    color: var(--text-main);
}
html[data-theme="dark"] #rmContent > .card > .row-between h1,
html[data-theme="dark"] #rmContent > .card > .row-between h2,
html[data-theme="dark"] #rmContent .entity-view-title,
html[data-theme="dark"] #rmContent .track-block-title,
html[data-theme="dark"] #rmContent .review-legend-title {
    color: var(--text-main);
}
html[data-theme="dark"] table.data-table td { color: var(--text-muted); }
html[data-theme="dark"] table.data-table th { color: var(--text-main); }
html[data-theme="dark"] .catalog-title-link,
html[data-theme="dark"] .album-title-link,
html[data-theme="dark"] .artist-title-link,
html[data-theme="dark"] .label-title-link {
    color: var(--dark-catalog-accent);
}
html[data-theme="dark"] .album-card-info,
html[data-theme="dark"] .album-card-artist,
html[data-theme="dark"] .album-card-meta {
    color: var(--text-muted);
}
html[data-theme="dark"] .album-card-title { color: var(--dark-catalog-accent); }
html[data-theme="dark"] a.view-toggle:not(.is-active),
html[data-theme="dark"] .subnav a:not(.is-active),
html[data-theme="dark"] .hint-text,
html[data-theme="dark"] .cell-hint,
html[data-theme="dark"] .settings-hint { color: var(--text-muted); }
html[data-theme="dark"] table.data-table tbody tr:hover td { background-color: var(--raised-bg); }
html[data-theme="dark"] input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]),
html[data-theme="dark"] select,
html[data-theme="dark"] textarea,
html[data-theme="dark"] .file-input-label,
html[data-theme="dark"] .search-clear-wrap input {
    background-color: var(--raised-bg) !important;
    color: var(--text-main) !important;
    border-color: var(--control-border) !important;
}
html[data-theme="dark"] input[type=checkbox]:not(.rm-switch):checked {
    border-color: #D7D9DD;
    background-color: #D7D9DD;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.2 8.2 6.4 11.2 12.8 4.8' fill='none' stroke='%231F1F21' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
html[data-theme="dark"] input[type=checkbox]:not(.rm-switch):indeterminate {
    border-color: #D7D9DD;
    background-color: #D7D9DD;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8h9' fill='none' stroke='%231F1F21' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E");
}
html[data-theme="dark"] select,
html[data-theme="dark"] select option { color: var(--text-main) !important; }

html[data-theme="dark"] select { color-scheme:dark; }
html[data-theme="dark"] select option,
html[data-theme="dark"] select optgroup {
    background-color:var(--raised-bg) !important;
    color:var(--text-main) !important;
}
html[data-theme="dark"] .btn-secondary {
    background: transparent;
    border-color: var(--text-muted);
    color: var(--text-main);
    opacity: .84;
}
html[data-theme="dark"] .btn-secondary:hover,
html[data-theme="dark"] .btn-secondary:focus-visible {
    background: var(--text-main);
    border-color: var(--text-main);
    color: var(--page-bg);
    opacity: 1;
}
html[data-theme="dark"] .btn:not(.btn-secondary),
html[data-theme="dark"] .btn-danger,
html[data-theme="dark"] button.btn-small:not(.btn-secondary),
html[data-theme="dark"] table.data-table .btn:not(.btn-secondary) {
    background: var(--text-main);
    border-color: var(--text-main);
    color: var(--page-bg);
}
html[data-theme="dark"] .btn:not(.btn-secondary):hover,
html[data-theme="dark"] .btn-danger:hover,
html[data-theme="dark"] button.btn-small:not(.btn-secondary):hover,
html[data-theme="dark"] table.data-table .btn:not(.btn-secondary):hover {
    background: #FFFFFF;
    border-color: #FFFFFF;
    color: #1F1F21;
}

html[data-theme="dark"] .btn-info,
html[data-theme="dark"] button.btn-small.btn-info,
html[data-theme="dark"] table.data-table .btn-info {
    background: var(--freeze-action-bg) !important;
    border-color: var(--freeze-action-bg) !important;
    color: #FFFFFF !important;
    opacity: 1;
}
html[data-theme="dark"] .btn-info:hover,
html[data-theme="dark"] .btn-info:focus-visible,
html[data-theme="dark"] button.btn-small.btn-info:hover,
html[data-theme="dark"] button.btn-small.btn-info:focus-visible,
html[data-theme="dark"] table.data-table .btn-info:hover,
html[data-theme="dark"] table.data-table .btn-info:focus-visible {
    background: var(--freeze-action-hover-bg) !important;
    border-color: var(--freeze-action-hover-bg) !important;
    color: #FFFFFF !important;
}

html[data-theme="dark"] button[type="submit"]:not([class]),
html[data-theme="dark"] button[type="submit"][class=""],
html[data-theme="dark"] button[type="submit"][class="rm-btn-loading"] {
    background: #F2F3F5;
    border-color: #F2F3F5;
    color: #1F1F21;
    font-family: inherit;
    font-weight: 500;
}
html[data-theme="dark"] button[type="submit"]:not([class]):hover,
html[data-theme="dark"] button[type="submit"]:not([class]):focus-visible,
html[data-theme="dark"] button[type="submit"][class=""]:hover,
html[data-theme="dark"] button[type="submit"][class=""]:focus-visible,
html[data-theme="dark"] button[type="submit"][class="rm-btn-loading"]:hover,
html[data-theme="dark"] button[type="submit"][class="rm-btn-loading"]:focus-visible {
    background: #FFFFFF;
    border-color: #FFFFFF;
    color: #1F1F21;
}

html[data-theme="dark"] button.rm-btn-loading:not(.sidebar-link):not(.mobile-nav-link):not(.mobile-nav-dashboard-link):not(.nav-menu-item):not(.nav-user-menu-item),
html[data-theme="dark"] button[type="submit"].rm-btn-loading:not(.sidebar-link):not(.mobile-nav-link):not(.mobile-nav-dashboard-link):not(.nav-menu-item):not(.nav-user-menu-item),
html[data-theme="dark"] a.rm-btn-loading:not(.sidebar-link):not(.mobile-nav-link):not(.mobile-nav-dashboard-link):not(.nav-menu-item):not(.nav-user-menu-item),
html[data-theme="dark"] .btn.rm-btn-loading:not(.sidebar-link):not(.mobile-nav-link):not(.mobile-nav-dashboard-link):not(.nav-menu-item):not(.nav-user-menu-item) {
    color:transparent !important;
}
html[data-theme="dark"] button:disabled,
html[data-theme="dark"] .btn.is-disabled,
html[data-theme="dark"] .btn[aria-disabled="true"] { opacity: .48; }
html[data-theme="dark"] a.view-toggle.is-active,
html[data-theme="dark"] .subnav a.is-active,
html[data-theme="dark"] .sort-link.is-active {
    color: var(--text-main) !important;
    border-bottom-color: var(--dark-action-accent);
}
html[data-theme="dark"] a.view-toggle:not(.is-active) {
    color: #AEB4BE !important;
    opacity: 1;
}
html[data-theme="dark"] a.view-toggle.is-active,
html[data-theme="dark"] a.view-toggle:hover {
    color: #FFFFFF !important;
}
html[data-theme="dark"] a.view-toggle svg,
html[data-theme="dark"] a.view-toggle [class*="icon"] { color: currentColor; }
html[data-theme="dark"] .status-delivered,
html[data-theme="dark"] .status-badge.status-delivered {
    color: var(--status-delivered-text) !important;
    background: var(--status-delivered-bg) !important;
}

html[data-theme="dark"] .status-active {
    background: var(--status-active-bg);
    color: var(--status-active-text) !important;
}
html[data-theme="dark"] table.data-table td.dsp-list-status-cell .status-active,
html[data-theme="dark"] table.data-table.entity-list-flat-rows .status-active {
    color: var(--status-active-text) !important;
    background: var(--status-active-bg) !important;
}
html[data-theme="dark"] .footer a,
html[data-theme="dark"] .hint-text.action-hint,
html[data-theme="dark"] .settings-hint.action-hint,
html[data-theme="dark"] .action-hint a,
html[data-theme="dark"] .review-legend-live {
    color: var(--semantic-accent) !important;
}
html[data-theme="dark"] .review-legend-live {
    background: color-mix(in srgb, var(--semantic-accent) 18%, var(--raised-bg));
}
html[data-theme="dark"] .no-manager-available {
    color: var(--text-muted);
    background: var(--raised-bg);
}
html[data-theme="dark"] .status-reviewed,
html[data-theme="dark"] .status-dsp-delivered {
    background: var(--status-delivered-bg) !important;
    color: var(--status-delivered-text) !important;
}
html[data-theme="dark"] .status-pending,
html[data-theme="dark"] .status-dsp-pending {
    background: var(--status-pending-bg);
    color: var(--status-pending-text) !important;
}
html[data-theme="dark"] .status-submitted,
html[data-theme="dark"] .status-dsp-submitted {
    background: #3567A8;
    color: #FFFFFF !important;
}
html[data-theme="dark"] .status-disabled,
html[data-theme="dark"] .status-rejected {
    background: var(--status-rejected-bg);
    color: var(--status-rejected-text) !important;
}
html[data-theme="dark"] .status-draft {
    background: var(--album-draft-bg);
    color: var(--album-draft-text) !important;
}
html[data-theme="dark"] .status-dsp-draft {
    background: var(--dsp-draft-bg);
    color: var(--dsp-draft-text) !important;
}
html[data-theme="dark"] .status-neutral {
    background: var(--neutral-badge-bg);
    color: var(--neutral-badge-text) !important;
    border-color: var(--neutral-badge-border);
}
html[data-theme="dark"] .status-mode-auto {
    background: #0F766E;
    color: #FFFFFF !important;
}
html[data-theme="dark"] .status-mode-manual {
    background: var(--status-pending-bg);
    color: var(--status-pending-text) !important;
}
html[data-theme="dark"] .status-sandbox-mock {
    background: #6D28D9;
    color: #FFFFFF !important;
}
html[data-theme="dark"] .role-badge {
    padding-inline: 0;
    background: transparent !important;
    color: var(--text-main) !important;
}

html[data-theme="dark"] #addTrackPanel {
    background: var(--surface-bg);
    color: var(--text-main);
}
html[data-theme="dark"] #addTrackPanel .track-block:not(.collapsed) > .track-block-header {
    background: color-mix(in srgb, var(--primary) 18%, var(--raised-bg));
    color: var(--text-main);
}
html[data-theme="dark"] #addTrackPanel .track-block.collapsed > .track-block-header {
    background: transparent;
    color: var(--text-main);
}
html[data-theme="dark"] #addTrackPanel .track-block-chevron {
    color: var(--text-main);
}
html[data-theme="dark"] #addTrackPanel .track-block-header:hover .track-block-chevron {
    background: #F2F3F5;
    color: #1F1F21;
}

html[data-theme="dark"] .dashboard-grid > .card {
    border-left: 0;
}
html[data-theme="dark"] .quota-bar {
    background: color-mix(in srgb, var(--text-main) 18%, var(--page-bg));
}
html[data-theme="dark"] .quota-bar > span {
    background: #F2F3F5 !important;
}
html[data-theme="dark"] .quota-row-head,
html[data-theme="dark"] .quota-row-head strong {
    color: var(--text-main);
}
html[data-theme="dark"] .quota-bar.is-unlimited {
    background: transparent;
}

html[data-theme="dark"] .nav-count-badge,
html[data-theme="dark"] .delivery-failure-count {
    background: #F2F3F5;
    border-color: #F2F3F5;
    color: #1F1F21;
    box-shadow: 0 1px 3px rgb(0 0 0 / 22%);
}
html[data-theme="dark"] .dsp-irrevocable-lock:not(.dsp-lock-disabled),
html[data-theme="dark"] .lock-icon {
    color: var(--text-main) !important;
}

html[data-theme="dark"] #rmContent > .card:first-child > .row-between:first-child > h2,
html[data-theme="dark"] #rmContent .row-between > h1,
html[data-theme="dark"] #rmContent .row-between > h2,
html[data-theme="dark"] #rmContent .page-title {
    color: var(--text-main) !important;
}
html[data-theme="dark"] .sidebar-group-label {
    color: var(--text-muted) !important;
    opacity: 1;
}
html[data-theme="dark"] .sidebar-link:hover:not(.is-active) {
    background: #C9CCD1 !important;
    color: #1F1F21 !important;
}
html[data-theme="dark"] .sidebar-link.is-active,
html[data-theme="dark"] .sidebar-link.is-active:hover {
    background: #F2F3F5 !important;
    color: #1F1F21 !important;
}
html[data-theme="dark"] .sidebar-link:hover:not(.is-active) .sidebar-icon {
    color: #1F1F21 !important;
    opacity: .9;
}
html[data-theme="dark"] .sidebar-link.is-active .sidebar-icon {
    color: #1F1F21 !important;
    opacity: 1;
}

html[data-theme="dark"] .form-row > label:not(.check-row):not(.check-inline),
html[data-theme="dark"] [id^="settings-anchor-"] .form-row > label:first-child,
html[data-theme="dark"] #profileForm > .form-row > label:not(.check-inline),
html[data-theme="dark"] .package-feature-add-card .form-row > label,
html[data-theme="dark"] .delivery-filter-form .form-row > label,
html[data-theme="dark"] .field-label {
    color: var(--text-main) !important;
}


html[data-theme="dark"] [style*="color:#6b7280"],
html[data-theme="dark"] [style*="color:#9ca3af"],
html[data-theme="dark"] [style*="color:#5F5F60"],
html[data-theme="dark"] [style*="color:#1F1F21"],
html[data-theme="dark"] [style*="color:#111827"] {
    color: var(--text-muted) !important;
}
html[data-theme="dark"] [style*="color:#dc2626"],
html[data-theme="dark"] [style*="color:#b91c1c"],
html[data-theme="dark"] [style*="color:#991b1b"],
html[data-theme="dark"] [style*="color:#7f1d1d"],
html[data-theme="dark"] [style*="color:#d9363e"] {
    color: var(--alert-text) !important;
}
html[data-theme="dark"] [style*="background:#fee2e2"],
html[data-theme="dark"] [style*="background:#fef2f2"] {
    background: var(--alert-bg) !important;
}
html[data-theme="dark"] [style*="color:#92400e"],
html[data-theme="dark"] [style*="color:#b45309"],
html[data-theme="dark"] [style*="color:#d97706"] {
    color: var(--warning-text) !important;
}
html[data-theme="dark"] [style*="background:#fffbeb"],
html[data-theme="dark"] [style*="background:#fef3c7"] {
    background: var(--warning-bg) !important;
}

html[data-theme="dark"] .settings-save-helper {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--primary-dark-contrast, #fff);
}
html[data-theme="dark"] .settings-save-helper.rm-btn-loading {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    color: transparent !important;
    --rm-loading-spinner-track: color-mix(in srgb, var(--primary-dark-contrast, #fff) 34%, transparent);
    --rm-loading-spinner-head: var(--primary-dark-contrast, #fff);
}
html[data-theme="dark"] .list-clear-helper.rm-btn-loading {
    --rm-loading-spinner-head: var(--primary-dark-contrast, #fff);
}
html[data-theme="dark"] .settings-save-helper.is-dirty { opacity: .82; }
html[data-theme="dark"] .settings-save-helper.is-dirty:hover,
html[data-theme="dark"] .settings-save-helper.is-dirty:focus-visible { opacity: 1; }

html[data-theme="dark"] .modal-overlay {
    background: rgb(148 163 184 / 16%);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
html[data-theme="dark"] .modal-box {
    border: 1px solid color-mix(in srgb, var(--text-main) 16%, var(--table-border));
    box-shadow: 0 24px 70px rgb(0 0 0 / 58%);
}

html[data-theme="dark"] .nav-dropdown-menu {
    background-color:var(--raised-bg) !important;
    border:1px solid var(--table-border);
    box-shadow:0 14px 36px rgb(0 0 0 / 48%);
}

html[data-theme="dark"] .file-input-label {
    background:transparent !important;
    color:var(--text-main) !important;
    border-color:var(--text-muted) !important;
}
html[data-theme="dark"] .file-input-label:hover,
html[data-theme="dark"] .file-input-wrap:focus-within > .file-input-label {
    background:var(--text-main) !important;
    color:var(--page-bg) !important;
    border-color:var(--text-main) !important;
}
html[data-theme="dark"] hr { border-color: var(--table-border); }
html[data-theme="dark"] a:not(.btn):not(.brand):not(.sidebar-link) { text-underline-offset: 2px; }

@media (max-width: 700px) {
    .theme-toggle { width: 40px; height: 40px; min-width: 40px; }
}

.theme-mode-settings { margin: 28px 0; padding-top: 4px; }
.theme-mode-settings > h3 { margin: 0 0 6px; font-weight: 400; }
.theme-mode-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 16px;
}
.theme-mode-panel {
    min-width: 0;
    padding: 18px;
    border: 1px solid var(--table-border);
    border-radius: 4px;
    background: var(--surface-bg);
}
.theme-mode-panel legend,
.theme-mode-legend { padding: 0 8px; color: var(--text-main); }
.theme-mode-legend { margin: 0 0 8px; font-size: 16px; font-weight: 500; }
.theme-color-row {
    display: grid;
    grid-template-columns: minmax(130px, 1fr) minmax(190px, 330px);
    gap: 12px;
    align-items: center;
    margin-bottom: 12px;
}
.theme-color-control { display: flex; gap: 8px; align-items: center; }
.styles-mode-panel .theme-color-control {
    display: grid;
    grid-template-columns: 42px minmax(90px, 1fr) auto;
    width: 100%;
    min-width: 0;
}
.styles-mode-panel .theme-color-control .btn {
    width: auto;
    min-width: max-content;
    white-space: nowrap;
}
.styles-mode-panel .theme-color-row { grid-template-columns: minmax(150px, .9fr) minmax(230px, 1.1fr); }
.theme-color-control input[type="color"] {
    width: 42px; height: 36px; padding: 2px; flex: 0 0 42px;
    border: 0; border-radius: 4px;
    background: var(--surface-bg); cursor: pointer;
}
.styles-live-preview {
    position: sticky;
    
    top: calc(var(--rm-sticky-offset, 0px) - 1px);
    z-index: 30;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    width: calc(100% + 36px);
    margin: 4px -18px 18px;
    padding: 12px 18px;
    background: var(--pv-surface);
    color: var(--pv-main);
    border: 1px solid var(--pv-border);
    border-radius: 4px;
    box-shadow: 0 6px 16px color-mix(in srgb, var(--pv-shadow) 12%, transparent);
}

.enterprise-shell--styles > .enterprise-settings-sticky-wrap {
    position: static;
    top: auto;
    z-index: auto;
}
.styles-preview-title { font-family:var(--pv-heading-font);font-size:18px; }
.styles-preview-menu{padding:7px 12px;border-radius:4px;background:var(--pv-menu-bg);color:var(--pv-menu-text);font-family:var(--pv-control-font)}
.styles-preview-album-draft { background:var(--pv-adraft-bg);color:var(--pv-adraft-tx); }
.styles-preview-dsp-draft { background:var(--pv-ddraft-bg);color:var(--pv-ddraft-tx); }
.styles-preview-delivered { background:var(--pv-del-bg);color:var(--pv-del-tx); }
.styles-preview-active { background:var(--pv-active-bg);color:var(--pv-active-tx); }
.styles-preview-dsp-connected{background:var(--pv-dsp-connected-bg);color:var(--pv-dsp-connected-tx)}
.styles-preview-dsp-not-connected{background:var(--pv-dsp-not-connected-bg);color:var(--pv-dsp-not-connected-tx)}
.styles-preview-pending { background:var(--pv-pen-bg);color:var(--pv-pen-tx); }
.styles-preview-enterprise-inactive { background:var(--pv-enterprise-inactive-bg);color:var(--pv-enterprise-inactive-tx); }
.styles-preview-rejected { background:var(--pv-rej-bg);color:var(--pv-rej-tx); }
.styles-preview-takedown { background:var(--pv-take-bg);color:var(--pv-take-tx); }
.styles-preview-icon { display:inline-grid;place-items:center;width:22px;height:22px;border-radius:50%;background:var(--pv-icon);color:var(--pv-icon-text); }
.styles-preview-warning-icon { display:inline-grid;place-items:center;width:22px;height:22px;border-radius:50%;background:var(--pv-warning-icon);color:var(--pv-warning-icon-text);opacity:var(--pv-warning-icon-opacity);font-family:var(--pv-status-font);font-weight:700;line-height:1; }
.styles-preview-player { padding:7px 12px;border-radius:4px;background:var(--pv-player);color:var(--pv-player-text); }
.styles-live-preview { font-family: var(--pv-body-font); }
.styles-live-preview .status-badge { font-family: var(--pv-status-font); opacity:var(--pv-status-opacity); }
.styles-live-preview .styles-preview-icon { opacity:var(--pv-status-opacity); }
.styles-preview-heading { font-family: var(--pv-heading-font); font-size: 18px; }

.styles-mode-panel[data-style-mode="light"] {
    --pv-main: #1F1F21;
    --pv-surface: #FFFFFF;
    --pv-border: #E5E7EB;
    --pv-shadow: #1F1F21;
    --pv-action-bg: var(--primary, #56CC82);
    --pv-action-text: var(--primary-contrast, #FFFFFF);
    --pv-menu-bg:#56CC82;
    --pv-menu-text:#FFFFFF;
    --pv-adraft-bg: #F3F4F6;
    --pv-adraft-tx: #5F5F60;
    --pv-ddraft-bg: #F3F4F6;
    --pv-ddraft-tx: #5F5F60;
    --pv-del-bg: color-mix(in srgb, #56CC82 14%, #FFFFFF);
    --pv-del-tx: #4F9068;
    --pv-pen-bg: #FEF3C7;
    --pv-pen-tx: #92400E;
    --pv-dsp-connected-bg:#DCFCE7;
    --pv-dsp-connected-tx:#166534;
    --pv-dsp-not-connected-bg:#FFF1F5;
    --pv-dsp-not-connected-tx:#B8325A;
    --pv-rej-bg: #FFF1F5;
    --pv-rej-tx: #B8325A;
    --pv-take-bg: #111827;
    --pv-take-tx: #FFFFFF;
    --pv-status-opacity: 1;
    --pv-icon: #56CC82;
    --pv-icon-text: #FFFFFF;
    --pv-warning-icon: #D97706;
    --pv-warning-icon-text: #FFFFFF;
    --pv-warning-icon-opacity: 1;
    --pv-player: #3A4150;
    --pv-player-text: #FFFFFF;
    --pv-impersonation-bg: #B45309;
    --pv-impersonation-text: #FFFFFF;
    --pv-body-font: var(--font-family-main);
    --pv-heading-font: var(--font-family-heading);
    --pv-control-font: var(--font-family-control);
    --pv-status-font: var(--font-family-status);
    --pv-code-font: ui-monospace;
}
.styles-mode-panel[data-style-mode="dark"] {
    --pv-main: #F2F3F5;
    --pv-surface: #2B2D31;
    --pv-border: #9E9E9E;
    --pv-shadow: #F2F3F5;
    --pv-action-bg: var(--text-main, #F2F3F5);
    --pv-action-text: var(--page-bg, #2B2D31);
    --pv-menu-bg:#07131F;
    --pv-menu-text:#FFFFFF;
    --pv-adraft-bg: #3A3C42;
    --pv-adraft-tx: #D7D9DD;
    --pv-ddraft-bg: #313338;
    --pv-ddraft-tx: #B5BAC1;
    --pv-del-bg: #1F4F7A;
    --pv-del-tx: #FFFFFF;
    --pv-pen-bg: #9A6508;
    --pv-pen-tx: #FFFFFF;
    --pv-dsp-connected-bg:#166534;
    --pv-dsp-connected-tx:#DCFCE7;
    --pv-dsp-not-connected-bg:#BD1534;
    --pv-dsp-not-connected-tx:#FFFFFF;
    --pv-rej-bg: #C56A20;
    --pv-rej-tx: #FFFFFF;
    --pv-take-bg: #111827;
    --pv-take-tx: #FFFFFF;
    --pv-status-opacity: 1;
    --pv-icon: #1E1F22;
    --pv-icon-text: #FFFFFF;
    --pv-warning-icon: #C56A20;
    --pv-warning-icon-text: #FFFFFF;
    --pv-warning-icon-opacity: 1;
    --pv-player: #202225;
    --pv-player-text: #FFFFFF;
    --pv-impersonation-bg: #C56A20;
    --pv-impersonation-text: #FFFFFF;
    --pv-body-font: var(--font-family-main);
    --pv-heading-font: var(--font-family-heading);
    --pv-control-font: var(--font-family-control);
    --pv-status-font: var(--font-family-status);
    --pv-code-font: ui-monospace;
}
.styles-preview-control {
    min-width: 64px;
    height: 36px;
    padding: 6px 16px;
    border: 1px solid var(--pv-action-bg) !important;
    border-radius: 4px;
    background: var(--pv-action-bg) !important;
    color: var(--pv-action-text) !important;
    font-family: var(--pv-control-font) !important;
}
.styles-preview-code { font-family: var(--pv-code-font); }
.styles-live-preview [data-preview-target] {
    cursor: pointer;
    transition: filter .15s ease, box-shadow .15s ease, transform .15s ease;
}
.styles-live-preview [data-preview-target]:hover,
.styles-live-preview [data-preview-target]:focus-visible {
    filter: brightness(1.08);
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--primary) 42%, transparent);
    outline: none;
    transform: translateY(-1px);
}
.theme-color-row.is-preview-target {
    position: relative;
    z-index: 1;
    border-radius: 4px;
    animation: rm-style-target-pulse 2.6s ease both;
    scroll-margin-top: 190px;
}
@keyframes rm-style-target-pulse {
    0% { background: transparent; box-shadow: none; }
    12%, 72%, 100% {
        background: color-mix(in srgb, var(--primary) 13%, var(--surface-bg));
        box-shadow: inset 3px 0 0 var(--primary);
    }
}
html[data-theme="dark"] .theme-color-row.is-preview-target {
    color: #1F1F21;
    animation-name: rm-style-target-pulse-dark;
}
html[data-theme="dark"] .theme-color-row.is-preview-target > label {
    color: #1F1F21 !important;
}
@keyframes rm-style-target-pulse-dark {
    0%, 78%, 100% {
        background: #F2F3F5;
        box-shadow: inset 3px 0 0 #FFFFFF, 0 0 0 1px rgba(255, 255, 255, .34);
    }
}
.styles-typography-title { margin: 22px 0 12px; font-family: var(--font-family-heading); font-weight: 500; }
.styles-default-modal label { display: block; margin: 12px 0 6px; }
.styles-default-modal input[type="password"],
.styles-default-modal input[type="text"] {
    width: 100%;
    height: 36px;
    padding: 6px 2px;
    border: 0;
    border-bottom: 1px solid var(--control-underline);
    border-radius: 0;
    background: transparent;
    color: var(--page-text);
    font-family: var(--font-family-control);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    box-shadow: none;
}
.styles-font-row select {
    width: 100%;
    min-width: 0;
    height: 36px;
    padding: 6px 34px 6px 12px;
    border: 1px solid var(--control-border);
    border-radius: 4px;
    background-color: var(--surface-bg);
    color: var(--page-text);
    font-family: var(--font-family-control);
    font-size: 14px;
    font-weight: 400;
}


body { font-family: var(--font-family-main); }
h1,h2,h3,h4,h5,h6,.page-title,.section-title,.modal-title { font-family: var(--font-family-heading) !important; }
.topbar,.topbar *,.sidebar,.sidebar *,.mobile-nav-drawer,.mobile-nav-drawer *,.settings-tabs,.nav-dropdown-menu { font-family: var(--font-family-navigation) !important; }
button,.btn,input,select,textarea,.dropdown-toggle,.pagination { font-family: var(--font-family-control) !important; }
table th,.table-header,.sort-header { font-family: var(--font-family-table) !important; }
.status-badge,.role-badge,.badge,.chip { font-family: var(--font-family-status) !important; }
code,pre,.mono,[data-monospace] { font-family: var(--font-family-monospace) !important; }
.theme-color-control input[type="text"] {
    width: 100%;
    min-width: 0;
    height: 36px;
    padding: 6px 2px;
    border: 0;
    border-bottom: 1px solid var(--control-border);
    border-radius: 0;
    background: transparent;
    color: var(--page-text);
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    box-shadow: none;
}
.theme-color-control input[type="text"]:focus,
.styles-font-row select:focus {
    border-color: var(--primary);
    outline: 2px solid color-mix(in srgb, var(--primary) 24%, transparent);
    outline-offset: 1px;
}
.styles-default-modal input[type="password"]:focus,
.styles-default-modal input[type="text"]:focus {
    border-bottom-color: var(--primary);
    outline: none;
    box-shadow: inset 0 -1px 0 var(--primary);
}
.theme-color-control input[type="text"]:focus {
    border-bottom-color: var(--primary);
    outline: none;
    outline-offset: 0;
    box-shadow: 0 1px 0 var(--primary);
}
.theme-color-auto-btn {
    flex: 0 0 auto;
    min-width: 0;
    padding-inline: 10px;
    white-space: nowrap;
    opacity: .72;
    transition: opacity .15s ease, color .15s ease, border-color .15s ease;
}
.theme-color-auto-btn:hover,
.theme-color-auto-btn:focus-visible { opacity: 1; }
.theme-reset-btn { margin-top: 4px; }
@media (max-width: 1300px) {
    .styles-mode-panel .theme-color-control { grid-template-columns: 42px minmax(0, 1fr); }
    .styles-mode-panel .theme-color-control .btn { grid-column: 1 / -1; justify-self: start; max-width: 100%; white-space: normal; }
}
@media (max-width: 1100px) {
    .theme-mode-grid { grid-template-columns: 1fr; }
    .styles-live-preview { position: static; }
}
@media (max-width: 560px) {
    .styles-mode-panel .theme-color-row { grid-template-columns: 1fr; }
    .styles-mode-panel .theme-color-control { grid-template-columns: 42px minmax(0, 1fr); }
    .styles-mode-panel .theme-color-control .btn { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 480px) { .theme-color-row { grid-template-columns: 1fr; gap: 5px; } }
@media print {
    html { color-scheme: light !important; }
    html, body, .app-main, .container, .card { background: #fff !important; color: #000 !important; }
}


.wallet-transactions-toolbar {
    padding-bottom: 12px;
    margin-bottom: 0;
}
.wallet-transactions-toolbar .wallet-transactions-subnav {
    margin-top: 10px;
}
.wallet-transactions-toolbar .wallet-transaction-actions{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    grid-auto-rows:minmax(36px,1fr);
    gap:10px;
    width:min(100%,820px);
    margin:8px 0 0 auto;
    align-items:stretch;
}
.wallet-transactions-toolbar .wallet-transaction-actions>.btn{
    width:100%;
    height:100%;
    min-width:0;
    white-space:normal;
}
.wallet-transactions-toolbar .page-context-actions{flex:0 0 min(460px,100%);flex-wrap:nowrap}
@media(max-width:760px){.wallet-transactions-toolbar .page-context-actions{flex:1 1 100%;flex-wrap:wrap}}
.wallet-transactions-toolbar .wallet-transactions-filters {
    margin-top: 10px;
    margin-bottom: 0;
    flex-wrap: wrap;
}
.wallet-transactions-toolbar .wallet-transactions-bulk-tools {
    padding:12px 0 0;
}
.wallet-transactions-toolbar .wallet-transactions-bulk-hint {
    margin-top:-4px;
    padding-inline:0;
}
@media (max-width:640px) {
    .wallet-transactions-toolbar .wallet-transaction-actions {
        display:grid;
        grid-template-columns:repeat(2,minmax(0,1fr));
        grid-auto-rows:minmax(44px,1fr);
        gap:10px;
        width:100%;
        margin-top:8px;
    }
    .wallet-transactions-toolbar .wallet-transaction-actions > .btn {
        grid-column:auto;
        grid-row:auto;
        width:100%;
        height:100%;
        min-width:0;
        max-width:100%;
        min-height:44px;
        white-space:normal;
    }
    .wallet-transactions-toolbar .wallet-transaction-actions > .btn:last-child:nth-child(odd){grid-column:1 / -1}
    .wallet-transactions-toolbar .wallet-transactions-subnav {
        justify-content:center;
    }
    .wallet-transactions-toolbar .wallet-transactions-bulk-tools {
        padding-inline:0 !important;
    }
    .wallet-transactions-toolbar .wallet-transactions-bulk-hint {
        padding-inline:0 !important;
        margin-top:-4px;
    }
    .wallet-transactions-toolbar .wallet-transactions-search-action {
        flex-basis:100% !important;
        width:100% !important;
    }
}
@media (max-width:350px) {
    .wallet-transactions-toolbar .wallet-transaction-actions {
        grid-template-columns:minmax(0,1fr);
    }
    .wallet-transactions-toolbar .wallet-transaction-actions > .btn:last-child:nth-child(odd){grid-column:auto}
}


.rm-calendar-picker {
    position: fixed;
    z-index: 100000;
    box-sizing: border-box;
    padding: 12px;
    color: var(--text-main);
    background: var(--surface-bg);
    border: 1px solid var(--table-border);
    border-radius: 4px;
    box-shadow: 0 14px 34px rgb(15 23 42 / 18%);
    font: inherit;
}
.rm-calendar-picker[hidden] { display: none !important; }
.rm-calendar-header,
.rm-calendar-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.rm-calendar-header { padding-bottom: 9px; border-bottom: 1px solid var(--table-border); }
.rm-calendar-header strong { color: var(--text-main); font: inherit; font-weight: 600; text-transform: capitalize; }
.rm-calendar-nav,
.rm-calendar-cell,
.rm-calendar-action {
    min-width: 0;
    height: 32px;
    padding: 4px 8px;
    color: var(--text-main) !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 3px;
    box-shadow: none !important;
    font: inherit;
    text-transform: none;
    outline: none !important;
    -webkit-tap-highlight-color: transparent;
}
.rm-calendar-nav { width: 34px; padding: 0; font-size: 22px; line-height: 1; }
.rm-calendar-cell:hover,
.rm-calendar-cell:focus-visible,
.rm-calendar-nav:hover,
.rm-calendar-nav:focus-visible,
.rm-calendar-action:hover,
.rm-calendar-action:focus-visible { color: var(--primary) !important; background: var(--primary-light) !important; }
.rm-calendar-cell.is-selected { color: var(--primary-contrast) !important; background: var(--primary) !important; }
.rm-calendar-months,
.rm-calendar-days { display: grid; gap: 4px; padding: 10px 0; }
.rm-calendar-months { grid-template-columns: repeat(4, minmax(0,1fr)); }
.rm-calendar-months .rm-calendar-cell {
    width:100%;
    white-space:nowrap;
    line-height:24px;
    text-align:center;
}
.rm-calendar-days { grid-template-columns: repeat(7, 1fr); }
.rm-calendar-weekday { padding: 4px 0; color: var(--text-muted); text-align: center; font-size: .78rem; }
.rm-calendar-days .rm-calendar-cell { width: 100%; padding-inline: 2px; }
.rm-calendar-footer { padding-top: 8px; border-top: 1px solid var(--table-border); }
.rm-calendar-action { color: var(--primary) !important; }
html[data-theme="dark"] .rm-calendar-picker {
    color: #fff;
    background: #17191c;
    border-color: #3f434a;
    box-shadow: 0 14px 34px rgb(0 0 0 / 42%);
}
html[data-theme="dark"] .rm-calendar-header { border-bottom-color: #777b82; }
html[data-theme="dark"] .rm-calendar-header strong,
html[data-theme="dark"] .rm-calendar-nav,
html[data-theme="dark"] .rm-calendar-cell,
html[data-theme="dark"] .rm-calendar-action { color: #fff !important; }
html[data-theme="dark"] .rm-calendar-cell:hover,
html[data-theme="dark"] .rm-calendar-cell:focus-visible,
html[data-theme="dark"] .rm-calendar-nav:hover,
html[data-theme="dark"] .rm-calendar-nav:focus-visible,
html[data-theme="dark"] .rm-calendar-action:hover,
html[data-theme="dark"] .rm-calendar-action:focus-visible,
html[data-theme="dark"] .rm-calendar-cell.is-selected {
    color: #17191c !important;
    background: #f2f3f5 !important;
}
html[data-theme="dark"] .rm-calendar-weekday { color: #c8cbd0; }
html[data-theme="dark"] .rm-calendar-footer { border-top-color: #3f434a; }
.brand-logo-dark { display: none; }
html[data-theme="dark"] .brand-logo-light { display: none; }
html[data-theme="dark"] .brand-logo-dark { display: block; }

.lang-strip {
    background: var(--surface-bg);
    color: var(--text-main);
    border-bottom: 0;
}
.lang-strip label { color: var(--text-muted); }

input[type="date"]::-webkit-calendar-picker-indicator,
input[type="month"]::-webkit-calendar-picker-indicator {
    pointer-events: none;
}


html[data-theme="dark"] table.data-table .btn-secondary,
html[data-theme="dark"] table.data-table a.btn-secondary,
html[data-theme="dark"] .data-table-wrap .btn-secondary,
html[data-theme="dark"] .data-table-wrap a.btn-secondary {
    color: #F2F3F5 !important;
    background: transparent !important;
    border-color: #AEB2B9 !important;
    opacity: 1;
}
html[data-theme="dark"] table.data-table .btn-secondary:hover,
html[data-theme="dark"] table.data-table a.btn-secondary:hover,
html[data-theme="dark"] table.data-table .btn-secondary:focus-visible,
html[data-theme="dark"] table.data-table a.btn-secondary:focus-visible,
html[data-theme="dark"] .data-table-wrap .btn-secondary:hover,
html[data-theme="dark"] .data-table-wrap a.btn-secondary:hover,
html[data-theme="dark"] .data-table-wrap .btn-secondary:focus-visible,
html[data-theme="dark"] .data-table-wrap a.btn-secondary:focus-visible {
    color: #1F1F21 !important;
    background: #F2F3F5 !important;
    border-color: #F2F3F5 !important;
}


@media (max-width: 900px) {
    html[data-theme="dark"] .mobile-nav-drawer,
    html[data-theme="dark"] .mobile-nav-header {
        background: var(--surface-bg) !important;
        color: var(--text-main) !important;
    }
    html[data-theme="dark"] .mobile-nav-header {
        border-bottom-color: var(--table-border);
    }
    html[data-theme="dark"] .mobile-nav-dashboard-link,
    html[data-theme="dark"] .mobile-nav-close {
        color: var(--text-main) !important;
    }
    html[data-theme="dark"] .mobile-nav-close:hover,
    html[data-theme="dark"] .mobile-nav-close:focus-visible,
    html[data-theme="dark"] .mobile-nav-dashboard-link:hover,
    html[data-theme="dark"] .mobile-nav-dashboard-link:focus-visible,
    html[data-theme="dark"] .mobile-nav-dashboard-link.is-active,
    html[data-theme="dark"] .mobile-nav-link:hover,
    html[data-theme="dark"] .mobile-nav-link.is-active {
        color: #1F1F21 !important;
        background: #F2F3F5 !important;
    }
    html[data-theme="dark"] .mobile-nav-dashboard-link:hover,
    html[data-theme="dark"] .mobile-nav-dashboard-link:focus-visible,
    html[data-theme="dark"] .mobile-nav-dashboard-link.is-active {
        background: transparent !important;
        color: var(--text-main) !important;
    }
    html[data-theme="dark"] .mobile-nav-close.is-touch-open-focus:focus {
        background: transparent !important;
        color: var(--text-main) !important;
    }
    html[data-theme="dark"] .mobile-nav-link:hover .mobile-nav-icon,
    html[data-theme="dark"] .mobile-nav-link.is-active .mobile-nav-icon {
        color: #1F1F21 !important;
        opacity: 1;
    }
    html[data-theme="dark"] .mobile-nav-group {
        border-bottom-color: var(--table-border);
    }
    html[data-theme="dark"] .mobile-nav-group h2 {
        color: var(--text-muted);
    }
}


html[data-theme="dark"] .settings-search-results a:hover,
html[data-theme="dark"] .settings-search-results a.is-highlighted {
    background: var(--raised-bg) !important;
    color: var(--text-main) !important;
}
html[data-theme="dark"] .settings-search-results a:hover .settings-search-result-title,
html[data-theme="dark"] .settings-search-results a.is-highlighted .settings-search-result-title {
    color: var(--text-main) !important;
}
html[data-theme="dark"] .settings-search-results a:hover .settings-search-result-tab,
html[data-theme="dark"] .settings-search-results a.is-highlighted .settings-search-result-tab {
    color: var(--text-muted) !important;
}
html[data-theme="dark"] .rjl-dsp-filter-option:hover {
    background: var(--raised-bg);
    color: var(--text-main);
}
html[data-theme="dark"] .checkbox-list label:hover {
    background: var(--primary-light);
    color: var(--primary) !important;
}
html[data-theme="dark"] .pagination-links a.page-link:hover {
    color: var(--text-main);
    border-color: var(--dark-action-accent);
}
html[data-theme="dark"] .pagination-links .page-link:not(.current) {
    color: var(--text-muted);
    background: var(--raised-bg);
    border-color: var(--table-border);
}
html[data-theme="dark"] .pagination-links a.page-link:not(.current):hover {
    color: var(--text-main);
    background: var(--primary-subtle);
    border-color: var(--dark-action-accent);
}
html[data-theme="dark"] .pagination-links .page-link.disabled {
    color: var(--text-muted);
    background: var(--surface-bg);
    opacity: .58;
}
html[data-theme="dark"] .export-column-item {
    background: var(--raised-bg);
    color: var(--text-main);
}


.enterprise-shell { display:grid; gap:0; min-width:0; width:100%; padding-inline:0; box-sizing:border-box; }
.enterprise-shell > * { min-width:0; max-width:100%; }
.enterprise-shell > :is(.card,form.card):not(.enterprise-hero){margin-bottom:8px;padding-bottom:8px}
.enterprise-shell > :is(.card,form.card):not(.enterprise-hero):not(:has(> :is(h2,h3))) > .hint-text:first-of-type{margin-top:0}
.enterprise-shell > .table-scroll,
.enterprise-shell .card > .table-scroll { width:100%; max-width:100%; overflow-x:auto; }
.enterprise-hero { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:14px 18px 10px; border-top:0; }
.enterprise-hero h2 { margin:3px 0 1px; display:flex; align-items:center; flex-wrap:wrap; gap:9px; }
.enterprise-hero .hint-text{margin:6px 0 0}
.enterprise-eyebrow { color:var(--catalog-accent); font-size:11px; font-weight:800; letter-spacing:.09em; text-transform:uppercase; }
.enterprise-main-badge{display:inline-flex;align-items:center;justify-content:center;min-width:58px;min-height:24px;padding:4px 11px;border:0;border-radius:999px;background:var(--primary);color:var(--primary-contrast);font-size:12px;font-weight:800;line-height:1;letter-spacing:.035em;text-transform:uppercase;white-space:nowrap}
html[data-theme="dark"] .enterprise-main-badge{background:#0369A1;color:#FFFFFF}
.enterprise-hero-status { color:var(--text-muted); font-size:12px; font-weight:400; line-height:1; text-transform:capitalize; white-space:nowrap; }
.enterprise-hero-status::before { content:"·"; margin-right:9px; color:var(--control-border); }
.enterprise-hero-status.is-blocked { color:var(--status-rejected-text, var(--alert-text)); }
.enterprise-target-picker { width:min(270px,100%); min-width:190px; }
.enterprise-target-picker>label { position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important; }
.enterprise-target-picker select { width:100%; }
.page-context-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}
.revenue-reports-toolbar{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;border-bottom:1px solid var(--border);margin-bottom:14px}
.revenue-reports-toolbar .revenue-reports-nav{flex:1 1 auto;min-width:0;margin-bottom:-1px;border-bottom:0}
.revenue-reports-toolbar .revenue-reports-enterprise-picker{flex:0 0 min(270px,30vw);margin-bottom:7px}
@media (max-width:760px){.revenue-reports-toolbar{align-items:stretch;flex-direction:column;gap:8px}.revenue-reports-toolbar .revenue-reports-nav{order:2;overflow-x:auto}.revenue-reports-toolbar .revenue-reports-enterprise-picker{order:1;flex-basis:auto;width:100%;margin:0}}
.page-context-heading>h2,.page-context-heading .page-context-copy h2{margin-top:0}
.page-context-copy{min-width:0;flex:1 1 auto}
.page-context-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap;min-width:0}
.entity-form-heading{align-items:flex-start;gap:16px}
.entity-form-heading>h2{margin:0;min-width:0}
.entity-form-heading .enterprise-context-value{max-width:min(46vw,360px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:right}
.entity-form-heading.entity-edit-heading{align-items:baseline}
.entity-edit-heading>h2{align-self:baseline}
.entity-edit-heading>.page-context-actions{align-items:baseline;align-self:baseline}
.entity-edit-heading .enterprise-target-picker:not(.rm-create-enterprise-helper-source){display:flex;align-items:baseline}
.entity-edit-heading .enterprise-context-value{display:block;line-height:1.35}
.page-context-actions .enterprise-target-picker{flex:0 1 270px}
.wallet-user-target-picker{width:min(300px,100%)}
.wallet-overview-heading .page-context-actions{flex:1 1 auto;flex-wrap:nowrap}
.wallet-overview-heading .enterprise-target-picker{flex:0 1 220px;min-width:160px}
.wallet-overview-heading .wallet-user-target-picker{flex-basis:270px}

.catalog-view-toggles{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex:0 0 auto;min-width:max-content}
@media(min-width:761px){.catalog-list-heading .page-context-actions{flex-wrap:nowrap;flex:1 1 auto;margin-left:auto;justify-content:flex-end}.catalog-list-heading .enterprise-target-picker{flex:0 1 clamp(190px,20vw,240px);width:clamp(190px,20vw,240px);margin-left:0}.catalog-list-heading .catalog-view-toggles{flex:0 0 auto}}
.page-context-heading>h2{font-weight:400}
.enterprise-target-picker:not(.rm-list-enterprise-helper) > .rm-searchable-select-shell,
.enterprise-target-picker:not(.rm-list-enterprise-helper) > select{width:min(var(--enterprise-context-control-width),100%);max-width:100%;margin-inline:auto}
@media(min-width:761px){
    .page-context-actions .enterprise-target-picker:not(.rm-list-enterprise-helper) > :is(.rm-searchable-select-shell,select){margin-left:auto;margin-right:0}
}
.enterprise-target-picker .rm-searchable-select-trigger{height:36px;min-height:36px;max-height:36px;border:0;border-bottom:1px solid var(--control-border);border-radius:0;background-color:transparent;background-position:right 5px center;padding-inline:28px;box-shadow:none;font-size:16px;font-weight:400;justify-content:center;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.enterprise-target-picker .rm-searchable-select-trigger::after{right:5px}
.enterprise-target-picker .rm-searchable-select-trigger:hover,.enterprise-target-picker .rm-searchable-select-trigger:focus-visible,.enterprise-target-picker .rm-searchable-select-shell.is-open .rm-searchable-select-trigger{border-bottom-color:color-mix(in srgb,var(--control-border) 45%,var(--text-main));background-color:transparent;box-shadow:none}
.enterprise-tabs { margin:0; overflow-x:auto; scrollbar-width:thin; }
.enterprise-tabs a { white-space:nowrap; }
.enterprise-settings-sticky-wrap{margin-bottom:8px}
.enterprise-settings-sticky-wrap .enterprise-tabs{margin:0}
.enterprise-sticky-context-row{display:flex;align-items:flex-end;gap:18px;min-width:0}
.enterprise-sticky-context-row .enterprise-tabs{flex:1 1 auto;min-width:0}
.enterprise-sticky-context-row .enterprise-target-picker{flex:0 1 270px;margin-left:auto}
html .rm-searchable-select-popup.rm-modal-dropdown-layer {
    position:fixed !important;
    inset:auto !important;
    left:var(--rm-popup-left,8px) !important;
    top:var(--rm-popup-top,8px) !important;
    width:var(--rm-popup-width,240px) !important;
    max-width:calc(100vw - 16px) !important;
    max-height:var(--rm-popup-height,380px) !important;
    min-width:0 !important;
    margin:0 !important;
    transform:none !important;
    overflow:hidden;
    display:flex;
    flex-direction:column;
    box-sizing:border-box;
}
.rm-modal-dropdown-layer > .rm-searchable-select-search { flex:0 0 auto; }
html .rm-modal-dropdown-layer > .rm-searchable-select-options { min-height:0; flex:0 1 auto; }
.rm-modal-dropdown-layer::backdrop { background:transparent; pointer-events:none; }
#enterpriseMixedSourceModal .form-actions { display:flex; flex-wrap:nowrap; }
@media(max-width:640px){
    #enterpriseMixedSourceModal .form-actions { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
    #enterpriseMixedSourceModal .form-actions>button { width:100%; min-width:0; padding-inline:6px; white-space:normal; }
}
.enterprise-search-actions-row{display:grid;grid-template-columns:minmax(0,520px) minmax(0,1fr);align-items:center;gap:24px;padding:12px 0 0}
.enterprise-search-actions-row .settings-search-bar{min-width:0;padding:0}
.enterprise-search-actions-row .enterprise-tab-tools{justify-self:end;margin:0}
.enterprise-search-actions-row .enterprise-tab-tools>button{min-height:36px}
@media(max-width:640px){.enterprise-shell > :is(.card,form.card):not(.enterprise-hero){padding-top:8px;padding-bottom:8px}.enterprise-search-actions-row{grid-template-columns:minmax(0,1fr);gap:8px;padding:10px 0 0}.enterprise-search-actions-row .enterprise-tab-tools{justify-self:stretch}.enterprise-search-actions-row .enterprise-tab-tools,.enterprise-search-actions-row .enterprise-tab-tools>button{width:100%}.enterprise-search-actions-row .enterprise-tab-tools>button{min-height:44px}}
.trusted-domain-add-grid{display:grid;grid-template-columns:minmax(220px,1.2fr) minmax(220px,1fr) auto auto;align-items:end;gap:14px}
.trusted-domains-card{padding-right:var(--card-padding,24px)}
.trusted-domain-field{display:grid;gap:7px;min-width:0}
.trusted-domain-field>input,
.trusted-domain-edit-form>input,
.trusted-domain-field>.rm-searchable-select-shell>.rm-searchable-select-trigger{
    width:100%;
    min-height:40px;
    padding:8px 28px 8px 2px;
    border:0;
    border-bottom:1px solid var(--control-underline);
    border-radius:0;
    background-color:var(--input-bg,var(--raised-bg));
    box-shadow:none;
    color:var(--text-main,var(--ink));
}
.trusted-domain-field>input,
.trusted-domain-edit-form>input{padding-right:2px;background-color:transparent}
.trusted-domain-field>.rm-searchable-select-shell>.rm-searchable-select-trigger{background-position:right 2px center}
.trusted-domain-field>input:hover,
.trusted-domain-edit-form>input:hover,
.trusted-domain-field>.rm-searchable-select-shell>.rm-searchable-select-trigger:hover{border-bottom-color:var(--primary);background-color:var(--input-bg,var(--raised-bg))}
.trusted-domain-field>input:focus,
.trusted-domain-edit-form>input:focus,
.trusted-domain-field>.rm-searchable-select-shell>.rm-searchable-select-trigger:focus-visible,
.trusted-domain-field>.rm-searchable-select-shell.is-open>.rm-searchable-select-trigger{outline:0;border-bottom-color:var(--primary);background-color:var(--input-bg,var(--raised-bg));box-shadow:inset 0 -1px 0 var(--primary)}
.trusted-domain-field>input:hover,
.trusted-domain-edit-form>input:hover,
.trusted-domain-field>input:focus,
.trusted-domain-edit-form>input:focus{background-color:transparent}
.trusted-domain-field .rm-searchable-select-search{
    width:100%;
    margin:0 0 8px;
    padding:7px 4px;
    border:0!important;
    border-bottom:1px solid var(--control-underline)!important;
    border-radius:0!important;
    outline:0!important;
    background-color:transparent!important;
    color:var(--text-main)!important;
    box-shadow:none!important;
    font-style:normal;
}
.trusted-domain-field .rm-searchable-select-search:focus{border-bottom-color:var(--primary)!important;box-shadow:inset 0 -1px 0 var(--primary)!important}
html[data-theme="dark"] .trusted-domain-field>input,
html[data-theme="dark"] .trusted-domain-edit-form>input{background-color:transparent!important}
html[data-theme="dark"] .trusted-domain-field>.rm-searchable-select-shell>.rm-searchable-select-trigger{background-color:var(--input-bg,var(--raised-bg))!important}
.trusted-domain-add-grid .check-row{align-self:center;margin:22px 0 0;white-space:nowrap}
.trusted-domain-add-grid>button{min-height:40px;white-space:nowrap}
.trusted-domain-edit-form{display:flex;align-items:center;gap:8px;min-width:260px}
.trusted-domain-edit-form input{min-width:180px;flex:1}
.trusted-domain-edit-form button{flex:none;white-space:nowrap}
@media(max-width:900px){.trusted-domain-add-grid{grid-template-columns:1fr 1fr}.trusted-domain-add-grid .check-row{margin-top:0}}
@media(max-width:640px){.trusted-domains-card{padding-right:var(--card-padding,16px)}.trusted-domain-add-grid{grid-template-columns:1fr}.trusted-domain-add-grid .check-row{margin-top:0}.trusted-domain-add-grid>button{width:100%}.trusted-domain-edit-form{min-width:240px}}
.enterprise-stat-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.enterprise-stat-card { min-height:116px; padding:18px; border:1px solid var(--table-border); border-radius:10px; background:var(--surface-bg); color:var(--text-main); text-decoration:none; display:flex; flex-direction:column; justify-content:center; gap:5px; transition:border-color .16s ease,transform .16s ease,background .16s ease; }
.enterprise-stat-card:hover,.enterprise-stat-card:focus-visible { border-color:var(--primary); background:var(--primary-subtle); transform:translateY(-1px); }
.enterprise-stat-card span,.enterprise-stat-card small { color:var(--text-muted); }
.enterprise-stat-card strong { font-size:30px; line-height:1; }
.enterprise-overview-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.enterprise-overview-grid > * { min-height:116px; }
.enterprise-overview-card { margin:0; padding:18px; border:1px solid var(--table-border); border-radius:10px; background:var(--surface-bg); color:var(--text-main); display:flex; flex-direction:column; justify-content:center; }
html:not([data-theme="dark"]) .enterprise-overview-grid > :is(.enterprise-stat-card,.enterprise-overview-card),
html:not([data-theme="dark"]) .enterprise-dsp-card {
    background:color-mix(in srgb,var(--primary) 3%,var(--surface-bg));
}
.enterprise-profile-item dt { color:var(--text-muted); font-size:12px; }
.enterprise-profile-item dd { margin:7px 0 0; overflow-wrap:anywhere; }
.enterprise-profile-item dd code { font-weight:400; }
.enterprise-identity-form .form-row{max-width:720px}
.enterprise-identity-form .form-row>input{width:100%}
.enterprise-dsp-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(220px,1fr)); gap:12px; margin:14px 0 18px; }
.enterprise-dsp-card { min-width:0; display:flex; align-items:center; gap:11px; padding:12px 13px; border:1px solid color-mix(in srgb,var(--table-border) 82%,transparent); border-radius:12px; background:color-mix(in srgb,var(--raised-bg) 90%,var(--surface-bg)); color:var(--text-main); box-shadow:0 2px 10px color-mix(in srgb,#000 5%,transparent); transition:border-color .15s ease,box-shadow .15s ease,transform .15s ease,background-color .15s ease; -webkit-tap-highlight-color:transparent; touch-action:manipulation; }

.form-row label.enterprise-dsp-card { display:flex; margin-bottom:0; font-weight:400; }
.enterprise-dsp-card.is-connected { border-color:color-mix(in srgb,var(--primary) 30%,var(--table-border)); }
.enterprise-dsp-card:hover { border-color:color-mix(in srgb,var(--primary) 72%,var(--table-border)); background:color-mix(in srgb,var(--primary) 4%,var(--raised-bg)); box-shadow:0 10px 24px color-mix(in srgb,#000 12%,transparent); transform:translateY(-1px); }
.enterprise-dsp-card:active{transform:translateY(0);background:color-mix(in srgb,var(--primary) 9%,var(--raised-bg));box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--dsp-accent) 20%,transparent)}
.enterprise-dsp-card>.enterprise-dsp-identity-text { min-width:0; display:flex; flex:1 1 auto; flex-direction:column; gap:3px; }
.enterprise-dsp-card strong { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-weight:700; line-height:1.25; }
.enterprise-dsp-card small { color:var(--text-muted); }
.enterprise-dsp-card.is-connected>.enterprise-dsp-identity-text>small{display:flex;align-items:center;gap:6px}
.enterprise-dsp-card.is-connected>.enterprise-dsp-identity-text>small::before{content:"";flex:0 0 6px;width:6px;height:6px;border-radius:50%;background:var(--dsp-accent);box-shadow:0 0 8px color-mix(in srgb,var(--dsp-accent) 28%,transparent)}
.enterprise-dsp-card:not(:has(.rm-switch)){cursor:default}
.dsp-logo-mark{position:relative;isolation:isolate;display:grid!important;place-items:center;flex:0 0 46px;width:46px;height:46px;min-width:46px!important;overflow:visible;border:0;border-radius:12px;background:transparent;color:var(--primary)}
.dsp-logo-mark>img{position:absolute;inset:0;z-index:1;display:block;box-sizing:border-box;width:100%;height:100%;max-width:100%;max-height:100%;padding:2px;object-fit:contain;object-position:center}
.dsp-logo-mark.album-dsp-card-logo,.dsp-logo-mark.smart-link-logo-choice-mark{flex:0 0 42px!important;width:42px!important;height:42px!important;min-width:42px!important}
.dsp-logo-mark__image--dark{display:none!important}
html[data-theme="dark"] .dsp-logo-mark__image--light{display:none!important}
html[data-theme="dark"] .dsp-logo-mark__image--dark{display:block!important}
.dsp-logo-mark__fallback{position:absolute;inset:0;z-index:0;display:none!important;place-items:center;color:var(--text-muted)}
.dsp-logo-mark.is-fallback{overflow:hidden;background:var(--surface-soft)}
.dsp-logo-mark.is-fallback>img{display:none!important}
.dsp-logo-mark.is-fallback .dsp-logo-mark__fallback{position:static;display:grid!important}
.enterprise-all-dsp-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr))}
.enterprise-all-dsp-card{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:9px 8px;min-height:124px;padding:13px;border-radius:13px;box-shadow:0 2px 10px color-mix(in srgb,#000 6%,transparent);transition:border-color .15s ease,box-shadow .15s ease,transform .15s ease,background-color .15s ease}
html[data-theme="dark"] .enterprise-dsp-card{border-color:color-mix(in srgb,var(--table-border) 82%,transparent);background:#091218;box-shadow:inset 0 1px 0 color-mix(in srgb,var(--text-main) 4%,transparent),0 8px 24px color-mix(in srgb,#000 18%,transparent)}
html[data-theme="dark"] .enterprise-dsp-card.is-connected{border-color:color-mix(in srgb,var(--dsp-accent) 38%,var(--table-border))}
html[data-theme="dark"] .enterprise-dsp-card:hover{border-color:var(--dsp-accent);background:color-mix(in srgb,var(--dsp-accent) 7%,var(--raised-bg));box-shadow:inset 0 1px 0 color-mix(in srgb,var(--text-main) 6%,transparent),0 12px 28px color-mix(in srgb,#000 24%,transparent)}
.enterprise-all-dsp-card:focus-within{border-color:color-mix(in srgb,var(--primary) 68%,var(--table-border));box-shadow:0 0 0 2px color-mix(in srgb,var(--primary) 14%,transparent)}
:is(.enterprise-all-dsp-card,.album-dsp-search-status)>.rm-searchable-select-shell{grid-column:1/-1;width:100%;min-width:0;margin:1px 0 0}
:is(.enterprise-all-dsp-card,.album-dsp-search-status)>.rm-searchable-select-shell>.rm-searchable-select-trigger{width:100%;min-width:0;min-height:40px;padding:8px 36px;border:1px solid color-mix(in srgb,var(--control-border) 64%,var(--table-border));border-radius:9px;background-color:color-mix(in srgb,var(--raised-bg) 92%,var(--surface-soft));background-position:right 13px center;color:var(--text-main);box-shadow:inset 0 1px 0 color-mix(in srgb,var(--text-main) 3%,transparent);cursor:pointer;justify-content:center;text-align:center;transition:border-color .15s ease,background-color .15s ease,box-shadow .15s ease}
:is(.enterprise-all-dsp-card,.album-dsp-search-status)>.rm-searchable-select-shell>.rm-searchable-select-trigger:hover{border-color:color-mix(in srgb,var(--dsp-accent) 72%,var(--control-border));background-color:color-mix(in srgb,var(--dsp-accent) 6%,var(--raised-bg))}
:is(.enterprise-all-dsp-card,.album-dsp-search-status)>.rm-searchable-select-shell>.rm-searchable-select-trigger:focus-visible,:is(.enterprise-all-dsp-card,.album-dsp-search-status)>.rm-searchable-select-shell.is-open>.rm-searchable-select-trigger{border-color:var(--dsp-accent);background-color:color-mix(in srgb,var(--dsp-accent) 8%,var(--raised-bg));outline:2px solid color-mix(in srgb,var(--dsp-accent) 28%,transparent);outline-offset:2px;box-shadow:none}
:is(.enterprise-all-dsp-card,.album-dsp-search-status)>.rm-searchable-select-shell>.rm-searchable-select-popup{left:0;width:100%;min-width:0;max-width:none;padding:6px}
:is(.enterprise-all-dsp-card,.album-dsp-search-status)>.rm-searchable-select-shell .rm-searchable-select-option{text-align:center}
.enterprise-all-dsp-identity{grid-column:1;align-self:center;display:flex!important;align-items:center;gap:12px!important;min-width:0}.enterprise-all-dsp-identity>.enterprise-dsp-identity-text{display:flex;min-width:0;flex:1 1 auto;flex-direction:column;gap:7px}.enterprise-all-dsp-identity strong{font-size:14px;line-height:1.35}.enterprise-dsp-identity-meta{display:flex;align-items:center;gap:7px;min-width:0}.enterprise-dsp-identity-meta>.status-badge{width:auto;min-width:0;padding:3px 9px;font-size:11px}.enterprise-all-dsp-identity small{font-size:11px}.enterprise-dsp-private-icon{display:inline-grid;place-items:center;flex:0 0 24px;width:24px;height:24px;margin-left:auto;align-self:center;border:1px solid color-mix(in srgb,var(--text-muted) 26%,transparent);border-radius:50%;background:color-mix(in srgb,var(--text-muted) 8%,var(--raised-bg));color:var(--text-muted)}.enterprise-dsp-private-icon svg{width:13px;height:13px}.enterprise-all-dsp-card[data-connection-state="mixed"] .status-warning{border-color:#d7c7ff;background:#f1ebff;color:#6741b5}html[data-theme="dark"] .enterprise-all-dsp-card[data-connection-state="mixed"] .status-warning{border-color:#785fb5;background:#32284b;color:#e4d8ff}
.enterprise-dsp-detail-trigger{position:relative;display:inline-grid!important;place-items:center;width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;padding:0!important;border:0!important;border-radius:11px!important;background:transparent!important;color:var(--primary)!important;box-shadow:none!important;font-family:inherit!important;font-size:13px!important;font-weight:700!important;line-height:1!important;text-transform:none!important;-webkit-tap-highlight-color:transparent;touch-action:manipulation}
.enterprise-dsp-detail-trigger>svg{width:22px;height:22px;filter:drop-shadow(0 0 5px color-mix(in srgb,var(--primary) 26%,transparent));pointer-events:none}
.enterprise-dsp-detail-trigger:hover,.enterprise-dsp-detail-trigger:focus-visible{background:color-mix(in srgb,var(--primary) 13%,var(--raised-bg))!important;color:var(--primary)!important;outline:2px solid color-mix(in srgb,var(--primary) 30%,transparent);outline-offset:2px;box-shadow:0 5px 14px color-mix(in srgb,var(--primary) 18%,transparent)!important}
.enterprise-dsp-detail-trigger:active{transform:scale(.94);background:color-mix(in srgb,var(--primary) 20%,var(--raised-bg))!important}
html[data-theme="dark"] .enterprise-dsp-detail-trigger{color:var(--dsp-accent)!important;background:transparent!important}
html[data-theme="dark"] .enterprise-dsp-detail-trigger:is(:hover,:focus-visible){color:var(--dsp-accent)!important;background:color-mix(in srgb,var(--primary) 22%,var(--raised-bg))!important;outline-color:color-mix(in srgb,var(--dsp-accent) 38%,transparent);box-shadow:0 5px 16px color-mix(in srgb,#000 32%,transparent)!important}
html[data-theme="dark"] .enterprise-dsp-card input[type=checkbox].rm-switch:checked,
.enterprise-dsp-card input[type=checkbox].rm-switch:checked{background:var(--dsp-accent)}
.enterprise-dsp-card input[type=checkbox].rm-switch:focus-visible{outline-color:var(--dsp-accent)}
html[data-theme="dark"] .album-dsp-card input[type=checkbox]:not(.rm-switch):checked,
html[data-theme="dark"] .album-dsp-card input[type=checkbox]:not(.rm-switch):disabled:checked{border-color:var(--dsp-accent);background-color:var(--dsp-accent);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.2 8.2 6.4 11.2 12.8 4.8' fill='none' stroke='%2307131F' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
html[data-theme="dark"] .album-dsp-modal-actions>.btn,
html[data-theme="dark"] :is(.enterprise-all-dsps,#enterpriseDspsForm)>button[type=submit]{border-color:var(--dsp-accent)!important;background:var(--dsp-accent)!important;color:var(--primary-contrast,#fff)!important;box-shadow:0 8px 20px color-mix(in srgb,var(--dsp-accent) 18%,transparent)!important}
html[data-theme="dark"] .album-dsp-modal-actions>.btn:is(:hover,:focus-visible),
html[data-theme="dark"] :is(.enterprise-all-dsps,#enterpriseDspsForm)>button[type=submit]:is(:hover,:focus-visible){filter:brightness(1.08);outline-color:var(--dsp-accent)!important}
.album-dsp-modal-actions>.btn-danger{border-color:var(--status-rejected-bg,#B0172E)!important;background:var(--status-rejected-bg,#B0172E)!important;color:var(--status-rejected-text,#fff)!important}
.album-dsp-modal-actions>.btn-danger:is(:hover,:focus-visible){border-color:color-mix(in srgb,var(--status-rejected-bg,#B0172E) 82%,#000)!important;background:color-mix(in srgb,var(--status-rejected-bg,#B0172E) 88%,#000)!important;color:var(--status-rejected-text,#fff)!important;outline:2px solid color-mix(in srgb,var(--status-rejected-bg,#B0172E) 42%,transparent)!important;outline-offset:2px}
html[data-theme="dark"] .album-dsp-selection-modal-box>.modal-close:focus-visible{border-color:var(--dsp-accent)!important;outline:2px solid var(--dsp-accent)!important;outline-offset:2px}
.enterprise-dsp-detail-trigger::after{content:attr(data-tooltip);position:absolute;z-index:1200;right:-6px;bottom:calc(100% + 9px);width:max-content;max-width:min(300px,80vw);padding:7px 9px;border:1px solid var(--border);border-radius:6px;background:var(--surface-bg);color:var(--text-main);box-shadow:0 8px 24px rgba(0,0,0,.18);font-size:12px;font-weight:400;line-height:1.35;white-space:normal;pointer-events:none;opacity:0;transform:translateY(3px);transition:opacity .15s ease,transform .15s ease}
.enterprise-dsp-detail-trigger:hover::after,.enterprise-dsp-detail-trigger:focus-visible::after{opacity:1;transform:translateY(0)}
.enterprise-dsp-detail-trigger.is-pointer-return::after{display:none!important}
.enterprise-dsp-connection-modal{width:min(680px,calc(100vw - 32px))}
.enterprise-dsp-connection-modal{border-color:color-mix(in srgb,var(--control-border) 78%,transparent);box-shadow:0 24px 68px color-mix(in srgb,#000 30%,transparent)}
.enterprise-dsp-detail-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;padding-right:40px}.enterprise-dsp-detail-heading>h3{min-width:0;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.enterprise-dsp-detail-logo{display:grid;place-items:center;flex:0 0 52px;width:52px;height:52px}.enterprise-dsp-detail-logo>.enterprise-dsp-logo{width:52px;height:52px;min-width:52px}
.enterprise-dsp-connection-modal :is(input,select):focus{border-color:var(--dsp-accent)!important;outline:2px solid color-mix(in srgb,var(--dsp-accent) 26%,transparent)!important;outline-offset:2px}
.enterprise-dsp-connection-modal .modal-close:focus-visible{border-color:var(--dsp-accent)!important;outline:2px solid var(--dsp-accent)!important;outline-offset:2px}
.enterprise-dsp-detail-tools{display:grid;grid-template-columns:minmax(0,2fr) minmax(160px,1fr);gap:14px;margin-top:16px}.enterprise-dsp-detail-tools .form-row{margin:0}.enterprise-dsp-detail-tools input[type="search"]{min-height:40px;padding:8px 14px;border:1px solid var(--control-border);border-radius:999px;background:var(--input-bg,var(--raised-bg));color:var(--text-main);box-shadow:none}.enterprise-dsp-detail-tools select{min-height:40px;padding:8px 36px 8px 14px;border:1px solid var(--control-border)!important;border-radius:999px;background-color:var(--input-bg,var(--raised-bg));background-position:right 14px center;color:var(--text-main);box-shadow:none}.enterprise-dsp-detail-tools select:hover{border-color:color-mix(in srgb,var(--dsp-accent) 55%,var(--control-border))!important;background-color:color-mix(in srgb,var(--dsp-accent) 4%,var(--input-bg,var(--raised-bg)))}
.enterprise-dsp-detail-results{max-height:min(46vh,420px);margin:16px 0 10px;padding:0;overflow:auto;border-block:1px solid var(--table-border);list-style:none}
.enterprise-dsp-connection-modal :is(.enterprise-dsp-detail-heading,#enterpriseDspConnectionModalSummary,.enterprise-dsp-detail-results){transition:opacity .16s ease,transform .16s ease}.enterprise-dsp-connection-modal.is-record-switching :is(.enterprise-dsp-detail-heading,#enterpriseDspConnectionModalSummary,.enterprise-dsp-detail-results){opacity:.58;transform:translateX(4px)}.enterprise-dsp-connection-modal.is-record-switching[data-switch-direction="previous"] :is(.enterprise-dsp-detail-heading,#enterpriseDspConnectionModalSummary,.enterprise-dsp-detail-results){transform:translateX(-4px)}
.enterprise-dsp-detail-results li{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:48px;padding:9px 4px;border-bottom:1px solid color-mix(in srgb,var(--table-border) 68%,transparent);color:var(--text-main)}
.enterprise-dsp-detail-state{width:104px;flex:0 0 104px;justify-content:center}
.enterprise-dsp-detail-state.status-active{--status-active-bg:var(--dsp-connected-bg);--status-active-text:var(--dsp-connected-text)}
.enterprise-dsp-detail-state.status-disabled{--status-rejected-bg:var(--dsp-not-connected-bg);--status-rejected-text:var(--dsp-not-connected-text)}
.enterprise-dsp-detail-results li:last-child{border-bottom:0}.enterprise-dsp-detail-results li>span:first-child{min-width:0;overflow-wrap:anywhere}.enterprise-dsp-detail-results li.is-empty{justify-content:center;color:var(--text-muted)}
.style-preset-enterprise-modal { width:min(760px,calc(100vw - 32px)); max-height:min(760px,calc(100vh - 32px)); }
.style-preset-enterprise-tools { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:end; gap:12px; margin-top:14px; }
.style-preset-enterprise-tools .form-row { margin:0; }
.style-preset-enterprise-tools :is(input[type="search"],button) { min-height:44px; }
.style-preset-enterprise-tools input[type="search"]:focus { border-color:var(--primary); outline:2px solid color-mix(in srgb,var(--primary) 24%,transparent); outline-offset:2px; }
.style-preset-enterprise-table-wrap { min-height:180px; max-height:min(48vh,420px); overflow:auto; border:1px solid var(--table-border); border-radius:8px; transition:opacity .16s ease,transform .16s ease; }
.style-preset-enterprise-table { width:100%; table-layout:fixed; }
.style-preset-enterprise-table th:nth-child(1) { width:52px; }
.style-preset-enterprise-table th:nth-child(2) { width:104px; }
.style-preset-enterprise-table th:nth-child(4) { width:128px; text-align:center; }
.style-preset-enterprise-table td:nth-child(4) { text-align:center; }
.style-preset-enterprise-pagination { display:flex; align-items:center; justify-content:center; gap:12px; }
.style-preset-enterprise-pagination > button { width:120px; min-width:120px; }
.style-preset-enterprise-pagination > span { min-width:56px; text-align:center; }
.style-preset-enterprise-footer { justify-content:center; }
#stylePresetEnterpriseModal.is-page-switching .style-preset-enterprise-table-wrap{opacity:.58;transform:translateX(4px)}
@media (max-width:640px){.style-preset-enterprise-modal{width:calc(100vw - 20px);max-height:calc(100vh - 20px)}.style-preset-enterprise-tools{grid-template-columns:1fr}.style-preset-enterprise-tools>button{width:100%}.style-preset-enterprise-table th:nth-child(2){width:82px}.style-preset-enterprise-table th:nth-child(4){width:104px}.style-preset-enterprise-pagination>button{width:auto;min-width:0;flex:1}}
@media (prefers-reduced-motion: reduce){.enterprise-dsp-connection-modal :is(.enterprise-dsp-detail-heading,#enterpriseDspConnectionModalSummary,.enterprise-dsp-detail-results),#stylePresetEnterpriseModal .table-scroll{transition:none!important;transform:none!important}}
.enterprise-dsp-result-pagination{display:flex;align-items:center;justify-content:flex-end;gap:7px;margin:-3px 0 8px}.enterprise-dsp-result-pagination button{width:34px;min-width:34px;height:34px;min-height:34px;padding:0}.enterprise-dsp-result-pagination span{min-width:48px;text-align:center;color:var(--text-muted);font-size:12px}.enterprise-dsp-detail-pagination{display:flex;align-items:center;justify-content:center;gap:12px}.enterprise-dsp-detail-pagination button{min-width:96px}.enterprise-dsp-detail-pagination span{min-width:56px;text-align:center;color:var(--text-muted)}.enterprise-dsp-connection-modal>.form-actions{justify-content:center}.enterprise-dsp-connection-modal>.form-actions>button{min-width:120px}
.dsp-logo-library>h3{margin:24px 0 10px}.dsp-logo-library-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:12px;margin:12px 0 22px}.dsp-logo-library-item{display:grid;grid-template-columns:48px minmax(0,1fr) auto;grid-template-rows:auto auto;align-items:center;gap:5px 11px;min-width:0;min-height:76px;padding:12px;border:1px solid var(--table-border);border-radius:9px;background:var(--raised-bg)}.dsp-logo-library-item>.dsp-logo-mark{grid-row:1/3}.dsp-logo-library-item>strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dsp-logo-library-item>.status-badge{justify-self:end;white-space:nowrap}.dsp-logo-library-item>small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--text-muted)}.dsp-logo-library-item>form{grid-column:3;grid-row:2}.dsp-logo-library-item.is-archived{opacity:.72}.dsp-logo-upload-form{margin:10px 0 20px;padding:14px;border:1px solid var(--table-border);border-radius:9px;background:var(--surface-soft)}
.dsp-list-identity-cell{width:28%;min-width:210px}.dsp-list-name{display:flex;align-items:center;gap:10px;min-width:0}.dsp-list-name>span:last-child{min-width:0}.dsp-list-identity-copy{display:grid;gap:5px;min-width:0}.dsp-list-visible-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dsp-list-mobile-meta{display:none}.dsp-list-logo{width:38px;height:38px;min-width:38px!important;flex-basis:38px;border-radius:10px}
@media(max-width:640px){
    .dsp-list-table.rm-mobile-card-table tbody>tr{width:100%;min-height:0;margin-bottom:10px}
    .dsp-list-table.rm-mobile-card-table .dsp-list-identity-cell{display:block!important;width:100%!important;min-width:0!important;padding:12px!important}
    .dsp-list-table.rm-mobile-card-table .dsp-list-identity-cell::before{display:none}
    .dsp-list-table.rm-mobile-card-table .dsp-list-name{align-items:center;width:100%}
    .dsp-list-table.rm-mobile-card-table .dsp-list-logo{width:46px;height:46px;min-width:46px!important;flex-basis:46px}
    .dsp-list-table.rm-mobile-card-table .dsp-list-visible-name{font-weight:600;line-height:1.3}
    .dsp-list-table.rm-mobile-card-table .dsp-list-mobile-meta{display:flex;align-items:center;gap:6px;flex-wrap:wrap;color:var(--text-muted);font-size:11px}
    .dsp-list-table.rm-mobile-card-table .dsp-list-mobile-meta .status-badge{width:auto;min-width:0;padding:3px 8px;font-size:11px}
    .dsp-list-table.rm-mobile-card-table :is(.dsp-list-code-cell,.dsp-list-status-cell,.dsp-list-property-cell){display:none!important}
    .dsp-list-table.rm-mobile-card-table .dsp-list-actions-cell{display:block!important;width:100%!important;padding:9px 10px 10px!important}
    .dsp-list-table.rm-mobile-card-table .dsp-list-actions-cell::before{display:none}
    table.data-table.dsp-list-table.rm-mobile-card-table td>.row-actions.dsp-list-actions{--dsp-list-action-width:auto;grid-template-columns:repeat(2,minmax(0,1fr));width:100%!important;gap:7px}
    .dsp-list-table.rm-mobile-card-table .dsp-list-actions :is(button,.btn){min-height:44px}
}
.enterprise-dsp-available-title { margin:24px 0 0; }
.enterprise-create-card { max-width:860px; margin:0 auto; padding:26px; }
.enterprise-create-identity-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 22px; }
.enterprise-create-identity-grid .form-row { min-width:0; }
.enterprise-create-identity-grid input { width:100%; max-width:none; }
.enterprise-storage-input{display:flex;align-items:stretch;max-width:520px;border-bottom:1px solid var(--control-border)}
.enterprise-storage-input>span{display:flex;align-items:center;padding:0 0 0 2px;color:var(--text-muted);white-space:nowrap}
.enterprise-storage-input>input{min-width:0;flex:1;border:0!important;border-radius:0!important;padding-left:0!important;background:transparent!important}
.enterprise-storage-input:focus-within{border-bottom-color:var(--primary)}
.enterprise-cloneable-field{display:flex;align-items:flex-end;gap:8px;min-width:0}
.enterprise-create-card .enterprise-cloneable-field>input:not([type="hidden"]){flex:1 1 auto;width:100%;max-width:none;min-width:0;border:0!important;border-bottom:1px solid var(--control-border)!important;border-radius:0!important;background-color:transparent!important;box-shadow:none;padding-inline:2px;color:var(--text-main)}
.enterprise-create-card .enterprise-cloneable-field>input:not([type="hidden"]):hover,.enterprise-create-card .enterprise-cloneable-field>input:not([type="hidden"]):focus{border-bottom-color:var(--primary)!important;outline:0;box-shadow:inset 0 -1px 0 var(--primary)}
.enterprise-cloneable-field>.btn-small{flex:0 0 auto;white-space:nowrap;margin-bottom:1px}
.enterprise-cloneable-field.is-editor{align-items:flex-start}
.enterprise-cloneable-field.is-editor>.rich-signature-editor{flex:1 1 auto;min-width:0;max-width:none}
.enterprise-email-copy-modal-box{width:min(560px,calc(100vw - 32px))}
.enterprise-email-copy-preview{min-height:48px;padding:11px 12px;border:1px solid var(--table-border);border-radius:8px;background:var(--surface-soft);color:var(--text-main);overflow-wrap:anywhere}
.enterprise-email-copy-preview.is-rich-signature{max-height:220px;overflow:auto}
.enterprise-email-copy-preview.is-rich-signature img{max-width:100%;height:auto}
.enterprise-copy-settings-modal{width:min(620px,calc(100vw - 32px))}
.enterprise-copy-parts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 18px;margin:16px 0;padding:14px;border:1px solid var(--table-border);border-radius:10px}
.enterprise-copy-parts legend{padding:0 6px;font-weight:700;color:var(--text-main)}
.enterprise-copy-parts .check-row{margin:0;min-width:0}
@media(max-width:600px){.enterprise-copy-parts{grid-template-columns:1fr}}
.enterprise-bulk-control>.enterprise-bulk-rich-editor {
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    max-width: none;
    min-height: 120px;
    max-height: 320px;
    overflow-y: auto;
    cursor: text;
    padding: 8px 2px;
    border: 0;
    border-bottom: 1px solid var(--control-underline);
    border-radius: 0;
    background-color: transparent;
    color: var(--text-main);
    font-size: 14px;
    line-height: 1.5;
    transition: border-color .15s, box-shadow .15s;
}
.enterprise-bulk-rich-editor img { max-width: 100%; height: auto; }
.enterprise-bulk-control>.enterprise-bulk-rich-editor:focus {
    outline: 0;
    border-bottom-color: var(--primary);
    box-shadow: inset 0 -1px 0 var(--primary);
}
.enterprise-bulk-rich-editor.is-mixed{color:var(--text-muted);border-style:dashed;cursor:default}
.enterprise-bulk-rich-warning{margin-top:8px}
.enterprise-table td,.enterprise-table th { vertical-align:middle; }
.enterprise-table :is(th,td):nth-child(6){width:124px;text-align:center}
.enterprise-table td:nth-child(6) .status-badge{width:112px}
.enterprise-table tr.enterprise-main-row>td{background:transparent;border-block-color:var(--table-border)}
.enterprise-table tr.enterprise-main-row>td:first-child{box-shadow:inset 3px 0 0 var(--primary)}
.enterprise-table .email-address { overflow-wrap:anywhere; color:var(--text-main); }
.enterprise-policy-section { margin:28px 0 22px; padding-top:22px; border-top:1px solid var(--table-border); }
.enterprise-policy-table { min-width:980px; table-layout:fixed; }
.enterprise-policy-table th:first-child { width:260px; text-align:left; }
.enterprise-policy-table th:not(:first-child),.enterprise-policy-table td { text-align:center; }
.enterprise-policy-table select { width:100%; min-width:120px; margin:0; }
.enterprise-policy-heading { gap:16px; align-items:center; margin-bottom:6px; }
.enterprise-policy-heading h3 { margin:0; }
.enterprise-effective-toggle { flex:0 0 auto; width:auto; margin:0; white-space:nowrap; }
@media (max-width:600px) {
    .enterprise-policy-heading { align-items:flex-start; flex-direction:column; gap:8px; }
}
.user-capability-overrides { margin:28px 0 22px; padding-top:22px; border-top:1px solid var(--table-border); }
.user-capability-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px 18px; }
.user-capability-grid label { min-width:0; display:grid; grid-template-columns:minmax(0,1fr) minmax(150px,190px); align-items:center; gap:12px; }
.user-capability-grid label > span { overflow-wrap:anywhere; }
.user-capability-grid select {
    width:100%; min-height:36px; margin:0; padding:6px 28px 6px 3px;
    border:0; border-bottom:1px solid var(--control-border); border-radius:0;
    background-color:transparent; color:var(--text-main); box-shadow:none;
}
.user-capability-grid select:hover,
.user-capability-grid select:focus { border-bottom-color:var(--primary); outline:0; box-shadow:inset 0 -1px 0 var(--primary); }
.user-primary-fields-grid {
    display:grid; grid-template-columns:repeat(2,minmax(280px,560px)); gap:0 28px;
    align-items:start; max-width:1148px;
}
.user-primary-fields-grid .form-row { min-width:0; }
.user-primary-fields-grid .form-row > :is(input,select,textarea),
.user-primary-fields-grid .form-row > .rm-searchable-select-shell { width:100%; max-width:none; }
.team-identity-cell { width:120px; min-width:120px; max-width:120px; text-align:center; }
.data-table :is(th,td).team-identity-cell { padding-left:4px; padding-right:4px; text-align:center; }
.team-identity-header { display:grid; grid-template-columns:24px minmax(0,1fr) 24px; align-items:center; width:100%; min-width:0; }
.team-identity-header::before { content:""; grid-column:1; }
.team-identity-sort { grid-column:2; display:flex; align-items:center; justify-content:center; gap:3px; min-width:0; min-height:28px; color:inherit; text-align:center; text-decoration:none; white-space:normal; line-height:1.25; }
.team-identity-flip { grid-column:3; display:inline-flex; align-items:center; justify-content:center; width:24px; height:24px; border:1px solid transparent; border-radius:7px; color:inherit; text-decoration:none; line-height:1; -webkit-tap-highlight-color:transparent; }
.team-identity-flip:hover,.team-identity-flip:focus-visible { border-color:var(--control-border); background-color:var(--surface-soft); color:var(--catalog-accent); outline:0; }
.team-identity-flip:focus-visible { box-shadow:0 0 0 2px var(--primary-light); }
.team-identity-flip:active { background-color:var(--primary-subtle); transform:none; }
.team-identity-copy { color:var(--text-muted) !important; font:12px ui-monospace,SFMono-Regular,Consolas,monospace !important; }
button.catalog-number-copy.team-identity-copy { display:inline-flex; align-items:center; max-width:100%; vertical-align:middle; }
.team-identity-value { display:block; min-width:0; max-width:100%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.team-mobile-user-code { display:none; }
.dsp-access-grid .dsp-access-box { flex:0 0 18px; width:18px; height:18px; margin:1px; border:1px solid var(--primary); border-radius:2px; box-sizing:border-box; }
.dsp-access-grid .check-inline { overflow:visible; }

@media (max-width: 760px) {
    
    body.rm-enterprise-helper-transitioning #rmContent .enterprise-target-picker{visibility:hidden!important;pointer-events:none!important}
    body.rm-has-enterprise-helper .rm-list-enterprise-helper-source,
    .rm-spa-content-overlay .rm-list-enterprise-helper-source{display:none!important}
    
    .enterprise-shell{padding-inline:0}
    .page-context-heading{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
    .page-context-actions{justify-content:flex-start;width:100%}
    .page-context-actions .enterprise-target-picker{flex:1 1 100%;width:100%;max-width:none}
    
    .catalog-list-heading:has(.catalog-view-toggles){grid-template-columns:minmax(0,1fr) auto;align-items:baseline;column-gap:8px}
    .catalog-list-heading:has(.catalog-view-toggles)>h2{grid-column:1;grid-row:1;margin:0!important;align-self:baseline}
    .catalog-list-heading:has(.catalog-view-toggles)>.page-context-actions{display:contents}
    .catalog-list-heading:has(.catalog-view-toggles) .catalog-view-toggles{grid-column:2;grid-row:1;width:auto;justify-content:flex-end;align-self:baseline;gap:4px;transform:translateY(-3px)}
    .catalog-list-heading:has(.catalog-view-toggles) .catalog-view-toggles .view-toggle{padding-inline:2px;font-size:13px}
    .catalog-list-heading:has(.catalog-view-toggles) .page-context-actions>.enterprise-target-picker,
    .catalog-list-heading:has(.catalog-view-toggles) .page-context-actions>.subnav{grid-column:1/-1}
    .wallet-overview-heading .page-context-actions{display:grid;grid-template-columns:1fr;gap:10px}
    .enterprise-hero { align-items:stretch; flex-direction:column; gap:10px; padding:13px 14px 8px; }
    .enterprise-target-picker { width:100%; }
    .enterprise-sticky-context-row{align-items:stretch;flex-direction:column-reverse;gap:6px}
    .enterprise-sticky-context-row .enterprise-target-picker{flex:0 0 auto;width:100%;max-width:none;margin-left:0}
    .entity-form-heading{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:start!important;gap:20px!important;width:100%}
    .entity-form-heading>h2{grid-column:1;margin:0!important;align-self:start}
    .entity-form-heading>.page-context-actions{grid-column:2;width:auto;min-width:0;justify-content:flex-end;align-self:start}
    .entity-form-heading .enterprise-target-picker:not(.rm-create-enterprise-helper-source){min-width:0;width:auto;max-width:46vw}
    .entity-form-heading .enterprise-context-value{max-width:46vw;text-align:right;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.35}
    .entity-form-heading.entity-edit-heading{align-items:baseline!important;min-height:36px;margin-bottom:12px}
    .entity-edit-heading>h2{align-self:baseline;line-height:1.25}
    .entity-edit-heading>.page-context-actions{align-items:baseline;align-self:baseline}
    .entity-edit-heading .enterprise-target-picker:not(.rm-create-enterprise-helper-source){display:flex;align-items:baseline}
    .entity-edit-heading .enterprise-context-value{display:block;line-height:1.35}
    .enterprise-stat-grid,.enterprise-profile-grid,.enterprise-overview-grid { grid-template-columns:1fr; }
    .enterprise-stat-card { min-height:96px; }
    .enterprise-overview-grid > * { min-height:96px; }
    .enterprise-create-card { padding:18px; }
    .enterprise-create-identity-grid { grid-template-columns:1fr; gap:0; }
    .enterprise-cloneable-field{display:flex}
    .user-capability-grid { grid-template-columns:1fr; }
    .user-capability-grid label { grid-template-columns:1fr; gap:6px; }
    .user-primary-fields-grid { grid-template-columns:1fr; max-width:none; }
}
@media (prefers-reduced-motion:reduce) {
    .enterprise-stat-card { transition:none; }
}
.enterprise-code-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:16px 0}.enterprise-code-grid>section{border:1px solid var(--border);border-radius:10px;padding:14px;background:var(--surface)}@media(max-width:900px){.enterprise-code-grid{grid-template-columns:1fr}}
@media(min-width:901px){.enterprise-code-grid>section>.form-row:first-of-type>label{display:block;min-height:2.8em;line-height:1.4}}
.enterprise-tab-tools{display:flex;align-items:center;justify-content:flex-end;gap:14px;min-width:0;margin:0 0 4px auto}
.enterprise-tab-tools>.rm-searchable-select-shell{flex:0 1 280px;width:min(280px,100%)}
.enterprise-tab-tools>button{flex:0 0 auto;width:auto;min-width:max-content;min-height:36px;padding:6px 16px;white-space:nowrap}
.enterprise-tab-tools .rm-searchable-select-trigger{min-height:36px;border:0;border-bottom:1px solid var(--control-border);border-radius:0;background-color:transparent;background-position:right 4px center;box-shadow:none;padding:6px 28px;text-align:center;justify-content:center}
.enterprise-tab-tools .rm-searchable-select-trigger:hover,.enterprise-tab-tools .rm-searchable-select-trigger:focus-visible,.enterprise-tab-tools .rm-searchable-select-shell.is-open .rm-searchable-select-trigger{border-bottom-color:var(--primary);background-color:transparent;outline:0;box-shadow:inset 0 -1px 0 var(--primary)}
.enterprise-bulk-header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding-bottom:18px;border-bottom:1px solid var(--table-border)}
.enterprise-bulk-header>div{min-width:0}.enterprise-bulk-header h2{margin:0 0 6px}.enterprise-bulk-header .hint-text{margin:0;max-width:780px}.enterprise-bulk-header>.status-badge{flex:0 0 auto}
.enterprise-bulk-sections{display:grid;gap:20px;margin-top:20px}
.enterprise-bulk-section{min-width:0;padding:20px;border:1px solid color-mix(in srgb,var(--table-border) 62%,transparent);border-radius:12px;background:color-mix(in srgb,var(--surface-bg) 94%,var(--raised-bg, var(--page-bg)));box-shadow:0 1px 2px color-mix(in srgb,var(--text-main) 5%,transparent)}
.enterprise-bulk-section-header{margin:0 0 16px;padding:0 0 14px;border-bottom:1px solid var(--table-border)}
.enterprise-bulk-section-header h3{margin:0;font-size:1.05rem;color:var(--text-main)}
.enterprise-bulk-section-header .hint-text{margin:6px 0 0;max-width:880px}
.enterprise-bulk-clusters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.enterprise-bulk-cluster{min-width:0;padding:14px;border:0;border-radius:9px;background:color-mix(in srgb,var(--raised-bg, var(--page-bg)) 56%,var(--surface-bg))}
.enterprise-bulk-cluster>h4{margin:0 0 12px;padding-bottom:10px;border-bottom:1px solid var(--table-border);font-size:.9rem;font-weight:700;color:var(--text-main)}
.enterprise-bulk-field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:12px}
.enterprise-bulk-cluster:not(.has-multiple-fields)>.enterprise-bulk-field-grid{grid-template-columns:1fr}
.enterprise-bulk-field{display:flex;flex-direction:column;gap:8px;min-width:0;padding:12px;border:1px solid transparent;border-radius:8px;background:var(--surface-bg)}
.enterprise-bulk-field>label{font-size:13px;font-weight:600;line-height:1.4;color:var(--text-main);overflow-wrap:anywhere}
.enterprise-bulk-control{display:flex;align-items:center;gap:10px;min-width:0;margin-top:auto}
.enterprise-bulk-control>input:not([type="checkbox"]),.enterprise-bulk-control>select,.enterprise-bulk-control>textarea,.enterprise-bulk-control>.check-row{flex:1 1 auto;min-width:0;width:100%;margin:0}
.enterprise-bulk-control>input:not([type="checkbox"]),.enterprise-bulk-control>select,.enterprise-bulk-control>textarea{border:0;border-bottom:1px solid var(--control-underline);border-radius:0;background-color:transparent;box-shadow:none;color:var(--text-main)}
.enterprise-bulk-control>textarea{min-height:96px;resize:vertical}
.enterprise-bulk-field--bool .enterprise-bulk-control{min-height:36px}.enterprise-bulk-field--bool .check-row{align-items:center;min-height:36px}
.enterprise-bulk-field>.settings-hint{margin:0;font-size:12px;line-height:1.45}
.enterprise-control-baseline-grid{align-items:end;grid-template-rows:auto auto auto}
.enterprise-control-baseline-grid>.form-row{display:grid;grid-row:span 3;grid-template-rows:subgrid;align-items:end;margin-bottom:0}
.enterprise-control-baseline-grid>.form-row>label{grid-row:1}
.enterprise-control-baseline-grid>.form-row>:is(.enterprise-bulk-control,input,select,textarea){grid-row:2;align-self:end}
.enterprise-control-baseline-grid>.form-row>input[type="range"]{margin:0}
.enterprise-control-baseline-grid>.form-row>.settings-hint{grid-row:3;align-self:start}
.enterprise-bulk-settings>.form-actions{margin-top:22px;padding-top:18px;border-top:1px solid var(--table-border)}
.enterprise-bulk-color-control{display:grid;grid-template-columns:44px minmax(0,1fr);align-items:center;gap:9px;flex:1 1 auto;min-width:0}
.enterprise-bulk-color-control>input[type="color"]{width:44px;height:34px;padding:2px;border:1px solid var(--control-border);border-radius:4px;background:var(--input-bg);cursor:pointer}
.enterprise-bulk-color-control>input[type="text"]{width:100%;min-width:0;margin:0;border:0;border-bottom:1px solid var(--control-underline);border-radius:0;background:transparent;color:var(--text-main);box-shadow:none}
.enterprise-bulk-color-control.is-mixed>input[type="color"]{opacity:.58;filter:saturate(.35);cursor:default}
.enterprise-bulk-color-control>input[type="color"]:hover:not(:disabled),.enterprise-bulk-color-control>input[type="color"]:focus-visible{border-color:var(--primary);outline:2px solid color-mix(in srgb,var(--primary) 24%,transparent);outline-offset:1px}
.enterprise-bulk-color-control>input[type="text"]:hover,.enterprise-bulk-color-control>input[type="text"]:focus{border-bottom-color:var(--primary);outline:0;box-shadow:inset 0 -1px 0 var(--primary)}


.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.ticket-chat-dock{
    position:fixed;
    right:22px;
    bottom:18px;
    z-index:1500;
    display:flex;
    flex-direction:column;
    width:min(480px,calc(100vw - 44px));
    height:min(640px,calc(100vh - 108px));
    min-height:360px;
    overflow:hidden;
    border:1px solid var(--table-border);
    border-radius:18px;
    background:var(--surface-bg);
    color:var(--text-main);
    box-shadow:0 18px 56px color-mix(in srgb,#000 32%,transparent);
    transform:translateY(18px) scale(.98);
    transform-origin:bottom right;
    opacity:0;
    transition:transform .22s ease,opacity .18s ease,width .24s ease,height .24s ease,min-height .24s ease;
}
.ticket-list-filters{
    display:grid;
    grid-template-columns:minmax(260px,1fr) minmax(180px,240px) minmax(180px,240px) 180px minmax(90px,max-content);
    gap:10px;
    align-items:center;
    margin-top:12px;
}
.ticket-list-filters>input,.ticket-list-filters>select,.ticket-list-filters>.rm-searchable-select-shell{min-width:0;width:100%;margin:0}
.ticket-list-filters>button{width:auto;min-width:88px;justify-self:start;margin:0}
.ticket-bulk-actions{display:flex;align-items:stretch;justify-content:flex-end;gap:8px;flex-wrap:wrap;margin-top:10px}
.ticket-detail-heading{min-width:0;flex:1 1 0;max-width:100%}
.ticket-selection-count{margin-right:auto;align-self:center;white-space:nowrap;color:var(--text-muted)}
.ticket-detail-heading>h2.clip-text{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:760px){
 .rm-equal-button-row{align-items:stretch!important}
 .rm-equal-button-row>:is(button,.btn,.btn-secondary,.btn-danger){align-self:stretch!important;height:auto!important;display:inline-flex;align-items:center;justify-content:center}
 td.ticket-title-wraps .ticket-participants-toggle{display:none!important}
 .ticket-selection-count{display:none}
}
.ticket-chat-dock[hidden]{display:none!important}
.ticket-chat-dock.is-open{transform:translateY(0) scale(1);opacity:1}
.ticket-chat-dock.is-expanded{
    width:min(820px,calc(100vw - 80px));
    height:calc(100vh - 56px);
}
.ticket-chat-dock.is-minimized{
    width:48px;
    height:48px;
    min-height:48px;
    border-radius:14px;
    border-color:color-mix(in srgb,var(--catalog-accent) 58%,var(--table-border));
    background:var(--ticket-own-bg);
    box-shadow:0 10px 28px color-mix(in srgb,#000 30%,transparent),0 0 0 3px color-mix(in srgb,var(--catalog-accent) 16%,transparent);
}
.ticket-chat-dock.is-minimized .ticket-chat-dock-header{width:48px;height:48px;min-height:48px;padding:4px;border:0;background:transparent}
.ticket-chat-dock.is-minimized .ticket-chat-dock-title-link,
.ticket-chat-dock.is-minimized .ticket-panel-close-form,
.ticket-chat-dock.is-minimized .ticket-chat-dock-body,
.ticket-chat-dock.is-minimized [data-ticket-panel-expand],
.ticket-chat-dock.is-minimized [data-ticket-panel-close]{display:none}
.ticket-chat-dock.is-minimized .ticket-chat-dock-actions{width:100%;height:100%}
.ticket-chat-dock.is-minimized [data-ticket-panel-minimize]{width:40px;height:40px;min-width:40px;border-radius:11px;background:transparent!important;color:var(--ticket-own-text)!important;font-size:0;opacity:1}
html[data-theme="dark"] .ticket-chat-dock.is-minimized [data-ticket-panel-minimize]{color:var(--text-main)!important}
.ticket-chat-dock.is-minimized [data-ticket-panel-minimize]::before{
    content:"";
    display:block;
    width:23px;
    height:23px;
    background:currentColor;
    -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 4h16v12H8l-4 4V4zm3 4v2h10V8H7zm0 4v2h7v-2H7z'/%3E%3C/svg%3E");
    mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 4h16v12H8l-4 4V4zm3 4v2h10V8H7zm0 4v2h7v-2H7z'/%3E%3C/svg%3E");
    -webkit-mask-repeat:no-repeat;
    mask-repeat:no-repeat;
    -webkit-mask-position:center;
    mask-position:center;
    -webkit-mask-size:contain;
    mask-size:contain;
}
.ticket-chat-dock.is-minimized [data-ticket-panel-minimize]:hover,
.ticket-chat-dock.is-minimized [data-ticket-panel-minimize]:focus-visible{background:color-mix(in srgb,var(--ticket-own-text) 14%,transparent)!important;outline:2px solid color-mix(in srgb,var(--ticket-own-text) 64%,transparent);outline-offset:1px}
.ticket-chat-dock-header{
    flex:0 0 auto;
    min-width:0;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    min-height:54px;
    padding:8px 10px 8px 16px;
    background:var(--raised-bg);
}
.ticket-chat-dock-title-link{min-width:0;overflow:hidden;display:flex;flex:1 1 0;align-items:center;gap:8px;color:var(--text-main);text-decoration:none;border-radius:6px}
.ticket-chat-dock-title-link strong{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px}
.ticket-panel-status-dot{flex:0 0 9px;width:9px;height:9px;border-radius:50%;background:var(--text-muted);box-shadow:0 0 0 2px color-mix(in srgb,var(--text-muted) 18%,transparent)}
.ticket-panel-status-dot.is-open{background:#16a34a;box-shadow:0 0 0 2px color-mix(in srgb,#16a34a 24%,transparent)}
html[data-theme="dark"] .ticket-panel-status-dot.is-open{background:#4ade80;box-shadow:0 0 0 2px color-mix(in srgb,#4ade80 22%,transparent)}
.ticket-panel-close-form{flex:0 0 auto;margin:0}
.ticket-panel-close-action{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:26px;
    height:26px;
    min-width:26px;
    padding:0;
    border:0;
    border-radius:8px;
    background:var(--primary);
    color:var(--primary-contrast);
    box-shadow:none;
    font-size:14px;
    line-height:1;
}
.ticket-panel-close-action:hover,.ticket-panel-close-action:focus-visible{background:var(--primary-hover);color:var(--primary-contrast);outline:2px solid color-mix(in srgb,var(--primary) 34%,transparent);outline-offset:2px}
html[data-theme="dark"] .ticket-panel-close-action{background:#f3f4f6;color:#1f2937}
html[data-theme="dark"] .ticket-panel-close-action:hover,html[data-theme="dark"] .ticket-panel-close-action:focus-visible{background:#fff;color:#111827;outline-color:color-mix(in srgb,#fff 42%,transparent)}
.ticket-panel-close-action.is-half-close{background:#a16207;color:#fff7d6}
.ticket-panel-close-action.is-half-close:hover,.ticket-panel-close-action.is-half-close:focus-visible{background:#854d0e;color:#fff7d6;outline-color:color-mix(in srgb,#f59e0b 45%,transparent)}
html[data-theme="dark"] .ticket-panel-close-action.is-half-close{background:#fef3c7;color:#854d0e}
html[data-theme="dark"] .ticket-panel-close-action.is-half-close:hover,html[data-theme="dark"] .ticket-panel-close-action.is-half-close:focus-visible{background:#fde68a;color:#713f12;outline-color:color-mix(in srgb,#fbbf24 44%,transparent)}
.ticket-chat-dock-title-link:hover{color:var(--catalog-accent);text-decoration:underline;text-underline-offset:3px}
.ticket-chat-dock-title-link:focus-visible{color:var(--catalog-accent);outline:2px solid var(--catalog-accent);outline-offset:3px}
.ticket-chat-dock-actions{display:flex;align-items:center;gap:4px;flex:0 0 auto}
.ticket-dock-icon-button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:40px;
    height:40px;
    min-width:40px;
    padding:0;
    border:0;
    border-radius:10px;
    background:transparent;
    color:var(--text-main);
    box-shadow:none;
    font-size:20px;
    line-height:1;
}
.ticket-dock-icon-button:hover,.ticket-dock-icon-button:focus-visible{background:color-mix(in srgb,var(--text-main) 9%,transparent);color:var(--text-main);outline:2px solid color-mix(in srgb,var(--primary) 58%,var(--text-main));outline-offset:-2px}
.ticket-chat-dock-body{flex:1 1 auto;min-height:0;overflow:hidden}
.ticket-panel-loading,.ticket-panel-error{display:flex;align-items:center;justify-content:center;height:100%;padding:24px;text-align:center;color:var(--text-muted)}
.ticket-detail-navigation{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 12px}
.ticket-panel-error{color:var(--alert-text)}
.ticket-panel-fragment{display:flex;flex-direction:column;height:100%;min-height:0}
.ticket-conversation-card{min-width:0}
.ticket-conversation-card--panel{display:flex;flex:1 1 auto;flex-direction:column;min-height:0;padding:10px}
.ticket-conversation-card--panel #ticketChatBox{display:flex;flex:1 1 auto;flex-direction:column;min-height:0}
.ticket-conversation-card--panel .ticket-messages-list{flex:1 1 auto;max-height:none;min-height:0;border-radius:12px}
.ticket-conversation-card--panel .ticket-message{max-width:min(66.6667%,620px)}
.ticket-message-form{display:block;flex:0 0 auto;margin-top:10px}
.ticket-message-composer{position:relative;width:100%}
.ticket-message-input{display:block;width:100%;min-height:62px;max-height:150px}
.ticket-send-button{
    position:absolute;
    right:8px;
    bottom:8px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:40px;
    height:40px;
    min-width:40px;
    padding:0;
    border:0;
    border-radius:12px;
    background:color-mix(in srgb,var(--text-muted) 15%,transparent);
    color:var(--text-muted);
    box-shadow:none;
    opacity:.58;
    cursor:default;
    transition:background-color .16s ease,color .16s ease,opacity .16s ease,transform .12s ease;
}
.ticket-send-button svg{width:21px;height:21px;fill:currentColor}
.ticket-message-form .ticket-send-button.is-ready:not(:disabled){background:var(--ticket-own-bg)!important;color:var(--ticket-own-text)!important;opacity:1;cursor:pointer}
.ticket-message-form .ticket-send-button.is-ready:not(:disabled):hover,
.ticket-message-form .ticket-send-button.is-ready:not(:disabled):focus-visible{background:color-mix(in srgb,var(--ticket-own-bg) 88%,var(--ticket-own-text))!important;color:var(--ticket-own-text)!important;outline:2px solid color-mix(in srgb,var(--ticket-own-bg) 42%,transparent);outline-offset:2px}
.ticket-send-button.is-ready:not(:disabled):active{transform:scale(.96)}
.ticket-typing-indicator{margin:6px 0 0 4px;font-style:italic}
.ticket-closed-hint{margin-top:12px}
.ticket-messages-list {
    display:flex;
    flex-direction:column;
    gap:18px;
    max-height:520px;
    overflow-y:auto;
    padding:14px;
    border-radius:14px;
    background:var(--ticket-canvas-bg);
}
.ticket-message{width:fit-content;max-width:66.6667%}
.ticket-message.is-mine{align-self:flex-end}
.ticket-message.is-theirs{align-self:flex-start}
.ticket-message-meta{margin-bottom:4px;color:var(--text-muted);font-size:11px}
.ticket-message.is-mine .ticket-message-meta{text-align:right}
.ticket-message-bubble{
    padding:6px 2px;
    border:0;
    border-radius:0;
    background:transparent;
    color:var(--text-main);
    font-size:14px;
    line-height:1.45;
    white-space:pre-line;
    overflow-wrap:anywhere;
    word-break:break-word;
}
.ticket-message-link{color:inherit;text-decoration:underline;text-underline-offset:2px;overflow-wrap:anywhere}
.ticket-message-link:hover,.ticket-message-link:focus-visible{opacity:.8;outline:2px solid currentColor;outline-offset:2px}
.ticket-message-image-wrap{position:relative;display:block;width:min(260px,100%);margin-top:6px}
.ticket-message.is-mine .ticket-message-image-wrap,
.ticket-message.is-mine .ticket-image-removed{margin-left:auto;margin-right:0}
.ticket-message.is-theirs .ticket-message-image-wrap,
.ticket-message.is-theirs .ticket-image-removed{margin-left:0;margin-right:auto}
.ticket-message-image-open{display:block;width:100%;padding:0;border:0;border-radius:14px;background:transparent;overflow:hidden;box-shadow:none}
.ticket-message-image-open img{display:block;width:100%;max-height:260px;object-fit:cover;border-radius:14px}
.ticket-message-image-open:hover,.ticket-message-image-open:focus-visible{outline:2px solid var(--primary);outline-offset:2px;transform:none}
.ticket-image-delete{position:absolute;right:6px;top:6px;display:flex;align-items:center;justify-content:center;width:26px;height:26px;min-width:26px;padding:0;border:0;border-radius:8px;background:rgba(17,24,39,.76);color:#fff;box-shadow:0 2px 8px rgba(0,0,0,.24);font-size:18px;line-height:1}
.ticket-image-delete:hover,.ticket-image-delete:focus-visible{background:#b91c1c;color:#fff;outline:2px solid #fff;outline-offset:1px}
.ticket-image-removed{display:inline-flex;align-items:center;gap:7px;margin-top:5px;padding:7px 10px;border:1px dashed var(--control-border);border-radius:10px;background:color-mix(in srgb,var(--raised-bg) 78%,transparent);color:var(--text-muted);font-size:12px;font-style:italic}
.ticket-image-removed::before{content:"";width:15px;height:15px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 5h18v14H3V5zm2 2v8l4-4 3 3 2-2 5 5V7H5z'/%3E%3Cpath d='m4 3 17 17-1.4 1.4-17-17z'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 5h18v14H3V5zm2 2v8l4-4 3 3 2-2 5 5V7H5z'/%3E%3Cpath d='m4 3 17 17-1.4 1.4-17-17z'/%3E%3C/svg%3E") center/contain no-repeat}
.ticket-attach-button{position:absolute;left:8px;bottom:8px;display:flex;align-items:center;justify-content:center;width:40px;height:40px;min-width:40px;padding:0;border:0;border-radius:12px;background:transparent;color:var(--text-muted);box-shadow:none}
.ticket-attach-button svg{width:22px;height:22px;fill:currentColor}
.ticket-attach-button:hover,.ticket-attach-button:focus-visible{background:color-mix(in srgb,var(--primary) 12%,transparent);color:var(--primary);outline:2px solid color-mix(in srgb,var(--primary) 32%,transparent);outline-offset:-2px}
.ticket-attachment-preview{display:flex;gap:6px;flex-wrap:wrap;margin-top:6px}
.ticket-attachment-chip{display:inline-flex;align-items:center;gap:5px;max-width:190px;padding:4px 7px;border-radius:8px;background:var(--surface-soft);color:var(--text-main);font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ticket-attachment-chip button{flex:0 0 auto;width:20px;height:20px;min-width:20px;padding:0;border:0;border-radius:6px;background:transparent;color:inherit;box-shadow:none}
.ticket-image-lightbox{position:fixed;inset:0;z-index:1300;display:flex;align-items:center;justify-content:center;padding:28px;background:rgba(0,0,0,.82)}
.ticket-image-lightbox[hidden]{display:none!important}.ticket-image-lightbox img{display:block;max-width:min(1100px,94vw);max-height:90vh;object-fit:contain;border-radius:12px;box-shadow:0 20px 60px rgba(0,0,0,.45)}
.ticket-image-lightbox-close{position:fixed;right:20px;top:16px;width:42px;height:42px;min-width:42px;padding:0;border:0;border-radius:12px;background:rgba(255,255,255,.92);color:#111827;font-size:26px;line-height:1}
.ticket-message.is-mine .ticket-message-bubble{
    padding:8px 12px;
    border-radius:16px 16px 4px 16px;
    background:var(--ticket-own-bg);
    color:var(--ticket-own-text);
}
.ticket-message.is-theirs .ticket-message-bubble{
    padding:8px 12px;
    border-radius:16px 16px 16px 4px;
    background:var(--ticket-other-bg);
    color:var(--ticket-other-text);
}
.ticket-system-message{padding:2px 0;color:var(--text-muted);font-size:12px;text-align:center}
.ticket-system-message-chip{display:inline-block;padding:4px 14px;border-radius:20px;background:var(--surface-bg)}
html[data-theme="dark"] .ticket-message.is-theirs .ticket-message-bubble{
    border:0;
    background:var(--ticket-other-bg);
    color:var(--ticket-other-text);
}
html[data-theme="dark"] .ticket-message.is-mine .ticket-message-bubble{
    border:0;
    background:var(--ticket-own-bg);
    color:var(--ticket-own-text);
}
html[data-theme="dark"] .ticket-system-message-chip{background:color-mix(in srgb,var(--raised-bg) 86%,var(--text-main) 14%)}
#ticketChatBox{position:relative}
.ticket-scroll-latest{
    position:absolute;
    left:50%;
    right:auto;
    bottom:10px;
    transform:translateX(-50%);
    z-index:2;
    display:flex;
    align-items:center;
    justify-content:center;
    width:38px;
    height:38px;
    min-width:38px;
    padding:0;
    border:1px solid var(--control-underline);
    border-radius:12px;
    background:var(--raised-bg);
    color:var(--text-main);
    box-shadow:0 5px 16px color-mix(in srgb,var(--text-main) 18%,transparent);
    font-size:20px;
    line-height:1;
    -webkit-tap-highlight-color:transparent;
}
.ticket-scroll-latest:hover,.ticket-scroll-latest:focus-visible{
    border-color:var(--primary);
    background:color-mix(in srgb,var(--primary) 12%,var(--raised-bg));
    color:var(--text-main);
    outline:0;
}
html textarea.ticket-message-input,
html[data-theme="dark"] textarea.ticket-message-input {
    width: 100%;
    padding: 12px 58px 12px 54px;
    border: 1px solid var(--control-border);
    border-radius: 16px;
    background: var(--raised-bg) !important;
    color: var(--text-main) !important;
    box-shadow: none;
    resize: vertical;
    outline: 0;
    -webkit-tap-highlight-color: transparent;
}
html textarea.ticket-message-input:hover,
html textarea.ticket-message-input:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 2px color-mix(in srgb,var(--primary) 18%,transparent);
}
html[data-theme="dark"] textarea.ticket-message-input:hover,
html[data-theme="dark"] textarea.ticket-message-input:focus {
    
    border-color: var(--catalog-accent) !important;
    box-shadow: 0 0 0 2px color-mix(in srgb,var(--catalog-accent) 20%,transparent);
}
@media(max-width:1100px) and (min-width:641px){
    .ticket-list-filters{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
    .ticket-list-filters>input[name="q"]{grid-column:1/-1}
    .ticket-list-filters>button{grid-column:auto;justify-self:start}
}
@media(max-width:640px){
    .ticket-list-filters{grid-template-columns:1fr}.ticket-list-filters>button{width:100%}.ticket-bulk-actions{display:grid;grid-template-columns:1fr 1fr}.ticket-bulk-actions>button{width:100%;min-width:0;white-space:normal}
    .ticket-status-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;gap:8px}
    .ticket-status-actions>*{width:100%;min-width:0;max-width:100%;margin:0}
    .ticket-status-actions>button,.ticket-status-actions>form>button{width:100%;min-width:0;min-height:44px;height:100%;padding-inline:8px;white-space:normal;line-height:1.25}
    .ticket-status-actions>:last-child:nth-child(odd){grid-column:1/-1}
    .ticket-chat-dock{left:0;right:0;top:0;bottom:0;width:auto;height:auto;min-height:0;border:0;border-radius:0;transform-origin:bottom center}
    .ticket-chat-dock.is-expanded{width:auto;height:auto;border-radius:0}
    .ticket-chat-dock.is-minimized{left:auto;right:10px;top:auto;bottom:10px;width:48px;height:48px;min-height:48px}
    .ticket-chat-dock [data-ticket-panel-expand]{display:none}
    .ticket-chat-dock-header{min-height:50px;padding:5px 7px 5px 13px}
    .ticket-conversation-card--panel{padding:0 6px 6px}
    .ticket-messages-list{padding:12px}
    .ticket-message{max-width:66.6667%}
    .ticket-scroll-latest{left:50%;right:auto}
    .ticket-message-form{margin-top:7px}
}
@media(prefers-reduced-motion:reduce){.ticket-chat-dock{transition:none}}
.enterprise-bulk-control>input:not([type="checkbox"]):hover,.enterprise-bulk-control>select:hover,.enterprise-bulk-control>textarea:hover,.enterprise-bulk-control>input:not([type="checkbox"]):focus,.enterprise-bulk-control>select:focus,.enterprise-bulk-control>textarea:focus{border-bottom-color:var(--primary);outline:0;box-shadow:inset 0 -1px 0 var(--primary)}
.enterprise-bulk-field.is-mixed{background:color-mix(in srgb,var(--raised-bg, var(--page-bg)) 58%,var(--surface-bg));border-color:color-mix(in srgb,var(--text-muted) 60%,transparent);border-style:dashed}
.enterprise-bulk-field.is-mixed [data-enterprise-bulk-setting]{opacity:1;color:color-mix(in srgb,var(--text-main) 76%,var(--surface-bg));-webkit-text-fill-color:color-mix(in srgb,var(--text-main) 76%,var(--surface-bg))}
.enterprise-bulk-field.is-mixed [data-enterprise-bulk-setting]::placeholder{opacity:1;color:color-mix(in srgb,var(--text-main) 76%,var(--surface-bg));-webkit-text-fill-color:color-mix(in srgb,var(--text-main) 76%,var(--surface-bg))}
.enterprise-mixed-override{flex:0 0 auto;min-height:36px;white-space:nowrap}
.enterprise-bulk-settings[data-bulk-tab="branding"] .enterprise-bulk-clusters,
.enterprise-bulk-settings[data-bulk-tab="emails"] .enterprise-bulk-section--delivery .enterprise-bulk-clusters,
.enterprise-bulk-settings[data-bulk-tab="emails"] .enterprise-bulk-section--signature .enterprise-bulk-clusters,
.enterprise-bulk-settings[data-bulk-tab="styles"] .enterprise-bulk-section--appearance .enterprise-bulk-clusters,
.enterprise-bulk-settings[data-bulk-tab="finance"] .enterprise-bulk-section--currency .enterprise-bulk-clusters,
.enterprise-bulk-settings[data-bulk-tab="integrations"] .enterprise-bulk-section--schema .enterprise-bulk-clusters,
.enterprise-bulk-settings[data-bulk-tab="access"] .enterprise-bulk-section--queue_access .enterprise-bulk-clusters{grid-template-columns:1fr}
.enterprise-bulk-settings[data-bulk-tab="codes"] .enterprise-bulk-clusters{grid-template-columns:1fr}
.enterprise-bulk-settings[data-bulk-tab="branding"] .enterprise-bulk-cluster>.enterprise-bulk-field-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.enterprise-bulk-settings[data-bulk-tab="emails"] .enterprise-bulk-section--templates .enterprise-bulk-cluster{padding:16px}
.enterprise-bulk-settings[data-bulk-tab="emails"] .enterprise-bulk-section--templates .enterprise-bulk-field-grid{grid-template-columns:1fr}
.enterprise-bulk-settings[data-bulk-tab="emails"] .enterprise-bulk-field--textarea textarea{min-height:132px}
.enterprise-bulk-settings[data-bulk-tab="finance"] .enterprise-bulk-cluster>.enterprise-bulk-field-grid{grid-template-columns:1fr}
.enterprise-bulk-settings[data-bulk-tab="styles"] .enterprise-bulk-clusters{grid-template-columns:repeat(2,minmax(0,1fr))}
.enterprise-bulk-settings[data-bulk-tab="styles"] .enterprise-bulk-cluster>.enterprise-bulk-field-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.enterprise-mixed-override{flex:0 0 auto;white-space:nowrap}
.settings-subcard{margin-top:10px;padding:12px;background:var(--surface-soft);border:1px solid var(--table-border);border-radius:8px}
@media(max-width:1000px){.enterprise-bulk-clusters,.enterprise-bulk-settings[data-bulk-tab="styles"] .enterprise-bulk-clusters{grid-template-columns:1fr}}
@media(max-width:760px){.enterprise-tab-tools{align-items:stretch;flex-wrap:wrap;width:100%}.enterprise-tab-tools>.rm-searchable-select-shell{flex:1 1 100%;width:100%}.enterprise-tab-tools>button{flex:1 1 auto;max-width:100%}.enterprise-bulk-settings{padding:14px}.enterprise-bulk-header{flex-direction:column;gap:12px}.enterprise-bulk-section{padding:14px}.enterprise-bulk-clusters,.enterprise-bulk-field-grid,.enterprise-bulk-settings[data-bulk-tab="styles"] .enterprise-bulk-clusters,.enterprise-bulk-settings[data-bulk-tab="styles"] .enterprise-bulk-cluster>.enterprise-bulk-field-grid,.enterprise-bulk-settings[data-bulk-tab="branding"] .enterprise-bulk-cluster>.enterprise-bulk-field-grid{grid-template-columns:1fr}.enterprise-bulk-control{align-items:stretch;flex-direction:column}.enterprise-bulk-field--bool .enterprise-bulk-control{align-items:flex-start}.enterprise-mixed-override{width:100%;min-height:44px}.enterprise-bulk-field{padding:12px}.enterprise-bulk-settings>.form-actions>button{width:100%;min-height:44px}}
@media(max-width:760px){.enterprise-control-baseline-grid{align-items:stretch;grid-template-rows:none}.enterprise-control-baseline-grid>.form-row{display:block;grid-row:auto;margin-bottom:0}.enterprise-control-baseline-grid>.form-row>*{grid-row:auto}}
@media(max-width:760px){.enterprise-all-dsp-card{grid-template-columns:minmax(0,1fr) auto}.enterprise-all-dsp-identity{grid-column:1}:is(.enterprise-all-dsp-card,.album-dsp-search-status)>.rm-searchable-select-shell{grid-column:1/-1;width:100%}:is(.enterprise-all-dsp-card,.album-dsp-search-status)>.rm-searchable-select-shell>.rm-searchable-select-trigger{min-height:44px}.enterprise-dsp-detail-trigger{width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important}.enterprise-dsp-detail-tools{grid-template-columns:1fr;gap:8px}.enterprise-dsp-detail-results{max-height:38vh}.enterprise-dsp-detail-pagination{gap:8px}.enterprise-dsp-detail-pagination button{min-width:0;flex:1}.enterprise-bulk-settings[data-bulk-tab="codes"] input{min-height:44px}.enterprise-code-grid input{min-height:44px}}
@media (max-width:760px){.enterprise-dsp-detail-tools :is(input[type="search"],select){min-height:44px}}
@media(max-width:520px){.enterprise-dsp-grid{grid-template-columns:minmax(0,1fr)}.enterprise-dsp-card{width:100%;min-height:76px;box-sizing:border-box}}
@media(max-width:760px){.dsp-logo-library-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,210px),1fr))}.dsp-logo-library-item{grid-template-columns:48px minmax(0,1fr) auto}.dsp-logo-upload-form{padding:12px}.dsp-logo-upload-form .form-actions button{width:100%;min-height:44px}.dsp-logo-library-item button{min-height:44px}.dsp-logo-choice-row select{min-height:44px}}
@media(max-width:760px) and (hover:none) and (pointer:coarse){.enterprise-dsp-detail-trigger:not(:focus-visible)::after{display:none}}


.rm-searchable-select-shell{position:relative;width:100%;min-width:0}

html.rm-searchable-pending select.rm-searchable-select,
html.rm-searchable-pending .filter-bar select:not([multiple]),
html.rm-searchable-pending .filter-bar-row1 select:not([multiple]),
html.rm-searchable-pending .filter-bar-row2 select:not([multiple]){visibility:hidden!important}
.filter-bar>.rm-searchable-select-shell,.filter-bar-row1>.rm-searchable-select-shell,.filter-bar-row2>.rm-searchable-select-shell{width:auto;min-width:180px;max-width:280px;flex:1 1 190px}


.security-log-filters input[type="text"],
.security-log-filters select {
    min-height: 38px;
    border: 1px solid var(--control-border);
    border-radius: 999px;
    background-color: var(--input-bg);
    box-shadow: none;
}
.email-log-filters input[type="text"] {
    border-radius: 999px;
}
.email-log-content-disclosure{
    display:block;
    width:100%;
    max-width:100%;
    min-width:0;
    padding:0;
    border:0;
    border-radius:3px;
    background:transparent;
    color:inherit;
    font:inherit;
    line-height:inherit;
    text-align:left;
    cursor:pointer;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}
.email-log-content-disclosure:hover{color:var(--primary);background:transparent}
.email-log-content-disclosure:focus-visible{outline:2px solid var(--primary);outline-offset:3px}
.email-log-detail-modal{width:min(720px,calc(100vw - 32px));max-height:min(760px,calc(100vh - 32px));overflow:auto}
.email-log-detail-heading{align-items:flex-start;gap:16px;margin-bottom:14px}
.email-log-detail-heading h2{margin:0}
.email-log-detail-list{display:grid;grid-template-columns:1fr 1fr;gap:0 24px;margin:0}
.email-log-detail-list>div{min-width:0;padding:10px 0;border-bottom:1px solid var(--table-border)}
.email-log-detail-list dt{margin:0 0 4px;color:var(--text-muted);font-size:12px;text-transform:uppercase}
.email-log-detail-list dd{margin:0;color:var(--text-main);overflow-wrap:anywhere;user-select:text}
.email-log-detail-content{margin-top:16px}
.email-log-detail-content h3{margin:0 0 8px;font-size:14px}
.email-log-legacy-content-note{margin:0 0 10px;padding:9px 11px;border:1px solid var(--table-border);border-radius:7px;background:var(--surface-soft)}
.email-log-detail-content pre{max-height:240px;overflow:auto;margin:0;padding:12px;border:1px solid var(--table-border);border-radius:7px;background:var(--surface-soft);color:var(--text-main);font:inherit;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere;user-select:text}
.email-log-detail-actions{margin-top:16px}
@media(max-width:640px){
    .email-log-content-disclosure{min-height:44px;display:flex;align-items:center}
    .email-log-detail-modal{width:calc(100vw - 20px);max-height:calc(100vh - 20px);padding:16px}
    .email-log-detail-list{grid-template-columns:1fr}
    .email-log-detail-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
    .email-log-detail-actions>button{width:100%;min-width:0;min-height:44px}
}
.filter-bar > .enterprise-target-picker > .rm-searchable-select-shell > .rm-searchable-select-trigger {
    min-height: 38px;
    border: 0;
    border-bottom: 1px solid var(--control-border);
    border-radius: 0;
    background-color: transparent;
    box-shadow: none;
    padding-inline: 28px;
}
.filter-bar > .enterprise-target-picker > .rm-searchable-select-shell > .rm-searchable-select-trigger:hover,
.filter-bar > .enterprise-target-picker > .rm-searchable-select-shell > .rm-searchable-select-trigger:focus-visible,
.filter-bar > .enterprise-target-picker > .rm-searchable-select-shell.is-open > .rm-searchable-select-trigger {
    border-bottom-color: color-mix(in srgb,var(--control-border) 45%,var(--text-main));
    background-color: transparent;
    box-shadow: none;
}
.filter-bar .rm-searchable-select-trigger,.filter-bar-row1 .rm-searchable-select-trigger,.filter-bar-row2 .rm-searchable-select-trigger{height:36px;min-height:36px;max-height:36px;border-color:var(--control-border);border-radius:999px;background-color:#fff;color:var(--text-main);padding:6px 34px 6px 14px;font-size:14px;font-weight:400}
html[data-theme="dark"] .filter-bar .rm-searchable-select-trigger,html[data-theme="dark"] .filter-bar-row1 .rm-searchable-select-trigger,html[data-theme="dark"] .filter-bar-row2 .rm-searchable-select-trigger{background-color:var(--raised-bg);color:var(--text-main)}
.filter-bar .rm-searchable-select-trigger:hover,.filter-bar-row1 .rm-searchable-select-trigger:hover,.filter-bar-row2 .rm-searchable-select-trigger:hover{border-color:var(--control-border);background-color:var(--input-bg,var(--raised-bg));color:var(--text-main)}
.filter-bar .rm-searchable-select-trigger:focus-visible,.filter-bar-row1 .rm-searchable-select-trigger:focus-visible,.filter-bar-row2 .rm-searchable-select-trigger:focus-visible,.filter-bar .rm-searchable-select-shell.is-open .rm-searchable-select-trigger,.filter-bar-row1 .rm-searchable-select-shell.is-open .rm-searchable-select-trigger,.filter-bar-row2 .rm-searchable-select-shell.is-open .rm-searchable-select-trigger{border-color:var(--primary);background-color:var(--input-bg,var(--raised-bg));color:var(--text-main);outline:0;box-shadow:0 0 0 3px var(--primary-light)}
.rm-settings-sticky-wrap:has(.rm-searchable-select-shell.is-open){z-index:1301}
select.is-enhanced-native{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;opacity:0!important;pointer-events:none!important;overflow:hidden!important}
.rm-searchable-select-trigger{width:100%;min-width:0;min-height:40px;display:flex;align-items:center;justify-content:space-between;text-align:left;font-family:inherit;font-size:14px;font-weight:400;color:var(--text-main,var(--ink));background-color:var(--raised-bg,#fff);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%236b7280' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 11px center;border:1px solid var(--border);border-radius:7px;padding:8px 34px 8px 11px;position:relative;overflow-wrap:anywhere;-webkit-tap-highlight-color:transparent}
.rm-searchable-select-value{display:block;flex:1 1 auto;min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;overflow-wrap:normal}
.rm-searchable-select-trigger::after{content:none}
.rm-searchable-select-trigger.rm-btn-loading::after{content:'';right:auto;border-top-color:var(--text-main);border-color:color-mix(in srgb,var(--text-main) 25%,transparent);border-top-color:var(--text-main)}
.rm-searchable-select-trigger:hover{border-color:var(--primary);background-color:var(--primary-subtle,var(--surface-soft));color:var(--text-main,var(--ink))}
.rm-searchable-select-trigger:active{border-color:var(--primary);background-color:color-mix(in srgb,var(--primary) 12%,var(--raised-bg));color:var(--text-main,var(--ink));transform:none}
.rm-searchable-select-trigger:focus-visible{outline:2px solid var(--primary);outline-offset:2px;border-color:var(--primary)}
.rm-searchable-select-shell.is-open .rm-searchable-select-trigger{border-color:var(--primary)}
.rm-searchable-select-popup{position:absolute;z-index:1200;top:calc(100% + 5px);left:0;width:max(100%,240px);max-width:min(420px,calc(100vw - 28px));padding:8px;background:var(--raised-bg,#fff);color:var(--text-main,var(--ink));border:1px solid var(--border);border-radius:8px;box-shadow:0 12px 32px rgba(15,23,42,.18)}
.rm-searchable-select-search{
    width:100%;min-width:0;height:36px;margin:0 0 8px;padding:7px 4px;
    border:0!important;border-bottom:1px solid var(--control-border)!important;border-radius:0!important;
    outline:0!important;background-color:transparent!important;color:var(--text-main,var(--ink))!important;
    box-shadow:none!important;font-family:inherit;font-size:14px;font-weight:400;font-style:normal
}
.rm-searchable-select-search::placeholder{color:var(--text-muted,var(--muted));opacity:1;font-style:normal}
.rm-searchable-select-search:hover,.rm-searchable-select-search:focus{border-bottom-color:var(--primary)!important;background-color:transparent!important;outline:0!important;box-shadow:inset 0 -1px 0 var(--primary)!important}
.rm-searchable-select-options{max-height:240px;overflow:auto;overscroll-behavior:contain}
.isrc-add-to-catalog-modal .modal-box{
    display:flex;
    flex-direction:column;
    width:min(620px,100%);
    max-width:620px;
    height:min(620px,calc(100dvh - 40px));
    max-height:calc(100dvh - 40px);
    overflow:visible;
}
.isrc-add-to-catalog-modal #addToCatalogForm{
    display:flex;
    flex:1 1 auto;
    min-height:0;
    flex-direction:column;
}
.isrc-add-to-catalog-modal #addToCatalogForm>.form-actions{margin-top:auto}
.isrc-add-to-catalog-modal .rm-searchable-select-options{
    max-height:min(300px,calc(100dvh - 330px));
    overflow-y:auto;
    overscroll-behavior:contain;
    touch-action:pan-y;
}
@media(max-width:700px){
    .isrc-add-to-catalog-modal{padding:10px}
    .isrc-add-to-catalog-modal .modal-box{
        width:100%;
        height:calc(100dvh - 20px);
        max-height:calc(100dvh - 20px);
        padding:20px;
    }
    .isrc-add-to-catalog-modal .rm-searchable-select-popup{
        position:absolute;
        top:calc(100% + 5px);
        right:auto;
        left:0;
        width:100%;
        max-width:none;
        max-height:min(380px,calc(100dvh - 270px));
    }
    .isrc-add-to-catalog-modal .rm-searchable-select-options{
        max-height:min(300px,calc(100dvh - 350px));
    }
}
.rm-searchable-select-option{display:block;width:100%;min-width:0;padding:8px 9px;border:0;border-radius:5px;background:transparent;color:var(--text-main,var(--ink));text-align:left;font-family:inherit;font-size:14px;font-weight:400;overflow-wrap:anywhere;-webkit-tap-highlight-color:transparent}
.rm-searchable-select-option.is-selected{background-color:transparent;color:var(--text-main,var(--ink));font-weight:400;box-shadow:none}
.rm-searchable-select-option:hover,.rm-searchable-select-option:focus-visible,.rm-searchable-select-option.is-selected:hover{background-color:#737373;color:#fff;outline:none}
.rm-searchable-select-option:active{background-color:#626262;color:#fff;transform:none}

.filter-bar button.rm-searchable-select-option{
    height:auto;
    min-height:36px;
    max-height:none;
    block-size:auto;
    min-block-size:36px;
    max-block-size:none;
    white-space:normal;
    line-height:1.35;
}
.rm-searchable-select-empty{margin:7px 5px 3px;color:var(--muted);font-size:13px}

.form-row>.rm-searchable-select-shell>.rm-searchable-select-trigger{height:36px;min-height:36px;max-height:36px;border:0;border-bottom:1px solid var(--control-underline);border-radius:0;background-color:transparent;background-position:right 2px center;padding:8px 28px 8px 2px;box-shadow:none;color:var(--text-main);font-size:14px;font-weight:400}
.form-row>.rm-searchable-select-shell>.rm-searchable-select-trigger::after{right:3px}
.form-row>.rm-searchable-select-shell>.rm-searchable-select-trigger:hover,
.form-row>.rm-searchable-select-shell>.rm-searchable-select-trigger:focus-visible,
.form-row>.rm-searchable-select-shell.is-open>.rm-searchable-select-trigger{border-bottom-color:var(--primary);background-color:transparent;outline:0;box-shadow:inset 0 -1px 0 var(--primary)}
html[data-theme="dark"] .form-row>.rm-searchable-select-shell>.rm-searchable-select-trigger,
html[data-theme="dark"] .form-row>.rm-searchable-select-shell>.rm-searchable-select-trigger:hover,
html[data-theme="dark"] .form-row>.rm-searchable-select-shell>.rm-searchable-select-trigger:focus-visible,
html[data-theme="dark"] .form-row>.rm-searchable-select-shell.is-open>.rm-searchable-select-trigger{background-color:var(--raised-bg)}
html[data-theme="dark"] .form-row>.rm-searchable-select-shell>.rm-searchable-select-trigger{border-bottom-color:var(--control-border)}
html[data-theme="dark"] .form-row>.rm-searchable-select-shell>.rm-searchable-select-trigger:hover,
html[data-theme="dark"] .form-row>.rm-searchable-select-shell>.rm-searchable-select-trigger:focus-visible,
html[data-theme="dark"] .form-row>.rm-searchable-select-shell.is-open>.rm-searchable-select-trigger{border-bottom-color:var(--primary)}
.form-row>.rm-searchable-select-shell .rm-searchable-select-search{width:100%;margin:0 0 8px;padding:7px 4px;border:0!important;border-bottom:1px solid var(--control-underline)!important;border-radius:0!important;outline:0!important;background:transparent!important;color:var(--text-main)!important;box-shadow:none!important;font-style:normal}
.form-row>.rm-searchable-select-shell .rm-searchable-select-search:hover,
.form-row>.rm-searchable-select-shell .rm-searchable-select-search:focus{border-bottom-color:var(--primary)!important;background-color:transparent!important;outline:0!important;box-shadow:inset 0 -1px 0 var(--primary)!important}
.page-context-actions .enterprise-target-picker .rm-searchable-select-trigger,.enterprise-hero .enterprise-target-picker .rm-searchable-select-trigger,.rjl-enterprise-target .rm-searchable-select-trigger{border:0;border-bottom:1px solid var(--control-border);border-radius:0;background-color:transparent;background-position:right 5px center;box-shadow:none;padding-inline:28px}
.page-context-actions .enterprise-target-picker .rm-searchable-select-trigger:hover,.page-context-actions .enterprise-target-picker .rm-searchable-select-trigger:focus-visible,.page-context-actions .enterprise-target-picker .rm-searchable-select-shell.is-open .rm-searchable-select-trigger,.enterprise-hero .enterprise-target-picker .rm-searchable-select-trigger:hover,.enterprise-hero .enterprise-target-picker .rm-searchable-select-trigger:focus-visible,.enterprise-hero .enterprise-target-picker .rm-searchable-select-shell.is-open .rm-searchable-select-trigger,.rjl-enterprise-target .rm-searchable-select-trigger:hover,.rjl-enterprise-target .rm-searchable-select-trigger:focus-visible,.rjl-enterprise-target .rm-searchable-select-shell.is-open .rm-searchable-select-trigger{border-bottom-color:color-mix(in srgb,var(--control-border) 45%,var(--text-main));background-color:transparent;box-shadow:none}
.enterprise-target-picker .rm-searchable-select-search{width:100%;margin:0 0 8px;padding:7px 4px;border:0!important;border-bottom:1px solid var(--control-border)!important;border-radius:0!important;outline:0!important;background:transparent!important;color:var(--text-main)!important;box-shadow:none!important;font-style:normal}
.enterprise-target-picker .rm-searchable-select-search:hover{border-bottom-color:var(--primary)!important;background-color:transparent!important}
.enterprise-target-picker .rm-searchable-select-search:focus{border-bottom-color:var(--primary)!important;background-color:transparent!important;outline:0!important;box-shadow:inset 0 -1px 0 var(--primary)!important}
html[data-theme="dark"] .rm-searchable-select-popup{box-shadow:0 14px 34px rgba(0,0,0,.38)}
html[data-theme="dark"] .rm-searchable-select-option.is-selected{background-color:transparent;color:var(--text-main)}
html[data-theme="dark"] .rm-searchable-select-option:hover,html[data-theme="dark"] .rm-searchable-select-option:focus-visible,html[data-theme="dark"] .rm-searchable-select-option.is-selected:hover{background-color:#b9b9b9;color:#202328}
html[data-theme="dark"] .rm-searchable-select-option:active{background-color:#a8a8a8;color:#202328}


.enterprise-policy-table select {
    appearance:none;
    -webkit-appearance:none;
    width:100%;
    min-height:34px;
    margin:0;
    padding:6px 26px 6px 2px;
    border:0;
    border-bottom:1px solid var(--control-underline);
    border-radius:0;
    background-color:transparent;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%236b7280' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat:no-repeat;
    background-position:right 2px center;
    color:var(--text-main,var(--ink));
}
.enterprise-policy-table tbody td {
    padding-block:0;
    vertical-align:bottom;
}

.enterprise-policy-table tbody th {
    background-color:transparent;
}
html[data-theme="dark"] .enterprise-policy-table tbody th {
    background-color:transparent;
}
html[data-theme="dark"] .enterprise-policy-table select,
html[data-theme="dark"] .album-dsp-search-status select,
html[data-theme="dark"] .album-dsp-search-status select:is(:hover,:focus,:focus-visible,:active) {
    background-color:transparent !important;
}
.enterprise-policy-table tbody tr:hover > th {
    background-color:var(--primary-light);
}
html[data-theme="dark"] .enterprise-policy-table tbody tr:hover > th {
    background-color:var(--raised-bg);
}
.enterprise-policy-table tbody td .enterprise-bulk-control,
.enterprise-policy-table tbody td select {
    min-height:43px;
}
.enterprise-policy-table select:hover { border-bottom-color:var(--primary); }
.enterprise-policy-table select:focus-visible {
    outline:0;
    border-bottom-color:var(--primary);
    box-shadow:inset 0 -1px 0 var(--primary);
}


.dsp-sandbox-controls-card {
    display:grid;
    grid-template-columns:var(--dsp-sandbox-upc-start, max-content) max-content minmax(0, 1fr);
    column-gap:0;
    justify-content:start;
    align-items:baseline;
}
.dsp-sandbox-controls-card > .page-context-heading { grid-column:1 / -1; grid-row:1; }
.dsp-sandbox-controls-card > .dsp-sandbox-channel-tabs { grid-column:1; grid-row:2; min-width:0; margin:0 !important; }
.dsp-sandbox-tab-label { display:inline-block; line-height:1.2; }
.dsp-sandbox-controls-card > .dsp-sftp-filter-form {
    grid-column:2;
    grid-row:2;
    margin-top:0;
}
.dsp-sandbox-controls-card > .dsp-sandbox-intro { grid-column:1 / -1; grid-row:3; }
.dsp-sandbox-controls-card--sftp > .dsp-sandbox-intro { margin-bottom:0; }
.dsp-sandbox-controls-card.is-filter-stack { grid-template-columns:minmax(0, 1fr); }
.dsp-sandbox-controls-card.is-filter-stack > .dsp-sandbox-channel-tabs {
    grid-column:1;
    grid-row:2;
    width:100%;
    justify-content:center;
}
.dsp-sandbox-controls-card.is-filter-stack > .dsp-sftp-filter-form {
    grid-column:1;
    grid-row:3;
    justify-self:center;
    margin-top:12px;
}
.dsp-sandbox-controls-card.is-filter-stack > .dsp-sandbox-intro {
    grid-column:1;
    grid-row:4;
    margin-top:12px;
}
.dsp-sftp-filter-form {
    margin-top:12px;
    display:flex;
    gap:8px;
    flex-wrap:wrap;
    align-items:end;
}
@media (min-width:641px) {
    .dsp-sftp-filter-form .rm-searchable-select-value {
        transform:translateY(var(--dsp-sandbox-filter-label-y, 0px));
    }
    .dsp-sftp-filter-form > .form-row:has(.rm-searchable-select-trigger) {
        position:relative;
    }
    .dsp-sftp-filter-form > .form-row:has(.rm-searchable-select-trigger)::after {
        content:"";
        position:absolute;
        z-index:1;
        right:0;
        bottom:0;
        left:0;
        height:1px;
        background:var(--control-underline);
        pointer-events:none;
        transform:translateY(var(--dsp-sandbox-filter-line-y, 0px));
    }
    .dsp-sftp-filter-form .rm-searchable-select-trigger {
        border-bottom-color:transparent !important;
    }
    .dsp-sftp-filter-form .rm-searchable-select-trigger:hover,
    .dsp-sftp-filter-form .rm-searchable-select-trigger:focus-visible,
    .dsp-sftp-filter-form .rm-searchable-select-shell.is-open > .rm-searchable-select-trigger {
        box-shadow:none !important;
    }
    .dsp-sftp-filter-form > .form-row:has(.rm-searchable-select-trigger:hover)::after,
    .dsp-sftp-filter-form > .form-row:has(.rm-searchable-select-trigger:focus-visible)::after,
    .dsp-sftp-filter-form > .form-row:has(.rm-searchable-select-shell.is-open)::after {
        background:var(--primary);
        height:2px;
    }
    html[data-theme="dark"] .dsp-sftp-filter-form > .form-row:has(.rm-searchable-select-trigger:hover)::after,
    html[data-theme="dark"] .dsp-sftp-filter-form > .form-row:has(.rm-searchable-select-trigger:focus-visible)::after,
    html[data-theme="dark"] .dsp-sftp-filter-form > .form-row:has(.rm-searchable-select-shell.is-open)::after {
        background:var(--dark-action-accent);
    }
}
.dsp-sftp-status-pair {
    display:inline-flex;
    align-items:center;
    gap:10px;
}
.dsp-sftp-history-table .dsp-sftp-status-pair > .status-badge:first-child {
    width:68px;
}
.team-mobile-impersonate-cell { display:none; }


@media (min-width:641px) and (max-width:1120px) {
    .album-filter-bar,
    .album-filter-bar .filter-bar-row1,
    .album-filter-bar .filter-bar-row2 {
        width:100%;
        min-width:0;
        max-width:100%;
        flex-wrap:wrap !important;
    }
    .album-filter-bar .filter-bar-row1 > *,
    .album-filter-bar .filter-bar-row2 > * {
        min-width:0;
        max-width:100%;
        flex:1 1 180px;
    }
}
@media (max-width:640px) {
    
    .team-list-table.rm-mobile-card-table > thead { display:none !important; }
}
.track-view-audio-download .track-view-download-label { display:inline-block !important; }
.track-view-audio-download .track-view-download-icon { display:none !important; }
.track-view-title {
    display:flex;
    align-items:center;
    min-width:0;
    margin:0 0 4px;
}
.track-view-title-main {
    display:flex;
    align-items:center;
    gap:9px;
    min-width:0;
    max-width:100%;
}
.track-view-title-icon {
    display:inline-block;
    flex:0 0 22px;
    color:var(--primary);
}
.track-view-title-text {
    display:block;
    min-width:0;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}
@media (min-width:641px) {
    
    .track-view-hero-copy:has(> .modified-banner) {
        display:flex;
        flex-direction:column;
        gap:26px;
    }
    .track-view-hero-copy:has(> .modified-banner) > .track-view-title {
        margin-bottom:0;
    }
}
.track-view-audio-duration {
    color:var(--muted);
    font-size:13px;
    font-variant-numeric:tabular-nums;
    white-space:nowrap;
}


html:not([data-theme="dark"]) .sidebar-link {
    width:calc(100% - 16px);
    margin-inline:8px;
    padding-inline:8px;
    border-radius:8px;
}
html:not([data-theme="dark"]) .sidebar-link:hover:not(.is-active),
html:not([data-theme="dark"]) .sidebar-link:focus-visible:not(.is-active) {
    background:color-mix(in srgb,var(--primary) 10%,transparent);
    color:var(--primary);
    outline:none;
}
html:not([data-theme="dark"]) .sidebar-link:hover:not(.is-active) .sidebar-icon,
html:not([data-theme="dark"]) .sidebar-link:focus-visible:not(.is-active) .sidebar-icon {
    color:var(--primary);
    opacity:1;
}
html:not([data-theme="dark"]) .sidebar-link.is-active,
html:not([data-theme="dark"]) .sidebar-link.is-active:hover {
    background:color-mix(in srgb,var(--primary) 14%,transparent);
    color:var(--primary);
    border-radius:8px;
}

html[data-theme="dark"] .topbar .nav-dropdown-toggle:hover,
html[data-theme="dark"] .topbar .nav-dropdown-toggle:focus-visible,
html[data-theme="dark"] .topbar .nav-dropdown-toggle.open,
html[data-theme="dark"] .topbar .nav-user-toggle:hover,
html[data-theme="dark"] .topbar .nav-user-toggle:focus-visible,
html[data-theme="dark"] .topbar .nav-user-toggle[aria-expanded="true"],
html[data-theme="dark"] .topbar .nav-bell-toggle:hover,
html[data-theme="dark"] .topbar .nav-bell-toggle:focus-visible,
html[data-theme="dark"] .topbar .nav-bell-toggle[aria-expanded="true"],
html[data-theme="dark"] .topbar .theme-toggle:hover,
html[data-theme="dark"] .topbar .theme-toggle:focus-visible {
    background:color-mix(in srgb,var(--topbar-contrast) 13%,transparent) !important;
    color:var(--topbar-contrast) !important;
    border-color:color-mix(in srgb,var(--topbar-contrast) 24%,transparent);
    border-radius:8px;
    outline:none;
}
html[data-theme="dark"] .topbar .nav-dropdown-toggle:focus-visible,
html[data-theme="dark"] .topbar .nav-user-toggle:focus-visible,
html[data-theme="dark"] .topbar .nav-bell-toggle:focus-visible,
html[data-theme="dark"] .topbar .theme-toggle:focus-visible {
    box-shadow:0 0 0 3px color-mix(in srgb,var(--topbar-contrast) 24%,transparent);
}
html[data-theme="dark"] .topbar .nav-dropdown-menu a:hover,
html[data-theme="dark"] .topbar .nav-dropdown-menu a:focus-visible {
    background:color-mix(in srgb,var(--topbar-contrast) 86%,var(--semantic-accent));
    color:var(--topbar-bg) !important;
    outline:none;
}
html[data-theme="dark"] .topbar .nav-dropdown-menu a:active {
    background:color-mix(in srgb,var(--topbar-contrast) 74%,var(--semantic-accent));
    color:var(--topbar-bg) !important;
    transform:translateY(1px);
}
html[data-theme="dark"] .topbar .nav-dropdown-menu a:hover .nav-menu-icon,
html[data-theme="dark"] .topbar .nav-dropdown-menu a:focus-visible .nav-menu-icon {
    color:var(--topbar-bg) !important;
    opacity:1;
}

html[data-theme="dark"] .topbar .nav-dropdown-toggle:hover,
html[data-theme="dark"] .topbar .nav-dropdown-toggle.open {
    background:transparent !important;
    color:color-mix(in srgb,var(--topbar-contrast) 82%,transparent) !important;
    border-color:transparent !important;
    border-radius:0;
    box-shadow:none;
}
html[data-theme="dark"] .topbar .nav-dropdown-toggle:focus-visible {
    background:transparent !important;
    color:color-mix(in srgb,var(--topbar-contrast) 82%,transparent) !important;
    border-color:transparent !important;
    border-radius:0;
    box-shadow:none;
    text-decoration:underline;
    text-decoration-thickness:2px;
    text-underline-offset:5px;
}

html[data-theme="dark"] .topbar .nav-dropdown-menu a:hover,
html[data-theme="dark"] .topbar .nav-dropdown-menu a:focus-visible {
    background:var(--primary-light) !important;
    color:var(--primary) !important;
    outline:none;
}
html[data-theme="dark"] .topbar .nav-dropdown-menu a:active {
    background:color-mix(in srgb,var(--primary) 16%,#fff) !important;
    color:var(--primary) !important;
}
html[data-theme="dark"] .topbar .nav-dropdown-menu a:hover .nav-menu-icon,
html[data-theme="dark"] .topbar .nav-dropdown-menu a:focus-visible .nav-menu-icon {
    color:var(--primary) !important;
    opacity:1;
}
html[data-theme="dark"] .sidebar-link:hover:not(.is-active),
html[data-theme="dark"] .sidebar-link:focus-visible:not(.is-active) {
    background:var(--primary-light) !important;
    color:var(--primary) !important;
    border-radius:8px;
    outline:none;
}
html[data-theme="dark"] .sidebar-link:hover:not(.is-active) .sidebar-icon,
html[data-theme="dark"] .sidebar-link:focus-visible:not(.is-active) .sidebar-icon {
    color:var(--primary) !important;
    opacity:1;
}
html[data-theme="dark"] .sidebar-link.is-active,
html[data-theme="dark"] .sidebar-link.is-active:hover,
html[data-theme="dark"] .sidebar-link.is-active:focus-visible {
    background:color-mix(in srgb,var(--primary) 16%,#fff) !important;
    color:var(--primary) !important;
    border-color:transparent !important;
    border-radius:8px;
}
html[data-theme="dark"] .sidebar-link.is-active .sidebar-icon,
html[data-theme="dark"] .sidebar-link.is-active:hover .sidebar-icon,
html[data-theme="dark"] .sidebar-link.is-active:focus-visible .sidebar-icon {
    color:var(--primary) !important;
    opacity:1;
}

html[data-theme="dark"] .app-main,
html[data-theme="dark"] #rmContent {
    background-color:var(--surface-bg) !important;
}

html[data-theme="dark"] #rmContent > .card:has(> .catalog-list-heading) {
    background-color:transparent !important;
    border-color:transparent !important;
    box-shadow:none !important;
}


.dsp-logo-library-item { grid-template-columns:46px minmax(0,1fr) auto;column-gap:9px; }
@media(max-width:760px) {
    .dsp-logo-library-item { grid-template-columns:46px minmax(0,1fr) auto;column-gap:9px; }
}

.store-icon-setting-row{display:flex;align-items:center;gap:10px;min-width:0}.store-icon-library-open{flex:0 0 auto;min-height:36px;white-space:nowrap}.store-icon-library-modal .modal-box{width:min(980px,calc(100vw - 32px));max-height:min(760px,calc(100vh - 32px));display:flex;flex-direction:column}.store-icon-library-heading{align-items:flex-start;gap:18px}.store-icon-library-heading h2{margin:0 0 4px}.store-icon-library-close{display:inline-flex;align-items:center;justify-content:center;flex:0 0 40px;width:40px;height:40px;padding:0}.store-icon-library-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:10px;overflow:auto;padding:4px 2px 6px}.store-icon-library-choice{display:grid;grid-template-columns:46px minmax(0,1fr);align-items:center;gap:10px;min-width:0;min-height:70px;padding:10px 12px;border:1px solid var(--table-border);border-radius:9px;background:var(--raised-bg);color:var(--text-main);text-align:left}.store-icon-library-choice>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.store-icon-library-choice:hover,.store-icon-library-choice:focus-visible{background:color-mix(in srgb,var(--primary) 9%,var(--raised-bg));border-color:color-mix(in srgb,var(--primary) 58%,var(--table-border));color:var(--text-main);outline:none}.store-icon-library-choice:focus-visible{box-shadow:0 0 0 3px color-mix(in srgb,var(--primary) 22%,transparent)}.store-icon-library-choice.is-selected{background:color-mix(in srgb,var(--primary) 13%,var(--raised-bg));border-color:var(--primary);box-shadow:inset 3px 0 0 var(--primary)}.store-icon-library-mark{width:42px!important;min-width:42px!important;height:42px!important}.store-icon-library-mark>img{width:100%;height:100%;object-fit:contain}.store-icon-library-choice.is-none .dsp-logo-mark{width:42px;min-width:42px;height:42px}
@media(max-width:700px){.store-icon-setting-row{align-items:stretch;flex-wrap:wrap}.store-icon-setting-row .file-input-wrap{min-width:calc(100% - 84px)}.store-icon-library-open{width:100%;min-height:44px}.store-icon-library-modal .modal-box{width:calc(100vw - 20px);max-height:calc(100vh - 20px);padding:16px}.store-icon-library-grid{grid-template-columns:1fr}.store-icon-library-choice{min-height:64px}}
.store-icon-library-modal .modal-box{max-width:min(980px,calc(100vw - 32px))}
@media(max-width:700px){.store-icon-library-modal .modal-box{max-width:calc(100vw - 20px)}.store-icon-library-close{width:44px;height:44px;flex-basis:44px}}


.store-icon-setting-row .file-input-wrap{
    flex:1 1 auto;
    min-width:0;
    flex-wrap:nowrap;
    align-items:center;
}
.store-icon-setting-row .file-input-filename{
    min-width:0;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}
.store-icon-setting-row .store-icon-upload-label{
    display:inline-flex;
    margin:0;
    height:36px;
    min-height:36px;
    padding:6px 16px;
    background:#fff;
    border:1px solid var(--primary);
    color:var(--primary);
    font-family:var(--font-family-control);
    font-size:.875rem;
    font-weight:500;
    line-height:1.75;
    text-transform:uppercase;
    transition:background-color 250ms cubic-bezier(.4,0,.2,1),border 250ms cubic-bezier(.4,0,.2,1),box-shadow 250ms cubic-bezier(.4,0,.2,1),color 250ms cubic-bezier(.4,0,.2,1);
}
.store-icon-setting-row .store-icon-upload-label:hover,
.store-icon-setting-row .file-input-wrap:focus-within .store-icon-upload-label{
    background:var(--primary-light);
    border-color:var(--primary);
    color:var(--primary);
}
.store-icon-setting-row .file-input-wrap:focus-within .store-icon-upload-label{
    box-shadow:0 0 0 3px color-mix(in srgb,var(--primary) 22%,transparent);
}
html[data-theme="dark"] .store-icon-setting-row .store-icon-upload-label{
    background:transparent!important;
    border-color:var(--text-muted)!important;
    color:var(--text-main)!important;
    opacity:.84;
}
html[data-theme="dark"] .store-icon-setting-row .store-icon-upload-label:hover,
html[data-theme="dark"] .store-icon-setting-row .file-input-wrap:focus-within .store-icon-upload-label{
    background:var(--text-main)!important;
    border-color:var(--text-main)!important;
    color:var(--page-bg)!important;
    opacity:1;
}
@media(max-width:700px){.store-icon-setting-row .store-icon-upload-label{min-height:44px;height:44px}}
@media(max-width:700px){.dsp-status-chip-group{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.dsp-status-chip{width:100%;min-width:0;max-width:none;min-height:44px}}

@media(max-width:760px){
    :is(.enterprise-all-dsp-card,.album-dsp-search-status)>.rm-searchable-select-shell .rm-searchable-select-option{
        display:flex;
        align-items:center;
        justify-content:center;
        min-height:44px;
    }
}


:is(.enterprise-all-dsp-card,.album-dsp-search-status)>.rm-searchable-select-shell>.rm-searchable-select-trigger {
    background-color:color-mix(in srgb,var(--primary) 4%,var(--surface-soft));
}
:is(.enterprise-all-dsp-card,.album-dsp-search-status)>.rm-searchable-select-shell .rm-searchable-select-option {
    background:var(--surface-bg);
    color:var(--text-main);
    text-align:center;
}
html:not([data-theme="dark"]) :is(.enterprise-all-dsp-card,.album-dsp-search-status)>.rm-searchable-select-shell .rm-searchable-select-option:is(:hover,:focus-visible){
    background-color:color-mix(in srgb,var(--primary) 10%,var(--surface-bg));
    color:var(--primary);
    outline:none;
}
html[data-theme="dark"] :is(.enterprise-all-dsp-card,.album-dsp-search-status)>.rm-searchable-select-shell .rm-searchable-select-option:is(:hover,:focus-visible){
    background-color:var(--primary-light);
    color:var(--primary);
    outline:none;
}
html:not([data-theme="dark"]) :is(.enterprise-all-dsp-card,.album-dsp-search-status)>.rm-searchable-select-shell>.rm-searchable-select-trigger {
    background-color:#F7F8FC;
}
html[data-theme="dark"] :is(.enterprise-all-dsp-card,.album-dsp-search-status)>.rm-searchable-select-shell>.rm-searchable-select-trigger {
    background-color:#091017 !important;
}

.enterprise-all-dsp-card:hover {
    border-color:color-mix(in srgb,var(--table-border) 82%,transparent);
    background:color-mix(in srgb,var(--primary) 3%,var(--surface-bg));
    box-shadow:0 2px 10px color-mix(in srgb,#000 6%,transparent);
    transform:none;
}
.enterprise-all-dsp-card:focus-within,
.enterprise-all-dsp-card:active {
    background:color-mix(in srgb,var(--primary) 3%,var(--surface-bg));
    box-shadow:0 2px 10px color-mix(in srgb,#000 6%,transparent);
    transform:none;
}
.enterprise-all-dsp-card.is-connected:hover,
.enterprise-all-dsp-card.is-connected:focus-within,
.enterprise-all-dsp-card.is-connected:active {
    border-color:color-mix(in srgb,var(--primary) 30%,var(--table-border));
}
html[data-theme="dark"] .enterprise-all-dsp-card:hover {
    border-color:color-mix(in srgb,var(--table-border) 82%,transparent);
    background:#091218;
    box-shadow:inset 0 1px 0 color-mix(in srgb,var(--text-main) 4%,transparent),0 8px 24px color-mix(in srgb,#000 18%,transparent);
    transform:none;
}
html[data-theme="dark"] .enterprise-all-dsp-card:focus-within,
html[data-theme="dark"] .enterprise-all-dsp-card:active {
    background:#091218;
    box-shadow:inset 0 1px 0 color-mix(in srgb,var(--text-main) 4%,transparent),0 8px 24px color-mix(in srgb,#000 18%,transparent);
    transform:none;
}
html[data-theme="dark"] .enterprise-all-dsp-card.is-connected:hover,
html[data-theme="dark"] .enterprise-all-dsp-card.is-connected:focus-within,
html[data-theme="dark"] .enterprise-all-dsp-card.is-connected:active {
    border-color:color-mix(in srgb,var(--dsp-accent) 38%,var(--table-border));
}
:is(.enterprise-all-dsp-card,.album-dsp-search-status)>.rm-searchable-select-shell>.rm-searchable-select-trigger:hover {
    background-color:color-mix(in srgb,var(--primary) 8%,#F7F8FC) !important;
    border-color:color-mix(in srgb,var(--primary) 58%,var(--control-border)) !important;
    box-shadow:0 5px 14px color-mix(in srgb,var(--primary) 12%,transparent);
}
:is(.enterprise-all-dsp-card,.album-dsp-search-status)>.rm-searchable-select-shell>.rm-searchable-select-trigger:focus-visible,
:is(.enterprise-all-dsp-card,.album-dsp-search-status)>.rm-searchable-select-shell.is-open>.rm-searchable-select-trigger {
    background-color:color-mix(in srgb,var(--primary) 8%,#F7F8FC) !important;
    border-color:var(--primary) !important;
}
html[data-theme="dark"] :is(.enterprise-all-dsp-card,.album-dsp-search-status)>.rm-searchable-select-shell>.rm-searchable-select-trigger:hover {
    background-color:color-mix(in srgb,var(--dsp-accent) 10%,#091017) !important;
    border-color:color-mix(in srgb,var(--dsp-accent) 62%,var(--control-border)) !important;
    box-shadow:0 5px 16px color-mix(in srgb,#000 28%,transparent);
}
html[data-theme="dark"] :is(.enterprise-all-dsp-card,.album-dsp-search-status)>.rm-searchable-select-shell>.rm-searchable-select-trigger:focus-visible,
html[data-theme="dark"] :is(.enterprise-all-dsp-card,.album-dsp-search-status)>.rm-searchable-select-shell.is-open>.rm-searchable-select-trigger {
    background-color:color-mix(in srgb,var(--dsp-accent) 10%,#091017) !important;
    border-color:var(--dsp-accent) !important;
}
@media(max-width:700px){.rm-searchable-select-popup{position:fixed;left:14px;right:14px;top:calc(var(--rm-mobile-viewport-mid-y,50vh) - 190px);width:auto;max-width:none;max-height:380px}.rm-searchable-select-options{max-height:300px}}
@media(max-width:700px){:is(.enterprise-all-dsp-card,.album-dsp-search-status)>.rm-searchable-select-shell>.rm-searchable-select-popup{position:absolute;left:0;right:auto;top:calc(100% + 5px);width:100%;max-width:none;max-height:none}}
@media(max-width:700px){.filter-bar>.rm-searchable-select-shell,.filter-bar-row1>.rm-searchable-select-shell,.filter-bar-row2>.rm-searchable-select-shell{width:100%;max-width:none;flex-basis:100%}}
@media(max-width:640px){.rm-settings-sticky-wrap:has(.rm-searchable-select-shell.is-open){position:relative;z-index:1301}}


.rm-list-enterprise-helper{
    position:fixed;
    left:50%;
    top:14px;
    transform:translateX(-50%) rotateY(-64deg);
    transform-origin:50% 50%;
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transition:transform .56s cubic-bezier(.22,.68,.28,1),opacity .42s ease,visibility 0s linear .56s;
    z-index:1400;
    width:clamp(170px,20vw,380px);
    padding:0;
    border:0;
    border-radius:999px;
    background:transparent;
    box-shadow:none;
    backdrop-filter:none;
}
.rm-list-enterprise-helper.is-initializing{transition:none!important}
.rm-list-enterprise-helper.is-visible{
    transform:translateX(-50%) translateY(0) rotateY(0);
    opacity:1;
    visibility:visible;
    pointer-events:auto;
    transition-delay:0s;
}
.rm-view-enterprise-helper{
    display:none;
    align-items:center;
    justify-content:center;
    height:36px;
    min-width:42px;
    padding:5px 10px;
    overflow:hidden;
    border:1px solid color-mix(in srgb,var(--topbar-contrast,#fff) 44%,transparent);
    border-radius:10px;
    background:color-mix(in srgb,var(--topbar-contrast,#fff) 10%,transparent);
    color:var(--topbar-contrast,#fff);
    font-size:11px;
    line-height:1.2;
    text-align:center;
    white-space:nowrap;
    text-overflow:ellipsis;
    pointer-events:none;
    box-sizing:border-box;
}
.rm-list-enterprise-helper.rm-view-enterprise-helper{
    pointer-events:none;
}
.rm-list-enterprise-helper .rm-searchable-select-trigger{
    height:36px;min-height:36px;max-height:36px;padding:5px 31px;
    border:1px solid color-mix(in srgb,var(--topbar-contrast,#fff) 44%,transparent);
    border-radius:999px;background-color:color-mix(in srgb,var(--topbar-contrast,#fff) 10%,transparent);
    background-image:none!important;color:var(--topbar-contrast,#fff);font-size:13px;justify-content:center;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis
}
.rm-list-enterprise-helper .rm-searchable-select-trigger:hover,
.rm-list-enterprise-helper .rm-searchable-select-trigger:focus-visible,
.rm-list-enterprise-helper .rm-searchable-select-shell.is-open .rm-searchable-select-trigger{
    border-color:color-mix(in srgb,var(--topbar-contrast,#fff) 72%,transparent);
    background-color:color-mix(in srgb,var(--topbar-contrast,#fff) 16%,transparent);
    box-shadow:none;outline:0
}
.rm-list-enterprise-helper .rm-searchable-select-popup{top:calc(100% + 7px);bottom:auto;left:50%;transform:translateX(-50%);width:max(250px,100%)}

.rm-list-enterprise-helper .rm-searchable-select-trigger.rm-btn-loading::after{
    border-color:rgb(255 255 255 / 34%);
    border-top-color:#fff;
}
html[data-theme="dark"] .rm-list-enterprise-helper{background:transparent;box-shadow:none}
html[data-theme="dark"] .rm-list-enterprise-helper .rm-searchable-select-option:hover,
html[data-theme="dark"] .rm-list-enterprise-helper .rm-searchable-select-option:focus-visible,
html[data-theme="dark"] .rm-list-enterprise-helper .rm-searchable-select-option:active,
html[data-theme="dark"] .rm-list-enterprise-helper .rm-searchable-select-option.is-selected:hover{
    background-color:var(--primary-light)!important;
    color:var(--primary)!important;
}
html[data-theme="dark"] .enterprise-target-picker .rm-searchable-select-option:hover,
html[data-theme="dark"] .enterprise-target-picker .rm-searchable-select-option:focus-visible,
html[data-theme="dark"] .enterprise-target-picker .rm-searchable-select-option:active,
html[data-theme="dark"] .enterprise-target-picker .rm-searchable-select-option.is-selected:hover{
    background-color:var(--primary-light)!important;
    color:var(--primary)!important;
}
.enterprise-directory-toolbar{align-items:center;margin-bottom:14px}
.enterprise-directory-toolbar h3{margin:0}
@media(max-width:640px){
    .enterprise-shell:has(> .enterprise-directory-card) > .enterprise-settings-sticky-wrap{margin-bottom:0}
    .enterprise-shell > .enterprise-directory-card{padding-top:8px}
    .enterprise-directory-toolbar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:center;gap:10px;margin-bottom:16px}
    .enterprise-directory-toolbar .btn{align-self:center;white-space:normal;text-align:center;min-width:0;min-height:44px;margin:0}
    .enterprise-directory-toolbar h3{min-width:0;margin:0}
    .enterprise-directory-filter{margin-top:0}
}


.rm-tool-path-code{
    display:inline-block;
    padding:6px 10px;
    border:1px solid var(--control-border);
    border-radius:6px;
    background:var(--input-bg,var(--raised-bg));
    color:var(--text-main);
    font-family:var(--font-family-monospace,ui-monospace,SFMono-Regular,Consolas,monospace);
    font-size:13px;
}
.rm-tool-path-code--compact{padding:2px 6px;border-radius:4px}
.rm-tool-progress-track{height:10px;overflow:hidden;border-radius:8px;background:var(--surface-soft)}
.rm-tool-notice{margin:12px 0;padding:10px 14px;border:1px solid transparent;border-radius:8px;font-size:13px;line-height:1.45}
.rm-tool-notice--warning{
    border-color:var(--table-border);
    background:var(--surface-soft);
    color:var(--text-main);
}
.rm-ddex-manifest-body{
    width:100%;
    height:62vh;
    box-sizing:border-box;
    border-color:var(--control-border);
    background:var(--input-bg,var(--raised-bg));
    color:var(--text-main);
    font-family:var(--font-family-monospace,ui-monospace,SFMono-Regular,Consolas,monospace);
    font-size:12px;
    white-space:pre;
}
@media(max-width:760px){
    .rm-view-enterprise-helper-source{display:none!important}
    .rm-view-enterprise-helper{display:inline-flex}
    
    .enterprise-target-picker:not(.rm-list-enterprise-helper) .rm-searchable-select-trigger{
        justify-content:center;
        text-align:center;
        padding-left:28px;
        padding-right:28px;
        white-space:nowrap;
        overflow:hidden;
        text-overflow:ellipsis;
    }
    
    .rm-list-enterprise-helper{left:50%;right:auto;top:8px;transform:translateX(-50%) rotateY(-64deg);width:auto;min-width:42px;max-width:130px;padding:0;border:0;border-radius:9px;background:transparent;box-shadow:none}
    .rm-list-enterprise-helper.rm-view-enterprise-helper{
        padding:5px 10px;
        border:1px solid color-mix(in srgb,var(--topbar-contrast,#fff) 58%,transparent);
        border-radius:10px;
        background:color-mix(in srgb,var(--topbar-contrast,#fff) 10%,transparent);
    }
    .rm-list-enterprise-helper.is-visible{transform:translateX(-50%) rotateY(0)}
    .rm-list-enterprise-helper .rm-searchable-select-trigger{height:44px;min-height:44px;max-height:44px;padding:5px 10px;padding-inline:10px;justify-content:center;border-color:color-mix(in srgb,var(--topbar-contrast,#fff) 44%,transparent);border-radius:10px;background-color:color-mix(in srgb,var(--topbar-contrast,#fff) 10%,transparent);background-image:none!important;color:var(--topbar-contrast,#fff);font-size:11px}
    .rm-list-enterprise-helper .rm-searchable-select-trigger:hover,.rm-list-enterprise-helper .rm-searchable-select-trigger:focus-visible,.rm-list-enterprise-helper .rm-searchable-select-shell.is-open .rm-searchable-select-trigger{border-color:color-mix(in srgb,var(--topbar-contrast,#fff) 72%,transparent);background-color:color-mix(in srgb,var(--topbar-contrast,#fff) 16%,transparent);color:var(--topbar-contrast,#fff);box-shadow:none}
    html[data-theme="dark"] .rm-list-enterprise-helper{background:transparent;box-shadow:none}
    
    .rm-list-enterprise-helper .rm-searchable-select-popup{position:fixed;left:50%;right:auto;top:calc(var(--rm-mobile-viewport-mid-y,50vh) - 190px);bottom:auto;width:calc(100vw - 28px);max-width:420px;transform:translateX(calc(-50% - var(--rm-helper-popup-offset-x,0px)))}
}
@media(max-width:640px){
    
    .topbar .topnav > a:first-child{display:none}
}
@media(max-width:380px){
    .topbar .topnav>a,.topbar .mobile-menu-toggle{padding-inline:6px;font-size:13px}
    .topbar .topbar-account{gap:2px}
    .topbar .nav-bell-toggle,.topbar .nav-user-toggle{min-width:38px;width:38px}
    .topbar #rmThemeToggle{min-width:36px;width:36px;padding-inline:6px}
}
@media(prefers-reduced-motion:reduce){
    .rm-list-enterprise-helper{transition:opacity .01ms linear,visibility 0s linear .01ms;transform:translateX(-50%)}
    .rm-list-enterprise-helper.is-visible{transform:translateX(-50%)}
}
@media(max-width:760px) and (prefers-reduced-motion:reduce){
    .rm-list-enterprise-helper,.rm-list-enterprise-helper.is-visible{transform:translateX(-50%)}
}


.rjl-page-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:24px}
.rjl-page-heading-copy{min-width:0;flex:1 1 auto}
.rjl-page-heading-copy h2{margin-top:0}
.rjl-page-heading-copy .hint-text{margin-bottom:0}
.rjl-enterprise-target{flex:0 0 min(300px,34%);width:auto}
.rjl-enterprise-target:not(.rm-list-enterprise-helper) > :is(.rm-searchable-select-shell,select){width:100%;max-width:none;margin-inline:0}
.rjl-query-tools{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:12px}
.rjl-query-form{flex:1 1 520px;width:auto;margin-top:0}
.rjl-query-tools .rjl-dsp-filter-summary{flex:0 0 auto;margin-top:0}
@media(max-width:760px){
    .rjl-page-heading{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
    .rjl-enterprise-target{width:100%;max-width:none}
    .rjl-query-tools{align-items:stretch}
    .rjl-query-form{flex-basis:100%}
    .rjl-query-tools .rjl-dsp-filter-summary{margin-top:0}
}
.catalog-party-toggle {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:7px;
    min-width:0;
    max-width:100%;
    white-space:normal;
    perspective:500px;
    -webkit-tap-highlight-color:transparent;
}
.catalog-party-toggle:active span { transform:rotateY(12deg); }
.catalog-party-toggle span { transition:transform .32s ease; }
.catalog-party-swap-icon {
    display:block;
    flex:0 0 18px;
    width:18px;
    height:18px;
    overflow:visible;
    color:currentColor;
    fill:none;
    stroke:currentColor;
    stroke-width:1.65;
    stroke-linecap:round;
    stroke-linejoin:round;
    pointer-events:none;
}
.team-identity-flip .catalog-party-swap-icon { width:16px; height:16px; flex-basis:16px; }


.email-template-sender-summary {
    margin: 14px 0 18px;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-left: 3px solid var(--catalog-accent);
    border-radius: 8px;
    background: var(--surface-soft);
}
.email-template-sender-summary h3 {
    margin: 0 0 8px;
    font-size: 15px;
}
.email-template-sender-summary .hint-text {
    margin: 7px 0;
}
.email-template-sender-identity {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 4px 7px;
    margin: 0;
}
.email-template-sender-identity > span:first-child {
    color: var(--text-muted);
}
.email-template-sender-address {
    color: var(--text-muted);
    overflow-wrap: anywhere;
}

.email-template-editor-card {
    max-width: none;
    container-type: inline-size;
}
.email-template-editor-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}
.email-template-editor-grid > form { min-width: 0; }
.email-template-live-preview {
    min-width: 0;
    padding: 22px 0 0;
    border: 0;
    border-top: 1px solid var(--table-border);
    border-radius: 0;
    background: transparent;
}
.email-template-live-preview-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}
.email-template-live-preview-heading h3 { margin: 0; font-size: 20px; line-height: 1.25; }
.email-template-live-preview-heading .hint-text { margin: 0; }
.email-template-preview-frame-shell {
    overflow: hidden;
    border: 1px solid var(--table-border);
    border-radius: 10px;
    background: #f4f6f5;
    box-shadow: 0 10px 28px color-mix(in srgb, var(--text-main) 9%, transparent);
}
.email-template-preview-frame-shell iframe {
    display: block;
    width: 100%;
    height: clamp(620px, 72vh, 820px);
    border: 0;
    background: #f4f6f5;
    touch-action: pan-y;
    overscroll-behavior: contain;
}
@container (min-width: 700px) {
    .email-template-editor-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: clamp(20px, 2.4cqi, 30px);
    }
    .email-template-live-preview {
        padding-top: 0;
        border-top: 0;
    }
}
@media (max-width: 760px) {
    .email-template-editor-grid { gap: 20px; }
    .email-template-live-preview { padding-top: 20px; }
    .email-template-preview-frame-shell { border-radius: 8px; }
    .email-template-preview-frame-shell iframe { height: 620px; }
}
@media (max-width: 640px) {
    .email-template-editor-actions,
    .email-template-signature-actions,
    #emailTemplateDefaultModal .btn-row {
        display:grid;
        grid-template-columns:repeat(2,minmax(0,1fr));
        width:100%;
        gap:8px;
    }
    .email-template-editor-actions > *,
    .email-template-signature-actions > *,
    #emailTemplateDefaultModal .btn-row > * {
        width:100%;
        min-width:0;
        max-width:100%;
        min-height:44px;
        height:100%;
        margin:0;
        padding-inline:8px;
        white-space:normal;
        line-height:1.25;
    }
    .email-template-editor-actions > :last-child:nth-child(odd),
    .email-template-signature-actions > :last-child:nth-child(odd),
    #emailTemplateDefaultModal .btn-row > :last-child:nth-child(odd) {
        grid-column:1/-1;
    }
}
.catalog-party-cell {
    width:clamp(132px,12vw,160px);
    min-width:clamp(132px,12vw,160px);
    max-width:clamp(132px,12vw,160px);
    box-sizing:border-box;
    text-align:center;
    vertical-align:middle;
    perspective:500px;
}
.catalog-party-cell .catalog-party-content,
.catalog-party-cell > a {
    display:inline-block;
    width:100%;
    box-sizing:border-box;
    text-align:center;
    animation:catalog-party-flip-in .42s cubic-bezier(.22,.7,.28,1);
    transform-origin:center;
    backface-visibility:hidden;
}
@keyframes catalog-party-flip-in {
    from { opacity:.25; transform:rotateY(-72deg) translateX(-4px); }
    to { opacity:1; transform:rotateY(0) translateX(0); }
}
@media (prefers-reduced-motion:reduce) {
    .catalog-party-cell .catalog-party-content,
    .catalog-party-cell > a { animation:none; }
    .catalog-party-toggle span { transition:none; }
}
@media (max-width:640px) {
    .catalog-party-toggle { width:100%; }
}

.mobile-two-line {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    overflow-wrap: anywhere;
}
.delivery-mobile-view { display: none; }
table.data-table.tickets-list-table .ticket-id-column {
    width: 84px;
    min-width: 84px;
    max-width: 84px;
    text-align: center !important;
    white-space: nowrap;
}
.ticket-participants-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    padding: 5px 8px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface-soft);
    color: var(--text-muted);
    font: inherit;
    font-size: 12px;
    cursor: pointer;
}
.ticket-participants-toggle:is(:hover, :focus-visible, :active, [aria-expanded="true"]) {
    border-color: var(--primary);
    background: var(--primary);
    color: var(--primary-contrast);
}
html[data-theme="dark"] .ticket-participants-toggle:is(:hover, :focus-visible, :active, [aria-expanded="true"]) {
    border-color: var(--text-main);
    background: var(--text-main);
    color: var(--page-bg);
}
.ticket-participants-toggle svg { flex: 0 0 auto; }
.ticket-participants-panel[hidden] { display: none; }
.ticket-participants-panel > td { padding: 0 !important; }
.ticket-participants-content { display: grid; gap: 8px; padding: 12px 16px; background: var(--surface-soft); }
.ticket-participant-item {
    display: grid;
    grid-template-columns: minmax(120px, 1fr) minmax(90px, .45fr) max-content;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 9px 10px;
    border: 1px solid var(--border);
    border-radius: 9px;
    background: var(--surface);
}
.ticket-participant-name {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
    font-weight: 600;
}
.ticket-participant-role {
    grid-column: 1;
    grid-row: 1;
    color: var(--text-muted);
    font-size: 12px;
}
.ticket-participant-code {
    grid-column: -2 / -1;
    grid-row: 1;
    color: var(--text-muted);
    font-size: 12px;
    white-space: nowrap;
}
.settings-inline-section { margin: 22px 0; padding: 18px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface-soft); }
.settings-inline-section > h3 { margin: 0 0 6px; }
.isrc-lookup-entry-form { margin:16px 0; display:flex; gap:8px; flex-wrap:wrap; align-items:flex-end; }
.isrc-lookup-entry-field { flex:1 1 280px; min-width:0; margin-bottom:0; }
.isrc-lookup-entry-actions { display:grid; grid-auto-flow:column; grid-auto-columns:minmax(0,1fr); gap:8px; align-items:stretch; }
.isrc-lookup-entry-actions > button { display:inline-flex; align-items:center; justify-content:center; width:100%; min-height:44px; white-space:normal; text-align:center; }
#isrcBulkBar { display:flex; align-items:center; flex-wrap:wrap; gap:10px; margin:12px 0 16px; padding:0; border:0; border-radius:0; background:transparent; box-shadow:none; }
.isrc-find-upc-section { margin:16px 0; padding:0; border:0; background:transparent; box-shadow:none; }


.isrc-bulk-review-page .isrc-bulk-review-item {
    margin:0 0 8px;
    padding:0;
    border:1px solid var(--table-border);
    border-radius:10px;
    background:var(--raised-bg);
    color:var(--text-main);
    overflow:hidden;
}
.isrc-bulk-review-page .isrc-bulk-review-item.collapsed {
    padding:0;
    border-left:3px solid var(--primary);
    border-radius:10px;
    background:var(--raised-bg);
}
.isrc-bulk-review-page .isrc-bulk-review-item .track-block-header,
.isrc-bulk-review-page .isrc-bulk-review-item.collapsed .track-block-header {
    min-height:60px;
    padding:10px 12px;
    background:color-mix(in srgb,var(--primary) 5%,var(--raised-bg));
    color:var(--text-main);
}
.isrc-bulk-review-page .isrc-bulk-review-item .track-block-body {
    padding:12px;
    background:var(--surface-bg);
    color:var(--text-main);
}
.isrc-bulk-review-page .isrc-bulk-review-item strong { color:var(--text-main); }
.isrc-bulk-review-page .track-block-chevron {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:36px;
    height:36px;
    margin:0;
    padding:0;
    cursor:pointer;
    color:var(--text-muted);
    -webkit-tap-highlight-color:transparent;
}
.isrc-bulk-review-page .btn-x-remove {
    color:var(--text-muted);
}
.isrc-bulk-review-page .track-block-header:hover .track-block-chevron,
.isrc-bulk-review-page .track-block-chevron:active,
.isrc-bulk-review-page .btn-x-remove:hover,
.isrc-bulk-review-page .btn-x-remove:active {
    background:color-mix(in srgb,var(--text-main) 10%,var(--raised-bg));
    color:var(--text-main);
}
.isrc-bulk-review-page .track-block-chevron:focus-visible {
    outline:2px solid var(--text-main);
    outline-offset:2px;
}
.isrc-bulk-review-page .btn-x-remove:focus-visible {
    outline:2px solid var(--text-main);
    outline-offset:2px;
}
@media (max-width:640px) {
    .isrc-bulk-review-page .track-block-chevron { width:44px; height:44px; }
}

.isrc-bulk-review-warning {
    margin:12px 0;
    padding:10px 12px;
    border:1px solid var(--alert-border);
    border-radius:8px;
    background:var(--alert-bg);
    color:var(--alert-text);
    opacity:1;
}
.artist-lookup-progress { padding-top:4px; }
.artist-lookup-loading-status {
    display:flex;
    align-items:center;
    gap:12px;
    min-height:48px;
    margin-bottom:8px;
    color:var(--text-main);
}
.artist-lookup-loading-status .settings-hint { margin:0; color:var(--text-main); opacity:1; }
.artist-lookup-loading-spinner {
    flex:0 0 30px;
    width:30px;
    height:30px;
    box-sizing:border-box;
    border:3px solid color-mix(in srgb,var(--primary) 24%,var(--table-border));
    border-top-color:var(--primary);
    border-radius:50%;
    animation:artist-lookup-spinner .75s linear infinite;
}
@keyframes artist-lookup-spinner { to { transform:rotate(360deg); } }
@media (prefers-reduced-motion:reduce) {
    .artist-lookup-loading-spinner { animation-duration:1.5s; }
}

@media (max-width: 640px) {
    .isrc-lookup-entry-actions {
        width:100%;
        grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));
        grid-auto-flow:row;
    }
}

@media (min-width: 641px) and (max-width: 1400px) {
    .album-list-table { width: 100% !important; min-width: 0 !important; table-layout: fixed; }
    .album-list-table .col-responsive-owner { display: none !important; }
    .album-list-table .col-bulk-check { width: 40px !important; }
    .album-list-table .album-cover-column { width: 50px !important; }
    .album-list-table .album-mobile-title { width: 150px !important; }
    .album-list-table .album-mobile-artists { width: 100px !important; }
    .album-list-table .album-code-column { width: 140px !important; overflow: hidden; overflow-wrap: anywhere; }
    .album-list-table .album-label-column { width: 120px !important; }
    .album-list-table .col-responsive-release-date { width: 110px !important; }
    .album-list-table .album-mobile-status { width: 145px !important; min-width: 145px !important; overflow: hidden; }
    .album-list-table .album-mobile-actions { width: 100px !important; overflow: hidden; }
    .album-list-table .album-status-content { min-width: 0 !important; white-space: nowrap; }
    .album-list-table .row-actions { display: grid !important; grid-template-columns: minmax(0, 1fr) !important; gap: 5px; min-width: 0 !important; }
    .album-list-table .row-actions > * { width: 100% !important; min-width: 0 !important; white-space: normal; padding-inline: 5px; }
    table.data-table.album-list-table td > .row-actions {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        overflow: hidden;
    }
    table.data-table.album-list-table td > .row-actions > * {
        grid-column: 1 !important;
    }
}

@media (min-width: 641px) and (max-width: 1120px) {
    .album-list-table .col-responsive-release-date { display: none !important; }
    .album-list-table .album-cover-column { width: 46px !important; }
    .album-list-table .album-mobile-title { width: 135px !important; }
    .album-list-table .album-mobile-artists { width: 90px !important; }
    .album-list-table .album-code-column { width: 115px !important; }
    .album-list-table .album-label-column { width: 80px !important; }
    .album-list-table .album-mobile-status { width: 140px !important; min-width: 140px !important; }
    .album-list-table .album-mobile-actions { width: 100px !important; }
}

@media (min-width: 641px) and (max-width: 960px) {
    .filter-bar,
    .filter-bar-row1,
    .filter-bar-row2 {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        flex-wrap: wrap !important;
    }
    .filter-bar-row1 > *,
    .filter-bar-row2 > * {
        min-width: 0;
        max-width: 100%;
        flex: 1 1 180px;
    }
    .filter-bar .catalog-party-toggle {
        width: auto;
        max-width: 100%;
        flex: 0 1 auto;
    }

    .album-list-table .album-code-column,
    .album-list-table .album-label-column { display: none !important; }
    .album-list-table .album-mobile-title { width: 105px !important; }
    .album-list-table .album-mobile-artists { width: 70px !important; }
    .album-list-table .album-mobile-status { width: 205px !important; min-width: 205px !important; }
    .album-list-table .album-mobile-actions { width: 90px !important; }

    .track-list-table { width: 100% !important; min-width: 0 !important; table-layout: fixed; }
    .track-list-table .track-mobile-isrc,
    .track-list-table .col-phone-hide { display: none !important; }
    .track-list-table .col-bulk-check { width: 36px !important; }
    .track-list-table .track-mobile-title { width: 190px !important; }
    .track-list-table .track-mobile-artists { width: 130px !important; }
    .track-list-table .track-mobile-listen { width: 80px !important; }
    .track-list-table .track-mobile-actions { width: 115px !important; overflow: hidden; }
    table.data-table.track-list-table td > .row-actions {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        overflow: hidden;
    }
    table.data-table.track-list-table td > .row-actions > * {
        grid-column: 1 !important;
        width: 100% !important;
        min-width: 0 !important;
        white-space: normal;
    }
}

@media (max-width: 640px) {
    .dsp-sandbox-channel-tabs {
        display: flex;
        justify-content: center;
        width: 100%;
    }
    .dsp-sandbox-channel-tabs > a {
        flex: 0 1 96px;
        text-align: center;
    }

    html, body { max-width: 100%; overflow-x: clip; }
    .cover-owner-field { width: 100%; min-width: 0; max-width: 100%; }
    #rmContent,
    .content,
    main,
    .card,
    .card-body,
    form,
    fieldset,
    .form-row,
    .row-between,
    .page-context-heading,
    .page-context-actions,
    .settings-grid,
    .settings-inline-section { min-width: 0; max-width: 100%; box-sizing: border-box; }
    img, svg, video, canvas { max-width: 100%; }
    input:not([type="checkbox"]):not([type="radio"]),
    select,
    textarea { min-width: 0; max-width: 100%; box-sizing: border-box; }
    .row-between,
    .page-context-heading { flex-wrap: wrap; gap: 10px; }
    .page-context-actions { flex-wrap: wrap; width: 100%; }
    .filter-bar,
    .filter-bar-row1,
    .filter-bar-row2,
    .form-grid,
    .two-col,
    .settings-grid { grid-template-columns: minmax(0, 1fr); min-width: 0; }
    .subnav,
    .enterprise-tabs,
    .report-tabs { max-width: 100%; overflow-x: auto; overscroll-behavior-inline: contain; }

    .mobile-no-horizontal-scroll { max-width: 100%; overflow-x: hidden !important; }
    .mobile-no-horizontal-scroll > table { max-width: 100%; }
    .catalog-party-toggle-mobile-hidden,
    .mobile-action-clone,
    .album-mobile-table-toggle.is-mobile-disabled { display: none !important; }

    .album-list-table { table-layout: fixed; width: 100%; min-width: 0 !important; }
    .album-list-table .album-mobile-secondary { display: none !important; }
    .album-list-table > thead > tr,
    .album-list-table > tbody > tr:not([id^="albumSplitRow_"]) {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(70px, 0.62fr) minmax(88px, 0.72fr);
        align-items: center;
    }
    .album-list-table > thead > tr > .album-mobile-actions { display: none !important; }
    .album-list-table .album-mobile-title,
    .album-list-table .album-mobile-artists,
    .album-list-table .album-mobile-status { width: auto !important; min-width: 0 !important; }
    table.data-table.album-list-table :is(th,td).album-mobile-title { max-width: 100% !important; }
    table.data-table.artist-list-table :is(th,td).mobile-col-name { max-width: 100% !important; }
    table.data-table.label-list-table :is(th,td).mobile-col-name { max-width: 100% !important; }
    .album-list-table .album-mobile-actions {
        grid-column: 1 / -1;
        width: auto !important;
        min-width: 0 !important;
        padding-top: 0 !important;
    }
    .album-list-table th,
    .album-list-table td { min-width: 0 !important; max-width: 100%; padding: 8px 4px !important; overflow: hidden; overflow-wrap: anywhere; }
    table.data-table.album-list-table td.album-mobile-status { text-align: center !important; }
    table.data-table.album-list-table td.album-mobile-status > .album-status-content { display: contents !important; }
    table.data-table.album-list-table td.album-mobile-status > .album-status-content > [data-rm-live-album-id] {
        display: block !important;
        width: 100% !important;
        min-width: 0;
        text-align: center;
    }
    .album-list-table .status-badge {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100%;
        height: auto;
        min-height: 28px;
        padding: 4px;
        white-space: normal;
        overflow: visible;
        font-size: 10px;
        line-height: 1.15;
    }
    table.data-table.album-list-table td > .row-actions {
        display: grid !important;
        grid-auto-flow: column;
        grid-auto-columns: minmax(0, 1fr);
        grid-template-columns: none !important;
        gap: 7px;
        width: 100%;
        min-width: 0 !important;
        max-width: 100%;
        overflow: hidden;
    }
    table.data-table.album-list-table td > .row-actions > * {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 0 !important;
        min-height: 44px;
        max-width: 100%;
        width: 100% !important;
        padding: 6px 3px;
        white-space: normal;
        font-size: 10px;
        overflow-wrap: anywhere;
        box-sizing: border-box;
        margin: 0 !important;
    }

    .track-list-table { table-layout: fixed; width: 100%; min-width: 0 !important; }
    .track-list-table .track-draft-column { display:none !important; }
    .track-list-table .track-mobile-title { width: 39% !important; }
    .track-list-table .track-mobile-artists { width: 27% !important; }
    .track-list-table .track-mobile-listen { width: 16% !important; }
    .track-list-table .track-mobile-actions { width: 18% !important; }
    .track-list-table .track-mobile-isrc { display: none !important; }
    .track-list-table.track-mobile-isrc-visible .track-mobile-isrc { display: table-cell !important; width: 25% !important; overflow-wrap: anywhere; }
    .track-list-table.track-mobile-isrc-visible .track-mobile-listen { display: none !important; }
    .track-list-table.track-mobile-isrc-visible .track-mobile-title { width: 32% !important; }
    .track-list-table.track-mobile-isrc-visible .track-mobile-artists { width: 25% !important; }
    .track-list-table.track-mobile-isrc-visible .track-mobile-actions { width: 18% !important; }
    .track-list-table th,
    .track-list-table td { min-width: 0; padding: 8px 4px !important; overflow-wrap: anywhere; }
    .track-list-table th.track-mobile-listen { white-space: nowrap; overflow-wrap: normal; word-break: normal; }
    table.data-table.track-list-table td.track-mobile-actions { overflow: hidden !important; }
    table.data-table.track-list-table td.track-mobile-actions > .row-actions {
        display: block !important;
        width: auto !important;
        max-width: 100% !important;
        min-width: 0;
        overflow: hidden !important;
    }
    table.data-table.track-list-table td.track-mobile-actions > .row-actions > * {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 100% !important;
        max-width: 100%;
        min-width: 0;
        min-height: 44px;
        padding-inline: 4px;
        white-space: normal;
        box-sizing: border-box;
    }

    .artist-list-table,
    .label-list-table,
    .revenue-report-table,
    .wallet-transactions-table,
    .tickets-list-table,
    .delivery-list-table,
    .album-public-dsps-table,
    .delivery-private-dsps-table,
    .album-tracks-split-table,
    .split-manager-table { width: 100%; min-width: 0 !important; table-layout: fixed; }
    .artist-list-table .col-bulk-check,
    .artist-list-table .mobile-col-avatar,
    .artist-list-table .catalog-party-cell,
    .label-list-table .col-bulk-check,
    .label-list-table .mobile-col-status,
    .label-list-table .catalog-party-cell { display: none !important; }
    .artist-list-table th,
    .artist-list-table td,
    .label-list-table th,
    .label-list-table td { min-width: 0; padding: 8px 4px !important; overflow-wrap: anywhere; }
    .artist-list-table > thead > tr,
    .artist-list-table > tbody > tr {
        display: grid;
        grid-template-columns: minmax(0, 1fr) clamp(64px, 18%, 88px) clamp(80px, 22%, 96px);
        align-items: center;
    }
    .label-list-table > thead > tr,
    .label-list-table > tbody > tr {
        display: grid;
        grid-template-columns: minmax(0, 1fr) clamp(76px, 24%, 112px);
        align-items: center;
    }
    .artist-list-table > thead > tr > .mobile-col-actions,
    .label-list-table > thead > tr > .mobile-col-actions { display: none !important; }
    .artist-list-table .mobile-col-name,
    .artist-list-table .mobile-col-count,
    .artist-list-table .mobile-col-state,
    .label-list-table .mobile-col-name,
    .label-list-table .mobile-col-count { width: auto !important; }
    .artist-list-table .mobile-col-actions,
    .label-list-table .mobile-col-actions {
        grid-column: 1 / -1;
        width: auto !important;
        padding-top: 0 !important;
    }
    table.data-table.artist-list-table td > .row-actions,
    table.data-table.label-list-table td > .row-actions {
        display: grid !important;
        grid-auto-flow: column;
        grid-auto-columns: minmax(0, 1fr);
        grid-template-columns: none;
        justify-content: stretch;
        gap: 7px;
        width: 100%;
        min-width: 0;
        margin-left: 0;
    }
    .artist-list-table .row-actions > *,
    .label-list-table .row-actions > * { width: 100% !important; min-width: 0; min-height: 44px; box-sizing: border-box; margin: 0 !important; }
    .artist-list-table .row-actions > a,
    .artist-list-table .row-actions > form > button,
    .label-list-table .row-actions > a,
    .label-list-table .row-actions > form > button { display: inline-flex; align-items: center; justify-content: center; width: 100% !important; min-width: 0; min-height: 44px; box-sizing: border-box; padding: 6px 3px; white-space: normal; text-align: center; }
    .entity-toggle-action .entity-toggle-label-stack {
        width: 100%;
        white-space: normal;
        overflow-wrap: anywhere;
        word-break: normal;
    }
    .isrc-lookup-entry-actions { width:100%; grid-auto-columns:minmax(0,1fr); }

    .revenue-report-table .revenue-mobile-identifier,
    .revenue-report-table .revenue-mobile-secondary { display: none !important; }
    .revenue-report-table th,
    .revenue-report-table td { min-width: 0; padding: 8px 5px; overflow-wrap: anywhere; }
    .revenue-report-table thead th > a,
    .tickets-list-table thead th > a { display:block; min-width:0; white-space:normal; overflow-wrap:anywhere; line-height:1.25; }
    .revenue-report-table .cell-clip { width: auto !important; }
    .revenue-report-table .row-actions { display: block; min-width: 0; }
    .revenue-report-table .row-actions > * { width: 100%; min-width: 0; padding-inline: 5px; white-space: normal; }
    .wallet-mobile-note { display: none !important; }

    .wallet-transactions-table th:not(.wallet-tx-mobile-name):not(.wallet-tx-mobile-period):not(.wallet-tx-mobile-amount):not(.wallet-tx-mobile-status),
    .wallet-transactions-table td:not(.wallet-tx-mobile-name):not(.wallet-tx-mobile-period):not(.wallet-tx-mobile-amount):not(.wallet-tx-mobile-status) { display: none !important; }
    .wallet-transactions-table { width:100%; table-layout:fixed; }
    .wallet-transactions-table .wallet-tx-mobile-name { width: 32%; }
    .wallet-transactions-table .wallet-tx-mobile-period { width: 18%; }
    .wallet-transactions-table .wallet-tx-mobile-amount { width: 21%; }
    .wallet-transactions-table .wallet-tx-mobile-status { width: 29%; }
    .wallet-transactions-table .wallet-tx-heading-desktop { display: none; }
    .wallet-transactions-table .wallet-tx-heading-mobile { display: inline; }
    .wallet-transactions-table .wallet-tx-mobile-name .clip-text,
    .wallet-transactions-table .wallet-tx-mobile-name .wallet-transaction-name-link {
        display: block;
        min-width: 0;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .wallet-transactions-table[data-rm-mobile-row-select] tbody tr { cursor: pointer; touch-action: manipulation; }
    .wallet-transactions-table[data-rm-mobile-row-select] tbody tr:focus-visible {
        outline: 2px solid var(--primary);
        outline-offset: -2px;
    }
    .wallet-transactions-table th,
    .wallet-transactions-table td { min-width: 0; padding: 8px 4px; font-size: 12px; overflow-wrap: anywhere; }

    .tickets-list-table .check-col,
    .tickets-list-table .ticket-mobile-secondary { display: none !important; }
    .tickets-list-table .ticket-mobile-subject { width: 48%; }
    .tickets-list-table .ticket-mobile-category { width: 27%; }
    .tickets-list-table .ticket-mobile-status { width: 25%; }
    .tickets-list-table th,
    .tickets-list-table td { min-width: 0; padding: 8px 5px; overflow-wrap: anywhere; }
    .ticket-participants-toggle { width: 44px; height: 44px; min-width: 44px; min-height: 44px; justify-content: center; padding: 0; }
    .ticket-participants-toggle > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
    .ticket-participants-panel > td { display: table-cell !important; width: auto !important; }
    .ticket-participants-content { padding: 8px; }
    .ticket-participant-item {
        grid-template-columns: minmax(0, 48fr) minmax(0, 27fr) minmax(0, 25fr);
        gap: 0;
    }
    .ticket-participant-name {
        grid-column: 1;
        grid-row: 1;
        padding-inline: 6px;
    }
    .ticket-participant-role {
        grid-column: 2;
        grid-row: 1;
        padding-inline: 6px;
        text-align: left;
    }
    .ticket-participant-code {
        grid-column: -2 / -1;
        grid-row: 1;
        padding-inline: 6px;
        font-size: clamp(10px, 2.45vw, 12px);
    }

    .delivery-list-table th:first-child,
    .delivery-list-table td:first-child,
    .delivery-list-table .delivery-cover-column,
    .delivery-list-table .delivery-artists-column,
    .delivery-list-table .delivery-upc-column,
    .delivery-list-table .delivery-owner-column { display: none !important; }
    .delivery-page-card.delivery-has-results { padding-inline: 12px; }
    .delivery-filter-form {
        display: grid !important;
        grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.85fr) auto;
        grid-template-areas:
            "search owner submit"
            "failed status live";
        gap: 9px 12px !important;
        align-items: end !important;
    }
    .delivery-filter-form.delivery-filter-no-owner {
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas:
            "search submit"
            "failed status"
            "live live";
    }
    .delivery-filter-form > .form-row {
        width: auto;
        min-width: 0 !important;
        max-width: none;
    }
    .delivery-filter-form .delivery-filter-search { grid-area: search; }
    .delivery-filter-form .delivery-filter-owner { grid-area: owner; }
    .delivery-filter-form .delivery-filter-submit { grid-area: submit; align-self: end; }
    .delivery-filter-form .delivery-filter-failed { grid-area: failed; }
    .delivery-filter-form .delivery-filter-status { grid-area: status; }
    .delivery-filter-form .delivery-filter-live { grid-area: live; }
    .delivery-filter-form .delivery-filter-upcs,
    .delivery-filter-form .catalog-party-toggle { display: none !important; }
    .delivery-filter-form input,
    .delivery-filter-form select,
    .delivery-filter-form .rm-searchable-select-shell,
    .delivery-filter-form .rm-searchable-select-trigger { width: 100% !important; min-width: 0 !important; }
    .delivery-filter-form .delivery-filter-submit { min-width: 76px; }
    .delivery-bulk-toolbar {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 9px;
    }
    .delivery-bulk-toolbar > .bulk-menu-wrap,
    .delivery-bulk-toolbar > .delivery-mobile-bulk-trigger,
    .delivery-bulk-toolbar > .delivery-mobile-upcs { width: 100%; }
    .delivery-bulk-toolbar > .bulk-menu-wrap > button,
    .delivery-bulk-toolbar > .delivery-mobile-bulk-trigger,
    .delivery-bulk-toolbar > .delivery-mobile-upcs { display: inline-flex; width: 100%; min-height: 44px; align-items: center; justify-content: center; }
    .delivery-bulk-toolbar > #deliverySelectAllPagesHint { grid-column: 1 / -1; }
    .delivery-list-table .delivery-title-column { width: 50% !important; max-width: 50%; overflow: hidden; }
    .delivery-list-table .delivery-status-column { width: 31% !important; max-width: 31%; overflow: hidden; }
    .delivery-list-table .delivery-actions-column { width: 19% !important; max-width: 19%; overflow: hidden; }
    .delivery-list-table th,
    .delivery-list-table td { min-width: 0; padding: 8px 5px !important; overflow-wrap: anywhere; }
    .delivery-list-table tbody tr {
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }
    .delivery-list-table tbody tr.is-mobile-selected {
        box-shadow: inset 3px 0 0 var(--dsp-selected-border);
    }
    .delivery-list-table tbody tr.is-mobile-selected > td.delivery-title-column {
        box-shadow: inset 3px 0 0 var(--dsp-selected-border);
    }
    .delivery-list-table tbody tr.is-mobile-selected > td {
        background: var(--dsp-selected-bg) !important;
    }
    .delivery-album-title-cluster {
        grid-template-columns:44px minmax(0,1fr) 22px;
        gap:5px;
        width:100%;
    }
    .delivery-mobile-row-select {
        display:inline-flex;
        min-width:44px;
        min-height:44px;
        align-items:center;
        justify-content:center;
        padding:0;
        border:1px solid var(--primary);
        border-radius:6px;
        background:transparent;
        color:var(--primary);
        cursor:pointer;
    }
    .delivery-mobile-edit,
    .delivery-mobile-diagnostic { display: none !important; }
    .delivery-mobile-view { display: inline-flex; width: 100%; justify-content: center; }
    .delivery-row-actions { display: block; width: 100%; min-width: 0; }
    .delivery-list-table .delivery-status-content {
        display: inline-flex;
        align-items: center;
        justify-content: flex-start;
        gap: 4px;
        width: 100%;
        min-width: 0 !important;
        max-width: 100%;
        white-space: nowrap;
    }
    .delivery-list-table .delivery-status-content > [data-rm-live-album-id] {
        display: inline-flex;
        flex: 0 0 64px;
        width: 64px;
        min-width: 64px;
        max-width: 64px;
    }
    .delivery-list-table .delivery-status-content > [data-rm-live-album-id] > .status-badge {
        width: 64px !important;
        min-width: 64px !important;
        max-width: 64px;
        height: 24px;
        min-height: 24px;
        padding-inline: 3px;
        white-space: nowrap;
        font-size: 10px;
    }
    .delivery-list-table .delivery-row-actions,
    .delivery-list-table .delivery-mobile-view { width: 100%; min-width: 0 !important; max-width: 100%; overflow: hidden; padding-inline: 2px; font-size: 10px; }
    .delivery-list-table .delivery-mobile-view { min-height: 44px; }
    .delivery-view-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; width: 100%; }
    .delivery-view-actions > * { width: 100%; min-width: 0; min-height: 44px; height: 44px; margin: 0 !important; text-align: center; }
    .delivery-album-summary { min-width: 0; overflow-wrap: anywhere; }

    .track-view-audio-line {
        display: grid;
        grid-template-columns: 36px minmax(0, 1fr) 44px 44px;
        align-items: center;
        gap: 8px;
        padding: 10px;
    }
    .track-view-audio-name {
        width: 100%;
        min-width: 0;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }
    .track-view-audio-download {
        grid-column: 4;
        justify-self: end;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        min-width: 44px;
        min-height: 44px;
        height: 44px;
        padding: 0;
        margin: 0 !important;
    }
    .track-view-audio-download .track-view-download-label { display:none !important; }
    .track-view-audio-download .track-view-download-icon { display:block !important; }
    .track-view-audio-duration {
        grid-column:3;
        justify-self:center;
        width:100%;
        overflow:hidden;
        text-align:center;
        text-overflow:ellipsis;
    }
    .track-view-title {
        margin-bottom:4px !important;
        font-size:20px !important;
        line-height:1.3;
    }
    
    .track-view-hero-copy:has(> .modified-banner) {
        display:flex;
        flex-direction:column;
        gap:22px;
    }
    .track-view-hero-copy:has(> .modified-banner) > .track-view-title {
        margin-bottom:0 !important;
    }
    .track-view-hero-copy > .modified-banner {
        margin:0 0 18px;
    }
    .track-view-title-main {
        width:100%;
        flex-wrap:nowrap;
    }
    .track-view-title-icon { flex-basis:22px; }

    .dsp-sftp-filter-form {
        justify-content:center;
        align-items:end;
        gap:10px;
    }
    .dsp-sftp-filter-form > .form-row {
        flex:0 1 150px;
        width:auto;
        min-width:0;
        margin-bottom:0 !important;
    }
    .dsp-sftp-filter-form select,
    .dsp-sftp-filter-form .rm-searchable-select-shell,
    .dsp-sftp-filter-form .rm-searchable-select-trigger { width:100%; min-width:0; }
    .dsp-sandbox-controls-card { grid-template-columns:minmax(0, 1fr); }
    .dsp-sandbox-controls-card > .page-context-heading { grid-column:1; grid-row:1; }
    .dsp-sandbox-controls-card > .dsp-sandbox-channel-tabs { grid-column:1; grid-row:2; }
    .dsp-sandbox-controls-card > .dsp-sandbox-intro { grid-column:1; grid-row:3; }
    .dsp-sandbox-controls-card > .dsp-sftp-filter-form { grid-column:1; grid-row:4; margin-top:12px; }
    .dsp-sandbox-controls-card--sftp > .dsp-sftp-filter-form { grid-row:3; }
    .dsp-sandbox-controls-card--sftp > .dsp-sandbox-intro { grid-row:4; margin:12px 0 0; }
    .dsp-sftp-history-table .dsp-sftp-status-cell {
        align-items:center !important;
    }
    .dsp-sftp-status-pair {
        display:inline-flex;
        align-items:center;
        justify-content:flex-start;
        flex-wrap:nowrap;
        gap:10px;
        width:auto;
        min-width:0;
        justify-self:start;
    }
    .dsp-sftp-status-pair > .status-badge { flex:0 0 auto; }
    @media (max-width:350px) {
        .dsp-sftp-history-table .dsp-sftp-status-cell { grid-template-columns:minmax(0, 1fr); }
        .dsp-sftp-history-table .dsp-sftp-status-cell::before { display:none; }
        .dsp-sftp-status-pair { gap:6px; }
        .dsp-sftp-status-pair > .status-badge { font-size:9px; padding-inline:5px; }
        .dsp-sftp-history-table .dsp-sftp-status-pair > .status-badge:first-child { width:58px; }
    }

    .team-list-table .team-role-cell .role-badge {
        padding:0 !important;
        border:0 !important;
        border-radius:0 !important;
        background:transparent !important;
        box-shadow:none !important;
        color:var(--text-main) !important;
    }
    .team-list-table .team-identity-value { display:none; }
    .team-list-table .team-mobile-user-code { display:block; }
    .team-list-table .team-status-cell .status-badge {
        width:112px;
        max-width:100%;
        justify-self:start;
    }
    .team-list-table .team-mobile-impersonate-cell {
        display:grid;
        grid-template-columns:minmax(0, 1fr);
        order:-1;
        width:100%;
        margin:0;
        padding:8px !important;
        border-bottom:1px solid var(--border) !important;
    }
    .team-list-table .team-mobile-impersonate-cell:empty { display:none; }
    .team-mobile-impersonate-cell button {
        display:inline-flex;
        align-items:center;
        justify-content:center;
        width:100%;
        min-width:0;
        min-height:44px;
    }
    .team-list-table .team-impersonate-action { display:none !important; }
    .team-list-table.rm-mobile-card-table tbody > tr:not(.user-overview-row) {
        display:flex;
        flex-direction:column;
    }
    .impersonation-picker-table tbody > tr {
        display:flex;
        flex-direction:column;
    }
    .impersonation-picker-action-cell {
        order:-1;
        padding:8px !important;
    }
    .impersonation-picker-action-cell form,
    .impersonation-picker-action-cell button {
        width:100%;
        min-height:44px;
    }
    .impersonation-picker-role-cell .role-badge {
        padding:0 !important;
        border:0 !important;
        border-radius:0 !important;
        background:transparent !important;
        box-shadow:none !important;
        color:var(--text-main) !important;
    }

    .dsp-mobile-select,
    .dsp-mobile-sent-at,
    .dsp-mobile-actions,
    .split-mobile-secondary { display: none !important; }
    .delivery-private-dsps-table colgroup { display:none; }
    .delivery-private-dsps-table > thead > tr,
    .delivery-private-dsps-table > tbody > tr:not([data-rm-dsp-empty-row]) {
        display:grid;
        grid-template-columns:minmax(0,1fr) minmax(112px,38%);
        grid-template-rows:auto auto;
        align-items:center;
        -webkit-tap-highlight-color:transparent;
        touch-action:manipulation;
    }
    .delivery-private-dsps-table > tbody > tr[data-rm-private-dsp-selectable] { cursor:pointer; }
    .delivery-private-dsps-table > tbody > tr.is-mobile-selected {
        border-color:var(--dsp-selected-border);
        background:transparent;
        box-shadow:none;
    }
    .delivery-private-dsps-table > tbody > tr.is-mobile-selected > td {
        background:transparent !important;
        box-shadow:none !important;
    }
    .delivery-private-dsps-table > tbody > tr.is-mobile-selected > td.album-dsp-identity-cell {
        border-left:3px solid var(--dsp-selected-border) !important;
    }
    .delivery-private-dsps-table > tbody > tr[data-rm-private-dsp-selectable]:focus-visible {
        outline:2px solid var(--dsp-selected-border);
        outline-offset:2px;
    }
    .delivery-private-dsps-table > thead > tr > th:nth-child(2) { grid-column:1; grid-row:1 / span 2; }
    .delivery-private-dsps-table > thead > tr > th:nth-child(3) { grid-column:2; grid-row:1 / span 2; }
    .delivery-private-dsps-table > thead > tr > th:nth-child(4) { display:none; }
    .delivery-private-dsps-table > tbody > tr:not([data-rm-dsp-empty-row]) > td:nth-child(2) {
        grid-column:1;
        grid-row:1 / span 2;
    }
    .delivery-private-dsps-table > tbody > tr:not([data-rm-dsp-empty-row]) > td:nth-child(3) {
        grid-column:2;
        grid-row:1;
        padding-bottom:3px;
        padding-inline:4px;
    }
    .delivery-private-dsps-table > tbody > tr:not([data-rm-dsp-empty-row]) > td:nth-child(4) {
        grid-column:2;
        grid-row:2;
        padding-top:3px;
        padding-inline:4px;
    }
    .delivery-private-dsps-table > tbody > tr:not([data-rm-dsp-empty-row]) > td:nth-child(3),
    .delivery-private-dsps-table > tbody > tr:not([data-rm-dsp-empty-row]) > td:nth-child(4) {
        display:grid;
        grid-template-columns:minmax(0,112px) 20px;
        column-gap:4px;
        align-items:center;
        justify-content:center;
    }
    .delivery-private-dsps-table [data-rm-dsp-live-status] > .dsp-state-badge,
    .delivery-private-dsp-details .dsp-failure-badge {
        grid-column:1;
        width:100% !important;
        min-width:0;
    }
    .delivery-private-dsps-table [data-rm-dsp-live-status] > .dsp-irrevocable-lock {
        grid-column:2;
        justify-self:center;
    }
    .delivery-private-dsp-details .delivery-private-dsp-no-details {
        grid-column:1;
        justify-self:center;
    }
    .delivery-private-dsp-details .dsp-failure-badge {
        width:100% !important;
        min-width:0;
        max-width:112px;
        height:24px;
        min-height:24px;
        padding:0 10px;
        font-size:12px;
        line-height:1;
    }
    .delivery-private-dsps-table > tbody > tr:not(:has(.delivery-private-dsp-details .dsp-failure-badge)) > [data-rm-dsp-live-status] {
        grid-row:1 / span 2;
        align-self:center;
    }
    .delivery-private-dsps-table > tbody > tr:not(:has(.delivery-private-dsp-details .dsp-failure-badge)) > .delivery-private-dsp-details {
        display:none;
    }
    .delivery-private-dsps-table > tbody > tr[data-rm-dsp-empty-row] > td { display:block; width:100%; }
    .album-public-dsps-table th,
    .album-public-dsps-table td,
    .delivery-private-dsps-table th,
    .delivery-private-dsps-table td,
    .album-tracks-split-table th,
    .album-tracks-split-table td,
    .split-manager-table th,
    .split-manager-table td { min-width: 0; padding: 8px 5px; overflow-wrap: anywhere; }
    .split-manager-table th:first-child,
    .split-manager-table td:first-child { width: 56%; }
    .split-manager-table th.num,
    .split-manager-table td.num { width: 18%; }
    .split-manager-table .row-actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: 5px; min-width: 0; }
    .split-manager-table .row-actions > * { width: 100%; min-width: 0; padding-inline: 4px; white-space: normal; }

    
    .album-view-tracks-card,
    .dsp-delivery-status-card {
        margin-inline: 0;
        width: auto;
    }
    .album-dsp-selection-launch {
        margin-inline: 0;
    }
    .album-view-tracks-card > .row-between.is-card-head.album-view-tracks-card-head,
    .dsp-delivery-status-card > .row-between.is-card-head {
        padding-inline: 0;
    }
    .row-between.is-card-head.album-view-tracks-card-head {
        padding-block: 20px 12px;
        align-items: stretch;
    }
    .album-view-tracks-card-head > h3 {
        width: 100%;
    }
    .album-view-track-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        width: 100%;
    }
    .album-view-track-actions > button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        min-width: 0;
        min-height: 44px;
        margin: 0;
        padding-inline: 8px;
        white-space: nowrap;
        -webkit-tap-highlight-color: transparent;
    }

    .table-scroll:has(> .rm-mobile-card-table) { overflow-x: hidden !important; }
    table.data-table.rm-mobile-card-table {
        display: block;
        width: 100% !important;
        min-width: 0 !important;
        border: 0;
        border-radius: 0;
        overflow: visible;
        background: transparent;
        table-layout: auto;
    }
    .rm-mobile-card-table > thead {
        position: absolute;
        width: 1px;
        height: 1px;
        margin: -1px;
        padding: 0;
        overflow: hidden;
        clip-path: inset(50%);
        white-space: nowrap;
    }
    .rm-mobile-card-table tbody { display: block; width: 100%; min-width: 0; }
    .rm-mobile-card-table tbody > tr {
        display: block;
        width: 100%;
        min-width: 0;
        margin: 0 0 10px;
        border: 1px solid var(--border);
        border-radius: 10px;
        overflow: hidden;
        background: var(--surface);
    }
    .rm-mobile-card-table tbody > tr > td {
        display: grid;
        grid-template-columns: minmax(88px, 38%) minmax(0, 1fr);
        align-items: start;
        gap: 8px;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100%;
        padding: 9px 10px;
        border: 0;
        border-bottom: 1px solid var(--border);
        box-sizing: border-box;
        white-space: normal !important;
        overflow-wrap: anywhere;
        text-align: left !important;
    }
    .rm-mobile-card-table tbody > tr > th {
        display: block;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100%;
        padding: 10px;
        border: 0;
        border-bottom: 1px solid var(--border);
        box-sizing: border-box;
        background: var(--surface-soft);
        color: var(--text-main);
        text-align: left !important;
        overflow-wrap: anywhere;
    }
    table.data-table.rm-mobile-card-table tbody > tr > td.cell-clip {
        width:100% !important;
        max-width:100% !important;
    }
    .rm-mobile-card-table tbody > tr > td:last-child { border-bottom: 0; }
    .rm-mobile-card-table tbody > tr > td::before {
        content: attr(data-rm-label);
        min-width: 0;
        color: var(--text-muted);
        font-size: 11px;
        font-weight: 600;
        line-height: 1.35;
        text-transform: uppercase;
        overflow-wrap: anywhere;
    }
    .rm-mobile-card-table tbody > tr > td.rm-mobile-card-unlabelled {
        grid-template-columns: minmax(0, 1fr);
    }
    .rm-mobile-card-table tbody > tr > td.rm-mobile-card-unlabelled::before,
    .rm-mobile-card-table tbody > tr > td.rm-mobile-card-spanning::before { display: none; }
    .rm-mobile-card-table tbody > tr > td.rm-mobile-card-spanning {
        display: block;
        width: 100% !important;
    }
    .rm-mobile-card-table td > *,
    .rm-mobile-card-table td form,
    .rm-mobile-card-table td .row-actions { min-width: 0; max-width: 100%; }
    table.data-table.rm-mobile-card-table tbody > tr > td > .row-actions {
        display: grid;
        grid-auto-flow: row;
        grid-auto-columns: initial;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0;
    }
    .rm-mobile-card-table td .row-actions > * { width: 100%; min-width: 0; white-space: normal; }
    table.data-table.rm-mobile-card-table tbody > tr > td > .row-actions > :last-child:nth-child(odd) { grid-column: 1 / -1; }

    .revenue-wallet-table.rm-mobile-card-table .revenue-wallet-release-action {
        width:100%;
        min-width:0;
    }
    .revenue-wallet-table.rm-mobile-card-table .revenue-wallet-release-action > button {
        width:100%;
        min-width:0;
        min-height:44px;
        white-space:normal;
    }

    

    
    .revenue-wallet-table.rm-mobile-card-table .revenue-wallet-unmatched-cell.is-empty,
    .revenue-wallet-table.rm-mobile-card-table .revenue-wallet-status-cell.is-unapplied,
    .revenue-wallet-table.rm-mobile-card-table .revenue-wallet-desktop-download,
    .revenue-wallet-table.rm-mobile-card-table .revenue-wallet-unmatched-cell > br,
    .revenue-wallet-table.rm-mobile-card-table .revenue-wallet-desktop-apply {
        display: none !important;
    }
    .revenue-wallet-table.rm-mobile-card-table .revenue-wallet-mobile-download,
    .revenue-wallet-table.rm-mobile-card-table .revenue-wallet-mobile-apply {
        display: inline-flex;
    }
    .revenue-wallet-table.rm-mobile-card-table .revenue-wallet-row-utility {
        order: -1;
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        align-items: center;
        min-height: 44px;
        gap: 8px;
        width: 100%;
    }
    .revenue-wallet-table.rm-mobile-card-table .revenue-wallet-row-utility:not(.has-download) {
        display: none !important;
    }
    .revenue-wallet-table.rm-mobile-card-table .revenue-wallet-row-utility.has-download {
        grid-template-columns: minmax(0, 1fr);
    }
    .revenue-wallet-table.rm-mobile-card-table .revenue-wallet-mobile-download {
        align-items: center;
        justify-content: flex-start;
        min-height: 44px;
        width: max-content;
        max-width: 100%;
    }
    .revenue-wallet-table.rm-mobile-card-table .revenue-wallet-row-utility > form,
    .revenue-wallet-table.rm-mobile-card-table .revenue-wallet-row-utility > .revenue-wallet-sync-control {
        justify-self: center;
        width: max-content;
    }
    .revenue-wallet-table.rm-mobile-card-table .revenue-wallet-row-utility.has-download > form,
    .revenue-wallet-table.rm-mobile-card-table .revenue-wallet-row-utility.has-download > .revenue-wallet-sync-control {
        justify-self: start;
    }
    .revenue-wallet-table.rm-mobile-card-table .revenue-wallet-sync-cell {
        width: 100% !important;
        max-width: none;
        padding-inline: 10px !important;
    }
    .revenue-wallet-table.rm-mobile-card-table .revenue-wallet-sync-cell form,
    .revenue-wallet-table.rm-mobile-card-table .revenue-wallet-sync-cell .check-row {
        justify-self: center;
    }
    .revenue-wallet-table.rm-mobile-card-table .revenue-wallet-mobile-apply {
        align-items: center;
        justify-content: center;
        min-height: 44px;
    }
    .revenue-wallet-table.rm-mobile-card-table .revenue-wallet-imported-summary {
        justify-self: start;
        align-items: flex-start;
        text-align: left;
    }
    .revenue-wallet-table.rm-mobile-card-table .revenue-currency-total {
        align-items: flex-start;
    }
    .revenue-wallet-table.rm-mobile-card-table tbody > tr > td:not(.rm-mobile-card-unlabelled) {
        grid-template-columns: minmax(88px, 50%) minmax(0, 1fr);
    }
    .revenue-wallet-table.rm-mobile-card-table .revenue-wallet-cell-value,
    .revenue-wallet-table.rm-mobile-card-table .revenue-currency-total-list {
        display: flex;
        min-width: 0;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .revenue-wallet-table.rm-mobile-card-table .revenue-wallet-cell-value {
        display: block;
    }
    .revenue-wallet-table.rm-mobile-card-table .revenue-currency-total-list {
        justify-content: flex-start;
        gap: 8px;
    }

    
    .smart-link-list-table.rm-mobile-card-table tbody > tr {
        display: grid;
        grid-template-columns: clamp(88px, 29vw, 120px) minmax(0, 1fr);
        grid-template-rows: repeat(4, minmax(0, 1fr)) auto;
        grid-template-areas:
            "cover title"
            "cover meta"
            "cover link"
            "cover stats"
            "actions actions";
        column-gap: 12px;
        padding: 10px;
    }
    .smart-link-list-table.rm-mobile-card-table tbody > tr > td {
        display: block;
        width: auto !important;
        max-width: 100% !important;
        padding: 4px 0;
        border: 0;
    }
    .smart-link-list-table.rm-mobile-card-table tbody > tr > td::before { display: none; }
    .smart-link-card-cover { grid-area: cover; align-self: center; }
    .smart-link-card-cover > img,
    .smart-link-card-cover > .album-cover-placeholder {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 1;
        border-radius: 9px !important;
    }
    .smart-link-card-identity,
    .smart-link-card-link { display: contents !important; }
    .smart-link-card-title-row {
        grid-area: title;
        display: flex;
        align-items: center;
        min-width: 0;
    }
    .smart-link-card-meta {
        grid-area: meta;
        display: flex;
        align-items: center;
        column-gap: 4px;
        min-width: 0;
    }
    .smart-link-list-table.rm-mobile-card-table .smart-link-card-clicks {
        display: none !important;
    }
    .smart-link-card-actions {
        grid-area: actions;
        padding-top: 10px !important;
    }
    .smart-link-url-text {
        grid-area: link;
        display: flex;
        align-items: center;
        width: 100%;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .smart-link-store-row {
        grid-area: stats;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 14px;
        min-width: 0;
        color: var(--text-muted);
    }
    .smart-link-click-copy {
        display: inline-flex;
        align-items: center;
        gap: 0;
        min-width: 0;
    }
    .smart-link-click-count { font: inherit; }
    .smart-link-copy-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 44px;
        min-width: 44px;
        min-height: 44px;
        margin: -8px;
        padding: 0;
        border: 1px solid transparent;
        border-radius: 8px;
        color: var(--primary);
        background: transparent;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }
    .smart-link-copy-button::before {
        content: "";
        width: 18px;
        height: 18px;
        background: currentColor;
        -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M8 7V5a3 3 0 0 1 3-3h7a3 3 0 0 1 3 3v7a3 3 0 0 1-3 3h-2v2a3 3 0 0 1-3 3H6a3 3 0 0 1-3-3v-7a3 3 0 0 1 3-3h2Zm3-2v2h2a3 3 0 0 1 3 3v2h2V5h-7Zm2 5H6v7h7v-7Z'/%3E%3C/svg%3E") center / contain no-repeat;
        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M8 7V5a3 3 0 0 1 3-3h7a3 3 0 0 1 3 3v7a3 3 0 0 1-3 3h-2v2a3 3 0 0 1-3 3H6a3 3 0 0 1-3-3v-7a3 3 0 0 1 3-3h2Zm3-2v2h2a3 3 0 0 1 3 3v2h2V5h-7Zm2 5H6v7h7v-7Z'/%3E%3C/svg%3E") center / contain no-repeat;
    }
    .smart-link-copy-button:hover,
    .smart-link-copy-button:active { background: color-mix(in srgb, var(--primary) 12%, transparent); }
    .smart-link-copy-button:focus-visible {
        outline: 2px solid var(--primary);
        outline-offset: 2px;
    }
    .smart-link-copy-button.is-copied::before {
        -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='m9.2 17.2-4.4-4.4 2-2 2.4 2.4 7.9-7.9 2 2-9.9 9.9Z'/%3E%3C/svg%3E");
        mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='m9.2 17.2-4.4-4.4 2-2 2.4 2.4 7.9-7.9 2 2-9.9 9.9Z'/%3E%3C/svg%3E");
    }
    html[data-theme="dark"] .smart-link-copy-button { color: var(--text-main); }
    .smart-link-card-actions .row-actions > a,
    .smart-link-card-actions .row-actions > form > button {
        width: 100%;
        min-height: 44px;
    }
}


table.data-table[class*="-list-table"] tbody tr:nth-child(even) td,
table.data-table.data-table--flat-rows tbody tr:nth-child(even) td,
table.data-table.meta-table > tbody > tr:nth-child(even) > td,
table.data-table.enterprise-table tbody tr:nth-child(even) td,
#albumInfoWrap table.data-table tbody tr:nth-child(even) td,
html[data-theme="dark"] table.data-table[class*="-list-table"] tbody tr:nth-child(even) td,
html[data-theme="dark"] table.data-table.data-table--flat-rows tbody tr:nth-child(even) td,
html[data-theme="dark"] table.data-table.meta-table > tbody > tr:nth-child(even) > td,
html[data-theme="dark"] table.data-table.enterprise-table tbody tr:nth-child(even) td,
html[data-theme="dark"] #albumInfoWrap table.data-table tbody tr:nth-child(even) td {
    background-color:transparent;
}
table.data-table[class*="-list-table"] tbody tr:hover td,
table.data-table.data-table--flat-rows tbody tr:hover td,
table.data-table.meta-table > tbody > tr:hover > td,
table.data-table.enterprise-table tbody tr:hover td,
#albumInfoWrap table.data-table tbody tr:hover td {
    background-color:var(--primary-light);
}
html[data-theme="dark"] table.data-table[class*="-list-table"] tbody tr:hover td,
html[data-theme="dark"] table.data-table.data-table--flat-rows tbody tr:hover td,
html[data-theme="dark"] table.data-table.meta-table > tbody > tr:hover > td,
html[data-theme="dark"] table.data-table.enterprise-table tbody tr:hover td,
html[data-theme="dark"] #albumInfoWrap table.data-table tbody tr:hover td {
    background-color:var(--raised-bg);
}


@media (max-width:640px) {
    html body table.data-table.smart-link-list-table > tbody > tr:hover,
    html body table.data-table.smart-link-list-table > tbody > tr:hover > td {
        background:transparent !important;
        box-shadow:none !important;
    }
}


@media (max-width:376px) {
    .delivery-filter-form,
    .delivery-filter-form.delivery-filter-no-owner {
        grid-template-columns:minmax(0,1fr) !important;
        grid-template-areas:
            "search"
            "owner"
            "failed"
            "status"
            "live"
            "submit";
    }
    .delivery-filter-form.delivery-filter-no-owner {
        grid-template-areas:
            "search"
            "failed"
            "status"
            "live"
            "submit";
    }
    .delivery-filter-form .delivery-filter-submit {
        width:100%;
        min-width:0;
    }
    .delivery-bulk-toolbar {
        grid-template-columns:minmax(0,1fr);
    }
    .delivery-bulk-toolbar > :is(.bulk-menu-wrap,.delivery-mobile-bulk-trigger,.delivery-mobile-upcs) {
        width:100%;
        min-width:0;
        min-height:44px;
    }
    .delivery-bulk-toolbar > .bulk-menu-wrap > button,
    .delivery-bulk-toolbar > .delivery-mobile-bulk-trigger,
    .delivery-bulk-toolbar > .delivery-mobile-upcs {
        height:44px;
        min-height:44px;
        max-height:44px;
        padding-inline:8px;
        font-size:13px;
        white-space:nowrap;
        overflow:hidden;
        text-overflow:ellipsis;
    }
    .delivery-page-hint { min-height:calc(1.4em * 7); }
    html[lang="vi"] .delivery-page-hint { min-height:calc(1.4em * 8); }
    .delivery-list-table thead tr,
    .delivery-list-table thead th { height:44px; }
    .delivery-list-table thead th {
        white-space:nowrap;
        text-overflow:ellipsis;
        overflow:hidden;
        overflow-wrap:normal;
        word-break:normal;
        vertical-align:middle;
    }
    .delivery-list-table thead th > a { white-space:inherit; }
    .delivery-page-card > .pagination {
        display:grid;
        grid-template-columns:minmax(0,1fr);
        gap:8px;
        align-items:center;
    }
    .delivery-page-card > .pagination > :is(.pagination-perpage,.pagination-info) { justify-self:center; }
    .delivery-page-card > .pagination .pagination-links {
        width:100%;
        min-width:0;
        margin-left:0;
        flex-wrap:nowrap;
        justify-content:flex-start;
        overflow-x:auto;
        overscroll-behavior-inline:contain;
        scrollbar-width:thin;
    }
}


.smart-link-controls-card {
    padding-bottom:8px;
    margin-bottom:0;
    container-type:inline-size;
    container-name:smart-link-controls;
}

.smart-link-results-card { margin-top:0; }
.smart-link-list-toolbar {
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:10px;
    margin-top:12px;
}
.smart-link-filter-form {
    flex:1 1 auto;
    min-width:0;
    margin-top:0;
}
.smart-link-primary-actions {
    display:grid;
    grid-auto-flow:column;
    grid-auto-columns:max-content;
    gap:8px;
    flex:0 0 auto;
}
.smart-link-primary-actions > a {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    margin:0;
}
@container smart-link-controls (max-width:980px) {
    .smart-link-list-toolbar {
        flex-direction:column;
        align-items:stretch;
    }
    .smart-link-filter-form {
        width:100%;
        flex:0 0 auto;
    }
    .smart-link-filter-form > button:not(.search-clear-btn) {
        flex:0 0 auto;
    }
    .smart-link-primary-actions {
        align-self:flex-start;
    }
}

@media (min-width:641px) {
    @container smart-link-controls (max-width:980px) {
        .smart-link-filter-form .search-clear-wrap {
            flex:1 1 260px;
            max-width:none;
        }
        .smart-link-filter-form > .rm-searchable-select-shell {
            flex:0 1 210px;
            min-width:180px;
        }
        .smart-link-filter-form > select.rm-searchable-select {
            flex:0 1 210px;
            width:auto;
            min-width:180px;
        }
    }
}
@media (max-width:640px) {
    .smart-link-list-toolbar {
        flex-direction:column;
        align-items:stretch;
        gap:10px;
    }
    .smart-link-filter-form { width:100%; }
    .rm-mobile-balanced-actions {
        grid-template-columns:repeat(2,minmax(0,1fr)) !important;
        grid-auto-flow:row !important;
        gap:8px !important;
        width:100%;
    }
    .rm-mobile-balanced-actions > :only-child { grid-column:1 / -1; }
    .rm-mobile-balanced-actions > :last-child:nth-child(odd) { grid-column:1 / -1; }
}


.rjl-controls-card {
    container-type:inline-size;
    container-name:rjl-controls;
}
@container rjl-controls (max-width:760px) {
    .rjl-page-heading {
        display:grid;
        grid-template-columns:minmax(0,1fr);
        gap:12px;
    }
    .rjl-enterprise-target {
        width:100%;
        max-width:none;
    }
    .rjl-filter-grid {
        display:flex;
        flex-direction:column;
        gap:10px;
    }
    .rjl-filter-grid .subnav {
        display:flex;
        justify-content:center;
        flex-wrap:wrap;
        overflow-x:visible;
        width:100%;
    }
    .rjl-fg-type,
    .rjl-fg-channel {
        padding-left:0;
        border-left:none;
    }
    .rjl-query-tools {
        display:grid;
        grid-template-columns:minmax(0,1fr);
        align-items:stretch;
    }
    .rjl-query-form {
        width:100%;
        min-width:0;
        flex-basis:auto;
    }
    .rjl-query-tools .rjl-dsp-filter-summary {
        width:100%;
        min-width:0;
        margin-top:0;
    }
}


.dsp-delivery-status-card table.album-public-dsps-table > tbody > tr > :is(th,td) {
    background:transparent !important;
}
.dsp-delivery-status-card table.album-public-dsps-table .album-dsp-identity-cell {
    color:var(--text-main);
    font-family:inherit;
    font-size:inherit;
    font-weight:600;
    letter-spacing:normal;
    text-transform:none;
}
table.data-table.delivery-private-dsps-table > tbody > tr > td,
table.data-table.delivery-private-dsps-table > tbody > tr:nth-child(odd) > td,
table.data-table.delivery-private-dsps-table > tbody > tr:nth-child(even) > td {
    background:var(--surface-bg) !important;
}
table.data-table.delivery-private-dsps-table > tbody > tr:hover > td {
    background:color-mix(in srgb,var(--catalog-accent) 6%,var(--surface-bg)) !important;
}
table.data-table.delivery-private-dsps-table > tbody > tr:has(:focus-visible) > td {
    background:color-mix(in srgb,var(--catalog-accent) 8%,var(--surface-bg)) !important;
}


table.data-table.album-public-dsps-table {
    border:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    overflow:visible;
}
.album-public-dsp-select-all {
    position:relative;
    gap:8px;
    min-width:0;
    min-height:36px;
    margin:0;
    text-transform:uppercase;
    user-select:none;
}
.album-public-dsp-select-all input {
    position:absolute;
    width:1px;
    height:1px;
    margin:0;
    opacity:0;
    pointer-events:none;
}
.album-public-dsp-select-all > span {
    display:inline-flex;
    align-items:center;
    gap:8px;
}
.album-public-dsp-select-all > span::before {
    content:"";
    display:inline-grid;
    place-items:center;
    box-sizing:border-box;
    width:17px;
    height:17px;
    border:1.5px solid transparent;
    border-radius:50%;
    font-size:11px;
    font-weight:800;
    line-height:1;
}
.album-public-dsp-select-all input:checked + span::before {
    content:"✓";
    border-color:var(--primary);
    background:var(--primary);
    color:var(--primary-contrast);
}
.album-public-dsp-select-all input:indeterminate + span::before {
    content:"−";
    border-color:var(--primary);
    background:var(--primary-light);
    color:var(--primary);
}
.album-public-dsp-select-all:has(input:checked) {
    background:var(--primary-light);
    border-color:var(--primary);
    color:var(--primary);
}
.album-public-dsp-select-all:has(input:focus-visible) {
    outline:2px solid var(--primary);
    outline-offset:2px;
}
html[data-theme="dark"] .album-public-dsp-select-all:has(input:checked) {
    background:color-mix(in srgb,var(--primary) 16%,transparent);
    border-color:var(--primary);
    color:var(--primary);
    opacity:1;
}
.album-public-dsps-table > tbody > tr[data-rm-dsp-selectable] {
    cursor:pointer;
    -webkit-tap-highlight-color:transparent;
}
.album-public-dsps-table > tbody > tr.is-selected {
    border-color:var(--primary);
    background:color-mix(in srgb,var(--primary) 7%,var(--surface-bg));
    box-shadow:0 0 0 1px var(--primary);
}
@media (max-width:640px) {
    .album-public-dsp-select-all { min-height:44px; }
}

.style-presets-page { min-width:0; }
.style-presets-page .style-preset-filters {
    display:grid;
    grid-template-columns:minmax(260px,2fr) minmax(150px,.72fr) minmax(180px,.9fr) auto;
    align-items:end;
    gap:12px;
    padding:14px;
    border:1px solid var(--table-border);
    border-radius:10px;
    background:var(--raised-bg);
}
.style-presets-page .style-preset-filters .form-row { min-width:0; margin:0; }
.style-presets-page .style-preset-search-wrap {
    display:block;
    width:100%;
    min-width:0;
    height:36px;
}
.style-presets-page .style-preset-search-wrap input[type="search"] {
    width:100%;
    min-width:0;
    height:36px;
    min-height:36px;
    padding:6px 30px 6px 14px;
    border:1px solid var(--control-border);
    border-radius:20px;
    background-color:transparent;
    box-shadow:none;
    box-sizing:border-box;
}
.style-presets-page .style-preset-search-wrap input[type="search"]:hover { border-color:color-mix(in srgb,var(--primary) 55%,var(--control-border)); }
.style-presets-page .style-preset-search-wrap input[type="search"]:focus {
    border-color:var(--primary);
    outline:0;
    box-shadow:0 0 0 3px color-mix(in srgb,var(--primary) 18%,transparent);
}
.style-presets-page .style-preset-filters select {
    width:100%;
    min-width:0;
    min-height:44px;
    padding:8px 4px;
    border:0;
    border-bottom:1px solid var(--control-border);
    border-radius:0;
    background-color:transparent;
    box-shadow:none;
    box-sizing:border-box;
}
.style-presets-page .style-preset-filters select:is(:hover,:focus) {
    border-bottom-color:var(--primary);
    outline:0;
    box-shadow:inset 0 -1px 0 var(--primary);
}
.style-presets-page .style-preset-filters .form-row > .rm-searchable-select-shell {
    width:100%;
    min-width:0;
}
.style-presets-page .style-preset-filters .form-row > .rm-searchable-select-shell > .rm-searchable-select-trigger {
    width:100%;
    height:44px;
    min-height:44px;
    max-height:44px;
    padding:8px 28px 8px 4px;
    border:0;
    border-bottom:1px solid var(--control-border);
    border-radius:0;
    background-color:transparent;
    box-shadow:none;
    box-sizing:border-box;
}
.style-presets-page .style-preset-filters .form-row > .rm-searchable-select-shell > .rm-searchable-select-trigger:hover,
.style-presets-page .style-preset-filters .form-row > .rm-searchable-select-shell > .rm-searchable-select-trigger:focus-visible,
.style-presets-page .style-preset-filters .form-row > .rm-searchable-select-shell.is-open > .rm-searchable-select-trigger {
    border-bottom-color:var(--primary);
    outline:0;
    background-color:transparent;
    box-shadow:inset 0 -1px 0 var(--primary);
}
.style-presets-page .style-preset-filters .form-actions { align-self:end; flex-wrap:nowrap; margin:0; }
.style-presets-page .bulk-actions {
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:8px;
    margin:18px 0 10px;
}
.style-preset-enterprise-modal {
    width:min(900px,calc(100vw - 32px));
    max-width:900px;
    max-height:min(86vh,760px);
    padding:26px 28px 24px;
    overflow:auto;
    box-sizing:border-box;
}
.style-preset-enterprise-modal > h3 { margin:0 44px 8px 0; font-size:24px; line-height:1.25; }
.style-preset-enterprise-modal > .hint-text { max-width:640px; margin:0; line-height:1.5; }
.style-preset-enterprise-tools {
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    align-items:end;
    gap:12px;
    width:100%;
    margin:18px 0 0;
    padding:0 0 18px;
    border-bottom:1px solid var(--table-border);
}
.style-preset-enterprise-tools > .form-row { min-width:0; margin:0; }
.style-preset-enterprise-tools input[type="search"] {
    width:100%;
    height:44px;
    min-height:44px;
    padding:8px 12px;
    border:1px solid var(--control-border);
    border-radius:8px;
    background:var(--raised-bg);
    color:var(--text-main);
    box-shadow:none;
    box-sizing:border-box;
}
.style-preset-enterprise-tools input[type="search"]:hover { border-color:color-mix(in srgb,var(--primary) 55%,var(--control-border)); }
.style-preset-enterprise-tools input[type="search"]:focus {
    border-color:var(--primary);
    outline:0;
    box-shadow:0 0 0 3px color-mix(in srgb,var(--primary) 18%,transparent);
}
.style-preset-enterprise-tools > button { width:120px; min-width:120px; height:44px; }
.style-preset-enterprise-tools > button,
.style-preset-enterprise-footer > button {
    font-family:var(--font-family-control);
    font-size:.875rem;
    font-weight:500;
    line-height:1.75;
    letter-spacing:.1px;
    text-transform:uppercase;
}
.style-preset-enterprise-table-wrap { min-height:0!important; max-height:min(46vh,430px); margin:0; overflow:auto; border:0; }
.style-preset-enterprise-table { width:100%; table-layout:fixed; border-collapse:collapse; }
.style-preset-enterprise-table :is(th,td) { min-width:0; padding:12px 10px; border-bottom:1px solid var(--table-border); vertical-align:middle; }
.style-preset-enterprise-table th { height:44px; color:var(--text-muted); font-size:12px; font-weight:500; text-transform:uppercase; letter-spacing:.04em; }
.style-preset-enterprise-table th:nth-child(1),
.style-preset-enterprise-table .style-preset-enterprise-select { width:56px; text-align:center; }
.style-preset-enterprise-table .style-preset-enterprise-id { width:126px; text-align:center; }
.style-preset-enterprise-table .style-preset-enterprise-name { text-align:left; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.style-preset-enterprise-table .style-preset-enterprise-status { width:132px; text-align:center; }
.style-preset-enterprise-table .style-preset-enterprise-status > .status-badge { width:112px; margin-inline:auto; }
.style-preset-enterprise-table tbody tr.is-main-enterprise { box-shadow:inset 4px 0 0 var(--primary); }
.style-preset-enterprise-pagination { display:flex; align-items:center; justify-content:center; gap:12px; margin:18px 0 0; }
.style-preset-enterprise-pagination > button { width:120px; min-width:120px; height:44px; }
.style-preset-enterprise-pagination > span { width:64px; min-width:64px; text-align:center; color:var(--text-muted); font-variant-numeric:tabular-nums; }
.style-preset-enterprise-footer { justify-content:center; gap:10px; margin-top:16px; }
.style-preset-enterprise-footer > button { min-width:140px; min-height:44px; }
#stylePresetEnterpriseEmpty { margin:18px 0 0; text-align:center; }
#stylePresetEnterpriseModal.is-page-switching .style-preset-enterprise-table-wrap { opacity:.62; transform:translateX(4px); }

@media (max-width: 600px) {
    .style-preset-enterprise-modal { width:calc(100vw - 16px); max-height:calc(100vh - 24px); padding:22px 20px 20px; }
    .style-preset-enterprise-modal > h3 { font-size:22px; }
    .style-preset-enterprise-tools { grid-template-columns:minmax(0,1fr); }
    .style-preset-enterprise-tools > button { width:100%; }
    .style-preset-enterprise-table :is(th,td) { padding-inline:6px; }
    .style-preset-enterprise-table .style-preset-enterprise-select { width:44px; }
    .style-preset-enterprise-table .style-preset-enterprise-id { width:82px; }
    .style-preset-enterprise-table .style-preset-enterprise-status { width:112px; }
    .style-preset-enterprise-table .style-preset-enterprise-status > .status-badge { width:100px; }
    .style-preset-enterprise-pagination { gap:8px; }
    .style-preset-enterprise-pagination > button { width:min(120px,calc((100% - 64px)/2)); min-width:0; }
    .style-preset-enterprise-pagination > span { width:48px; min-width:48px; }
    .style-preset-enterprise-footer { display:grid; grid-template-columns:minmax(0,1fr); }
    .style-preset-enterprise-footer > button { width:100%; }
}
.style-preset-table-scroll { border:1px solid var(--table-border); border-radius:10px; background:var(--raised-bg); }
table.data-table.style-preset-table { width:100%; min-width:0; table-layout:fixed; border:0; }
.style-preset-table th:nth-child(1) { width:46px; }
.style-preset-table th:nth-child(2) { width:16%; }
.style-preset-table th:nth-child(3) { width:10%; }
.style-preset-table th:nth-child(4) { width:10%; }
.style-preset-table th:nth-child(5) { width:82px; }
.style-preset-table th:nth-child(6) { width:132px; }
.style-preset-table th:nth-child(7) { width:auto; }
.style-preset-table thead th { vertical-align:middle; }
.style-preset-table th.col-select,
.style-preset-table td.style-preset-select-cell { padding:0; text-align:center; vertical-align:middle; }
.style-preset-table th.col-select > .style-preset-check-target { margin-inline:auto; }
.style-preset-table td.style-preset-select-cell > .style-preset-check-target { margin-inline:auto; }
.style-preset-sort-link {
    display:inline-flex !important;
    align-items:center;
    gap:6px;
    min-height:44px;
    max-width:100%;
    color:inherit;
    text-decoration:none;
}
.style-preset-sort-link:hover { color:var(--primary); }
.style-preset-sort-link:focus-visible { color:var(--primary); outline:2px solid var(--primary); outline-offset:3px; border-radius:4px; }
.style-preset-sort-indicator { flex:0 0 auto; color:var(--primary); font-size:10px; }
.style-preset-name-cell { min-width:0; overflow:hidden; }
.style-preset-check-target { display:inline-flex; align-items:center; justify-content:center; width:44px; height:44px; margin:0; cursor:pointer; }
.style-preset-name {
    display:block;
    width:100%;
    min-width:0;
    overflow:hidden !important;
    text-overflow:ellipsis;
    white-space:nowrap;
    overflow-wrap:normal !important;
}
.style-preset-table tbody > tr.is-system-default-preset { box-shadow:inset 4px 0 0 var(--primary); }
.style-preset-table th:nth-child(5),
.style-preset-table td:nth-child(5),
.style-preset-table th:nth-child(6),
.style-preset-table td:nth-child(6) { text-align:center; }
.style-preset-table .style-preset-usage-heading .style-preset-sort-link { justify-content:center; width:100%; }
.style-preset-table .style-preset-usage-cell { font-variant-numeric:tabular-nums; }
.style-preset-table td:nth-child(6) > .status-badge { width:112px; margin-inline:auto; }
.style-preset-edit-usage-summary { display:flex; align-items:baseline; gap:8px; margin:8px 0 0; color:var(--muted-text); }
.style-preset-edit-usage-summary strong { color:var(--text-main); font-variant-numeric:tabular-nums; }
.style-preset-edit-page .page-context-heading {
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,330px);
    grid-template-areas:
        "title actions"
        "hint hint"
        "usage usage";
    align-items:center;
    column-gap:20px;
    row-gap:8px;
}
.style-preset-edit-title { grid-area:title; margin:0; }
.style-preset-edit-hint { grid-area:hint; margin:0; }
.style-preset-edit-usage { grid-area:usage; display:flex; align-items:center; gap:10px; min-width:0; }
.style-preset-edit-heading-actions {
    grid-area:actions;
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
    width:min(330px,100%);
    justify-self:end;
}
.style-preset-edit-heading-actions > * {
    width:100%;
    min-width:0;
    min-height:44px;
}
.style-preset-edit-config-heading {
    display:block;
}
.style-preset-edit-config-copy { flex:1 1 auto; min-width:0; }
.style-preset-edit-footer-actions { gap:10px; }
.style-preset-edit-footer-actions > * { min-width:160px; }
html[data-theme="dark"] body .style-preset-edit-page :is(a.btn.btn-secondary,button.btn.btn-secondary):is(:hover,:focus-visible) {
    background-color:#F2F3F5 !important;
    color:#1F1F21 !important;
    border-color:#F2F3F5 !important;
}
html[data-theme="dark"] body .style-preset-edit-page .style-preset-edit-enterprises:is(:hover,:focus-visible,:active) {
    background:#F2F3F5 !important;
    color:#1F1F21 !important;
    border-color:#F2F3F5 !important;
}
.style-preset-table .status-badge.status-info {
    border:0;
    background:var(--status-active-bg,#DCFCE7);
    color:var(--status-active-text,#166534);
    opacity:var(--status-opacity,1);
}
html[data-theme="dark"] .style-preset-table .status-badge.status-info {
    border:0;
    background:var(--status-active-bg,#DCFCE7);
    color:var(--status-active-text,#166534);
}
table.data-table.style-preset-table td > .row-actions {
    display:grid;
    grid-auto-flow:row;
    grid-auto-columns:initial;
    grid-template-columns:repeat(auto-fit,minmax(min(100%,112px),1fr));
    gap:8px;
    width:100%;
    max-width:none;
    margin:0;
}
table.data-table.style-preset-table td.style-preset-actions-cell > .row-actions > :is(button,a) {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:100%;
    min-width:0;
    height:36px;
    min-height:36px;
    text-align:center;
    margin:0;
    padding-inline:8px;
    box-sizing:border-box;
    font-family:var(--font-family-control);
    font-size:.875rem;
    font-weight:500;
    line-height:1.75;
    letter-spacing:.1px;
    text-transform:uppercase;
}

@media (min-width: 641px) and (max-width: 1100px) {
    .style-presets-page .style-preset-filters { grid-template-columns:minmax(0,1fr) minmax(150px,.6fr); }
    .style-presets-page .style-preset-filters .form-actions { grid-column:1 / -1; }
    table.data-table.style-preset-table td > .row-actions { grid-template-columns:repeat(2,minmax(0,1fr)); }
}

@media (min-width: 641px) and (max-width: 900px) {
    .style-preset-table .row-actions > * { padding-inline:1px; }
}

@media (min-width: 641px) and (max-width: 970px) {
    table.data-table.style-preset-table td > .row-actions { grid-template-columns:minmax(0,1fr); }
}

@media (min-width: 1101px) and (max-width: 1400px) {
    table.data-table.style-preset-table td > .row-actions { grid-template-columns:repeat(3,minmax(0,1fr)); }
}

@media (min-width: 641px) and (max-width: 1100px) {
    .style-presets-page .style-preset-filters { grid-template-columns:minmax(0,1fr) minmax(150px,.6fr); }
    .style-presets-page .style-preset-filters .form-actions { grid-column:1 / -1; }
}

@media (max-width: 640px) {
    .style-preset-edit-page .page-context-heading {
        grid-template-columns:minmax(0,1fr);
        grid-template-areas:
            "title"
            "hint"
            "usage"
            "actions";
        gap:10px;
    }
    .style-presets-page .page-context-heading { align-items:stretch; gap:12px; }
    .style-presets-page .page-context-heading > .btn {
        display:flex;
        align-items:center;
        justify-content:center;
        width:100%;
        height:44px;
        min-height:44px;
        box-sizing:border-box;
    }
    .style-presets-page .style-preset-filters {
        display:flex;
        padding:0;
        border:0;
        border-radius:0;
        background:transparent;
        box-shadow:none;
    }
    .style-presets-page .style-preset-filters > .form-row {
        display:block;
        flex:0 0 auto;
        align-self:stretch;
        width:100% !important;
        min-width:0 !important;
        max-width:none !important;
        margin:0;
    }
    .style-presets-page .style-preset-filters > .form-row > label {
        display:block;
        width:100%;
        margin:0 0 7px;
        text-align:left;
    }
    .style-presets-page .style-preset-filters > .form-row > input,
    .style-presets-page .style-preset-filters > .form-row > select {
        display:block;
        width:100% !important;
        min-width:0 !important;
        max-width:none !important;
        margin:0;
    }
    .style-presets-page .style-preset-search-wrap {
        width:100%;
        height:44px;
    }
    .style-presets-page .style-preset-search-wrap input[type="search"] {
        height:44px;
        min-height:44px;
    }
    .style-presets-page .style-preset-filters .form-actions {
        display:grid;
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:8px;
        width:100%;
        margin-top:2px;
    }
    .style-presets-page .style-preset-filters .form-actions > * {
        display:flex;
        align-items:center;
        justify-content:center;
        width:100%;
        min-width:0;
        min-height:44px;
        margin:0;
        box-sizing:border-box;
    }
    .style-presets-page .bulk-actions { display:grid; grid-template-columns:minmax(0,1fr); gap:10px; }
    .style-presets-page .bulk-actions > * { width:100%; min-width:0; min-height:44px; margin:0; }
    .style-presets-page .bulk-actions > :last-child { grid-column:auto; }
    .style-preset-table-scroll { border:0; border-radius:0; background:transparent; }
    table.data-table.style-preset-table { min-width:0; }
    .style-preset-table > thead {
        position:static;
        display:block;
        width:100%;
        height:auto;
        margin:0 0 8px;
        overflow:visible;
        clip-path:none;
        white-space:normal;
    }
    .style-preset-table > thead > tr { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:8px; width:100%; }
    .style-preset-table > thead > tr > th { display:none; }
    .style-preset-table > thead > tr > th.style-preset-name-heading,
    .style-preset-table > thead > tr > th.style-preset-usage-heading {
        display:block;
        width:100%;
        padding:0;
        border:1px solid var(--table-border);
        border-radius:9px;
        background:var(--raised-bg);
    }
    .style-preset-table .style-preset-sort-link {
        position:relative;
        justify-content:center;
        width:100%;
        padding:0 34px;
        box-sizing:border-box;
    }
    .style-preset-table .style-preset-sort-link.rm-btn-loading {
        height:44px;
        min-height:44px;
    }
    .style-preset-table .style-preset-sort-indicator {
        position:absolute;
        right:14px;
        top:50%;
        transform:translateY(-50%);
    }
    .style-preset-edit-usage-summary { margin-top:7px; }
    .style-preset-edit-heading-actions { width:100%; max-width:none; justify-self:stretch; }
    .style-preset-edit-back {
        height:44px;
        min-height:44px;
    }
    .style-preset-edit-footer-actions {
        display:grid;
        grid-template-columns:repeat(2,minmax(0,1fr));
        width:100%;
    }
    .style-preset-edit-footer-actions > * {
        width:100%;
        min-width:0;
        min-height:44px;
    }
    .style-preset-table tbody > tr { position:relative; }
    .style-preset-table tbody > tr.is-system-default-preset { box-shadow:inset 4px 0 0 var(--primary); }
    .style-preset-table tbody > tr > td.style-preset-select-cell {
        position:absolute;
        z-index:1;
        top:7px;
        left:7px;
        display:flex;
        align-items:center;
        justify-content:center;
        width:44px !important;
        height:44px;
        padding:0;
        border:0;
        background:transparent;
    }
    .style-preset-table .style-preset-select-cell input { width:20px; height:20px; margin:0; }
    .style-preset-table tbody > tr > td.style-preset-name-cell { padding:16px 58px 14px; background:var(--surface-soft); }
    .style-preset-table .style-preset-name { line-height:1.4; font-weight:600; text-align:center; }
    .style-preset-table tbody > tr > td[data-style-preset-status] {
        position:relative;
        display:flex;
        align-items:center;
        justify-content:center;
        min-height:44px;
        padding-inline:58px;
    }
    .style-preset-table tbody > tr > td[data-style-preset-status]::before {
        position:absolute;
        left:10px;
        top:50%;
        transform:translateY(-50%);
    }
    table.data-table.style-preset-table tbody > tr > td.style-preset-actions-cell > .row-actions {
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:8px;
    }
    table.data-table.style-preset-table td.style-preset-actions-cell > .row-actions > :is(button,a) { height:44px; min-height:44px; }
}
@media (max-width:420px) {
    .style-preset-edit-heading-actions { grid-template-columns:minmax(0,1fr); }
}

html[data-theme="dark"] body .style-presets-page .page-context-heading > a.btn.btn-secondary:hover,
html[data-theme="dark"] body .style-presets-page .page-context-heading > a.btn.btn-secondary:focus-visible {
    background:#F2F3F5 !important;
    background-color:#F2F3F5 !important;
    color:#1F1F21 !important;
    border-color:#F2F3F5 !important;
    opacity:1;
}


html:not([data-theme="dark"]) #coverUploadForm .album-cover-upload-label {
    background:transparent !important;
    color:var(--primary) !important;
    border-color:var(--primary) !important;
}
html[data-theme="dark"] #coverUploadForm .album-cover-upload-label {
    background:transparent !important;
    color:var(--text-main) !important;
    border-color:var(--text-muted) !important;
}
html:not([data-theme="dark"]) #coverUploadForm .album-cover-upload-label:hover,
html:not([data-theme="dark"]) #coverUploadForm .file-input-wrap:focus-within > .album-cover-upload-label {
    background:var(--primary-light) !important;
    color:var(--primary) !important;
    border-color:var(--primary) !important;
}
html[data-theme="dark"] #coverUploadForm .album-cover-upload-label:hover,
html[data-theme="dark"] #coverUploadForm .file-input-wrap:focus-within > .album-cover-upload-label {
    background:var(--text-main) !important;
    color:var(--page-bg) !important;
    border-color:var(--text-main) !important;
}


table.data-table tbody tr.is-current-period > td {
    background-color:color-mix(in srgb,var(--primary) 10%,var(--surface-bg)) !important;
    color:var(--text-main);
}
table.data-table tbody tr.is-current-period:hover > td {
    background-color:color-mix(in srgb,var(--primary) 14%,var(--surface-bg)) !important;
}
html[data-theme="dark"] table.data-table tbody tr.is-current-period > td {
    background-color:var(--raised-bg) !important;
    color:var(--text-main);
}
html[data-theme="dark"] table.data-table tbody tr.is-current-period:hover > td {
    background-color:color-mix(in srgb,var(--text-main) 5%,var(--raised-bg)) !important;
}
@media (max-width:640px) {
    html:not([data-theme="dark"]) #coverUploadForm .album-cover-upload-label,
    html[data-theme="dark"] #coverUploadForm .album-cover-upload-label {
        background:transparent !important;
        color:var(--primary) !important;
        border-color:transparent !important;
    }
    #albumInfoWrap .detail-mobile-metadata-table > tbody > tr > td,
    html[data-theme="dark"] #albumInfoWrap .detail-mobile-metadata-table > tbody > tr > td,
    #albumInfoWrap .detail-mobile-metadata-table > tbody > tr:hover > td,
    html[data-theme="dark"] #albumInfoWrap .detail-mobile-metadata-table > tbody > tr:hover > td {
        background:transparent !important;
    }
    #albumInfoWrap .detail-mobile-metadata-table > tbody > tr > td.diff-cell,
    #albumInfoWrap .detail-mobile-metadata-table > tbody > tr:hover > td.diff-cell,
    html[data-theme="dark"] #albumInfoWrap .detail-mobile-metadata-table > tbody > tr > td.diff-cell,
    html[data-theme="dark"] #albumInfoWrap .detail-mobile-metadata-table > tbody > tr:hover > td.diff-cell {
        background:var(--modified-row-bg) !important;
    }
    .album-metadata-table > tbody > tr.album-metadata-owner-row,
    .track-view-metadata-table > tbody > tr.entity-owner-metadata-row { display:none !important; }
    .delivery-private-dsps-table > tbody > tr.is-mobile-selected,
    .delivery-private-dsps-table > tbody > tr.is-mobile-selected:hover {
        background:transparent !important;
        box-shadow:none !important;
    }
    .delivery-private-dsps-table > tbody > tr.is-mobile-selected > td,
    .delivery-private-dsps-table > tbody > tr.is-mobile-selected:hover > td {
        background:transparent !important;
        box-shadow:none !important;
    }
    .delivery-private-dsps-table > tbody > tr.is-mobile-selected > td.album-dsp-identity-cell,
    .delivery-private-dsps-table > tbody > tr.is-mobile-selected:hover > td.album-dsp-identity-cell {
        border-left:3px solid var(--dsp-selected-border) !important;
    }
}


@media (max-width:640px) {
    html body * {
        -webkit-tap-highlight-color:transparent !important;
    }
    table.data-table.album-list-table tbody tr.row-clickable {
        -webkit-tap-highlight-color:transparent;
    }
    html body table.data-table.album-list-table > tbody > tr:hover {
        background:transparent !important;
        box-shadow:none !important;
    }
    html body table.data-table.album-list-table > tbody > tr:hover > td {
        background:transparent !important;
        box-shadow:none !important;
    }
    html body table.data-table.album-list-table .album-mobile-choose:hover,
    html body table.data-table.album-list-table .album-mobile-choose:active,
    html body table.data-table.album-list-table .album-mobile-choose:focus:not(:focus-visible) {
        background:transparent !important;
        color:var(--primary) !important;
        border-color:var(--primary) !important;
        outline:none !important;
        box-shadow:none !important;
        transform:none !important;
        transition:none !important;
    }
    html body table.data-table.album-list-table > tbody > tr.is-mobile-selected,
    html body table.data-table.album-list-table > tbody > tr.is-mobile-selected:hover {
        background:var(--dsp-selected-bg) !important;
        box-shadow:inset 3px 0 0 var(--dsp-selected-border) !important;
    }
    html body table.data-table.album-list-table > tbody > tr.is-mobile-selected > td,
    html body table.data-table.album-list-table > tbody > tr.is-mobile-selected:hover > td {
        background:transparent !important;
        box-shadow:none !important;
    }
    html body table.data-table.album-list-table .album-mobile-choose.is-selected,
    html body table.data-table.album-list-table .album-mobile-choose.is-selected:hover,
    html body table.data-table.album-list-table .album-mobile-choose.is-selected:active,
    html body table.data-table.album-list-table .album-mobile-choose.is-selected:focus:not(:focus-visible) {
        background:var(--primary) !important;
        color:var(--primary-contrast) !important;
        border-color:var(--primary) !important;
        box-shadow:none !important;
    }
}


@media (max-width:640px) {
    
    #albumInfoWrap > .card {
        padding-left:0 !important;
        padding-right:0 !important;
    }
    #albumInfoWrap > .card:first-child {
        padding-top:0;
        padding-bottom:8px;
    }
    
    .album-view-content:has(> .album-status-context-card) {
        padding-top:4px !important;
    }
    .album-status-context-card {
        padding-left:0 !important;
        padding-right:0 !important;
        padding-bottom:0 !important;
        margin-bottom:20px !important;
    }
    .album-status-freshness .modified-banner {
        margin-top:20px;
    }
    .row-between.is-card-head.album-view-tracks-card-head {
        padding-top:8px;
    }
    .album-view-tracks-card {
        padding-bottom:8px !important;
    }
    .album-view-metadata-card {
        padding-top:8px;
        
        margin-bottom:6px;
    }
    
    .album-public-dsp-header-actions .album-dsp-selection-launch {
        margin-block:0;
    }
    .album-dsp-selection-launch-button {
        min-height:44px;
    }
    .dsp-delivery-status-card > .row-between.is-card-head {
        padding-top:8px;
    }
    #albumInfoWrap .dsp-delivery-status-card {
        padding-bottom:16px !important;
    }
    .dsp-delivery-status-card .review-legend-wrap {
        padding-top:28px;
    }
    .album-public-dsp-form-spacer {
        display:none;
    }
    .album-submit-review-card {
        padding-top:8px;
    }
    .album-notes-card {
        padding-top:8px;
        padding-bottom:8px;
    }
    .app-main > .container:has(#albumInfoWrap) {
        padding-bottom:4px;
    }
    .footer {
        padding:10px 20px calc(14px + env(safe-area-inset-bottom, 0px));
    }
    .footer-content {
        width:100%;
        justify-content:space-between;
    }
}


.album-header-info {
    --album-identity-glyph-gap:10px;
}
.album-header-info.can-manage-cover .album-header-catalog-number {
    display:none !important;
}

@media (min-width:641px) {
    .album-header-info.can-manage-cover {
        display:grid;
        grid-template-rows:auto var(--album-identity-glyph-gap) auto minmax(0,1fr) auto;
        min-height:var(--album-view-cover-size);
        height:var(--album-view-cover-size);
        padding-top:4px;
        box-sizing:border-box;
    }
    .album-header-info.can-manage-cover .album-view-title {
        grid-row:1;
        margin:0;
    }
    .album-header-info.can-manage-cover .album-header-upc-line {
        grid-row:3;
        align-self:start;
        display:flex;
        align-items:baseline;
        flex-wrap:nowrap;
        gap:4px;
        min-height:20px;
        line-height:20px;
        margin:0 !important;
        white-space:nowrap;
    }
    .album-header-info.can-manage-cover #coverUploadForm {
        grid-row:5;
        align-self:end;
        margin-top:auto !important;
    }
    .album-header-info.is-cover-locked {
        display:flex;
        flex-direction:column;
        justify-content:flex-end;
        gap:var(--album-identity-glyph-gap);
        min-height:var(--album-view-cover-size);
    }
    .album-header-info.is-cover-locked .album-view-title { margin:0; }
    .album-header-info.is-cover-locked .album-header-upc-line { display:contents; }
    .album-header-info.is-cover-locked :is(.album-header-upc-value,.album-header-catalog-number) {
        display:block;
        flex:0 0 auto;
        min-width:0;
        line-height:20px;
        margin:0;
    }
}

@media (max-width:640px) {
    .album-header-info.can-manage-cover,
    .album-header-info.is-cover-locked {
        display:flex;
        flex-direction:column;
        justify-content:flex-end;
        gap:var(--album-identity-glyph-gap);
        min-height:var(--album-view-cover-size);
        height:var(--album-view-cover-size);
    }
    .album-header-info.can-manage-cover .album-view-title,
    .album-header-info.is-cover-locked .album-view-title {
        flex:0 0 auto;
        margin:0;
    }
    .album-header-info.can-manage-cover .album-header-upc-line,
    .album-header-info.is-cover-locked .album-header-upc-line {
        display:contents;
        margin:0 !important;
    }
    .album-header-info :is(.album-header-upc-value,.album-header-catalog-number) {
        display:block;
        flex:0 0 auto;
        width:100%;
        min-width:0;
        line-height:20px;
        margin:0;
        overflow:hidden;
        text-overflow:ellipsis;
        white-space:nowrap;
    }
    .album-header-info.is-cover-locked .album-header-upc-value,
    .album-header-info.is-cover-locked .album-header-catalog-number {
        flex:0 0 20px;
        width:100%;
        height:20px;
    }
    #coverUploadForm {
        flex:0 0 18px;
        height:18px;
        min-height:18px;
        margin:0 !important;
    }
    #coverUploadForm .file-input-wrap {
        position:relative;
        display:grid;
        grid-template-columns:15px minmax(0,1fr);
        align-items:baseline;
        gap:10px;
        width:100%;
        min-width:0;
        height:18px;
        min-height:18px;
    }
    #coverUploadForm .album-cover-upload-label {
        position:relative;
        width:15px;
        min-width:15px;
        height:15px;
        min-height:15px;
        padding:0;
        border:0;
        border-radius:0;
        transform:none;
        overflow:visible;
    }
    #coverUploadForm .album-cover-upload-label::after {
        content:"";
        position:absolute;
        inset:-15px;
    }
    #coverUploadForm .file-input-filename {
        align-self:baseline;
        min-width:0;
        height:18px;
        line-height:18px;
        overflow:hidden;
        text-overflow:ellipsis;
        white-space:nowrap;
    }
}


@media (max-width:640px) {
    #rmContent > .card,
    .enterprise-shell > .card {
        padding-inline:0;
    }
    #artistBulkBar,
    #labelBulkBar,
    .rm-mobile-bulk-actions {
        padding-left:0 !important;
        padding-right:0 !important;
    }
    .rm-bulk-action-wrap { padding:0 !important; }
    .rm-bulk-action-wrap > .rm-mobile-bulk-actions { padding-top:0; }

    
    .file-input-label:not(.album-cover-upload-label) {
        height:44px !important;
        min-height:44px !important;
        max-height:44px !important;
        box-sizing:border-box;
    }
    input[type="file"]::file-selector-button,
    input[type="file"]::-webkit-file-upload-button {
        height:44px !important;
        min-height:44px !important;
        max-height:44px !important;
        box-sizing:border-box;
    }
}


table.data-table.rm-container-card-table > tbody > tr > td {
    width:100% !important;
}
table.album-view-tracks-table.rm-container-card-table .rm-play-btn {
    width:44px;
    min-width:44px;
    height:44px;
    min-height:44px;
}
table.album-view-tracks-table.rm-container-card-table .album-track-copy-btn,
table.album-view-tracks-table.rm-container-card-table .album-track-split-cell button,
table.album-view-tracks-table.rm-container-card-table .album-track-actions-cell button {
    height:44px;
    min-height:44px;
    box-sizing:border-box;
}


@media (max-width:640px) {
    .release-jobs-table.rm-mobile-card-table > tbody > tr.is-mobile-selected,
    .release-jobs-table.rm-mobile-card-table > tbody > tr.is-mobile-selected:hover {
        background:var(--dsp-selected-bg) !important;
        box-shadow:none !important;
    }
    .release-jobs-table.rm-mobile-card-table > tbody > tr.is-mobile-selected > td,
    .release-jobs-table.rm-mobile-card-table > tbody > tr.is-mobile-selected:hover > td {
        background:transparent !important;
        box-shadow:none !important;
    }
    .release-jobs-table.rm-mobile-card-table .rj-history-col-note.is-empty {
        display:none !important;
    }
    table.data-table.release-jobs-table.rm-mobile-card-table > tbody > tr > td.row-actions {
        display:block;
        width:100% !important;
        max-width:100%;
        padding:10px;
    }
    table.data-table.release-jobs-table.rm-mobile-card-table > tbody > tr > td.row-actions > .rj-row-actions {
        grid-template-columns:repeat(2,minmax(0,1fr));
        width:100% !important;
        min-width:0;
        max-width:100%;
        gap:8px;
    }

    
    .revenue-wallet-mobile-bulk-grid {
        display:grid !important;
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:8px !important;
        overflow:visible;
        flex-wrap:initial !important;
    }
    .revenue-wallet-mobile-bulk-grid > :is(button,a),
    .revenue-wallet-mobile-bulk-grid > form,
    .revenue-wallet-mobile-bulk-grid > form > button {
        width:100%;
        min-width:0;
        max-width:100%;
        margin:0;
    }
    .revenue-wallet-mobile-bulk-grid > :last-child:nth-child(odd) {
        grid-column:1 / -1;
    }
    .revenue-wallet-mobile-bulk-grid > .hint-text {
        grid-column:1 / -1;
        text-align:left;
    }

    
    table.data-table[data-rm-mobile-bulk-table] tbody tr .rm-mobile-row-select {
        width:100% !important;
        min-width:0 !important;
        max-width:100% !important;
        height:44px !important;
        min-height:44px !important;
        margin:0 !important;
        padding:0 !important;
    }
}
@media (max-width: 640px) {
    table.data-table.dsp-list-table.rm-mobile-card-table
    td > .row-actions.dsp-list-actions {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
        width: 100% !important;
        gap: 7px !important;
    }

    
    table.data-table.dsp-list-table.rm-mobile-card-table
    .dsp-list-delete-placeholder {
        display: none !important;
    }

    
    table.data-table.dsp-list-table.rm-mobile-card-table
    .dsp-list-actions > .btn {
        width: 100% !important;
        min-width: 0 !important;
    }

    
    table.data-table.dsp-list-table.rm-mobile-card-table
    .dsp-list-actions > .dsp-list-toggle-action {
        width: 100% !important;
        min-width: 0 !important;
    }

    
    table.data-table.dsp-list-table.rm-mobile-card-table
    .dsp-list-actions--count-1 > .dsp-list-toggle-action {
        grid-column: 1 / -1 !important;
        grid-row: 1 !important;
    }
    table.data-table.dsp-list-table.rm-mobile-card-table
    .dsp-list-actions--count-2 > .dsp-list-toggle-action {
        grid-column: 1 !important;
        grid-row: 1 !important;
    }
    table.data-table.dsp-list-table.rm-mobile-card-table
    .dsp-list-actions--count-2 > .dsp-list-delete-action {
        grid-column: 2 !important;
        grid-row: 1 !important;
        width: 100% !important;
    }
    table.data-table.dsp-list-table.rm-mobile-card-table
    .dsp-list-actions--count-3 > .dsp-list-edit-action {
        grid-column: 1 !important;
        grid-row: 1 !important;
    }
    table.data-table.dsp-list-table.rm-mobile-card-table
    .dsp-list-actions--count-3 > .dsp-list-toggle-action {
        grid-column: 2 !important;
        grid-row: 1 !important;
    }
    table.data-table.dsp-list-table.rm-mobile-card-table
    .dsp-list-actions--count-3 > .dsp-list-delete-action {
        grid-column: 1 / -1 !important;
        grid-row: 2 !important;
        width: 100% !important;
    }

    table.data-table.dsp-list-table.rm-mobile-card-table
    .dsp-list-toggle-action > button {
        width: 100% !important;
        min-width: 0 !important;
        white-space: normal !important;
        text-align: center;
    }
}



@media (max-width: 640px) {

    .dsp-list-table.rm-mobile-card-table .dsp-list-name {
        display: flex;
        align-items: center;
        gap: 10px;
        width: 100%;
        min-width: 0;
    }

    .dsp-list-table.rm-mobile-card-table .dsp-list-identity-copy {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        flex: 1 1 auto;
        min-width: 0;

        
        padding-right: 8px;
    }

    .dsp-list-table.rm-mobile-card-table .dsp-list-visible-name {
        grid-column: 1;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .dsp-list-table.rm-mobile-card-table .dsp-list-mobile-meta {
        grid-column: 2;
        display: flex;
        align-items: center;
        min-width: 0;
        white-space: nowrap;
    }

    
    .dsp-list-table.rm-mobile-card-table
    .dsp-list-mobile-meta .mono {
        flex: 0 0 auto;
        white-space: nowrap;
        margin-right: 10px;
    }

    
    .dsp-list-table.rm-mobile-card-table
    .dsp-list-mobile-meta .status-badge + .status-badge {
        margin-left: 8px;
    }

    .dsp-list-table.rm-mobile-card-table
    .dsp-list-mobile-meta .status-badge {
        flex: 0 0 auto;
        width: auto;
        min-width: 0;
        white-space: nowrap;
    }
}

@media (max-width: 640px) {

    
    .album-form-page .album-create-hint {
        margin: 4px 0 18px;
        color: #6b7280;
        font-size: 13px;
        line-height: 1.4;
    }

    
    .album-form-page .avatar-upload-row {
        display: flex;
        flex-direction: column;
        align-items: center !important;
        width: 100%;
    }

    
    .album-form-page #coverPreviewWrap {
        margin-left: auto;
        margin-right: auto;
    }

    
    .album-form-page #coverPreviewWrap + div {
        width: 100%;
        flex: none !important;
        text-align: center;
    }

    .album-form-page .file-input-wrap {
        justify-content: center;
    }

    
    .album-form-page .file-input-label {
        margin-left: auto;
        margin-right: auto;
    }

    
    .album-form-page .settings-hint {
        text-align: center;
    }
	.album-form-page .file-input-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
}

.album-form-page .file-input-label {
    margin: 0 auto;
}

.album-form-page .file-input-filename {
    display: block;
    width: 100%;
    text-align: center;
}
.album-form-page #coverPreviewWrap {
    width: 160px !important;
    height: 160px !important;
    margin-left: auto;
    margin-right: auto;
}
}

@media (max-width: 760px) {
    .rm-list-enterprise-helper .rm-searchable-select-popup {
        position: fixed !important;
        left: 50% !important;
        right: auto !important;

        width: calc(100vw - 40px) !important;
        max-width: 420px !important;

        transform: translateX(
            calc(-50% - var(--rm-helper-popup-offset-x, 0px))
        ) !important;
    }
}

@media (max-width: 640px) {
    .album-status-change-row {
        align-items: flex-start;
    }

    .album-status-mobile-trigger {
        width: calc(50% - 4px) !important;
        min-height: 44px;
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 640px) {
    .track-mobile-bulk-actions #trackSelectedCount {
        display: none !important;
    }
}

@media (max-width: 640px) {

    

    
    .packages-header-card .page-context-actions {
        width: 100%;
        justify-content: center;
    }

    .packages-header-card .page-context-actions > .btn {
        margin-left: auto;
        margin-right: auto;
    }

    
    .packages-list-table tbody > tr {
        width: 100%;
    }

    
    .packages-list-table tbody > tr > td {
        display: grid;
        grid-template-columns: 40% minmax(0, 1fr);
        align-items: center;
        width: 100%;
        box-sizing: border-box;
    }

    
    .packages-list-table tbody > tr > td::before {
        justify-self: start;
    }

    
    .packages-list-table .status-badge {
        width: auto !important;
        min-width: 0 !important;
        max-width: max-content;
        justify-self: start;
        display: inline-flex;
    }

    
    .packages-list-table tbody > tr > td:last-child {
        display: block;
    }

    
    .packages-list-table .row-actions {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 7px;
        width: 100%;
    }

    .packages-list-table .row-actions > a,
    .packages-list-table .row-actions > form {
        width: 100% !important;
        margin: 0 !important;
    }

    .packages-list-table .row-actions > form > button,
    .packages-list-table .row-actions > a {
        width: 100% !important;
        min-width: 0 !important;
        min-height: 44px;
        justify-content: center;
        text-align: center;
    }
	.packages-list-table .status-badge {
    display: inline-flex;
    width: auto !important;
    min-width: 0 !important;
    max-width: max-content;
    justify-self: start;
    white-space: nowrap;
}
}

.package-default-form {
    display: inline-flex;
    margin: 0;
}

.package-default-toggle {
    display: inline-grid !important;
    grid-template-areas: "package-default-label";
    align-items: center;
    justify-items: center;
    box-sizing: border-box;
    min-height: 36px;
    line-height: 1.2;
    white-space: nowrap;
}

.package-default-toggle > span {
    grid-area: package-default-label;
}

.package-default-label-measure {
    visibility: hidden;
    pointer-events: none;
}

@media (max-width: 640px) {
    .packages-list-table .package-default-toggle {
        min-height: 44px;
    }
}

.package-leads-filter-form {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: end;
}

.package-leads-filter-form > .form-row {
    margin-bottom: 0;
}
.package-leads-empty-card {
    padding:0;
    margin:0;
}
.package-leads-filter-card.has-empty-results {
    padding-bottom:0;
    margin-bottom:0;
}
.package-leads-empty-card.is-empty-results .empty-state {
    min-height:0;
    margin:0;
    padding:32px 10px;
}
.package-leads-contact-card.follows-empty-results {
    padding-top:0;
}
.contact-request-table .contact-email-detail-cell {
    overflow-wrap:anywhere;
}
@media (max-width: 640px) {

    

    .package-leads-filter-wrap {
        margin-top: 12px;
        width: 100%;
    }

    .package-leads-filter-form {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        width: 100%;
    }

    .package-leads-filter-form > .form-row {
        width: 100%;
        min-width: 0;
        margin-bottom: 0;
    }

    .package-leads-filter-form > .form-row input,
    .package-leads-filter-form > .form-row select {
        width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }

    .package-leads-filter-form > .rm-mobile-search-action {
        grid-column: 1 / -1;
        width: 100%;
    }


    

.package-leads-empty-card .empty-state {
    min-height: 0;
    margin: 0;

    
    padding: 22px 10px 6px;
}


    

}

@media (max-width: 640px) {
    .packages-header-card .packages-create-button {
        display: flex;
        width: max-content;
        justify-content: center;

        
        margin: 20px auto 12px auto;
    }
}

@media (min-width: 641px) {
    .packages-header-card .packages-create-button {
        display: inline-flex;
        margin: 8px 0 12px 0;
    }
}

@media (max-width: 640px) {

    

    
    .security-log-top-ips-card {
        margin-top: -6px;
    }

    
    .security-log-filters {
        margin-top: -8px;
    }

    
    .security-log-filters + * {
        
    }

    .data-table tbody td:last-child form {
        display: block !important;
        width: 100% !important;
    }

    .data-table tbody td:last-child form .btn-small {
        display: flex !important;
        width: 100% !important;
        min-height: 40px;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
	
.security-log-top-ips-card h3 {
    text-align: center;
}

.security-log-top-ips-card > div {
    justify-content: center;
}
}


@media (max-width:640px) {
    .filter-bar select:not([multiple]),
    .filter-bar-row1 > select:not([multiple]),
    .filter-bar-row2 > select:not([multiple]) {
        text-align:center;
        text-align-last:center;
        padding-left:34px;
    }
    .filter-bar .rm-searchable-select-trigger,
    .filter-bar-row1 > .rm-searchable-select-shell > .rm-searchable-select-trigger,
    .filter-bar-row2 > .rm-searchable-select-shell > .rm-searchable-select-trigger {
        justify-content:center;
        text-align:center;
        padding-inline:34px;
    }
    .filter-bar .rm-searchable-select-value,
    .filter-bar-row1 > .rm-searchable-select-shell .rm-searchable-select-value,
    .filter-bar-row2 > .rm-searchable-select-shell .rm-searchable-select-value {
        display:block;
        width:100%;
        min-width:0;
        text-align:center;
        overflow:hidden;
        text-overflow:ellipsis;
        white-space:nowrap;
    }
    #rmContent button:not([aria-label]),
    #rmContent .btn:not([aria-label]),
    .modal-box button:not([aria-label]),
    .modal-box .btn:not([aria-label]) {
        height:auto !important;
        min-height:44px;
        max-height:none !important;
        white-space:normal !important;
        overflow-wrap:break-word;
        word-break:normal;
        line-height:1.25;
        text-align:center;
    }
}


#rmContent.rm-spa-content-preparing {
    visibility:hidden !important;
}
#rmContent.rm-spa-content-overlay {
    
    pointer-events:none !important;
    visibility:visible !important;
    background:var(--surface-bg, var(--surface, #fff));
}
#rmContent.rm-spa-content-stage {
    position:fixed !important;
    left:var(--rm-spa-content-left) !important;
    top:var(--rm-spa-content-top) !important;
    width:var(--rm-spa-content-width) !important;
    height:var(--rm-spa-content-height) !important;
    margin:0 !important;
    overflow:hidden !important;
    visibility:hidden !important;
    pointer-events:none !important;
    contain:layout paint style;
}


html[data-theme="dark"] :is(button,a,.btn,input[type="submit"],input[type="button"]).rm-btn-loading:not(.brand-nav-link):not(.sidebar-link):not(.mobile-nav-link):not(.mobile-nav-dashboard-link):not(.nav-menu-item):not(.nav-user-menu-item) {
    color:transparent !important;
}


[data-rm-spa-stable-key].is-navigating > .btn[data-rm-spa-stable-state]:not(.is-pending) {
    background:#fff !important;
    border:1px solid var(--primary) !important;
    color:var(--primary) !important;
    opacity:1;
    font-weight:400;
}
[data-rm-spa-stable-key].is-navigating > .btn[data-rm-spa-stable-state].is-pending {
    background:var(--primary-light) !important;
    border-color:var(--primary) !important;
    color:var(--primary) !important;
    --rm-loading-spinner-track:color-mix(in srgb,var(--primary) 34%,transparent);
    --rm-loading-spinner-head:var(--primary);
    opacity:1;
}
[data-rm-spa-stable-key].is-navigating > :is(.view-toggle,.subnav > a)[data-rm-spa-stable-state]:not(.is-pending) {
    color:var(--text-muted) !important;
    border-bottom-color:transparent !important;
}
[data-rm-spa-stable-key].is-navigating > :is(.view-toggle,.subnav > a)[data-rm-spa-stable-state].is-pending {
    color:var(--primary) !important;
    border-bottom-color:var(--primary) !important;
}
html[data-theme="dark"] [data-rm-spa-stable-key].is-navigating > .btn[data-rm-spa-stable-state]:not(.is-pending) {
    background:transparent !important;
    border-color:var(--text-muted) !important;
    color:var(--text-main) !important;
    opacity:.84;
}
html[data-theme="dark"] [data-rm-spa-stable-key].is-navigating > .btn[data-rm-spa-stable-state].is-pending {
    background:color-mix(in srgb,var(--primary) 18%,var(--surface-bg)) !important;
    border-color:var(--primary) !important;
    color:var(--text-main) !important;
    --rm-loading-spinner-track:color-mix(in srgb,var(--primary-dark-contrast) 34%,transparent);
    --rm-loading-spinner-head:var(--primary-dark-contrast);
    opacity:1;
}
html[data-theme="dark"] [data-rm-spa-stable-key].is-navigating > :is(.view-toggle,.subnav > a)[data-rm-spa-stable-state]:not(.is-pending) {
    color:#AEB4BE !important;
}
html[data-theme="dark"] [data-rm-spa-stable-key].is-navigating > :is(.view-toggle,.subnav > a)[data-rm-spa-stable-state].is-pending {
    color:#fff !important;
    border-bottom-color:var(--dark-action-accent) !important;
}


[data-rm-spa-stable-key].is-navigating > [data-rm-spa-stable-state].is-pending.rm-btn-loading {
    color:transparent !important;
    -webkit-text-fill-color:transparent !important;
}


@media (min-width:641px) {
    input[type="month"],
    .rm-calendar-input-proxy[data-rm-calendar-type="month"] {
        width:min(100%,280px);
        max-width:280px;
    }
}
@media (max-width:640px) {
    input[type="month"],
    .rm-calendar-input-proxy[data-rm-calendar-type="month"] {
        width:100%;
        max-width:none;
    }
}


input[data-rm-custom-touch-calendar="1"] {
    cursor:pointer;
}


.rm-calendar-input-proxy {
    font-variant-numeric:tabular-nums;
}

.analytics-append-heading {
    margin-bottom:16px;
}


.mobile-nav-drawer.is-navigating :is(.mobile-nav-link,.mobile-nav-dashboard-link):not(.is-pending):is(:hover,.is-active) {
    background:transparent !important;
    color:var(--text-main,var(--ink)) !important;
    font-weight:400;
}
.mobile-nav-drawer.is-navigating :is(.mobile-nav-link,.mobile-nav-dashboard-link).is-pending {
    background:var(--primary-light) !important;
    color:var(--primary) !important;
    font-weight:600;
}
html[data-theme="dark"] .mobile-nav-drawer.is-navigating :is(.mobile-nav-link,.mobile-nav-dashboard-link).is-pending {
    background:#F2F3F5 !important;
    color:#1F1F21 !important;
}


.mobile-nav-drawer.is-navigating .mobile-nav-dashboard-link.is-pending {
    background:transparent !important;
    color:var(--ink) !important;
    --rm-loading-spinner-track:color-mix(in srgb,var(--primary) 34%,transparent);
    --rm-loading-spinner-head:var(--primary);
}
html[data-theme="dark"] .mobile-nav-drawer.is-navigating .mobile-nav-dashboard-link.is-pending {
    background:transparent !important;
    color:var(--text-main) !important;
    --rm-loading-spinner-track:color-mix(in srgb,var(--text-main) 34%,transparent);
    --rm-loading-spinner-head:var(--text-main);
}


@media (max-width:900px) {
    .mobile-nav-drawer:not(.is-navigating) .mobile-nav-link.is-active,
    .mobile-nav-drawer.is-navigating .mobile-nav-link.is-pending {
        background:var(--primary-light) !important;
        color:var(--primary) !important;
        font-weight:600;
    }
    html[data-theme="dark"] .mobile-nav-drawer:not(.is-navigating) .mobile-nav-link.is-active,
    html[data-theme="dark"] .mobile-nav-drawer.is-navigating .mobile-nav-link.is-pending {
        background:color-mix(in srgb,var(--catalog-accent) 16%,var(--surface-bg)) !important;
        color:var(--catalog-accent) !important;
    }
html[data-theme="dark"] .mobile-nav-drawer :is(.mobile-nav-link.is-active,.mobile-nav-link.is-pending) .mobile-nav-icon {
        color:inherit !important;
        opacity:1;
    }
}


.wallet-transaction-detail-card {
    width:100%;
    
    max-width:600px;
    margin-inline:auto;
}
.wallet-transaction-detail-scroll {
    margin-top:16px;
    overflow:visible;
}
.wallet-transaction-detail-card > .entity-view-actions {
    display:flex;
    justify-content:flex-start;
    align-items:center;
    flex-wrap:wrap;
    margin-top:16px;
}


.dsp-worker-capacity-grid {
    align-items:stretch;
}
.dsp-worker-capacity-grid > .form-row {
    display:grid;
    grid-template-rows:minmax(3.25em, auto) auto;
    align-content:start;
}
.dsp-capacity-field-label {
    display:grid;
    grid-template-rows:minmax(1.35em, auto) minmax(1.35em, auto);
    align-content:start;
    margin:0;
}
.dsp-capacity-field-title,
.dsp-capacity-field-detail {
    display:block;
}
table.data-table.meta-table.wallet-transaction-detail-table {
    table-layout:fixed;
    border:0;
    border-radius:0;
    overflow:visible;
}
.wallet-transaction-detail-table > tbody > tr > td {
    background:transparent !important;
    border-bottom:0;
    vertical-align:middle;
}
.wallet-transaction-detail-table > tbody > tr > .meta-key {
    width:190px;
    color:var(--text-muted);
}


@media (min-width:641px) {
    .wallet-transaction-detail-table > tbody > tr > .meta-key {
        padding-left:0;
    }
}

@media (max-width:640px) {
    .wallet-transaction-detail-card {
        max-width:100%;
    }
    .wallet-transaction-detail-card .entity-view-title,
    .wallet-transaction-detail-card > .hint-text,
    .wallet-transaction-detail-table > tbody > tr > td {
        text-align:center;
    }
    .wallet-transaction-detail-card .entity-view-actions {
        display:flex;
        width:100%;
        align-items:center;
        justify-content:center;
        flex-wrap:wrap;
    }
    .wallet-transaction-detail-card .entity-view-actions > * {
        flex:0 1 180px;
        width:min(180px,100%);
        min-width:0;
        max-width:100%;
    }
    .wallet-transaction-detail-scroll {
        overflow:hidden;
    }
    .wallet-transaction-detail-table > tbody > tr > .meta-key,
    .wallet-transaction-detail-table > tbody > tr > .meta-key + td {
        display:block;
        width:100%;
        box-sizing:border-box;
    }
    .wallet-transaction-detail-table > tbody > tr > .meta-key {
        padding-bottom:2px;
        border-bottom:0;
    }
    .wallet-transaction-detail-table > tbody > tr > .meta-key + td {
        min-width:0;
        padding-top:0;
        overflow-wrap:anywhere;
    }
}


:root { --rm-mobile-control-height:44px; }
@media (max-width:760px) {
    select.rm-searchable-select,
    .rm-searchable-select-trigger {
        height:var(--rm-mobile-control-height);
        min-height:var(--rm-mobile-control-height);
        box-sizing:border-box;
    }
    .delivery-page-card .rm-list-enterprise-helper-source {
        display:none!important;
    }
    .delivery-filter-form :is(input[type="text"],select,.rm-searchable-select-trigger,button) {
        height:var(--rm-mobile-control-height);
        min-height:var(--rm-mobile-control-height);
        max-height:var(--rm-mobile-control-height);
        box-sizing:border-box;
    }
}


html #rmContent button.rm-search-filter-active,
html #rmContent button.rm-search-filter-active:is(:hover,:focus-visible,:active) {
    border-color:var(--modified-icon-bg, var(--alert-text)) !important;
}
html .dsp-irrevocable-lock.dsp-lock-disabled {
    color:var(--modified-icon-bg, var(--alert-text));
}
html .status-badge.dsp-state-badge.dsp-state-disabled {
    display:inline-flex !important;
    align-items:center;
    justify-content:center;
    background:var(--modified-icon-bg, var(--alert-text)) !important;
    color:var(--disabled-dsp-text, var(--modified-icon-text, #fff)) !important;
    cursor:help;
}
html .dsp-irrevocable-lock.clip-text { display:inline-flex !important; overflow:visible; }
.dsp-sent-metadata,
.album-public-dsps-table [data-rm-dsp-live-status] > .dsp-sent-metadata {
    opacity:1;
    display:inline-flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:4px;
    text-align:center;
    min-width:0;
    max-width:100%;
    vertical-align:middle;
}
.dsp-sent-metadata > .dsp-store-state { margin:0; }
.album-public-dsp-status-cluster > .dsp-status-icon-slot {
    display:inline-flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    flex:0 0 20px;
    width:20px;
    min-height:20px;
    gap:4px;
}
.dsp-status-icon-slot > :is(.review-flag,.dsp-irrevocable-lock,.dsp-processing-direction) { margin:0; }
.dsp-sent-metadata > .dsp-sent-value { max-width:100%; }
.delivery-private-dsps-table [data-rm-dsp-sent-at] { text-align:center; }
html body .delivery-private-dsps-table [data-rm-dsp-sent-at],
html body .dsp-sent-metadata { opacity:1 !important; }
@media (min-width:761px) {
    .album-public-dsps-table:has(.dsp-sent-metadata) > tbody > tr {
        grid-template-columns:minmax(0,1fr) minmax(276px,48%);
    }
    .album-public-dsps-table.has-selectable-dsps:has(.dsp-sent-metadata) > tbody > tr {
        grid-template-columns:36px minmax(0,1fr) minmax(276px,48%);
    }
    .album-public-dsps-table > tbody > tr > [data-rm-dsp-live-status] {
        display:grid;
        grid-template-columns:minmax(0,1fr) 123px;
        gap:8px;
        align-items:center;
    }
    .album-public-dsp-status-cluster { justify-self:center; }
    .album-public-dsps-table [data-rm-dsp-live-status] > .dsp-sent-metadata { flex:none; }
    .album-public-dsps-table [data-rm-dsp-live-status] > .dsp-failure-badge { grid-column:1 / -1; justify-self:center; }
}
@media (min-width:761px) and (max-width:1200px) {
    .album-public-dsps-table > tbody { grid-template-columns:minmax(0,1fr); }
}
@media (max-width:760px) {
    .album-public-dsps-table [data-rm-dsp-live-status] > .dsp-sent-metadata { justify-self:center; }
    
    .delivery-private-dsps-table colgroup,
    .delivery-private-dsps-table .dsp-mobile-select,
    .delivery-private-dsps-table .dsp-mobile-actions,
    .delivery-private-dsps-table > thead > tr > th:nth-child(4) { display:none !important; }
    .delivery-private-dsps-table > thead > tr,
    .delivery-private-dsps-table > tbody > tr:not([data-rm-dsp-empty-row]) {
        display:grid;
        grid-template-columns:minmax(0,1fr) minmax(112px,38%);
        align-items:center;
    }
    .delivery-private-dsps-table > thead > tr > th:nth-child(2),
    .delivery-private-dsps-table > tbody > tr > .album-dsp-identity-cell { grid-column:1;grid-row:1; }
    .delivery-private-dsps-table > thead > tr > th { min-width:0; }
    .delivery-private-dsps-table > tbody > tr > [data-rm-dsp-live-status] {
        display:grid;
        grid-column:2;
        grid-row:1 !important;
        align-items:center;
        justify-content:center;
        column-gap:4px;
    }
    .delivery-private-dsps-table [data-rm-dsp-live-status] > .dsp-state-badge { grid-column:1;width:100%;min-width:0; }
    .delivery-private-dsps-table [data-rm-dsp-live-status] > .dsp-irrevocable-lock { grid-column:2;justify-self:center; }
    .delivery-private-dsps-table > tbody > tr:not(:has(.dsp-failure-badge)) > .delivery-private-dsp-details { display:none; }
    .delivery-private-dsps-table > tbody > tr > td.album-dsp-identity-cell {
        border-left:3px solid transparent !important;
    }
    .delivery-private-dsps-table > tbody > tr > td.dsp-mobile-sent-at:has(.dsp-sent-metadata) {
        display:flex !important;
        grid-column:3;
        grid-row:1;
        justify-content:center;
        padding:12px 12px 12px 6px;
    }
    .delivery-private-dsps-table:has(.dsp-sent-metadata) > tbody > tr:not([data-rm-dsp-empty-row]) {
        grid-template-columns:minmax(0,1fr) 120px 124px;
        grid-template-rows:auto;
        column-gap:0;
    }
    .delivery-private-dsps-table:has(.dsp-sent-metadata) > thead > tr {
        grid-template-columns:minmax(0,1fr) 120px 124px;
        grid-template-rows:auto;
        column-gap:0;
    }
    .delivery-private-dsps-table:has(.dsp-sent-metadata) > thead > tr > :is(th:nth-child(2),th:nth-child(3),th.dsp-mobile-sent-at) {
        align-self:stretch;
        display:flex !important;
        align-items:center;
        justify-content:center;
    }
    .delivery-private-dsps-table:has(.dsp-sent-metadata) > thead > tr > th:nth-child(2) { justify-content:flex-start;grid-row:1; }
    .delivery-private-dsps-table:has(.dsp-sent-metadata) > thead > tr > th:nth-child(3) {
        grid-column:2;
        grid-row:1;
        padding-inline:8px;
        text-align:center;
    }
    .delivery-private-dsps-table:has(.dsp-sent-metadata) > thead > tr > .dsp-mobile-sent-at {
        display:block !important;
        grid-column:3;
        grid-row:1;
        padding-inline:8px 12px;
        text-align:center;
    }
    .delivery-private-dsps-table:has(.dsp-sent-metadata) > tbody > tr:not([data-rm-dsp-empty-row]) > .album-dsp-identity-cell {
        grid-row:1;
        padding-inline:8px;
    }
    .delivery-private-dsps-table:has(.dsp-sent-metadata) .album-dsp-identity:has(.diff-tag) {
        flex-wrap:nowrap;
        gap:6px;
    }
    .delivery-private-dsps-table:has(.dsp-sent-metadata) .album-dsp-name-stack:has(.diff-tag) {
        flex:0 1 auto;
        flex-wrap:nowrap;
        gap:4px;
    }
    .delivery-private-dsps-table:has(.dsp-sent-metadata) .album-dsp-name-stack > .diff-tag {
        flex:0 1 auto;
        max-width:100%;
        margin-left:0;
        padding-inline:4px;
        white-space:nowrap;
    }
    .delivery-private-dsps-table:has(.dsp-sent-metadata) > tbody > tr:not([data-rm-dsp-empty-row]) > [data-rm-dsp-live-status] {
        grid-template-columns:minmax(0,84px) 16px;
        padding:12px 8px;
    }
    .delivery-private-dsps-table:has(.dsp-sent-metadata) > tbody > tr:not([data-rm-dsp-empty-row]) > [data-rm-dsp-details] {
        grid-column:2 / -1;
        grid-row:2;
    }
    .delivery-private-dsps-table .dsp-sent-metadata { font-size:11px; }
    .delivery-private-dsps-table .dsp-sent-value { display:block;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis; }
    .delivery-private-dsps-table > tbody > tr.is-mobile-selected,
    .delivery-private-dsps-table > tbody > tr.is-mobile-selected:hover {
        background:var(--dsp-selected-bg) !important;
    }
    .delivery-private-dsps-table > tbody > tr.is-mobile-selected > td,
    .delivery-private-dsps-table > tbody > tr.is-mobile-selected:hover > td {
        background:transparent !important;
    }
}
@media (max-width:420px) {
    .delivery-private-dsps-table .album-dsp-name-stack > .diff-tag { display:none; }
}
@container (max-width:200px) {
    .delivery-private-dsps-table .album-dsp-name-stack > .diff-tag { display:none; }
}
@media (max-width:360px) {
    .delivery-private-dsps-table:has(.dsp-sent-metadata) > thead > tr,
    .delivery-private-dsps-table:has(.dsp-sent-metadata) > tbody > tr:not([data-rm-dsp-empty-row]) {
        grid-template-columns:minmax(0,1fr) 90px 90px;
        column-gap:0;
    }
    .delivery-private-dsps-table:has(.dsp-sent-metadata) > tbody > tr:not([data-rm-dsp-empty-row]) > [data-rm-dsp-live-status] {
        grid-template-columns:minmax(0,58px) 16px;
        padding-inline:6px;
    }
    .delivery-private-dsps-table > tbody > tr > td.dsp-mobile-sent-at:has(.dsp-sent-metadata) { padding-inline:4px 10px; }
    .delivery-private-dsps-table .dsp-sent-value { white-space:normal; }
}
@media (max-width:299px) {
    .delivery-private-dsps-table > thead { display:none; }
    .delivery-private-dsps-table:has(.dsp-sent-metadata) > tbody > tr:not([data-rm-dsp-empty-row]) {
        grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    }
    .delivery-private-dsps-table:has(.dsp-sent-metadata) > tbody > tr > .album-dsp-identity-cell { grid-column:1 / -1; }
    .delivery-private-dsps-table:has(.dsp-sent-metadata) > tbody > tr:not([data-rm-dsp-empty-row]) > [data-rm-dsp-live-status] { grid-column:1;grid-row:2 !important; }
    .delivery-private-dsps-table > tbody > tr > td.dsp-mobile-sent-at:has(.dsp-sent-metadata) { grid-column:2;grid-row:2; }
    .delivery-private-dsps-table:has(.dsp-sent-metadata) > tbody > tr:not([data-rm-dsp-empty-row]) > [data-rm-dsp-details] { grid-column:1 / -1;grid-row:3; }
}
.dsp-irrevocable-lock:focus-visible,
.dsp-state-disabled:focus-visible {
    outline:2px solid var(--focus-ring, var(--primary));
    outline-offset:3px;
}
.delivery-view-summary-card { padding-bottom:8px; margin-bottom:0; }
#rmContent > .delivery-view-summary-card > .row-between:first-child > h2 { margin-bottom:0; }
.delivery-view-summary-card > .delivery-album-summary { margin-top:12px; }
.delivery-view-summary-card > :last-child { margin-bottom:0; }
.delivery-view-summary-card [data-rm-album-modified-warning]:empty { display:none; }
.delivery-view-summary-card + .delivery-dsp-manage-card { padding-top:8px; }
.delivery-dsp-manage-card > h3 { margin-top:0; }
.delivery-view-actions > form { display:flex !important; margin:0; }
.delivery-view-actions > form > button { width:100%; }
@media (max-width:640px) {
    .delivery-view-summary-card > .row-between { align-items:stretch; gap:12px; }
    .delivery-view-actions > button:only-child,
    .delivery-view-actions > form:has(+ .delivery-view-edit):first-child { grid-column:1 / -1; }
    .delivery-view-actions > button:first-child:has(+ .delivery-view-edit) { grid-column:1 / -1; }
    .delivery-view-actions > form > button { min-height:44px; }
}

html .rm-settings-sticky-wrap:is(.settings-page-sticky-wrap,.enterprise-settings-sticky-wrap) {
    background:var(--surface-bg, #fff) !important;
    padding-bottom:8px;
    isolation:isolate;
}
html .rm-settings-sticky-wrap:is(.settings-page-sticky-wrap,.enterprise-settings-sticky-wrap)::before {
    content:none;
}
html .rm-settings-sticky-wrap:is(.settings-page-sticky-wrap,.enterprise-settings-sticky-wrap) {
    box-shadow:-12px 0 0 var(--surface-bg, #fff),12px 0 0 var(--surface-bg, #fff);
}


#rmContent:has(> .rm-settings-sticky-wrap) > .card {
    padding-bottom:12px;
    margin-bottom:0;
}
#rmContent:has(> .rm-settings-sticky-wrap) > .card ~ .card {
    padding-top:12px;
}
@media (max-width:640px) {
    #rmContent:has(> .rm-settings-sticky-wrap) > .card {
        padding-bottom:8px;
    }
    #rmContent:has(> .rm-settings-sticky-wrap) > .card ~ .card {
        padding-top:8px;
    }


    .filter-bar > :not(input[type="hidden"]) {
        flex-basis:auto !important;
    }
}


html body :is(button,input[type="submit"],input[type="button"],.btn,.btn-secondary,.btn-danger,.btn-small,[role="button"]):hover:not(:focus-visible) {
    outline:none !important;
    outline-offset:0 !important;
}


.album-view-tracks-card { container:album-track-layout / inline-size; }
.album-view-tracks-table { --rm-album-compact-layout:0; }
.album-track-title-line { display:contents; }
@container album-track-layout (max-width:700px) {
    .album-view-tracks-table .album-track-title-line { display:flex; align-items:center; gap:4px; min-width:0; }
    .album-view-tracks-table .album-track-title-line > .inline-clip-link { flex:0 1 auto; min-width:0; }
    .album-view-tracks-table .album-track-title-line > .track-draft-state { flex:0 0 20px; }
    
    .album-view-tracks-table {
        width: 100%;
        min-width: 0 !important;
        table-layout: fixed;
        --album-track-mobile-action-width: 64px;
        --album-track-mobile-action-height: 44px;
    }
    .album-view-tracks-table .rm-play-btn {
        position:relative;
        width:30px;
        min-width:30px;
        height:30px;
        min-height:30px;
    }
    
    .album-view-tracks-table button.rm-play-btn::after {
        content:"";
        position:absolute;
        inset:-7px;
        border-radius:50%;
    }
    .album-view-tracks-table > thead > tr,
    .album-view-tracks-table > tbody > tr:not(.split-expand-row) {
        display: grid;
        grid-template-columns: 26px 44px minmax(0, 1fr);
        align-items: center;
    }
    .album-view-tracks-table.has-track-actions > thead > tr,
    .album-view-tracks-table.has-track-actions > tbody > tr:not(.split-expand-row) {
        grid-template-columns: 26px 44px minmax(0, 1fr) 70px;
    }
    .album-view-tracks-table th,
    .album-view-tracks-table td {
        display: block;
        width: auto !important;
        min-width: 0;
        padding: 9px 4px !important;
        border: 0;
        overflow-wrap: normal;
        word-break: normal;
    }
    .album-view-tracks-table > thead > tr {
        border-bottom: 1px solid var(--table-border);
        background: var(--surface-alt);
    }
    .album-view-tracks-table > thead,
    .album-view-tracks-table > thead > tr,
    .album-view-tracks-table > thead > tr > th {
        border-left: 0 !important;
        border-right: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }
    table.data-table.album-view-tracks-table > thead > tr > th {
        border: 0 !important;
        background: transparent !important;
    }
    .album-view-tracks-table .album-track-number-cell,
    .album-view-tracks-table .album-track-listen-cell,
    .album-view-tracks-table .album-track-actions-cell {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .album-view-tracks-table th.album-track-listen-cell {
        font-size: 0;
    }
    .album-view-tracks-table .album-track-title-cell {
        overflow: hidden;
    }
    .album-view-tracks-table .album-track-title-cell .inline-clip-link {
        display: block;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .album-view-tracks-table .album-track-version-cell,
    .album-view-tracks-table .album-track-artists-cell,
    .album-view-tracks-table .album-track-isrc-cell,
    .album-view-tracks-table .album-track-split-cell {
        display: none !important;
    }
    .album-view-tracks-table > thead > tr > th.album-track-actions-cell {
        visibility: hidden;
    }
    .album-view-tracks-table .album-track-mobile-meta {
        display: grid;
        gap: 2px;
        min-width: 0;
        margin-top: 4px;
        color: var(--text-muted);
        font-size: 11px;
        line-height: 1.35;
    }
    .album-view-tracks-table .album-track-mobile-meta > span {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .album-view-tracks-table .album-track-mobile-label {
        color: var(--text-faint);
        font-family: var(--font-family-main);
        font-weight: 400;
    }
    .album-view-tracks-table .album-track-actions-cell form {
        display: flex !important;
        justify-content: center;
        width: 100%;
        min-width: 0;
        margin: 0;
        box-sizing: border-box;
    }
    .album-view-tracks-table td.album-track-title-with-copy {
        padding-right: 72px !important;
    }
    table.data-table.album-view-tracks-table .album-track-copy-btn,
    table.data-table.album-view-tracks-table .album-track-actions-cell button {
        width: 64px;
        min-width: 64px;
        height: 44px;
        min-height: 44px;
        margin: 0;
        padding: 0 8px !important;
        box-sizing: border-box;
    }
    table.data-table.album-view-tracks-table .album-track-copy-btn {
        position: absolute;
        right: 4px;
        top: 50%;
        transform: translateY(-50%);
    }
    .album-view-tracks-table > tbody > tr.split-expand-row {
        display: table-row;
    }
    .album-view-tracks-table > tbody > tr.split-expand-row > td {
        display: table-cell;
        width: 100% !important;
        padding: 14px 10px !important;
    }
    .album-view-tracks-table { --rm-album-compact-layout:1; }
    table.data-table.album-view-tracks-table td.album-track-title-with-copy { padding-right:52px !important; }
    table.data-table.album-view-tracks-table.is-copy-icon .album-track-copy-btn,
    table.data-table.album-view-tracks-table .album-track-actions-cell button { width:44px !important; min-width:44px !important; height:44px; min-height:44px; }
    .album-view-tracks-table.has-track-actions > thead > tr,
    .album-view-tracks-table.has-track-actions > tbody > tr:not(.split-expand-row) { grid-template-columns:20px 44px minmax(0,1fr) 48px; }
}

body:has(#rmPlayerTitle[aria-describedby="rmDspTouchNamePopover"]) .rm-dsp-touch-name-popover.is-visible { display:block; }
table.album-view-tracks-table .album-track-title-cell .inline-clip-link { max-width:100%; }
table.data-table.album-view-tracks-table td.album-track-title-with-copy { padding-right:calc(var(--album-copy-label-width, 82px) + 30px); }
table.data-table.album-view-tracks-table .album-track-copy-btn {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:var(--album-copy-label-width, 82px);
    min-width:var(--album-copy-label-width, 82px);
    height:36px;
    min-height:36px;
    padding:0 !important;
    -webkit-tap-highlight-color:transparent;
}
.album-track-copy-label {
    position:static;
    white-space:nowrap;
}
.album-track-copy-icon {
    display:none;
    width:18px;
    height:18px;
    fill:none;
    stroke:currentColor;
    stroke-width:1.8;
    stroke-linecap:round;
    stroke-linejoin:round;
    pointer-events:none;
}

html body table.data-table.album-view-tracks-table .album-track-copy-btn {
    background:var(--surface-bg) !important;
    border-color:var(--album-copy-border,var(--control-border));
    --rm-loading-spinner-head:var(--album-copy-ink,var(--text-main));
    --rm-loading-spinner-track:color-mix(in srgb,var(--album-copy-ink,var(--text-main)) 25%,transparent);
}
html:not([data-theme="dark"]) body table.data-table.album-view-tracks-table .album-track-copy-btn {
    --album-copy-ink:var(--primary);
    --album-copy-border:var(--primary);
    --album-copy-hover:var(--primary-light);
}
html body table.data-table.album-view-tracks-table .album-track-copy-btn:not(.rm-btn-loading) { color:var(--album-copy-ink,var(--text-main)) !important; }
html body table.data-table.album-view-tracks-table .album-track-copy-btn:hover,
html body table.data-table.album-view-tracks-table .album-track-copy-btn:active { background:var(--album-copy-hover,var(--surface-soft)) !important; }
html body table.data-table.album-view-tracks-table .album-track-copy-btn:focus-visible { outline-color:var(--album-copy-ink,var(--text-main)) !important; }
.album-view-tracks-table.is-copy-icon [data-copy-action="copy"] [data-copy-icon="copy"],
.album-view-tracks-table.is-copy-icon [data-copy-action="paste"] [data-copy-icon="paste"],
.album-view-tracks-table.is-copy-icon [data-copy-action="undo"] [data-copy-icon="undo"] { display:block; }
table.data-table.album-view-tracks-table.is-copy-icon td.album-track-title-with-copy { padding-right:64px; }
table.data-table.album-view-tracks-table.is-copy-icon .album-track-copy-btn { width:36px; min-width:36px; }
.album-view-tracks-table.is-copy-icon .album-track-copy-label {
    position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%);
}
.album-view-tracks-table.is-split-compact .album-track-split-cell { display:none !important; }
.album-view-tracks-table.is-split-compact .album-track-title-cell { width:var(--album-compact-title-width); }

@container album-track-layout (min-width:701px) and (max-width:1100px) {
    table.album-view-tracks-table.has-track-actions .album-track-actions-cell {
        width:64px;
        padding-left:12px;
        padding-right:16px;
    }
    table.album-view-tracks-table.has-track-actions .album-track-actions-cell button {
        width:36px;
        min-width:36px;
        height:36px;
        min-height:36px;
        padding:0;
    }
}
@container album-track-layout (min-width:701px) and (max-width:760px) {
    table.album-view-tracks-table .album-track-isrc-cell {
        padding-left:8px;
        padding-right:8px;
    }
}

#trackRowScope { container: track-list-layout / inline-size; }
.track-list-table { --track-list-check-width:0px; }
@media (min-width:641px) {
    .track-list-table:has(.col-bulk-check) { --track-list-check-width:36px; }
}
@container track-list-layout (max-width:700px) {
    table.track-list-table { table-layout:fixed; width:100% !important; min-width:0 !important; }
    table.track-list-table .track-draft-column,
    table.track-list-table .col-phone-hide,
    table.track-list-table .track-mobile-isrc { display:none !important; }
    table.track-list-table .col-bulk-check { width:36px !important; }
    table.track-list-table .track-mobile-title { width:calc(39% - var(--track-list-check-width)) !important; }
    table.track-list-table .track-mobile-artists { width:27% !important; }
    table.track-list-table .track-mobile-listen { width:16% !important; }
    table.track-list-table .track-mobile-actions { width:18% !important; overflow:hidden; }
    table.track-list-table.track-mobile-isrc-visible .track-mobile-isrc { display:table-cell !important; width:25% !important; }
    table.track-list-table.track-mobile-isrc-visible .track-mobile-listen { display:none !important; }
    table.track-list-table.track-mobile-isrc-visible .track-mobile-title { width:calc(32% - var(--track-list-check-width)) !important; }
    table.track-list-table.track-mobile-isrc-visible .track-mobile-artists { width:25% !important; }
    table.track-list-table th, table.track-list-table td { padding:8px 4px !important; min-width:0; overflow-wrap:anywhere; }
    table.data-table.track-list-table td.track-mobile-actions > .row-actions { display:grid !important; grid-template-columns:minmax(0,1fr) !important; width:100% !important; min-width:0; }
    table.data-table.track-list-table td.track-mobile-actions > .row-actions > * { width:100% !important; min-width:0; min-height:44px; padding-inline:4px; white-space:normal; box-sizing:border-box; }
}

.album-view-tracks-table .track-draft-state::after { content:none; }

.album-metadata-scroll { container:album-metadata-layout / inline-size; }
.album-metadata-table { --rm-metadata-compact:0; }
@container album-metadata-layout (max-width:1000px) {
    .album-metadata-table { --rm-metadata-compact:1; }
    table.data-table.album-metadata-table {
        display:block !important; width:100% !important; min-width:0;
        border:0; background:transparent; box-shadow:none;
    }
    table.album-metadata-table > .album-metadata-column {
        display:block !important; width:100%; min-width:0;
        grid-column:auto; grid-row:auto;
    }
    table.album-metadata-table > .album-metadata-column > tr {
        display:grid !important; grid-template-columns:repeat(2,minmax(0,1fr)) !important;
        align-items:stretch; width:100%; min-width:0; min-height:68px;
        margin:0 0 8px; overflow:hidden; border:1px solid var(--table-border);
        border-radius:10px; background:var(--raised-bg);
        box-shadow:0 2px 8px color-mix(in srgb,var(--page-bg) 7%,transparent);
    }
    table.album-metadata-table > .album-metadata-column > tr.metadata-desktop-only,
    table.album-metadata-table > .album-metadata-column > tr[hidden] { display:none !important; }
    table.album-metadata-table > .album-metadata-column > tr.metadata-mobile-only:not([hidden]) { display:grid !important; }
    table.album-metadata-table > .album-metadata-column > tr > td {
        grid-column:auto !important; width:auto !important; min-width:0;
        border:0 !important; background:transparent !important; box-sizing:border-box;
    }
    table.album-metadata-table > .album-metadata-column > tr > td.diff-cell {
        background:var(--modified-row-bg) !important;
    }
    table.album-metadata-table > .album-metadata-column > tr > td.meta-key {
        display:grid !important; grid-template-columns:38px minmax(0,1fr);
        align-items:center; gap:10px; padding:10px 8px 10px 10px !important;
        color:var(--text-main); font-weight:600; line-height:1.3;
    }
    table.album-metadata-table > .album-metadata-column > tr > td.meta-key + td {
        display:block !important; align-content:center; min-height:66px;
        padding:10px 10px 10px 8px !important; color:var(--text-main); line-height:1.4;
        overflow:hidden; text-overflow:ellipsis; white-space:nowrap; overflow-wrap:normal;
    }
    .album-metadata-table .meta-key + td > * { max-width:100%; }
    .album-metadata-table .mobile-metadata-icon {
        display:inline-flex; align-items:center; justify-content:center;
        width:38px; height:38px; box-sizing:border-box; border-radius:50%;
        background:color-mix(in srgb,var(--primary) 10%,var(--surface-bg)); color:var(--primary);
    }
    .album-metadata-table .mobile-metadata-icon > .rm-icon { width:20px; height:20px; }
    .album-metadata-table .mobile-metadata-label {
        min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
    }
}
@media (max-width:760px) {
    table.data-table.album-view-tracks-table td.album-track-title-with-copy { padding-right:52px !important; }
    table.data-table.album-view-tracks-table.is-copy-icon .album-track-copy-btn,
    table.data-table.album-view-tracks-table .album-track-actions-cell button {
        width:44px;
        min-width:44px;
        height:44px;
        min-height:44px;
    }
    .album-view-tracks-table.has-track-actions > thead > tr,
    .album-view-tracks-table.has-track-actions > tbody > tr:not(.split-expand-row) {
        grid-template-columns:20px 44px minmax(0,1fr) 48px;
    }
}



.subscription-allocation-list{display:grid;gap:6px;min-width:min(100%,320px)}
.subscription-allocation-line{display:flex;align-items:baseline;justify-content:space-between;gap:16px}
.subscription-allocation-line>:first-child{min-width:0;overflow-wrap:anywhere}
.subscription-allocation-line>strong{flex:0 0 auto}
.wallet-transaction-source-breakdown{margin-top:22px}
.wallet-transaction-source-breakdown>h3{margin:0 0 4px}
.wallet-transaction-source-breakdown .hint-text{margin-top:0;margin-bottom:12px}
.reconciliation-issue-list{display:flex;flex-wrap:wrap;gap:6px}
@media(max-width:640px){.subscription-allocation-list{min-width:0;width:100%}.subscription-allocation-line{align-items:flex-start;gap:10px}}
