/* JSI Distribute — Frontend shell (Phase 2/3)
   Brand: dark, rich purple base with bold gold accent — matches the JSI
   homepage and Artist Console reference. Glass panels, soft glow, gradient
   headings on gold. This intentionally replaces the earlier navy/gold pass
   now that the real brand direction is confirmed.

   Token system:
   --jsi-bg        #0a0512   near-black with a purple cast, page background
   --jsi-bg-alt    #120a1f   secondary background (deeper purple)
   --jsi-panel     glass surfaces — translucent white over the dark base
   --jsi-purple    #6d28d9   rich purple accent (secondary, used sparingly)
   --jsi-gold      #7C3AED   primary accent — buttons, active states, focus
   --jsi-gold-dim  rgba(124,58,237,.12)
   --jsi-text      #ffffff
   --jsi-text-dim  rgba(255,255,255,.72)
   --jsi-text-soft rgba(255,255,255,.52)
   --jsi-line      rgba(255,255,255,.10)
   --jsi-success   #3ddc97
   --jsi-error     #ff5252
   Typeface: IBM Plex Sans / IBM Plex Mono
*/
/* Poppins is now enqueued from PHP (jsi-fonts) so it no longer blocks rendering behind an @import. */

/* ══════════════════════════════════════════════════════════════════════
   Theme-conflict armor — Astra (and most other parent themes) ship global
   resets for headings, buttons, inputs, and lists that are written with
   plain element selectors (button, input, ul, a, h2…) and sometimes
   `!important`. Those win over this file's own class-based rules by
   specificity/source-order in ways that are invisible in a code review but
   show up live as "too much space", stretched-looking mobile screens, or
   controls that just look like unstyled browser defaults. This block
   re-asserts the handful of base properties every JSI component actually
   depends on, scoped only to JSI's own containers, so the app's layout is
   no longer at the mercy of whatever the active theme happens to set on
   raw HTML elements. It does not touch colors/branding — just the box
   model and typography inheritance those depend on. */
.jsi-site, .jsi-shell, .jsi-app-global-header, .jsi-global-drawer, .jsi-bottom-nav {
	box-sizing: border-box;
}
.jsi-site *, .jsi-shell *, .jsi-app-global-header *, .jsi-global-drawer *, .jsi-bottom-nav * {
	box-sizing: border-box;
}
.jsi-shell ul, .jsi-global-drawer nav, .jsi-bottom-nav {
	margin: 0;
	padding: 0;
	list-style: none;
}
.jsi-shell button, .jsi-global-theme-toggle, .jsi-global-menu-toggle, .jsi-bell-btn {
	font-family: inherit;
	line-height: normal;
	-webkit-appearance: none;
	appearance: none;
}
.jsi-shell a, .jsi-app-global-header a, .jsi-global-drawer a, .jsi-bottom-nav a {
	text-decoration: none;
}
.jsi-shell h1, .jsi-shell h2, .jsi-shell h3, .jsi-shell h4, .jsi-shell p {
	line-height: 1.35;
}

/* ── Base: tokens live in jsi-ds.css (design system). Only structural defaults here. ── */
.jsi-shell {
	font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	color: var(--jsi-text);
	background: var(--jsi-bg);
	max-width: 1080px;
	margin: 0 auto;
}
.jsi-shell h2, .jsi-shell h3 { font-weight: 600; letter-spacing: -.01em; margin: 0 0 4px; color: var(--jsi-text); }
.jsi-shell h3 { font-size: 16px; }
.jsi-muted { color: var(--jsi-text-soft); font-size: 13px; }

.jsi-btn {
	font-family: inherit; font-weight: 600; font-size: 14px;
	padding: 11px 20px; border-radius: 8px; border: 1px solid transparent;
	cursor: pointer; display: inline-block; text-decoration: none; line-height: 1.2;
}
.jsi-btn:focus-visible { outline: 2px solid var(--jsi-gold); outline-offset: 2px; }
.jsi-btn-primary { background: var(--jsi-gold); color: #fff; }
.jsi-btn-primary:hover { background: #8B5CF6; }
.jsi-btn-secondary { background: transparent; color: var(--jsi-text); border-color: var(--jsi-line-strong, var(--jsi-line)); }
.jsi-btn-secondary:hover { background: var(--jsi-panel-hover); }
.jsi-btn:disabled { opacity: .45; cursor: not-allowed; }

/* ── Login prompt ─────────────────────────────────────────── */
.jsi-login-prompt { padding: 56px 24px; text-align: center; }
.jsi-login-prompt p { margin-bottom: 18px; color: var(--jsi-text-dim); }

/* ── Wizard shared shell (onboarding + release) ──────────────────────── */
.jsi-onboarding, .jsi-release-wizard { padding: 32px; }
.jsi-wizard-header { margin-bottom: 20px; }
.jsi-wizard-header h2 { font-size: 24px; }

.jsi-steps {
	display: flex;
	gap: 2px;
	border-bottom: 1px solid var(--jsi-line);
	margin-bottom: 24px;
	flex-wrap: nowrap;
	overflow-x: auto;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
	scroll-snap-type: x proximity;
}
.jsi-steps::-webkit-scrollbar { display: none; }
.jsi-step-tab {
	background: none; border: none; cursor: pointer;
	font-family: 'Poppins', sans-serif; font-size: 12.5px; font-weight: 600;
	color: var(--jsi-text-soft); white-space: nowrap;
	padding: 10px 13px; border-bottom: 2px solid transparent;
	margin-bottom: -1px;
	flex: 0 0 auto; scroll-snap-align: center;
}
.jsi-step-tab.is-active { color: var(--jsi-gold); border-bottom-color: var(--jsi-gold); }
.jsi-step-tab.is-complete { color: var(--jsi-success); }
.jsi-step-tab:focus-visible { outline: 2px solid var(--jsi-gold); outline-offset: 2px; }

.jsi-step-panel, .jsi-wizard-body > .jsi-step-panel { display: none; animation: jsi-fade .18s ease; }
.jsi-step-panel.is-active { display: block; }
@keyframes jsi-fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

.jsi-field { margin-bottom: 18px; }
.jsi-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.jsi-field label { display: block; font-size: 12.5px; font-weight: 600; color: var(--jsi-text-dim); margin-bottom: 6px; text-transform: uppercase; letter-spacing: .03em; }
.jsi-field input[type=text], .jsi-field input[type=url], .jsi-field input[type=date],
.jsi-field select, .jsi-field textarea {
	width: 100%; font-family: inherit; font-size: 14px; padding: 11px 14px;
	border: 1px solid var(--jsi-line); border-radius: 10px;
	background: rgba(255,255,255,.03); color: var(--jsi-text);
	box-sizing: border-box;
}
.jsi-field select option { background: var(--jsi-bg-alt); color: var(--jsi-text); }
.jsi-field input::placeholder, .jsi-field textarea::placeholder { color: var(--jsi-text-soft); }
.jsi-field input:focus-visible, .jsi-field select:focus-visible, .jsi-field textarea:focus-visible {
	outline: none; border-color: var(--jsi-gold); box-shadow: 0 0 0 3px var(--jsi-gold-dim);
}
.jsi-radio-row { display: flex; gap: 20px; font-size: 13.5px; color: var(--jsi-text-dim); }
.jsi-radio-row label { display: flex; align-items: center; gap: 6px; font-weight: 400; text-transform: none; letter-spacing: 0; }

.jsi-field-hint { font-size: 12px; color: var(--jsi-text-soft); margin-top: 4px; }
.jsi-field-errors { margin-top: 8px; }
.jsi-field-errors .jsi-error-line { font-size: 12.5px; color: var(--jsi-error); margin-bottom: 4px; }
.jsi-error-line { font-size: 12.5px; color: var(--jsi-error); margin: 6px 0; }

/* Platform link inputs (Spotify/Apple Music/SoundCloud) get a small brand-colored dot */
.jsi-platform-field { position: relative; }
.jsi-platform-field label { display: flex; align-items: center; gap: 6px; }
.jsi-platform-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.jsi-platform-dot.spotify { background: #1DB954; }
.jsi-platform-dot.applemusic { background: #FA2D6E; }
.jsi-platform-dot.soundcloud { background: #FF7700; }

.jsi-photo-upload { display: flex; align-items: center; gap: 14px; }
.jsi-photo-upload img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 1px solid var(--jsi-line); }
.jsi-photo-upload input[type=file] { display: none; }

.jsi-review-card {
	background: var(--jsi-panel); border: 1px solid var(--jsi-line); border-radius: 14px; padding: 22px;
}

.jsi-wizard-nav {
	display: flex; align-items: center; gap: 12px; margin-top: 24px;
	padding: 18px 32px; border-top: 1px solid var(--jsi-line);
}
.jsi-save-indicator { flex: 1; text-align: center; font-size: 12px; color: var(--jsi-success); opacity: 0; transition: opacity .2s; }
.jsi-save-indicator.is-visible { opacity: 1; }
.jsi-save-indicator.is-error { color: var(--jsi-error); }

.jsi-notice { padding: 13px 16px; border-radius: 10px; font-size: 13px; margin-top: 16px; border: 1px solid transparent; }
.jsi-notice-success { background: var(--jsi-success-soft); color: var(--jsi-success); border-color: rgba(61,220,151,.3); }
.jsi-notice-warning { background: var(--jsi-gold-dim); color: var(--jsi-gold); border-color: var(--jsi-gold-line); }
.jsi-notice-error { background: var(--jsi-error-soft); color: var(--jsi-error); border-color: rgba(255,82,82,.3); }

/* ── Dashboard shell ──────────────────────────────────────── */
.jsi-dashboard { display: grid; grid-template-columns: 220px 1fr; min-height: 480px; }

.jsi-nav { background: rgba(0,0,0,.25); padding: 24px 0; border-right: 1px solid var(--jsi-line); }
.jsi-nav-brand {
	font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 14px;
	letter-spacing: .06em; text-transform: uppercase; color: var(--jsi-gold); padding: 0 20px 20px;
}
.jsi-nav-item {
	display: block; padding: 11px 20px; font-size: 13.5px; font-weight: 500;
	color: var(--jsi-text-soft); text-decoration: none; border-left: 3px solid transparent;
}
.jsi-nav-item:hover { color: #fff; background: rgba(255,255,255,.03); }
.jsi-nav-item.is-active { color: var(--jsi-gold); border-left-color: var(--jsi-gold); background: var(--jsi-gold-dim); }
.jsi-nav-disabled { opacity: .35; cursor: default; pointer-events: none; }

.jsi-main { padding: 28px 32px; }
.jsi-main-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 20px; }
.jsi-main-header h2 { font-size: 22px; }
.jsi-badge { font-size: 11px; font-weight: 700; padding: 5px 12px; border-radius: 999px; text-transform: uppercase; letter-spacing: .04em; }
.jsi-badge-role { background: var(--jsi-gold-dim); color: var(--jsi-gold); border: 1px solid var(--jsi-gold-line); }

/* ── Subscription status banner ──────────────────────────────────── */
.jsi-plan-banner {
	border: 1px solid var(--jsi-gold-line);
	background: linear-gradient(135deg, var(--jsi-gold-dim), rgba(255,255,255,.03));
	border-radius: 14px;
	padding: 16px 20px;
	margin-bottom: 20px;
}
.jsi-plan-banner-empty { border-color: var(--jsi-line); background: var(--jsi-panel); }
.jsi-plan-banner-main { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
/* Bugfix: text was getting cut off (not wrapping) on narrow screens. Flex items
   default to min-width:auto, which stops their content from wrapping and lets
   it overflow the row instead — classic flexbox gotcha. min-width:0 lets the
   text box shrink and wrap normally within the flex row. */
.jsi-plan-banner-main > div:first-child { min-width: 0; flex: 1 1 240px; }
.jsi-plan-banner-label { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 15px; color: var(--jsi-text); }
.jsi-plan-banner-main .jsi-muted { margin: 4px 0 0; font-size: 12.5px; }
.jsi-plan-progress { width: 220px; max-width: 100%; height: 6px; border-radius: 4px; background: rgba(255,255,255,.08); margin-top: 8px; overflow: hidden; }
.jsi-plan-progress-fill { height: 100%; background: var(--jsi-gold); border-radius: 4px; }
.jsi-plan-upsell {
	display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
	margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--jsi-gold-line);
	font-size: 12.5px; color: var(--jsi-text-dim);
}
.jsi-plan-upsell > span { flex: 1 1 200px; min-width: 0; }
.jsi-plan-upsell a { color: var(--jsi-gold); font-weight: 600; text-decoration: none; }
.jsi-plan-upsell a:hover { text-decoration: underline; }

.jsi-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 24px; }
.jsi-card {
	background: var(--jsi-panel); border: 1px solid var(--jsi-line); border-radius: 14px; padding: 18px; position: relative; overflow: hidden;
}
.jsi-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--jsi-gold); opacity: .5; }
.jsi-card-label { display: block; font-size: 11.5px; color: var(--jsi-text-soft); margin-bottom: 6px; text-transform: uppercase; letter-spacing: .04em; }
.jsi-card-value { display: block; font-family: 'Poppins', sans-serif; font-size: 24px; font-weight: 600; color: #fff; margin-bottom: 4px; }

.jsi-panel { background: var(--jsi-panel); border: 1px solid var(--jsi-line); border-radius: 14px; padding: 20px 22px; }

.jsi-release-table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 13.5px; }
.jsi-release-table th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--jsi-text-soft); padding: 8px 10px; border-bottom: 1px solid var(--jsi-line); }
.jsi-release-table td { padding: 10px; border-bottom: 1px solid var(--jsi-line); color: var(--jsi-text-dim); }
.jsi-status-pill { font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: .03em; white-space: nowrap; }
.jsi-status-pill.passed { background: var(--jsi-success-soft); color: var(--jsi-success); }
.jsi-status-pill.failed { background: var(--jsi-error-soft); color: var(--jsi-error); }
.jsi-status-pill.pending { background: rgba(124,58,237,.16); color: var(--jsi-gold); }
/* Card layout is the mobile alternative to the table below — hidden on desktop by default. */
.jsi-release-cards { display: none; }
.jsi-referral-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.jsi-referral-code { font-family: 'Poppins', sans-serif; font-size: 20px; font-weight: 700; letter-spacing: .08em; color: var(--jsi-gold); background: var(--jsi-gold-dim); border: 1px solid var(--jsi-gold-line); border-radius: 8px; padding: 8px 16px; }
.jsi-release-card { border: 1px solid var(--jsi-line); border-radius: 10px; padding: 12px 14px; margin-top: 10px; background: rgba(255,255,255,.02); }
.jsi-release-card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.jsi-release-card-top strong { min-width: 0; overflow-wrap: break-word; }
.jsi-status-draft, .jsi-status-awaiting_payment { background: rgba(255,255,255,.08); color: var(--jsi-text-dim); }
.jsi-status-pending, .jsi-status-processing { background: var(--jsi-gold-dim); color: var(--jsi-gold); }
.jsi-status-need_fix, .jsi-status-rejected, .jsi-status-taken_down { background: var(--jsi-error-soft); color: var(--jsi-error); }
.jsi-status-approved { background: var(--jsi-success-soft); color: var(--jsi-success); }
.jsi-status-takedown_requested { background: rgba(255,255,255,.1); color: #fff; }

/* ── Release wizard — type cards ─────────────────────────────────────── */
.jsi-type-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 8px; }
.jsi-type-card {
	background: var(--jsi-panel); border: 1px solid var(--jsi-line); border-radius: 14px; padding: 24px 18px;
	cursor: pointer; display: flex; flex-direction: column; gap: 4px; text-align: left;
	color: #fff; transition: border-color .2s, transform .15s;
}
.jsi-type-card strong { font-family: 'Poppins', sans-serif; font-size: 17px; }
.jsi-type-card:hover { border-color: var(--jsi-gold-line); transform: translateY(-2px); }
.jsi-type-card.is-selected { border-color: var(--jsi-gold); background: var(--jsi-gold-dim); }
.jsi-type-card.is-locked { opacity: .35; cursor: not-allowed; }
.jsi-type-card.is-locked:hover { transform: none; border-color: var(--jsi-line); }

/* ── Artist picker / autocomplete ────────────────────────────────────── */
.jsi-artist-picker { position: relative; }
.jsi-artist-results {
	position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 10;
	background: var(--jsi-bg-alt); border: 1px solid var(--jsi-line); border-radius: 10px;
	max-height: 200px; overflow-y: auto; display: none; box-shadow: 0 14px 30px rgba(0,0,0,.5);
}
.jsi-artist-results.is-visible { display: block; }
.jsi-artist-result-item { padding: 10px 14px; font-size: 13.5px; cursor: pointer; color: var(--jsi-text-dim); }
.jsi-artist-result-item:hover { background: var(--jsi-gold-dim); color: var(--jsi-gold); }

/* ── Featured-artist repeater rows (capped at 3 in JS/PHP) ─────────────── */
.jsi-featured-row {
	background: var(--jsi-panel); border: 1px solid var(--jsi-line); border-radius: 10px;
	padding: 12px 40px 12px 12px; margin-bottom: 10px;
}
.jsi-featured-row .jsi-featured-remove { position: absolute; top: 8px; right: 8px; }
#jsi-add-featured { margin-top: 4px; }

/* ── Track list / contributor list / ISRC list rows ──────────────────── */
.jsi-repeat-row {
	display: flex; align-items: center; gap: 10px; background: var(--jsi-panel);
	border: 1px solid var(--jsi-line); border-radius: 10px; padding: 10px 12px; margin-bottom: 8px;
}
.jsi-repeat-row input[type=text] { flex: 1; }
.jsi-repeat-row .jsi-track-num { font-family: 'Poppins', sans-serif; color: var(--jsi-gold); font-size: 13px; width: 22px; text-align: center; }
/* Desktop contributor row: the role <select> has no explicit width of its
   own, so on wide viewports it was inheriting a much larger "auto" box than
   the name field's flex:1 could compete with — the row ended up almost all
   dropdown with the name input squeezed down to a sliver. Mobile already
   fixes this (stacked, both 100%) via the media query below; this gives the
   desktop side-by-side layout matching explicit sizing instead of relying
   on the select's default width. */
.jsi-contributor-row .jsi-c-name { flex: 2 1 220px; min-width: 160px; }
.jsi-contributor-row .jsi-c-role { flex: 1 1 200px; max-width: 260px; }
.jsi-repeat-remove {
	background: none; border: none; color: var(--jsi-text-soft); cursor: pointer; font-size: 18px; line-height: 1;
	padding: 4px 8px; border-radius: 6px;
}
.jsi-repeat-remove:hover { color: var(--jsi-error); background: var(--jsi-error-soft); }

/* ── Per-track metadata (EP/Album genre override + featured artist) ──── */
.jsi-track-row.has-track-meta { margin-bottom: 0; border-radius: 10px 10px 0 0; }
.jsi-track-meta-row {
	display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
	background: var(--jsi-panel); border: 1px solid var(--jsi-line); border-top: none; border-bottom: none;
	padding: 10px 12px 14px; margin-bottom: 0;
}
.jsi-track-meta-row .jsi-field { margin-bottom: 0; }
.jsi-track-meta-row label { font-size: 12px; }
.jsi-track-featured-picker { position: relative; }
.jsi-track-contrib-wrap {
	background: var(--jsi-panel); border: 1px solid var(--jsi-line); border-top: none;
	border-radius: 0 0 10px 10px; padding: 0 12px 14px; margin-top: -8px; margin-bottom: 8px;
}
.jsi-track-contrib-wrap > label { display: block; font-size: 12px; margin-bottom: 8px; color: var(--jsi-text-soft); }
.jsi-track-contributor-row { margin-bottom: 6px; }
.jsi-btn-small { padding: 6px 12px; font-size: 12px; }
@media (max-width: 640px) {
	.jsi-track-meta-row { grid-template-columns: 1fr; }
}

/* ── Royalty split rows (wizard) ──────────────────────────────────────── */
/* ── Royalty split rows (wizard + dashboard modal) ────────────────────── */
/* .jsi-split-row also carries .jsi-repeat-row (display:flex) for the
   shared border/background/padding — this overrides that to a stacked
   layout specifically for split rows. The old single-line layout (role
   select + email + percentage + remove button all on one flex row with no
   wrapping) overflowed on a phone-width screen and effectively made the
   email field invisible/unusable — it was there in the DOM, just squeezed
   off-screen. Email now always gets its own full-width line first, so it
   can never be crowded out regardless of viewport width. */
.jsi-split-row { display: block; }
.jsi-split-row .jsi-split-email { width: 100%; margin-bottom: 8px; }
.jsi-split-row-controls { display: flex; align-items: center; gap: 10px; }
.jsi-split-row-controls .jsi-split-role { flex: 1; min-width: 0; }
.jsi-split-row-controls .jsi-split-pct { width: 76px; flex-shrink: 0; }
.jsi-split-row-controls .jsi-repeat-remove { flex-shrink: 0; }
.jsi-split-row select, .jsi-split-row input[type=email], .jsi-split-row input[type=number] {
	font-family: inherit; font-size: 13.5px; padding: 9px 12px;
	border: 1px solid var(--jsi-line); border-radius: 8px;
	background: rgba(255,255,255,.03); color: var(--jsi-text); box-sizing: border-box;
}
.jsi-split-row select option { background: var(--jsi-bg-alt); color: var(--jsi-text); }
.jsi-split-row input::placeholder { color: var(--jsi-text-soft); }
.jsi-split-row select:focus-visible, .jsi-split-row input:focus-visible {
	outline: none; border-color: var(--jsi-gold); box-shadow: 0 0 0 3px var(--jsi-gold-dim);
}
.jsi-split-remainder { margin-top: 12px; font-size: 12.5px; color: var(--jsi-text-dim); }

/* ── Audio upload rows ────────────────────────────────────────────────── */
.jsi-audio-row { background: var(--jsi-panel); border: 1px solid var(--jsi-line); border-radius: 12px; padding: 14px 16px; margin-bottom: 10px; }
.jsi-audio-row-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.jsi-audio-row-head strong { font-size: 13.5px; font-weight: 600; }
.jsi-audio-meta { font-size: 12px; color: var(--jsi-text-soft); }
.jsi-audio-status { font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 999px; text-transform: uppercase; }
.jsi-audio-status.pending { background: rgba(255,255,255,.08); color: var(--jsi-text-soft); }
.jsi-audio-status.passed { background: var(--jsi-success-soft); color: var(--jsi-success); }
.jsi-audio-status.failed { background: var(--jsi-error-soft); color: var(--jsi-error); }

/* ── Artwork dropzone ─────────────────────────────────────────────────── */
.jsi-artwork-dropzone {
	border: 1.5px dashed var(--jsi-line); border-radius: 16px; padding: 40px; text-align: center;
	cursor: pointer; transition: border-color .2s, background .2s; color: var(--jsi-text-soft);
}
.jsi-artwork-dropzone:hover, .jsi-artwork-dropzone.is-dragover { border-color: var(--jsi-gold); background: var(--jsi-gold-dim); color: var(--jsi-gold); }
.jsi-artwork-dropzone img { max-width: 220px; max-height: 220px; border-radius: 10px; margin: 0 auto 10px; display: block; }

/* ── Checklist (Review step) ──────────────────────────────────────────── */
.jsi-checklist-item { display: flex; align-items: flex-start; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--jsi-line); }
.jsi-checklist-item:last-child { border-bottom: none; }
.jsi-checklist-icon { width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; margin-top: 1px; }
.jsi-checklist-icon.pass { background: var(--jsi-success-soft); color: var(--jsi-success); }
.jsi-checklist-icon.fail { background: var(--jsi-error-soft); color: var(--jsi-error); }
.jsi-checklist-label { font-size: 13.5px; color: var(--jsi-text-dim); }
.jsi-checklist-detail { font-size: 12px; color: var(--jsi-text-soft); margin-top: 2px; }
.jsi-checklist-item.is-clickable { cursor: pointer; border-radius: 8px; margin: 0 -8px; padding: 10px 8px; transition: background .15s; }
.jsi-checklist-item.is-clickable:hover { background: rgba(255,255,255,.04); }
.jsi-checklist-fix-link { font-size: 11.5px; color: var(--jsi-gold); font-weight: 600; margin-top: 4px; }

.jsi-review-actions { display: flex; gap: 12px; margin-top: 20px; flex-wrap: wrap; }

/* ── Checkout ─────────────────────────────────────────────────────────── */
.jsi-checkout { padding: 32px; }
.jsi-package-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin-top: 8px; }
.jsi-package-card {
	background: var(--jsi-panel); border: 1px solid var(--jsi-line); border-radius: 14px; padding: 22px 18px;
	display: flex; flex-direction: column; gap: 6px; transition: border-color .2s, transform .15s;
}
.jsi-package-card:hover { transform: translateY(-2px); border-color: var(--jsi-gold-line); }
.jsi-package-card.is-selected { border-color: var(--jsi-gold); background: var(--jsi-gold-dim); }
.jsi-package-type { font-size: 10.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--jsi-text-soft); }
.jsi-package-price { font-family: 'Poppins', sans-serif; font-size: 26px; font-weight: 700; color: #fff; margin: 4px 0; }
.jsi-package-price span { font-size: 13px; color: var(--jsi-text-soft); font-weight: 400; }
.jsi-package-card.is-featured { border-color: var(--jsi-gold-line); }
.jsi-package-badge {
	position: absolute; top: -10px; right: 14px; background: var(--jsi-gold); color: #fff;
	font-size: 10px; font-weight: 700; padding: 3px 10px; border-radius: 999px; letter-spacing: .04em;
}
.jsi-package-card { position: relative; }
.jsi-package-features { list-style: none; padding: 0; margin: 6px 0 4px; }
.jsi-package-features li {
	font-size: 12.5px; color: var(--jsi-text-dim); padding: 4px 0 4px 18px; position: relative;
}
.jsi-package-features li::before { content: ''; position: absolute; left: 0; top: 8px; width: 12px; height: 12px; background: var(--jsi-gold); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat; }

.jsi-package-renewal-note {
	font-size: 11.5px; line-height: 1.4; border-radius: 8px; padding: 7px 10px; margin: 6px 0 2px;
	display: flex; align-items: flex-start; gap: 6px; font-weight: 600;
}
.jsi-package-renewal-note.is-warning { background: var(--jsi-gold-dim); color: var(--jsi-gold); }
.jsi-package-renewal-note.is-success { background: var(--jsi-success-soft); color: var(--jsi-success); }
.jsi-package-renewal-note.is-info { background: rgba(255,255,255,.05); color: var(--jsi-text-soft); }
.jsi-package-renewal-note .jsi-renewal-note-icon { flex-shrink: 0; }

/* Package gate uses the same .jsi-package-grid/.jsi-package-card as checkout but with plain links, not JS-driven buttons */
.jsi-package-gate { padding: 32px; }
.jsi-package-gate .jsi-package-card .jsi-btn { margin-top: auto; }
.jsi-select-package { margin-top: 10px; }
.jsi-package-group-header { margin: 28px 0 12px; }
.jsi-package-group-header:first-of-type { margin-top: 8px; }
.jsi-package-group-header h3 { margin: 4px 0 2px; }
.jsi-package-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .08em; color: var(--jsi-gold); }

.jsi-payment-methods { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 10px; }
.jsi-payment-method-btn {
	background: rgba(255,255,255,.03); border: 1px solid var(--jsi-line); border-radius: 12px; padding: 18px;
	cursor: pointer; color: #fff; text-align: left; display: flex; flex-direction: column; gap: 4px;
}
.jsi-payment-method-btn:hover { border-color: var(--jsi-gold-line); }
.jsi-payment-method-btn.is-selected { border-color: var(--jsi-gold); background: var(--jsi-gold-dim); }
.jsi-payment-method-btn.is-locked, .jsi-payment-method-btn:disabled { opacity: .45; cursor: not-allowed; }
.jsi-payment-method-btn.is-locked:hover, .jsi-payment-method-btn:disabled:hover { border-color: var(--jsi-line); }

#jsi-checkout-renewal-ack-wrap { background: var(--jsi-gold-dim); border: 1px solid var(--jsi-gold-line); border-radius: 10px; padding: 10px 12px; color: var(--jsi-gold); }

.jsi-bank-account-box { background: rgba(255,255,255,.03); border: 1px solid var(--jsi-line); border-radius: 12px; padding: 16px; margin-top: 14px; font-size: 13.5px; }
.jsi-bank-account-box dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; margin: 0 0 10px; }
.jsi-bank-account-box dt { color: var(--jsi-text-soft); }
.jsi-bank-account-box dd { margin: 0; color: #fff; font-weight: 600; }
.jsi-bank-order-row { padding: 12px 0; border-bottom: 1px solid var(--jsi-line); }
.jsi-bank-order-row:last-child { border-bottom: none; }
.jsi-bank-order-row-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

/* ── Responsive ───────────────────────────────────────────── */
/* Bugfix: dashboard cut off on mobile. Root cause: .jsi-shell's base rule (above)
   sets shorthand `overflow: hidden` on both axes, for rounded-corner masking.
   Harmless on desktop where the 3-column grid keeps content short, but on mobile
   the dashboard grid drops to a single stacked column — taller than the box had
   been given room for — and overflow-y:hidden clipped everything past that point
   instead of letting the box grow. This rule already reset overflow-x for mobile
   but never touched overflow-y, so the vertical clip never actually lifted.
   Restoring overflow-y here fixes it without changing the rounded-corner look. */
.jsi-shell { overflow-x: hidden; overflow-y: visible; max-width: 100%; }
.jsi-table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.jsi-table-scroll .jsi-release-table { min-width: 480px; }

@media (max-width: 720px) {
	.jsi-dashboard { grid-template-columns: 1fr; }
	.jsi-nav { display: flex; overflow-x: auto; padding: 10px 0; border-right: none; border-bottom: 1px solid var(--jsi-line); }
	.jsi-release-table-wrap { display: none; }
	.jsi-release-cards { display: block; }
	.jsi-nav-brand { display: none; }
	.jsi-nav-item { white-space: nowrap; border-left: none; border-bottom: 3px solid transparent; }
	.jsi-nav-item.is-active { border-left: none; border-bottom-color: var(--jsi-gold); }
	/* Bugfix: this sidebar's own light/dark toggle was built with a
	   `width:calc(100% - 20px)` inline style for the vertical desktop
	   sidebar. Once .jsi-nav flips to a horizontal scrolling tab strip on
	   mobile above, that one item claimed almost the entire strip's width
	   and shoved every other tab (New Release, Royalties, Wallet…) off
	   past the edge of the screen, so mobile users had to know to scroll
	   sideways to find them. It's also unreachable here in the first place
	   — mobile users open the hamburger drawer, not this sidebar — so the
	   working, reachable copy of the toggle now lives in that drawer
	   (see .jsi-global-theme-toggle) and this one just steps aside. */
	.jsi-nav-item.jsi-theme-toggle { display: none !important; }
	.jsi-cards { grid-template-columns: 1fr; }
	.jsi-field-row { grid-template-columns: 1fr; }
	.jsi-type-cards { grid-template-columns: 1fr; }
	.jsi-onboarding, .jsi-release-wizard { padding: 16px; }
	.jsi-main { padding: 20px 16px; }
	/* Bugfix: the save-indicator's flex:1 combined with plain flex-wrap:wrap was
	   pushing Continue onto its own wrapped row, off the visible viewport.
	   Force the indicator onto its own full-width row on top (order:-1), then
	   give Back/Continue equal flex:1 so they always sit side by side below it. */
	.jsi-wizard-nav { padding: 16px; flex-wrap: wrap; }
	.jsi-save-indicator { flex: 1 1 100%; order: -1; margin-bottom: 6px; }
	.jsi-wizard-nav .jsi-btn { flex: 1; text-align: center; }
	.jsi-main-header { flex-direction: column; gap: 10px; }
}

/* Contributor rows specifically: name field was unreadably squeezed next to the
   role dropdown and remove button on narrow screens — stack name above role. */
@media (max-width: 560px) {
	.jsi-contributor-row {
		flex-direction: column; align-items: stretch; gap: 8px; position: relative; padding-right: 40px;
	}
	.jsi-contributor-row .jsi-c-name { width: 100%; }
	.jsi-contributor-row .jsi-c-role { width: 100%; max-width: none !important; }
	.jsi-contributor-row .jsi-repeat-remove { position: absolute; top: 6px; right: 4px; }
}

@media (prefers-reduced-motion: reduce) {
	.jsi-step-panel { animation: none; }
	.jsi-btn, .jsi-type-card { transition: none; }
}

/* ── Phase 3.2 additions: modal picker, progress bars, swap toggle, review previews ── */

.jsi-picker-trigger {
	width: 100%; text-align: left; font-family: inherit; font-size: 14px;
	padding: 11px 14px; border: 1px solid var(--jsi-line); border-radius: 10px;
	background: rgba(255,255,255,.03); color: var(--jsi-text); cursor: pointer;
}
.jsi-picker-trigger:hover { border-color: var(--jsi-gold-line); }
.jsi-picker-trigger:focus-visible { outline: none; border-color: var(--jsi-gold); box-shadow: 0 0 0 3px var(--jsi-gold-dim); }

.jsi-modal-overlay {
	position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 9999;
	display: flex; align-items: center; justify-content: center; padding: 20px;
}
.jsi-modal {
	background: var(--jsi-bg-alt); border: 1px solid var(--jsi-line); border-radius: 16px;
	width: 100%; max-width: 420px; max-height: 80vh; display: flex; flex-direction: column; overflow: hidden;
	box-shadow: 0 30px 80px rgba(0,0,0,.6);
}
.jsi-modal.is-wide { max-width: 560px; }
.jsi-modal-body { padding: 0 20px 14px; overflow-y: auto; flex: 1; }
.jsi-modal-header { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px 10px; }
.jsi-modal-header span { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 16px; color: #fff; }
.jsi-modal-close { background: none; border: none; color: var(--jsi-text-soft); font-size: 22px; cursor: pointer; line-height: 1; }
.jsi-modal-close:hover { color: var(--jsi-gold); }
.jsi-modal-search {
	margin: 0 20px 10px; padding: 10px 14px; border-radius: 8px; border: 1px solid var(--jsi-line);
	background: rgba(255,255,255,.04); color: #fff; font-size: 13.5px;
}
.jsi-modal-list { overflow-y: auto; flex: 1; padding: 0 8px 8px; }
.jsi-modal-item {
	display: flex; justify-content: space-between; align-items: center; padding: 10px 12px;
	border-radius: 8px; cursor: pointer; font-size: 13.5px; color: var(--jsi-text-dim);
}
.jsi-modal-item:hover { background: rgba(255,255,255,.05); }
.jsi-modal-item.is-selected { background: var(--jsi-gold-dim); color: var(--jsi-gold); }
.jsi-modal-check { color: var(--jsi-gold); font-weight: 700; }
.jsi-modal-footer { display: flex; justify-content: space-between; align-items: center; padding: 12px 20px; border-top: 1px solid var(--jsi-line); }

/* Progress bars for uploads */
.jsi-progress-bar { height: 6px; border-radius: 999px; background: rgba(255,255,255,.08); overflow: hidden; margin: 8px 0; }
.jsi-progress-fill { height: 100%; width: 0%; background: var(--jsi-gold); transition: width .15s ease; }

/* Featured artist registration block + swap toggle */
.jsi-featured-registration { display: none; margin-top: 10px; padding: 14px; background: rgba(255,255,255,.03); border-radius: 10px; }
.jsi-swap-toggle { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--jsi-text-dim); margin-top: 10px; text-transform: none; letter-spacing: 0; font-weight: 400; }

/* Preview trimmer */
.jsi-preview-trimmer { margin-top: 10px; padding: 10px 12px; background: rgba(255,255,255,.03); border-radius: 10px; }
.jsi-preview-controls { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 12.5px; color: var(--jsi-text-dim); }
.jsi-preview-controls label { display: flex; align-items: center; gap: 6px; }
.jsi-preview-controls input[type=number] {
	padding: 6px 8px; border-radius: 6px; border: 1px solid var(--jsi-line); background: rgba(255,255,255,.04); color: #fff;
}

/* Review step: media previews + edit buttons */
.jsi-review-media { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.jsi-review-media-item { background: var(--jsi-panel); border: 1px solid var(--jsi-line); border-radius: 12px; padding: 14px; }
.jsi-review-media-item img { width: 100%; max-width: 200px; border-radius: 8px; display: block; margin: 8px 0; }
.jsi-review-track-row { display: flex; justify-content: space-between; font-size: 13px; padding: 5px 0; border-bottom: 1px solid var(--jsi-line); }
.jsi-review-track-row:last-child { border-bottom: none; }
.jsi-edit-btn {
	background: none; border: 1px solid var(--jsi-line); color: var(--jsi-gold); font-size: 12px; font-weight: 600;
	padding: 6px 12px; border-radius: 999px; cursor: pointer; margin-top: 8px;
}
.jsi-edit-btn:hover { border-color: var(--jsi-gold-line); background: var(--jsi-gold-dim); }

@media (max-width: 720px) {
	.jsi-review-media { grid-template-columns: 1fr; }
}

/* ── Auth pages (login/register/forgot/reset) ────────────────────────── */
.jsi-auth-shell { display: flex; align-items: center; justify-content: center; min-height: 420px; padding: 40px 20px; }
.jsi-auth-card {
	width: 100%; max-width: 380px; background: var(--jsi-panel); border: 1px solid var(--jsi-line);
	border-radius: 16px; padding: 32px;
}
.jsi-auth-card h2 { font-size: 22px; margin-bottom: 4px; }
.jsi-auth-card .jsi-muted { margin-bottom: 20px; display: block; }
.jsi-btn-block { width: 100%; text-align: center; margin-top: 6px; }
.jsi-checkbox-label { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--jsi-text-dim); text-transform: none; letter-spacing: 0; font-weight: 400; }
.jsi-auth-links { display: flex; justify-content: center; gap: 8px; margin-top: 20px; font-size: 13px; }
.jsi-auth-links a { color: var(--jsi-gold); text-decoration: none; }
.jsi-auth-links a:hover { text-decoration: underline; }
.jsi-otp-input { font-size: 24px; letter-spacing: .5em; text-align: center; font-family: 'Poppins', sans-serif; }
.jsi-auth-resend { text-align: center; margin-top: 10px; }
.jsi-btn-link { background: none; border: none; color: var(--jsi-gold); font-size: 13px; cursor: pointer; padding: 4px; text-decoration: none; }
.jsi-btn-link:hover { text-decoration: underline; }
.jsi-delete-release { color: var(--jsi-error); margin-left: 8px; }

@media (max-width: 480px) {
	.jsi-auth-card { padding: 24px; }
}

/* ── DSP picker (Distribution step) ──────────────────────────────────── */
.jsi-dsp-category { margin-bottom: 16px; border: 1px solid var(--jsi-line); border-radius: 10px; padding: 12px 14px; background: rgba(255,255,255,.02); }
.jsi-dsp-category-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; font-size: 13.5px; color: #fff; }
.jsi-dsp-cat-toggle { font-size: 12px; color: var(--jsi-text-soft); }
.jsi-dsp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 6px 12px; }
.jsi-dsp-item { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--jsi-text-dim); font-weight: 400; text-transform: none; letter-spacing: 0; }
.jsi-dsp-logo { width: 26px; height: 26px; flex: 0 0 26px; object-fit: contain; border-radius: 7px; padding: 4px; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.22); }
.jsi-dsp-name { min-width: 0; }
.jsi-dsp-item input { accent-color: var(--jsi-gold); }
.jsi-dsp-item.is-locked { cursor: pointer; color: var(--jsi-text-soft); }
.jsi-dsp-lock-badge { font-size: 10px; font-weight: 700; letter-spacing: .03em; color: var(--jsi-gold); background: var(--jsi-gold-dim); border: 1px solid var(--jsi-gold-line); border-radius: 5px; padding: 1px 6px; }

/* ── Account Security (authenticator app, recovery codes, trusted devices) ── */
.jsi-account-security { max-width: 760px; margin: 0 auto; }
.jsi-security-actions { display: flex; align-items: center; gap: 18px; margin-top: 10px; flex-wrap: wrap; }
.jsi-security-steps { margin: 0 0 16px; padding-left: 18px; color: var(--jsi-text-dim); font-size: 13.5px; line-height: 1.7; }
.jsi-security-steps li { margin-bottom: 10px; }
.jsi-security-key {
	font-family: 'Poppins', monospace; font-size: 15px; letter-spacing: .06em; word-break: break-all;
	background: rgba(255,255,255,.04); border: 1px solid var(--jsi-line); border-radius: 8px;
	padding: 10px 12px; margin: 8px 0; color: #fff;
}
.jsi-recovery-codes { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; font-size: 14px; }

/* ── Developer portal (Phase 9) ──────────────────────────────────────── */
.jsi-developer-portal { padding: 32px; max-width: 880px; margin: 0 auto; }
.jsi-dev-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.jsi-dev-docs-btn { white-space: nowrap; }
.jsi-dev-row {
	display: flex; justify-content: space-between; align-items: center; gap: 12px;
	padding: 14px 4px; border-bottom: 1px solid var(--jsi-line); font-size: 13.5px; color: var(--jsi-text-dim);
	transition: background .15s ease;
}
.jsi-dev-row:hover { background: rgba(255,255,255,.02); }
.jsi-dev-row:last-of-type { border-bottom: none; }
.jsi-dev-row strong { color: #fff; }
.jsi-dev-create summary { cursor: pointer; user-select: none; }
.jsi-dev-create[open] summary { margin-bottom: 4px; }
.jsi-btn-small { padding: 6px 12px; font-size: 12.5px; }

/* ── Developer documentation page ────────────────────────────────────── */
.jsi-developer-docs { padding: 32px; max-width: 880px; margin: 0 auto; }
.jsi-developer-docs h3 { margin-top: 0; font-size: 18px; }
.jsi-developer-docs .jsi-panel { margin-bottom: 18px; }
.jsi-developer-docs p { color: var(--jsi-text-dim); line-height: 1.65; font-size: 14px; }
.jsi-developer-docs ol, .jsi-developer-docs ul { color: var(--jsi-text-dim); line-height: 1.8; font-size: 14px; }
.jsi-developer-docs code { background: rgba(255,255,255,.06); padding: 1px 6px; border-radius: 4px; font-size: 12.5px; }
.jsi-doc-code {
	background: #0c0e14; border: 1px solid var(--jsi-line); border-radius: 10px; padding: 16px 18px;
	overflow-x: auto; font-family: 'Poppins', monospace; font-size: 12.5px; line-height: 1.7; color: #d7e0ea;
	white-space: pre;
}
.jsi-doc-table { width: 100%; border-collapse: collapse; font-size: 13px; margin-top: 8px; }
.jsi-doc-table th, .jsi-doc-table td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--jsi-line); color: var(--jsi-text-dim); }
.jsi-doc-table th { color: #fff; font-weight: 600; }
.jsi-doc-event-list { columns: 2; column-gap: 24px; }

/* ── Catalogue dashboard ──────────────────────────────────────────────── */
.jsi-catalog { padding: 28px 32px 60px; max-width: 1200px; margin: 0 auto; }
.jsi-catalog-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }

.jsi-catalog-toolbar {
	display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between;
	background: rgba(255,255,255,.03); border: 1px solid var(--jsi-line); border-radius: 14px; padding: 14px 16px;
	margin-bottom: 16px; position: sticky; top: 0; z-index: 5;
}
.jsi-catalog-search { flex: 1 1 220px; min-width: 180px; }
.jsi-catalog-search input {
	width: 100%; background: rgba(255,255,255,.04); border: 1px solid var(--jsi-line); border-radius: 10px;
	padding: 9px 12px; color: #fff; font-size: 13.5px;
}
.jsi-catalog-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.jsi-catalog-filters select {
	background: rgba(255,255,255,.04); border: 1px solid var(--jsi-line); border-radius: 10px;
	padding: 8px 10px; color: #fff; font-size: 13px;
}
.jsi-catalog-view-toggle { display: flex; gap: 4px; }
.jsi-view-btn {
	background: rgba(255,255,255,.04); border: 1px solid var(--jsi-line); border-radius: 8px;
	width: 34px; height: 34px; color: var(--jsi-text-dim); cursor: pointer; font-size: 14px;
}
.jsi-view-btn.is-active { background: var(--jsi-gold, #A855F7); color: #17181c; border-color: transparent; }

.jsi-catalog-count { margin: 4px 2px 14px; font-size: 12.5px; }

.jsi-catalog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.jsi-catalog-grid[data-view="list"] { grid-template-columns: 1fr; }

.jsi-cat-card { background: rgba(255,255,255,.03); border: 1px solid var(--jsi-line); border-radius: 14px; overflow: hidden; transition: border-color .15s ease; }
.jsi-cat-card.is-open { border-color: rgba(124,58,237,.4); }

.jsi-cat-card-head { display: flex; align-items: center; gap: 12px; padding: 12px; cursor: pointer; }
.jsi-catalog-grid[data-view="grid"] .jsi-cat-card-head { flex-direction: column; align-items: stretch; text-align: center; }
.jsi-catalog-grid[data-view="grid"] .jsi-cat-thumb { width: 100%; aspect-ratio: 1/1; }
.jsi-catalog-grid[data-view="grid"] .jsi-cat-card-info { text-align: left; }

.jsi-cat-thumb { width: 56px; height: 56px; border-radius: 8px; overflow: hidden; flex-shrink: 0; background: rgba(255,255,255,.05); }
.jsi-cat-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.jsi-cat-thumb-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 22px; opacity: .4; }

.jsi-cat-card-info { flex: 1; min-width: 0; }
.jsi-cat-card-title { font-weight: 700; font-size: 14px; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jsi-cat-card-meta { font-size: 12px; margin: 2px 0 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jsi-explicit-tag { display: inline-block; background: #444; color: #fff; font-size: 9px; font-weight: 700; padding: 1px 4px; border-radius: 3px; vertical-align: middle; }

.jsi-cat-expand-btn { background: none; border: none; color: var(--jsi-text-dim); cursor: pointer; font-size: 11px; padding: 4px 8px; flex-shrink: 0; }

.jsi-cat-card-details { border-top: 1px solid var(--jsi-line); padding: 14px 16px; font-size: 13px; }
.jsi-cat-detail-row { margin-bottom: 8px; color: var(--jsi-text-dim); }
.jsi-cat-detail-row strong { color: #fff; }
.jsi-cat-track-list { margin: 10px 0; border-top: 1px dashed var(--jsi-line); padding-top: 8px; }
.jsi-cat-track-row { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 12.5px; flex-wrap: wrap; }
.jsi-cat-track-num { color: var(--jsi-text-soft); width: 20px; flex-shrink: 0; }
.jsi-cat-track-title { flex: 1; min-width: 120px; color: #fff; }
.jsi-cat-track-isrc { color: var(--jsi-text-dim); font-family: monospace; font-size: 11.5px; }
.jsi-cat-detail-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }

.jsi-catalog-pagination { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; margin-top: 24px; }
.jsi-page-btn {
	background: rgba(255,255,255,.04); border: 1px solid var(--jsi-line); border-radius: 8px;
	width: 32px; height: 32px; color: var(--jsi-text-dim); cursor: pointer; font-size: 12.5px;
}
.jsi-page-btn.is-active { background: var(--jsi-gold, #A855F7); color: #17181c; border-color: transparent; }

@media (max-width: 640px) {
	.jsi-catalog { padding: 18px 14px 40px; }
	.jsi-catalog-toolbar { flex-direction: column; align-items: stretch; }
	.jsi-catalog-filters { justify-content: stretch; }
	.jsi-catalog-filters select { flex: 1; }
	.jsi-catalog-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
}

/* ── Label Package ────────────────────────────────────────────────────── */
.jsi-label-page, .jsi-addons-page { padding: 28px 32px 60px; max-width: 760px; margin: 0 auto; }
.jsi-label-block { margin-bottom: 20px; }
.jsi-label-block-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.jsi-label-block-head h3 { margin: 0 0 4px; }
.jsi-label-roster { width: 100%; border-collapse: collapse; margin-bottom: 14px; font-size: 13.5px; }
.jsi-label-roster td { padding: 12px 4px; border-bottom: 1px solid var(--jsi-line); color: #fff; vertical-align: top; }
.jsi-label-roster tr:last-child td { border-bottom: none; }
.jsi-label-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.jsi-label-payment-area:not(:empty) { margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--jsi-line); }
.jsi-label-create-block h3 { margin-top: 0; }
#jsi-label-name-rows { display: flex; flex-direction: column; gap: 8px; }
#jsi-label-name-rows input, .jsi-lbl-add-name, .jsi-label-create-block input[type="text"] {
	background: rgba(255,255,255,.04); border: 1px solid var(--jsi-line); border-radius: 10px;
	padding: 9px 12px; color: #fff; font-size: 13.5px; width: 100%;
}
.jsi-label-price-preview { margin: 14px 0; font-size: 14px; color: #fff; }
@media (max-width: 640px) {
	.jsi-label-page, .jsi-addons-page { padding: 18px 14px 40px; }
}

/* ── Full public product shell ────────────────────────────────────────── */
.jsi-site-body {
	margin: 0;
	background: #000;
	color: #f8f8f4;
	font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.jsi-site-body *, .jsi-site-body *::before, .jsi-site-body *::after { box-sizing: border-box; }
.jsi-site-body a { color: inherit; }
.jsi-site-body .screen-reader-text {
	position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
	clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.jsi-site {
	--site-black: #000;
	--site-panel: #0e1017;
	--site-line: rgba(255,255,255,.12);
	--site-soft: rgba(248,248,244,.62);
	--site-muted: rgba(248,248,244,.42);
	--site-gold: #7C3AED;
	--site-cyan: #4de8ff;
	min-height: 100vh;
	overflow: visible;
	background: var(--site-black);
}
.jsi-site-header {
	position: relative; z-index: 50; border-bottom: 1px solid rgba(255,255,255,.1);
	background: rgba(7,8,12,.78);
}
.jsi-site-header-inner, .jsi-site-footer, .jsi-home-container {
	width: min(1240px, calc(100% - 56px)); margin: 0 auto;
}
.jsi-site-header-inner {
	min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 28px;
}
.jsi-site-brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.jsi-site-mark {
	display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--site-gold);
	border-radius: 50%; color: var(--site-gold); font: 700 11px/1 "Space Grotesk", sans-serif; letter-spacing: .04em;
	overflow: hidden; background: rgba(255,255,255,.03); flex-shrink: 0;
}
.jsi-site-mark img { width: 100%; height: 100%; object-fit: contain; }
.jsi-site-mark-sm { width: 26px; height: 26px; }
.jsi-site-footer-brand { display: flex; align-items: center; gap: 11px; }
.jsi-site-footer-brand > span:last-child { display: flex; flex-direction: column; gap: 3px; }
.jsi-site-brand-copy { display: flex; flex-direction: column; gap: 3px; }
.jsi-site-brand-copy strong { font: 700 13px/1 "Space Grotesk", sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.jsi-site-brand-copy small { color: var(--site-muted); font-size: 10px; letter-spacing: .04em; }
.jsi-site-nav { display: flex; align-items: center; gap: 25px; font-size: 12px; letter-spacing: .04em; }
.jsi-site-nav a { color: var(--site-soft); text-decoration: none; transition: color .2s ease; }
.jsi-site-nav a:hover { color: #fff; }
.jsi-site-nav .jsi-site-nav-muted { color: #fff; }
.jsi-site-nav .jsi-site-nav-cta {
	padding: 12px 16px; border-radius: 999px; background: var(--site-gold); color: #0a0a0a; font-weight: 800;
	box-shadow: 0 7px 24px rgba(124,58,237,.15);
}
.jsi-site-nav-cta span { margin-left: 8px; font-size: 15px; }
.jsi-menu-toggle { display: none; border: 0; background: none; padding: 8px; }
.jsi-menu-toggle span { display: block; width: 22px; height: 1px; margin: 5px; background: #fff; }
.jsi-site-main { min-height: calc(100vh - 160px); }
.jsi-site-main:not(.is-home) { padding: 56px 0 92px; }
.jsi-site-page-title { width: min(1080px, calc(100% - 56px)); margin: 0 auto 24px; }
.jsi-site-kicker, .jsi-home-index {
	color: var(--site-gold); font: 700 10px/1.2 "Space Grotesk", sans-serif; letter-spacing: .18em; text-transform: uppercase;
}
.jsi-site-page-title h1 { margin: 12px 0 0; font: 700 clamp(2rem, 5vw, 4rem)/.95 "Space Grotesk", sans-serif; }
.jsi-site-footer {
	display: grid; grid-template-columns: 1fr auto auto; gap: 28px; align-items: center;
	padding: 28px 0 34px; border-top: 1px solid var(--site-line); color: var(--site-muted); font-size: 11px;
}
.jsi-site-footer strong { display: block; color: #fff; font: 700 12px/1.2 "Space Grotesk", sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.jsi-site-footer span { display: block; margin-top: 5px; }
.jsi-site-footer-links { display: flex; gap: 18px; }
.jsi-site-footer-links a { text-decoration: none; }

/* ── Public homepage ─────────────────────────────────────────────────── */
.jsi-home { background: #000; color: #f8f8f4; font-family: 'Poppins', sans-serif; }
.jsi-home h1, .jsi-home h2, .jsi-home h3 { font-family: "Space Grotesk", sans-serif; }
.jsi-home-hero { min-height: 720px; display: grid; align-items: center; position: relative; overflow: hidden; }
.jsi-home-hero-grid {
	position: absolute; inset: 0; opacity: .26;
	background-image: linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
	background-size: 72px 72px; mask-image: linear-gradient(90deg, #000, transparent 72%);
}
.jsi-home-hero-glow {
	position: absolute; width: 62vw; height: 62vw; right: -18vw; top: -27vw; border-radius: 50%;
	background: radial-gradient(circle, rgba(89,31,139,.36), rgba(89,31,139,0) 67%);
}
.jsi-home-hero-inner { display: grid; grid-template-columns: minmax(0, .9fr) minmax(440px, 1.1fr); align-items: center; gap: 76px; position: relative; z-index: 1; padding: 100px 0 80px; }
.jsi-home-eyebrow { display: flex; align-items: center; gap: 9px; color: var(--site-soft); font: 700 10px/1 "Space Grotesk", sans-serif; letter-spacing: .16em; text-transform: uppercase; }
.jsi-home-eyebrow i, .jsi-live-dot { width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: var(--site-gold); box-shadow: 0 0 16px var(--site-gold); }
.jsi-home-hero h1 { margin: 25px 0 22px; max-width: 650px; font-size: clamp(3.8rem, 8vw, 7.7rem); line-height: .84; letter-spacing: -.08em; }
.jsi-home em { color: var(--site-gold); font-style: normal; }
.jsi-home-lede { max-width: 490px; margin: 0; color: var(--site-soft); font-size: 16px; line-height: 1.7; }
.jsi-home-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 34px; }
.jsi-home-button { display: inline-flex; align-items: center; gap: 15px; min-height: 47px; padding: 0 20px; border: 1px solid var(--site-line); border-radius: 999px; font: 700 11px/1 "Space Grotesk", sans-serif; letter-spacing: .06em; text-decoration: none; text-transform: uppercase; transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.jsi-home-button:hover { transform: translateY(-2px); border-color: var(--site-gold); }
.jsi-home-button.is-primary { border-color: var(--site-gold); background: var(--site-gold); color: #0a0a0a; }
.jsi-home-button.is-quiet { color: #fff; background: rgba(255,255,255,.03); }
.jsi-home-proof { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 42px; color: var(--site-muted); font-size: 11px; }
.jsi-home-proof strong { color: var(--site-cyan); font: 700 10px/1 "Space Grotesk", sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.jsi-home-proof .jsi-live-dot { width: 5px; height: 5px; background: var(--site-cyan); box-shadow: 0 0 11px var(--site-cyan); }
.jsi-waveform-card { padding: 18px 18px 14px; border: 1px solid rgba(255,255,255,.16); border-radius: 15px; background: linear-gradient(145deg, rgba(255,255,255,.1), rgba(255,255,255,.025)); box-shadow: 0 35px 100px rgba(0,0,0,.4); transform: perspective(1100px) rotateY(-8deg) rotateX(3deg); }
.jsi-wave-topline, .jsi-wave-footer { display: flex; align-items: center; justify-content: space-between; color: var(--site-muted); font: 10px/1.2 "Space Grotesk", sans-serif; letter-spacing: .12em; }
.jsi-wave-topline strong, .jsi-wave-footer span:last-child { color: var(--site-cyan); font-size: 9px; }
.jsi-wave-topline strong b { display: inline-block; width: 5px; height: 5px; margin-right: 5px; border-radius: 50%; background: var(--site-cyan); box-shadow: 0 0 10px var(--site-cyan); }
.jsi-waveform { height: 230px; position: relative; display: flex; align-items: center; margin: 20px 0 12px; border-top: 1px solid rgba(255,255,255,.07); border-bottom: 1px solid rgba(255,255,255,.07); overflow: hidden; }
.jsi-wave-axis { position: absolute; left: 0; right: 0; top: 50%; border-top: 1px dashed rgba(255,255,255,.13); }
.jsi-wave-bars { position: absolute; inset: 25px 12px; display: flex; align-items: center; justify-content: space-between; gap: 4px; }
.jsi-wave-bars span { display: block; width: 100%; height: var(--bar); max-height: 100%; min-height: 4px; border-radius: 4px; background: linear-gradient(180deg, rgba(124,58,237,.28), var(--site-gold)); transform: scaleY(.7); opacity: .76; animation: jsi-wave-pulse 1.9s ease-in-out infinite alternate; }
.jsi-wave-bars span:nth-child(3n) { animation-delay: -.7s; }
.jsi-wave-bars span:nth-child(4n) { animation-delay: -1.2s; }
@keyframes jsi-wave-pulse { to { transform: scaleY(1); opacity: 1; } }
.jsi-wave-playhead { position: absolute; top: 0; bottom: 0; left: 7%; width: 1px; background: var(--site-cyan); box-shadow: 0 0 18px var(--site-cyan); animation: jsi-playhead 7s linear infinite; }
.jsi-wave-playhead::after { content: ""; position: absolute; top: 50%; left: -4px; width: 9px; height: 9px; border-radius: 50%; background: var(--site-cyan); box-shadow: 0 0 16px var(--site-cyan); }
.jsi-wave-playhead span { position: absolute; top: 8px; left: 7px; color: var(--site-cyan); font: 8px/1 "Space Grotesk", sans-serif; letter-spacing: .1em; }
@keyframes jsi-playhead { from { left: 7%; } to { left: 93%; } }
.jsi-wave-footer { padding-bottom: 15px; border-bottom: 1px solid rgba(255,255,255,.08); }
.jsi-dsp-orbits { display: flex; flex-wrap: wrap; gap: 7px; padding-top: 14px; }
.jsi-dsp-orbits span { padding: 6px 9px; border: 1px solid rgba(255,255,255,.12); border-radius: 5px; color: var(--site-soft); font: 10px/1 "Space Grotesk", sans-serif; }
.jsi-dsp-orbits span:nth-child(2), .jsi-dsp-orbits span:nth-child(4) { border-color: rgba(77,232,255,.4); color: var(--site-cyan); }
.jsi-home-scroll-cue { position: absolute; bottom: 27px; left: 50%; display: flex; align-items: center; gap: 12px; color: var(--site-muted); font: 10px/1 "Space Grotesk", sans-serif; letter-spacing: .14em; text-transform: uppercase; transform: translateX(-50%); }
.jsi-home-scroll-cue span { width: 27px; height: 1px; background: var(--site-gold); }
.jsi-home-signal-strip { border-top: 1px solid var(--site-line); border-bottom: 1px solid var(--site-line); }
.jsi-home-signal-strip .jsi-home-container { display: flex; align-items: center; gap: 24px; padding: 14px 0; color: var(--site-muted); font: 9px/1 "Space Grotesk", sans-serif; letter-spacing: .16em; }
.jsi-home-signal-line { flex: 1; height: 1px; background: linear-gradient(90deg, var(--site-gold), transparent); }
.jsi-home-signal-strip .is-cyan { color: var(--site-cyan); }
.jsi-home-section { padding: 130px 0; }
.jsi-home-section-heading { display: grid; grid-template-columns: 1fr .75fr; gap: 70px; align-items: end; margin-bottom: 55px; }
.jsi-home-section-heading h2, .jsi-home-flow h2, .jsi-home-console-caption h2, .jsi-home-final h2 { margin: 15px 0 0; font-size: clamp(2.6rem, 5.5vw, 5.6rem); line-height: .87; letter-spacing: -.07em; }
.jsi-home-section-heading p, .jsi-home-flow-intro p, .jsi-home-console-caption p, .jsi-home-final p { margin: 0; color: var(--site-soft); font-size: 15px; line-height: 1.7; }
.jsi-home-feature-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 13px; }
.jsi-home-feature { position: relative; min-height: 265px; padding: 24px; display: flex; flex-direction: column; justify-content: flex-end; border: 1px solid var(--site-line); border-radius: 12px; background: linear-gradient(140deg, rgba(255,255,255,.075), rgba(255,255,255,.02)); overflow: hidden; transition: transform .25s ease, border-color .25s ease; }
.jsi-home-feature:hover { transform: translateY(-5px); border-color: rgba(124,58,237,.5); }
.jsi-home-feature.is-wide { grid-row: span 2; min-height: 543px; background: radial-gradient(circle at 80% 20%, rgba(124,58,237,.18), transparent 35%), linear-gradient(140deg, #17130a, #0d0e13); }
.jsi-home-feature.is-cyan-card { background: radial-gradient(circle at 80% 20%, rgba(77,232,255,.15), transparent 37%), linear-gradient(140deg, #0c171a, #0d0e13); }
.jsi-feature-number { position: absolute; top: 22px; left: 24px; color: var(--site-muted); font: 10px/1 "Space Grotesk", sans-serif; letter-spacing: .12em; }
.jsi-home-feature h3 { margin: 0 0 10px; color: #fff; font-size: 24px; letter-spacing: -.04em; }
.jsi-home-feature p { max-width: 330px; margin: 0; color: var(--site-soft); font-size: 13px; line-height: 1.65; }
.jsi-feature-arrow { position: absolute; top: 20px; right: 22px; color: var(--site-gold); font-size: 18px; font-weight: 400; }
.jsi-home-flow { background: #0d0f14; border-top: 1px solid var(--site-line); border-bottom: 1px solid var(--site-line); }
.jsi-home-flow .jsi-home-container { display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; }
.jsi-home-flow-intro h2 { margin-bottom: 25px; }
.jsi-home-flow-intro p { max-width: 360px; }
.jsi-home-flow-steps { display: grid; gap: 0; }
.jsi-home-flow-steps > div { display: grid; grid-template-columns: 54px 1fr; column-gap: 22px; padding: 25px 0; border-top: 1px solid var(--site-line); }
.jsi-home-flow-steps > div:last-child { border-bottom: 1px solid var(--site-line); }
.jsi-home-flow-steps span { color: var(--site-gold); font: 11px/1 "Space Grotesk", sans-serif; }
.jsi-home-flow-steps strong { font: 600 26px/.95 "Space Grotesk", sans-serif; letter-spacing: -.04em; }
.jsi-home-flow-steps p { grid-column: 2; margin: 9px 0 0; color: var(--site-soft); font-size: 13px; line-height: 1.55; }
.jsi-home-console { padding-bottom: 30px; }
.jsi-console-frame { border: 1px solid rgba(255,255,255,.16); border-radius: 13px; background: #0d0f14; box-shadow: 0 40px 100px rgba(0,0,0,.35); overflow: hidden; }
.jsi-console-chrome { display: flex; align-items: center; gap: 13px; padding: 12px 16px; border-bottom: 1px solid var(--site-line); color: var(--site-muted); font: 10px/1 "Space Grotesk", sans-serif; letter-spacing: .06em; }
.jsi-console-chrome > span { display: flex; gap: 5px; }
.jsi-console-chrome i { width: 6px; height: 6px; border-radius: 50%; background: #494c53; }
.jsi-console-chrome b { font-weight: 400; }
.jsi-console-chrome small { margin-left: auto; color: var(--site-cyan); letter-spacing: .15em; }
.jsi-console-body { display: grid; grid-template-columns: 175px 1fr; min-height: 315px; }
.jsi-console-body aside { display: flex; flex-direction: column; gap: 17px; padding: 26px 20px; border-right: 1px solid var(--site-line); color: var(--site-muted); font: 10px/1 "Space Grotesk", sans-serif; }
.jsi-console-body aside strong { margin-bottom: 25px; color: var(--site-gold); letter-spacing: .15em; }
.jsi-console-body aside .is-active { color: #fff; }
.jsi-console-content { padding: 28px; }
.jsi-console-title { display: flex; justify-content: space-between; align-items: center; gap: 20px; color: #fff; font: 600 17px/1 "Space Grotesk", sans-serif; }
.jsi-console-title b { padding: 9px 11px; border: 1px solid var(--site-gold); border-radius: 5px; color: var(--site-gold); font: 700 9px/1 "Space Grotesk", sans-serif; letter-spacing: .04em; text-transform: uppercase; }
.jsi-console-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px; margin-top: 27px; }
.jsi-console-stats > div { padding: 14px; border: 1px solid var(--site-line); border-radius: 7px; }
.jsi-console-stats small, .jsi-chart-label span { display: block; color: var(--site-muted); font: 9px/1 "Space Grotesk", sans-serif; letter-spacing: .12em; }
.jsi-console-stats strong { display: block; margin: 12px 0 7px; color: #fff; font: 600 clamp(1.3rem, 2.6vw, 2rem)/1 "Space Grotesk", sans-serif; letter-spacing: -.05em; }
.jsi-console-stats em { color: var(--site-muted); font: normal 9px/1 "Space Grotesk", sans-serif; }
.jsi-console-stats .is-cyan-stat strong, .jsi-console-stats .is-cyan-stat em { color: var(--site-cyan); }
.jsi-console-chart { margin-top: 18px; padding: 16px; border: 1px solid var(--site-line); border-radius: 7px; }
.jsi-chart-label { display: flex; justify-content: space-between; }
.jsi-chart-label b { color: var(--site-gold); font: 9px/1 "Space Grotesk", sans-serif; font-weight: 400; }
.jsi-chart-bars { height: 80px; display: flex; align-items: end; gap: 8px; margin-top: 18px; }
.jsi-chart-bars i { flex: 1; min-width: 4px; border-radius: 2px 2px 0 0; background: linear-gradient(180deg, var(--site-gold), rgba(124,58,237,.2)); }
.jsi-chart-bars i:nth-child(3n) { background: linear-gradient(180deg, var(--site-cyan), rgba(77,232,255,.15)); }
.jsi-home-console-caption { display: grid; grid-template-columns: 1fr 1fr auto; align-items: end; gap: 45px; padding: 70px 0 100px; }
.jsi-home-console-caption h2 { margin: 0; }
.jsi-home-console-caption a { color: var(--site-gold); font: 700 11px/1 "Space Grotesk", sans-serif; letter-spacing: .06em; text-decoration: none; text-transform: uppercase; }
.jsi-home-console-caption a span { margin-left: 10px; font-size: 16px; }
.jsi-home-pricing { border-top: 1px solid var(--site-line); }
.jsi-home-pricing-row { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 28px 25px; border: 1px solid rgba(124,58,237,.38); border-radius: 11px; background: rgba(124,58,237,.07); }
.jsi-home-pricing-row + .jsi-home-pricing-row { margin-top: 12px; }
.jsi-home-pricing-row.is-dark { border-color: var(--site-line); background: rgba(255,255,255,.025); }
.jsi-home-pricing-row span { display: block; margin-bottom: 9px; color: var(--site-gold); font: 10px/1 "Space Grotesk", sans-serif; letter-spacing: .13em; text-transform: uppercase; }
.jsi-home-pricing-row strong { display: block; font: 600 24px/1 "Space Grotesk", sans-serif; letter-spacing: -.04em; }
.jsi-home-pricing-row p { margin: 8px 0 0; color: var(--site-soft); font-size: 13px; }
.jsi-home-final { padding: 160px 0 170px; text-align: center; border-top: 1px solid var(--site-line); background: radial-gradient(circle at 50% 45%, rgba(124,58,237,.12), transparent 35%), #0b0c10; }
.jsi-home-final h2 { margin: 17px 0; font-size: clamp(3rem, 7vw, 7rem); }
.jsi-home-final p { margin-bottom: 28px; }

@media (max-width: 900px) {
	.jsi-home-hero-inner { grid-template-columns: 1fr; gap: 52px; }
	.jsi-waveform-card { max-width: 680px; width: 100%; margin: 0 auto; transform: none; }
	.jsi-home-section-heading, .jsi-home-flow .jsi-home-container { grid-template-columns: 1fr; gap: 28px; }
	.jsi-home-feature-grid { grid-template-columns: 1fr 1fr; }
	.jsi-home-feature.is-wide { grid-row: auto; min-height: 265px; }
	.jsi-home-console-caption { grid-template-columns: 1fr 1fr; }
	.jsi-home-console-caption a { grid-column: 2; }
}
@media (max-width: 680px) {
	.jsi-site-header-inner, .jsi-site-footer, .jsi-home-container { width: min(100% - 32px, 1240px); }
	.jsi-menu-toggle { display: block; }
	.jsi-site-nav { display: none; position: absolute; top: 78px; left: 16px; right: 16px; max-height: calc(100vh - 96px); overflow-y: auto; -webkit-overflow-scrolling: touch; flex-direction: column; align-items: stretch; gap: 0; padding: 8px; border: 1px solid var(--site-line); border-radius: 10px; background: #0e1017; box-shadow: 0 20px 40px rgba(0,0,0,.4); }
	.jsi-site-nav.is-open { display: flex; }
	.jsi-site-nav a { padding: 13px; }
	.jsi-site-nav .jsi-site-nav-cta { text-align: center; }
	.jsi-site-main:not(.is-home) { padding-top: 28px; }
	.jsi-site-footer { grid-template-columns: 1fr; gap: 19px; }
	.jsi-home-hero { min-height: 760px; }
	.jsi-home-hero-inner { padding-top: 75px; }
	.jsi-home-hero h1 { font-size: clamp(3.3rem, 17vw, 5.2rem); }
	.jsi-home-lede { font-size: 14px; }
	.jsi-home-signal-strip .jsi-home-container { display: block; line-height: 2; }
	.jsi-home-signal-line { display: none; }
	.jsi-home-section { padding: 80px 0; }
	.jsi-home-section-heading h2, .jsi-home-flow h2, .jsi-home-console-caption h2, .jsi-home-final h2 { font-size: clamp(2.7rem, 13vw, 4.2rem); }
	.jsi-home-feature-grid { grid-template-columns: 1fr; }
	.jsi-home-feature, .jsi-home-feature.is-wide { min-height: 230px; }
	.jsi-console-body { grid-template-columns: 1fr; }
	.jsi-console-body aside { display: none; }
	.jsi-console-content { padding: 18px 14px; }
	.jsi-console-stats { grid-template-columns: 1fr; }
	.jsi-console-title { align-items: flex-start; flex-direction: column; }
	.jsi-home-console-caption { display: block; padding: 55px 0 70px; }
	.jsi-home-console-caption a { display: inline-block; margin-top: 27px; }
	.jsi-home-pricing-row { align-items: flex-start; flex-direction: column; padding: 22px 18px; }
	.jsi-home-pricing-row .jsi-home-button { width: 100%; justify-content: center; }
	.jsi-home-final { padding: 100px 0 120px; }
}
@media (prefers-reduced-motion: reduce) {
	.jsi-wave-bars span, .jsi-wave-playhead { animation: none; }
}

/* ── Home — image banners (studio / crowd) ────────────────────────────── */
.jsi-home-banner { position: relative; min-height: 320px; display: flex; align-items: flex-end; overflow: hidden; }
.jsi-home-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.jsi-home-banner-scrim { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7,8,12,.94) 0%, rgba(7,8,12,.74) 40%, rgba(7,8,12,.28) 75%, rgba(7,8,12,.1) 100%); }
.jsi-home-banner-copy { position: relative; z-index: 1; padding: 46px 0; }
.jsi-home-banner-copy h3 { margin: 12px 0 0; font: 600 clamp(1.7rem, 3.4vw, 2.7rem)/1.08 "Space Grotesk", sans-serif; letter-spacing: -.03em; max-width: 620px; }
.jsi-home-banner-stats { display: flex; flex-wrap: wrap; gap: 30px; margin-top: 24px; }
.jsi-home-banner-stats strong { display: block; font: 600 25px/1 "Space Grotesk", sans-serif; color: var(--site-gold); }
.jsi-home-banner-stats span { display: block; margin-top: 6px; color: var(--site-soft); font-size: 12px; max-width: 180px; }
.jsi-home-banner-note { display: block; margin-top: 18px; color: var(--site-muted); font-size: 10.5px; }

/* ── Home — Smart Links & Presave ─────────────────────────────────────── */
.jsi-smartlinks-grid, .jsi-payouts-grid, .jsi-dev-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.jsi-home-checklist { list-style: none; margin: 24px 0; padding: 0; display: grid; gap: 10px; }
.jsi-home-checklist li { position: relative; padding-left: 24px; color: var(--site-soft); font-size: 13.5px; line-height: 1.5; }
.jsi-home-checklist li::before { content: ''; position: absolute; left: 0; top: .45em; width: 12px; height: 12px; background: var(--site-gold); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat; }
.jsi-smartlink-mock, .jsi-dev-mock { border: 1px solid rgba(255,255,255,.16); border-radius: 13px; background: #0d0f14; box-shadow: 0 40px 100px rgba(0,0,0,.35); overflow: hidden; }
.jsi-smartlink-mock-body { padding: 22px; }
.jsi-smartlink-art { width: 64px; height: 64px; border-radius: 12px; margin-bottom: 14px; background: radial-gradient(circle at 30% 30%, rgba(124,58,237,.75), rgba(89,31,139,.6)); }
.jsi-smartlink-mock-body strong { display: block; font: 600 17px/1.2 "Space Grotesk", sans-serif; color: #fff; }
.jsi-smartlink-mock-body small { color: var(--site-muted); font-size: 11px; }
.jsi-smartlink-presave { display: inline-flex; align-items: center; gap: 7px; margin: 16px 0; padding: 6px 12px; border: 1px solid rgba(77,232,255,.4); border-radius: 999px; color: var(--site-cyan); font: 10px/1 "Space Grotesk", sans-serif; letter-spacing: .04em; }
.jsi-smartlink-presave i { width: 6px; height: 6px; border-radius: 50%; background: var(--site-cyan); box-shadow: 0 0 10px var(--site-cyan); flex-shrink: 0; }
.jsi-smartlink-platforms { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 6px; }
.jsi-smartlink-platforms a { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border: 1px solid var(--site-line); border-radius: 9px; color: #fff; font-size: 12px; text-decoration: none; transition: border-color .15s ease; }
.jsi-smartlink-platforms a:hover { border-color: var(--site-gold); }
.jsi-platform-dot.audiomack { background: #ff7a00; }
.jsi-platform-dot.boomplay { background: #17b06b; }
.jsi-platform-dot.youtube { background: #ff0000; }
.jsi-platform-dot.deezer { background: #a238ff; }

/* ── Home — Naira payouts ─────────────────────────────────────────────── */
.jsi-payout-card { border: 1px solid var(--site-line); border-radius: 16px; padding: 26px; background: radial-gradient(circle at 85% 0%, rgba(124,58,237,.14), transparent 45%), #0d0f14; }
.jsi-payout-row { display: flex; align-items: center; justify-content: space-between; }
.jsi-payout-row span { color: var(--site-muted); font: 10px/1 "Space Grotesk", sans-serif; letter-spacing: .12em; }
.jsi-payout-row strong { font: 600 clamp(1.5rem,3vw,2.1rem)/1 "Space Grotesk", sans-serif; color: #fff; }
.jsi-payout-row.is-gold strong { color: var(--site-gold); }
.jsi-payout-arrow { margin: 16px 0; padding: 10px 0; border-top: 1px dashed var(--site-line); border-bottom: 1px dashed var(--site-line); color: var(--site-cyan); font-size: 11px; letter-spacing: .04em; text-align: center; }
.jsi-payout-bank { display: flex; align-items: center; gap: 9px; margin-top: 18px; padding: 12px 14px; border: 1px solid var(--site-line); border-radius: 10px; color: var(--site-soft); font-size: 12px; }
.jsi-payout-bank i { width: 7px; height: 7px; border-radius: 50%; background: #3ddc97; box-shadow: 0 0 10px rgba(61,220,151,.7); flex-shrink: 0; }
.jsi-payout-bank b { margin-left: auto; color: #3ddc97; font: 700 9px/1 "Space Grotesk", sans-serif; letter-spacing: .08em; }

/* ── Home — Developers & API ──────────────────────────────────────────── */
.jsi-dev-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0; }
.jsi-dev-pills span { padding: 7px 12px; border: 1px solid var(--site-line); border-radius: 999px; color: var(--site-soft); font: 10.5px/1 "Space Grotesk", sans-serif; letter-spacing: .04em; }
.jsi-dev-code { margin: 0; padding: 20px 22px; background: #0a0b0f; color: #d9dce3; font: 12.5px/1.6 "SFMono-Regular", Menlo, Consolas, monospace; overflow-x: auto; }
.jsi-dev-code code { color: inherit; }
.jsi-dev-events { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 22px 20px; border-top: 1px solid var(--site-line); }
.jsi-dev-events span { padding: 5px 10px; border-radius: 6px; background: rgba(77,232,255,.1); border: 1px solid rgba(77,232,255,.3); color: var(--site-cyan); font: 10px/1 "Space Grotesk", sans-serif; }

/* ── Home — Testimonials ──────────────────────────────────────────────── */
.jsi-testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.jsi-testimonial-card { padding: 26px; border: 1px solid var(--site-line); border-radius: 14px; background: linear-gradient(140deg, rgba(255,255,255,.05), rgba(255,255,255,.015)); }
.jsi-testimonial-avatar { width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; font: 700 13px/1 "Space Grotesk", sans-serif; }
.jsi-testimonial-avatar.is-gold { background: rgba(124,58,237,.16); border: 1px solid rgba(124,58,237,.5); color: var(--site-gold); }
.jsi-testimonial-avatar.is-cyan { background: rgba(77,232,255,.14); border: 1px solid rgba(77,232,255,.5); color: var(--site-cyan); }
.jsi-testimonial-avatar.is-purple { background: rgba(124,0,255,.16); border: 1px solid rgba(124,0,255,.5); color: #b98bff; }
.jsi-testimonial-card p { margin: 0; color: #fff; font-size: 13.5px; line-height: 1.65; }
.jsi-testimonial-who { display: flex; flex-direction: column; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--site-line); }
.jsi-testimonial-who strong { font: 600 13px/1 "Space Grotesk", sans-serif; color: #fff; }
.jsi-testimonial-who span { margin-top: 4px; color: var(--site-muted); font-size: 11.5px; }

@media (max-width: 900px) {
	.jsi-smartlinks-grid, .jsi-payouts-grid, .jsi-dev-grid { grid-template-columns: 1fr; gap: 36px; }
	.jsi-payouts-grid .jsi-payout-card { max-width: 420px; }
	.jsi-testimonial-grid { grid-template-columns: 1fr; }
	.jsi-home-banner { min-height: 280px; }
}
@media (max-width: 680px) {
	.jsi-home-banner-copy { padding: 32px 0; }
	.jsi-home-banner-stats { gap: 20px; }
	.jsi-smartlink-platforms { grid-template-columns: 1fr; }
	.jsi-dev-code { font-size: 11.5px; padding: 16px; }
}

/* ── Label — artist roster cards (stage name, legal name, DSP links) ─── */
.jsi-label-artist-rows { display: grid; gap: 14px; }
.jsi-label-artist-row { border: 1px solid var(--jsi-line); border-radius: 12px; padding: 16px; background: rgba(255,255,255,.02); display: grid; gap: 12px; }
.jsi-label-artist-row-head { display: flex; align-items: center; justify-content: space-between; }
.jsi-label-artist-row-head b { font-family: 'Poppins', sans-serif; font-size: 12.5px; color: var(--jsi-gold); text-transform: uppercase; letter-spacing: .04em; }
.jsi-label-artist-remove { background: none; border: 1px solid var(--jsi-line); color: var(--jsi-text-soft); width: 24px; height: 24px; border-radius: 50%; cursor: pointer; line-height: 1; font-size: 15px; }
.jsi-label-artist-remove:hover { border-color: var(--jsi-error); color: var(--jsi-error); }
.jsi-label-roster-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.jsi-label-roster-links a { display: inline-flex; align-items: center; gap: 5px; color: var(--jsi-text-dim); font-size: 11.5px; text-decoration: none; }
.jsi-label-roster-links a:hover { color: var(--jsi-gold); }

/* ── Label — per-artist price breakdown next to the total ────────────── */
.jsi-label-price-lines { display: grid; gap: 6px; margin-bottom: 10px; }
.jsi-label-price-line { display: flex; align-items: center; justify-content: space-between; font-size: 12.5px; color: var(--jsi-text-dim); padding: 6px 10px; border: 1px solid var(--jsi-line); border-radius: 8px; background: rgba(255,255,255,.02); }
.jsi-label-price-line b { color: #fff; font-family: 'Poppins', sans-serif; font-weight: 600; }
.jsi-label-price-total { padding-top: 10px; border-top: 1px dashed var(--jsi-line); }

/* ── Dashboard — prominent "create new release" entry point ──────────── */
.jsi-main-header { flex-wrap: wrap; gap: 14px; }
.jsi-btn-new-release { display: inline-flex; align-items: center; gap: 8px; }
.jsi-btn-new-release b { font-size: 18px; line-height: 1; font-weight: 800; }
/* ── User notification bell (dashboard header) ────────────────────────── */
.jsi-bell-wrap { position: relative; }
.jsi-bell-btn { position: relative; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--jsi-line); background: rgba(255,255,255,.03); cursor: pointer; font-size: 16px; display: flex; align-items: center; justify-content: center; }
.jsi-bell-badge { position: absolute; top: -3px; right: -3px; background: #e5484d; color: #fff; border-radius: 9px; font: 700 10px/1 "Space Grotesk", sans-serif; padding: 2px 5px; min-width: 15px; text-align: center; }
/* Notification panel: styled in jsi-ds.css (section 11). */
.jsi-nav-item-cta {
	margin: 6px 14px 10px; padding: 11px 14px !important; border-radius: 10px;
	background: var(--jsi-gold); color: #fff; text-align: center; font-weight: 700;
	border-left: none !important;
}
.jsi-nav-item-cta:hover { background: #8B5CF6; color: #fff; }

/* ── Defensive contrast safety-net: any solid (non-dim) gold surface always
   keeps dark text, even if a parent theme/reset tries to force a lighter
   color back onto it. Belt-and-braces for the exact "white text vanishing
   on a solid gold background" class of bug. ───────────────────────────── */
.jsi-btn-primary,
.jsi-package-badge,
.jsi-home-button.is-primary,
.jsi-view-btn.is-active,
.jsi-page-btn.is-active,
.jsi-nav-item-cta,
.jsi-btn-new-release {
	color: #fff !important;
}
.jsi-btn-primary *, .jsi-home-button.is-primary *, .jsi-btn-new-release * { color: inherit !important; }

/* ══════════════════════════════════════════════════════════════════════
   JSI Distribute — App Shell & Premium Native-Feel Layer
   Added on top of the design system above. Nothing below removes or
   renames a class the JS relies on — it only re-styles, repositions and
   adds new, purely-decorative structure (icons, bottom nav, drawer,
   scrims) so every existing selector in jsi-*.js keeps working untouched.
   ══════════════════════════════════════════════════════════════════════ */

:root { --jsi-ease: cubic-bezier(.16,1,.3,1); --jsi-ease-spring: cubic-bezier(.34,1.56,.64,1); }

.jsi-shell, .jsi-site-body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	-webkit-tap-highlight-color: transparent;
	scroll-behavior: smooth;
}
.jsi-shell ::selection, .jsi-site-body ::selection { background: var(--jsi-gold, #7C3AED); color: #fff; }

/* Slightly richer surfaces + deeper, softer shadows across the board —
   the single biggest lever for "premium native app" vs "web form". */
.jsi-card, .jsi-panel, .jsi-modal, .jsi-type-card, .jsi-package-card,
.jsi-review-card, .jsi-cat-card, .jsi-audio-row, .jsi-featured-row,
.jsi-repeat-row, .jsi-review-media-item, .jsi-auth-card, .jsi-label-artist-row {
	border-radius: 12px;
}
.jsi-btn { transition: transform .16s var(--jsi-ease-spring), box-shadow .2s var(--jsi-ease), background .2s var(--jsi-ease), border-color .2s var(--jsi-ease); }
.jsi-type-card:active, .jsi-package-card:active, .jsi-cat-card:active,
.jsi-nav-item:active, .jsi-bottom-nav a:active { transform: scale(.98); }

/* ── Icons inside nav items (added inline as <svg> in the shell templates) ── */
.jsi-nav-icon, .jsi-bottom-nav-icon { display: inline-flex; flex-shrink: 0; }
.jsi-nav-icon svg, .jsi-bottom-nav-icon svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.jsi-bottom-nav-icon svg { width: 22px; height: 22px; }

/* ══════════════════════ Dashboard app shell ══════════════════════════ */
.jsi-dashboard {
	--app-header-h: 64px;
	--bottom-nav-h: 64px;
	grid-template-columns: 248px 1fr;
	align-items: start;
	min-height: 100dvh;
}
.jsi-nav {
	position: sticky; top: 0; align-self: start; height: 100dvh;
	display: flex; flex-direction: column;
	background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(0,0,0,.15));
	padding: 22px 0 16px;
}
.jsi-nav-brand {
	display: flex; align-items: center; gap: 10px;
	padding: 0 20px 22px; margin-bottom: 6px; border-bottom: 1px solid var(--jsi-line);
}
.jsi-nav-brand::before {
	content: ''; width: 30px; height: 30px; border-radius: 9px; flex-shrink: 0;
	background: linear-gradient(135deg, var(--jsi-gold), #6D28D9);
	box-shadow: 0 6px 16px rgba(124,58,237,.25);
}
.jsi-nav { gap: 0; }
.jsi-nav nav { display: flex; flex-direction: column; gap: 2px; padding: 6px 10px; flex: 1; overflow-y: auto; }
.jsi-nav-item {
	display: flex !important; align-items: center; gap: 12px;
	border-left: none !important; border-radius: 12px !important;
	padding: 11px 14px !important; position: relative;
}
.jsi-nav-item.is-active { background: var(--jsi-gold-dim); box-shadow: 0 1px 0 rgba(255,255,255,.03) inset; }
.jsi-nav-item.is-active::after { content: ''; position: absolute; left: -10px; top: 50%; transform: translateY(-50%); width: 3px; height: 18px; border-radius: 3px; background: var(--jsi-gold); }
.jsi-nav-item-cta { margin: 10px 10px 6px !important; }

/* App top bar — lives inside <main>, so it appears once and works at every
   breakpoint: full mobile bar (hamburger + title + bell) on small screens,
   a slim bell-only strip above the desktop sidebar's content on large ones. */
.jsi-app-topbar { display: flex; align-items: center; justify-content: flex-end; gap: 12px; margin-bottom: 6px; }
.jsi-app-topbar-left { display: none; align-items: center; gap: 10px; min-width: 0; }

@media (min-width: 721px) {
	.jsi-drawer-scrim, .jsi-drawer-close, .jsi-drawer-toggle { display: none !important; }
	.jsi-bottom-nav { display: none !important; }
}

@media (max-width: 720px) {
	.jsi-dashboard { display: block; }
	.jsi-app-topbar {
		justify-content: space-between;
		position: sticky; top: 0; z-index: 60; height: var(--app-header-h);
		margin: -16px -14px 10px; padding: 0 14px; padding-top: env(safe-area-inset-top);
		background: rgba(10,5,18,.82);
		border-bottom: 1px solid var(--jsi-line);
	}
	.jsi-app-topbar-left { display: flex; min-width: 0; }
	.jsi-drawer-toggle {
		width: 38px; height: 38px; border-radius: 11px; border: 1px solid var(--jsi-line);
		background: rgba(255,255,255,.04); color: #fff; display: flex; align-items: center; justify-content: center;
		flex-shrink: 0; cursor: pointer;
	}
	.jsi-app-topbar-title { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

	/* Sidebar becomes a slide-in drawer */
	.jsi-nav {
		position: fixed; top: 0; left: 0; bottom: 0; z-index: 200; height: 100dvh;
		width: min(82vw, 300px); border-right: 1px solid var(--jsi-line);
		background: linear-gradient(180deg, var(--jsi-bg-alt), var(--jsi-bg));
		transform: translateX(-104%); transition: transform .32s var(--jsi-ease);
		padding-top: max(20px, env(safe-area-inset-top));
		box-shadow: 40px 0 80px rgba(0,0,0,.5);
	}
	.jsi-nav.is-open { transform: translateX(0); }
	.jsi-drawer-scrim {
		position: fixed; inset: 0; z-index: 190; background: rgba(0,0,0,.55);
		opacity: 0; pointer-events: none; transition: opacity .3s var(--jsi-ease);
	}
	.jsi-drawer-scrim.is-open { opacity: 1; pointer-events: auto; }
	.jsi-drawer-close {
		position: absolute; top: max(16px, env(safe-area-inset-top)); right: 14px;
		width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--jsi-line);
		background: rgba(255,255,255,.05); color: #fff; font-size: 16px; line-height: 1; cursor: pointer;
	}

	.jsi-main { padding: 16px 14px calc(var(--bottom-nav-h) + 26px); }
	/* Existing header inside <main> stays but the topbar above now owns the
	   brand/menu row, so give it a touch less top weight on mobile. */
	.jsi-main-header h2 { font-size: 19px; }

	/* Bottom tab bar — 5 primary destinations + center FAB */
	.jsi-bottom-nav {
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 120;
		display: flex; align-items: stretch; justify-content: space-around;
		height: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom));
		padding-bottom: env(safe-area-inset-bottom);
		background: rgba(10,5,18,.86);
		border-top: 1px solid var(--jsi-line);
		box-shadow: 0 -10px 30px rgba(0,0,0,.35);
	}
	.jsi-bottom-nav a {
		flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
		gap: 3px; text-decoration: none; color: var(--jsi-text-soft); font-size: 10px; font-weight: 600;
		letter-spacing: .01em;
	}
	.jsi-bottom-nav a.is-active { color: var(--jsi-gold); }
	.jsi-bottom-nav a.is-fab { flex: 0 0 auto; width: 56px; margin-top: -22px; }
	.jsi-bottom-nav a.is-fab span.jsi-bottom-nav-icon {
		position: relative; overflow: hidden;
		width: 52px; height: 52px; border-radius: 50%; align-items: center; justify-content: center;
		background: linear-gradient(160deg, var(--jsi-gold), #8B5CF6); color: #fff;
		box-shadow: 0 12px 26px rgba(124,58,237,.4), 0 0 0 6px var(--jsi-bg);
	}
	.jsi-bottom-nav a.is-fab span.jsi-bottom-nav-icon svg { position: relative; z-index: 1; width: 24px; height: 24px; stroke: #fff; stroke-width: 2.4; }
	.jsi-bottom-nav a.is-fab { color: var(--jsi-text-dim); font-weight: 700; }

	/* Slow sheen sweep — a soft diagonal band of light drifting across the
	   Create FAB on a loop, so the button keeps drawing the eye even when
	   nothing else on screen is moving. Pure CSS, clipped to the circle by
	   the icon wrapper's overflow:hidden above; disabled entirely under
	   prefers-reduced-motion further down this file. */
	.jsi-bottom-nav a.is-fab span.jsi-bottom-nav-icon::after {
		content: "";
		position: absolute;
		top: -60%;
		left: -60%;
		width: 45%;
		height: 220%;
		transform: rotate(20deg);
		background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.75) 50%, rgba(255,255,255,0) 100%);
		animation: jsi-fab-sheen 3.2s ease-in-out infinite;
		animation-delay: 1s;
		pointer-events: none;
	}
	@keyframes jsi-fab-sheen {
		0% { left: -60%; }
		18% { left: 130%; }
		100% { left: 130%; }
	}

	/* Stat cards become a horizontally-snapping strip, app-widget style */
	.jsi-cards {
		display: flex; grid-template-columns: none; gap: 12px; margin: 0 -14px 22px; padding: 0 14px 4px;
		overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
	}
	.jsi-cards::-webkit-scrollbar { display: none; }
	.jsi-cards .jsi-card { flex: 0 0 66vw; max-width: 240px; scroll-snap-align: start; }

	/* Modals become bottom sheets on mobile — pure CSS, JS only toggles display */
	.jsi-modal-overlay { align-items: flex-end; padding: 0; }
	.jsi-modal { max-width: 100% !important; width: 100%; max-height: 88vh; border-radius: 20px 20px 0 0 !important; animation: jsi-sheet-up .28s var(--jsi-ease); }
	@keyframes jsi-sheet-up { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
}

/* ══════════════════════ Public site header — floating glass bar ══════ */
@media (min-width: 721px) {
	.jsi-site-header {
		position: sticky; top: 14px; z-index: 60;
		width: min(1240px, calc(100% - 56px)); margin: 0 auto;
		border: 1px solid var(--site-line); border-radius: 999px;
		background: rgba(14,16,23,.72);
	}
	.jsi-site-header-inner { width: 100%; padding: 0 10px 0 22px; min-height: 62px; }
}

/* Body scroll-lock helper (added by the small toggle script below) */
.jsi-drawer-open { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
	.jsi-nav, .jsi-drawer-scrim, .jsi-modal, .jsi-btn, .jsi-card, .jsi-panel { transition: none !important; animation: none !important; }
	.jsi-bottom-nav a.is-fab span.jsi-bottom-nav-icon::after { display: none !important; }
}

/* ══════════════════════ Light theme (opt-in via [data-jsi-theme="light"]) ══
   Toggled from the account menu / settings; persisted client-side. Overrides
   only the CSS variables the rest of the file already consumes, so every
   component above (cards, panels, buttons, tables, modals…) repaints
   automatically — no duplicate component rules needed for anything that was
   already written with var(--jsi-*) tokens.

   The block below that follows this one exists because a number of
   components further down the file (added after the token system was
   established) were written with LITERAL colors — `color:#fff`,
   `background: rgba(255,255,255,.04)`, etc. — instead of the tokens. Those
   are invisible-on-white or barely-readable once the shell itself goes
   light, which is what made the previous light mode look broken/"in
   conflict" rather than actually redesigned for light. Every rule below
   maps one of those literals back onto the correct token for this theme. */
[data-jsi-theme="light"] .jsi-field input, [data-jsi-theme="light"] .jsi-field select, [data-jsi-theme="light"] .jsi-field textarea,
[data-jsi-theme="light"] .jsi-split-row select, [data-jsi-theme="light"] .jsi-split-row input,
[data-jsi-theme="light"] .jsi-picker-trigger, [data-jsi-theme="light"] .jsi-catalog-search input, [data-jsi-theme="light"] .jsi-catalog-filters select {
	background: #fff;
}
[data-jsi-theme="light"] .jsi-field select option, [data-jsi-theme="light"] .jsi-split-row select option { background: #fff; color: #171226; }
[data-jsi-theme="light"] .jsi-nav { background: linear-gradient(180deg, #fff, #f2effc); }
[data-jsi-theme="light"] .jsi-app-topbar { background: rgba(255,255,255,.86); }
[data-jsi-theme="light"] .jsi-bottom-nav { background: #fff; }
[data-jsi-theme="light"] .jsi-modal, [data-jsi-theme="light"] .jsi-artist-results { background: #fff; }
/* Code/API snippets stay on a permanent dark "terminal" surface in both
   themes — this is a deliberate design choice (code reads better that way
   and it visually separates "documentation prose" from "literal payload"),
   not a leftover dark-mode default. */
[data-jsi-theme="light"] .jsi-doc-code, [data-jsi-theme="light"] .jsi-dev-code { background: #12101c; color: #e7e4f5; }

/* ── Light theme: mobile chrome (drawer toggle / close, bottom tab labels) ── */
[data-jsi-theme="light"] .jsi-drawer-toggle,
[data-jsi-theme="light"] .jsi-drawer-close {
	background: rgba(20,10,50,.05); color: var(--jsi-text);
}
/* Bugfix: bottom nav labels/icons were invisible in light mode. Root cause:
   .jsi-bottom-nav lives outside .jsi-shell in the DOM (see site-shell.php),
   but --jsi-text-soft/--jsi-gold/--jsi-text-dim are only redefined for light
   mode on `[data-jsi-theme="light"] .jsi-shell`, so .jsi-bottom-nav never
   picked up the light values and kept using the dark-mode (near-white)
   colors on its new light background — same class of bug already fixed for
   .jsi-app-global-header above. Using explicit colors here instead of the
   unreachable custom properties fixes it the same way. */
[data-jsi-theme="light"] .jsi-bottom-nav { border-top-color: rgba(23,18,38,.1); }
[data-jsi-theme="light"] .jsi-bottom-nav a { color: rgba(23,18,38,.55); }
[data-jsi-theme="light"] .jsi-bottom-nav a.is-active { color: #6D28D9; }
[data-jsi-theme="light"] .jsi-bottom-nav a.is-fab { color: rgba(23,18,38,.68); }

/* ── Light theme: surfaces that used a literal white-on-black tint instead
   of --jsi-panel — remap them to the token so they read as a soft, raised
   card on the light background instead of a near-invisible smudge. ──────── */
[data-jsi-theme="light"] .jsi-dsp-category,
[data-jsi-theme="light"] .jsi-release-card,
[data-jsi-theme="light"] .jsi-label-artist-row,
[data-jsi-theme="light"] .jsi-label-price-line,
[data-jsi-theme="light"] .jsi-checklist-item.is-clickable:hover,
[data-jsi-theme="light"] .jsi-dev-row:hover,
[data-jsi-theme="light"] .jsi-cat-card,
[data-jsi-theme="light"] .jsi-cat-thumb,
[data-jsi-theme="light"] .jsi-catalog-toolbar,
[data-jsi-theme="light"] .jsi-view-btn,
[data-jsi-theme="light"] .jsi-page-btn,
[data-jsi-theme="light"] .jsi-nav-item:hover,
[data-jsi-theme="light"] .jsi-modal-item,
[data-jsi-theme="light"] .jsi-modal-search,
[data-jsi-theme="light"] .jsi-bank-account-box,
[data-jsi-theme="light"] .jsi-payment-method-btn,
[data-jsi-theme="light"] .jsi-featured-registration,
[data-jsi-theme="light"] .jsi-preview-trimmer,
[data-jsi-theme="light"] .jsi-preview-controls input[type=number],
[data-jsi-theme="light"] #jsi-label-name-rows input,
[data-jsi-theme="light"] .jsi-lbl-add-name,
[data-jsi-theme="light"] .jsi-label-create-block input[type="text"],
[data-jsi-theme="light"] .jsi-security-key,
[data-jsi-theme="light"] .jsi-bell-btn,
[data-jsi-theme="light"] .jsi-developer-docs code {
	background: var(--jsi-panel);
}
[data-jsi-theme="light"] .jsi-modal-item:hover { background: var(--jsi-panel-hover); }
[data-jsi-theme="light"] .jsi-dev-row:hover { background: var(--jsi-panel-hover); }

/* ── Light theme: text that was hardcoded to #fff / near-white — flip to the
   dark ink token so it's actually legible on the light surfaces above. ──── */
[data-jsi-theme="light"] .jsi-card-value,
[data-jsi-theme="light"] .jsi-type-card,
[data-jsi-theme="light"] .jsi-package-price,
[data-jsi-theme="light"] .jsi-bank-account-box dd,
[data-jsi-theme="light"] .jsi-modal-header span,
[data-jsi-theme="light"] .jsi-modal-search,
[data-jsi-theme="light"] .jsi-modal-item,
[data-jsi-theme="light"] .jsi-payment-method-btn,
[data-jsi-theme="light"] .jsi-dsp-category-header,
[data-jsi-theme="light"] .jsi-dev-row strong,
[data-jsi-theme="light"] .jsi-doc-table th,
[data-jsi-theme="light"] .jsi-cat-card-title,
[data-jsi-theme="light"] .jsi-cat-detail-row strong,
[data-jsi-theme="light"] .jsi-cat-track-title,
[data-jsi-theme="light"] .jsi-label-roster td,
[data-jsi-theme="light"] .jsi-label-price-preview,
[data-jsi-theme="light"] .jsi-label-price-line b,
[data-jsi-theme="light"] #jsi-label-name-rows input,
[data-jsi-theme="light"] .jsi-lbl-add-name,
[data-jsi-theme="light"] .jsi-label-create-block input[type="text"],
[data-jsi-theme="light"] .jsi-security-key,
[data-jsi-theme="light"] .jsi-upload-empty strong,
[data-jsi-theme="light"] .jsi-status-takedown_requested,
[data-jsi-theme="light"] .jsi-nav-item:hover,
[data-jsi-theme="light"] .jsi-drawer-toggle,
[data-jsi-theme="light"] .jsi-drawer-close,
[data-jsi-theme="light"] .jsi-preview-controls input[type=number] {
	color: var(--jsi-text);
}
[data-jsi-theme="light"] .jsi-preview-trimmer,
[data-jsi-theme="light"] .jsi-featured-registration { color: var(--jsi-text-dim); }

/* ── Light theme: the release wizard's own larger, high-contrast form
   controls (.jsi-wizard-body) were hardcoded to near-black surfaces
   (#0b0b0b / #090909) with `color-scheme: dark`, which also forces native
   browser chrome (date pickers, select popups) into dark rendering
   regardless of the app theme. ──────────────────────────────────────────── */
[data-jsi-theme="light"] .jsi-wizard-body { color-scheme: light; }
[data-jsi-theme="light"] .jsi-wizard-body .jsi-field input[type="text"],
[data-jsi-theme="light"] .jsi-wizard-body .jsi-field input[type="url"],
[data-jsi-theme="light"] .jsi-wizard-body .jsi-field input[type="date"],
[data-jsi-theme="light"] .jsi-wizard-body .jsi-field select,
[data-jsi-theme="light"] .jsi-wizard-body .jsi-field textarea,
[data-jsi-theme="light"] .jsi-wizard-body .jsi-repeat-row input[type="text"],
[data-jsi-theme="light"] .jsi-wizard-body .jsi-repeat-row select,
[data-jsi-theme="light"] .jsi-wizard-body .jsi-split-row input,
[data-jsi-theme="light"] .jsi-wizard-body .jsi-split-row select,
[data-jsi-theme="light"] .jsi-wizard-body .jsi-picker-trigger {
	background: #fff; color: var(--jsi-text); border-color: var(--jsi-line);
}
[data-jsi-theme="light"] .jsi-wizard-body .jsi-repeat-row select option,
[data-jsi-theme="light"] .jsi-wizard-body .jsi-field select option,
[data-jsi-theme="light"] .jsi-wizard-body .jsi-split-row select option {
	background: #fff; color: var(--jsi-text);
}
[data-jsi-theme="light"] .jsi-wizard-body .jsi-repeat-row { background: var(--jsi-panel); }
[data-jsi-theme="light"] .jsi-wizard-body .jsi-repeat-row input::placeholder,
[data-jsi-theme="light"] .jsi-wizard-body input::placeholder,
[data-jsi-theme="light"] .jsi-file-picker-copy {
	color: var(--jsi-text-soft);
}
[data-jsi-theme="light"] .jsi-upload-empty { background: var(--jsi-panel); border-color: var(--jsi-line); color: var(--jsi-text-dim); }
[data-jsi-theme="light"] .jsi-file-picker-button { color: var(--jsi-text); border-color: var(--jsi-gold-dim); }

.jsi-theme-toggle {
	display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--jsi-line);
	background: rgba(255,255,255,.04); color: var(--jsi-text-dim); border-radius: 999px;
	padding: 7px 12px 7px 7px; font-size: 11.5px; font-weight: 700; cursor: pointer;
}
.jsi-theme-toggle .jsi-theme-dot { width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--jsi-gold-dim); }
.jsi-theme-toggle svg { width: 13px; height: 13px; stroke: var(--jsi-gold); fill: none; stroke-width: 2; }

/* Give every standalone shell page (catalog, checkout, label, onboarding,
   release wizard, developer portal, account security) the same bottom
   clearance the dashboard already has, so the shared fixed bottom-nav
   partial never covers their last row of content or a sticky footer bar. */
@media (max-width: 720px) {
	.jsi-catalog, .jsi-checkout, .jsi-label-page, .jsi-addons-page, .jsi-onboarding,
	.jsi-release-wizard, .jsi-developer-portal, .jsi-account-security {
		padding-bottom: calc(var(--bottom-nav-h, 64px) + env(safe-area-inset-bottom) + 28px) !important;
	}
	.jsi-wizard-nav { margin-bottom: 0; }
}

/* ══════════════════════ Final app-wide polish ═══════════════════════════
   The authenticated experience is one black, app-like surface. The public
   header is intentionally kept separate for signed-out visitors; once an
   artist is signed in, this header and bottom navigation are rendered by the
   site shell around every page. */
/* BUGFIX (light mode): these three rules used to apply unconditionally, so
   they permanently pinned .jsi-shell (the dashboard/wizard/catalog/etc. card)
   to a hardcoded black background-color, AND redefined --jsi-bg/--jsi-bg-alt
   back to their dark values directly on .jsi-shell. Both had higher or equal
   specificity to the earlier `[data-jsi-theme="light"] .jsi-shell { --jsi-bg:
   #f5f4fb; ... }` override in some cases, and even where the variable win
   was correct, `background-image: linear-gradient(...), var(--jsi-bg)` is
   invalid CSS once --jsi-bg resolves to a plain color (a color is not a
   valid final layer in a background-image list), so the whole declaration
   was thrown out and .jsi-shell painted no image at all — leaving only the
   flat black `background-color` behind it. Net effect: toggling to light
   mode repainted the sidebar (which has its own explicit light override)
   but left the main content area black, which is exactly the bug in the
   screenshot. Scoping all of this to `html:not([data-jsi-theme="light"])`
   keeps the intended "premium black app shell" look for dark mode (the
   default) while letting the light theme's own --jsi-bg/--jsi-bg-alt values
   (and the plain gradient rule up top, which already uses them correctly)
   take over cleanly when light mode is on. */
.jsi-site-body,
.jsi-site-body *,
.jsi-shell,
.jsi-shell * {
	font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
/* .jsi-site is the outer page frame behind the floating .jsi-shell card (and
   behind the always-dark global header/bottom nav) — this is deliberately
   NOT part of the light theme; it's site chrome, not the artist's workspace. */

/* Authenticated global header */
.jsi-app-global-header {
	position: sticky;
	top: 0;
	z-index: 1001;
	pointer-events: auto;
	background: rgba(0,0,0,.94);
	border-bottom: 1px solid rgba(255,255,255,.1);
}
.jsi-app-global-header-inner {
	width: min(1240px, calc(100% - 40px));
	min-height: 74px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	gap: 16px;
}
.jsi-global-menu-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	flex: 0 0 42px;
	border: 1px solid rgba(255,255,255,.16);
	border-radius: 12px;
	background: rgba(255,255,255,.04);
	color: #fff;
	cursor: pointer;
	touch-action: manipulation;
	pointer-events: auto;
}
.jsi-global-menu-toggle:hover,
.jsi-global-menu-toggle:focus-visible {
	border-color: var(--jsi-gold);
	background: var(--jsi-gold-dim);
	outline: none;
}
.jsi-global-menu-icon,
.jsi-global-menu-icon svg,
.jsi-global-drawer-close svg {
	display: block;
	width: 22px;
	height: 22px;
}
.jsi-global-menu-icon svg,
.jsi-global-drawer-close svg {
	fill: none;
	stroke: #fff;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.jsi-app-global-brand {
	display: inline-flex;
	align-items: center;
	gap: 11px;
	color: #fff;
	text-decoration: none;
	min-width: 0;
}
.jsi-app-global-brand .jsi-site-mark {
	width: 40px;
	height: 40px;
	border-color: #7C3AED;
	background: rgba(255,255,255,.03);
}
.jsi-app-global-brand-copy {
	display: flex;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
}
.jsi-app-global-brand-copy strong {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
}
.jsi-app-global-brand-copy small {
	color: rgba(255,255,255,.5);
	font-size: 10px;
	letter-spacing: .04em;
}
.jsi-app-global-actions {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-left: auto;
}
.jsi-app-global-actions .jsi-bell-btn {
	color: #fff;
}
.jsi-app-global-actions .jsi-bell-btn svg {
	width: 19px;
	height: 19px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.jsi-app-global-avatar {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border: 1px solid rgba(255,255,255,.2);
	border-radius: 50%;
	background: var(--jsi-brand, #25003E);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
}
.jsi-global-drawer-scrim {
	position: fixed;
	inset: 0;
	z-index: 9998;
	background: rgba(0,0,0,.62);
	opacity: 0;
	pointer-events: none;
	transition: opacity .25s ease;
}
.jsi-global-drawer-scrim.is-open {
	opacity: 1;
	pointer-events: auto;
}
.jsi-global-drawer {
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0;
	z-index: 9999;
	width: min(320px, 86vw);
	padding: 24px 14px;
	background: #080808;
	border-right: 1px solid rgba(255,255,255,.12);
	box-shadow: 30px 0 80px rgba(0,0,0,.65);
	transform: translateX(-105%);
	transition: transform .28s var(--jsi-ease);
	/* The drawer is a fixed-height column (top:0;bottom:0) but its link list
	   can be taller than the viewport, especially on short phone screens.
	   Without its own scroll container the extra links were simply clipped
	   off-screen with no way to reach them — this is what made the menu
	   feel "stuck" and impossible to scroll on mobile. */
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior: contain;
}
.jsi-global-drawer.is-open { transform: translateX(0); }
.jsi-global-drawer-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 8px 18px;
	border-bottom: 1px solid rgba(255,255,255,.1);
	color: #fff;
	font-size: 17px;
}
.jsi-global-drawer-close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border: 1px solid rgba(255,255,255,.14);
	border-radius: 50%;
	background: rgba(255,255,255,.04);
	cursor: pointer;
}
.jsi-global-drawer nav {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding-top: 14px;
}
.jsi-global-drawer nav a {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 10px;
	border-radius: 11px;
	color: rgba(255,255,255,.7);
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	touch-action: manipulation;
}
.jsi-global-drawer nav a:hover,
.jsi-global-drawer nav a:focus-visible {
	background: var(--jsi-gold-dim);
	color: #fff;
	outline: none;
}
.jsi-global-drawer nav a.is-logout {
	margin-top: auto;
	color: #ff8e8e;
}
.jsi-global-drawer .jsi-nav-icon svg {
	width: 19px;
	height: 19px;
	stroke: currentColor;
}
/* Light/dark switch inside the global drawer — the one actually reachable
   on mobile from every logged-in page. Styled to match the drawer's own
   nav rows exactly (not the pill/.jsi-theme-toggle look used elsewhere)
   so it doesn't look like a bolted-on extra. */
.jsi-global-theme-toggle {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	padding: 12px 10px;
	margin: 4px 0;
	border: none;
	border-radius: 11px;
	background: rgba(255,255,255,.04);
	color: rgba(255,255,255,.7);
	font-family: inherit;
	font-size: 13px;
	font-weight: 600;
	text-align: left;
	cursor: pointer;
	touch-action: manipulation;
}
.jsi-global-theme-toggle:hover,
.jsi-global-theme-toggle:focus-visible {
	background: var(--jsi-gold-dim);
	color: #fff;
	outline: none;
}
.jsi-global-theme-toggle .jsi-nav-icon svg {
	width: 19px;
	height: 19px;
	stroke: currentColor;
}
[data-jsi-theme="light"] .jsi-global-theme-toggle {
	background: rgba(20,10,50,.05);
	color: var(--jsi-text-dim, #171226);
}
[data-jsi-theme="light"] .jsi-global-theme-toggle:hover,
[data-jsi-theme="light"] .jsi-global-theme-toggle:focus-visible {
	background: var(--jsi-gold-dim);
	color: #171226;
}

/* ── Light theme: the global header + hamburger drawer (site-shell.php's
   app-global-header.php) — this sits OUTSIDE .jsi-shell, so none of the
   token overrides above ever reached it. Every logged-in page except the
   dashboard uses this header, so leaving it dark while the page content
   underneath went light was the single biggest source of the "half-broken,
   conflicting" look on mobile. ─────────────────────────────────────────── */
[data-jsi-theme="light"] .jsi-app-global-header {
	background: rgba(255,255,255,.9);
	border-bottom-color: rgba(23,18,38,.1);
}
[data-jsi-theme="light"] .jsi-global-menu-toggle {
	border-color: rgba(23,18,38,.16);
	background: rgba(20,10,50,.04);
	color: #171226;
}
[data-jsi-theme="light"] .jsi-global-menu-icon svg,
[data-jsi-theme="light"] .jsi-global-drawer-close svg {
	stroke: #171226;
}
[data-jsi-theme="light"] .jsi-app-global-brand { color: #171226; }
[data-jsi-theme="light"] .jsi-app-global-brand-copy small { color: rgba(23,18,38,.5); }
[data-jsi-theme="light"] .jsi-app-global-actions .jsi-bell-btn { color: #171226; }
[data-jsi-theme="light"] .jsi-global-drawer {
	background: #fff;
	border-right-color: rgba(23,18,38,.1);
	box-shadow: 30px 0 80px rgba(90,60,180,.14);
}
[data-jsi-theme="light"] .jsi-global-drawer-head {
	color: #171226;
	border-bottom-color: rgba(23,18,38,.1);
}
[data-jsi-theme="light"] .jsi-global-drawer-close {
	border-color: rgba(23,18,38,.14);
	background: rgba(20,10,50,.04);
}
[data-jsi-theme="light"] .jsi-global-drawer nav a { color: rgba(23,18,38,.7); }
[data-jsi-theme="light"] .jsi-global-drawer nav a:hover,
[data-jsi-theme="light"] .jsi-global-drawer nav a:focus-visible {
	background: var(--jsi-gold-dim);
	color: #171226;
}
[data-jsi-theme="light"] .jsi-global-drawer nav a.is-logout { color: #d63b3b; }

/* Larger, dark app controls — scoped to page content so the global header
   and bottom navigation retain their compact mobile proportions. */
.jsi-wizard-body {
	font-size: 16px;
	line-height: 1.6;
	color-scheme: dark;
}
.jsi-wizard-body .jsi-muted,
.jsi-wizard-body .jsi-field-hint {
	font-size: 15px;
	line-height: 1.65;
}
.jsi-wizard-body .jsi-field label,
.jsi-wizard-body .jsi-field-label {
	display: block;
	margin-bottom: 8px;
	font-size: 14px;
	line-height: 1.55;
}
.jsi-wizard-body .jsi-field input[type="text"],
.jsi-wizard-body .jsi-field input[type="url"],
.jsi-wizard-body .jsi-field input[type="date"],
.jsi-wizard-body .jsi-field select,
.jsi-wizard-body .jsi-field textarea,
.jsi-wizard-body .jsi-repeat-row input[type="text"],
.jsi-wizard-body .jsi-repeat-row select,
.jsi-wizard-body .jsi-split-row input,
.jsi-wizard-body .jsi-split-row select {
	min-height: 50px;
	padding: 13px 15px;
	border: 1px solid rgba(255,255,255,.16);
	border-radius: 12px;
	background: #0b0b0b;
	color: #f5f5f5;
	font-size: 16px;
	line-height: 1.35;
	box-sizing: border-box;
}
.jsi-wizard-body .jsi-repeat-row select option,
.jsi-wizard-body .jsi-field select option,
.jsi-wizard-body .jsi-split-row select option {
	background: #0b0b0b;
	color: #f5f5f5;
}
.jsi-wizard-body .jsi-repeat-row {
	padding: 13px;
	border-radius: 14px;
	background: #090909;
}
.jsi-wizard-body .jsi-repeat-row input::placeholder,
.jsi-wizard-body input::placeholder {
	color: rgba(255,255,255,.48);
}
.jsi-wizard-body .jsi-picker-trigger {
	min-height: 50px;
	font-size: 16px;
	padding: 13px 15px;
	background: #0b0b0b;
	color: #f5f5f5;
	border-color: rgba(255,255,255,.16);
}
.jsi-wizard-body .jsi-btn {
	font-size: 15px;
}
.jsi-wizard-body .jsi-error-line,
.jsi-wizard-body .jsi-field-errors {
	font-size: 14px;
	line-height: 1.55;
}

/* Replace the browser's white, platform-specific file control with a
   consistent app control. The input remains in the DOM for the existing
   upload handler and the label still opens the native file picker. */
.jsi-wizard-body input[type="file"] {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	overflow: hidden;
	pointer-events: none;
}
.jsi-wizard-body .jsi-file-picker {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	width: 100%;
	margin: 4px 0 10px;
	cursor: pointer;
	text-transform: none;
	letter-spacing: normal;
	font-weight: 400;
}
.jsi-file-picker-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 16px;
	border: 1px solid rgba(164,143,255,.7);
	border-radius: 10px;
	background: var(--jsi-panel-hover);
	color: #fff;
	font-size: 14px;
	font-weight: 700;
}
.jsi-file-picker.is-locked { opacity: .45; cursor: not-allowed; pointer-events: none; }
.jsi-file-picker-copy {
	color: rgba(255,255,255,.52);
	font-size: 13px;
}
.jsi-file-picker:hover .jsi-file-picker-button,
.jsi-file-picker:focus-within .jsi-file-picker-button {
	border-color: #a48fff;
	background: var(--jsi-gold-dim);
}
.jsi-license-doc-current {
	font-size: 14px;
	line-height: 1.5;
}
.jsi-audio-file-picker {
	margin-top: 8px;
	margin-bottom: 10px;
}

/* Final mobile reliability pass */
.jsi-app-global-avatar.has-image {
	overflow: hidden;
	background: #111;
}
.jsi-app-global-avatar.has-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.jsi-artwork-dropzone {
	display: block;
}
.jsi-upload-empty {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 9px;
	padding: 18px;
	border: 1px solid rgba(255,255,255,.14);
	border-radius: 14px;
	background: #090909;
	color: rgba(255,255,255,.65);
	font-size: 15px;
	line-height: 1.55;
}
.jsi-upload-empty strong {
	color: #fff;
	font-size: 16px;
}
.jsi-upload-empty-action {
	margin-top: 5px;
}
.jsi-main-header h2 {
	font-size: 30px;
	line-height: 1.2;
}

@media (max-width: 720px) {
	.jsi-main-header h2 {
		font-size: 25px;
	}
}

/* The fixed tab bar belongs to the document, not to one shortcode. */
@media (max-width: 720px) {
	.jsi-app-global-header-inner {
		width: calc(100% - 28px);
		min-height: 66px;
		gap: 11px;
	}
	.jsi-app-global-brand-copy small { display: none; }
	.jsi-app-global-brand-copy strong { font-size: 11px; letter-spacing: .08em; }
	.jsi-app-global-brand .jsi-site-mark { width: 36px; height: 36px; }
	.jsi-bottom-nav {
		background: rgba(0,0,0,.94);
		border-top-color: rgba(255,255,255,.14);
	}
	.jsi-bottom-nav a { color: rgba(255,255,255,.66); font-size: 10.5px; }
	.jsi-bottom-nav a.is-active { color: #a48fff; }
	.jsi-bottom-nav a.is-fab span.jsi-bottom-nav-icon {
		box-shadow: 0 12px 26px rgba(104,54,245,.45), 0 0 0 6px #000;
	}
	.jsi-steps {
		margin-right: -16px;
		padding-right: 16px;
	}
	.jsi-step-tab { padding-left: 12px; padding-right: 12px; }
}

/* Catalogue cards use the artwork as the visual anchor, edge to edge. */
.jsi-catalog-grid[data-view="grid"] .jsi-cat-card-head {
	align-items: stretch;
}
.jsi-catalog-grid[data-view="grid"] .jsi-cat-thumb {
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	border-radius: 12px;
}
.jsi-catalog-grid[data-view="grid"] .jsi-cat-thumb img {
	object-fit: cover;
}
.jsi-catalog-grid[data-view="grid"] .jsi-cat-card-info {
	text-align: left;
}

/* ── Live inline validation (e.g. YouTube channel URL fields) ──────────── */
.jsi-input-valid { border-color: var(--jsi-success, #2e7d5b) !important; }
.jsi-input-invalid { border-color: var(--jsi-error, #a12727) !important; }

/* ══════════════════════════════════════════════════════════════════════
   "Liveliness" pass — small, cheap motion that makes the app feel awake
   rather than a static form, in BOTH themes. Nothing here changes layout,
   renames a class, or requires JS: it's all animation/transition on classes
   that already exist. Respects prefers-reduced-motion via the rule at the
   very end of this section. ══════════════════════════════════════════════ */

/* Dashboard stat cards, panels and section content ease in on load instead
   of popping in instantly — staggered slightly by position so the eye reads
   them left-to-right / top-to-bottom rather than all at once. */
@keyframes jsi-rise-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.jsi-cards .jsi-card,
.jsi-plan-banner,
.jsi-panel,
.jsi-package-card,
.jsi-type-card {
	animation: jsi-rise-in .5s var(--jsi-ease) both;
}
.jsi-cards .jsi-card:nth-child(1) { animation-delay: .02s; }
.jsi-cards .jsi-card:nth-child(2) { animation-delay: .08s; }
.jsi-cards .jsi-card:nth-child(3) { animation-delay: .14s; }
.jsi-cards .jsi-card:nth-child(4) { animation-delay: .2s; }
.jsi-package-grid .jsi-package-card:nth-child(1) { animation-delay: .02s; }
.jsi-package-grid .jsi-package-card:nth-child(2) { animation-delay: .07s; }
.jsi-package-grid .jsi-package-card:nth-child(3) { animation-delay: .12s; }
.jsi-package-grid .jsi-package-card:nth-child(4) { animation-delay: .17s; }
.jsi-type-cards .jsi-type-card:nth-child(1) { animation-delay: .02s; }
.jsi-type-cards .jsi-type-card:nth-child(2) { animation-delay: .08s; }
.jsi-type-cards .jsi-type-card:nth-child(3) { animation-delay: .14s; }

/* Stat cards + panels get a touch more lift and a soft accent glow on hover
   so the dashboard feels responsive to the pointer, not just clickable text. */
.jsi-cards .jsi-card,
.jsi-panel,
.jsi-review-card,
.jsi-auth-card {
	transition: transform .25s var(--jsi-ease), box-shadow .25s var(--jsi-ease), border-color .25s var(--jsi-ease);
}
/* The little gold/purple top accent line on stat cards gets a slow, subtle
   sheen sweeping across it — reads as "live data", not just a static bar. */

/* Primary CTA buttons: a touch of spring on hover/press, plus a slow ambient
   glow pulse on the main "Create new release" button so it reads as the
   one thing on the page inviting a tap, without being distracting. */

/* Nav items get a soft slide-in underline/fill instead of an instant flip,
   and the active-row accent tick grows in rather than just appearing. */
.jsi-nav-item { transition: background .2s var(--jsi-ease), color .2s var(--jsi-ease), padding-left .2s var(--jsi-ease); }
.jsi-nav-item:hover:not(.is-active) { padding-left: 17px; }
@keyframes jsi-tick-grow { from { height: 0; opacity: 0; } to { height: 18px; opacity: 1; } }
.jsi-nav-item.is-active::after { animation: jsi-tick-grow .25s var(--jsi-ease) both; }


/* Status pills breathe very slightly while a release is actively processing
   — a small cue that something is happening in the background, not stuck. */
@keyframes jsi-pulse-soft { 0%, 100% { opacity: 1; } 50% { opacity: .72; } }
.jsi-status-pending, .jsi-status-processing, .jsi-audio-status.pending { animation: jsi-pulse-soft 2s ease-in-out infinite; }

/* Plan progress / upload progress bars fill with an eased transition instead
   of jumping straight to their width, and get a subtle traveling highlight
   while active so long uploads don't look frozen. */
.jsi-plan-progress-fill { transition: width .6s var(--jsi-ease); position: relative; overflow: hidden; }
.jsi-progress-fill { transition: width .25s var(--jsi-ease); position: relative; overflow: hidden; }
.jsi-plan-progress-fill::after, .jsi-progress-fill::after {
	content: ''; position: absolute; inset: 0;
	background: linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent);
	transform: translateX(-100%);
	animation: jsi-progress-shine 1.8s ease-in-out infinite;
}
@keyframes jsi-progress-shine { to { transform: translateX(100%); } }

/* Modals/sheets ease open instead of appearing instantly on desktop too
   (mobile already had its own bottom-sheet animation). */
@keyframes jsi-modal-in { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
.jsi-modal { animation: jsi-modal-in .22s var(--jsi-ease) both; }
@keyframes jsi-overlay-in { from { opacity: 0; } to { opacity: 1; } }
.jsi-modal-overlay { animation: jsi-overlay-in .18s ease both; }

/* Theme toggle: the icon gently rotates in when switched, rather than
   swapping instantly, and the whole control gets a light hover lift. */
.jsi-theme-toggle { transition: background .2s ease, border-color .2s ease, transform .15s var(--jsi-ease-spring); }
.jsi-theme-toggle:hover { transform: translateY(-1px); border-color: var(--jsi-gold-line); }
@keyframes jsi-spin-in { from { transform: rotate(-90deg) scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
.jsi-theme-toggle .jsi-theme-dot svg { animation: jsi-spin-in .35s var(--jsi-ease-spring); }

/* Ambient background glow — two soft, slow-drifting radial blobs behind the
   shell content (dashboard/wizard/catalog/etc.), theme-aware so it reads as
   a warm gold haze on dark and a gentle lavender wash on light. Purely
   decorative, sits behind everything, never intercepts clicks. */
.jsi-dashboard, .jsi-onboarding, .jsi-release-wizard, .jsi-checkout,
.jsi-package-gate, .jsi-catalog, .jsi-label-page, .jsi-addons-page, .jsi-developer-portal,
.jsi-developer-docs, .jsi-account-security {
	position: relative;
}
/* Bugfix: dashboard had a huge blank gap between the header and the actual
   content on mobile. Root cause: this glow-layering rule sets `position:
   relative` on every direct child of .jsi-dashboard, including the sidebar
   (aside.jsi-nav) — and because it's declared later in this file than the
   `@media (max-width:720px) { .jsi-nav { position: fixed; ... } }` rule
   above with the same specificity, it silently won and turned the off-canvas
   mobile drawer back into a normal, in-flow, full-viewport-height (100dvh)
   block sitting right at the top of the page. Excluding .jsi-nav here lets
   it stay position:fixed (and off-canvas) on mobile as intended. */
.jsi-dashboard > *:not(.jsi-nav), .jsi-onboarding > *, .jsi-release-wizard > *,
.jsi-checkout > *, .jsi-package-gate > *, .jsi-catalog > *,
.jsi-label-page > *, .jsi-addons-page > *, .jsi-developer-portal > *, .jsi-developer-docs > *,
.jsi-account-security > * {
	position: relative; z-index: 1;
}

/* Respect reduced-motion preferences by killing every animation added above
   (transitions are left in place at a near-zero duration so state changes
   are still instant rather than mid-animation-stuck). */
@media (prefers-reduced-motion: reduce) {
	.jsi-cards .jsi-card, .jsi-plan-banner, .jsi-panel, .jsi-package-card, .jsi-type-card,
	.jsi-card::before, .jsi-btn-new-release, .jsi-nav-item.is-active::after,
	.jsi-bell-btn, .jsi-bell-badge, .jsi-status-pending, .jsi-status-processing,
	.jsi-audio-status.pending, .jsi-plan-progress-fill::after, .jsi-progress-fill::after,
	.jsi-modal, .jsi-modal-overlay, .jsi-theme-toggle .jsi-theme-dot svg,
	}

/* ══════════════════════════════════════════════════════════════════════
   Add-ons page (Phase 11) — smartlink domain / Content ID / Artist ID Card.
   Reuses .jsi-panel/.jsi-field/.jsi-btn/.jsi-notice/.jsi-status-pill etc.
   throughout; only the layout wrapper and a couple of small bespoke pieces
   below are new.
   ══════════════════════════════════════════════════════════════════════ */
.jsi-addons-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin-top: 20px; }
.jsi-addon-card { display: flex; flex-direction: column; gap: 10px; }
.jsi-addon-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.jsi-addon-card-head h3 { margin: 0; font-size: 17px; }
.jsi-addon-price { font-size: 20px; font-weight: 700; color: var(--jsi-text); margin: 2px 0; }
.jsi-addon-status-block { display: flex; flex-direction: column; gap: 8px; }
.jsi-addon-purchase-form, .jsi-addon-id-card-form { display: flex; flex-direction: column; gap: 10px; padding-top: 10px; border-top: 1px solid var(--jsi-line); margin-top: 4px; }
.jsi-addon-id-card-form h4 { margin: 0 0 4px; font-size: 14px; }
.jsi-handle-input { display: flex; align-items: center; gap: 6px; }
.jsi-handle-input input { flex: 1; }
.jsi-id-card-social-grid { grid-template-columns: 1fr 1fr; }
@media (max-width: 520px) {
	.jsi-id-card-social-grid { grid-template-columns: 1fr; }
}

/* Required-field marker (e.g. Genre on the release wizard's Identity step). */
.jsi-required { color: var(--jsi-error, #a12727); font-weight: 700; }


/* ═══════════════════════════════════════════════════════════════════════════
   JSI UI kit — modals / sheets, toasts, progress, dropzone, busy buttons.
   Powered by assets/js/jsi-ui.js (window.JSIUI).

   NOTE ON TOKENS: the design tokens (--jsi-*) are normally scoped to
   `.jsi-shell`. These components are appended to <body>, outside any shell,
   so the tokens are re-declared on `.jsi-ui-layer` — otherwise the reused
   `.jsi-btn` classes would resolve to transparent. Light theme is mirrored
   from the `[data-jsi-theme="light"] .jsi-shell` block above.
   ═══════════════════════════════════════════════════════════════════════════ */
.jsi-ui-layer {
	--ui-accent: var(--jsi-gold);
	--ui-accent-soft: var(--jsi-gold-dim);
	--ui-ease: cubic-bezier(.16,1,.3,1);
	--ui-spring: cubic-bezier(.34,1.56,.64,1);
	font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	-webkit-font-smoothing: antialiased;
	-webkit-tap-highlight-color: transparent;
}
html.jsi-ui-lock { overflow: hidden; }

/* ── overlay + dialog ─────────────────────────────────────────────────── */
.jsi-ui-overlay {
	position: fixed; inset: 0; z-index: 100000;
	display: flex; align-items: center; justify-content: center; padding: 20px;
	background: rgba(6,4,14,.62);
	animation: jsi-ui-fade .2s ease both;
}
.jsi-ui-overlay.is-leaving { animation: jsi-ui-fade-out .18s ease both; }
.jsi-ui-overlay.is-leaving .jsi-ui-dialog { animation: jsi-ui-pop-out .18s ease both; }

.jsi-ui-dialog {
	position: relative; width: 100%; max-width: 408px;
	max-height: calc(100vh - 40px); max-height: calc(100dvh - 40px);
	overflow-x: hidden; overflow-y: auto;
	background: var(--jsi-bg-alt); color: var(--jsi-text);
	border: 1px solid var(--jsi-line); border-radius: 24px;
	box-shadow: 0 40px 110px rgba(0,0,0,.55), 0 1px 0 rgba(255,255,255,.05) inset;
	padding: 34px 28px 26px; text-align: center; outline: none;
	animation: jsi-ui-pop .36s var(--ui-spring) both;
	box-sizing: border-box;
}
.jsi-ui-dialog *, .jsi-ui-toast * { box-sizing: border-box; }
.jsi-ui-dialog.is-loading { max-width: 280px; padding: 30px 24px; }
.jsi-ui-handle { display: none; width: 40px; height: 4px; border-radius: 99px; background: var(--jsi-line); margin: -18px auto 18px; }
.jsi-ui-content.is-swapped { animation: jsi-ui-swap .28s var(--ui-ease) both; }

.jsi-ui-x {
	position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; padding: 0;
	display: inline-flex; align-items: center; justify-content: center;
	border: 0; border-radius: 50%; background: var(--jsi-panel); color: var(--jsi-text-soft); cursor: pointer;
	transition: background .15s, color .15s;
}
.jsi-ui-x:hover { background: var(--jsi-panel-hover); color: var(--jsi-text); }

.jsi-ui-icon {
	width: 68px; height: 68px; margin: 0 auto 18px; border-radius: 50%;
	display: flex; align-items: center; justify-content: center; position: relative;
}
.jsi-ui-icon.is-success { color: var(--jsi-success); background: var(--jsi-success-soft); }
.jsi-ui-icon.is-error { color: var(--jsi-error); background: var(--jsi-error-soft); }
.jsi-ui-icon.is-warning, .jsi-ui-icon.is-info, .jsi-ui-icon.is-upload { color: var(--ui-accent); background: var(--ui-accent-soft); }
.jsi-ui-icon.is-spinner { background: none; width: 52px; height: 52px; margin-bottom: 14px; }
.jsi-ui-icon.is-upload { animation: jsi-ui-float 1.6s ease-in-out infinite; }
.jsi-ui-svg { width: 100%; height: 100%; display: block; }
.jsi-ui-svg .c { stroke-width: 2.4; stroke-dasharray: 1; stroke-dashoffset: 1; animation: jsi-ui-stroke .55s .08s var(--ui-ease) forwards; }
.jsi-ui-svg .m { stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: jsi-ui-stroke .38s .42s ease forwards; }
.jsi-ui-svg.is-static { padding: 0; }
.jsi-ui-spinner {
	width: 100%; height: 100%; border-radius: 50%; display: block;
	border: 3.5px solid var(--jsi-line); border-top-color: var(--ui-accent);
	animation: jsi-ui-spin .75s linear infinite;
}

.jsi-ui-title {
	font-family: 'Poppins', 'Poppins', sans-serif; font-weight: 600; font-size: 21px;
	line-height: 1.25; letter-spacing: -.01em; margin: 0 0 8px; color: var(--jsi-text);
	text-transform: none; background: none; -webkit-text-fill-color: currentColor;
}
.jsi-ui-message { font-size: 14px; line-height: 1.6; color: var(--jsi-text-dim); white-space: pre-line; overflow-wrap: anywhere; }
.jsi-ui-dialog.is-loading .jsi-ui-message { color: var(--jsi-text); font-weight: 500; }
.jsi-ui-body { margin-top: 18px; text-align: left; }

.jsi-ui-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 26px; }
.jsi-ui-actions .jsi-btn { flex: 1 1 auto; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; cursor: pointer; min-height: 44px; }
.jsi-btn-danger { background: var(--jsi-error); color: #fff; border-color: transparent; box-shadow: 0 10px 30px rgba(255,82,82,.18); }
.jsi-btn-danger:hover { filter: brightness(1.08); }
.jsi-ui-btn-ghost { background: none; border: 0; color: var(--jsi-text-soft); text-transform: none; letter-spacing: 0; font-weight: 600; box-shadow: none; }
.jsi-ui-btn-ghost:hover { color: var(--jsi-text); }

/* ── prompt input ─────────────────────────────────────────────────────── */
.jsi-ui-input {
	width: 100%; padding: 12px 14px; font: inherit; font-size: 14px; line-height: 1.5; resize: vertical;
	color: var(--jsi-text); background: var(--jsi-panel); border: 1px solid var(--jsi-line); border-radius: 12px;
}
.jsi-ui-input:focus { outline: none; border-color: var(--ui-accent); box-shadow: 0 0 0 3px var(--ui-accent-soft); }

/* ── progress / file chip ─────────────────────────────────────────────── */
.jsi-ui-file, .jsi-ui-drop-file {
	display: flex; align-items: center; gap: 12px; padding: 12px 14px; text-align: left;
	background: var(--jsi-panel); border: 1px solid var(--jsi-line); border-radius: 14px;
}
.jsi-ui-file-icon, .jsi-ui-drop-thumb {
	flex: 0 0 42px; width: 42px; height: 42px; border-radius: 10px; overflow: hidden;
	display: inline-flex; align-items: center; justify-content: center;
	color: var(--ui-accent); background: var(--ui-accent-soft);
}
.jsi-ui-drop-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.jsi-ui-file-meta { min-width: 0; flex: 1; }
.jsi-ui-file-name { font-size: 13.5px; font-weight: 600; color: var(--jsi-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jsi-ui-file-size { font-size: 12px; color: var(--jsi-text-soft); margin-top: 1px; }
.jsi-ui-bar { height: 8px; border-radius: 99px; background: var(--jsi-line); overflow: hidden; margin-top: 16px; position: relative; }
.jsi-ui-bar-fill {
	height: 100%; width: 0; border-radius: inherit; position: relative; overflow: hidden;
	background: var(--jsi-gold); transition: width .2s var(--ui-ease);
}
.jsi-ui-bar-fill::after {
	content: ''; position: absolute; inset: 0; transform: translateX(-100%);
	background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent);
	animation: jsi-ui-shine 1.4s ease-in-out infinite;
}
.jsi-ui-bar.is-indeterminate .jsi-ui-bar-fill { width: 38% !important; animation: jsi-ui-indet 1.15s ease-in-out infinite; }
.jsi-ui-bar-meta { display: flex; justify-content: space-between; margin-top: 8px; font-size: 12px; color: var(--jsi-text-soft); font-variant-numeric: tabular-nums; }
.jsi-ui-bar-inline { margin-top: 10px; height: 5px; max-width: 220px; }

/* ── dropzone ─────────────────────────────────────────────────────────── */
.jsi-ui-drop-input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.jsi-ui-drop { position: relative; }
.jsi-ui-drop-area {
	display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px;
	padding: 22px 16px; cursor: pointer; color: var(--jsi-text-dim);
	background: var(--jsi-panel); border: 1.5px dashed var(--jsi-gold-line); border-radius: 16px;
	transition: background .18s var(--ui-ease), border-color .18s var(--ui-ease), transform .18s var(--ui-ease);
}
.jsi-ui-drop-area:hover { background: var(--jsi-panel-hover); }
.jsi-ui-drop-area:focus-visible { outline: none; border-color: var(--ui-accent); box-shadow: 0 0 0 3px var(--ui-accent-soft); }
.jsi-ui-drop.is-drag .jsi-ui-drop-area { background: var(--ui-accent-soft); border-color: var(--ui-accent); transform: scale(1.01); }
.jsi-ui-drop.has-error .jsi-ui-drop-area { border-color: var(--jsi-error); }
.jsi-ui-drop-cloud { color: var(--ui-accent); display: inline-flex; }
.jsi-ui-drop-text { font-size: 13.5px; color: var(--jsi-text); }
.jsi-ui-drop-text strong { font-weight: 600; }
.jsi-ui-drop-or { color: var(--jsi-text-soft); }
.jsi-ui-drop-hint { font-size: 11.5px; color: var(--jsi-text-soft); }
.jsi-ui-drop-remove {
	flex: 0 0 auto; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
	display: inline-flex; align-items: center; justify-content: center;
	background: transparent; color: var(--jsi-text-soft); transition: background .15s, color .15s;
}
.jsi-ui-drop-remove:hover { background: var(--jsi-error-soft); color: var(--jsi-error); }
.jsi-ui-drop-error { font-size: 12.5px; color: var(--jsi-error); margin-top: 8px; }
.jsi-ui-drop-error:empty { display: none; }

.jsi-ui-receipt { margin-top: 4px; }
.jsi-ui-receipt .jsi-ui-receipt-submit { margin-top: 6px; }
.jsi-ui-submitted {
	display: flex; align-items: center; gap: 12px; padding: 14px 16px; margin-top: 4px;
	background: var(--jsi-success-soft); border: 1px solid rgba(61,220,151,.3); border-radius: 14px;
	color: var(--jsi-text); font-size: 13px; animation: jsi-ui-swap .3s var(--ui-ease) both;
}
.jsi-ui-submitted strong { display: block; font-size: 14px; color: var(--jsi-success); }
.jsi-ui-submitted span:not(.jsi-ui-submitted-icon) { color: var(--jsi-text-dim); }
.jsi-ui-submitted-icon {
	flex: 0 0 30px; width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
	background: var(--jsi-success); color: #04130c;
}

/* ── toasts ───────────────────────────────────────────────────────────── */
.jsi-ui-toasts {
	position: fixed; left: 50%; transform: translateX(-50%); z-index: 100001;
	bottom: calc(24px + env(safe-area-inset-bottom, 0px));
	display: flex; flex-direction: column; gap: 10px; width: min(92vw, 420px); pointer-events: none;
}
.jsi-ui-toast {
	pointer-events: auto; cursor: pointer; display: flex; align-items: flex-start; gap: 10px;
	padding: 12px 14px; border-radius: 14px; font-size: 13.5px; line-height: 1.45; color: var(--jsi-text);
	background: var(--jsi-bg-alt); border: 1px solid var(--jsi-line); border-left: 3px solid var(--ui-accent);
	box-shadow: 0 18px 44px rgba(0,0,0,.4);
	opacity: 0; transform: translateY(14px) scale(.97);
	transition: opacity .26s var(--ui-ease), transform .3s var(--ui-spring);
}
.jsi-ui-toast.is-in { opacity: 1; transform: none; }
.jsi-ui-toast-icon { flex: 0 0 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--ui-accent); background: var(--ui-accent-soft); margin-top: 1px; }
.jsi-ui-toast-msg { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.jsi-ui-toast.is-success { border-left-color: var(--jsi-success); }
.jsi-ui-toast.is-success .jsi-ui-toast-icon { color: var(--jsi-success); background: var(--jsi-success-soft); }
.jsi-ui-toast.is-error { border-left-color: var(--jsi-error); }
.jsi-ui-toast.is-error .jsi-ui-toast-icon { color: var(--jsi-error); background: var(--jsi-error-soft); }

/* ── busy buttons / pending states (work inside .jsi-shell too) ───────── */
.jsi-btn.is-loading { pointer-events: none; opacity: .9; }
.jsi-btn.is-loading::before {
	content: ''; display: inline-block; width: 14px; height: 14px; margin-right: 9px; vertical-align: -2px;
	border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%;
	animation: jsi-ui-spin .7s linear infinite;
}
.jsi-notice.jsi-ui-pending { display: flex; align-items: center; gap: 10px; }
.jsi-notice.jsi-ui-pending::before {
	content: ''; flex: 0 0 16px; width: 16px; height: 16px; border-radius: 50%;
	border: 2px solid currentColor; border-right-color: transparent; animation: jsi-ui-spin .75s linear infinite;
}
.jsi-save-indicator.is-saving::before {
	content: ''; display: inline-block; width: 11px; height: 11px; margin-right: 7px; vertical-align: -1px;
	border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%;
	animation: jsi-ui-spin .7s linear infinite;
}
.jsi-checkout.is-starting .jsi-payment-method-btn { pointer-events: none; opacity: .55; }
.jsi-checkout.is-starting .jsi-payment-method-btn.is-loading { opacity: 1; position: relative; }
.jsi-payment-method-btn.is-loading::after {
	content: ''; position: absolute; right: 16px; top: 50%; width: 16px; height: 16px; margin-top: -8px;
	border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%;
	animation: jsi-ui-spin .7s linear infinite;
}

/* ── keyframes ────────────────────────────────────────────────────────── */
@keyframes jsi-ui-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes jsi-ui-fade-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes jsi-ui-pop { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes jsi-ui-pop-out { to { opacity: 0; transform: translateY(8px) scale(.97); } }
@keyframes jsi-ui-sheet { from { transform: translateY(100%); } to { transform: none; } }
@keyframes jsi-ui-sheet-out { to { transform: translateY(100%); } }
@keyframes jsi-ui-swap { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes jsi-ui-stroke { to { stroke-dashoffset: 0; } }
@keyframes jsi-ui-spin { to { transform: rotate(360deg); } }
@keyframes jsi-ui-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes jsi-ui-shine { to { transform: translateX(100%); } }
@keyframes jsi-ui-indet { 0% { transform: translateX(-100%); } 100% { transform: translateX(270%); } }

/* ── mobile: dialogs become bottom sheets ─────────────────────────────── */
@media (max-width: 720px) {
	.jsi-ui-overlay { align-items: flex-end; padding: 0; }
	.jsi-ui-dialog {
		max-width: 100%; max-height: 92vh; max-height: 92dvh;
		border-radius: 26px 26px 0 0; border-bottom: 0;
		padding: 30px 22px calc(24px + env(safe-area-inset-bottom, 0px));
		animation: jsi-ui-sheet .38s var(--ui-ease) both;
	}
	.jsi-ui-dialog.is-loading { max-width: 100%; }
	.jsi-ui-overlay.is-leaving .jsi-ui-dialog { animation: jsi-ui-sheet-out .2s ease both; }
	.jsi-ui-handle { display: block; }
	.jsi-ui-actions { flex-direction: column; }
	.jsi-ui-actions .jsi-btn-primary, .jsi-ui-actions .jsi-btn-danger { order: -1; }
	.jsi-ui-toasts { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
}

/* ── reduced motion: keep the end state, drop the movement ────────────── */
@media (prefers-reduced-motion: reduce) {
	.jsi-ui-overlay, .jsi-ui-dialog, .jsi-ui-content.is-swapped, .jsi-ui-submitted,
	.jsi-ui-icon.is-upload, .jsi-ui-bar-fill::after, .jsi-ui-toast { animation: none !important; transition: none !important; }
	.jsi-ui-svg .c, .jsi-ui-svg .m { animation: none !important; stroke-dashoffset: 0; }
}


/* ═══════════════════════════════════════════════════════════════════════════
   "Most popular" ribbon — the featured plan (rules_json.featured = true, i.e.
   Unlimited — Yearly ₦35,000) gets a red diagonal corner ribbon plus a soft
   red glow, so it reads as the plan most artists pick. Other plans' badges
   (DEVELOPERS, SUPREME) deliberately stay as the small pills above.
   Keyed on .is-featured so it keeps working if an admin edits the badge text.
   !important is needed to beat the earlier "purple accent" and "readable
   text" overrides that target .jsi-package-badge.
   ═══════════════════════════════════════════════════════════════════════════ */
.jsi-package-card.is-featured {
	overflow: hidden; /* clips the ribbon to the card's rounded corner */
	border-color: rgba(255,59,78,.55) !important;
	box-shadow: 0 0 0 1px rgba(255,59,78,.25), 0 22px 50px -22px rgba(255,59,78,.45) !important;
}
.jsi-package-card.is-featured:hover { border-color: rgba(255,59,78,.8) !important; }
.jsi-package-card.is-featured .jsi-package-badge {
	position: absolute !important; top: 26px !important; right: -48px !important; left: auto !important;
	width: 190px; padding: 8px 0 !important; text-align: center;
	transform: rotate(45deg); transform-origin: center;
	background: linear-gradient(180deg, #ff4b5c, #d6182c) !important;
	color: #fff !important; border-radius: 0 !important;
	font-size: 11px; font-weight: 800; letter-spacing: .1em; line-height: 1.2; text-transform: uppercase;
	box-shadow: 0 6px 14px rgba(214,24,44,.45), 0 1px 0 rgba(255,255,255,.35) inset !important;
	text-shadow: 0 1px 1px rgba(0,0,0,.25);
	pointer-events: none; z-index: 2;
}
/* keep the plan name clear of the ribbon */
.jsi-package-card.is-featured > h3,
.jsi-package-card.is-featured > .jsi-package-type { padding-right: 56px; }
@media (max-width: 720px) {
	.jsi-package-card.is-featured .jsi-package-badge { top: 24px !important; right: -50px !important; }
}

/* ── Scroll performance (mobile) ───────────────────────────────────────
   backdrop-filter forces the phone GPU to re-blur everything behind a
   panel on every scroll frame — with a dozen panels/cards on screen that
   is the "dragging a log of wood" feel. On touch/small screens we drop
   the blur (surfaces are already tinted, so they look the same) and make
   the two fixed bars near-opaque. Smooth-scroll animation is also turned
   off for touch so a flick is never fought by an animation. */
@media (max-width: 900px), (hover: none) {
	.jsi-btn-secondary, .jsi-review-card, .jsi-card, .jsi-panel, .jsi-auth-card, .jsi-catalog-toolbar,
	.jsi-site-header, .jsi-nav, .jsi-app-topbar, .jsi-bottom-nav, .jsi-ui-overlay, .jsi-drawer-scrim {
	}
	.jsi-bottom-nav, .jsi-app-topbar { background: var(--jsi-bg-alt); }
	.jsi-site-header { background: rgba(7,8,12,.97) !important; }
	.jsi-shell, .jsi-site-body { scroll-behavior: auto; }
	.jsi-home-section { content-visibility: auto; contain-intrinsic-size: 1px 700px; }
}


/* ═══════════════════════════════════════════════════════════════════════════
   Scroll performance, round 2 (pricing page / dashboard "dragging" on phones)

   The earlier mobile pass removed the blur from cards and panels, but three
   things were still repainting or re-blurring on every scroll frame:
     1. The logged-in header (.jsi-app-global-header) is position:sticky AND has phones/tablets get the cheap version.
   ═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 900px), (hover: none) {
	.jsi-app-global-header { background: var(--jsi-bg); }
	.jsi-global-drawer-scrim { }

	.jsi-shell { box-shadow: none !important; }
	.jsi-card::before,
	.jsi-btn-new-release,
	.jsi-bell-btn:has(.jsi-bell-badge),
	.jsi-bell-badge { animation: none !important; }

	/* Entrance animations are one-off and cheap, but on a long page of cards they
	   all start together and compete with the first scroll flick. Skip them. */
	.jsi-cards .jsi-card, .jsi-plan-banner, .jsi-panel, .jsi-package-card, .jsi-type-card { animation: none !important; }

	.jsi-package-card, .jsi-package-card:hover { transition: border-color .2s; }
	.jsi-package-card:hover { transform: none; }
}

/* ── Pricing page: two-plan hero + collapsed "more plans" ───────────────── */
.jsi-gate-hero {
	display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px;
	margin: 18px 0 8px; align-items: stretch;
}
.jsi-gate-hero .jsi-package-card { padding: 26px 22px; }
.jsi-gate-hero .jsi-package-price { font-size: 34px; }
.jsi-gate-hero .jsi-package-card .jsi-btn { width: 100%; justify-content: center; text-align: center; margin-top: auto; padding: 14px 16px; }
.jsi-gate-hero .jsi-package-card:first-child:not(.is-featured) { border-color: var(--jsi-gold-line); }
.jsi-gate-math {
	margin: 12px 0 4px; padding: 12px 14px; border-radius: 12px; font-size: 13px; line-height: 1.55;
	background: rgba(255,255,255,.04); border: 1px dashed var(--jsi-line); color: var(--jsi-text-dim);
}
.jsi-gate-math strong { color: var(--jsi-gold); }
.jsi-more-plans { margin-top: 22px; border-top: 1px solid var(--jsi-line); padding-top: 14px; }
.jsi-more-plans > summary {
	cursor: pointer; list-style: none; font-weight: 600; font-size: 14px; color: var(--jsi-text-soft);
	padding: 10px 0; min-height: 44px; display: flex; align-items: center; gap: 8px;
}
.jsi-more-plans > summary::-webkit-details-marker { display: none; }
.jsi-more-plans > summary::before { content: '＋'; color: var(--jsi-gold); font-weight: 700; }
.jsi-more-plans[open] > summary::before { content: '－'; }
@media (max-width: 720px) {
	.jsi-gate-hero { grid-template-columns: minmax(0, 1fr); }
	.jsi-package-gate { padding: 20px 16px; }
}

/* ── Dashboard: first-release banner (one-time price first, Unlimited beside it) ── */
.jsi-first-release-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.jsi-first-release-ctas .jsi-btn { flex: 1 1 220px; justify-content: center; text-align: center; padding: 14px 16px; }
.jsi-first-release-note { font-size: 12.5px; margin: 10px 0 0; line-height: 1.55; }
.jsi-first-release-note a { color: var(--jsi-gold); }

/* ── Release wizard: 5 short pages, bigger type, mobile-first ───────────── */
.jsi-release-wizard .jsi-quick-progress { margin: 4px 0 14px; }
.jsi-release-wizard .jsi-qp-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 15px; margin-bottom: 8px; }
.jsi-release-wizard .jsi-qp-top strong { font-size: 16px; }
.jsi-release-wizard .jsi-qp-bar { height: 8px; border-radius: 99px; background: rgba(127,127,127,.22); overflow: hidden; }
.jsi-release-wizard .jsi-qp-bar i { display: block; height: 100%; width: 20%; border-radius: 99px; background: var(--jsi-primary, #3b5bff); transition: width .25s ease; }
.jsi-release-wizard .jsi-step-panel[data-heading].is-active::before {
	content: attr(data-heading); display: block; font-size: 18px; font-weight: 700; margin: 6px 0 12px;
}
.jsi-release-wizard .jsi-step-panel.is-active + .jsi-step-panel.is-active { margin-top: 26px; padding-top: 20px; border-top: 1px solid rgba(127,127,127,.25); }
.jsi-release-wizard .jsi-field label, .jsi-release-wizard .jsi-field-hint, .jsi-release-wizard .jsi-muted { font-size: 15px; line-height: 1.5; }
.jsi-release-wizard .jsi-dsp-links input { margin-top: 8px; }
.jsi-release-wizard .jsi-adv-toggle-wrap { margin: 18px 0 4px; }
.jsi-release-wizard .jsi-link-btn { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; cursor: pointer; font: inherit; }

@media (max-width: 700px), (hover: none) {
	.jsi-release-wizard .jsi-steps { display: none; }
	.jsi-release-wizard input[type=text], .jsi-release-wizard input[type=url], .jsi-release-wizard input[type=email],
	.jsi-release-wizard input[type=date], .jsi-release-wizard input[type=number], .jsi-release-wizard select,
	.jsi-release-wizard textarea { font-size: 17px; min-height: 52px; padding: 12px 14px; }
	.jsi-release-wizard .jsi-field label, .jsi-release-wizard .jsi-field-hint, .jsi-release-wizard .jsi-muted,
	.jsi-release-wizard .jsi-checkbox-label, .jsi-release-wizard p { font-size: 16px; line-height: 1.55; }
	.jsi-release-wizard .jsi-btn { min-height: 52px; font-size: 17px; }
	.jsi-release-wizard .jsi-wizard-nav {
		/* sits ABOVE the app's fixed bottom menu; soft fade instead of a hard cut-off edge */
		position: sticky; bottom: calc(var(--bottom-nav-h, 64px) + env(safe-area-inset-bottom)); z-index: 130;
		margin: 0 -4px; padding: 28px 4px 14px; box-shadow: none; border: 0;
		background: linear-gradient(to bottom, transparent 0, var(--jsi-bg, #050505) 55%);
		pointer-events: none;
	}
	.jsi-release-wizard .jsi-wizard-nav .jsi-btn, .jsi-release-wizard .jsi-wizard-nav .jsi-save-indicator { pointer-events: auto; }
	.jsi-release-wizard .jsi-wizard-nav .jsi-btn-primary { flex: 1; }
	.jsi-release-wizard .jsi-wizard-header h2 { font-size: 24px; }
}

/* Genre/language picker: true full-screen overlay (re-parented to <body> by JS);
   list scrolls, header and Done button always stay on screen. */
.jsi-modal-overlay { z-index: 100000; }
.jsi-modal { max-height: min(85vh, 85dvh); }
.jsi-modal-list { min-height: 0; -webkit-overflow-scrolling: touch; }
.jsi-modal-footer { flex-shrink: 0; position: sticky; bottom: 0; background: inherit; }
.jsi-modal-footer .jsi-btn { min-height: 46px; padding-left: 28px; padding-right: 28px; }
.jsi-modal-item { padding: 14px 14px; font-size: 16px; }

/* One upload at a time */
.jsi-release-wizard.is-uploading .jsi-file-picker,
.jsi-release-wizard.is-uploading .jsi-audio-file-picker,
.jsi-release-wizard.is-uploading [class*="drop"] { opacity: .55; cursor: not-allowed; }
.jsi-upload-wait { margin: 0 0 14px; padding: 12px 14px; border-radius: 12px; font-size: 15px;
	background: rgba(124,58,237,.12); border: 1px solid rgba(124,58,237,.35); }

/* ══ Release wizard: sleek dashboard look (v66) ═══════════════════════════ */
.jsi-release-wizard { padding: 28px; }
.jsi-release-wizard .jsi-steps { display: none; }
.jsi-release-wizard .jsi-wizard-header { margin-bottom: 14px; }
.jsi-release-wizard .jsi-wizard-header h2 { font-size: 22px; letter-spacing: -.01em; }
.jsi-release-wizard .jsi-wizard-header .jsi-muted { font-size: 14px; margin-top: 4px; }
.jsi-release-wizard .jsi-wizard-header .jsi-notice { padding: 8px 12px; font-size: 12.5px; margin-top: 10px; border-radius: 10px; line-height: 1.45; }

/* progress */
.jsi-release-wizard .jsi-quick-progress { margin: 0 0 18px; }
.jsi-release-wizard .jsi-qp-top { font-size: 13px; margin-bottom: 8px; }
.jsi-release-wizard .jsi-qp-top strong { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--jsi-gold); }
.jsi-release-wizard .jsi-qp-top .jsi-muted { font-size: 13px; }
.jsi-release-wizard .jsi-qp-bar { height: 5px; background: var(--jsi-line); }
.jsi-release-wizard .jsi-qp-bar i { background: linear-gradient(90deg, var(--jsi-purple), var(--jsi-gold)); }

/* each section is a card */
.jsi-release-wizard .jsi-step-panel.is-active {
	background: var(--jsi-panel); border: 1px solid var(--jsi-line); border-radius: 18px; padding: 22px;
}
.jsi-release-wizard .jsi-step-panel.is-active + .jsi-step-panel.is-active { margin-top: 16px; padding-top: 22px; border-top: 1px solid var(--jsi-line); }
.jsi-release-wizard .jsi-step-panel[data-heading].is-active::before {
	content: attr(data-heading); display: block; margin: 0 0 16px;
	font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--jsi-gold);
}

/* labels + inputs */
.jsi-release-wizard .jsi-field { margin-bottom: 16px; }
.jsi-release-wizard .jsi-field label {
	display: flex; align-items: center; flex-wrap: wrap; gap: 6px;
	font-size: 14px; font-weight: 600; text-transform: none; letter-spacing: 0; color: var(--jsi-text); margin-bottom: 8px; line-height: 1.35;
}
.jsi-release-wizard .jsi-field-hint, .jsi-release-wizard .jsi-muted { font-size: 13px; line-height: 1.5; }
.jsi-release-wizard .jsi-field input[type=text], .jsi-release-wizard .jsi-field input[type=url],
.jsi-release-wizard .jsi-field input[type=date], .jsi-release-wizard .jsi-field select,
.jsi-release-wizard .jsi-field textarea, .jsi-release-wizard .jsi-repeat-row input[type=text], .jsi-release-wizard .jsi-repeat-row select {
	font-size: 15px; min-height: 48px; padding: 11px 14px; border-radius: 12px;
	background: rgba(255,255,255,.04); border: 1px solid var(--jsi-line); transition: border-color .15s, box-shadow .15s, background .15s;
}
.jsi-release-wizard .jsi-field input:hover, .jsi-release-wizard .jsi-field select:hover, .jsi-release-wizard .jsi-field textarea:hover { border-color: var(--jsi-gold-line); }
.jsi-release-wizard .jsi-dsp-links input { margin-top: 10px; }
.jsi-release-wizard .jsi-wizard-nav { padding: 16px 0 0; border-top: 0; margin-top: 18px; }
.jsi-release-wizard .jsi-type-card { border-radius: 16px; transition: transform .15s ease, border-color .2s ease, background .2s ease; }
.jsi-release-wizard .jsi-type-card:hover { transform: translateY(-2px); border-color: var(--jsi-gold-line); }

/* optional badge + (i) tooltips */
.jsi-opt-badge { font-size: 11px; font-weight: 600; letter-spacing: .02em; padding: 2px 8px; border-radius: 99px;
	background: var(--jsi-panel-hover); color: var(--jsi-text-soft); border: 1px solid var(--jsi-line); }
.jsi-info { position: relative; display: inline-flex; vertical-align: middle; cursor: help; outline: none; }
.jsi-info > i {
	width: 18px; height: 18px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
	font: 700 11px/1 Georgia, 'Times New Roman', serif; font-style: italic; color: var(--jsi-text-soft);
	border: 1px solid var(--jsi-line); background: var(--jsi-panel); transition: color .15s, border-color .15s, background .15s;
}
.jsi-info:hover > i, .jsi-info:focus > i, .jsi-info.is-open > i { color: #fff; background: var(--jsi-gold); border-color: var(--jsi-gold); }
.jsi-info-tip {
	display: none; position: absolute; z-index: 200; top: calc(100% + 8px); left: -8px; width: 260px; max-width: 78vw;
	padding: 10px 12px; border-radius: 12px; font: 400 12.5px/1.5 'Poppins', sans-serif; text-transform: none; letter-spacing: 0;
	color: var(--jsi-text); background: var(--jsi-bg-alt); border: 1px solid var(--jsi-gold-line); box-shadow: 0 14px 40px rgba(0,0,0,.45);
	white-space: normal; text-align: left;
}
.jsi-info.align-right .jsi-info-tip { left: auto; right: -8px; }
.jsi-info:hover .jsi-info-tip, .jsi-info:focus .jsi-info-tip, .jsi-info.is-open .jsi-info-tip { display: block; }
.jsi-info-line { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; font-size: 13px; color: var(--jsi-text-soft); }

@media (max-width: 700px), (hover: none) {
	.jsi-release-wizard { padding: 16px; }
	.jsi-release-wizard .jsi-step-panel.is-active { padding: 16px; border-radius: 16px; }
	.jsi-release-wizard .jsi-field label { font-size: 15px; }
	.jsi-release-wizard .jsi-field-hint, .jsi-release-wizard .jsi-muted { font-size: 14px; }
	.jsi-release-wizard .jsi-field input[type=text], .jsi-release-wizard .jsi-field input[type=url],
	.jsi-release-wizard .jsi-field input[type=date], .jsi-release-wizard .jsi-field select, .jsi-release-wizard .jsi-field textarea { font-size: 16px; min-height: 52px; }
	.jsi-info > i { width: 22px; height: 22px; font-size: 13px; }
	/* on phones the tip is a readable card pinned above the bottom menu */
	.jsi-info-tip { position: fixed; left: 16px !important; right: 16px !important; top: auto; bottom: calc(var(--bottom-nav-h, 64px) + env(safe-area-inset-bottom) + 84px);
		width: auto; max-width: none; font-size: 14px; padding: 14px 16px; z-index: 10050; }
}

/* ══ Live preview card (v68) ══════════════════════════════════════════════ */
.jsi-live-preview {
	position: relative; display: flex; gap: 16px; align-items: center; margin: 0 0 18px; padding: 16px;
	border-radius: 20px; border: 1px solid var(--jsi-line);
	background: var(--jsi-panel-hover);
}
.jsi-lp-cover {
	flex: 0 0 auto; width: 96px; height: 96px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
	color: var(--jsi-text-soft); background: var(--jsi-panel-hover) center/cover no-repeat; border: 1px solid var(--jsi-line);
	box-shadow: 0 14px 34px rgba(0,0,0,.45);
}
.jsi-lp-cover.has-art svg { display: none; }
.jsi-lp-meta { min-width: 0; display: flex; flex-direction: column; gap: 3px; flex: 1; }
.jsi-lp-kicker { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--jsi-text-soft); }
.jsi-lp-title { font-family: 'Poppins', 'Poppins', sans-serif; font-size: 22px; line-height: 1.15; color: var(--jsi-text);
	overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; word-break: break-word; }
.jsi-lp-title.is-empty, .jsi-lp-artist.is-empty { color: var(--jsi-text-soft); font-weight: 500; }
.jsi-lp-artist { font-size: 14px; font-weight: 600; color: var(--jsi-text-dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jsi-lp-sub { font-size: 12.5px; color: var(--jsi-text-soft); min-height: 1em; }
.jsi-lp-tracks { margin: 6px 0 0; padding: 0 0 0 18px; font-size: 12.5px; color: var(--jsi-text-dim); display: grid; gap: 2px; }
.jsi-lp-tracks:empty { display: none; }
.jsi-lp-tag { position: absolute; top: 12px; right: 14px; font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
	padding: 3px 9px; border-radius: 99px; color: var(--jsi-gold); background: var(--jsi-gold-dim); border: 1px solid var(--jsi-gold-line); }
@media (max-width: 700px) {
	.jsi-live-preview { padding: 12px; gap: 12px; border-radius: 16px; }
	.jsi-lp-cover { width: 76px; height: 76px; }
	.jsi-lp-title { font-size: 18px; }
	.jsi-lp-tag { top: 8px; right: 10px; }
	.jsi-lp-meta { padding-top: 14px; }
}

/* Map-profile switch (v69) */
.jsi-release-wizard .jsi-field label.jsi-switch-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; cursor: pointer;
	padding: 14px 16px; border: 1px solid var(--jsi-line); border-radius: 14px; background: rgba(255,255,255,.03); margin: 0; }
.jsi-switch-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.jsi-switch-text strong { font-size: 15px; }
.jsi-switch-text .jsi-muted { font-size: 13px; font-weight: 400; }
.jsi-switch { position: relative; flex: 0 0 auto; width: 46px; height: 26px; }
.jsi-switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; width: 100%; height: 100%; z-index: 1; }
.jsi-switch i { position: absolute; inset: 0; border-radius: 99px; background: var(--jsi-line); transition: background .2s; }
.jsi-switch i::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .2s; }
.jsi-switch input:checked + i { background: linear-gradient(90deg, var(--jsi-purple), var(--jsi-gold)); }
.jsi-switch input:checked + i::after { transform: translateX(20px); }
.jsi-switch input:focus-visible + i { box-shadow: 0 0 0 3px var(--jsi-gold-dim); }
.jsi-map-fields { margin-top: 12px; display: grid; gap: 10px; }
.jsi-map-fields input { margin: 0 !important; }

/* ══ Focused checkout (v69) ══════════════════════════════════════════════ */
.jsi-checkout.is-focused { display: flex; flex-direction: column; }
.jsi-checkout.is-focused > .jsi-wizard-header { order: 1; }
.jsi-checkout.is-focused > .jsi-co-bank { order: 2; }
.jsi-checkout.is-focused > .jsi-co-summary { order: 3; }
.jsi-checkout.is-focused > #jsi-payment-method-panel { order: 4; }
.jsi-checkout.is-focused > .jsi-change-plan { order: 5; }
.jsi-co-summary { border: 1px solid var(--jsi-line); border-radius: 20px; padding: 18px; margin: 4px 0 6px;
	background: var(--jsi-panel-hover); display: grid; gap: 14px; }
.jsi-co-sum-main { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.jsi-co-kicker { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--jsi-text-soft); }
.jsi-co-title { font-family: 'Poppins', 'Poppins', sans-serif; font-size: 22px; line-height: 1.2; color: var(--jsi-text); word-break: break-word; }
.jsi-co-artist { font-size: 14px; font-weight: 600; color: var(--jsi-text-dim); }
.jsi-co-sum-plan { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 14px;
	background: var(--jsi-panel); border: 1px solid var(--jsi-gold-line); }
.jsi-co-plan-name { font-weight: 600; font-size: 15px; }
.jsi-co-plan-price { font-family: 'Poppins', 'Poppins', sans-serif; font-weight: 700; font-size: 24px; color: var(--jsi-gold); }
.jsi-co-assure { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 13px; color: var(--jsi-text-dim); }
.jsi-co-assure li { position: relative; padding-left: 22px; line-height: 1.45; }
.jsi-co-assure li::before { content: ''; position: absolute; left: 0; top: .3em; width: 12px; height: 12px; background: var(--jsi-success); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat; }
.jsi-change-plan { margin-top: 20px; border: 1px dashed var(--jsi-line); border-radius: 16px; padding: 4px 16px 16px; }
.jsi-change-plan > summary { cursor: pointer; padding: 14px 0; font-weight: 600; font-size: 14px; color: var(--jsi-text-dim); list-style: none; }
.jsi-change-plan > summary::-webkit-details-marker { display: none; }
.jsi-change-plan > summary::after { content: '+'; float: right; font-size: 18px; line-height: 1; }
.jsi-change-plan[open] > summary::after { content: '–'; }
.jsi-checkout.is-focused #jsi-payment-method-panel { margin-top: 14px !important; }
@media (max-width: 700px) { .jsi-co-title { font-size: 19px; } .jsi-co-plan-price { font-size: 22px; } .jsi-co-assure { font-size: 14px; } }

.jsi-checkout.is-focused .jsi-payment-methods { display: grid; grid-template-columns: 1fr; gap: 10px; }
.jsi-checkout.is-focused .jsi-payment-method-btn { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; width: 100%; text-align: left; padding: 16px; border-radius: 14px; }

/* ══ Checkout trust polish (v70) ═════════════════════════════════════════
   Scoped to .jsi-checkout / .jsi-bank-*: order summary, payment method cards and
   the manual-deposit panel, shared by the release checkout and plan checkouts. */

.jsi-co-label { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--jsi-text-soft); }
.jsi-co-release { display: flex; align-items: center; gap: 16px; min-width: 0; }
.jsi-co-cover { flex: 0 0 auto; width: 96px; height: 96px; border-radius: 14px; overflow: hidden; position: relative;
	background: var(--jsi-panel); border: 1px solid var(--jsi-line); box-shadow: 0 10px 28px rgba(0,0,0,.35); }
.jsi-co-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.jsi-co-cover.is-empty { display: flex; align-items: center; justify-content: center; color: var(--jsi-text-soft);
	background: var(--jsi-panel-hover); }
.jsi-co-release .jsi-co-sum-main { flex: 1 1 auto; }
.jsi-co-sla-inline { font-size: 12px; }
@media (max-width: 700px) { .jsi-co-cover { width: 80px; height: 80px; border-radius: 12px; } .jsi-co-release { gap: 14px; } }

/* Payment methods (all plan checkouts): icon tile + text, clear selected state */
.jsi-checkout .jsi-payment-methods { grid-template-columns: 1fr; gap: 10px; }
.jsi-checkout .jsi-payment-method-btn { display: grid; grid-template-columns: 44px 1fr; align-items: center; column-gap: 14px; row-gap: 0;
	background: var(--jsi-panel); color: var(--jsi-text); transition: border-color .15s, background .15s, transform .15s; }
.jsi-checkout .jsi-payment-method-btn:hover:not(:disabled) { transform: translateY(-1px); }
.jsi-checkout .jsi-pm-ico { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px;
	background: var(--jsi-gold-dim); color: var(--jsi-gold); border: 1px solid var(--jsi-gold-line); }
.jsi-checkout .jsi-pm-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.jsi-checkout .jsi-pm-text strong { font-size: 15px; }
.jsi-checkout .jsi-pm-text .jsi-muted { font-size: 12.5px; line-height: 1.4; }
.jsi-checkout .jsi-co-secure { display: flex; align-items: flex-start; gap: 8px; margin: 14px 2px 0; font-size: 12.5px; line-height: 1.5; color: var(--jsi-text-soft); }
.jsi-co-secure svg { flex: 0 0 auto; margin-top: 2px; color: var(--jsi-success); }

/* Manual deposit panel */
.jsi-bank-intro { margin-top: 14px; display: grid; gap: 12px; }
.jsi-bank-sla { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 12px;
	background: var(--jsi-gold-dim); border: 1px solid var(--jsi-gold-line); }
.jsi-bank-sla strong { font-size: 14px; color: var(--jsi-text); }
.jsi-bank-sla span { font-size: 13px; line-height: 1.45; color: var(--jsi-text-dim); }
.jsi-bank-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.jsi-bank-steps li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--jsi-text-dim); }
.jsi-bank-steps li b { flex: 0 0 auto; width: 24px; height: 24px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
	font-size: 12px; background: var(--jsi-gold-dim); border: 1px solid var(--jsi-gold-line); color: var(--jsi-gold); }
.jsi-bank-account-box dd { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.jsi-bank-acct-no { font-family: 'Poppins', 'Poppins', sans-serif; font-size: 16px; letter-spacing: .04em; }
.jsi-copy-btn { cursor: pointer; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; line-height: 1.4;
	background: var(--jsi-panel); color: var(--jsi-text); border: 1px solid var(--jsi-line); }
.jsi-copy-btn:hover { border-color: var(--jsi-gold-line); }
.jsi-copy-btn.is-copied { color: var(--jsi-success); border-color: var(--jsi-success); }

/* Plan summary shown inside the payment panel on plan-only checkouts */
.jsi-co-plan-summary { margin: 0 0 16px; }

/* ── Notification bell: stay visible whatever the WordPress theme does to <button> ──
   Many themes give every <button> padding, a min-width, a background/colour and
   a text-transform. Inside this small flex circle that squeezed the SVG to zero
   width (you saw the badge but no bell). Pin the size, drop the theme padding and
   draw the icon explicitly. */
.jsi-app-global-actions .jsi-bell-btn {
	box-sizing: border-box !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	flex: 0 0 40px !important;
	width: 40px !important;
	height: 40px !important;
	min-width: 40px !important;
	min-height: 40px !important;
	margin: 0 !important;
	padding: 0 !important;
	border-radius: 50% !important;
	line-height: 1 !important;
	text-indent: 0 !important;
	overflow: visible !important;
	color: #fff !important;
}
.jsi-app-global-actions .jsi-bell-btn svg {
	display: block !important;
	flex: 0 0 20px !important;
	width: 20px !important;
	height: 20px !important;
	min-width: 20px !important;
	fill: none !important;
	stroke: currentColor !important;
	stroke-width: 1.8 !important;
	opacity: 1 !important;
	visibility: visible !important;
}
.jsi-app-global-actions .jsi-bell-btn svg path { fill: none !important; stroke: currentColor !important; }
[data-jsi-theme="light"] .jsi-app-global-actions .jsi-bell-btn { color: #171226 !important; }

/* ── Catalogue: ⋯ menu on each release (same actions as the dashboard) ────── */
.jsi-cat-card { position: relative; }
.jsi-cat-more-btn {
	box-sizing: border-box; flex: 0 0 auto; width: 38px; height: 38px; padding: 0; margin: 0;
	display: inline-flex; align-items: center; justify-content: center;
	border: 1px solid rgba(255,255,255,.35); border-radius: 50%;
	background: rgba(10,5,18,.8); color: #fff; cursor: pointer;
}
.jsi-cat-more-btn svg { display: block; width: 22px; height: 22px; fill: currentColor; }
.jsi-cat-more-btn:hover, .jsi-cat-more-btn[aria-expanded="true"] { background: rgba(10,5,18,.92); border-color: var(--jsi-gold, #A855F7); }
.jsi-cat-more-btn:focus-visible { outline: 2px solid var(--jsi-gold, #A855F7); outline-offset: 2px; }
/* Grid view: float it over the artwork's top-right corner. List view: it sits in the row. */
.jsi-catalog-grid[data-view="grid"] .jsi-cat-more-btn { position: absolute; top: 18px; right: 18px; z-index: 2; }
[data-jsi-theme="light"] .jsi-cat-more-btn { background: rgba(255,255,255,.9); color: #171226; border-color: rgba(23,18,38,.15); }

.jsi-cat-menu {
	position: fixed; z-index: 10001; min-width: 200px; max-width: calc(100vw - 16px); padding: 6px;
	border-radius: 14px; background: #17131f; border: 1px solid var(--jsi-line);
	box-shadow: 0 20px 50px rgba(0,0,0,.5);
}
[data-jsi-theme="light"] .jsi-cat-menu { background: #fff; box-shadow: 0 20px 50px rgba(60,40,120,.22); }
.jsi-cat-menu a, .jsi-cat-menu button {
	display: block; width: 100%; box-sizing: border-box; padding: 10px 12px; margin: 0; border: 0; border-radius: 9px;
	background: none; font: inherit; font-size: 13px; text-align: left; text-decoration: none;
	color: var(--jsi-text-dim); cursor: pointer;
}
.jsi-cat-menu a:hover, .jsi-cat-menu button:hover { background: rgba(255,255,255,.07); color: var(--jsi-text, #fff); }
[data-jsi-theme="light"] .jsi-cat-menu a:hover, [data-jsi-theme="light"] .jsi-cat-menu button:hover { background: rgba(23,18,38,.06); }
.jsi-cat-menu .jsi-delete-release, .jsi-cat-menu .jsi-request-takedown { color: #ff6b6b; }
.jsi-cat-fixnote strong { color: #ff6b6b; }

/* ── Cover art: make-it-square helper ─────────────────────────────────── */
.jsi-artfix { margin-top: 14px; padding: 16px; border: 1px solid var(--jsi-gold-line, rgba(124,58,237,.35)); border-radius: 14px; background: var(--jsi-panel, rgba(255,255,255,.04)); }
.jsi-artfix-title { margin: 0 0 4px; font-weight: 700; }
.jsi-artfix-body { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-start; margin-top: 12px; }
.jsi-artfix-canvas { width: 220px; height: 220px; max-width: 100%; border-radius: 10px; border: 1px solid var(--jsi-line); background: #000; }
.jsi-artfix-controls { flex: 1 1 220px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.jsi-artfix-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.jsi-artfix .jsi-btn.is-on { border-color: var(--jsi-gold); background: var(--jsi-gold-dim); color: var(--jsi-gold); }
.jsi-artfix-pos { flex: 1 1 140px; accent-color: var(--jsi-gold); }

/* Promotion upsell entry in song menus (dashboard + catalogue) */
a.jsi-menu-promote { color: var(--jsi-gold) !important; font-weight: 700; }

/* Checkout: free-release claim box */
.jsi-loy-claim { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin: 0 0 16px; padding: 12px 14px; border: 1px solid rgba(61,220,151,.55); border-radius: 12px; background: rgba(61,220,151,.08); font-size: 13.5px; }


/* ── JSI mark: placeholder for a release with no artwork ─────────────────
   The logo's alpha channel is used as a mask and painted in the theme's own
   soft text colour, so it reads in dark and light and never glares. */
.jsi-art-mark {
	display: block; width: 46%; height: 46%; flex: none;
	background-color: var(--jsi-text-soft, #8c8099); opacity: .6;
	-webkit-mask: url('../img/jsi-cover-mark.png') center / contain no-repeat;
	mask: url('../img/jsi-cover-mark.png') center / contain no-repeat;
}
.jsi-cat-thumb-placeholder { font-size: 0; opacity: 1; }
.jsi-cat-thumb-placeholder .jsi-art-mark { width: 50%; height: 50%; }
