@import url('./communications.css');
/* Workspace primitives. Musical controls and plugin panels retain their density. */
.pack-designer>header{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:20px}.pack-designer h2{font:600 28px var(--font-display);margin:6px 0}.pack-designer p,.pack-designer small{color:var(--ui-text-muted)}.pack-designer>header small{letter-spacing:1.5px;color:#d1b9e5}.designer-key{white-space:nowrap;color:#c8b3de;border:1px solid #62536e;padding:8px 12px;border-radius:20px;font-size:12px}
.designer-layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(240px,1fr);gap:20px}.designer-instrument{padding:20px;border-radius:16px;border:1px solid #65546e;background:linear-gradient(130deg,#302b3b,#252b31)}.designer-presets{display:flex;flex-wrap:wrap;gap:6px}.designer-presets [aria-pressed=true]{background:#655273!important;color:#f7efff!important}.designer-source{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:16px 0;font-size:12px}.designer-source>span{overflow-wrap:anywhere}
.designer-instrument canvas{display:block;width:100%;height:120px;background:#191c23;border:1px solid #48424f;border-radius:8px}.designer-controls{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:20px 0}.designer-controls label{display:grid;gap:6px;font-size:12px;color:#c2b4ce}.designer-controls output{color:#ede1f5;font-variant-numeric:tabular-nums;min-height:18px}.designer-controls input,.designer-controls select{min-width:0;width:100%;accent-color:#c4a8df}.designer-play{display:flex;align-items:end;gap:8px;flex-wrap:wrap}.designer-play label{display:grid;gap:6px;flex:1 1 160px;font-size:12px}.designer-play input{width:100%}.designer-instrument>output{display:block;margin-top:12px;font-size:12px}
.designer-crate{align-self:start;min-width:0;padding:20px;background:var(--ui-surface);border:1px solid var(--ui-border);border-radius:16px}.designer-crate h3{display:flex;justify-content:space-between;margin:0 0 20px}.designer-crate h3 span{font-size:12px;font-weight:400;color:var(--ui-text-muted)}.designer-crate>label{display:grid;gap:6px;margin:12px 0;font-size:12px}.designer-crate>label:has(input[type=checkbox]){display:flex;align-items:center}.designer-crate :is(input:not([type=checkbox]),select){width:100%;min-width:0}.designer-crate>small{display:block;margin-top:12px;line-height:1.5}.designer-crate [data-designer-drafts]{max-height:300px;overflow:auto;margin:16px 0}.designer-crate article{display:flex;justify-content:space-between;align-items:center;gap:8px;border-bottom:1px solid var(--ui-border);padding:10px 0;font-size:13px}.designer-crate article>span{min-width:0;overflow-wrap:anywhere}.designer-crate article small{display:block;font-size:11px;margin-top:4px}
#home-bank-manager .pack-toolbar .wh-segments{flex-wrap:wrap}
@media(max-width:1000px){.designer-layout{grid-template-columns:minmax(0,1fr)}.designer-crate [data-designer-drafts]{max-height:180px}}@media(max-width:600px){.pack-designer>header{align-items:flex-start;flex-direction:column;gap:10px}.pack-designer h2{font-size:24px}.designer-controls{grid-template-columns:repeat(2,minmax(0,1fr))}.designer-instrument,.designer-crate{padding:14px}}
/* Profile controls sit above their own cover, never under its hit area. */
.user-profile>.profile-cover{height:clamp(210px,24vw,300px);z-index:0;border-radius:14px 14px 0 0;background-position:center;background-size:cover}
.user-profile>.profile-actions{z-index:3;top:16px;right:16px}.user-profile>.profile-actions .wh-primary{min-height:36px;font-size:13px;padding:8px 12px}
.user-profile .profile-header{margin-top:0;min-height:0;padding-top:20px}.user-profile .profile-avatar{margin-top:0}.user-profile .profile-title-block{padding-top:0}.user-profile .profile-name-row{min-height:0}
.user-profile.profile-editing .profile-cover{height:clamp(190px,22vw,280px)}.profile-editing .profile-inline-actions{z-index:4;flex-wrap:wrap}.profile-editing .profile-inline-status:empty{display:none}
.profile-media-photo .profile-media-trigger{flex-direction:column;gap:5px;padding:8px;font-size:11px;white-space:normal}.profile-editing .profile-media-photo{margin-top:0}
.profile-inline-bio textarea{width:100%;box-sizing:border-box}.profile-inline-actions button{flex-shrink:0}.profile-editing .profile-body{overflow-wrap:anywhere}
@container profile (max-width:600px){.user-profile.profile-editing .profile-header{grid-template-columns:minmax(0,1fr)!important;gap:16px}.profile-editing .profile-media-photo{grid-column:1;grid-row:1}.user-profile.profile-editing .profile-title-block{grid-column:1;grid-row:2;padding-left:0!important}.profile-editing .profile-current-track{grid-column:1;grid-row:3}.profile-inline-name input{width:100%}.profile-inline-links,.profile-inline-catalog-list{grid-template-columns:minmax(0,1fr)}}
.staff-greeting-tools,.staff-greeting-move{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.staff-greeting-row{display:grid;grid-template-columns:64px minmax(180px,1fr) 130px auto;gap:12px;align-items:center;border-bottom:1px solid var(--ui-border);padding:12px 0}.staff-greeting-row label{display:grid;gap:6px;font-size:12px}.staff-greeting-row input:not([type=checkbox]){width:100%;min-width:0}.staff-greeting-row small{display:block;margin-top:6px;color:var(--ui-text-muted)}.staff-greeting-row .staff-greeting-enabled{display:flex;align-items:center}.staff-greeting-enabled input{width:18px;height:18px}
@media(max-width:760px){.staff-greeting-row{grid-template-columns:64px minmax(0,1fr)}.staff-greeting-row>label:not(.staff-greeting-enabled){grid-column:2}.staff-greeting-move{grid-column:2}}
.sample-bulk-tools,.sample-review-heading,.sample-review-pages{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:12px 0}
.sample-bulk-tools label,.sample-review-heading label{display:flex!important;align-items:center;gap:8px}.sample-upload-review input[type=checkbox]{width:18px;height:18px}
.sample-bulk-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:12px;margin:12px 0}
.sample-upload-review [data-review-rows]{max-height:45dvh;overflow:auto;scrollbar-width:thin}
.sample-review-row{display:grid;grid-template-columns:22px minmax(160px,2fr) repeat(2,minmax(95px,1fr)) 80px 100px;gap:10px;align-items:center;padding:12px 0;border-bottom:1px solid var(--ui-border)}
.sample-review-row label{font-size:12px}.sample-review-name{min-width:0}.sample-review-name small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--ui-text-muted);margin-top:5px}.sample-review-tags{grid-column:2/-1;color:var(--ui-text-muted)}
.sample-review-keywords{grid-column:2/-1;min-width:0}.sample-review-keywords input{width:100%;min-width:0}
.sample-upload-review select{min-height:36px;width:100%;background:var(--ui-bg);color:var(--ui-text);border:1px solid var(--ui-border);border-radius:8px;padding:6px}
@media(max-width:760px){.sample-review-row{grid-template-columns:22px repeat(2,minmax(0,1fr))}.sample-review-name{grid-column:2/-1}.sample-review-row>label:where(:not(.sample-review-select):not(.sample-review-keywords)){grid-column:auto}.sample-review-row>label:nth-child(3),.sample-review-row>label:nth-child(5){grid-column:2}}
:root {
 --ui-bg:#151718;--ui-surface:#202324;--ui-surface-raised:#292d2e;--ui-surface-emphasis:#343331;
 --ui-border:#3c4142;--ui-border-strong:#697071;--ui-text:#f3f0e9;--ui-text-muted:#adb3b1;
 --ui-accent-primary:#e1966f;--ui-accent-primary-hover:#ffb482;--ui-accent-soft:#e1966f1c;
 --ui-success:#91c6a6;--ui-warning:#e9c16b;--ui-danger:#f49b97;--ui-info:#92bcdf;--ui-focus:#ffd1a9;
 --ui-radius-sm:4px;--ui-radius-md:8px;--ui-radius-lg:16px;--ui-radius-xl:24px;
 --ui-space-1:4px;--ui-space-2:8px;--ui-space-3:12px;--ui-space-4:16px;--ui-space-6:24px;--ui-space-8:32px;
}
.workspace-shell{--wh-accent:var(--ui-accent-primary);--wh-line:var(--ui-border);--wh-muted:var(--ui-text-muted);color:var(--ui-text)}
/* Every signed-in workspace destination shares the public homepage palette. */
.workspace-shell,body:has(#modal.workspace-home[open]){
 --home-ink:#191a1c;--home-paper:#f2eee7;--home-orange:#e1966f;--home-lilac:#f0e3fb;--home-plum:#68567c;
 --ui-bg:var(--home-ink);--ui-surface:#232128;--ui-surface-raised:#2f2b36;--ui-raised:#2f2b36;--ui-border:rgba(240,227,251,.12);
 --ui-text:#ffffff;--ui-text-muted:#c4bdc9;--ui-accent-primary:var(--home-orange);--ui-accent-primary-hover:#eaae8f;--ui-accent-soft:#e1966f1c;
 --ui-accent-secondary:#68567c;--ui-lilac:#f0e3fb;--ui-workspace-line:rgba(240,227,251,.12);
 --ui-focus:var(--home-orange);background:var(--home-ink);
}
.workspace-shell :is(.wh-sidebar,.wh-footer){background:var(--ui-surface)}
.workspace-shell .wh-sidebar nav button{border-radius:14px;color:var(--ui-text-muted)}
.workspace-shell .wh-sidebar nav button.active{color:var(--home-orange)}
.workspace-shell .wh-sidebar nav button.active .ph-icon{color:inherit}
.workspace-shell :is(.wh-topbar,.wh-footer){color:var(--ui-text-muted)}
.workspace-shell :is(.wh-topbar strong,.wh-footer>span:first-child,#home-profile){color:var(--home-paper)}
.workspace-shell .wh-home-date{color:var(--home-lilac)}
.workspace-shell .wh-heading p{color:var(--ui-text-muted)}
.workspace-shell .wh-heading #home-primary .wh-primary{border-radius:14px;box-shadow:none}

.workspace-shell .wh-page{scrollbar-color:var(--home-plum) var(--home-ink)}
.workspace-shell .wh-return{box-shadow:none}

.workspace-shell [hidden],.ui-dialog [hidden]{display:none!important}
.workspace-shell :is(button,input,textarea,select,summary),.ui-dialog :is(button,input,textarea,select){font-family:var(--font-ui,sans-serif)}
.workspace-shell :is(button,input:not([type=checkbox]):not([type=range]),textarea,select),.ui-dialog :is(button,input,textarea){border-radius:var(--ui-radius-md)}
.workspace-shell button:not(.sample-preview):not([data-preview]):not([data-name]):not(.social-favorite-chat):not(.social-conversation):not(.social-message-more):not(#home-settings):not(#home-logout){min-height:32px}
.workspace-shell :is(.wh-primary,.primary,.social-message-send),
.ui-dialog :is(.wh-primary,.primary),#modal.daw-settings-dialog .settings-panel .settings-prominent{
 background:var(--ui-accent-primary)!important;border-color:var(--ui-accent-primary)!important;color:#271b13!important;font-weight:650
}
.workspace-shell :is(.wh-primary,.primary,.social-message-send):hover,.ui-dialog :is(.wh-primary,.primary):hover{background:var(--ui-accent-primary-hover)!important}
.workspace-shell :is(.wh-primary,.primary){min-height:36px;padding:8px 14px}
.workspace-shell :is(.danger,[data-invite-action=decline],#project-archive),.ui-dialog .danger{background:#f49b9712!important;color:var(--ui-danger)!important;border-color:#f49b9770!important}
.workspace-shell button:disabled,.ui-dialog button:disabled{opacity:.48;cursor:not-allowed}
.workspace-shell :is(button,a,input,textarea,select,summary):focus-visible,.ui-dialog :is(button,a,input,textarea):focus-visible,.sodium-context-panel :focus-visible{outline:2px solid var(--ui-focus);outline-offset:3px}
.workspace-shell .wh-sidebar nav button.active{background:var(--ui-accent-soft);color:var(--ui-accent-primary);border-color:var(--ui-accent-primary)}
.workspace-shell :is(.wh-search,.social-search,.catalog-filters input,.catalog-filters select,.sodium-picker-trigger){background:var(--ui-bg);border-color:var(--ui-border);color:var(--ui-text);border-radius:var(--ui-radius-md)}
.workspace-shell :is(input[type=search],.sodium-picker-trigger){min-height:36px}
.workspace-shell input::placeholder{color:var(--ui-text-muted)}
.workspace-shell :is(.wh-room,.wh-settings-card,.wh-settings-section,.wh-storage-panel){border-color:var(--ui-border);border-radius:var(--ui-radius-lg)}
.workspace-shell :is(.wh-empty-state,.social-empty,.wh-storage-empty){padding:var(--ui-space-8);border:1px dashed var(--ui-border);border-radius:var(--ui-radius-lg);color:var(--ui-text-muted);text-align:center}
.workspace-shell :is(.wh-empty-state,.social-empty) strong{font-family:var(--font-display,sans-serif);color:var(--ui-text)}
.workspace-shell :is(.ui-local-tabs,.wh-segments,.wh-settings-nav){gap:var(--ui-space-2)}
.ui-local-tabs{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:24px;border-bottom:1px solid var(--ui-border);padding-bottom:12px}
.workspace-shell :is([role=tab],.wh-settings-nav button,.ui-filter-chips button){border:1px solid var(--ui-border);background:var(--ui-surface);color:var(--ui-text-muted);padding:8px 14px;border-radius:var(--ui-radius-md)}
.workspace-shell :is([role=tab][aria-selected=true],.wh-settings-nav button.active,.ui-filter-chips [aria-pressed=true],.wh-segments [aria-pressed=true]){background:var(--ui-accent-soft)!important;color:var(--ui-accent-primary)!important;border-color:var(--ui-accent-primary)!important;box-shadow:none}
.workspace-shell .catalog-heading{display:flex;justify-content:flex-end;margin:0 0 8px}.workspace-shell .catalog-heading h1{display:none}.workspace-shell .catalog-location{display:none}
.workspace-shell .catalog-table-scroll{overflow-x:auto}.workspace-shell .pack-content{min-width:0}
.ui-filter-chips{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0 24px}
.workspace-shell #home-continue{display:inline-flex!important;align-items:center;gap:8px;border-color:var(--ui-border)}
.workspace-shell .wh-staff{min-height:36px;padding:8px 12px;color:var(--ui-text);border-color:var(--ui-border);white-space:nowrap}
.workspace-shell .wh-staff[aria-current=page]{background:var(--ui-accent-soft);border-color:var(--ui-accent-primary);color:var(--ui-accent-primary)}


.ui-dialog{width:min(520px,calc(100vw - 32px));max-height:calc(100dvh - 32px);box-sizing:border-box;padding:0;border:1px solid var(--ui-border);border-radius:var(--ui-radius-lg);background:var(--ui-surface);color:var(--ui-text);font-family:var(--font-ui,sans-serif);box-shadow:0 24px 80px #0009}
.ui-dialog::backdrop,dialog.wh-notifications::backdrop,#modal:not(.workspace-home)::backdrop{background:#080b0dc2;backdrop-filter:blur(4px)}
.ui-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 24px;border-bottom:1px solid var(--ui-border)}
.ui-dialog-head h2{margin:0;font:650 21px var(--font-display,sans-serif)}
.ui-dialog-head button{width:36px;height:36px;font-size:22px}
.ui-dialog-body{padding:24px;overflow:auto}.ui-dialog-body>p:first-child{margin-top:0;color:var(--ui-text-muted);line-height:1.6}
.ui-dialog label{display:grid;gap:8px}.ui-dialog :is(input,textarea){width:100%;box-sizing:border-box;padding:10px;background:var(--ui-bg);color:var(--ui-text);border:1px solid var(--ui-border)}
.ui-dialog button{min-height:36px;padding:8px 12px;border:1px solid var(--ui-border);background:var(--ui-surface-raised);color:var(--ui-text);cursor:pointer}
.ui-dialog-actions{display:flex;justify-content:flex-end;gap:12px;padding:16px 24px;border-top:1px solid var(--ui-border)}
.ui-dialog output{display:block;margin-top:12px;color:var(--ui-warning)}
.ui-dialog.social-add-dialog{width:min(580px,calc(100vw - 32px));padding:0}
.workspace-shell :is(.wh-menu>div,.social-manage>div,.social-sort-menu,.social-conversation-menu,.social-message>menu),.sodium-context-panel,.sodium-picker-panel{border-color:var(--ui-border-strong);border-radius:var(--ui-radius-md);background:var(--ui-surface-raised);color:var(--ui-text)}
.workspace-shell :is(.social-manage>div,.social-sort-menu,.social-conversation-menu,.social-message>menu) button{color:var(--ui-text);background:transparent}
.workspace-shell .social-thread-header>button{color:var(--ui-text);background:var(--ui-surface);border-color:var(--ui-border)}
@media(max-width:760px){
 .workspace-shell .wh-actions{flex-wrap:wrap;justify-content:flex-end;max-width:100%}
 .ui-local-tabs{margin-bottom:16px}
 .workspace-shell #home-continue{font-size:11px;max-width:140px}
 .workspace-shell .wh-settings-nav{display:flex;flex-wrap:wrap}.workspace-shell .wh-settings-nav>span{width:100%}

}

/* Unify migrated shells without replacing card artwork or message identity colors. */
.workspace-shell .social-page{--social-glow:var(--ui-accent-primary);--social-line:var(--ui-border)}
.workspace-shell .wh-storage-hero{background:var(--ui-surface);color:var(--ui-text);border-color:var(--ui-border)}
.workspace-shell .wh-storage-hero :is(p,h2 small,.wh-eyebrow){color:var(--ui-text-muted)}
.workspace-shell .wh-storage-gauge{background:var(--ui-surface-raised);color:var(--ui-text)}
.workspace-shell .wh-storage-gauge>div{background:var(--ui-surface)}
.workspace-shell .wh-storage-actions button:not(.wh-primary){background:var(--ui-surface);color:var(--ui-text);border-color:var(--ui-border)}
.workspace-shell .wh-settings-nav{background:var(--ui-surface);border:1px solid var(--ui-border);border-radius:var(--ui-radius-md);padding:8px}
#home-bank-manager.sound-catalog{--catalog-accent:var(--ui-accent-primary);--catalog-muted:var(--ui-text-muted);--catalog-line:var(--ui-border)}
#home-bank-manager.sound-catalog :is(button,.sodium-picker-trigger):where(:not(.sounds-browse *)){background:var(--ui-surface-raised);border-color:var(--ui-border);color:var(--ui-text);border-radius:var(--ui-radius-md)}
#home-bank-manager.sound-catalog :is(.wh-primary,.primary){background:var(--ui-accent-primary)!important;color:#271b13!important}
#home-bank-manager.sound-catalog .wh-segments{background:var(--ui-bg);border-color:var(--ui-border)}
#home-bank-manager.sound-catalog .catalog-filters .sodium-picker{width:auto!important;min-width:105px;flex:0 0 auto}
#home-bank-manager.sound-catalog .catalog-filters .sodium-picker-trigger{width:auto;min-width:100%;max-width:220px}
#home-bank-manager.sound-catalog .catalog-table-head{background:var(--ui-surface);color:var(--ui-text-muted)}
.workspace-shell .wh-empty-state{background:var(--ui-bg)}
.ui-dialog-wide{width:min(960px,calc(100vw - 32px))}.ui-document-frame{border:0;width:100%;height:65dvh;background:var(--ui-bg)}
.file-import-drop{padding:32px 20px;text-align:center;border:1px dashed #a99bb8;border-radius:12px;background:#2f2b36;cursor:pointer}.file-import-drop strong{font:650 22px var(--font-display)}.file-import-drop p{color:var(--ui-text-muted);font-size:13px}.file-import-drop.drag-over{outline:2px solid var(--ui-accent-primary)}
.file-import-sources{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}.file-import-list{list-style:none;padding:0;max-height:220px;overflow:auto;margin:16px 0 0}.file-import-list li{display:flex;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid var(--ui-border)}.file-import-list li>span{flex:1;min-width:0;overflow-wrap:anywhere;font-size:13px}.file-import-list small{display:block;margin-top:4px;color:var(--ui-text-muted)}

.workspace-shell .pd-social{height:auto;min-height:0;box-sizing:border-box;display:flex;flex-direction:column;gap:0}.workspace-shell .pd-social h2{margin:18px 0 8px}.workspace-shell .pd-social button{flex-shrink:0}

#modal.daw-settings-dialog .settings-tabs [aria-selected=true]{background:var(--ui-accent-soft);border-color:var(--ui-accent-primary);color:var(--ui-accent-primary)}
#modal :is(.modal-head button,.settings-tabs button,.settings-panel input,.settings-panel button):focus-visible{outline:2px solid var(--ui-focus);outline-offset:3px}
.wh-notifications,.wh-create-project{background:var(--ui-surface);border-color:var(--ui-border);color:var(--ui-text);border-radius:var(--ui-radius-lg)}
.wh-create-project .wh-primary,.wh-notifications .wh-primary{background:var(--ui-accent-primary);border-color:var(--ui-accent-primary);color:#271b13}
.workspace-shell .social-sort{display:flex;align-items:center;gap:8px;min-width:0;max-width:100%}.workspace-shell .social-sort .sodium-picker{flex:1 1 auto;width:auto;min-width:0}

/* Home's quiet plum surfaces carry through each workspace destination. */
.workspace-shell{--ui-workspace-surface:#232128;--ui-workspace-line:rgba(240,227,251,.12)}
.workspace-shell :is(#social-panel,#home-bank-manager .pack-content:where(:not(:has(.sounds-browse)))){box-sizing:border-box;min-width:0;padding:20px}
.workspace-shell #home-bank-manager .pack-content:where(:not(:has(.sounds-browse))){border:1px solid var(--ui-workspace-line);border-radius:16px;background:var(--ui-workspace-surface)}
.workspace-shell .social-page{padding-bottom:0}
.workspace-shell :is(.ui-local-tabs),#home-bank-manager.sound-catalog .pack-toolbar{display:flex;align-items:center;gap:8px;margin:0 0 16px;padding:0 0 12px;border:0;border-bottom:1px solid var(--ui-workspace-line);border-radius:0;background:transparent}#home-bank-manager.sound-catalog .wh-segments button,.workspace-shell .ui-local-tabs button{flex:0 0 auto;width:auto;min-height:36px;padding:8px 14px;font:600 14px var(--font-ui);border:1px solid transparent!important;border-radius:8px;background:transparent;box-shadow:none;transform:none;text-shadow:none;color:var(--ui-text-muted)}#home-bank-manager.sound-catalog .wh-segments button.active,.workspace-shell .ui-local-tabs [aria-selected=true]{border-color:#e1966f66!important;background:var(--ui-accent-soft)!important;color:var(--ui-accent-primary)!important}
#home-bank-manager.sound-catalog .wh-segments{display:flex;gap:8px;max-width:100%;margin:0;padding:0;border:0;background:transparent}
.workspace-shell :is(.wh-segments,.social-sections,.social-layout){background:#1d1720;border-color:var(--ui-workspace-line)}
.workspace-shell .social-sections button{padding:6px 10px;min-height:32px;border:1px solid transparent;font-size:12px}
.workspace-shell .social-sections [aria-selected=true],.workspace-shell .social-layout button.active{background:var(--ui-accent-soft);color:var(--ui-accent-primary);border-color:#e1966f66;box-shadow:none}
.workspace-shell .social-add-friend{box-shadow:none;text-shadow:none}
.workspace-shell :is(.wh-empty-state,.social-empty){background:#23212899;border:1px solid var(--ui-workspace-line);padding:32px 24px;line-height:1.5}
.workspace-shell :is(.wh-empty-state,.social-empty) strong{display:block;font-size:21px;font-weight:650}
.workspace-shell .wh-empty-mark{color:#d4b0da;background:transparent}
.workspace-shell .social-list-tools{margin-bottom:16px;padding-bottom:12px;border-color:var(--ui-workspace-line)}
.workspace-shell .social-sort{border:0;background:transparent;padding:0;font-size:12px;white-space:nowrap}
.workspace-shell #social-panel:has(>.social-messages){background:var(--ui-bg,#151718);border-color:var(--ui-border,#3c4142)}.workspace-shell .social-messages{min-height:440px;height:clamp(440px,65dvh,680px);border-color:var(--ui-workspace-line);box-shadow:none;background:var(--ui-surface,#202324)}
.workspace-shell .social-messages>aside{min-height:0;background:var(--ui-surface,#202324);border-color:var(--ui-workspace-line)}
.workspace-shell .social-messages>aside header{min-width:0;grid-template-columns:minmax(0,1fr);padding:14px;gap:10px}
.workspace-shell .social-message-heading>div>span{display:none}
.workspace-shell .social-messages>aside h2{margin:0;font-size:28px}
.workspace-shell .social-message-tools{justify-content:space-between}.workspace-shell .social-message-tools .sodium-picker{flex:1;min-width:0;max-width:100%}
.workspace-shell .social-messages>aside footer button{background:transparent;border-color:transparent;color:var(--ui-text-muted)}.workspace-shell .social-messages>aside footer button:hover,.workspace-shell .social-messages>aside footer button:focus-visible{background:color-mix(in srgb,var(--chat-secondary,#cfb4ed) 13%,var(--ui-surface-raised,#292d2e));border-color:var(--ui-workspace-line);color:var(--ui-text,#f3f0e9);outline-offset:2px}.workspace-shell .social-messages>aside footer button:focus-visible{outline:2px solid var(--ui-text-muted)}
.workspace-shell .social-thread{min-height:0;background:var(--ui-surface,#202324)}
.workspace-shell .social-thread-messages{max-height:none}.workspace-shell .social-thread-header{background:var(--ui-surface,#202324);border-color:var(--ui-workspace-line)}
.workspace-shell .social-thread>.social-message-empty{grid-row:1/-1}
.workspace-shell .social-conversation{grid-template-columns:42px minmax(72px,1fr) minmax(0,1.2fr) 18px;gap:8px}
.workspace-shell .social-conversation-name{min-width:0}
.workspace-shell .social-conversation-preview{display:block;min-width:0;text-align:right}
.workspace-shell .social-conversation-preview small,.workspace-shell .social-conversation-preview time{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.workspace-shell .social-conversation:not(.social-favorite-chat) .social-conversation-avatar{width:38px;height:38px;min-width:38px;min-height:38px;flex:0 0 38px;aspect-ratio:1;box-sizing:border-box}
.workspace-shell .social-favorite-chat .social-conversation-avatar{width:62px;height:62px;min-width:62px;min-height:62px;flex:0 0 62px;aspect-ratio:1;box-sizing:border-box}
@media(max-width:820px){
 .workspace-shell .social-conversation{grid-template-columns:42px minmax(0,1fr) auto;grid-template-rows:auto auto;row-gap:4px}
 .workspace-shell .social-conversation-avatar{grid-column:1;grid-row:1 / span 2}
 .workspace-shell .social-conversation-name{grid-column:2;grid-row:1}
 .workspace-shell .social-conversation-preview{display:block;grid-column:2 / -1;grid-row:2;text-align:left}
 .workspace-shell .social-conversation-preview small{text-align:left}
 .workspace-shell .social-conversation-preview time{text-align:right}
 .workspace-shell .social-conversation>b{grid-column:3;grid-row:1}
}
.workspace-shell .pd-social{height:auto;min-height:0;align-self:stretch;gap:0}.workspace-shell .pd-social button{background:transparent;border:0;font-size:15px;padding:10px 0;flex:0 0 auto}
.workspace-shell .pd-social h2{font-size:24px;margin:12px 0 8px}
.workspace-shell .pd-group{box-sizing:border-box;height:auto;max-height:none}

#home-bank-manager.sound-catalog .catalog-library-actions{display:flex;gap:8px;flex-shrink:0}
#home-bank-manager.sound-catalog .catalog-search-row{display:flex;align-items:center;gap:10px;margin-bottom:12px}
#home-bank-manager.sound-catalog .catalog-search-row input{flex:1;min-width:0;width:100%;padding:10px 12px;background:#201923;border:1px solid var(--ui-workspace-line);color:var(--ui-text);font-size:14px}
#home-bank-manager.sound-catalog .catalog-filter-panel{display:grid;grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:12px;padding:16px;margin-bottom:12px;border:1px solid var(--ui-workspace-line);border-radius:12px;background:#1d172066}
#home-bank-manager.sound-catalog .catalog-filter-panel label{display:grid;align-content:start;gap:6px;min-width:0;font-size:12px;color:var(--ui-text-muted)}
#home-bank-manager.sound-catalog .catalog-filter-panel :is(input,select,.sodium-picker,.sodium-picker-trigger){box-sizing:border-box;min-width:0;width:100%!important;max-width:100%;min-height:36px}
#home-bank-manager.sound-catalog .catalog-filter-panel input{padding:8px;background:var(--ui-bg);border:1px solid var(--ui-border);color:var(--ui-text)}
#home-bank-manager.sound-catalog .catalog-filter-tags{margin-bottom:12px}#home-bank-manager.sound-catalog .catalog-filter-tags:empty{display:none}
#home-bank-manager.sound-catalog .catalog-results{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:12px 0}
#home-bank-manager.sound-catalog .catalog-results .sodium-picker{min-width:155px;width:155px!important}
#home-bank-manager.sound-catalog .catalog-table-scroll{background:#221b26;border-color:var(--ui-workspace-line)}
#home-bank-manager.sound-catalog .catalog-table-scroll:has(.wh-empty-state){border:0;background:transparent}
#home-bank-manager.sound-catalog .catalog-sound.playing{background:#3c3630}#home-bank-manager.sound-catalog .catalog-sound:has(input:checked){background:#333832}
#home-bank-manager.sound-catalog .sample-play{background:#3b3430!important;border-color:#b4805966!important;color:#efb88c}
#home-bank-manager.sound-catalog .catalog-pack{background:#232128;border-color:var(--ui-workspace-line);border-radius:12px}
#home-bank-manager.sound-catalog input[type=checkbox]{accent-color:var(--ui-accent-primary)}
#home-bank-manager.sound-catalog .sample-mobile-meta{display:none}
/* All pack artwork uses one square frame; image dimensions never set its shape. */
.pack-cover,.staff-pack-cover{position:relative;box-sizing:border-box;aspect-ratio:1/1!important;height:auto!important;min-height:0!important;padding:0!important;contain:size;line-height:1;flex-shrink:0;align-self:start!important;overflow:hidden;object-fit:cover}
.pack-cover-frame>img{position:absolute;inset:0;width:100%!important;height:100%!important;object-fit:cover!important}
#home-bank-manager.sound-catalog .pack-detail-head{min-width:0;align-items:flex-start}
#home-bank-manager.sound-catalog .pack-detail-head>div{min-width:0;flex:1}
#home-bank-manager.sound-catalog .pack-detail-head>.pack-cover{width:160px;min-width:160px;flex:0 0 160px;max-width:100%}
#home-bank-manager.sound-catalog .pack-content{overflow:visible;max-height:none}
.workspace-shell .staff-tabs,.workspace-shell .staff-local-nav{display:flex;flex-wrap:wrap;gap:3px;margin-bottom:8px;border-bottom:1px solid var(--ui-workspace-line);padding-bottom:6px}
.workspace-shell .staff-tabs button,.workspace-shell .staff-local-nav button{padding:4px 9px;min-height:28px;font-size:12px;background:transparent;border:1px solid transparent;color:var(--ui-text-muted)}
.workspace-shell .staff-tabs button.active,.workspace-shell .staff-local-nav [aria-pressed=true]{background:var(--ui-accent-soft);border-color:#e1966f66;color:var(--ui-accent-primary)}
.workspace-shell .staff-panel,.workspace-shell .staff-review{padding:12px;border:1px solid var(--ui-workspace-line);border-radius:14px;background:var(--ui-workspace-surface)}
.workspace-shell .staff-review h2{margin:0;font:650 18px var(--font-display)}.workspace-shell .staff-review header p{font-size:13px;color:var(--ui-text-muted);line-height:1.5}
.workspace-shell .staff-review-filters{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0 12px}.workspace-shell .staff-review-filters input{flex:1;min-width:180px}
.workspace-shell .staff-list article{display:flex;align-items:center;gap:10px;padding:9px 0;margin:0;border:0;border-bottom:1px solid var(--ui-workspace-line);background:transparent}.workspace-shell .staff-list article>div{flex:1;min-width:0}
.workspace-shell .staff-review-row strong{display:block;margin:7px 0}.workspace-shell .staff-review-row p{margin:6px 0;font-size:13px;overflow-wrap:anywhere}.workspace-shell .staff-review-row small{font-size:11px;color:var(--ui-text-muted)}
.workspace-shell .staff-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.workspace-shell .staff-metrics section{border:1px solid var(--ui-workspace-line);border-radius:12px;background:var(--ui-workspace-surface);padding:12px}
.staff-review-dialog{width:min(680px,calc(100vw - 32px))}.staff-review-dialog form{display:grid;gap:14px;margin-top:20px}.staff-review-evidence{font-size:13px;line-height:1.6}.staff-review-evidence>small{overflow-wrap:anywhere;color:var(--ui-text-muted)}.staff-review-evidence img{display:block;max-width:240px;max-height:240px;object-fit:contain;border-radius:10px}.staff-review-evidence .staff-pack-cover{width:160px;object-fit:cover}.staff-review-evidence blockquote{margin:12px 0;padding:14px;border-left:3px solid #b6a3c9;background:var(--ui-bg);white-space:pre-wrap;overflow-wrap:anywhere}
#home-bank-manager.sound-catalog .sample-pack-link{padding:0;min-height:20px;border:0;background:transparent;color:var(--ui-text-muted);font-size:10px;text-align:left;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#home-bank-manager.sound-catalog .catalog-table-scroll{max-height:48dvh;overscroll-behavior:contain}
#home-bank-manager.sound-catalog .catalog-table-head{position:sticky;top:0;z-index:2}
#home-bank-manager.sound-catalog.is-browsing :is([data-select],[data-all]){visibility:hidden}
#home-bank-manager.sound-catalog .catalog-search-help{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 12px;padding:12px;border:1px solid var(--ui-workspace-line);border-radius:10px;background:#252731;font-size:12px;color:var(--ui-text-muted)}
#home-bank-manager.sound-catalog .catalog-search-help button{font-size:11px;padding:6px 9px;min-height:30px}
#home-bank-manager.sound-catalog .catalog-no-match-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}
#home-bank-manager.sound-catalog .sample-tag-editor{min-width:140px;max-width:220px;font-size:12px}#home-bank-manager.sound-catalog .sample-tag-editor summary{cursor:pointer;padding:8px}#home-bank-manager.sound-catalog .sample-tag-editor label{display:grid;gap:5px;margin:10px 0}
#home-bank-manager.sound-catalog .pack-listing-tags{margin:18px 0}#home-bank-manager.sound-catalog .pack-listing-tags>div{display:grid;gap:8px;padding:12px 0;border-bottom:1px solid var(--ui-border)}#home-bank-manager.sound-catalog .pack-listing-tags label,.sound-keyword-form label{display:grid;gap:5px}.pack-listing-tags input,.sound-keyword-form input{box-sizing:border-box;width:100%;min-width:0}.pack-listing-tags strong{overflow-wrap:anywhere}
.workspace-shell .wh-settings-layout{grid-template-columns:170px minmax(0,800px);gap:24px}
.workspace-shell .wh-settings-nav{padding:0;background:transparent;border:0;gap:6px}
.workspace-shell .wh-settings-nav button{min-height:36px;background:transparent;border:1px solid transparent;color:var(--ui-text-muted)}
.workspace-shell :is(.wh-settings-hero,.wh-settings-card,.wh-settings-security-grid article,.wh-settings-legal-card,.wh-settings-stats article,.wh-storage-summary,.wh-storage-panel){box-sizing:border-box;border:1px solid var(--ui-workspace-line);border-radius:14px;background:var(--ui-workspace-surface);color:var(--ui-text)}
.workspace-shell :is(.wh-settings-card,.wh-settings-security-grid article,.wh-settings-legal-card){padding:20px}
.workspace-shell .wh-settings-section-heading .wh-section-title{display:none}.workspace-shell .wh-settings-section-heading h2{font:650 21px var(--font-display);color:var(--ui-text)}
.workspace-shell .wh-settings-layout :is(input:not([type=checkbox]),textarea){background:var(--ui-bg);border:1px solid var(--ui-border);border-radius:8px;color:var(--ui-text);padding:10px;font-size:14px}
.workspace-shell .wh-settings-layout :is(p,small,label,.wh-section-title){color:var(--ui-text-muted)}
.workspace-shell .wh-settings-layout :is(.wh-settings-badge,.wh-settings-status-dot,.wh-settings-chips span){background:#bca6d215;border-color:#bca6d24d;color:#d1bfdc}
.workspace-shell .wh-settings-stats strong{color:var(--ui-text);font-family:var(--font-display)}
.workspace-shell .wh-settings-banner{height:120px}.workspace-shell .wh-settings-hero-body{padding-top:40px}
.workspace-shell .wh-storage-page{display:grid;gap:16px}.workspace-shell .wh-storage-summary,.workspace-shell .wh-storage-panel{padding:20px;margin:0}
.workspace-shell .wh-storage-summary header{display:flex;align-items:center;justify-content:space-between;gap:12px}.workspace-shell .wh-storage-summary h2{font:650 22px var(--font-display);margin:0 0 10px}
.workspace-shell .wh-storage-summary p{margin:0;font-size:14px}.workspace-shell .wh-storage-summary header>span{font-size:12px;color:var(--ui-text-muted)}
.workspace-shell .wh-storage-meter{height:8px;margin:18px 0;background:var(--ui-bg);border:0;border-radius:8px}.workspace-shell .wh-storage-meter i{background:#b49bc9;border-radius:8px}
.workspace-shell .wh-storage-actions{margin:0;display:flex;flex-wrap:wrap;gap:8px}.workspace-shell .wh-storage-actions button:not(.wh-primary){background:var(--ui-surface-raised)}
.workspace-shell .wh-storage-panel h2{font:650 17px var(--font-display);margin:0}.workspace-shell .wh-storage-project-list{margin-top:10px}
.workspace-shell .wh-storage-project-list>button{display:flex;gap:12px;border-color:var(--ui-workspace-line);padding:12px 0;background:transparent}.workspace-shell .wh-storage-project-name{flex:1;min-width:0}
.workspace-shell .wh-storage-project-list b{font-size:12px;color:var(--ui-text-muted)}.workspace-shell .wh-storage-project-list .ph-icon{width:16px;height:16px;font-size:16px}
.workspace-shell .wh-storage-recovery>summary{cursor:pointer;font:600 16px var(--font-display);color:var(--ui-text)}.workspace-shell .wh-storage-recovery>summary span{color:var(--ui-text-muted);font:12px var(--font-ui);margin-left:8px}
.workspace-shell .wh-storage-archive-list article{padding:12px 0;background:transparent;border:0;border-bottom:1px solid var(--ui-workspace-line)}
.workspace-shell .wh-storage-empty{padding:14px;border:0;background:transparent;font-size:13px}.workspace-shell .wh-storage-note{margin:0;font-size:12px;line-height:1.6;color:var(--ui-text-muted)}

/* Official Sodium profile: expressive brand art with readable, useful entry points. */
.workspace-shell .user-profile.is-official{min-height:0;--profile-accent-rgb:239 162 123;max-width:1120px;background:#232128;border-color:#d0927770}
.workspace-shell .user-profile.is-official>.profile-cover{height:clamp(220px,25vw,300px);background-position:center 45%;border-radius:14px 14px 0 0}
.workspace-shell .user-profile.is-official .profile-avatar{width:128px;height:128px;padding:0;overflow:hidden;border:5px solid #101214;border-radius:28px;background:#f0a27a;box-shadow:0 12px 35px #0009}
.workspace-shell .user-profile.is-official .profile-avatar img{display:block;width:100%;height:100%;object-fit:cover;border-radius:22px}
.workspace-shell .user-profile.is-official .profile-kicker{color:#f3b89c}
.workspace-shell .user-profile.is-official .profile-body h2{font:600 clamp(28px,3vw,40px)/1.08 var(--font-display);letter-spacing:-.02em}
.workspace-shell .official-profile-features{margin:26px 0 8px;padding:23px;border:1px solid #a27ca349;border-radius:16px;background:#232128bf}
.workspace-shell .official-feature-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}
.workspace-shell .official-feature-card{position:relative;display:flex;flex-direction:column;min-width:0;min-height:194px;padding:17px;border:1px solid #ffffff18;border-radius:12px;background:#2f2b36;overflow:hidden}
.workspace-shell .official-feature-card:before{content:'';position:absolute;top:-38px;right:-30px;width:100px;height:100px;border:1px solid #ffffff16;border-radius:50%;box-shadow:0 0 0 13px #ffffff08,0 0 0 27px #ffffff05}
.workspace-shell .official-feature-card h4{position:relative;margin:18px 0 7px;color:#f2f0f1;font:600 18px/1.15 var(--font-display)}
.workspace-shell .official-feature-card p{position:relative;margin:0 0 18px;color:#b4b6b8;font-size:12px;line-height:1.6}
.workspace-shell .official-feature-card button{position:relative;justify-content:flex-start;gap:8px;margin-top:auto;padding:4px 0;min-height:32px;border:0;background:transparent;color:#f0b08a;font-size:12px;text-align:left}
.workspace-shell .official-feature-card button:hover{color:#ffd1b6}
.workspace-shell .staff-hq-editor>header h2{margin:5px 0 6px;color:var(--ui-text);font:600 26px/1.2 var(--font-display)}
.workspace-shell .staff-hq-editor>header p{max-width:720px;margin:0 0 22px;color:var(--ui-text-muted);font-size:13px;line-height:1.6}
.workspace-shell .staff-hq-form{display:grid;gap:15px}
.workspace-shell .staff-hq-form>label,.workspace-shell .staff-hq-feature>label,.workspace-shell .staff-hq-two>label{display:grid;gap:6px;color:var(--ui-text-muted);font-size:12px}
.workspace-shell .staff-hq-form :is(input:not([type=checkbox]),textarea,select){width:100%;min-width:0;box-sizing:border-box;padding:10px 11px;border:1px solid var(--ui-workspace-line);border-radius:8px;background:var(--ui-bg);color:var(--ui-text);font:13px var(--font-ui)}
.workspace-shell .staff-hq-form textarea{resize:vertical;line-height:1.55}
.workspace-shell .staff-hq-art-grid{display:grid;grid-template-columns:minmax(140px,.34fr) minmax(0,1fr);gap:13px}
.workspace-shell .staff-hq-art{min-width:0;padding:14px;border:1px solid var(--ui-workspace-line);border-radius:12px;background:var(--ui-bg)}
.workspace-shell .staff-hq-art h3,.workspace-shell .staff-hq-features h3{margin:0;color:var(--ui-text);font:600 15px var(--font-display)}
.workspace-shell .staff-hq-mark-preview{display:grid;place-items:center;width:94px;height:94px;margin:12px auto;border:1px solid var(--ui-workspace-line);border-radius:24px;background:#151519;overflow:hidden}
.workspace-shell .staff-hq-mark-preview img{width:100%;height:100%;object-fit:cover}
.workspace-shell .staff-hq-banner-preview{width:100%;min-height:118px;margin:12px 0;border:1px solid var(--ui-workspace-line);border-radius:9px;background-color:#151519;background-position:center;background-size:cover}
.workspace-shell .staff-hq-actions{display:flex;flex-wrap:wrap;gap:7px}
.workspace-shell .staff-hq-actions button{min-height:31px;padding:6px 9px;border:1px solid var(--ui-workspace-line);border-radius:7px;background:var(--ui-workspace-surface);font-size:11px}
.workspace-shell .staff-hq-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.workspace-shell .staff-hq-form input[type=color]{height:40px;padding:4px}
.workspace-shell .staff-hq-features{display:grid;gap:10px;margin-top:8px}
.workspace-shell .staff-hq-features>div>p{margin:5px 0 12px;color:var(--ui-text-muted);font-size:11px;line-height:1.5}
.workspace-shell .staff-hq-feature{min-width:0;margin:0;padding:13px;border:1px solid var(--ui-workspace-line);border-radius:10px}
.workspace-shell .staff-hq-feature legend{padding:0 6px;color:#e5b49c;font-size:11px;font-weight:600}
.workspace-shell .staff-hq-social{padding:12px 0;border-block:1px solid var(--ui-workspace-line);color:var(--ui-text-muted);font-size:12px}
.workspace-shell .staff-hq-social summary{cursor:pointer}.workspace-shell .staff-hq-social .staff-hq-two{margin-top:12px}
.workspace-shell .staff-hq-form>output{min-height:18px;color:#edaa81;font-size:12px;overflow-wrap:anywhere}
@media(max-width:760px){.workspace-shell .official-profile-features{padding:16px}.workspace-shell .official-feature-grid{grid-template-columns:1fr}.workspace-shell .official-feature-card{min-height:155px}.workspace-shell .staff-hq-art-grid,.workspace-shell .staff-hq-two{grid-template-columns:minmax(0,1fr)}.workspace-shell .staff-hq-mark-preview{margin-inline:0}}
@media(max-width:900px){.workspace-shell .wh-settings-layout{grid-template-columns:1fr;gap:16px}.workspace-shell .wh-settings-nav{display:flex;flex-wrap:nowrap;overflow:auto;padding-bottom:4px}.workspace-shell .wh-settings-nav button{flex-shrink:0;font-size:12px}.workspace-shell .wh-settings-nav>span{display:none}}
@media(max-width:1150px) and (min-width:761px){
 .workspace-shell .pd-cards{grid-template-columns:minmax(0,1.4fr) minmax(260px,1fr);grid-template-rows:minmax(clamp(280px,22vw,364px),auto);gap:14px}.workspace-shell .pd-reel{grid-column:1;grid-row:1;height:auto;min-height:clamp(280px,22vw,364px)}.workspace-shell .pd-cards>.pd-social{grid-column:2;grid-row:1;height:auto;min-height:0;align-self:stretch}
 .workspace-shell .pd-groups{grid-template-columns:1fr}
}

@media(max-width:760px){
 .workspace-shell :is(#social-panel,#home-bank-manager .pack-content:where(:not(:has(.sounds-browse)))){padding:14px}
 .workspace-shell :is(.ui-local-tabs){flex-wrap:nowrap;overflow:auto;gap:4px;margin-bottom:12px;padding-bottom:10px}#home-bank-manager.sound-catalog .wh-segments button,.workspace-shell .ui-local-tabs button{font-size:13px;padding:8px 10px}
 .workspace-shell .social-secondary-row{gap:12px;margin-bottom:20px}.workspace-shell .social-sections{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;max-width:100%;width:100%;box-sizing:border-box;overflow:visible}.workspace-shell .social-sections button{display:flex;justify-content:space-between;align-items:center;min-width:0;white-space:normal}
 .workspace-shell .social-sections button{padding:5px 7px;font-size:11px}.workspace-shell .social-sections button span{margin-left:3px;min-width:16px}
 .workspace-shell .social-view-actions{gap:8px}.workspace-shell .social-view-actions>button{font-size:12px;padding:6px 8px}
 .workspace-shell .social-sort{flex-basis:auto;width:auto;align-self:flex-end}
 .workspace-shell .social-messages{height:auto;min-height:0;grid-template-columns:1fr}.workspace-shell .social-messages>aside{height:auto;max-height:none;grid-template-rows:auto minmax(160px,200px) auto}
 .workspace-shell .social-conversation-list{min-height:0;overflow-y:auto;overscroll-behavior:contain}
 .workspace-shell .social-messages>aside header{padding:10px;gap:7px}
 .workspace-shell .social-messages>aside footer{padding:6px 10px}
 .workspace-shell .social-messages>aside footer button{min-height:34px;padding-block:5px}
 .workspace-shell .social-message-heading>button{min-height:36px;padding:6px 8px;font-size:12px}
 .workspace-shell .social-favorites{padding:4px 2px 8px}
 .workspace-shell .social-favorite-chat{min-height:72px;gap:5px;padding:6px 3px}
 .workspace-shell .social-favorite-chat .social-conversation-avatar{width:42px;height:42px;min-width:42px;min-height:42px;flex-basis:42px}
 .workspace-shell .social-favorite-chat>i{right:calc(50% - 25px)}
 .workspace-shell .social-favorite-wrap .social-conversation-menu{top:52px}
 .workspace-shell .social-conversation{grid-template-columns:40px minmax(0,1fr) 18px;grid-template-rows:auto auto;gap:2px 8px;padding:8px 6px}
 .workspace-shell .social-conversation>.social-conversation-avatar{grid-column:1;grid-row:1/3;width:40px;height:40px;min-width:40px;min-height:40px}
 .workspace-shell .social-conversation-name{grid-column:2;grid-row:1}
 .workspace-shell .social-conversation-name strong{max-width:100%}
 .workspace-shell .social-conversation-preview{grid-column:2;grid-row:2;display:flex;align-items:center;gap:8px;min-width:0;text-align:left}
 .workspace-shell .social-conversation-preview small{flex:1;min-width:0}
 .workspace-shell .social-conversation-preview time{flex:none;margin-top:0}
 .workspace-shell .social-conversation>b{grid-column:3;grid-row:1/3}
 .workspace-shell .social-conversation>i{left:34px;top:3px}
 .workspace-shell .social-message{max-width:94%}
 .workspace-shell .social-replying>span{flex:1;overflow:hidden}
 .workspace-shell .social-replying>button{flex:none}
 .workspace-shell .social-replying small{max-width:100%}
 .workspace-shell .social-messages>aside header{grid-template-columns:minmax(0,1fr)}.workspace-shell .social-messages>aside h2{font-size:25px;align-self:center}
 .workspace-shell .social-message-tools .sodium-picker{width:auto!important}.workspace-shell .social-thread{height:clamp(420px,65dvh,600px)}
 .workspace-shell .social-thread>.social-message-empty{min-height:0;padding:18px}.workspace-shell .social-message-empty strong{font-size:20px}
  .workspace-shell .pd-cards{grid-template-columns:1fr;grid-template-rows:minmax(250px,auto) auto;gap:12px;margin-bottom:18px}.workspace-shell .pd-cards>.pd-reel{grid-column:1;grid-row:1;height:auto;min-height:250px}
  .workspace-shell .pd-cards>.pd-social{height:auto;min-height:160px;padding:14px 16px;display:flex;gap:4px}
  .workspace-shell .pd-social h2{font-size:21px}.workspace-shell .pd-social button{font-size:12px;padding:6px 0}
 .workspace-shell .pd-group{height:auto;min-height:0;max-height:none}.workspace-shell .pd-groups{gap:12px}
 #home-bank-manager.sound-catalog .pack-toolbar{flex-wrap:wrap;gap:8px}#home-bank-manager.sound-catalog .wh-segments{width:auto;overflow:auto;gap:2px}
 #home-bank-manager.sound-catalog .catalog-library-actions{margin-left:auto}#home-bank-manager.sound-catalog .catalog-library-actions button{min-height:32px;padding:5px 9px}
 #home-bank-manager.sound-catalog .catalog-results{font-size:11px;flex-wrap:wrap}#home-bank-manager.sound-catalog .catalog-results>span:last-child{margin-left:auto}
 #home-bank-manager.sound-catalog .catalog-filter-panel{grid-template-columns:repeat(2,minmax(0,1fr));padding:12px;gap:10px}
 #home-bank-manager.sound-catalog .pack-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 #home-bank-manager.sound-catalog .catalog-pack .pack-actions{flex-wrap:wrap}#home-bank-manager.sound-catalog .catalog-pack strong{font-size:13px}
 #home-bank-manager.sound-catalog :is(.catalog-sound,.catalog-table-head){min-width:0;grid-template-columns:18px 28px minmax(0,1fr) 28px;gap:8px;padding:10px 8px}
 #home-bank-manager.sound-catalog :is(.catalog-sound,.catalog-table-head)>:is(:nth-child(2),:nth-child(5),:nth-child(6),:nth-child(7),:nth-child(8),:nth-child(9)){display:none}
 #home-bank-manager.sound-catalog .sample-mobile-meta{display:block;font-size:10px;color:var(--ui-text-muted);margin-top:5px;line-height:1.5}
 #home-bank-manager.sound-catalog .catalog-row-actions>small{display:none}#home-bank-manager.sound-catalog .sample-tags{max-height:22px;overflow:hidden}#home-bank-manager.sound-catalog .sample-tags[data-freeform-tags]{max-height:none}
 .workspace-shell :is(.wh-empty-state,.social-empty){padding:24px 16px}.workspace-shell :is(.wh-empty-state,.social-empty) strong{font-size:20px}
 .workspace-shell .wh-storage-summary header{align-items:flex-start;flex-direction:column}.workspace-shell :is(.wh-storage-summary,.wh-storage-panel,.wh-settings-card,.wh-settings-security-grid article,.wh-settings-legal-card){padding:16px}
 #home-bank-manager.sound-catalog .catalog-search-row{flex-wrap:wrap}#home-bank-manager.sound-catalog .catalog-search-row input{flex-basis:65%}
 #home-bank-manager.sound-catalog .catalog-search-row [data-library-packs]{order:3}#home-bank-manager.sound-catalog .catalog-search-row [data-filter-toggle]{order:2}
 #home-bank-manager.sound-catalog .pack-detail-head>.pack-cover{width:96px;min-width:96px;flex-basis:96px}
 .workspace-shell .staff-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.workspace-shell .staff-panel,.workspace-shell .staff-review{padding:14px}.workspace-shell .staff-review-filters{display:grid;grid-template-columns:1fr 1fr}.workspace-shell .staff-review-filters input{grid-column:1/-1;min-width:0}.workspace-shell .staff-review-filters .sodium-picker{width:100%!important;min-width:0}
}
/* Keep discovery and moderation controls compact before the results. */
.workspace-shell .staff-review form.staff-review-filters{display:grid;grid-template-columns:minmax(160px,1fr) 170px 170px auto;align-items:center}
.workspace-shell .staff-review-filters :is(input,.sodium-picker){min-width:0;width:100%!important}
@media(max-width:900px){.workspace-shell .staff-review form.staff-review-filters{grid-template-columns:1fr 1fr}.workspace-shell .staff-review-filters input{grid-column:1/-1}}
@media(max-width:760px){
 #home-bank-manager.sound-catalog .catalog-table-scroll{max-height:42dvh}
}
.pack-bulk-edit,.catalog-pagination{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:12px 0}.pack-bulk-edit label{display:flex;align-items:center;gap:8px}.pack-bulk-edit input{width:18px;height:18px}.pack-edit-sounds{max-height:55dvh;overflow:auto;scrollbar-width:thin}.pack-edit-sounds .pending-removal{opacity:.4;background:#613f4729}.pack-edit-sounds .pending-removal .sample-main{ text-decoration:line-through}.catalog-pagination{justify-content:center}.catalog-pagination span{font-size:12px;color:var(--ui-text-muted)}.staff-greetings [data-greeting-list]{max-height:62dvh;overflow:auto;padding-right:8px;scrollbar-width:thin}
.designer-performance{display:grid;grid-template-columns:minmax(160px,.8fr) minmax(220px,1.2fr);gap:16px;margin:16px 0}.designer-touchpad{position:relative;min-height:168px;touch-action:none;user-select:none;overflow:hidden;border:1px solid #867097;border-radius:12px;background:radial-gradient(ellipse at 80% 20%,#8e688080,transparent 65%),linear-gradient(140deg,#49344f,#253840);display:flex;align-items:center;justify-content:center;color:#d8c5e5;cursor:crosshair}.designer-touchpad>span{font:500 20px var(--font-display);pointer-events:none}.designer-touchpad small{position:absolute;bottom:9px;left:0;right:0;text-align:center;font-size:10px;color:#c4bdc9}.designer-touchpad b{position:absolute;right:10px;top:10px;font-size:10px;font-weight:400;color:#c4bdc9}.designer-touchpad i{position:absolute;width:23px;height:23px;border-radius:50%;border:2px solid #ecddf7;background:#ba95d170;box-shadow:0 0 20px #dfbdf788;transform:translate(-50%,-50%);pointer-events:none}.designer-live-help{font-size:11px;line-height:1.5;margin:8px 0}.designer-live-buttons{display:flex;flex-wrap:wrap;gap:6px}.designer-live-buttons [aria-pressed=true]{background:#635076!important;color:#f6edfc!important}.designer-performance canvas{height:88px}.designer-details{margin:16px 0}.designer-details>summary{font-size:13px;cursor:pointer;padding:8px 0;color:#e0d0eb}.designer-controls{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.designer-details .designer-controls{margin:12px 0}.designer-play{border-top:1px solid #67516f;padding-top:14px}
@media(max-width:700px){.designer-performance{grid-template-columns:minmax(0,1fr)}.designer-touchpad{min-height:140px}.designer-performance canvas{height:65px}.designer-controls{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 8px}.designer-controls label{font-size:11px}.designer-controls output{font-size:10px}}

/* One menu surface, including menus hosted in modal dialogs and the studio. */
.sodium-menu{box-sizing:border-box;z-index:200100;min-width:180px;width:max-content;padding:5px!important;border:1px solid #52515f!important;border-radius:9px!important;background:#25242d!important;color:#f1eef5!important;box-shadow:0 12px 36px #0008;font:13px/1.4 var(--font-ui,system-ui)}
.sodium-menu button,.sodium-menu [role=menuitem]{box-sizing:border-box;display:flex!important;align-items:center;gap:8px;width:100%;min-height:34px;text-align:left;margin:0!important;padding:8px 11px!important;border:0!important;border-radius:5px!important;background:transparent!important;color:inherit!important;font:inherit!important;white-space:normal}
.sodium-menu button:hover,.sodium-menu button:focus-visible{background:#444052!important;outline:2px solid #bf9dd8;outline-offset:-2px}
.sodium-menu button:disabled{opacity:.45}.sodium-menu .context-panel-body{display:block;padding:0}
.pack-artwork-designer{width:min(1000px,96vw)!important;max-height:92dvh}.cover-designer-layout{display:grid;grid-template-columns:minmax(220px,1fr) minmax(260px,1fr);gap:24px;align-items:start}.cover-designer-preview{position:sticky;top:0;display:grid;gap:10px}.cover-designer-preview canvas{display:block;width:100%;height:auto;aspect-ratio:1;border-radius:8px;touch-action:none}.cover-designer-preview small{color:#b9b3c6}.cover-designer-controls{display:grid;gap:14px}.cover-designer-controls fieldset,.staff-reward-editor fieldset{border:1px solid #4d465b;border-radius:10px;padding:12px;display:grid;gap:10px;margin:0}.cover-designer-controls legend,.staff-reward-editor legend{padding:0 6px;color:#d6c5e6}.cover-designer-controls label{display:grid;grid-template-columns:110px minmax(0,1fr) 32px;align-items:center;gap:8px;font-size:12px}.cover-designer-controls label>input:not([type=range]),.cover-designer-controls label>select{grid-column:2/-1;min-width:0}.cover-designer-controls input[type=color]{width:100%;height:32px}.cover-designer-controls input[type=checkbox]{grid-column:auto!important}.cover-stock-results{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.cover-stock-results button{padding:0;overflow:hidden;aspect-ratio:1}.cover-stock-results img{width:100%;height:100%;object-fit:cover}.cover-designer-controls small{line-height:1.5;overflow-wrap:anywhere}.pack-artwork-designer [data-cover-status]{display:block;margin-top:12px;color:#dcc4ef}
.staff-table-wrap{overflow:auto;border:1px solid var(--wh-line,#484450);border-radius:9px;max-width:100%}.staff-review-table{width:100%;border-collapse:collapse;font-size:12px;text-align:left}.staff-review-table th{background:#302c39;color:#d3c5e1;font-size:11px;letter-spacing:.04em;padding:10px;white-space:nowrap}.staff-review-table td{vertical-align:top;padding:9px 10px;border-top:1px solid #413b4a;max-width:280px;overflow-wrap:anywhere}.staff-review-table tr:nth-child(even){background:#ffffff03}.staff-review-table tbody tr:hover{background:#bfa6da0c}.staff-review-table td small{display:block;color:#a8a0b6;margin-top:3px}.staff-review-table td button{font-size:12px;min-height:30px;padding:5px 9px}.staff-evidence-excerpt{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.staff-reward-editor{width:min(640px,94vw)}.staff-reward-editor form{display:grid;gap:12px}.staff-reward-editor label{display:grid;gap:5px}.staff-reward-editor img{max-width:100%;max-height:130px;object-fit:contain}.reward-condition{display:grid;grid-template-columns:minmax(100px,1fr) auto 70px 32px;gap:6px;align-items:center}.reward-condition input,.reward-condition select{min-width:0;width:100%}.reward-unlocked{text-align:center;width:min(440px,92vw)}.reward-unlocked .reward-pin{width:104px;height:104px;object-fit:contain;margin:15px auto}.reward-banner{width:100%;aspect-ratio:3;object-fit:cover;border-radius:8px}.reward-unlocked .ui-dialog-actions{justify-content:center}
@media(max-width:650px){.cover-designer-layout{grid-template-columns:1fr}.cover-designer-preview{position:static;max-width:300px;margin:auto}.cover-designer-controls label{grid-template-columns:94px minmax(0,1fr) 28px}.staff-review-table{min-width:780px}.reward-condition{grid-template-columns:minmax(80px,1fr) 50px 32px}.reward-condition>span{display:none}}
.ui-dialog[open]{display:flex;flex-direction:column;overflow:hidden}.ui-dialog-head,.ui-dialog-actions{flex-shrink:0}.ui-dialog-body{min-height:0;overflow:auto}.cover-inspector-tabs{display:flex;gap:5px;flex-wrap:wrap}.cover-inspector-tabs [aria-pressed=true]{background:#564460;color:#f5e8ff}.cover-designer-controls fieldset[hidden]{display:none}.cover-designer-controls input[type=color]{padding:3px}.cover-designer-controls input[type=range]{padding:3px 0}.cover-designer-controls output{margin:0;color:#d6c5e6}.cover-designer-controls label:has(input[type=checkbox]){display:flex}
@media(max-width:650px){.pack-artwork-designer .ui-dialog-body{padding:14px}.cover-designer-preview{max-width:210px}.cover-designer-preview button{min-height:28px;padding:3px 8px}.cover-designer-preview small{font-size:10px}.cover-designer-layout{gap:14px}.ui-dialog-actions{padding:12px 14px;flex-wrap:wrap}}

.staff-reward-editor label:has(input[type=checkbox]){display:flex;align-items:center}.staff-reward-editor input[type=checkbox]{width:18px;height:18px;padding:0}
/* Home feature cards follow the dashboard grid at desktop sizes. */
@media(min-width:1151px){.workspace-shell .pd-cards{align-items:stretch}.workspace-shell .pd-cards>section{height:auto;align-self:stretch}.workspace-shell .pd-reel{height:auto;min-height:clamp(280px,22vw,424px)}.workspace-shell .pd-cards>.pd-social{grid-row:1;height:auto;min-height:0;align-self:stretch}}
/* Give the direct-message workspace more vertical room on desktop. */
@media(min-width:761px){.workspace-shell .social-messages{height:clamp(680px,90dvh,1040px);min-height:680px}}
@media(max-width:620px){

}
