.app-shell {
  min-height: 100vh;
}

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 30;
  display: flex;
  width: 248px;
  flex-direction: column;
  padding: 22px 16px;
  color: #e8f3ee;
  background: #12372b;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 44px;
  padding: 0 6px;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  color: #12372b;
  background: #bce7d3;
  border-radius: 8px;
}

.brand > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.brand strong {
  font-family: 'Fraunces', serif;
  font-size: 18px;
  line-height: 1.1;
}

.brand span span {
  font-size: 10px;
  color: #94b7a8;
  text-transform: uppercase;
}

.close-menu {
  display: none !important;
  margin-left: auto;
  color: #fff !important;
}

.studio-switch {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin: 28px 0 24px;
  padding: 10px;
  color: #eef7f3;
  text-align: left;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 7px;
  cursor: pointer;
}

.studio-switch:hover {
  background: rgba(255, 255, 255, 0.11);
}

.studio-switch img {
  width: 34px;
  height: 34px;
  object-fit: cover;
  border-radius: 5px;
}

.studio-switch span {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.studio-switch small {
  color: #91afa3;
  font-size: 10px;
  text-transform: uppercase;
}

.studio-switch strong {
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-label {
  margin: 0 11px 8px;
  color: #79988c;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.sidebar nav button,
.sidebar-bottom > button {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  min-height: 43px;
  padding: 0 12px;
  color: #adc4ba;
  background: transparent;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
}

.sidebar nav button:hover,
.sidebar-bottom > button:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
}

.sidebar nav button.active {
  color: #12372b;
  font-weight: 700;
  background: #c8eadb;
}

.sidebar nav button span,
.sidebar-bottom > button span {
  flex: 1;
  text-align: left;
}

.sidebar nav button em {
  min-width: 21px;
  padding: 2px 5px;
  color: inherit;
  font-size: 10px;
  font-style: normal;
  text-align: center;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 10px;
}

.sidebar nav button.active em {
  background: rgba(18, 55, 43, 0.1);
}

.sidebar-bottom {
  margin-top: auto;
}

.storage {
  margin: 16px 12px 21px;
}

.storage > div:first-child {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  color: #8faea2;
  font-size: 10px;
}

.storage > div:first-child strong {
  color: #c2d7ce;
  font-weight: 500;
}

.storage > div:last-child {
  height: 4px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.11);
  border-radius: 2px;
}

.storage > div:last-child span {
  display: block;
  height: 100%;
  background: #efb85f;
}

.sidebar-bottom > small {
  display: block;
  padding: 14px 12px 0;
  color: #698c7d;
  font-size: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.workspace {
  min-width: 0;
  margin-left: 248px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  height: 70px;
  align-items: center;
  gap: 18px;
  padding: 0 30px;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.menu-button,
.mobile-brand {
  display: none !important;
}

.global-search {
  display: flex;
  width: min(480px, 45vw);
  height: 40px;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  color: var(--muted);
  background: #f3f6f4;
  border: 1px solid transparent;
  border-radius: 6px;
}

.global-search:focus-within {
  background: #fff;
  border-color: #9dcab7;
  box-shadow: 0 0 0 3px rgba(25, 116, 81, 0.08);
}

.global-search input {
  min-width: 0;
  flex: 1;
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: 0;
}

.global-search input::placeholder {
  color: #9aa59f;
}

.global-search kbd {
  padding: 2px 6px;
  color: #839087;
  font: 10px 'DM Sans', sans-serif;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.mode-pill,
.profile-button {
  display: flex;
  height: 38px;
  align-items: center;
  gap: 7px;
  padding: 0 10px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
}

.mode-pill::before {
  width: 7px;
  height: 7px;
  content: '';
  background: var(--green);
  border-radius: 50%;
}

.profile-button {
  padding: 3px 8px 3px 4px;
  border-color: transparent;
}

.profile-button img {
  width: 31px;
  height: 31px;
  object-fit: cover;
  border-radius: 5px;
}

.profile-button span {
  font-size: 13px;
  font-weight: 600;
}

.icon-button {
  position: relative;
  display: inline-grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  padding: 0;
  place-items: center;
  color: var(--muted);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
}

.icon-button:hover {
  color: var(--ink);
  background: #f1f4f2;
}

.notification i {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 6px;
  height: 6px;
  background: var(--coral);
  border: 1px solid white;
  border-radius: 50%;
}

.topbar-menu-wrap {
  position: relative;
}

.topbar-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 60;
  width: min(360px, calc(100vw - 28px));
  overflow: hidden;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 7px;
  box-shadow: 0 22px 55px rgb(0 64 105 / 18%);
  animation: modal-in 160ms ease-out both;
}

.topbar-menu[hidden] { display: none; }

.topbar-menu header {
  display: flex;
  min-height: 66px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}

.topbar-menu header > div,
.profile-menu-head span {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.topbar-menu header span,
.profile-menu-head small {
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
}

.topbar-menu header strong { font: 700 17px 'Fraunces', serif; }

.topbar-menu header button {
  padding: 0;
  color: var(--green);
  font-size: 10px;
  font-weight: 700;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.notification-menu > a {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 68px;
  padding: 10px 14px;
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

.notification-menu > a:hover,
.profile-menu a:hover,
.profile-menu button:hover { background: var(--mint-soft); }
.notification-menu > a.is-read { opacity: 0.58; }

.notification-menu > a > span:nth-child(2) {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 2px;
}

.notification-menu strong,
.notification-menu small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.notification-menu strong { font-size: 11px; }
.notification-menu small,
.notification-menu time { color: var(--muted); font-size: 9px; }

.menu-icon {
  display: grid;
  width: 34px;
  height: 34px;
  color: var(--brand-blue);
  background: var(--brand-mint);
  border-radius: 5px;
  place-items: center;
}

.profile-menu { width: 250px; }

.profile-menu-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px;
  border-bottom: 1px solid var(--line);
}

.profile-menu-head img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 5px;
}

.profile-menu-head strong {
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-menu a,
.profile-menu form button {
  display: flex;
  width: 100%;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  color: var(--ink);
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}

.main-content {
  width: 100%;
  max-width: 1560px;
  min-height: calc(100vh - 70px);
  margin: 0 auto;
  padding: 30px clamp(22px, 2.6vw, 42px) 70px;
}

.main-content.has-player {
  padding-bottom: 120px;
}

.page-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin: 2px 0 26px;
  animation: rise-in 460ms ease-out both;
}

.page-intro h1 {
  margin: 5px 0 7px;
  font-family: 'Fraunces', serif;
  font-size: clamp(31px, 3.2vw, 45px);
  line-height: 1.05;
  letter-spacing: 0;
}

.page-intro p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.compact-intro {
  min-height: 104px;
  align-items: center;
  margin-bottom: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.compact-intro h1 {
  font-size: clamp(29px, 3vw, 40px);
}

.eyebrow {
  color: var(--green);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.primary-button,
.secondary-button,
.light-button,
.text-button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 15px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 6px;
  cursor: pointer;
}

.primary-button {
  color: #fff;
  background: var(--green);
  border: 1px solid var(--green);
  box-shadow: 0 8px 18px rgba(25, 116, 81, 0.16);
}

.primary-button:hover {
  background: #125d41;
}

.primary-button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
  box-shadow: none;
}

.secondary-button {
  color: var(--ink);
  background: #fff;
  border: 1px solid #d7dfda;
}

.secondary-button:hover {
  border-color: #9db2a8;
  background: #f9fbfa;
}

.light-button {
  color: #153329;
  background: #eefbf5;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.text-button {
  min-height: 32px;
  padding: 0;
  color: var(--green);
  background: transparent;
  border: 0;
}

.full-button {
  width: 100%;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}

.stat-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 128px;
  align-items: flex-start;
  gap: 12px;
  overflow: hidden;
  padding: 19px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  animation: rise-in 480ms ease-out both;
}

.stat-card:nth-child(2) { animation-delay: 50ms; }
.stat-card:nth-child(3) { animation-delay: 100ms; }
.stat-card:nth-child(4) { animation-delay: 150ms; }

.stat-card::after {
  position: absolute;
  right: -17px;
  bottom: -24px;
  width: 76px;
  height: 76px;
  content: '';
  border: 14px solid currentColor;
  border-radius: 50%;
  opacity: 0.07;
}

.stat-card.mint { color: var(--green); }
.stat-card.coral { color: #bb4b38; }
.stat-card.yellow { color: #a4770a; }
.stat-card.blue { color: #3f6f96; }
.stat-card.mint .stat-icon { background: var(--mint-soft); }
.stat-card.coral .stat-icon { background: var(--coral-soft); }
.stat-card.yellow .stat-icon { background: var(--yellow-soft); }
.stat-card.blue .stat-icon { background: var(--blue-soft); }

.stat-icon {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 7px;
}

.stat-card > div:last-child {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.stat-card span {
  color: var(--muted);
  font-size: 11px;
}

.stat-card strong {
  margin: 5px 0 4px;
  color: var(--ink);
  font-family: 'Fraunces', serif;
  font-size: clamp(21px, 2vw, 27px);
  line-height: 1;
  white-space: nowrap;
}

.stat-card strong small {
  color: var(--muted);
  font: 700 10px 'DM Sans', sans-serif;
}

.stat-card em {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
}

.panel {
  min-width: 0;
  padding: 21px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.panel-heading h2,
.section-heading h2 {
  margin: 3px 0 0;
  color: var(--ink);
  font-family: 'Fraunces', serif;
  font-size: 21px;
  line-height: 1.15;
  letter-spacing: 0;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(310px, 0.85fr);
  gap: 16px;
  margin-bottom: 16px;
}

.revenue-summary {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-top: 20px;
}

.revenue-summary strong {
  font-size: 22px;
}

.revenue-summary span {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--green);
  font-size: 11px;
  font-weight: 700;
}

.bar-chart {
  display: grid;
  height: 184px;
  grid-template-columns: repeat(6, 1fr);
  align-items: end;
  gap: clamp(8px, 2vw, 19px);
  margin-top: 18px;
  padding: 18px 10px 0;
  background: repeating-linear-gradient(to bottom, #edf1ee 0, #edf1ee 1px, transparent 1px, transparent 42px);
  border-bottom: 1px solid var(--line);
}

.bar-column {
  display: flex;
  height: 100%;
  flex-direction: column;
  justify-content: flex-end;
  text-align: center;
}

.bar {
  position: relative;
  min-height: 18px;
  background: #b9d8ca;
  border-radius: 4px 4px 0 0;
  transition: filter 160ms ease, transform 160ms ease;
}

.bar:hover {
  filter: saturate(1.3);
  transform: translateY(-2px);
}

.bar.active {
  background: var(--green);
}

.bar span {
  position: absolute;
  top: -19px;
  left: 50%;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  transform: translateX(-50%);
}

.bar-column small {
  margin: 8px 0 -20px;
  color: var(--muted);
  font-size: 10px;
}

.spotlight-panel {
  position: relative;
  overflow: hidden;
}

.spotlight-image {
  width: 100%;
  height: 124px;
  margin: 17px 0 13px;
  object-fit: cover;
  object-position: center 42%;
  border-radius: 6px;
  filter: saturate(0.82) contrast(1.05);
}

.spotlight-copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.spotlight-copy > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.spotlight-copy strong,
.track-copy strong,
.music-card-copy strong,
.musician-card strong,
.lover-row strong,
.person strong {
  overflow: hidden;
  color: var(--ink);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.spotlight-copy span,
.track-copy span,
.music-card-copy span,
.musician-card span,
.lover-row span,
.person span {
  overflow: hidden;
  color: var(--muted);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.solid-icon {
  color: #fff !important;
  background: var(--green) !important;
  border-radius: 50% !important;
}

.spotlight-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.spotlight-metrics span {
  display: flex;
  min-width: 0;
  flex-direction: column;
  color: var(--muted);
  font-size: 9px;
}

.spotlight-metrics strong {
  color: var(--ink);
  font-size: 14px;
}

.content-split {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(310px, 0.85fr);
  gap: 16px;
}

.track-table {
  margin-top: 13px;
}

.track-row {
  display: grid;
  grid-template-columns: 22px 42px minmax(120px, 1.25fr) 76px 82px 118px 85px 34px;
  min-height: 63px;
  align-items: center;
  gap: 10px;
  border-top: 1px solid #edf1ee;
}

.track-row.js-track-card {
  cursor: pointer;
  transition: background 150ms ease;
}

.track-row.js-track-card:hover,
.track-row.js-track-card:focus-visible {
  background: var(--mint-soft);
  outline: 0;
}

.track-index,
.track-plays,
.track-revenue,
.track-date {
  color: var(--muted);
  font-size: 10px;
  white-space: nowrap;
}

.track-revenue {
  color: var(--ink);
  font-weight: 600;
}

.track-cover-button {
  position: relative;
  width: 40px;
  height: 40px;
  overflow: hidden;
  padding: 0;
  background: #dce8e1;
  border: 0;
  border-radius: 5px;
  cursor: pointer;
}

.track-cover-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cover-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(11, 38, 29, 0.45);
  opacity: 0;
  transition: opacity 140ms ease;
}

.track-cover-button:hover .cover-play {
  opacity: 1;
}

.track-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.track-type {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
  font-size: 10px;
  text-transform: capitalize;
}

.lover-list {
  margin: 10px 0 13px;
}

.lover-row {
  display: grid;
  grid-template-columns: 39px minmax(0, 1fr) 40px;
  align-items: center;
  gap: 9px;
  min-height: 59px;
  border-bottom: 1px solid #edf1ee;
}

.lover-row img,
.person img {
  width: 36px;
  height: 36px;
  object-fit: cover;
  border-radius: 50%;
}

.lover-row > div:nth-child(2),
.person > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.progress-ring {
  --progress: 0deg;
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  background: conic-gradient(var(--green) var(--progress), #e7ece9 0);
  border-radius: 50%;
}

.progress-ring > div {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  background: #fff;
  border-radius: 50%;
}

.progress-ring span {
  margin-left: -12px;
  font-size: 9px;
}

.progress-ring.small {
  width: 34px;
  height: 34px;
}

.progress-ring.small > div {
  width: 27px;
  height: 27px;
  font-size: 9px;
}

.progress-ring.small span {
  margin-left: -5px;
  font-size: 6px;
}

.discover-hero {
  position: relative;
  height: clamp(310px, 38vw, 420px);
  min-height: 310px;
  overflow: hidden;
  margin: -30px calc(clamp(22px, 2.6vw, 42px) * -1) 30px;
}

.discover-hero::after {
  position: absolute;
  inset: 0;
  content: '';
  background: linear-gradient(90deg, rgba(7, 28, 22, 0.92) 0%, rgba(7, 28, 22, 0.68) 42%, rgba(7, 28, 22, 0.05) 78%);
}

.discover-hero > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 46%;
}

.discover-overlay {
  position: absolute;
  top: 50%;
  left: clamp(24px, 5vw, 72px);
  z-index: 2;
  max-width: 560px;
  color: #fff;
  transform: translateY(-50%);
}

.eyebrow.light {
  color: #bee8d5;
}

.discover-overlay h1 {
  margin: 8px 0 12px;
  font-family: 'Fraunces', serif;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 0.98;
  letter-spacing: 0;
}

.discover-overlay p {
  max-width: 430px;
  margin: 0 0 21px;
  color: #dceae4;
  font-size: 14px;
}

.discover-console {
  display: grid;
  min-height: 256px;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.9fr);
  margin: -30px calc(clamp(22px, 2.6vw, 42px) * -1) 0;
  color: var(--brand-paper);
  background: var(--brand-blue);
}

.discover-console-copy {
  display: flex;
  justify-content: center;
  flex-direction: column;
  padding: 38px clamp(24px, 5vw, 72px);
}

.discover-console-copy .eyebrow { color: var(--brand-mint); }

.discover-console h1 {
  margin: 7px 0 12px;
  color: var(--brand-paper);
  font: 700 clamp(38px, 4.6vw, 61px)/0.95 'Fraunces', serif;
}

.discover-console p {
  max-width: 540px;
  margin: 0;
  color: rgb(245 245 245 / 76%);
  font-size: 13px;
  line-height: 1.55;
}

.discover-console-art {
  position: relative;
  min-height: 256px;
  overflow: hidden;
}

.discover-console-art::after {
  position: absolute;
  inset: 0;
  content: '';
  background: linear-gradient(90deg, var(--brand-blue), rgb(0 64 105 / 4%) 48%);
}

.discover-console-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.discover-console-art > span {
  position: absolute;
  right: 24px;
  bottom: 22px;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  color: var(--brand-paper);
  font: 700 34px 'Fraunces', serif;
}

.discover-console-art small {
  font: 700 9px 'DM Sans', sans-serif;
  text-transform: uppercase;
}

.catalog-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin: 22px 0 26px;
  border-bottom: 1px solid var(--line);
}

.catalog-tabs {
  display: flex;
  align-self: stretch;
  gap: 4px;
}

.catalog-tabs a {
  display: flex;
  min-width: 120px;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: -1px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 3px solid transparent;
}

.catalog-tabs a:hover,
.catalog-tabs a.active {
  color: var(--brand-blue);
  border-bottom-color: var(--brand-mint);
}

.catalog-search {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 7px;
}

.catalog-search label {
  display: flex;
  width: min(330px, 32vw);
  height: 38px;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 5px;
}

.catalog-search input {
  min-width: 0;
  flex: 1;
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: 0;
}

.catalog-search button {
  height: 38px;
  padding: 0 14px;
  color: var(--brand-blue);
  font-size: 10px;
  font-weight: 700;
  background: var(--brand-mint);
  border: 1px solid var(--brand-mint);
  border-radius: 5px;
  cursor: pointer;
}

.catalog-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}

.catalog-heading h2 { margin: 4px 0 0; font: 700 24px 'Fraunces', serif; }
.catalog-heading > span { color: var(--muted); font-size: 10px; font-weight: 700; }

.catalog-empty {
  display: flex;
  min-height: 300px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  border: 1px dashed var(--line);
}

.catalog-empty h2 { margin: 12px 0 5px; font: 700 24px 'Fraunces', serif; }
.catalog-empty p { margin: 0 0 16px; color: var(--muted); font-size: 12px; }

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin: 0 0 15px;
}

.section-heading > span {
  color: var(--muted);
  font-size: 11px;
}

.music-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.music-card {
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.music-card:hover,
.music-card:focus-visible {
  transform: translateY(-3px);
  outline: 2px solid var(--brand-mint);
  outline-offset: 2px;
  box-shadow: var(--shadow);
}

.music-art {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.music-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.music-card:hover .music-art img {
  transform: scale(1.035);
}

.music-art > button {
  position: absolute;
  right: 13px;
  bottom: 13px;
  display: grid;
  width: 41px;
  height: 41px;
  place-items: center;
  color: #fff;
  background: var(--green);
  border: 0;
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(9, 44, 32, 0.3);
  cursor: pointer;
  transform: translateY(4px);
  transition: transform 160ms ease;
}

.music-card:hover .music-art > button {
  transform: translateY(0);
}

.media-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  background: rgba(10, 29, 23, 0.7);
  border-radius: 4px;
  backdrop-filter: blur(8px);
}

.music-card-copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 13px 12px 9px;
}

.music-card-copy > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.music-card-copy .release-date {
  flex: 0 0 auto;
  padding: 4px 6px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
  border: 1px solid var(--line);
  border-radius: 3px;
}

.price-line {
  display: flex;
  min-height: 35px;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  color: var(--green);
  font-size: 10px;
  font-weight: 700;
  background: #f5f8f6;
  border-top: 1px solid #edf1ee;
}

.price-line span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.price-line small {
  color: var(--muted);
}

.creator-heading {
  margin-top: 32px;
}

.musician-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.musician-card {
  display: grid;
  min-width: 0;
  grid-template-columns: 48px minmax(0, 1fr) 38px;
  align-items: center;
  gap: 10px;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 7px;
}

.musician-card > img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 6px;
}

.musician-card > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.artist-catalog {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.artist-card {
  position: relative;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 7px;
}

.artist-card > a {
  display: grid;
  min-height: 112px;
  grid-template-columns: 112px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding-right: 54px;
  color: var(--ink);
  text-decoration: none;
}

.artist-card > a:hover { background: var(--mint-soft); }

.artist-card img {
  width: 112px;
  height: 112px;
  object-fit: cover;
  border-radius: 6px 0 0 6px;
}

.artist-card a > span {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 4px;
}

.artist-card small { color: var(--muted); font-size: 9px; font-weight: 700; text-transform: uppercase; }
.artist-card strong { overflow: hidden; font: 700 20px 'Fraunces', serif; text-overflow: ellipsis; white-space: nowrap; }
.artist-card em { color: var(--muted); font-size: 10px; font-style: normal; }
.artist-card > button { position: absolute; top: 50%; right: 12px; transform: translateY(-50%); }

.catalog-pagination {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) 88px;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
}

.catalog-pagination > span { display: flex; justify-content: center; gap: 6px; }

.catalog-pagination a {
  display: inline-grid;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  place-items: center;
  color: var(--ink);
  font-size: 10px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.catalog-pagination a:hover,
.catalog-pagination a.active {
  color: var(--brand-blue);
  background: var(--brand-mint);
  border-color: var(--brand-mint);
}

.catalog-pagination a.disabled { pointer-events: none; opacity: 0.35; }

.favorite.active {
  color: #d85a45;
  background: var(--coral-soft);
}

.playlist-banner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  margin-bottom: 16px;
  padding: 18px 21px;
  color: #e9f5ef;
  background: #194638;
  border-radius: 8px;
}

.playlist-covers {
  display: flex;
  padding-left: 16px;
}

.playlist-covers img {
  width: 52px;
  height: 52px;
  margin-left: -16px;
  object-fit: cover;
  border: 3px solid #194638;
  border-radius: 6px;
}

.playlist-banner > div:nth-child(2) {
  display: flex;
  flex-direction: column;
}

.playlist-banner > div:nth-child(2) span {
  color: #92b8a8;
  font-size: 10px;
  text-transform: uppercase;
}

.playlist-banner > div:nth-child(2) strong {
  font-family: 'Fraunces', serif;
  font-size: 19px;
}

.standalone-panel {
  padding-top: 8px;
}

.filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.segmented-control {
  display: flex;
  padding: 3px;
  background: #e8eeea;
  border-radius: 6px;
}

.segmented-control button {
  display: flex;
  height: 34px;
  align-items: center;
  gap: 7px;
  padding: 0 12px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  background: transparent;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
}

.segmented-control button.active {
  color: var(--ink);
  background: #fff;
  box-shadow: 0 2px 6px rgba(34, 57, 47, 0.08);
}

.segmented-control span {
  color: var(--faint);
  font-size: 9px;
}

.audience-summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.audience-summary div {
  display: flex;
  min-height: 93px;
  flex-direction: column;
  justify-content: center;
  padding: 17px 21px;
  border-right: 1px solid var(--line);
}

.audience-summary div:last-child {
  border-right: 0;
}

.audience-summary strong {
  font-family: 'Fraunces', serif;
  font-size: 24px;
}

.audience-summary span {
  color: var(--muted);
  font-size: 10px;
}

.people-panel {
  padding: 7px 20px;
}

.people-header,
.people-row {
  display: grid;
  grid-template-columns: minmax(180px, 1.3fr) minmax(140px, 1fr) 120px 85px 110px;
  align-items: center;
  gap: 14px;
}

.people-header {
  min-height: 43px;
  color: var(--faint);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
}

.people-row {
  min-height: 68px;
  color: var(--muted);
  font-size: 11px;
  border-top: 1px solid #edf1ee;
}

.people-row > strong {
  color: var(--ink);
  font-size: 11px;
}

.person {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
}

.status {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 5px;
  padding: 5px 7px;
  font-size: 9px;
  font-weight: 700;
  border-radius: 4px;
}

.status.lover {
  color: #8a630a;
  background: var(--yellow-soft);
}

.status.follower {
  color: var(--green);
  background: var(--mint-soft);
}

.lover-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.lover-profile {
  position: relative;
  display: flex;
  min-height: 260px;
  align-items: center;
  flex-direction: column;
  padding: 25px 14px 18px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.lover-profile.qualified {
  border-top: 3px solid var(--yellow);
}

.lover-profile > img {
  width: 70px;
  height: 70px;
  margin-bottom: -17px;
  object-fit: cover;
  border: 4px solid #fff;
  border-radius: 50%;
}

.lover-profile .progress-ring {
  margin-left: 56px;
  transform: scale(0.55);
  transform-origin: center;
}

.lover-profile > strong {
  margin-top: -13px;
  font-size: 14px;
}

.lover-profile > span:not(.rank) {
  margin: 4px 0 13px;
  color: var(--muted);
  font-size: 10px;
}

.lover-profile em,
.lover-profile small {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: auto;
  padding: 6px 9px;
  color: #896408;
  font-size: 9px;
  font-style: normal;
  font-weight: 700;
  background: var(--yellow-soft);
  border-radius: 4px;
}

.lover-profile small {
  color: var(--muted);
  background: #f0f3f1;
}

.rank {
  position: absolute;
  top: 12px;
  left: 12px;
  color: var(--faint);
  font-size: 10px;
  font-weight: 700;
}

.favorite-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.favorite-artist {
  display: grid;
  grid-template-columns: 125px minmax(0, 1fr) 38px;
  align-items: center;
  gap: 18px;
  min-height: 150px;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.favorite-artist > img {
  width: 125px;
  height: 125px;
  object-fit: cover;
  border-radius: 6px;
}

.favorite-copy {
  min-width: 0;
}

.favorite-copy > span {
  color: var(--green);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
}

.favorite-copy > strong {
  display: block;
  margin: 4px 0;
  font-family: 'Fraunces', serif;
  font-size: 20px;
}

.favorite-copy p,
.favorite-copy small {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
}

.horizontal-progress {
  height: 5px;
  overflow: hidden;
  margin: 14px 0 6px;
  background: #e7ece9;
  border-radius: 3px;
}

.horizontal-progress span {
  display: block;
  height: 100%;
  background: var(--green);
  border-radius: inherit;
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.event-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.event-image {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.event-card:hover .event-image img {
  transform: scale(1.035);
}

.event-status {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 5px 8px;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  background: var(--green);
  border-radius: 4px;
}

.event-status.draft {
  color: var(--ink);
  background: #fff;
}

.event-copy {
  padding: 17px;
}

.event-copy h2 {
  margin: 5px 0 14px;
  font-family: 'Fraunces', serif;
  font-size: 20px;
  letter-spacing: 0;
}

.event-detail {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 0;
  color: var(--muted);
  font-size: 11px;
}

.event-copy .secondary-button {
  margin-top: 12px;
}

.analytics-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(280px, 0.7fr);
  gap: 16px;
  margin-bottom: 16px;
}

.wide-analytics > .panel-heading > strong {
  font-family: 'Fraunces', serif;
  font-size: 25px;
}

.line-visual {
  position: relative;
  height: 205px;
  overflow: hidden;
  margin-top: 23px;
  background: repeating-linear-gradient(to bottom, #edf1ee 0, #edf1ee 1px, transparent 1px, transparent 51px);
  border-bottom: 1px solid var(--line);
}

.line-area {
  position: absolute;
  inset: 27px 0 0;
  background: linear-gradient(180deg, rgba(67, 160, 122, 0.3), rgba(67, 160, 122, 0));
  clip-path: polygon(0 78%, 12% 62%, 25% 69%, 36% 38%, 48% 48%, 61% 18%, 74% 42%, 87% 25%, 100% 2%, 100% 100%, 0 100%);
}

.line-area::after {
  position: absolute;
  inset: 0;
  content: '';
  background: var(--green);
  clip-path: polygon(0 77%, 12% 61%, 25% 68%, 36% 37%, 48% 47%, 61% 17%, 74% 41%, 87% 24%, 100% 1%, 100% 4%, 87% 27%, 74% 44%, 61% 20%, 48% 50%, 36% 40%, 25% 71%, 12% 64%, 0 80%);
}

.point {
  position: absolute;
  width: 9px;
  height: 9px;
  background: #fff;
  border: 3px solid var(--green);
  border-radius: 50%;
}

.point-one { left: 35.4%; top: 36.5%; }
.point-two { left: 60.5%; top: 16.5%; }
.point-three { right: 0; top: 0; }

.chart-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  color: var(--muted);
  font-size: 9px;
}

.donut-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-height: 230px;
}

.donut {
  display: grid;
  width: 130px;
  height: 130px;
  place-items: center;
  background: conic-gradient(var(--green) 0 68%, var(--coral) 68% 100%);
  border-radius: 50%;
}

.donut > span {
  display: flex;
  width: 88px;
  height: 88px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  font-family: 'Fraunces', serif;
  font-size: 21px;
  background: #fff;
  border-radius: 50%;
}

.donut small {
  color: var(--muted);
  font: 10px 'DM Sans', sans-serif;
}

.legend {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.legend span {
  display: grid;
  grid-template-columns: 9px 1fr auto;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 10px;
}

.legend i {
  width: 8px;
  height: 8px;
  border-radius: 2px;
}

.mint-dot { background: var(--green); }
.coral-dot { background: var(--coral); }
.legend strong { color: var(--ink); }

.media-player {
  position: fixed;
  right: 18px;
  bottom: 17px;
  left: 266px;
  z-index: 25;
  display: grid;
  height: 67px;
  grid-template-columns: 45px minmax(130px, 0.4fr) 42px 34px minmax(120px, 1fr) 34px 38px;
  align-items: center;
  gap: 11px;
  padding: 10px 13px;
  color: #e9f4ef;
  background: #14392e;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  box-shadow: 0 16px 40px rgba(13, 41, 31, 0.3);
}

.media-player > img {
  width: 45px;
  height: 45px;
  object-fit: cover;
  border-radius: 5px;
}

.player-track {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.player-track strong,
.player-track span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.player-track strong { font-size: 12px; }
.player-track span { color: #9db8ad; font-size: 10px; }
.player-play { color: #14392e !important; background: #bfe8d5 !important; border-radius: 50% !important; }
.player-time { color: #91aca1; font-size: 9px; }

.player-progress {
  width: 100%;
  height: 4px;
  padding: 0;
  appearance: none;
  background: rgba(255, 255, 255, 0.15);
  border: 0;
  border-radius: 2px;
  cursor: pointer;
}

.player-progress::-webkit-slider-thumb {
  width: 12px;
  height: 12px;
  appearance: none;
  background: #bfe8d5;
  border: 0;
  border-radius: 50%;
}

.player-progress::-moz-range-thumb { width: 12px; height: 12px; background: #bfe8d5; border: 0; border-radius: 50%; }

.media-player > .icon-button:last-child { color: #c7d8d1; }

.mobile-nav {
  display: none;
}

.sidebar-scrim {
  display: none;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(10, 27, 22, 0.64);
  backdrop-filter: blur(6px);
  animation: fade-in 180ms ease-out both;
}

.modal {
  width: min(100%, 510px);
  max-height: calc(100vh - 44px);
  overflow: auto;
  padding: 24px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(4, 24, 17, 0.3);
  animation: modal-in 240ms ease-out both;
}

.modal-wide {
  width: min(100%, 720px);
}

.video-modal {
  width: min(900px, 100%);
  padding: 0;
  overflow: hidden;
  color: var(--brand-paper);
  background: var(--brand-blue);
}

.video-heading { align-items: center; margin: 0; padding: 16px 18px; }
.video-heading .eyebrow,
.video-heading h2,
.video-heading .icon-button { color: var(--brand-paper); }

.video-modal video {
  display: block;
  width: 100%;
  max-height: min(68vh, 620px);
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: var(--brand-blue);
}

.video-status {
  min-height: 39px;
  margin: 0;
  padding: 11px 18px;
  color: rgb(245 245 245 / 70%);
  font-size: 10px;
}

.modal-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.modal-heading h2 {
  margin: 4px 0 0;
  font-family: 'Fraunces', serif;
  font-size: 25px;
  letter-spacing: 0;
}

.purchase-release {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: #f2f6f3;
  border-radius: 7px;
}

.purchase-release img {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 5px;
}

.purchase-release div {
  display: flex;
  flex-direction: column;
}

.purchase-release strong { font-size: 14px; }
.purchase-release span { color: var(--muted); font-size: 11px; }

.purchase-options {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin: 17px 0;
}

.purchase-options > button {
  display: grid;
  min-height: 72px;
  grid-template-columns: 40px minmax(0, 1fr) auto 18px;
  align-items: center;
  gap: 10px;
  padding: 10px;
  text-align: left;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 7px;
  cursor: pointer;
}

.purchase-options > button.selected {
  background: var(--mint-soft);
  border-color: #87c2a9;
}

.option-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--green);
  background: #edf6f1;
  border-radius: 6px;
}

.purchase-options button > span:nth-child(2) {
  display: flex;
  flex-direction: column;
}

.purchase-options strong { color: var(--ink); font-size: 12px; }
.purchase-options small { color: var(--muted); font-size: 10px; }
.purchase-options em { color: var(--ink); font-size: 12px; font-style: normal; font-weight: 700; }
.purchase-options button > svg { color: var(--green); }

.secure-note {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 10px;
}

.purchase-button { min-height: 46px; }

.drop-zone {
  display: flex;
  min-height: 155px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 22px;
  text-align: center;
  background: #f5f8f6;
  border: 1px dashed #9eb8ac;
  border-radius: 7px;
  cursor: pointer;
}

.drop-zone.has-file {
  background: var(--mint-soft);
  border-color: #6fae92;
}

.drop-zone input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.upload-icon {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 10px;
  place-items: center;
  color: var(--green);
  background: #e0f1e9;
  border-radius: 50%;
}

.drop-zone strong { font-size: 13px; }
.drop-zone > span:not(.upload-icon) { margin-top: 3px; color: var(--muted); font-size: 10px; }
.drop-zone em { margin-top: 9px; color: var(--green); font-size: 11px; font-style: normal; font-weight: 700; }

.upload-status {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 10px;
  margin-top: 13px;
  padding: 11px 13px;
  background: #f2f6f3;
  border-radius: 6px;
}

.upload-status > div:first-child {
  display: flex;
  flex-direction: column;
}

.upload-status strong { font-size: 11px; }
.upload-status span { color: var(--muted); font-size: 9px; }
.upload-status em { color: var(--green); font-size: 12px; font-style: normal; font-weight: 700; }

.upload-track {
  height: 5px;
  grid-column: 1 / -1;
  overflow: hidden;
  background: #dbe5df;
  border-radius: 3px;
}

.upload-track span {
  display: block;
  height: 100%;
  background: var(--green);
  border-radius: inherit;
  transition: width 120ms linear;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.release-form .form-grid {
  margin-top: 14px;
}

.release-form label:not(.drop-zone),
.event-form label,
.full-field {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 6px;
}

.release-form label > span,
.event-form label > span {
  color: #4d5e55;
  font-size: 10px;
  font-weight: 700;
}

.release-form input,
.release-form select,
.release-form textarea,
.event-form input,
.event-form select {
  width: 100%;
  min-height: 40px;
  padding: 9px 11px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #d9e1dc;
  border-radius: 5px;
  outline: 0;
}

.release-form textarea {
  min-height: 70px;
  resize: vertical;
}

.full-field {
  margin-top: 12px;
}

.pricing-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 13px;
}

.pricing-strip > div {
  display: grid;
  grid-template-columns: 30px 1fr auto;
  align-items: center;
  gap: 7px;
  padding: 10px;
  color: var(--green);
  background: var(--mint-soft);
  border-radius: 6px;
}

.pricing-strip span {
  display: flex;
  flex-direction: column;
}

.pricing-strip strong { color: var(--ink); font-size: 10px; }
.pricing-strip small { color: var(--muted); font-size: 8px; }
.pricing-strip em { color: var(--ink); font-size: 10px; font-style: normal; font-weight: 700; }

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  margin-top: 19px;
  padding-top: 17px;
  border-top: 1px solid var(--line);
}

.event-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.info-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px;
  color: #896408;
  background: var(--yellow-soft);
  border-radius: 6px;
}

.info-banner span {
  display: flex;
  flex-direction: column;
  color: #896408 !important;
  font-weight: 400 !important;
}

.info-banner strong { font-size: 10px; }
.info-banner span { font-size: 9px; }

.toast {
  position: fixed;
  right: 22px;
  bottom: 96px;
  z-index: 120;
  display: flex;
  max-width: min(380px, calc(100vw - 40px));
  min-height: 48px;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  color: #fff;
  font-size: 12px;
  background: #173c30;
  border-radius: 7px;
  box-shadow: var(--shadow);
  animation: toast-in 260ms ease-out both;
}

.toast > span {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  color: #173c30;
  background: #c8eadb;
  border-radius: 50%;
}

@keyframes rise-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modal-in {
  from { opacity: 0; transform: translateY(12px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes toast-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1180px) {
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-grid,
  .content-split {
    grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.8fr);
  }

  .track-row {
    grid-template-columns: 20px 42px minmax(110px, 1fr) 70px 76px 34px;
  }

  .track-revenue,
  .track-date {
    display: none;
  }

  .music-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .musician-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lover-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .sidebar {
    z-index: 80;
    width: min(286px, 84vw);
    transform: translateX(-102%);
    transition: transform 220ms ease;
  }

  .sidebar.open {
    transform: translateX(0);
    box-shadow: 18px 0 55px rgba(8, 34, 25, 0.28);
  }

  .close-menu {
    display: inline-grid !important;
  }

  .sidebar-scrim {
    position: fixed;
    inset: 0;
    z-index: 70;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    background: rgba(8, 28, 21, 0.45);
    border: 0;
  }

  .workspace {
    margin-left: 0;
  }

  .topbar {
    height: 64px;
    padding: 0 18px;
  }

  .menu-button {
    display: inline-grid !important;
  }

  .mobile-brand {
    display: flex !important;
    align-items: center;
    gap: 7px;
    color: var(--green-dark);
  }

  .mobile-brand strong {
    font-family: 'Fraunces', serif;
    font-size: 16px;
  }

  .global-search {
    width: min(330px, 36vw);
    margin-left: 8px;
  }

  .global-search kbd,
  .mode-pill {
    display: none;
  }

  .main-content {
    min-height: calc(100vh - 64px);
    padding: 25px 22px 150px;
  }

  .discover-hero {
    margin-top: -25px;
    margin-right: -22px;
    margin-left: -22px;
  }

  .discover-console {
    margin-top: -25px;
    margin-right: -22px;
    margin-left: -22px;
  }

  .artist-catalog {
    grid-template-columns: 1fr;
  }

  .dashboard-grid,
  .content-split,
  .analytics-grid {
    grid-template-columns: 1fr;
  }

  .audience-panel {
    display: none;
  }

  .event-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .people-panel {
    overflow-x: auto;
  }

  .people-header,
  .people-row {
    min-width: 790px;
  }

  .mobile-nav {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 50;
    display: grid;
    height: 62px;
    grid-template-columns: repeat(4, 1fr);
    padding-bottom: env(safe-area-inset-bottom);
    background: rgba(255, 255, 255, 0.97);
    border-top: 1px solid var(--line);
    backdrop-filter: blur(14px);
  }

  .mobile-nav button {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 3px;
    color: var(--muted);
    font-size: 9px;
    background: transparent;
    border: 0;
  }

  .mobile-nav button.active {
    color: var(--green);
    font-weight: 700;
  }

  .media-player {
    right: 10px;
    bottom: 70px;
    left: 10px;
  }

  .toast {
    bottom: 146px;
  }
}

@media (max-width: 680px) {
  .topbar {
    gap: 8px;
    padding: 0 12px;
  }

  .global-search {
    display: none;
  }

  .topbar-actions {
    gap: 1px;
  }

  .topbar-menu {
    position: fixed;
    top: 58px;
    right: 8px;
  }

  .profile-button span,
  .profile-button > svg {
    display: none;
  }

  .profile-button {
    width: 38px;
    padding: 3px;
  }

  .main-content {
    padding: 21px 15px 148px;
  }

  .page-intro,
  .compact-intro {
    min-height: 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 18px;
  }

  .page-intro h1 {
    font-size: 31px;
  }

  .page-intro > button {
    width: 100%;
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .stat-card {
    min-height: 121px;
    flex-direction: column;
    gap: 9px;
    padding: 13px;
  }

  .stat-card strong {
    font-size: 21px;
  }

  .panel {
    padding: 16px;
  }

  .panel-heading h2,
  .section-heading h2 {
    font-size: 19px;
  }

  .revenue-summary {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .bar-chart {
    gap: 7px;
    padding-right: 0;
    padding-left: 0;
  }

  .bar span {
    display: none;
  }

  .spotlight-image {
    height: 145px;
  }

  .track-row {
    grid-template-columns: 18px 42px minmax(0, 1fr) 34px;
    gap: 8px;
  }

  .track-type,
  .track-plays,
  .track-revenue,
  .track-date {
    display: none;
  }

  .discover-hero {
    height: 360px;
    margin: -21px -15px 25px;
  }

  .discover-console {
    position: relative;
    min-height: 330px;
    grid-template-columns: 1fr;
    margin: -21px -15px 0;
  }

  .discover-console-copy {
    z-index: 1;
    justify-content: flex-end;
    min-height: 330px;
    padding: 28px 20px;
  }

  .discover-console h1 {
    font-size: 41px;
  }

  .discover-console-art {
    position: absolute;
    inset: 0;
    min-height: 330px;
    opacity: 0.32;
  }

  .discover-console-art::after {
    background: linear-gradient(0deg, var(--brand-blue) 8%, rgb(0 64 105 / 20%));
  }

  .discover-console-art > span {
    display: none;
  }

  .catalog-toolbar {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
    margin: 15px 0 21px;
    padding-bottom: 14px;
  }

  .catalog-tabs a {
    flex: 1;
  }

  .catalog-search {
    width: 100%;
    margin: 0;
  }

  .catalog-search label {
    width: auto;
    flex: 1;
  }

  .catalog-heading h2 {
    font-size: 21px;
  }

  .discover-hero::after {
    background: linear-gradient(0deg, rgba(7, 28, 22, 0.94) 0%, rgba(7, 28, 22, 0.45) 78%, rgba(7, 28, 22, 0.1));
  }

  .discover-overlay {
    top: auto;
    right: 20px;
    bottom: 27px;
    left: 20px;
    transform: none;
  }

  .discover-overlay h1 {
    font-size: 39px;
  }

  .music-grid,
  .musician-strip,
  .event-grid,
  .favorite-grid {
    grid-template-columns: 1fr;
  }

  .artist-card > a {
    min-height: 92px;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 12px;
  }

  .artist-card img {
    width: 92px;
    height: 92px;
  }

  .artist-card strong {
    font-size: 17px;
  }

  .catalog-pagination {
    grid-template-columns: 68px minmax(0, 1fr) 68px;
    gap: 7px;
    margin-top: 20px;
  }

  .catalog-pagination > span {
    gap: 4px;
  }

  .catalog-pagination a {
    min-width: 32px;
    height: 34px;
    padding: 0 7px;
  }

  .music-card {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .music-art {
    aspect-ratio: 1;
    grid-row: 1 / span 2;
  }

  .music-art > button {
    right: 8px;
    bottom: 8px;
    width: 35px;
    height: 35px;
  }

  .media-badge {
    top: 7px;
    left: 7px;
    padding: 4px 6px;
  }

  .price-line {
    min-width: 0;
  }

  .creator-heading {
    margin-top: 26px;
  }

  .playlist-banner {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
    padding: 14px;
  }

  .playlist-banner > button {
    grid-column: 1 / -1;
  }

  .playlist-covers img {
    width: 43px;
    height: 43px;
  }

  .filter-bar {
    align-items: stretch;
    flex-direction: column;
  }

  .segmented-control button {
    flex: 1;
    justify-content: center;
    padding: 0 8px;
  }

  .audience-summary {
    grid-template-columns: repeat(2, 1fr);
  }

  .audience-summary div {
    min-height: 78px;
    padding: 13px;
    border-bottom: 1px solid var(--line);
  }

  .audience-summary div:nth-child(2) {
    border-right: 0;
  }

  .audience-summary div:nth-child(n + 3) {
    border-bottom: 0;
  }

  .lover-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .lover-profile {
    min-height: 245px;
    padding: 22px 8px 14px;
  }

  .favorite-artist {
    grid-template-columns: 100px minmax(0, 1fr) 38px;
    gap: 12px;
  }

  .favorite-artist > img {
    width: 100px;
    height: 116px;
  }

  .favorite-copy > strong {
    font-size: 18px;
  }

  .donut-wrap {
    min-height: 200px;
  }

  .media-player {
    height: 60px;
    grid-template-columns: 39px minmax(0, 1fr) 38px 34px;
    gap: 8px;
    padding: 8px 9px;
  }

  .media-player > img {
    width: 39px;
    height: 39px;
  }

  .player-time,
  .player-progress {
    display: none;
  }

  .modal-backdrop {
    align-items: end;
    padding: 0;
  }

  .modal {
    width: 100%;
    max-height: 94vh;
    padding: 20px 16px calc(20px + env(safe-area-inset-bottom));
    border-radius: 8px 8px 0 0;
  }

  .video-modal {
    border-radius: 0;
  }

  .form-grid,
  .pricing-strip {
    grid-template-columns: 1fr;
  }

  .purchase-options > button {
    grid-template-columns: 38px minmax(0, 1fr) auto;
  }

  .purchase-options button > svg {
    display: none;
  }

  .purchase-options em {
    font-size: 10px;
  }

  .toast {
    right: 12px;
    left: 12px;
    justify-content: center;
  }
}

@media (max-width: 390px) {
  .mobile-brand strong {
    display: none;
  }

  .stat-card {
    min-height: 116px;
  }

  .stat-card span,
  .stat-card em {
    font-size: 9px;
  }

  .music-card {
    grid-template-columns: 98px minmax(0, 1fr);
  }

  .lover-grid {
    grid-template-columns: 1fr;
  }

  .favorite-artist {
    grid-template-columns: 86px minmax(0, 1fr) 32px;
    gap: 9px;
  }

  .favorite-artist > img {
    width: 86px;
    height: 105px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
