/* The listener app and the workspaces use shared interaction patterns and distinct task layouts. */
.catalog { --lime: #dce8ab; --green: #dce8ab; --green-2: #c8d692; --radius: 13px; }
.catalog .button, .catalog .format-tabs a { border-radius: 8px; }
.catalog .button.primary:hover, .catalog .button.pale:hover { background: #e7efc8; }
.catalog .app-bar { backdrop-filter: none; background: #151713; }
.catalog .playback-dock { background: #1c2019; box-shadow: none; }
.catalog .rail-group a[aria-current] { background: #252b22; border-color: transparent; box-shadow: inset 2px 0 var(--lime); }
.catalog .spotlight { background: #252925; }
.catalog .spotlight::after { background: linear-gradient(90deg,#10140ef5,#10140ed0 29%,#10140e49 67%,transparent),linear-gradient(0deg,#141910c0,transparent 56%); }
.catalog .spotlight-image.artist-image { object-position: center 52%; }
.catalog .spotlight h2 { font-size: clamp(3rem,5.55vw,5.25rem); letter-spacing: -.065em; }
.catalog .spotlight-label, .catalog .cinema-copy .kicker { color: #e4ebd2; letter-spacing: .08em; }
.catalog .spotlight-label .icon, .catalog .cinema-copy .kicker .icon { display: none; }
.catalog .record-hero, .catalog .record-player, .catalog .collection-empty { background: #272e24; }
.catalog .card-art, .catalog .media-poster .card-art { border-radius: 7px; }
.catalog .media-poster .media-play { box-shadow: 0 2px 5px #090c0866; }
.catalog .media-shelf { row-gap: 1.2rem; }
.catalog .media-heading h1 { letter-spacing: -.048em; }
.catalog .order-summary { background: #252e22; }
.catalog .card, .catalog .auth-card { box-shadow: none; }
.catalog .demo-accounts { border: 1px solid #43523e; }
.photo-credit { align-items: flex-start; }
.security-card { max-width: 620px; }
.security-card h1 { font-size: clamp(1.85rem,4vw,2.8rem); margin: 0 0 1rem; }
.setup-key { border: 1px solid var(--line); padding: .75rem; overflow-wrap: anywhere; }
.recovery-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .55rem; padding: .7rem 0; list-style: none; }
.recovery-grid code { display: block; border: 1px solid var(--line); border-radius: 6px; padding: .48rem; font-size: .82rem; }

body.studio, body.operations {
  color-scheme: light;
  --bg: #f4f5f2;
  --paper: #fff;
  --ink: #242b26;
  --body: #4e5b52;
  --green: #285842;
  --green-2: #1c3a2a;
  --lime: #c9d9b5;
  --line: #d6ded6;
  --radius: 7px;
  background: var(--bg);
}
.studio .app-rail, .operations .app-rail { background: #202820; border: 0; padding: 25px 11px 14px; }
.studio .app-rail .wordmark, .operations .app-rail .wordmark { font-size: 1.77rem; margin-bottom: 24px; }
.studio .app-rail .wordmark .brand-mark, .operations .app-rail .wordmark .brand-mark { width: 27px; height: 27px; border-radius: 6px; }
.studio .rail-group a, .operations .rail-group a { color: #e0e7db; border-radius: 5px; min-height: 37px; padding: .38rem .59rem; font-size: .9rem; }
.studio .rail-group a:hover, .operations .rail-group a:hover { background: #344232; }
.studio .rail-group a[aria-current], .operations .rail-group a[aria-current] { color: #f8faf3; background: #3b4b36; box-shadow: inset 2px 0 #bad0a7; border-color: transparent; }
.workspace-switch { display: grid; padding: .2rem .58rem .8rem; margin-bottom: .65rem; border-bottom: 1px solid #4b584a; color: #f3f7ef; }
.workspace-switch span { color: #c6d3c4; font-size: .76rem; }
.workspace-switch strong { font-size: .93rem; }
.workspace-mobile-tabs, .operations-menu { display: none; }
.studio .app-bar, .operations .app-bar { background: var(--paper); border-color: var(--line); backdrop-filter: none; }
.studio .kicker, .operations .kicker { color: var(--green); }
.studio .bar-context, .operations .bar-context { font-weight: 750; letter-spacing: -.02em; }
.studio .avatar, .operations .avatar { background: #e0ecdc; color: #193222; }
.studio .page-head h1, .operations .page-head h1 { font-size: clamp(2rem,3.45vw,3.35rem); font-weight: 760; letter-spacing: -.047em; }
.studio .app-stage .site-footer, .operations .app-stage .site-footer { border-color: var(--line); }
.studio .card, .operations .card, .studio .list-panel, .operations .list-panel { background: #fff; border-color: var(--line); }
.studio .card h2, .operations .card h2 { font-size: 1.38rem; letter-spacing: -.03em; }
.studio .replacement-card { margin-bottom: 1.1rem; }
.studio h2, .operations h2 { letter-spacing: -.03em; }
.studio .button, .operations .button { border-radius: 6px; }
.studio .button.primary, .operations .button.primary { background: #285842; color: #fff; border-color: #285842; }
.studio .button.primary:hover, .operations .button.primary:hover { background: #204a37; }
.studio .button.secondary, .operations .button.secondary { color: #2c4535; background: #fff; border-color: #a6b6a8; }
.studio .button.secondary:hover, .operations .button.secondary:hover { background: #edf3ea; }
.studio .field input, .studio .field select, .studio .field textarea,
.operations .field input, .operations .field select, .operations .field textarea, .operations .search-form input { background: #fff; border-color: #9fad9f; color: var(--ink); }
.studio :is(input,select,button,a,summary,[tabindex]):focus-visible,
.operations :is(input,select,button,a,summary,[tabindex]):focus-visible { outline-color: #28624a; }
.studio .inline-note, .operations .inline-note { background: #edf4e9; color: #314636; }
.studio .inline-note.warn, .operations .inline-note.warn { background: #fff1d7; color: #67491e; }
.studio .tag, .operations .tag { color: #2e4937; background: #e5efe3; border-radius: 5px; }
.studio .tag.state-failed, .studio .tag.state-changes, .studio .tag.state-review,
.operations .tag.state-failed, .operations .tag.state-review, .operations .tag.state-disabled, .operations .tag.state-exception,
.operations .tag.state-unknown, .operations .tag.state-delayed, .operations .tag.state-changes { background: #faebd8; color: #67491e; }
.studio .list-panel > a.list-row:hover, .operations .list-panel > a.list-row:hover { background: #f0f4ef; }
.studio .table-scroll thead, .operations .table-scroll thead { color: #364b3b; background: #eaf0e8; }
.studio .table-scroll tbody tr:nth-child(even), .operations .table-scroll tbody tr:nth-child(even) { background: #f8faf7; }
.studio .thin-link, .operations .thin-link { color: var(--green); }
.studio .breadcrumbs a, .operations .breadcrumbs a { color: #45684f; }
.studio .workspace-release .square-thumb, .operations .workspace-release .square-thumb { width: 44px; height: 44px; border-radius: 5px; }
.workspace-title-row, .workspace-header { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: .75rem; }
.workspace-header { padding-top: 1.75rem; }
.workspace-header .workspace-context, .workspace-context { margin: 0 0 .35rem; font-size: .86rem; font-weight: 650; }
.workspace-environment { color: #5c4528; border: 1px solid #d9bf9c; padding: .2rem .44rem; font-size: .8rem; border-radius: 4px; background: #fbf2e1; }
.playback-metrics { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 21rem), 1fr)); }
.playback-metrics .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.workspace-section-head { align-items: center; }
.workspace-section-head p { margin: .24rem 0 0; font-size: .9rem; }
.section-head h2 { margin: 0; }
.table-heading { font-size: 1.13rem; padding: .7rem 1rem; border-bottom: 1px solid var(--line); }
.exception-heading { margin: 0 0 .65rem; font-size: 1.45rem; }
.overview-counters, .report-summary { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.overview-count, .report-summary > div { padding: .85rem 1rem; min-width: 0; border-left: 1px solid var(--line); }
.overview-count:first-child, .report-summary > div:first-child { border-left: 0; }
.overview-count > span { color: var(--body); font-size: .88rem; }
.overview-count > strong, .report-summary dd { display: block; margin-top: .38rem; font-size: clamp(1.4rem,2.5vw,2.1rem); font-weight: 740; color: var(--ink); font-variant-numeric: tabular-nums; }
.overview-count:hover { background: #edf4ed; text-decoration: none; }
.report-filter { display: flex; flex-wrap: wrap; align-items: end; gap: .65rem; margin: 1.1rem 0; }
.report-filter select { min-width: min(270px,100%); }
.report-summary dt, .report-activity dt { font-size: .87rem; }
.report-activity { display: flex; flex-wrap: wrap; gap: 1rem 1.7rem; margin: .9rem 0; }
.report-activity > div { display: flex; align-items: baseline; gap: .37rem; }
.report-activity dd { font-weight: 750; font-variant-numeric: tabular-nums; }
.statement-table { border: 1px solid var(--line); border-radius: 7px; background: #fff; }
.statement-table-help { display: none; }
.statement-table table { min-width: 690px; }
.statement-table small { display: block; font-weight: 400; }
.statement-table td:not(:nth-child(2)) { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.statement-table thead th:nth-child(n+3) { text-align: right; }
.launch-checks .list-row { align-items: flex-start; }
.launch-checks .list-row > div { flex: 1; }
.launch-checks .stack { margin-top: .6rem; }
@media (max-width: 760px) {
  .studio .mobile-brand, .operations .mobile-brand { color: #243c2b; }
  .studio .mobile-brand .brand-dot, .operations .mobile-brand .brand-dot { color: #40634b; }
  .workspace-mobile-tabs { display: flex; background: #fdfefa; border-bottom: 1px solid var(--line); }
  .workspace-mobile-tabs a { flex: 1 1 0; min-width: 0; padding: .35rem .4rem; display: flex; align-items: center; justify-content: center; gap: .35rem; min-height: 44px; color: var(--body); font-size: .85rem; border-bottom: 2px solid transparent; }
  .workspace-mobile-tabs a[aria-current] { color: #285842; border-color: #285842; font-weight: 710; }
  .operations-menu { display: block; background: var(--paper); border-bottom: 1px solid var(--line); }
  .operations-menu summary { display: flex; align-items: center; gap: .65rem; min-height: 46px; padding: .4rem 1rem; color: var(--body); cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .operations-menu summary::-webkit-details-marker { display: none; }
  .operations-menu summary:active { background: #edf4ed; }
  .operations-menu summary strong { margin-inline-start: auto; color: var(--green); }
  .operations-menu summary .icon { transform: rotate(90deg); }
  .operations-menu[open] summary .icon { transform: rotate(-90deg); }
  .operations-mobile-links { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .18rem .4rem; padding: 0 .85rem .65rem; }
  .operations-mobile-links a { display: flex; align-items: center; gap: .55rem; min-height: 44px; padding: .35rem .45rem; border-radius: 5px; color: var(--body); font-size: .89rem; }
  .operations-mobile-links a[aria-current] { background: #e5efe3; color: var(--green); font-weight: 710; }
  .statement-table-help { display: block; margin: .45rem 0; color: var(--body); font-size: .82rem; }
}
@media (max-width: 420px) {
  .workspace-mobile-tabs a .icon { display: none; }
}
@media (max-width: 540px) {
  .photo-credit { flex-direction: column; }
  .overview-counters, .report-summary { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .overview-count:nth-child(odd), .report-summary > div:nth-child(odd) { border-left: 0; }
  .overview-count:nth-child(n+3), .report-summary > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .report-filter .field { flex: 1 1 155px; }
  .report-filter select { min-width: 0; }
  .statement-heading h2 { font-size: 1.45rem; }
  .statement-heading .button { white-space: nowrap; font-size: .8rem; padding-inline: .65rem; }
  .launch-checks .list-row { flex-direction: column; }
}

.payout-cancel { margin-top: .75rem; }

.staff-workspace .voucher-code { font-variant-numeric: tabular-nums; }
