/* SOUNDO — product foundations and shared components. */
:root {
  color-scheme: dark;
  --s-bg: #121125;
  --s-surface: #1c1a35;
  --s-surface-2: #24213f;
  --s-surface-3: #2b2748;
  --s-text: #f6f4ff;
  --s-muted: #b4b0cb;
  --s-dim: #8e89aa;
  --s-line: #34314f;
  --s-purple: #8566f5;
  --s-lavender: #b5a4ff;
  --s-primary: #7858e3;
  --s-success: #9fe2c3;
  --s-error: #ffb0be;
  --s-radius: 12px;
  --s-content: 1248px;
  /* Existing connected account / message components share these tokens. */
  --paper: var(--s-bg);
  --surface: var(--s-surface);
  --surface-2: var(--s-surface-2);
  --ink: var(--s-text);
  --muted: var(--s-muted);
  --subtle: var(--s-dim);
  --line: var(--s-line);
  --accent: var(--s-lavender);
  --accent-strong: var(--s-purple);
  --dark: #100e20;
  --shadow-soft: 0 20px 56px rgba(0, 0, 0, .16);
}
html { scroll-behavior: smooth; scrollbar-color: #4b426e var(--s-bg); }
body { margin: 0; background: var(--s-bg); color: var(--s-text); font: 14px/1.6 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; -webkit-font-smoothing: antialiased; }
button, input, textarea, select { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
a { color: inherit; }
button { color: inherit; }
button:not(:disabled), summary, label[for] { cursor: pointer; }
button:disabled, .s-btn:disabled { opacity: .46; cursor: not-allowed; transform: none !important; box-shadow: none !important; }
:where(button, a, input, textarea, select, summary):focus-visible { outline: 2px solid var(--s-lavender); outline-offset: 4px; }
:where(input, textarea, select):focus-visible { outline-offset: 2px; }
::selection { color: #fff; background: #6750bd; }
[hidden] { display: none !important; }
.s-shell { min-height: 100vh; padding-bottom: 104px; }
.s-header { height: 80px; position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(180,176,203,.13); background: rgba(18,17,37,.94); backdrop-filter: blur(18px); }
.s-header-inner { width: min(var(--s-content), calc(100% - 96px)); height: 100%; margin: auto; display: flex; align-items: center; gap: 44px; }
.s-brand { display: inline-flex; align-items: center; flex: 0 0 auto; color: var(--s-text); text-decoration: none; }
.s-brand img { width: 150px; height: 35px; object-fit: contain; }
.s-brand svg { width: 150px; height: 35px; }
.s-nav { display: flex; align-items: center; gap: 25px; height: 100%; flex: 1; }
.s-nav a, .s-nav button { display: inline-flex; align-items: center; position: relative; min-height: 44px; padding: 4px 0; border: 0; background: none; text-decoration: none; color: var(--s-muted); font-size: 12px; font-weight: 500; white-space: nowrap; transition: color .16s; }
.s-nav a:hover, .s-nav button:hover, .s-nav .active, .s-nav [aria-current="page"] { color: var(--s-text); }
.s-nav .active::after, .s-nav [aria-current="page"]::after { content: ''; position: absolute; width: 18px; height: 2px; border-radius: 2px; background: var(--s-lavender); bottom: -17px; left: calc(50% - 9px); }
.s-tools { margin-left: auto; display: flex; gap: 9px; align-items: center; }
.s-tools button { flex: 0 0 auto; }
.s-tools .s-avatar { width: 34px; height: 34px; }
.s-account-menu { position: relative; }
.s-account-menu > summary { list-style: none; }
.s-account-menu > summary::-webkit-details-marker { display: none; }
.s-account-menu[open] > summary { color: var(--s-lavender); }
.s-account-menu nav, .s-dropdown { position: absolute; right: 0; top: calc(100% + 12px); z-index: 70; min-width: 218px; padding: 8px; border: 1px solid var(--s-line); border-radius: 12px; background: #211e38; box-shadow: 0 18px 50px rgba(0,0,0,.25); animation: s-reveal .15s ease-out; }
.s-account-menu nav a, .s-account-menu nav button, .s-dropdown a, .s-dropdown button { display: flex; width: 100%; align-items: center; gap: 10px; min-height: 40px; text-align: left; padding: 8px 12px; border: 0; border-radius: 6px; background: none; text-decoration: none; color: var(--s-muted); font-size: 13px; }
.s-account-menu nav a:hover, .s-account-menu nav button:hover, .s-dropdown a:hover, .s-dropdown button:hover { background: #302a4e; color: var(--s-text); }
.s-main { width: min(var(--s-content), calc(100% - 96px)); margin: auto; min-height: 58vh; }
.s-main > .page-shell { padding-top: 46px; }
.s-hero { display: grid; grid-template-columns: 1.04fr 1fr; align-items: center; gap: 80px; padding: 76px 0 72px; }
.s-hero-copy { max-width: 570px; }
.s-kicker { display: inline-flex; gap: 9px; align-items: center; color: var(--s-lavender); font-size: 10px; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; }
.s-kicker::before { content: ''; width: 5px; height: 5px; border-radius: 2px; background: currentColor; }
.s-hero h1 { font-size: clamp(40px, 4.35vw, 62px); font-weight: 550; line-height: 1.08; letter-spacing: -.055em; margin: 22px 0 22px; max-width: 550px; }
.s-hero h1 em { color: var(--s-lavender); font-style: normal; }
.s-hero-copy > p { max-width: 435px; margin: 0; color: var(--s-muted); font-size: 15px; line-height: 1.8; }
.s-hero .s-actions { margin-top: 30px; }
.s-hero-note { display: flex; gap: 8px; align-items: center; color: var(--s-dim); margin-top: 22px; font-size: 11px; }
.s-hero-note svg { width: 14px; height: 14px; }
.s-search-panel { border: 1px solid #40365e; background: linear-gradient(135deg, #25203e, #1c1a35 70%); border-radius: 18px; padding: 28px; box-shadow: 0 20px 50px rgba(0,0,0,.12); }
.s-search-panel h2 { margin: 0 0 8px; font-size: 19px; line-height: 1.4; font-weight: 550; letter-spacing: -.03em; }
.s-search-panel > p { margin: 0 0 20px; color: var(--s-muted); font-size: 12px; }
.s-search-panel .s-btn-primary { width: 100%; margin-top: 16px; }
.s-search-panel .s-note { margin-top: 14px; font-size: 10px; }
.s-tabs { display: flex; gap: 3px; padding: 4px; border-radius: 9px; background: rgba(12,10,27,.46); margin: 20px 0; }
.s-tabs button { flex: 1; min-height: 35px; border: 0; background: none; color: var(--s-muted); border-radius: 6px; font-size: 11px; font-weight: 500; transition: background .16s, color .16s; }
.s-tabs button:hover { color: var(--s-text); background: rgba(181,164,255,.05); }
.s-tabs button.active, .s-tabs button[aria-selected="true"] { background: #3a3158; color: #e8e0ff; box-shadow: 0 2px 6px rgba(0,0,0,.08); }
.s-btn { min-height: 44px; padding: 10px 18px; border: 1px solid var(--s-line); border-radius: 9px; background: var(--s-surface-2); color: var(--s-text); display: inline-flex; align-items: center; justify-content: center; gap: 9px; text-align: center; font-size: 12px; font-weight: 600; line-height: 1.4; white-space: nowrap; text-decoration: none; transition: background .16s, border-color .16s, transform .16s; }
.s-btn:hover { background: #30294b; border-color: #635080; transform: translateY(-1px); }
.s-btn:active { transform: translateY(0); background: #393054; }
.s-btn svg { width: 17px; height: 17px; flex: 0 0 auto; }
.s-btn-primary { color: #fff; background: var(--s-primary); border-color: var(--s-primary); }
.s-btn-primary:hover { background: #8665e9; border-color: #9378ef; }
.s-btn-primary:active { background: #6948d1; }
.s-btn-ghost { color: var(--s-muted); background: transparent; border-color: transparent; }
.s-btn-ghost:hover { background: #242039; border-color: transparent; color: var(--s-text); }
.s-btn-small { min-height: 36px; padding: 7px 12px; font-size: 11px; }
.s-btn-danger { color: var(--s-error); background: #372235; border-color: #603448; }
.s-btn-icon { width: 42px; height: 42px; padding: 0; }
.s-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.s-actions-between { justify-content: space-between; }
.s-link { padding: 8px 0; display: inline-flex; align-items: center; gap: 8px; color: var(--s-lavender); font-size: 12px; text-decoration: none; }
.s-link:hover { color: #ded5ff; }
.s-link svg { width: 15px; height: 15px; }
.s-section { padding: 48px 0; border-top: 1px solid rgba(180,176,203,.13); }
.s-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 25px; }
.s-section-head h2 { margin: 0 0 7px; font-size: clamp(22px, 2.3vw, 29px); font-weight: 550; letter-spacing: -.035em; line-height: 1.25; }
.s-section-head p { margin: 0; color: var(--s-muted); font-size: 12px; }
.s-page-head { display: flex; justify-content: space-between; gap: 30px; align-items: flex-end; padding: 48px 0 32px; }
.s-page-head h1 { margin: 13px 0 12px; font-weight: 550; font-size: clamp(28px, 3.7vw, 44px); letter-spacing: -.045em; line-height: 1.15; }
.s-page-head p { color: var(--s-muted); max-width: 600px; font-size: 13px; margin: 0; }
.s-page-head .s-actions { flex: 0 0 auto; }
.s-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 28px 22px; }
.s-grid-2 { grid-template-columns: repeat(2,minmax(0,1fr)); }
.s-grid-3 { grid-template-columns: repeat(3,minmax(0,1fr)); }
.s-beat { min-width: 0; position: relative; }
.s-cover { width: 100%; aspect-ratio: 1; position: relative; overflow: hidden; border-radius: 12px; background: #28243d; isolation: isolate; }
.s-cover > img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.s-beat:hover .s-cover > img { transform: scale(1.025); }
.s-cover-fallback { width: 100%; height: 100%; display: grid; place-items: center; background: linear-gradient(145deg, #302846, #201d31); }
.s-cover-fallback img, .s-cover-fallback svg { width: 24%; height: 24%; object-fit: contain; opacity: .7; }
.s-cover > button, .s-cover .s-play { position: absolute; right: 12px; bottom: 12px; width: 43px; height: 43px; padding: 0; border: 0; border-radius: 50%; background: #f0ebff; color: #272039; display: grid; place-items: center; box-shadow: 0 5px 18px rgba(0,0,0,.18); transition: background .16s, transform .16s; }
.s-cover > button:hover, .s-cover .s-play:hover { transform: scale(1.06); background: #c9baff; }
.s-cover button svg { width: 18px; height: 18px; }
.s-cover .s-save { top: 10px; right: 10px; bottom: auto; width: 34px; height: 34px; color: #fff; background: rgba(18,15,33,.65); box-shadow: none; border: 1px solid rgba(255,255,255,.1); }
.s-cover .s-save.active { color: #d0baff; background: #3c2e59; }
.s-beat-info { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding-top: 13px; }
.s-beat-info h3 { font-size: 13px; font-weight: 550; margin: 0 0 3px; line-height: 1.5; overflow-wrap: anywhere; }
.s-beat-info h3 a { text-decoration: none; }
.s-beat-info h3 a:hover { color: var(--s-lavender); }
.s-beat-info p { font-size: 11px; color: var(--s-muted); margin: 0; }
.s-price { font-size: 12px; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.s-price small { display: block; font-size: 9px; font-weight: 400; color: var(--s-dim); text-align: right; }
.s-tags { display: flex; gap: 7px; flex-wrap: wrap; align-items: center; margin-top: 10px; }
.s-tags span, .s-tag { display: inline-flex; align-items: center; padding: 3px 8px; background: #242137; border: 1px solid #353047; border-radius: 5px; color: #b7b2ce; font-size: 10px; line-height: 1.4; }
.s-beat .s-tags { gap: 6px; color: var(--s-dim); font-size: 10px; }
.s-beat .s-tags span { padding: 0; border: 0; border-radius: 0; background: none; color: inherit; }
.s-beat .s-tags span + span::before { content: '·'; margin-right: 6px; }
.s-card { padding: 23px; background: var(--s-surface); border: 1px solid var(--s-line); border-radius: var(--s-radius); min-width: 0; }
.s-card h2, .s-card h3 { margin: 0 0 10px; letter-spacing: -.02em; font-weight: 550; }
.s-card h2 { font-size: 20px; }
.s-card h3 { font-size: 15px; }
.s-card p { margin: 0 0 12px; color: var(--s-muted); font-size: 12px; }
.s-card > :last-child { margin-bottom: 0; }
.s-editorial { display: grid; grid-template-columns: .8fr 1.2fr; gap: 50px; align-items: center; padding: 42px 0; }
.s-editorial h2 { font-size: 31px; line-height: 1.2; letter-spacing: -.04em; font-weight: 550; margin: 15px 0; }
.s-editorial p { color: var(--s-muted); font-size: 13px; max-width: 400px; }
.s-producer { display: flex; align-items: center; gap: 15px; padding: 19px 0; border-bottom: 1px solid var(--s-line); min-width: 0; }
.s-producer .s-avatar { width: 60px; height: 60px; }
.s-producer h3 { margin: 0 0 3px; font-size: 14px; font-weight: 550; }
.s-producer p { margin: 0; font-size: 11px; color: var(--s-muted); }
.s-producer .s-btn { margin-left: auto; }
.s-avatar { display: grid; place-items: center; border-radius: 50%; object-fit: cover; overflow: hidden; background: #332b4c; color: #d8ccff; font-size: 20px; flex: 0 0 auto; width: 44px; height: 44px; }
.s-avatar img { width: 100%; height: 100%; object-fit: cover; }
.s-avatar svg { width: 45%; height: 45%; }
.s-profile .s-banner { height: 210px; border-radius: 16px; background: #252039; object-fit: cover; width: 100%; overflow: hidden; margin-top: 32px; }
.s-banner img { width: 100%; height: 100%; object-fit: cover; }
.s-profile-head { position: relative; display: flex; gap: 28px; align-items: flex-start; padding: 0 22px 30px; }
.s-profile-head > .s-avatar { width: 132px; height: 132px; margin-top: -44px; border: 5px solid var(--s-bg); }
.s-profile-copy { padding-top: 23px; min-width: 0; flex: 1; }
.s-profile h1 { margin: 0 0 5px; font-size: 30px; font-weight: 550; letter-spacing: -.035em; line-height: 1.25; }
.s-profile-copy > p { max-width: 630px; margin: 10px 0; color: var(--s-muted); font-size: 13px; }
.s-profile-head .s-actions { padding-top: 25px; margin-left: auto; }
.s-profile-socials { display: flex; gap: 16px; font-size: 12px; color: var(--s-lavender); flex-wrap: wrap; }
.s-layout { display: grid; grid-template-columns: minmax(0,1fr) 340px; gap: 40px; padding: 36px 0 55px; align-items: start; }
.s-layout .s-layout-main { min-width: 0; }
.s-sidebar { border: 1px solid var(--s-line); border-radius: 12px; padding: 24px; background: var(--s-surface); position: sticky; top: 106px; }
.s-sidebar h2, .s-panel h2 { font-size: 18px; font-weight: 550; margin: 0 0 12px; letter-spacing: -.025em; }
.s-sidebar p { font-size: 12px; color: var(--s-muted); }
.s-sidebar > .s-btn { width: 100%; margin-top: 16px; }
.s-panel { padding: 25px; background: var(--s-surface); border: 1px solid var(--s-line); border-radius: 12px; min-width: 0; margin-bottom: 20px; }
.s-panel > :last-child { margin-bottom: 0; }
.s-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 20px; }
.s-panel-head h2 { margin: 0; }
.s-form { display: grid; gap: 20px; }
.s-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px 18px; }
.s-field { display: grid; gap: 7px; min-width: 0; }
.s-field > label, .s-field > span, .s-field > legend { color: #d9d5ed; font-size: 12px; font-weight: 500; }
.s-field small, .s-note { font-size: 11px; color: var(--s-muted); line-height: 1.65; }
.s-field.full, .s-full { grid-column: 1 / -1; }
.s-field input, .s-field select, .s-field textarea, .s-search-panel input, .s-search-panel textarea, .s-filter-grid input, .s-filter-grid select { border: 1px solid #49415f; border-radius: 8px; width: 100%; min-height: 44px; padding: 10px 12px; background: #171428; color: var(--s-text); font-size: 12px; box-shadow: none; min-width: 0; transition: border-color .16s, background .16s; }
.s-field input::placeholder, .s-field textarea::placeholder, .s-search-panel input::placeholder, .s-search-panel textarea::placeholder { color: #8e87a6; opacity: 1; }
.s-field input:hover, .s-field select:hover, .s-field textarea:hover { border-color: #64577d; }
.s-field input:focus, .s-field textarea:focus, .s-field select:focus, .s-search-panel input:focus, .s-search-panel textarea:focus { border-color: #a68be9; outline: 2px solid rgba(181,164,255,.22); outline-offset: 0; }
.s-field textarea, .s-search-panel textarea { min-height: 112px; resize: vertical; line-height: 1.7; }
.s-field input[type="checkbox"], .s-field input[type="radio"] { width: 17px; min-height: 17px; margin: 0; accent-color: #9a7eee; }
.s-field input[type="file"] { padding: 9px; line-height: 1.6; }
.s-field input[type="file"]::file-selector-button { border: 0; border-radius: 5px; background: #393050; color: #e9e2ff; padding: 5px 10px; font: inherit; margin-right: 11px; cursor: pointer; }
.s-check { display: flex; align-items: flex-start; gap: 9px; color: var(--s-muted); font-size: 12px; }
.s-check input { margin-top: 4px; flex: 0 0 auto; }
.s-upload { padding: 22px; border: 1px dashed #65547f; border-radius: 10px; background: rgba(34,29,52,.75); display: grid; gap: 10px; text-align: center; place-items: center; }
.s-upload svg { width: 22px; height: 22px; color: var(--s-lavender); }
.s-upload strong { display: block; font-size: 12px; font-weight: 500; }
.s-upload input[type="file"] { display: block; max-width: 100%; text-align: left; }
.s-upload.drag-over { background: #322749; border-color: var(--s-lavender); }
.s-upload-status { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 14px; background: #28213e; border: 1px solid #453756; border-radius: 8px; color: #d9ccf7; font-size: 11px; }
.s-upload-status p { margin: 0; }
.s-progress { height: 4px; overflow: hidden; border-radius: 4px; background: #39314d; width: 100%; }
.s-progress span, .s-progress i { display: block; height: 100%; border-radius: inherit; background: #b5a4ff; transition: width .2s linear; }
progress.s-progress { border: 0; appearance: none; }
progress.s-progress::-webkit-progress-bar { background: #39314d; border-radius: 4px; }
progress.s-progress::-webkit-progress-value { background: #b5a4ff; border-radius: 4px; }
.s-license { border: 1px solid var(--s-line); border-radius: 10px; padding: 18px; background: #211c35; margin: 12px 0; transition: border-color .16s, background .16s; }
.s-license.active, .s-license:has(input:checked) { border-color: #9372d5; background: #2b2241; }
.s-license-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.s-license h3 { margin: 0; font-size: 14px; font-weight: 550; }
.s-license p, .s-license li { font-size: 11px; color: var(--s-muted); }
.s-license ul { margin: 12px 0 0; padding-left: 17px; }
.s-license input[type="checkbox"], .s-license input[type="radio"] { accent-color: #a68be9; width: 17px; height: 17px; }
.s-license .s-form-grid { margin-top: 17px; }
.s-status { display: inline-flex; align-items: center; gap: 6px; font-size: 10px; color: #c9b7fa; border: 1px solid #52416e; border-radius: 5px; padding: 3px 7px; background: #30253f; white-space: nowrap; text-transform: capitalize; }
.s-status.open, .s-status.published, .s-status.paid, .s-status.accepted { color: #b4ebd0; background: #20392f; border-color: #345945; }
.s-status.pending, .s-status.draft, .s-status.reviewing { color: #e5cea8; background: #362f2a; border-color: #5b4d3d; }
.s-status.failed, .s-status.cancelled, .s-status.declined { color: #ffc1ca; background: #3b2532; border-color: #633b48; }
.s-table-wrap { width: 100%; overflow-x: auto; }
.s-table { border-collapse: collapse; width: 100%; text-align: left; font-size: 12px; }
.s-table th { color: var(--s-dim); font-size: 9px; font-weight: 500; letter-spacing: .09em; text-transform: uppercase; padding: 14px 13px; border-bottom: 1px solid var(--s-line); white-space: nowrap; }
.s-table td { border-bottom: 1px solid #322c45; padding: 16px 13px; color: var(--s-muted); }
.s-table tr:last-child td { border-bottom: 0; }
.s-table td:first-child { color: var(--s-text); }
.s-table .s-actions { flex-wrap: nowrap; gap: 5px; }
.s-table-product { display: flex; gap: 12px; align-items: center; }
.s-table-product img { width: 42px; height: 42px; object-fit: cover; border-radius: 6px; }
.s-table-product strong { display: block; font-weight: 500; }
.s-stat-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; margin: 25px 0; }
.s-stat { border-top: 1px solid #4a3d61; padding: 20px 0 12px; }
.s-stat small { font-size: 11px; color: var(--s-muted); }
.s-stat strong { display: block; margin: 8px 0; font-weight: 550; letter-spacing: -.035em; font-size: 29px; font-variant-numeric: tabular-nums; line-height: 1.25; }
.s-stat p { color: var(--s-dim); font-size: 10px; }
.s-empty { text-align: center; padding: 54px 25px; border: 1px dashed #3e3653; border-radius: 12px; background: rgba(32,28,48,.45); color: var(--s-muted); }
.s-empty > svg, .s-empty > img { width: 36px; height: 36px; color: var(--s-lavender); margin: 0 auto 16px; opacity: .9; }
.s-empty h2, .s-empty h3 { color: #e7e1fa; font-size: 17px; font-weight: 500; letter-spacing: -.02em; margin: 0 0 8px; }
.s-empty p { margin: 0 auto 20px; max-width: 420px; color: var(--s-muted); font-size: 12px; }
.s-empty .s-actions { justify-content: center; }
.s-empty.compact { padding: 28px 20px; }
.s-error, .s-success, .s-warning { border-radius: 8px; padding: 12px 15px; font-size: 12px; line-height: 1.7; border: 1px solid #664152; color: var(--s-error); background: #352132; }
.s-success { color: #b6ecd1; border-color: #3b5a4c; background: #1e342d; }
.s-warning { color: #edcf98; border-color: #594a37; background: #342e25; }
.s-error:empty { display: none; }
.s-notice { display: flex; align-items: flex-start; gap: 10px; margin: 16px 0; padding: 14px 16px; background: #242039; border-radius: 8px; color: var(--s-muted); font-size: 11px; }
.s-notice svg { width: 17px; height: 17px; flex: 0 0 auto; color: var(--s-lavender); margin-top: 2px; }
.s-filter-grid { display: grid; grid-template-columns: minmax(170px,1.6fr) repeat(3,minmax(100px,1fr)); gap: 12px; padding: 16px 0 26px; align-items: end; }
.s-filter-grid label { font-size: 10px; color: var(--s-muted); display: grid; gap: 6px; }
.s-filter-grid input, .s-filter-grid select { min-height: 40px; font-size: 11px; padding: 8px 11px; }
.s-filter-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding-bottom: 20px; }
.s-result-count { color: var(--s-dim); font-size: 11px; margin: 0 0 22px; }
.s-dashboard { display: grid; grid-template-columns: 188px minmax(0,1fr); gap: 38px; padding-bottom: 50px; }
.s-dashboard-nav { display: grid; align-content: start; gap: 5px; position: sticky; top: 108px; }
.s-dashboard-nav button, .s-dashboard-nav a { text-align: left; min-height: 42px; padding: 10px 14px; border: 1px solid transparent; background: none; color: var(--s-muted); border-radius: 8px; display: flex; align-items: center; gap: 11px; font-size: 12px; text-decoration: none; }
.s-dashboard-nav button svg, .s-dashboard-nav a svg { width: 17px; height: 17px; }
.s-dashboard-nav button:hover, .s-dashboard-nav a:hover { color: var(--s-text); background: #211c33; }
.s-dashboard-nav .active { color: #e6dcff; border-color: #49385f; background: #2a203e; }
.s-dashboard-body { min-width: 0; }
.s-dashboard-body > h2 { font-size: 21px; font-weight: 550; letter-spacing: -.03em; margin: 0 0 20px; }
.s-dashboard-body .s-form { max-width: 800px; }
.s-match { max-width: 520px; margin: 0 auto 50px; }
.s-match .s-cover { border-radius: 15px 15px 0 0; }
.s-match-info { background: var(--s-surface); padding: 24px; border-radius: 0 0 15px 15px; border: 1px solid var(--s-line); border-top: 0; }
.s-match-info h2 { font-size: 24px; letter-spacing: -.04em; font-weight: 550; margin: 0 0 5px; }
.s-match-info p { margin: 0; color: var(--s-muted); font-size: 13px; }
.s-match-controls { display: flex; justify-content: center; gap: 14px; margin: 24px 0 16px; }
.s-match-controls .s-btn { min-width: 135px; }
.s-match-note { text-align: center; color: var(--s-dim); font-size: 11px; }
.s-match .s-cover > button { width: 56px; height: 56px; right: 22px; bottom: 22px; }
.s-opportunity { display: flex; gap: 22px; align-items: flex-start; padding: 26px 0; border-bottom: 1px solid var(--s-line); }
.s-opportunity:first-child { padding-top: 0; }
.s-opportunity-main { flex: 1; min-width: 0; }
.s-opportunity h2, .s-opportunity h3 { margin: 0 0 8px; font-size: 18px; font-weight: 550; letter-spacing: -.025em; }
.s-opportunity h2 a, .s-opportunity h3 a { text-decoration: none; }
.s-opportunity h2 a:hover, .s-opportunity h3 a:hover { color: var(--s-lavender); }
.s-opportunity p { margin: 0; color: var(--s-muted); font-size: 12px; max-width: 650px; }
.s-opportunity-meta { display: flex; flex-wrap: wrap; gap: 12px; color: var(--s-dim); font-size: 10px; margin-top: 14px; }
.s-opportunity-budget { text-align: right; white-space: nowrap; }
.s-opportunity-budget strong { font-size: 19px; font-weight: 550; letter-spacing: -.03em; }
.s-opportunity-budget small { display: block; color: var(--s-dim); font-size: 10px; }
.s-reading { max-width: 720px; padding: 40px 0 65px; }
.s-reading h1 { font-size: 38px; letter-spacing: -.04em; font-weight: 550; }
.s-reading h2 { font-size: 20px; margin-top: 32px; font-weight: 550; }
.s-reading p, .s-reading li { color: var(--s-muted); font-size: 13px; line-height: 1.9; }
.s-footer { margin-top: 30px; padding: 40px max(48px, calc((100vw - var(--s-content)) / 2)) 32px; border-top: 1px solid rgba(180,176,203,.13); display: grid; grid-template-columns: 1fr auto; gap: 30px; }
.s-footer .s-brand img { width: 130px; }
.s-footer p { margin: 12px 0 0; font-size: 11px; color: var(--s-dim); }
.s-footer nav { display: flex; align-items: flex-start; flex-wrap: wrap; gap: 16px 22px; max-width: 600px; }
.s-footer a:not(.s-brand), .s-footer button { color: var(--s-muted); font-size: 11px; min-height: 30px; padding: 3px 0; border: 0; background: none; text-decoration: none; }
.s-footer a:hover, .s-footer button:hover { color: var(--s-lavender); }
.s-footer small { grid-column: 1 / -1; font-size: 10px; color: var(--s-dim); }
.s-mobile-nav { display: none; }
.s-player { position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; min-height: 80px; background: rgba(28,24,43,.98); border-top: 1px solid #4a3a60; backdrop-filter: blur(16px); padding: 13px 32px; display: grid; grid-template-columns: minmax(140px,1fr) minmax(250px,1.2fr) minmax(140px,1fr); gap: 26px; align-items: center; }
.s-player-track { display: flex; align-items: center; gap: 13px; min-width: 0; }
.s-player-track img { width: 46px; height: 46px; border-radius: 7px; object-fit: cover; }
.s-player-track strong { display: block; font-size: 12px; font-weight: 550; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; }
.s-player-track small { display: block; font-size: 10px; color: var(--s-muted); }
.s-player-controls { display: flex; gap: 14px; align-items: center; }
.s-player .s-btn-icon { width: 36px; height: 36px; min-height: 36px; border-radius: 50%; }
.s-player-progress { display: flex; gap: 10px; align-items: center; flex: 1; min-width: 0; }
.s-player time, .s-player-progress > span { font-size: 10px; font-variant-numeric: tabular-nums; color: var(--s-muted); }
.s-player input[type="range"], .audio-dock input[type="range"] { accent-color: #b5a4ff; height: 3px; width: 100%; cursor: pointer; min-width: 30px; }
.s-player-extra { display: flex; align-items: center; gap: 15px; justify-content: flex-end; }
.s-player-extra input { max-width: 85px; }
.s-player-extra svg { width: 18px; height: 18px; }
.s-skeleton { background: linear-gradient(100deg,#211d34 20%,#2c2542 45%,#211d34 70%); background-size: 240% 100%; animation: s-skeleton 1.8s linear infinite; border-radius: 8px; }
.s-skeleton.s-cover { background-color: #211d34; }
.s-skeleton-line { height: 13px; margin-top: 12px; width: 70%; }
.s-skeleton-line.short { width: 45%; height: 10px; }
.s-toast { position: fixed; bottom: 106px; left: 50%; transform: translateX(-50%); z-index: 130; border: 1px solid #5c4878; border-radius: 9px; padding: 12px 18px; background: #2c2341; color: #f0e7ff; box-shadow: 0 10px 32px rgba(0,0,0,.2); font-size: 12px; max-width: min(90vw,520px); }
.s-badge-count { display: inline-grid; place-items: center; min-width: 16px; height: 16px; border-radius: 8px; background: #b5a4ff; color: #1b132a; font-size: 9px; font-weight: 700; }
.s-divider { height: 1px; border: 0; background: var(--s-line); margin: 25px 0; }
.s-mono { font-variant-numeric: tabular-nums; }
.s-muted { color: var(--s-muted); }
.s-truncate { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.s-visually-hidden { 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; }
/* Existing functional account, conversation, playback and modal UI. */
.btn { border-radius: 8px; min-height: 42px; font: 600 12px/1.5 Inter,ui-sans-serif,system-ui,sans-serif; }
.btn-primary, .btn-dark { background: var(--s-primary); color: #fff; border-color: var(--s-primary); }
.btn-primary:hover, .btn-dark:hover { color: #fff; background: #8665e9; box-shadow: none; }
.btn-outline { color: #ddd6f4; border-color: #514661; background: #251f38; }
.btn-outline:hover { color: #fff; background: #332a49; border-color: #7c659d; }
.btn-ghost { color: var(--s-muted); }
.btn-ghost:hover { color: #fff; background: #30273f; }
.icon-button { color: var(--s-muted); border-radius: 9px; min-width: 36px; }
.icon-button:hover { color: #eee6ff; background: #372b4c; }
.icon-button.is-fav, .is-fav { color: #c8afff; }
.modal-backdrop { background: rgba(8,7,18,.72); backdrop-filter: blur(8px); }
.modal { background: #211b35; color: var(--s-text); border: 1px solid #4b3c60; border-radius: 16px; box-shadow: 0 26px 100px rgba(0,0,0,.3); max-height: calc(100dvh - 48px); overflow: auto; }
.modal h2 { font: 550 27px/1.2 Inter,ui-sans-serif,system-ui,sans-serif; letter-spacing: -.04em; }
.modal > p, .modal .license-note { color: var(--s-muted); font-size: 12px; }
.modal-form .form-field span, .modal-form label, .auth-form .form-field label, .profile-settings-form .form-field label, .form-field label { color: #d8d1e9; font-size: 12px; }
.modal-form input, .modal-form select, .modal-form textarea, .form-field input, .form-field select, .form-field textarea, .profile-settings-form input, .profile-settings-form select, .profile-settings-form textarea { background: #171325; color: var(--s-text); border: 1px solid #514462; border-radius: 8px; min-height: 44px; padding: 10px 12px; font-size: 12px; }
.form-field input[type="checkbox"], .form-field input[type="radio"], .profile-settings-form .form-field label.filter-option input { min-height: 17px; width: 17px; accent-color: #a78ce9; }
.modal-form input::placeholder, .form-field input::placeholder, .form-field textarea::placeholder { color: #91879f; }
.auth-switch, .auth-form .form-field small, .profile-settings-form .form-field small { color: #b5a8c7; font-size: 11px; }
.auth-switch button { color: #cbb1fa; }
.auth-setup-note { background: #30263e; color: #d0bddb !important; font-size: 12px; }
.auth-success { background: #1e382f; color: #b6ebd0 !important; }
.input-error { color: var(--s-error); font-size: 12px; }
.modal-option { color: #d5c8e3; background: #282035; border-color: #4a3b5d; font-size: 12px; }
.modal-option:hover, .modal-option.selected { background: #3d2c53; border-color: #9476bd; color: #efe3ff; }
.toast { color: #f0e7ff; background: #342841; border: 1px solid #705486; font-size: 12px; }
.eyebrow { color: var(--s-lavender); font-family: Inter,ui-sans-serif,system-ui,sans-serif; }
.eyebrow-dot { background: var(--s-lavender); }
.page-title, .page-heading h1 { font-family: Inter,ui-sans-serif,system-ui,sans-serif; color: var(--s-text); }
.page-heading p, .license-note, .handle, .bio { color: var(--s-muted); }
.page-shell { padding-top: 42px; }
.dash-panel, .seller-form, .stat-card { background: var(--s-surface); border-color: var(--s-line); }
.dash-title-row h2, .dash-panel h3 { color: var(--s-text); }
.dash-panel-head button { color: var(--s-lavender); }
.tag { background: #30263f; color: #c6b5de; border-color: #534062; }
.table { font-size: 12px; }
.table th { color: #a999bb; border-color: var(--s-line); }
.table td { color: var(--s-text); border-color: var(--s-line); }
.status { background: #233a31; color: #b1e6c9; }
.status.draft { background: #3b3130; color: #e5c2a1; }
.upload-audio, .dropzone, .upload-mini { background: #211a31; border-color: #68507f; color: #dac7ef; }
.upload-audio small, .dropzone small, .upload-mini small { color: #b9a6ca; font-size: 11px; }
.upload-audio.drag-over, .dropzone.drag-over, .upload-mini.drag-over { background: #382448; border-color: #c5a2ed; }
.message-layout { border-color: var(--s-line); background: var(--s-surface); min-height: 540px; }
.conversation-list, .conversation-list-head, .chat-head, .chat-compose, .participant-panel { border-color: var(--s-line); }
.conversation-list, .participant-panel { background: #1a162c; }
.conversation { background: transparent; }
.conversation:hover, .conversation.active { background: #302440; }
.conversation strong, .conversation-copy strong, .chat-head strong, .participant-panel strong { color: var(--s-text); }
.conversation-copy span, .conversation time, .chat-head small, .chat-date, .participant-panel small { color: #b5a6c6; font-size: 11px; }
.chat-head strong { font-size: 13px; }
.chat-panel { background: #211a31; border-color: var(--s-line); }
.chat-messages { background: #1c172b; }
.bubble { background: #34293f; color: #e5d9ef; font-size: 12px; line-height: 1.7; }
.bubble.mine { background: #50366d; color: #fff; }
.bubble time { color: #c4b2d4; font-size: 9px; }
.shared-beat { background: #231a31; color: #efe6f8; border-color: #59416e; }
.shared-beat small { color: #b7a5c7; }
.chat-compose input { color: var(--s-text); background: #171123; border-color: #4c3a5e; min-height: 44px; font-size: 12px; }
.chat-compose input::placeholder { color: #aa95b9; }
.chat-compose input:focus { border-color: var(--s-lavender); }
.public-profile-placeholder { background: #2c223a; color: #c5b1d7; }
.community-card { background: var(--s-surface); border-color: var(--s-line); }
.community-handle, .community-bio { color: var(--s-muted); }
.audio-dock { background: rgba(27,21,40,.98); color: var(--s-text); border-top: 1px solid #4d365f; box-shadow: none; }
.dock-track-copy small, .dock-progress span { color: var(--s-muted); }
.dock-play { color: #20152b; background: #c5acf0; }
.dock-play:hover { background: #ddc7fc; }
.dock-extra .icon-button { color: #c8b5d7; }
.match-modal-art img { border-color: #211b35; box-shadow: 0 0 0 2px #9370c3; }
.empty-state { background: #1e182d; border-color: #4a385d; color: var(--s-muted); }
.empty-state h3 { color: #ece2f6; }
.empty-state p { color: var(--s-muted); }
.breadcrumbs { color: var(--s-dim); }
@keyframes s-reveal { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } }
@keyframes s-skeleton { from { background-position: 120% 0; } to { background-position: -120% 0; } }
@media (max-width: 1180px) {
  .s-header-inner, .s-main { width: calc(100% - 64px); }
  .s-header-inner { gap: 27px; }
  .s-nav { gap: 17px; }
  .s-brand img, .s-brand svg { width: 133px; }
  .s-hero { gap: 40px; padding: 62px 0; }
  .s-hero h1 { font-size: 49px; }
  .s-search-panel { padding: 23px; }
  .s-grid { gap: 26px 18px; }
  .s-footer { padding-left: 32px; padding-right: 32px; }
  .s-layout { grid-template-columns: minmax(0,1fr) 300px; gap: 28px; }
}
@media (max-width: 980px) {
  .s-header { height: 70px; }
  .s-header-inner { gap: 25px; }
  .s-nav { gap: 18px; }
  .s-nav a, .s-nav button { font-size: 11px; }
  .s-tools { gap: 5px; }
  .s-tools > .s-btn-ghost { display: none; }
  .s-hero { grid-template-columns: 1fr 1fr; gap: 32px; padding: 52px 0; }
  .s-hero h1 { font-size: 42px; }
  .s-hero-copy > p { font-size: 13px; }
  .s-search-panel { padding: 22px; }
  .s-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .s-grid-2 { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .s-profile-head { gap: 20px; padding-left: 13px; padding-right: 13px; }
  .s-profile-head > .s-avatar { width: 110px; height: 110px; }
  .s-profile-head .s-actions { flex-direction: column; align-items: stretch; padding-top: 25px; }
  .s-layout { grid-template-columns: minmax(0,1fr) 280px; gap: 22px; }
  .s-sidebar { padding: 20px; top: 90px; }
  .s-dashboard { grid-template-columns: 160px minmax(0,1fr); gap: 24px; }
  .s-footer { grid-template-columns: 1fr; gap: 24px; }
  .s-filter-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .s-filter-grid > :first-child { grid-column: 1/-1; }
}
@media (max-width: 760px) {
  .s-shell { padding-bottom: 130px; }
  .s-header { height: 66px; }
  .s-header-inner, .s-main { width: calc(100% - 40px); }
  .s-header-inner { gap: 20px; }
  .s-brand img, .s-brand svg { width: 140px; height: 32px; }
  .s-header .s-nav { display: none; }
  .s-tools .s-btn { min-height: 38px; padding: 8px 12px; font-size: 11px; }
  .s-tools .s-btn-icon { padding: 0; width: 38px; }
  .s-hero { display: grid; grid-template-columns: 1fr; gap: 32px; padding: 38px 0 40px; }
  .s-hero-copy { max-width: 620px; }
  .s-hero h1 { margin-top: 18px; font-size: clamp(39px,7.5vw,52px); max-width: 540px; }
  .s-hero-copy > p { font-size: 14px; max-width: 470px; }
  .s-hero .s-actions { margin-top: 22px; }
  .s-hero-note { margin-top: 17px; }
  .s-search-panel { max-width: none; padding: 24px; }
  .s-section { padding: 34px 0; }
  .s-section-head { gap: 15px; margin-bottom: 22px; align-items: flex-start; }
  .s-section-head h2 { font-size: 23px; }
  .s-section-head p { font-size: 11px; max-width: 320px; }
  .s-section-head .s-link { padding-top: 4px; font-size: 11px; }
  .s-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 25px 15px; }
  .s-grid-3 { grid-template-columns: 1fr; }
  .s-card { padding: 20px; }
  .s-beat-info { padding-top: 11px; gap: 8px; }
  .s-beat-info h3 { font-size: 12px; }
  .s-beat-info p { font-size: 10px; }
  .s-price { font-size: 11px; }
  .s-cover { border-radius: 9px; }
  .s-cover > button, .s-cover .s-play { width: 40px; height: 40px; right: 9px; bottom: 9px; }
  .s-cover .s-save { width: 32px; height: 32px; top: 8px; right: 8px; }
  .s-editorial { grid-template-columns: 1fr; gap: 12px; padding: 15px 0; }
  .s-editorial h2 { font-size: 28px; }
  .s-page-head { padding: 32px 0 25px; align-items: flex-start; flex-direction: column; gap: 20px; }
  .s-page-head h1 { font-size: 33px; }
  .s-page-head p { font-size: 12px; }
  .s-page-head .s-actions { width: 100%; }
  .s-layout { grid-template-columns: 1fr; gap: 24px; padding-top: 22px; }
  .s-sidebar { position: static; }
  .s-profile .s-banner { height: 155px; margin-top: 22px; border-radius: 12px; }
  .s-profile-head { flex-wrap: wrap; gap: 15px; padding-left: 13px; padding-right: 13px; padding-bottom: 20px; }
  .s-profile-head > .s-avatar { width: 92px; height: 92px; margin-top: -34px; border-width: 4px; }
  .s-profile-copy { padding-top: 14px; }
  .s-profile h1 { font-size: 25px; }
  .s-profile-head .s-actions { width: 100%; padding-top: 0; margin-left: 0; flex-direction: row; }
  .s-profile-copy > p { font-size: 12px; }
  .s-form-grid { gap: 18px 15px; }
  .s-panel { padding: 20px; }
  .s-filter-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .s-dashboard { grid-template-columns: 1fr; gap: 22px; }
  .s-dashboard-nav { position: static; display: flex; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 10px; gap: 7px; margin-right: -20px; padding-right: 20px; border-bottom: 1px solid var(--s-line); scrollbar-width: thin; }
  .s-dashboard-nav button, .s-dashboard-nav a { white-space: nowrap; padding: 9px 13px; min-height: 40px; font-size: 11px; flex: 0 0 auto; }
  .s-dashboard-nav button svg, .s-dashboard-nav a svg { display: none; }
  .s-stat-grid { gap: 14px; margin-top: 18px; }
  .s-stat strong { font-size: 24px; }
  .s-stat small { font-size: 10px; }
  .s-opportunity { gap: 16px; padding: 23px 0; }
  .s-opportunity h2, .s-opportunity h3 { font-size: 16px; }
  .s-opportunity p { font-size: 11px; }
  .s-opportunity-budget strong { font-size: 17px; }
  .s-match { max-width: 440px; }
  .s-match-info { padding: 20px; }
  .s-match-info h2 { font-size: 23px; }
  .s-match-controls { gap: 12px; }
  .s-match-controls .s-btn { min-width: 130px; }
  .s-footer { padding: 32px 20px 35px; margin-top: 15px; }
  .s-footer nav { gap: 13px 22px; }
  .s-mobile-nav { display: flex; align-items: center; justify-content: space-around; position: fixed; bottom: 0; left: 0; right: 0; z-index: 75; min-height: 62px; padding: 7px 10px max(7px,env(safe-area-inset-bottom)); background: #171225; border-top: 1px solid #3b2f4e; }
  .s-mobile-nav button, .s-mobile-nav a { min-height: 44px; min-width: 49px; display: grid; place-items: center; gap: 3px; padding: 4px; color: #a99aba; border: 0; background: none; text-decoration: none; font-size: 9px; line-height: 1.3; }
  .s-mobile-nav svg { width: 19px; height: 19px; }
  .s-mobile-nav .active, .s-mobile-nav [aria-current="page"] { color: #d0b9ff; }
  .s-player { bottom: 62px; min-height: 67px; padding: 10px 15px; grid-template-columns: minmax(0,1fr) 125px; gap: 14px; }
  .s-player-track { gap: 10px; }
  .s-player-track img { width: 39px; height: 39px; }
  .s-player-track strong { font-size: 11px; max-width: calc(100vw - 235px); }
  .s-player-controls { gap: 10px; justify-content: flex-end; }
  .s-player-progress { display: none; }
  .s-player-extra { display: none; }
  .s-player .s-btn-icon { width: 38px; height: 38px; min-height: 38px; }
  .s-toast, .toast { bottom: 146px; }
  .s-reading { padding-top: 24px; }
  .s-reading h1 { font-size: 31px; }
  .audio-dock { bottom: 62px; min-height: 67px; padding: 10px 15px; border-top-color: #4a365e; }
  .audio-dock .dock-extra { display: none; }
  .page-shell { padding-top: 28px; }
  .modal-backdrop { padding: 15px; }
  .modal { max-height: calc(100dvh - 30px); padding: 24px 20px; }
  .modal h2 { font-size: 25px; }
  .message-layout { min-height: 580px; }
  .chat-panel { background: #211a31; }
  .chat-messages { padding: 18px 14px; }
  .chat-head { min-height: 65px; }
  .chat-compose { padding: 12px 10px; }
  .chat-compose .icon-button { min-width: 36px; min-height: 40px; }
  .chat-compose input { min-width: 0; }
  .profile-settings-form .seller-form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .s-header-inner, .s-main { width: calc(100% - 32px); }
  .s-brand img, .s-brand svg { width: 125px; }
  .s-tools .s-btn { padding: 8px 10px; }
  .s-tools .s-btn-icon { padding: 0; }
  .s-hero h1 { font-size: 39px; }
  .s-search-panel { padding: 20px; }
  .s-grid { gap: 22px 12px; }
  .s-beat-info { flex-direction: column; gap: 5px; }
  .s-price small { display: inline; margin-right: 4px; }
  .s-tags { gap: 5px; }
  .s-beat .s-tags { font-size: 9px; }
  .s-section-head { flex-direction: column; gap: 7px; }
  .s-section-head .s-link { padding: 0; }
  .s-form-grid { grid-template-columns: 1fr; }
  .s-filter-grid { gap: 11px; }
  .s-stat-grid { grid-template-columns: 1fr; gap: 2px; }
  .s-stat { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 15px 0; }
  .s-stat strong { font-size: 23px; margin: 0; }
  .s-stat p { display: none; }
  .s-opportunity { flex-direction: column; gap: 13px; }
  .s-opportunity-budget { text-align: left; }
  .s-opportunity-budget small { display: inline; margin-left: 6px; }
  .s-upload { padding: 17px; }
  .s-panel { padding: 18px; }
  .s-dashboard-nav { margin-right: -16px; padding-right: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .s-beat:hover .s-cover > img, .s-btn:hover, .btn:hover { transform: none; }
}

/* Product-layer markup adapters (shared services render into these layouts). */
.s-app { min-height: 100vh; padding-bottom: 85px; }
.s-app svg { width: 18px; height: 18px; flex-shrink: 0; vertical-align: middle; }
.s-app .s-empty > svg { width: 34px; height: 34px; }
.s-app .s-cover-fallback > svg { width: 38px; height: 38px; }
.s-app .public-profile-placeholder > svg { width: 40px; height: 40px; }
.s-app .s-main > .s-empty { margin-top: 42px; }
.s-header-inner { position: relative; }
.s-account { width: 35px; height: 35px; padding: 0; display: grid; place-items: center; border-radius: 50%; border: 1px solid #65507e; color: #ddcafa; background: #302341; overflow: hidden; }
.s-account img { width: 100%; height: 100%; object-fit: cover; }
.s-account:hover { background: #4a335f; border-color: var(--s-lavender); }
.s-menu-button { display: none; }
.s-tools .icon-button { position: relative; }
.s-dot { display: block; position: absolute; width: 5px; height: 5px; border-radius: 50%; background: #d5b7ff; right: 7px; top: 7px; }
nav.s-account-menu { position: absolute; display: grid; gap: 1px; top: calc(100% - 2px); right: 0; width: 235px; max-height: calc(100dvh - 104px); overflow-y: auto; z-index: 80; padding: 9px; background: #241c36; border: 1px solid #554065; border-radius: 11px; box-shadow: 0 20px 60px rgba(0,0,0,.28); animation: s-reveal .16s ease-out; }
nav.s-account-menu > a, nav.s-account-menu > button { display: flex; align-items: center; min-height: 38px; padding: 7px 12px; color: #cab7d9; background: none; border: 0; border-radius: 6px; font-size: 12px; text-align: left; text-decoration: none; }
nav.s-account-menu > a:hover, nav.s-account-menu > button:hover { color: #fff; background: #3d2a51; }
nav.s-account-menu > hr { height: 1px; width: calc(100% - 20px); margin: 6px auto; border: 0; background: #4b365d; }
.s-page-head { display: block; max-width: 950px; }
.s-page-head > .s-kicker { margin-bottom: 2px; }
.s-page-head > h1 { margin-top: 13px; }
.s-page-head > p { max-width: 610px; }
.s-page-head > .s-actions { margin-top: 20px; }
.s-hero h1 > span { color: var(--s-lavender); }
.s-hero-note > span { width: 5px; height: 5px; border-radius: 50%; background: var(--s-lavender); }
.s-disclosure { color: var(--s-muted); font-size: 10px; line-height: 1.8; margin: 13px 0 0; }
.s-search-panel > .s-kicker { font-size: 8px; letter-spacing: .12em; margin-bottom: 17px; }
.s-search-panel form { display: grid; gap: 0; }
.s-search-panel form > small { display: block; font-size: 10px; line-height: 1.7; color: var(--s-muted); margin-top: 12px; }
.s-search-panel form input[type="file"] { max-width: 100%; padding: 12px; font-size: 11px; line-height: 1.8; }
.s-search-panel input[type="file"]::file-selector-button { padding: 6px 9px; color: #e6d8f6; background: #443052; border: 0; border-radius: 5px; font: inherit; margin-right: 8px; }
.s-search-panel .s-tabs { margin-top: 5px; }
.s-search-panel .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.s-title { padding: 0; text-align: left; border: 0; background: transparent; color: var(--s-text); font-size: 13px; line-height: 1.55; font-weight: 550; cursor: pointer; overflow-wrap: anywhere; }
.s-title:hover { color: var(--s-lavender); }
.s-beat-info > div { min-width: 0; }
.s-beat-info > div > a { display: block; color: var(--s-muted); font-size: 11px; line-height: 1.55; margin-top: 3px; }
.s-beat-info > div > a:hover { color: #d2c0e5; }
.s-beat-info > strong { white-space: nowrap; font-size: 12px; font-weight: 550; font-variant-numeric: tabular-nums; padding-top: 2px; }
.s-cover-fallback { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 18px; padding: 28px; }
.s-cover-fallback > span { color: #b5a3c7; max-width: 85%; text-align: center; font-size: 10px; letter-spacing: .04em; line-height: 1.6; }
.s-cover-fallback > img { max-width: 62px; max-height: 62px; width: 25%; height: auto; object-fit: contain; }
.s-cover-play { opacity: 1; }
.s-beat > .s-save { margin-top: 8px; min-height: 30px; display: inline-flex; align-items: center; gap: 6px; border: 0; padding: 2px 0; color: var(--s-dim); background: transparent; font-size: 10px; }
.s-beat > .s-save:hover { color: var(--s-lavender); }
.s-beat > .s-save svg { width: 13px; height: 13px; }
.s-producer-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 26px; }
.s-producer-grid > .s-empty { grid-column: 1/-1; }
.s-producer-grid .s-producer { display: block; text-decoration: none; border-bottom: 0; padding: 5px 0; }
.s-producer-grid .s-producer > img, .s-producer-grid .s-producer > .s-avatar { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; margin-bottom: 18px; background: #342442; transition: outline-color .16s; outline: 3px solid transparent; outline-offset: 4px; }
.s-producer-grid .s-producer:hover > img, .s-producer-grid .s-producer:hover > .s-avatar { outline-color: #735293; }
.s-producer-grid .s-producer h3 { color: var(--s-text); margin-bottom: 4px; font-size: 14px; }
.s-producer-grid .s-producer p { margin: 0; font-size: 11px; }
.s-producer-grid .s-producer .s-tags { margin-top: 11px; }
.s-sell-banner { margin: 35px 0 15px; padding: 48px 50px; border-radius: 15px; border: 1px solid #4d3a65; background: #251c36; display: grid; grid-template-columns: 1fr auto; gap: 0 50px; align-items: center; }
.s-sell-banner > .s-kicker { grid-column: 1/-1; }
.s-sell-banner h2 { font-size: clamp(28px,3.6vw,43px); line-height: 1.14; letter-spacing: -.045em; font-weight: 550; margin: 18px 0; grid-column: 1; }
.s-sell-banner p { color: #bdb0cc; max-width: 510px; font-size: 12px; margin: 0; grid-column: 1; }
.s-sell-banner > .s-btn { grid-column: 2; grid-row: 2/4; }
.s-detail-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(340px,.78fr); gap: 72px; align-items: start; padding: 44px 0 30px; }
.s-detail-layout > section { min-width: 0; max-width: 600px; }
.s-detail-layout > section > .s-cover { max-width: 480px; }
.s-detail-layout h1 { font-size: clamp(28px,3.5vw,43px); font-weight: 550; line-height: 1.2; letter-spacing: -.04em; margin: 25px 0 8px; overflow-wrap: anywhere; }
.s-detail-layout > section > p { color: var(--s-muted); font-size: 12px; line-height: 1.85; }
.s-detail-layout > section > p > .s-link { padding: 0; }
.s-detail-actions { display: flex; gap: 10px; margin-top: 18px; }
.s-description { margin: 26px 0 18px; max-width: 530px; white-space: pre-wrap; overflow-wrap: anywhere; }
.s-facts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; margin: 25px 0; }
.s-facts dt { color: var(--s-dim); font-size: 10px; }
.s-facts dd { color: var(--s-text); font-size: 12px; margin: 4px 0 0; }
.s-purchase { position: sticky; top: 108px; padding: 28px; }
.s-purchase > h2 { margin-top: 13px; font-size: 23px; }
.s-purchase > .s-license { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px; text-align: left; color: #e5d7f6; padding: 17px 15px; }
.s-purchase > .s-license span { font-size: 13px; font-weight: 500; }
.s-purchase > .s-license small { display: block; color: #aa98bd; font-size: 10px; font-weight: 400; margin-top: 5px; line-height: 1.5; }
.s-purchase > .s-license strong { font-size: 14px; white-space: nowrap; }
.s-purchase > .s-license:hover { border-color: #8d65b0; }
.s-purchase > .s-license.active { border-color: #b18ed6; background: #3c2850; }
.s-license-terms { border-top: 1px solid #4b355e; margin-top: 24px; padding-top: 21px; }
.s-license-terms h3 { color: #e3d3ef; font-size: 12px; margin: 0 0 12px; font-weight: 600; }
.s-license-terms p { font-size: 11px; color: var(--s-muted); line-height: 1.85; }
.s-total { font-size: 30px; font-weight: 550; display: block; margin: 25px 0 16px; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.s-purchase > .s-btn-primary { width: 100%; }
.s-preserve { white-space: pre-wrap; overflow-wrap: anywhere; }
.s-main .s-layout > .s-panel h3 { font-size: 14px; font-weight: 550; margin: 25px 0 8px; }
.s-main .s-layout > .s-panel > p { color: var(--s-muted); font-size: 12px; line-height: 1.85; }
.s-main .s-layout > aside > .s-btn { margin-top: 15px; }
.s-search-row { display: flex; align-items: flex-end; gap: 12px; max-width: 740px; margin: 0 0 32px; }
.s-search-row > .s-field { flex: 1; }
.s-ai-layout { display: grid; grid-template-columns: 1.2fr .8fr; gap: 30px; align-items: start; margin-bottom: 40px; }
.s-ai-layout .s-search-panel { max-width: none; }
.s-ai-layout > .s-panel { padding: 28px; background: transparent; border: 0; }
.s-ai-layout > .s-panel h3 { font-size: 18px; font-weight: 550; }
.s-ai-layout > .s-panel p { color: var(--s-muted); font-size: 12px; line-height: 1.85; }
.s-upload-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; margin-bottom: 0; }
.s-upload-field { display: grid; gap: 13px; align-content: start; min-width: 0; border: 1px dashed #655076; border-radius: 10px; padding: 18px 15px; background: #261d35; }
.s-upload-field > span { font-size: 11px; font-weight: 500; color: #d7c3e9; display: flex; align-items: center; gap: 8px; }
.s-upload-field > small { color: #ae9bbb; font-size: 9px; line-height: 1.65; }
.s-upload-field input[type="file"] { display: block; width: 100%; max-width: 100%; overflow: hidden; color: #bba5cb; font-size: 10px; padding: 0; border: 0; border-radius: 0; background: none; min-height: 32px; line-height: 1.6; }
.s-upload-field input[type="file"]::file-selector-button { padding: 6px 8px; background: #473052; color: #f1dffa; border: 0; border-radius: 5px; font: inherit; margin-right: 8px; cursor: pointer; }
.s-upload-field:focus-within { border-color: var(--s-lavender); }
.s-upload-status { display: grid; grid-template-columns: minmax(0,1fr) 115px; }
.s-upload-status > div { overflow-wrap: anywhere; min-width: 0; }
.s-upload-status strong { text-transform: capitalize; margin-right: 6px; font-weight: 550; }
.s-upload-status > div > span { display: block; font-size: 10px; color: #a58ab9; margin-top: 3px; text-transform: capitalize; }
.s-upload-status progress { width: 100%; height: 4px; border: 0; appearance: none; border-radius: 4px; overflow: hidden; accent-color: #b5a4ff; }
.s-upload-status progress::-webkit-progress-bar { background: #48324e; }
.s-upload-status progress::-webkit-progress-value { background: #b5a4ff; }
.s-upload-status progress::-moz-progress-bar { background: #b5a4ff; }
.s-upload-status .s-error { grid-column: 1/-1; margin: 0; }
[data-upload-tasks] { display: grid; gap: 10px; }
[data-upload-tasks]:empty { display: none; }
form.s-form.s-panel { max-width: 960px; margin-top: 24px; padding: 28px; }
.s-form > h2 { font-size: 22px; margin: 8px 0 -12px; font-weight: 550; letter-spacing: -.03em; }
.s-form > h2 + p { font-size: 12px; color: var(--s-muted); margin: 0; }
.s-license-editor { border-top: 1px solid #4a3558; padding: 0; }
.s-license-editor + .s-license-editor { margin-top: -20px; }
.s-license-editor > summary { min-height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 20px; list-style: none; font-size: 13px; color: #ead7f5; }
.s-license-editor > summary::-webkit-details-marker { display: none; }
.s-license-editor > summary > label { display: flex; align-items: center; gap: 11px; font-weight: 550; cursor: pointer; }
.s-license-editor > summary > span { color: #a58ab6; font-size: 10px; display: flex; gap: 10px; align-items: center; }
.s-license-editor > summary > span::after { content: '+'; color: #ceb4df; font-size: 17px; font-weight: 400; }
.s-license-editor[open] > summary > span::after { content: '−'; }
.s-license-editor > .s-form-grid { padding: 0 0 20px; }
.s-license-editor > .s-disclosure { margin: -3px 0 22px; }
.s-license-editor .s-field > label { display: flex; align-items: center; justify-content: flex-start; gap: 10px; color: #bba4cb; font-size: 11px; font-weight: 400; min-height: 25px; }
.s-license-editor .s-field > label > input { flex: 0 0 auto; }
.s-license-editor input[type="checkbox"], .s-rights input[type="checkbox"], [data-s-form="profile"] input[type="checkbox"] { accent-color: #ac8cdd; width: 17px; height: 17px; margin: 0; flex: 0 0 auto; }
.s-rights { display: flex; gap: 11px; align-items: flex-start; color: #c5afd4; font-size: 11px; line-height: 1.8; padding: 16px; background: #30213c; border-radius: 8px; }
.s-rights input { margin-top: 3px !important; }
[data-s-form="profile"] > label:not(.s-field) { display: flex; gap: 10px; align-items: flex-start; color: var(--s-muted); font-size: 12px; }
[data-s-form="profile"] > .s-btn { justify-self: start; }
.s-opportunity-list { display: grid; }
.s-opportunity-list > .s-card { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 32px; border: 0; border-bottom: 1px solid #3d2d48; border-radius: 0; background: transparent; padding: 26px 0; }
.s-opportunity-list > .s-card:first-child { padding-top: 4px; }
.s-opportunity-list > .s-card:last-child { border-bottom: 0; padding-bottom: 0; }
.s-opportunity-list h3 { font-size: 17px; margin: 10px 0; }
.s-opportunity-list h3 a { text-decoration: none; }
.s-opportunity-list h3 a:hover { color: var(--s-lavender); }
.s-opportunity-list p { max-width: 660px; font-size: 12px; line-height: 1.8; }
.s-opportunity-list aside { text-align: right; min-width: 160px; }
.s-opportunity-list aside > strong { display: block; font-size: 22px; font-weight: 550; letter-spacing: -.03em; line-height: 1.3; margin-top: 25px; }
.s-opportunity-list aside > small { display: block; color: var(--s-dim); font-size: 10px; margin: 7px 0; }
.s-opportunity-list aside > .s-btn { padding-right: 0; margin-right: -4px; }
.s-section > .s-card, .s-dashboard-body > article.s-card { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; margin-bottom: 12px; }
.s-section > .s-card > div:first-child, .s-dashboard-body > article.s-card > div:first-child { min-width: 0; flex: 1; }
.s-section > .s-card aside > strong { display: block; font-size: 19px; font-weight: 550; margin-bottom: 18px; text-align: right; }
.s-unread { border-left: 3px solid #ba91eb; }
.s-profile-heading { display: flex; gap: 25px; align-items: flex-start; padding: 0 22px 15px; }
.s-profile-heading > .s-avatar { width: 124px; height: 124px; margin-top: -43px; border: 5px solid var(--s-bg); }
.s-profile-heading > div:nth-child(2) { flex: 1; padding-top: 23px; min-width: 0; }
.s-profile-heading h1 { font-size: 30px; font-weight: 550; letter-spacing: -.04em; margin: 0 0 8px; }
.s-profile-heading p { margin: 0; color: var(--s-muted); font-size: 11px; }
.s-profile-heading > .s-actions { padding-top: 23px; }
.s-bio { white-space: pre-wrap; max-width: 750px; margin: 10px 0 20px 22px; color: #bda9ce; font-size: 13px; line-height: 1.85; }
.s-profile > .s-tags, .s-profile > .s-muted, .s-profile > .s-actions { margin-left: 22px; }
.s-profile > .s-actions { margin-top: 15px; margin-bottom: 25px; }
.s-match { max-width: 470px; border: 1px solid #4b335e; border-radius: 15px; overflow: hidden; background: #22182f; }
.s-match-copy { padding: 25px; }
.s-match-copy > .s-kicker { font-size: 9px; }
.s-match-copy > h2 { font-size: 25px; line-height: 1.3; font-weight: 550; letter-spacing: -.04em; margin: 14px 0 0; }
.s-match-copy > .s-link { margin-top: 2px; padding-top: 5px; padding-bottom: 5px; font-size: 12px; }
.s-match-copy > p { color: var(--s-muted); font-size: 12px; line-height: 1.8; margin: 20px 0; }
.s-match-copy > .s-actions { justify-content: space-between; gap: 8px; }
.s-match-copy > .s-actions .s-btn { flex: 1; padding: 10px 12px; }
.s-match-copy > small { color: var(--s-dim); font-size: 9px; line-height: 1.8; display: block; margin-top: 20px; text-align: center; }
.s-match + .s-panel { background: transparent; border: 0; border-top: 1px solid var(--s-line); border-radius: 0; padding: 28px 0 0; max-width: 600px; margin: 0 auto 40px; text-align: center; }
.s-match + .s-panel h3 { font-size: 14px; font-weight: 550; }
.s-match + .s-panel p { color: var(--s-muted); font-size: 11px; line-height: 1.8; }
.s-dashboard { padding-top: 25px; }
.s-dashboard-nav { padding-top: 24px; }
.s-dashboard-nav [aria-current="page"] { color: #e6dcff; border-color: #49385f; background: #2a203e; }
.s-dashboard-body > .s-page-head { padding-top: 24px; }
.s-dashboard .s-stat-grid > .s-panel { padding: 20px 0; margin: 0; border: 0; border-top: 1px solid #58406a; border-radius: 0; background: transparent; }
.s-stat-grid > .s-panel > span { color: var(--s-muted); font-size: 11px; }
.s-stat-grid > .s-panel > strong { display: block; font-size: 33px; font-weight: 550; line-height: 1.3; margin-top: 11px; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.s-stat-grid > .s-panel > p { font-size: 11px; line-height: 1.9; color: var(--s-muted); margin-top: 12px; }
.s-table .mini-cover { display: inline-grid; vertical-align: middle; width: 40px; height: 40px; object-fit: cover; background: #3b284b; border-radius: 6px; margin-right: 9px; place-items: center; }
.s-table .mini-cover img { width: 40px; height: 40px; object-fit: cover; border-radius: inherit; }
.s-table .s-title { font-size: 12px; vertical-align: middle; }
.s-table .s-btn { min-height: 36px; font-size: 11px; }
.s-table td { vertical-align: middle; }
.s-table td:first-child { min-width: 190px; }
.s-grid > .s-empty { grid-column: 1/-1; }
.s-policy { margin-top: 44px; max-width: 800px; padding: 32px; background: transparent; border: 0; }
.s-policy h1 { font-size: 35px; font-weight: 550; letter-spacing: -.04em; line-height: 1.2; margin: 19px 0 25px; }
.s-policy > p { color: var(--s-muted); font-size: 14px; line-height: 1.95; }
.s-policy .s-form { margin-top: 30px; }
.s-confirmation { max-width: 750px; margin: 60px auto; padding: 40px; text-align: center; }
.s-confirmation h1 { font-size: 36px; font-weight: 550; letter-spacing: -.04em; margin: 20px 0; }
.s-confirmation > p { color: var(--s-muted); font-size: 13px; line-height: 1.85; margin-bottom: 26px; }
.s-confirmation > .s-btn { margin: 4px; }
.s-skeleton-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 22px; }
.s-skeleton-grid i { aspect-ratio: 1; border-radius: 11px; background: linear-gradient(100deg,#211d34 20%,#2c2542 45%,#211d34 70%); background-size: 240% 100%; animation: s-skeleton 1.8s linear infinite; }
.s-auth-page { width: min(480px,100%); margin: 45px auto; }
.s-auth-page h1 { font-size: 32px; font-weight: 550; letter-spacing: -.04em; }
.s-preserve { line-height: 1.85; }
@media (min-width: 761px) {
  .s-main .s-filter-grid:has([name="minBpm"]) { grid-template-columns: repeat(6,minmax(0,1fr)); row-gap: 16px; }
  .s-main .s-filter-grid:has([name="minBpm"]) > .s-field:first-child { grid-column: span 2; }
  .s-main .s-filter-grid:has([name="minBpm"]) > .s-field:nth-child(9) { grid-column: span 2; }
  .s-main .s-filter-grid[data-s-form="match-filters"] { max-width: 680px; grid-template-columns: 1fr 1fr auto; margin: 0 auto 20px; }
  .s-main .s-filter-grid[data-s-form="match-filters"] > :first-child { grid-column: auto; }
}
@media (max-width: 980px) {
  .s-detail-layout { grid-template-columns: minmax(0,1fr) 330px; gap: 32px; }
  .s-purchase { padding: 23px; }
  .s-upload-grid { grid-template-columns: 1fr; }
  .s-upload-field { grid-template-columns: 1fr 1.2fr; align-items: center; gap: 9px 16px; }
  .s-upload-field > small { grid-column: 1; }
  .s-upload-field > input { grid-column: 2; grid-row: 1/3; }
  .s-producer-grid { gap: 20px; }
  .s-producer-grid .s-producer > img, .s-producer-grid .s-producer > .s-avatar { width: 74px; height: 74px; }
  .s-profile-heading { gap: 19px; }
  .s-profile-heading > .s-actions { flex-direction: column; align-items: stretch; }
}
@media (max-width: 760px) {
  .s-app { padding-bottom: 80px; }
  .s-header-inner { position: relative; }
  .s-tools > .s-btn-ghost { display: none; }
  .s-tools > .s-btn-primary { min-width: 38px; padding: 8px 11px; }
  .s-menu-button { display: grid; }
  nav.s-account-menu { top: calc(100% - 1px); right: -4px; width: min(340px,calc(100vw - 32px)); max-height: calc(100dvh - 90px); padding: 12px; border-radius: 11px; }
  nav.s-account-menu > a, nav.s-account-menu > button { min-height: 42px; font-size: 13px; }
  .s-page-head { padding-top: 32px; }
  .s-producer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 26px 20px; }
  .s-producer-grid .s-producer > img, .s-producer-grid .s-producer > .s-avatar { width: 76px; height: 76px; margin-bottom: 16px; }
  .s-sell-banner { display: block; padding: 30px 25px; margin-top: 18px; }
  .s-sell-banner h2 { font-size: 32px; }
  .s-sell-banner p { font-size: 12px; }
  .s-sell-banner > .s-btn { margin-top: 24px; }
  .s-detail-layout { grid-template-columns: 1fr; gap: 30px; padding-top: 26px; }
  .s-detail-layout > section { max-width: none; }
  .s-detail-layout > section > .s-cover { max-width: 440px; margin: 0 auto; }
  .s-detail-layout h1 { font-size: 32px; }
  .s-purchase { position: static; padding: 23px; }
  .s-purchase > h2 { font-size: 23px; }
  .s-ai-layout { grid-template-columns: 1fr; gap: 5px; }
  .s-ai-layout > .s-panel { padding: 23px 0; }
  .s-search-row { align-items: flex-end; gap: 10px; }
  .s-search-row > .s-btn { padding-left: 15px; padding-right: 15px; }
  form.s-form.s-panel { padding: 22px; }
  .s-upload-field { display: grid; grid-template-columns: 1fr; gap: 10px; padding: 17px; }
  .s-upload-field > small, .s-upload-field > input { grid-column: auto; grid-row: auto; }
  .s-upload-status { grid-template-columns: minmax(0,1fr) 75px; font-size: 10px; padding: 12px; }
  .s-license-editor > summary { gap: 12px; min-height: 63px; }
  .s-license-editor > summary > span { font-size: 9px; }
  .s-license-editor > summary > label { font-size: 12px; }
  .s-opportunity-list > .s-card { gap: 20px; padding: 23px 0; grid-template-columns: minmax(0,1fr) 130px; }
  .s-opportunity-list h3 { font-size: 16px; }
  .s-opportunity-list aside { min-width: 0; }
  .s-opportunity-list aside > strong { font-size: 20px; }
  .s-opportunity-list aside > small { font-size: 9px; }
  .s-section > .s-card, .s-dashboard-body > article.s-card { flex-direction: column; gap: 17px; }
  .s-section > .s-card aside > strong { text-align: left; }
  .s-profile-heading { flex-wrap: wrap; gap: 16px; padding-left: 10px; padding-right: 10px; }
  .s-profile-heading > .s-avatar { width: 92px; height: 92px; margin-top: -32px; border-width: 4px; }
  .s-profile-heading > div:nth-child(2) { padding-top: 15px; }
  .s-profile-heading h1 { font-size: 26px; }
  .s-profile-heading p { font-size: 10px; }
  .s-profile-heading > .s-actions { flex-direction: row; width: 100%; padding-top: 0; }
  .s-bio { margin-left: 10px; margin-top: 7px; font-size: 12px; }
  .s-profile > .s-tags, .s-profile > .s-muted, .s-profile > .s-actions { margin-left: 10px; }
  .s-match-copy { padding: 22px; }
  .s-match-copy > h2 { font-size: 24px; }
  .s-match-copy > .s-actions { gap: 7px; }
  .s-match-copy > .s-actions .s-btn { font-size: 11px; padding: 10px 10px; }
  .s-dashboard { padding-top: 17px; }
  .s-dashboard-nav { padding-top: 0; }
  .s-dashboard-body > .s-page-head { padding-top: 0; }
  .s-stat-grid > .s-panel > strong { font-size: 28px; }
  .s-policy { padding: 15px 0; margin-top: 28px; }
  .s-policy h1 { font-size: 30px; }
  .s-policy > p { font-size: 13px; }
  .s-confirmation { margin: 35px auto; padding: 28px 22px; }
  .s-confirmation h1 { font-size: 30px; }
  .s-skeleton-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
  /* This layout uses the accessible header menu; no bottom nav is rendered. */
  .s-app .audio-dock { bottom: 0; }
  .s-app .toast { bottom: 90px; }
}
@media (max-width: 420px) {
  .s-header-inner { gap: 10px; }
  .s-tools { gap: 4px; }
  .s-tools .icon-button { min-width: 32px; width: 32px; }
  .s-account { width: 32px; height: 32px; }
  .s-tools > .s-btn-primary { font-size: 10px; padding: 8px 9px; }
  .s-tools > .s-btn-primary svg { display: none; }
  .s-header .s-brand img { width: 117px; }
  .s-beat-info > strong { font-size: 11px; }
  .s-upload-grid { gap: 12px; }
  form.s-form.s-panel { padding: 18px; }
  .s-license-editor > summary > span { font-size: 0; gap: 0; }
  .s-license-editor > summary > span::after { font-size: 19px; }
  .s-license-editor > .s-form-grid { grid-template-columns: 1fr; gap: 18px; }
  .s-opportunity-list > .s-card { grid-template-columns: 1fr; gap: 8px; }
  .s-opportunity-list aside { display: flex; flex-wrap: wrap; align-items: center; gap: 0 12px; text-align: left; }
  .s-opportunity-list aside > strong { margin-top: 4px; font-size: 19px; }
  .s-opportunity-list aside > .s-btn { margin-left: auto; }
  .s-match-copy > .s-actions { flex-wrap: wrap; }
  .s-match-copy > .s-actions .s-btn { min-width: 80px; }
  .s-dashboard .s-stat-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
  .s-dashboard .s-stat-grid > .s-panel { display: block; padding: 15px 0; }
  .s-dashboard .s-stat-grid > .s-panel > span { font-size: 9px; }
  .s-dashboard .s-stat-grid > .s-panel > strong { font-size: 24px; margin-top: 10px; }
}
.s-beat-info > div > a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.s-profile-heading p { overflow-wrap: anywhere; }
@media (max-width: 420px) {
  .s-tools > .icon-button:first-child { display: none; }
}

.s-skip{position:fixed;left:12px;top:-100px;z-index:1000;background:var(--s-lavender);color:#121125;padding:12px 18px;border-radius:8px}.s-skip:focus{top:12px}.s-app{min-height:100vh;padding-bottom:80px}.s-error{color:#ffb0be}.s-beat-info strong{white-space:nowrap}

.s-app .breadcrumbs{display:none}.s-app .dock-controls{gap:10px}.s-app .dock-controls>.icon-button{width:30px;min-width:30px;min-height:36px}.s-app .s-facts dt{color:var(--s-dim)}.s-app .s-facts dd{margin:0;overflow-wrap:anywhere}
@media(max-width:760px){.s-app .dock-controls>.icon-button{display:none}.s-app .dock-track{min-width:0}.s-app .dock-track .s-title{max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.s-app .s-facts{grid-template-columns:1fr 1fr}}

.s-reference-list{max-height:210px;overflow-y:auto;margin:12px 0;border-top:1px solid var(--s-border)}.s-reference-list>div{display:flex;align-items:center;justify-content:space-between;gap:8px;border-bottom:1px solid var(--s-border)}.s-reference-list .s-btn{font-size:11px;text-align:left;white-space:normal}
