:root,
[data-theme="dark"] {
  --fg-1: #f1eee3;
  --fg-2: #d6d2c3;
  --fg-3: #a9a596;
  --fg-4: #969181;
  --fg-5: #8d8878;
  --fg-6: #3d3a30;
  --fg-7: #201e18;
  --fg-8: #0b0a07;

  --surface-0: #0d0c0b;
  --surface-1: #151311;
  --surface-2: #1c1917;
  --surface-3: #24201b;

  --border: rgba(241,238,227,0.08);
  --border-subtle: rgba(241,238,227,0.05);
  --border-strong: rgba(241,238,227,0.14);
  --divider: rgba(241,238,227,0.06);
  --wash-faint: rgba(241,238,227,0.015);
  --wash-soft: rgba(241,238,227,0.03);
  --wash: rgba(241,238,227,0.055);
  --wash-strong: rgba(241,238,227,0.08);
  --accent: #1f7e3a;
  --accent-text: #56c476;
  --accent-strong: #1a6c31;
  --accent-text-on: #f3f1e6;
  --accent-glow: rgba(86,196,118,0.16);
  --accent-soft: rgba(86,196,118,0.10);
  --gold: #d3a94c;
  --gold-text: #ddb968;
  --gold-strong: #c19a3f;
  --gold-bg: rgba(211,169,76,0.10);
  --gold-text-on: #1c1608;
  --green: #2fae7e;
  --green-bg: rgba(47,174,126,0.10);
  --green-text: #5ecfa0;
  --red: #c25d52;
  --red-bg: rgba(194,93,82,0.10);
  --red-text: #e09a91;
  --amber: #cf8f3a;
  --amber-bg: rgba(207,143,58,0.10);
  --amber-text: #e3ad60;
  --slate: #98a29b;
  --slate-bg: rgba(152,162,155,0.10);
  --momentum-up: #2fae7e;
  --momentum-down: #c96f4a;
  --momentum-flat: #8b8779;
  --type-single:    #5c8fc9;
  --type-single-bg: rgba(92,143,201,0.10);
  --type-album:     #a78bfa;
  --type-album-bg:  rgba(167,139,250,0.10);
  --type-ep:        #22aac4;
  --type-ep-bg:     rgba(34,170,196,0.10);
  --blue-bg: rgba(96, 165, 250, 0.14);
  --blue-text: #93c5fd;
  --white-pill-bg: rgba(255, 255, 255, 0.92);
  --white-pill-text: #16181d;
  --pill-active-bg:   var(--accent);
  --pill-active-text: var(--accent-text-on);
  --pill-bg:          rgba(241,238,227,0.05);
  --pill-text:        var(--fg-3);
  --row-hover:        rgba(241,238,227,0.03);
  --bar-track: rgba(241,238,227,0.07);
  --bar-fill:     var(--accent);
  --input-bg: rgba(241,238,227,0.04);
  --input-border: rgba(241,238,227,0.10);
  --input-focus: rgba(86,196,118,0.28);
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.4);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.5);
  --shadow-lg: 0 10px 28px rgba(0,0,0,0.55);
  --fw-regular:  400;
  --fw-medium:   500;
  --fw-semibold: 600;
  --fw-bold:     700;
  --fw-black:    800;
  --text-xs:   12px;
  --text-sm:   13px;
  --text-base: 14px;
  --text-md:   16px;
  --text-lg:   18px;
  --text-xl:   22px;
  --text-2xl:  30px;
  --text-3xl:  36px;
  --font-display: var(--font-barlow-condensed), "Arial Narrow", "Helvetica Neue", sans-serif;
  --font-data: var(--font-geist-sans), system-ui, -apple-system, sans-serif;
  --display-2xl: clamp(56px, 7.5vw, 104px);
  --display-xl: clamp(40px, 5.5vw, 72px);
  --display-lg: clamp(30px, 4vw, 48px);
  --display-md: clamp(24px, 3vw, 34px);
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --radius-sm:   6px;
  --radius-md:   10px;
  --radius-lg:   14px;
  --radius-xl:   20px;
  --radius-full: 999px;
  --sidebar-w: 264px;
  --sidebar-w-rail: 72px;
  --dur-fast: 120ms;
  --dur-base: 180ms;
  --dur-slow: 260ms;
  --ease-out-soft: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-snap: cubic-bezier(0.22, 1, 0.36, 1);
  --text-primary: var(--fg-1);
  --text-secondary: var(--fg-3);
  --text-muted: var(--fg-4);
  --text-link:      var(--fg-2);
  --page-bg:        var(--surface-0);
  --page-bg-flat:   var(--surface-0);
  --card-bg:        var(--surface-1);
  --card-bg-solid:  var(--surface-1);
  --card-hover:     var(--surface-2);
  --surface-bg:     var(--surface-2);
  --surface-border: var(--border);

  color-scheme: dark;
}
[data-theme="light"] {
  --fg-1: #1c1a12;
  --fg-2: #37342a;
  --fg-3: #5d584a;
  --fg-4: #5a5547;
  --fg-5: #635e4f;
  --fg-6: #b3ac95;
  --fg-7: #ded7c3;
  --fg-8: #f6f3e9;

  --surface-0: #f4f0e4;
  --surface-1: #fbf8ef;
  --surface-2: #ece7d8;
  --surface-3: #e2dcc9;

  --border: rgba(28,26,18,0.12);
  --border-subtle: rgba(28,26,18,0.07);
  --border-strong: rgba(28,26,18,0.20);
  --divider: rgba(28,26,18,0.08);

  --wash-faint: rgba(28,26,18,0.02);
  --wash-soft: rgba(28,26,18,0.035);
  --wash: rgba(28,26,18,0.055);
  --wash-strong: rgba(28,26,18,0.07);

  --accent: #1c6f33;
  --accent-text: #15602a;
  --accent-strong: #175e2b;
  --accent-text-on: #f7f4ea;
  --accent-glow: rgba(28,111,51,0.14);
  --accent-soft: rgba(28,111,51,0.09);

  --gold: #a47c24;
  --gold-text: #8c691d;
  --gold-strong: #8f6c1f;
  --gold-bg: rgba(164,124,36,0.12);
  --gold-text-on: #fdf9ee;

  --green: #177a55;
  --green-bg: rgba(23,122,85,0.10);
  --green-text: #116a49;
  --red: #a8463d;
  --red-bg: rgba(168,70,61,0.10);
  --red-text: #963c34;
  --amber: #9c6a16;
  --amber-bg: rgba(156,106,22,0.12);
  --amber-text: #855a12;
  --slate: #6f7a72;
  --slate-bg: rgba(111,122,114,0.12);

  --momentum-up: #177a55;
  --momentum-down: #b05c2e;
  --momentum-flat: #8b8576;

  --type-single:    #3b6ea8;
  --type-single-bg: rgba(59,110,168,0.12);
  --type-album:     #6d4fc4;
  --type-album-bg:  rgba(109,79,196,0.12);
  --type-ep:        #14788c;
  --type-ep-bg:     rgba(20,120,140,0.12);

  --blue-bg: rgba(59,110,168,0.14);
  --blue-text: #2c5d92;
  --white-pill-bg: #ffffff;
  --white-pill-text: #16181d;

  --pill-bg: rgba(28,26,18,0.05);
  --row-hover: rgba(28,26,18,0.04);

  --bar-track: rgba(28,26,18,0.09);
  --input-bg: rgba(28,26,18,0.04);
  --input-border: rgba(28,26,18,0.16);
  --input-focus: rgba(28,111,51,0.22);

  --shadow-sm: 0 1px 2px rgba(28,26,18,0.08);
  --shadow-md: 0 4px 12px rgba(28,26,18,0.10);
  --shadow-lg: 0 10px 28px rgba(28,26,18,0.15);

  color-scheme: light;
}
.mgmt-tnum,
.mgmt-stat-value,
[data-tnum] {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}
.mgmt-card:focus-visible,
.mgmt-row:focus-visible,
.mgmt-pill:focus-visible,
.mgmt-pill-primary:focus-visible,
.mgmt-btn:focus-visible,
.mgmt-btn-secondary:focus-visible,
.mgmt-btn-danger:focus-visible,
.mgmt-task-circle:focus-visible,
.mgmt-delete-x:focus-visible,
button:focus-visible,
a:focus-visible,
[role="button"]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: inherit;
}
.mgmt-row:focus-visible {
  background: var(--surface-2);
  box-shadow: inset 2px 0 0 var(--accent);
}
.mgmt-panel-row:focus-visible,
.mgmt-table-row:focus-visible {
  background: var(--row-hover);
}
.mgmt-card-static {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-5);
}
.mgmt-row {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-3) var(--space-4);
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition:
    background var(--dur-base) var(--ease-out-soft),
    box-shadow var(--dur-base) var(--ease-out-soft);
  text-decoration: none;
  color: inherit;
  position: relative;
}
.mgmt-row:hover {
  background: var(--surface-2);
  box-shadow: inset 2px 0 0 var(--accent);
}
.mgmt-panel {
  background:
    radial-gradient(ellipse at top, var(--wash-faint) 0%, transparent 55%),
    var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.mgmt-panel-header {
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--surface-2);
}
.mgmt-panel-row {
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background var(--dur-fast) var(--ease-out-soft);
}
.mgmt-panel-row:hover {
  background: var(--row-hover);
}
.mgmt-panel-row:last-child {
  border-bottom: none;
}
.mgmt-grid-main-aside > .mgmt-panel {
  min-height: 0;
}
.mgmt-panel,
.mgmt-card,
.mgmt-row,
.mgmt-grid-2 > *,
.mgmt-grid-3 > *,
.mgmt-grid-4 > *,
.mgmt-grid-kpi > *,
.mgmt-grid-panels > *,
.mgmt-grid-asymmetric > *,
.mgmt-grid-main-aside > *,
.mgmt-grid-quicklinks > *,
.mgmt-grid-form-2 > *,
.mgmt-grid-form-3 > *,
.mgmt-grid-insight > *,
.mgmt-finance-expense-grid > *,
.mgmt-finance-transaction-grid > * {
  min-width: 0;
}
@media (max-width: 640px) {
  .mgmt-panel-row-flex {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: var(--space-2) !important;
  }
}
.mgmt-panel-eyebrow {
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  color: var(--fg-5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.mgmt-section-title {
  font-size: var(--text-xl);
  font-weight: var(--fw-bold);
  color: var(--fg-1);
  letter-spacing: -0.02em;
  margin: 0;
}
.mgmt-mono {
  font-family: var(--font-data);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  letter-spacing: -0.01em;
}
.mgmt-display {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.005em;
  line-height: 0.92;
  color: var(--fg-1);
}
.mgmt-display-2xl { font-size: var(--display-2xl); }
.mgmt-display-xl  { font-size: var(--display-xl); }
.mgmt-display-lg  { font-size: var(--display-lg); }
.mgmt-display-md  { font-size: var(--display-md); }
.mgmt-display-ultra {
  font-family: var(--font-display);
  font-weight: 200;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  line-height: 1;
  color: var(--fg-4);
}
.mgmt-display-sub {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.05;
}
.mgmt-panel-section-label {
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  color: var(--fg-4);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: var(--space-2) var(--space-4);
  border-bottom: 1px solid var(--border-subtle);
  background: var(--surface-2);
}
.mgmt-zebra > .mgmt-panel-row:nth-child(even) {
  background: var(--wash-faint);
}
@media (max-width: 640px) {

  .mgmt-panel,
  .mgmt-grid-panels > *,
  .mgmt-row {
    min-width: 0;
  }

  .mgmt-row {
    flex-wrap: wrap;
  }
}
.mgmt-artist-quick-access .mgmt-panel-eyebrow {
  margin: 0;
}
.marketing-nick-pulse {
  display: flex;
  align-items: flex-end;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
  margin-bottom: 42px;
  overflow-x: auto;
}
.marketing-nick-pulse-stat {
  flex-shrink: 0;
  padding: 0 30px;
  border-right: 1px solid var(--border-subtle);
}
.marketing-nick-pulse-stat:first-child {
  padding-left: 0;
}
.marketing-nick-pulse-stat:last-child {
  padding-right: 0;
  border-right: none;
}
@media (max-width: 768px) {
  .marketing-nick-pulse {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    column-gap: 0;
    row-gap: 24px;
    overflow-x: visible;
  }

  .marketing-nick-pulse-stat {
    padding: 0 18px;
    border-right: 1px solid var(--border-subtle);
  }

  .marketing-nick-pulse-stat:nth-child(odd) {
    padding-left: 0;
  }

  .marketing-nick-pulse-stat:nth-child(even) {
    padding-right: 0;
    border-right: none;
  }
}
.marketing-schedule-timeline > .mgmt-panel {
  border: 0;
  border-radius: 0;
  background: transparent;
}
.marketing-schedule-timeline > .mgmt-panel + .mgmt-panel {
  border-top: 1px solid var(--border-subtle);
}
.marketing-schedule-timeline .mgmt-panel-header {
  background: transparent;
}
/* Font families that next/font injects in the real app. */
:root{--font-barlow-condensed:"Barlow Condensed";--font-geist-sans:"Geist";--font-geist-mono:"Geist Mono"}
