        :root {
            color-scheme: light;
            --page-max-width: 1180px;
            --text: #202124;
            --muted: #667085;
            --border: #d9dee6;
            --soft-border: #e9edf3;
            --accent: #9a3b00;
            --accent-strong: #7c2f00;
            --chord: #9a3b00;
            --bg-soft: #f7f8fa;
            --surface: #fff;
            --surface-muted: #f6f7f9;
            --accent-soft: #fff4ea;
            --focus: #2563eb;
            --page-bg: #fff;
            --compare-soft: #edf5ff;
            --compare-border: #7da0d1;
            --shadow-soft: 0 8px 28px rgba(15, 23, 42, 0.06);
            --shadow-subtle: 0 1px 2px rgba(15, 23, 42, 0.04);
            --brand-do: #8fcf10;
            --brand-diez: #9a3b00;
            --brand-mark-bg: var(--accent-soft);
            --brand-mark-text: var(--text);
        }

        html[data-theme="dark"] {
            color-scheme: dark;
            --text: #eef2f7;
            --muted: #9aa4b2;
            --border: #303947;
            --soft-border: #242c38;
            --accent: #ffad6b;
            --accent-strong: #ffc391;
            --chord: #ffad6b;
            --bg-soft: #141922;
            --surface: #10151d;
            --surface-muted: #0b0f15;
            --accent-soft: rgba(255, 173, 107, 0.14);
            --focus: #7db1ff;
            --page-bg: #0b0f15;
            --compare-soft: rgba(125, 177, 255, 0.14);
            --compare-border: #7db1ff;
            --shadow-soft: 0 12px 32px rgba(0, 0, 0, 0.32);
            --shadow-subtle: 0 1px 2px rgba(0, 0, 0, 0.28);
            --brand-do: #a7e62b;
            --brand-diez: #ffad6b;
            --brand-mark-bg: var(--accent-soft);
            --brand-mark-text: var(--text);
        }

        @media (prefers-color-scheme: dark) {
            html:not([data-theme]) {
                color-scheme: dark;
                --text: #eef2f7;
                --muted: #9aa4b2;
                --border: #303947;
                --soft-border: #242c38;
                --accent: #ffad6b;
                --accent-strong: #ffc391;
                --chord: #ffad6b;
                --bg-soft: #141922;
                --surface: #10151d;
                --surface-muted: #0b0f15;
                --accent-soft: rgba(255, 173, 107, 0.14);
                --focus: #7db1ff;
                --page-bg: #0b0f15;
                --compare-soft: rgba(125, 177, 255, 0.14);
                --compare-border: #7db1ff;
                --shadow-soft: 0 12px 32px rgba(0, 0, 0, 0.32);
                --shadow-subtle: 0 1px 2px rgba(0, 0, 0, 0.28);
                --brand-do: #a7e62b;
                --brand-diez: #ffad6b;
                --brand-mark-bg: var(--accent-soft);
                --brand-mark-text: var(--text);
            }
        }

        html[data-palette="midnight"] {
            --text: #1e293b;
            --muted: #64748b;
            --border: #dbe3ef;
            --soft-border: #edf2f7;
            --accent: #6366f1;
            --accent-strong: #4f46e5;
            --chord: #0284c7;
            --bg-soft: #f8fafc;
            --surface: #fff;
            --surface-muted: #f8fafc;
            --accent-soft: rgba(99, 102, 241, 0.12);
            --focus: #6366f1;
            --page-bg: #fff;
            --compare-soft: rgba(56, 189, 248, 0.12);
            --compare-border: #38bdf8;
            --brand-do: #65a30d;
            --brand-diez: #0284c7;
            --brand-mark-bg: var(--accent-soft);
            --brand-mark-text: var(--text);
        }

        html[data-theme="dark"][data-palette="midnight"] {
            --text: #f8fafc;
            --muted: #94a3b8;
            --border: #26354d;
            --soft-border: #1e293b;
            --accent: #6366f1;
            --accent-strong: #818cf8;
            --chord: #38bdf8;
            --bg-soft: #111c33;
            --surface: #172033;
            --surface-muted: #0f172a;
            --accent-soft: rgba(99, 102, 241, 0.18);
            --focus: #38bdf8;
            --page-bg: #0f172a;
            --compare-soft: rgba(56, 189, 248, 0.16);
            --compare-border: #38bdf8;
            --brand-do: #a3e635;
            --brand-diez: #38bdf8;
            --brand-mark-bg: var(--accent-soft);
            --brand-mark-text: var(--text);
        }

        html[data-palette="forest"] {
            --text: #272a26;
            --muted: #667064;
            --border: #d9dfd2;
            --soft-border: #e8ecdf;
            --accent: #4ade80;
            --accent-strong: #15803d;
            --chord: #059669;
            --bg-soft: #eef1e8;
            --surface: #fffffb;
            --surface-muted: #f7f8f3;
            --accent-soft: rgba(74, 222, 128, 0.16);
            --focus: #059669;
            --page-bg: #f7f8f3;
            --compare-soft: rgba(5, 150, 105, 0.12);
            --compare-border: #059669;
            --brand-do: #65a30d;
            --brand-diez: #059669;
            --brand-mark-bg: var(--accent-soft);
            --brand-mark-text: var(--text);
        }

        html[data-theme="dark"][data-palette="forest"] {
            --text: #e2e3de;
            --muted: #a6ada0;
            --border: #32382f;
            --soft-border: #282d25;
            --accent: #4ade80;
            --accent-strong: #86efac;
            --chord: #a7f3d0;
            --bg-soft: #22261f;
            --surface: #20231e;
            --surface-muted: #1a1c19;
            --accent-soft: rgba(74, 222, 128, 0.14);
            --focus: #4ade80;
            --page-bg: #1a1c19;
            --compare-soft: rgba(167, 243, 208, 0.12);
            --compare-border: #a7f3d0;
            --brand-do: #bef264;
            --brand-diez: #a7f3d0;
            --brand-mark-bg: var(--accent-soft);
            --brand-mark-text: var(--text);
        }

        html[data-palette="amber"] {
            --text: #171717;
            --muted: #6b7280;
            --border: #e5e5e5;
            --soft-border: #eeeeee;
            --accent: #f59e0b;
            --accent-strong: #b45309;
            --chord: #b45309;
            --bg-soft: #f4f4f5;
            --surface: #fff;
            --surface-muted: #fafafa;
            --accent-soft: rgba(245, 158, 11, 0.14);
            --focus: #f59e0b;
            --page-bg: #fafafa;
            --compare-soft: rgba(251, 191, 36, 0.18);
            --compare-border: #f59e0b;
            --brand-do: #84cc16;
            --brand-diez: #b45309;
            --brand-mark-bg: var(--accent-soft);
            --brand-mark-text: var(--text);
        }

        html[data-theme="dark"][data-palette="amber"] {
            --text: #d1d5db;
            --muted: #9ca3af;
            --border: #27272a;
            --soft-border: #18181b;
            --accent: #f59e0b;
            --accent-strong: #fbbf24;
            --chord: #fbbf24;
            --bg-soft: #111;
            --surface: #090909;
            --surface-muted: #000;
            --accent-soft: rgba(245, 158, 11, 0.18);
            --focus: #fbbf24;
            --page-bg: #000;
            --compare-soft: rgba(251, 191, 36, 0.14);
            --compare-border: #fbbf24;
            --brand-do: #a3e635;
            --brand-diez: #fbbf24;
            --brand-mark-bg: var(--accent-soft);
            --brand-mark-text: var(--text);
        }

        @media (prefers-color-scheme: dark) {
            html:not([data-theme])[data-palette="midnight"] {
                --text: #f8fafc;
                --muted: #94a3b8;
                --border: #26354d;
                --soft-border: #1e293b;
                --accent: #6366f1;
                --accent-strong: #818cf8;
                --chord: #38bdf8;
                --bg-soft: #111c33;
                --surface: #172033;
                --surface-muted: #0f172a;
                --accent-soft: rgba(99, 102, 241, 0.18);
                --focus: #38bdf8;
                --page-bg: #0f172a;
                --compare-soft: rgba(56, 189, 248, 0.16);
                --compare-border: #38bdf8;
                --brand-do: #a3e635;
                --brand-diez: #38bdf8;
                --brand-mark-bg: var(--accent-soft);
                --brand-mark-text: var(--text);
            }

            html:not([data-theme])[data-palette="forest"] {
                --text: #e2e3de;
                --muted: #a6ada0;
                --border: #32382f;
                --soft-border: #282d25;
                --accent: #4ade80;
                --accent-strong: #86efac;
                --chord: #a7f3d0;
                --bg-soft: #22261f;
                --surface: #20231e;
                --surface-muted: #1a1c19;
                --accent-soft: rgba(74, 222, 128, 0.14);
                --focus: #4ade80;
                --page-bg: #1a1c19;
                --compare-soft: rgba(167, 243, 208, 0.12);
                --compare-border: #a7f3d0;
                --brand-do: #bef264;
                --brand-diez: #a7f3d0;
                --brand-mark-bg: var(--accent-soft);
                --brand-mark-text: var(--text);
            }

            html:not([data-theme])[data-palette="amber"] {
                --text: #d1d5db;
                --muted: #9ca3af;
                --border: #27272a;
                --soft-border: #18181b;
                --accent: #f59e0b;
                --accent-strong: #fbbf24;
                --chord: #fbbf24;
                --bg-soft: #111;
                --surface: #090909;
                --surface-muted: #000;
                --accent-soft: rgba(245, 158, 11, 0.18);
                --focus: #fbbf24;
                --page-bg: #000;
                --compare-soft: rgba(251, 191, 36, 0.14);
                --compare-border: #fbbf24;
                --brand-do: #a3e635;
                --brand-diez: #fbbf24;
                --brand-mark-bg: var(--accent-soft);
                --brand-mark-text: var(--text);
            }
        }

        * {
            box-sizing: border-box;
        }

        [hidden] {
            display: none !important;
        }

        html {
            background: var(--page-bg);
        }

        body {
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            font-family: Inter, Arial, sans-serif;
            color: var(--text);
            max-width: var(--page-max-width);
            margin: 0 auto;
            padding: 0 var(--page-side-padding, 16px);
            line-height: 1.5;
            background: var(--page-bg);
        }

        body[data-width="centered"] { --page-max-width: 1440px; --page-side-padding: 24px; }
        body[data-width="full"] { --page-max-width: none; --page-side-padding: 24px; }
        body[data-width="max_space"] { --page-max-width: 2400px; --page-side-padding: 24px; }
        body[data-width="compact"],
        body[data-width="standard"],
        body[data-width="default"],
        body[data-width="normal"],
        body[data-width="narrow"] { --page-max-width: 1440px; --page-side-padding: 24px; }
        body[data-width="wide"] { --page-max-width: none; --page-side-padding: 24px; }
        body[data-width="extra_wide"],
        body[data-width="extra-wide"],
        body[data-width="maximum"],
        body[data-width="admin-wide"],
        body[data-width="full_compact"] { --page-max-width: 2400px; --page-side-padding: 24px; }

        body.review-page:not(.admin-page) {
            max-width: 2440px;
        }

        body.song-page {
            background: var(--surface-muted);
        }

        a {
            color: var(--text);
        }

        a:hover {
            text-decoration: none;
        }

        .site-header {
            position: relative;
            padding: 20px 0;
            border-bottom: 1px solid var(--soft-border);
            margin-bottom: 28px;
        }

        .site-header-inner {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 16px;
        }

        .site-logo {
            display: inline-flex;
            align-items: center;
            gap: 12px;
            font-family: Inter, Arial, sans-serif;
            font-size: 27px;
            font-weight: 800;
            line-height: 1;
            text-decoration: none;
            letter-spacing: 0;
            color: var(--text);
        }

        .site-logo-mark {
            position: relative;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            flex: 0 0 34px;
            width: 34px;
            height: 34px;
            border-radius: 9px;
            background: var(--brand-mark-bg);
            color: var(--brand-mark-text);
            font-size: 22px;
            font-weight: 800;
            line-height: 1;
        }

        .site-logo-mark-sharp {
            position: absolute;
            top: 6px;
            right: 5px;
            color: var(--brand-mark-text);
            font-size: 11px;
            font-weight: 800;
            line-height: 1;
        }

        .site-logo-text {
            display: inline-flex;
            align-items: baseline;
            gap: 0;
        }

        .brand-wordmark {
            display: inline-flex;
            align-items: baseline;
            gap: 0;
            font-weight: 800;
            letter-spacing: 0;
        }

        .site-logo-do {
            color: var(--brand-do);
        }

        .site-logo-accent {
            color: var(--brand-diez);
        }

        .site-nav {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 12px;
            font-size: 14px;
            font-weight: 600;
        }

        .site-nav a {
            color: var(--muted);
            text-decoration: none;
        }

        .site-memory-link {
            padding: 0;
            border: 0;
            background: transparent;
            color: var(--muted);
            font: inherit;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
        }

        .site-nav a:hover {
            color: var(--accent);
        }

        .site-memory-link:hover {
            color: var(--accent);
        }

        .site-nav a[aria-current="page"] {
            color: var(--text);
        }

        .site-header-actions {
            position: relative;
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 14px;
        }

        .site-menu {
            display: none;
            position: relative;
        }

        .site-menu-toggle {
            display: inline-flex;
            flex-direction: column;
            justify-content: center;
            gap: 4px;
            width: 46px;
            height: 46px;
            border: 1px solid var(--border);
            border-radius: 10px;
            background: var(--surface);
            color: var(--text);
            cursor: pointer;
            box-shadow: var(--shadow-subtle);
        }

        .site-menu-toggle span {
            display: block;
            width: 16px;
            height: 2px;
            margin: 0 auto;
            border-radius: 999px;
            background: currentColor;
        }

        .site-menu-panel {
            position: absolute;
            top: calc(100% + 8px);
            right: 0;
            z-index: 20;
            display: grid;
            min-width: 180px;
            border: 1px solid var(--border);
            border-radius: 10px;
            background: var(--surface);
            box-shadow: var(--shadow-soft);
            overflow: hidden;
        }

        .site-menu-panel[hidden] {
            display: none;
        }

        .site-menu-panel a,
        .site-menu-memory-link {
            padding: 11px 13px;
            color: var(--text);
            font-weight: 700;
            font-size: 16px;
            line-height: 1.3;
            text-decoration: none;
        }

        .site-menu-memory-link {
            border: 0;
            background: transparent;
            font: inherit;
            font-family: inherit;
            text-align: left;
            cursor: pointer;
        }

        .site-menu-panel a:hover {
            background: var(--accent-soft);
        }

        .site-menu-memory-link:hover {
            background: var(--accent-soft);
        }

        .site-memory-panel {
            position: absolute;
            top: calc(100% + 8px);
            right: 0;
            z-index: 40;
            width: min(420px, calc(100vw - 20px));
            display: grid;
            gap: 10px;
            padding: 12px;
            border: 1px solid var(--border);
            border-radius: 10px;
            background: var(--surface);
            box-shadow: var(--shadow-soft);
        }

        .site-memory-panel[hidden] {
            display: none;
        }

        .site-memory-panel-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 8px;
        }

        .site-memory-panel-header h2 {
            margin: 0;
            color: var(--muted);
            font-size: 16px;
        }

        .site-memory-panel-close {
            width: 32px;
            height: 32px;
            border: 1px solid var(--border);
            border-radius: 8px;
            background: var(--surface);
            color: var(--muted);
            font-size: 15px;
            line-height: 1;
            cursor: pointer;
        }

        .site-memory-panel-stats {
            margin: 0;
            color: var(--muted);
            font-size: 13px;
            font-weight: 600;
        }

        .site-memory-list {
            display: grid;
            gap: 4px;
            color: var(--muted);
            font-size: 13px;
        }

        .site-memory-list ul {
            margin: 0;
            padding-left: 18px;
        }

        .site-memory-list a {
            color: var(--text);
            text-decoration: none;
        }

        .site-memory-list p {
            margin: 0;
            color: var(--muted);
            font-size: 13px;
        }

        .theme-controls {
            display: inline-flex;
            align-items: center;
            gap: 2px;
            min-height: 46px;
            padding: 3px;
            border: 1px solid var(--border);
            border-radius: 10px;
            background: var(--surface);
            box-shadow: var(--shadow-subtle);
        }

        .theme-toggle {
            position: relative;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 38px;
            height: 38px;
            border: 1px solid transparent;
            border-radius: 8px;
            background: var(--surface);
            color: var(--text);
            font: inherit;
            font-weight: 700;
            cursor: pointer;
        }

        .theme-icon {
            position: absolute;
            inset: 0;
            display: grid;
            place-items: center;
            width: 100%;
            height: 100%;
            font-size: 19px;
            line-height: 1;
        }

        .theme-icon svg {
            width: 22px;
            height: 22px;
            fill: none;
            stroke: currentColor;
            stroke-linecap: round;
            stroke-linejoin: round;
            stroke-width: 2;
        }

        .theme-icon-moon,
        html[data-theme="dark"] .theme-icon-sun {
            display: none;
        }

        html[data-theme="dark"] .theme-icon-moon {
            display: grid;
        }

        .theme-toggle:hover,
        .palette-menu:hover,
        .width-menu:hover {
            background: var(--bg-soft);
            border: 1px solid transparent;
        }

        .palette-menu,
        .width-menu {
            position: relative;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 34px;
            height: 38px;
            border: 1px solid transparent;
            border-radius: 8px;
            color: var(--text);
            font-weight: 700;
            cursor: pointer;
        }

        .palette-select,
        .width-select {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            border: 0;
            opacity: 0;
            cursor: pointer;
        }

        .site-search {
            position: relative;
            display: flex;
            gap: 8px;
            margin-top: 16px;
            padding: 6px;
            border: 1px solid var(--border);
            border-radius: 10px;
            background: var(--surface);
            box-shadow: var(--shadow-subtle);
        }

        .site-search > * {
            min-width: 0;
        }

        .home-page .site-search {
            margin-top: 18px;
            gap: 10px;
            padding: 2px 0;
        }

        .home-page .site-search input,
        .home-page .site-search select {
            min-height: 50px;
            border-radius: 10px;
            font-size: 15px;
        }

        .site-search input {
            width: 100%;
            padding: 10px 12px;
            border: 0;
            background: transparent;
            color: var(--text);
            font-size: 16px;
            outline: none;
        }

        .site-search select {
            width: auto;
            min-width: 140px;
            padding: 10px 12px;
            border: 1px solid var(--border);
            border-radius: 8px;
            background: var(--bg-soft);
            color: var(--text);
            font: inherit;
            font-weight: 600;
        }

        .site-search-submit {
            min-height: 42px;
            padding: 10px 14px;
            border: 1px solid var(--accent);
            border-radius: 8px;
            background: var(--accent);
            color: var(--surface);
            font: inherit;
            font-weight: 700;
            white-space: nowrap;
            cursor: pointer;
        }

        .site-search-hint {
            margin: 6px 2px 0;
            color: var(--muted);
            font-size: 13px;
            line-height: 1.35;
        }

        .site-search-hint-mobile {
            display: none;
        }

        .site-search input::placeholder {
            color: var(--muted);
        }

        .site-search-suggestions {
            position: absolute;
            top: calc(100% + 8px);
            right: 0;
            left: 0;
            z-index: 20;
            display: grid;
            gap: 4px;
            padding: 6px;
            border: 1px solid var(--border);
            border-radius: 10px;
            background: var(--surface);
            box-shadow: var(--shadow-soft);
        }

        .site-search-suggestions a {
            display: grid;
            grid-template-columns: 92px minmax(0, 1fr);
            gap: 10px;
            align-items: center;
            padding: 8px 10px;
            border-radius: 8px;
            color: var(--text);
            text-decoration: none;
        }

        .site-search-suggestions a:hover,
        .site-search-suggestions a:focus {
            background: var(--bg-soft);
        }

        .site-search-suggestions span {
            color: var(--muted);
            font-size: 12px;
            font-weight: 700;
        }

        .breadcrumbs {
            margin-bottom: 24px;
            font-size: 14px;
            color: var(--muted);
        }

        .breadcrumbs a {
            color: var(--muted);
        }

        .page {
            flex: 1 0 auto;
            padding-bottom: 48px;
        }

        .hero {
            padding: 18px 0 20px;
        }

        .hero.hero-catalog {
            display: grid;
            gap: 14px;
            min-width: 0;
            max-width: 100%;
        }

        .hero h1 {
            font-size: clamp(32px, 3.8vw, 42px);
            line-height: 1.12;
            margin: 0;
            max-width: 920px;
        }

        .hero p {
            margin: 0;
            font-size: 18px;
            max-width: 860px;
            color: var(--text);
        }

        .hero-trust-line {
            color: var(--muted);
            font-size: 14px;
            font-weight: 600;
        }

        .hero-actions {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-top: 4px;
            max-width: 100%;
            min-width: 0;
        }

        .hero-search {
            display: grid;
            grid-template-columns: minmax(0, 1fr) auto;
            gap: 10px;
            margin-top: 6px;
            max-width: 760px;
        }

        .hero-search input {
            width: 100%;
            min-height: 48px;
            border: 1px solid var(--border);
            border-radius: 10px;
            background: var(--surface);
            color: var(--text);
            padding: 0 14px;
            font: inherit;
            font-size: 16px;
        }

        .hero-search button {
            min-height: 48px;
            padding: 0 18px;
            border: 1px solid var(--accent);
            border-radius: 10px;
            background: var(--accent);
            color: var(--surface);
            font: inherit;
            font-weight: 700;
            cursor: pointer;
        }

        .button {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 12px 18px;
            border: 1px solid var(--text);
            border-radius: 8px;
            background: var(--surface);
            text-decoration: none;
            color: var(--text);
            font: inherit;
            font-weight: 700;
            cursor: pointer;
        }

        .button.primary {
            border-color: var(--accent);
            background: var(--accent);
            color: var(--surface);
        }

        .button.button-muted {
            border-color: var(--border);
            color: var(--muted);
            background: var(--surface);
        }

        .catalog-cta-row {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin: 12px 0 18px;
        }

        .alphabet-nav {
            margin: 12px 0 28px;
        }

        .alphabet-nav h2 {
            margin: 0 0 10px;
            font-size: 16px;
            color: var(--muted);
            font-weight: 700;
        }

        .stats-grid {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 16px;
            margin: 8px 0 6px;
        }

        .stat-card {
            border: 1px solid var(--border);
            border-radius: 10px;
            padding: 14px;
            background: var(--surface);
            box-shadow: var(--shadow-subtle);
            display: grid;
            gap: 4px;
        }

        .stat-card strong {
            font-size: clamp(24px, 3vw, 32px);
            line-height: 1;
        }

        .stat-card span {
            color: var(--muted);
            font-size: 14px;
            font-weight: 600;
        }

        .audience-grid {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 16px;
            margin: 26px 0 30px;
        }

        .audience-card {
            border: 1px solid var(--border);
            border-radius: 10px;
            padding: 16px;
            background: var(--surface);
            box-shadow: var(--shadow-subtle);
        }

        .audience-card h2 {
            margin: 0 0 8px;
            font-size: 18px;
        }

        .audience-card p {
            margin: 0;
            color: var(--muted);
            font-size: 15px;
            line-height: 1.5;
        }

        .catalog-section {
            margin: 30px 0 42px;
        }

        .catalog-section + .catalog-section {
            margin-top: 48px;
        }

        .catalog-section-head {
            display: flex;
            align-items: baseline;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 10px;
            margin-bottom: 14px;
        }

        .catalog-section-head h2,
        .catalog-section > h2 {
            margin: 0;
            font-size: 24px;
        }

        .catalog-section-description {
            margin: 8px 0 16px;
            color: var(--muted);
            font-size: 14px;
        }

        .catalog-section-head a {
            color: var(--accent);
            text-decoration: none;
            font-size: 14px;
            font-weight: 700;
        }

        .song-card-grid {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 14px;
        }

        .song-card {
            border: 1px solid var(--soft-border);
            border-radius: 10px;
            background: var(--surface);
            padding: 12px;
            box-shadow: var(--shadow-subtle);
            min-width: 0;
        }

        .song-card-title {
            display: block;
            color: var(--text);
            font-weight: 700;
            line-height: 1.35;
            text-decoration: none;
        }

        .song-card-title:hover {
            color: var(--accent);
        }

        .song-card-meta {
            margin: 8px 0 0;
            color: var(--muted);
            font-size: 13px;
            font-weight: 600;
        }

        .artist-grid {
            margin-top: 14px;
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
            gap: 10px;
        }

        .artist-card {
            display: flex;
            align-items: center;
            border: 1px solid var(--soft-border);
            border-radius: 10px;
            padding: 11px 12px;
            background: var(--surface);
            box-shadow: var(--shadow-subtle);
            min-width: 0;
            min-height: 50px;
        }

        .artist-card-title {
            display: block;
            min-width: 0;
            width: 100%;
            color: var(--text);
            font-weight: 700;
            text-decoration: none;
            line-height: 1.35;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .artist-card-title:hover {
            color: var(--accent);
        }

        .artist-card-alias {
            background: var(--surface-muted);
        }

        .artist-card-alias-target {
            display: none;
        }

        .song-meta,
        .muted {
            color: var(--muted);
            font-size: 14px;
        }

        .search-lyrics-excerpt {
            max-width: 720px;
            margin-top: 5px;
            line-height: 1.45;
        }

        .search-lyrics-excerpt mark {
            border-radius: 4px;
            padding: 0 2px;
            background: var(--accent-soft);
            color: var(--text);
            font-weight: 700;
        }

        .submission-header {
            max-width: 820px;
            margin-bottom: 24px;
        }

        .submission-header h1 {
            margin-bottom: 10px;
        }

        .submission-form {
            display: grid;
            gap: 18px;
        }

        .submission-honeypot {
            display: none !important;
        }

        .submission-notice {
            margin: 0 0 18px;
            border: 1px solid var(--border);
            border-radius: 8px;
            padding: 12px 14px;
            font-weight: 700;
        }

        .submission-notice.success {
            border-color: var(--accent);
            background: var(--accent-soft);
            color: var(--text);
        }

        .submission-notice.error {
            border-color: #b42318;
            background: color-mix(in srgb, #b42318 10%, var(--surface));
            color: var(--text);
        }

        .submission-fields {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 12px;
        }

        .submission-fields label,
        .submission-raw {
            display: grid;
            gap: 7px;
            color: var(--muted);
            font-size: 13px;
            font-weight: 700;
        }

        .submission-fields input,
        .submission-raw textarea {
            width: 100%;
            border: 1px solid var(--border);
            border-radius: 8px;
            background: var(--surface);
            color: var(--text);
            font: inherit;
        }

        .submission-fields input {
            min-height: 42px;
            padding: 9px 11px;
        }

        .submission-rules {
            border: 1px solid var(--soft-border);
            border-radius: 8px;
            padding: 12px 14px;
            background: var(--surface-muted);
        }

        .submission-rules h2 {
            margin: 0 0 8px;
            color: var(--muted);
            font-size: 14px;
        }

        .submission-rules ul {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 6px 18px;
            margin: 0;
            padding-left: 18px;
            color: var(--muted);
            font-size: 14px;
            line-height: 1.35;
        }

        .submission-rules strong {
            color: var(--text);
        }

        .submission-workspace {
            display: grid;
            grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
            gap: 18px;
            align-items: start;
        }

        .submission-raw textarea {
            height: 620px;
            padding: 14px;
            resize: vertical;
            white-space: pre;
            font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
            font-size: 15px;
            line-height: 1.45;
        }

        .submission-preview {
            display: grid;
            grid-template-rows: auto 1fr;
            gap: 7px;
        }

        .submission-preview h2 {
            margin: 0;
            color: var(--muted);
            font-size: 13px;
            font-weight: 700;
        }

        .submission-preview-body {
            height: 620px;
            border: 1px solid var(--soft-border);
            border-radius: 8px;
            padding: 14px;
            background: var(--surface);
            overflow: auto;
        }

        .submission-parse-summary h2 {
            margin: 0 0 12px;
            color: var(--muted);
            font-size: 15px;
        }

        .submission-preview .song-content-pre {
            margin-top: 0;
        }

        .submission-actions {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: flex-end;
            gap: 12px;
        }

        .submission-actions p {
            flex: 1 1 320px;
            margin: 0;
        }

        .submission-actions > div {
            display: flex;
            flex-wrap: wrap;
            justify-content: flex-end;
            gap: 8px;
        }

        .submission-parse-summary {
            margin-top: 0;
            border-top: 1px solid var(--soft-border);
            padding-top: 18px;
        }

        .submission-warnings {
            margin: 10px 0 0;
            padding-left: 18px;
            color: var(--muted);
            font-size: 14px;
        }

        .artist-page-header {
            display: grid;
            grid-template-columns: 86px minmax(0, 1fr);
            gap: 20px;
            align-items: center;
            margin: 0 0 28px;
        }

        .artist-page-avatar {
            display: grid;
            place-items: center;
            width: 86px;
            height: 86px;
            border-radius: 50%;
            background: var(--accent-soft);
            color: var(--accent);
            font-size: 38px;
            font-weight: 800;
            line-height: 1;
        }

        .artist-page-header h1 {
            margin: 0 0 8px;
            font-size: 38px;
            line-height: 1.12;
            letter-spacing: 0;
        }

        .artist-page-summary {
            margin: 0;
            color: var(--muted);
            font-size: 16px;
        }

        .artist-page-aliases {
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
            align-items: center;
            margin: 12px 0 0;
            color: var(--muted);
            font-size: 14px;
        }

        .artist-page-aliases span {
            padding: 2px 7px;
            border: 1px solid var(--soft-border);
            border-radius: 999px;
            background: var(--surface);
            color: var(--text);
            font-size: 13px;
        }

        .artist-alias-target {
            color: var(--muted);
            font-size: 0.9em;
        }

        .artist-songs-section {
            margin-top: 26px;
        }

        .artist-songs-section h2 {
            margin: 0 0 14px;
            color: var(--muted);
            font-size: 16px;
            font-weight: 700;
        }

        .artist-songs-list {
            columns: 3;
            column-gap: 28px;
            margin: 0;
        }

        .artist-songs-list li {
            break-inside: avoid;
            padding: 0;
            border-bottom: 0;
            margin: 0 0 10px;
        }

        .artist-songs-list a {
            color: var(--text);
            font-size: 15px;
            font-weight: 520;
            line-height: 1.25;
            text-decoration: none;
            transition: background-color 0.2s ease, border-color 0.2s ease;
            border: 1px solid transparent;
            border-radius: 8px;
            padding: 3px 6px;
            margin-left: -6px;
        }

        .artist-songs-list a:hover {
            color: var(--accent);
        }

        .artist-song-card.song-card--priority-high {
            background: color-mix(in srgb, var(--accent) 10%, var(--surface));
            border-color: color-mix(in srgb, var(--accent) 26%, var(--soft-border));
            font-weight: 650;
        }

        .artist-song-card.song-card--priority-medium {
            background: color-mix(in srgb, var(--accent) 5%, var(--surface));
            border-color: color-mix(in srgb, var(--accent) 16%, var(--soft-border));
        }

        .artist-secondary-links {
            margin-top: 40px;
        }

        .artist-related-block + .artist-related-block {
            margin-top: 28px;
        }

        .artist-related-list {
            margin-top: 12px;
        }

        .artist-letter-link {
            display: inline-block;
            border: 1px solid transparent;
            border-radius: 8px;
            padding: 2px 6px;
            margin-left: -6px;
            text-decoration: none;
            color: var(--text);
            transition: background-color 0.2s ease, border-color 0.2s ease;
        }

        .artist-letter-link:hover {
            color: var(--accent);
        }

        .artist-letter-link.artist-card--priority-high {
            background: color-mix(in srgb, var(--accent) 9%, var(--surface));
            border-color: color-mix(in srgb, var(--accent) 22%, var(--soft-border));
            font-weight: 620;
        }

        .artist-letter-link.artist-card--priority-medium {
            background: color-mix(in srgb, var(--accent) 4%, var(--surface));
            border-color: color-mix(in srgb, var(--accent) 12%, var(--soft-border));
        }

        .alphabet {
            margin: 16px 0 12px;
        }

        .alphabet h2 {
            margin-bottom: 10px;
        }

        .alphabet.alphabet-compact {
            margin: 18px 0 10px;
            padding: 10px 12px;
            border: 1px solid var(--soft-border);
            border-radius: 10px;
            background: var(--surface-muted);
            max-width: 100%;
        }

        .alphabet.alphabet-compact h2 {
            margin: 0 0 8px;
            font-size: 14px;
            color: var(--muted);
            font-weight: 700;
        }

        .alphabet-row {
            display: flex;
            flex-wrap: nowrap;
            gap: 6px;
            margin: 8px 0;
            overflow-x: auto;
            overflow-y: hidden;
            padding-bottom: 2px;
            scrollbar-width: thin;
        }

        .alphabet-row a {
            display: inline-block;
            min-width: 34px;
            padding: 7px 10px;
            border: 1px solid var(--border);
            border-radius: 8px;
            text-align: center;
            text-decoration: none;
            color: var(--text);
            font-size: 14px;
            line-height: 1.2;
            font-weight: 700;
            background: var(--surface);
            transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
        }

        .alphabet-row a:hover,
        .alphabet-row a:focus-visible {
            border-color: var(--accent);
            color: var(--accent);
            background: var(--accent-soft);
        }

        .alphabet-group + .alphabet-group {
            margin-top: 14px;
        }

        .alphabet-chip {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            flex: 0 0 auto;
        }

        .song-toolbar {
            display: flex;
            flex-wrap: wrap;
            justify-content: flex-start;
            gap: 8px;
            user-select: none;
        }

        .song-actions {
            position: static;
            z-index: 5;
            display: flex;
            flex-wrap: wrap;
            gap: 8px 12px;
            align-items: center;
            justify-content: flex-start;
            user-select: none;
            align-content: flex-start;
            justify-self: stretch;
        }

        .song-control-group--transpose {
            order: 1;
        }

        .song-control-group--scroll {
            order: 2;
        }

        .song-control-group--display {
            order: 3;
        }

        .song-control-group--right {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            order: 3;
            justify-self: end;
            flex-wrap: nowrap;
        }

        .song-control-group--right .song-control-group--display {
            order: 1;
        }

        .song-memory-save-group {
            order: 2;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0;
            padding: 0;
            width: 50px;
            min-width: 50px;
            height: 50px;
            min-height: 50px;
            box-sizing: border-box;
        }

        .song-tool-group {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            min-height: 46px;
            padding: 4px;
            border: 1px solid var(--border);
            border-radius: 8px;
            background: var(--surface);
            box-shadow: var(--shadow-subtle);
        }

        .song-tool-button {
            display: inline-flex;
            align-items: center;
            min-height: 38px;
            padding: 7px 10px;
            border: 1px solid transparent;
            border-radius: 6px;
            background: var(--surface);
            color: var(--text);
            font: inherit;
            font-weight: 700;
            cursor: pointer;
            text-decoration: none;
        }

        .song-tool-button.active {
            border-color: var(--accent);
            background: var(--accent-soft);
            color: var(--accent);
        }

        .song-tool-button:hover,
        .song-speed-control:hover {
            border-color: var(--border);
        }

        .song-tool-button:focus-visible,
        .song-speed-control input:focus-visible {
            outline: 2px solid var(--focus);
            outline-offset: 2px;
        }

        .song-icon-button {
            justify-content: center;
            width: 38px;
            padding: 7px;
            font-size: 20px;
            line-height: 1;
        }

        .song-action-svg {
            width: 22px;
            height: 22px;
            fill: none;
            stroke: currentColor;
            stroke-linecap: round;
            stroke-linejoin: round;
            stroke-width: 2;
        }

        .song-autoscroll-hide {
            display: none;
        }

        .song-speed-control {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            min-height: 38px;
            padding: 8px 10px;
            border: 1px solid transparent;
            border-radius: 6px;
            color: var(--muted);
            font-size: 13px;
        }

        .song-speed-control output {
            min-width: 34px;
            color: var(--text);
            font-weight: 700;
            text-align: right;
        }

        .song-transpose-output {
            min-width: 34px;
            color: var(--text);
            font-weight: 800;
            text-align: center;
        }

        @media (min-width: 769px) {
            .song-actions {
                display: grid;
                grid-template-columns: auto 1fr auto;
                gap: 12px;
                align-items: center;
                width: 100%;
                margin-top: 4px;
            }

            .song-control-group--transpose {
                justify-self: start;
            }

            .song-control-group--scroll {
                justify-self: center;
            }

            .song-control-group--display {
                justify-self: end;
            }

            .song-control-group--right {
                justify-self: end;
            }

        }

        .song-speed-control input {
            width: 120px;
            accent-color: var(--accent);
        }

        .song-layout {
            display: grid;
            grid-template-columns: minmax(240px, 290px) minmax(0, 1fr);
            gap: 32px;
            align-items: start;
        }

        .song-side {
            position: static;
            display: grid;
            gap: 16px;
        }

        .artist-avatar-panel {
            display: grid;
            justify-items: center;
            padding: 12px 0 4px;
        }

        .artist-avatar-placeholder {
            display: grid;
            place-items: center;
            width: 96px;
            height: 96px;
            border: 1px solid var(--border);
            border-radius: 50%;
            background: var(--surface);
            color: var(--accent);
            font-size: 40px;
            font-weight: 700;
            line-height: 1;
            box-shadow: var(--shadow-soft);
        }

        .song-panel {
            padding: 14px;
            border: 1px solid var(--border);
            border-radius: 8px;
            background: var(--surface);
            box-shadow: var(--shadow-soft);
        }

        .song-panel h2 {
            margin: 0 0 14px;
            font-size: 17px;
            color: var(--muted);
            font-weight: 700;
        }

        .arrangement-list {
            display: grid;
            gap: 8px;
        }

        .arrangement-card {
            padding: 10px;
            border: 1px solid var(--border);
            border-radius: 8px;
            background: var(--surface);
            transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
        }

        .arrangement-card.active {
            border-color: var(--accent);
            background: var(--accent-soft);
        }

        .arrangement-card.compared {
            border-color: var(--compare-border);
            background: var(--compare-soft);
        }

        .arrangement-card:hover {
            border-color: var(--muted);
        }

        .arrangement-card a {
            font-weight: 700;
            text-decoration: none;
        }

        .arrangement-card-title {
            display: flex;
            justify-content: space-between;
            gap: 8px;
            align-items: baseline;
        }

        .arrangement-card-title span {
            color: var(--muted);
            font-size: 12px;
            white-space: nowrap;
        }

        .arrangement-card p {
            margin: 4px 0 0;
            color: var(--muted);
            font-size: 13px;
        }

        .arrangement-card .arrangement-compare {
            display: inline-block;
            margin-top: 6px;
            color: var(--accent);
            font-size: 13px;
        }

        .artist-top-songs {
            margin-top: 14px;
        }

        .artist-top-song-list {
            display: grid;
            grid-template-columns: minmax(0, 1fr);
            gap: 6px;
        }

        .artist-top-song-list a {
            min-width: 0;
            color: var(--text);
            font-size: 13px;
            line-height: 1.25;
            overflow-wrap: anywhere;
            text-decoration: none;
        }

        .artist-top-song-list a:hover {
            color: var(--accent);
        }

        .artist-top-song-all {
            display: inline-block;
            margin-top: 12px;
            color: var(--accent);
            font-size: 13px;
            font-weight: 700;
            text-decoration: none;
        }

        .song-reader {
            display: grid;
            grid-template-columns: minmax(0, 1fr);
            gap: 18px;
            min-width: 0;
        }

        .song-reader.is-comparing {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }

        .song-reader.is-comparing .song-reader-top,
        .song-reader.is-comparing .song-print-title {
            grid-column: 1 / -1;
        }

        .song-reader-column {
            min-width: 0;
        }

        .song-print-title {
            display: none;
        }

        .song-reader-top {
            display: grid;
            grid-template-columns: minmax(0, 1fr);
            gap: 14px;
            align-items: start;
            margin-bottom: 10px;
            min-width: 0;
        }

        .song-reader-heading {
            display: block;
            max-width: 760px;
            min-width: 0;
        }

        .song-reader-heading h1,
        .song-reader-heading h2 {
            margin: 0;
            font-size: 32px;
            line-height: 1.12;
            letter-spacing: 0;
            word-break: normal;
            overflow-wrap: normal;
            hyphens: none;
        }

        .song-reader-heading h1,
        .song-reader-heading h2,
        .song-reader-heading p,
        .song-title-artist,
        .song-title-name {
            word-break: normal;
            overflow-wrap: normal;
            hyphens: none;
        }

        .song-reader-column .song-reader-heading h2 {
            font-size: 18px;
        }

        .song-reader-heading p {
            margin: 0;
            color: var(--muted);
            font-size: 14px;
            grid-column: 1 / -1;
        }

        .song-artist-aliases {
            max-width: 680px;
        }

        .song-social-proof {
            display: none !important;
            flex-wrap: wrap;
            gap: 6px 14px;
            margin-top: 12px;
            color: var(--muted);
            font-size: 13px;
            user-select: none;
        }

        .song-social-proof span {
            display: inline-flex;
            align-items: center;
            min-height: 24px;
            padding: 2px 8px;
            border: 1px solid var(--soft-border);
            border-radius: 999px;
            background: var(--surface);
        }

        .song-social-proof-bottom {
            display: none;
        }

        .song-reader-heading > span {
            color: var(--muted);
            font-size: 13px;
        }

        .song-reader-heading h1 span {
            color: inherit;
            font-size: inherit;
        }

        .song-title__main {
            display: block;
        }

        .song-title__suffix {
            display: block;
            margin-top: 4px;
            color: var(--muted);
            font-size: 0.58em;
            font-weight: 600;
            line-height: 1.2;
        }

        .song-title-seo-tail {
            display: block;
            margin-top: 4px;
            color: var(--muted);
            font-size: 0.58em !important;
            font-weight: 600;
            line-height: 1.2;
            user-select: none;
        }

        .song-reader-heading a {
            color: var(--muted);
            font-size: 13px;
        }

        .song-content-pre {
            margin-top: 16px;
            overflow-x: auto;
            padding: 0 0 18px;
            white-space: pre;
            font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
            font-size: var(--song-reader-font-size, 16px);
            line-height: 1.42;
        }

        .song-feedback {
            grid-column: 1 / -1;
            display: flex;
            align-items: center;
            gap: 10px;
            margin-top: 24px;
            color: var(--muted);
            font-size: 13px;
            user-select: none;
        }

        .song-feedback-button {
            min-height: 36px;
            padding: 7px 11px;
            border: 1px solid var(--border);
            border-radius: 6px;
            background: var(--surface);
            color: var(--muted);
            font: inherit;
            font-weight: 700;
            cursor: pointer;
        }

        .song-feedback-button:hover {
            border-color: var(--accent);
            color: var(--text);
        }

        .song-feedback-button:disabled {
            cursor: default;
            border-color: var(--accent);
            background: var(--accent-soft);
            color: var(--accent);
        }

        .song-seo-summary,
        .song-faq-block {
            grid-column: 1 / -1;
            margin-top: 14px;
            padding: 10px 12px;
            border: 1px solid var(--border);
            border-radius: 8px;
            background: var(--surface);
        }

        .song-seo-summary h2,
        .song-faq-block h2 {
            margin: 0 0 8px;
            font-size: 14px;
            line-height: 1.3;
            color: var(--muted);
            font-weight: 700;
        }

        .song-seo-summary ul {
            display: flex;
            flex-wrap: wrap;
            gap: 6px 16px;
            margin: 0;
            padding: 0;
            list-style: none;
            font-size: 13px;
            color: var(--muted);
        }

        .song-seo-summary li strong {
            color: var(--text);
            font-weight: 600;
        }

        .song-faq-block details {
            border-top: 1px solid var(--border);
            padding: 7px 0;
        }

        .song-faq-block details:first-of-type {
            border-top: 0;
            padding-top: 0;
        }

        .song-faq-block summary {
            cursor: pointer;
            color: var(--text);
            font-size: 13px;
            line-height: 1.35;
            font-weight: 600;
        }

        .song-faq-block details p {
            margin: 6px 0 0;
            color: var(--muted);
            font-size: 13px;
            line-height: 1.45;
        }

        .song-memory-save-inline {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            box-sizing: border-box;
            width: 100%;
            min-width: 0;
            height: 100%;
            min-height: 0;
            border: 0;
            border-radius: 7px;
            background: transparent;
            color: var(--accent);
            padding: 0;
            cursor: pointer;
            transition: color 0.15s ease, background 0.15s ease;
        }

        .song-save-icon {
            display: block;
            width: 20px;
            height: 20px;
            flex: 0 0 20px;
        }

        .song-save-icon path {
            fill: none;
            stroke: currentColor;
            stroke-width: 1.8;
            vector-effect: non-scaling-stroke;
        }

        .song-memory-save-inline:hover,
        .song-memory-save-inline:focus-visible {
            color: var(--accent);
            background: var(--bg-soft);
        }

        .song-memory-save-inline.is-saved {
            color: var(--accent);
            background: transparent;
        }

        .song-memory-save-inline.is-saved .song-save-icon path {
            fill: currentColor;
            stroke: currentColor;
        }

        .song-chord-line,
        .song-chord-token {
            color: var(--chord);
            font-weight: 700;
        }

        .song-marker,
        .song-marker-inline {
            color: var(--text);
            font-weight: 700;
        }

        .song-chord-note {
            color: var(--muted);
            font-weight: 500;
        }

        .review-filters,
        .review-actions {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            align-items: end;
        }

        .review-filters {
            margin: 20px 0 28px;
            padding: 14px;
            border: 1px solid var(--border);
            border-radius: 8px;
            background: var(--bg-soft);
        }

        .review-filters label {
            display: grid;
            gap: 4px;
            font-size: 14px;
            color: var(--muted);
        }

        .review-filters select,
        .review-action-button {
            display: grid;
            gap: 2px;
            justify-items: start;
            min-height: 50px;
            padding: 8px 12px;
            border: 1px solid var(--border);
            border-radius: 9px;
            background: var(--surface);
            color: var(--text);
            font: inherit;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            text-decoration: none;
        }

        .review-action-button span {
            color: var(--muted);
            font-size: 12px;
            font-weight: 400;
            line-height: 1.2;
        }

        .review-badges {
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
            margin-top: 8px;
        }

        .review-badge,
        .review-badges span {
            padding: 4px 8px;
            border: 1px solid var(--border);
            border-radius: 999px;
            background: var(--surface-muted);
            color: var(--muted);
            font-size: 12px;
            font-weight: 700;
        }

        .review-badge-hidden {
            border-color: #475569;
            background: color-mix(in srgb, #475569 20%, var(--surface));
            color: #e2e8f0;
        }

        .review-badge-published {
            border-color: #15803d;
            background: color-mix(in srgb, #22c55e 22%, var(--surface));
            color: #14532d;
        }

        .review-badge-status-review {
            border-color: #d97706;
            background: color-mix(in srgb, #f59e0b 25%, var(--surface));
            color: #7c2d12;
        }

        .review-badge-status-ok {
            border-color: #15803d;
            background: color-mix(in srgb, #16a34a 18%, var(--surface));
            color: #14532d;
        }

        .review-badge-status-neutral {
            border-color: #64748b;
            background: color-mix(in srgb, #64748b 18%, var(--surface));
            color: #334155;
        }

        .review-badge-reason-auto {
            border-color: #6366f1;
            background: color-mix(in srgb, #818cf8 24%, var(--surface));
            color: #312e81;
        }

        .review-badge-reason-user {
            border-color: #7c3aed;
            background: color-mix(in srgb, #a78bfa 24%, var(--surface));
            color: #4c1d95;
        }

        .review-badge-source-import {
            border-color: #0284c7;
            background: color-mix(in srgb, #38bdf8 20%, var(--surface));
            color: #0c4a6e;
        }

        .review-badge-source-recheck {
            border-color: #0369a1;
            background: color-mix(in srgb, #7dd3fc 20%, var(--surface));
            color: #0c4a6e;
        }

        .review-badge-source-user {
            border-color: #0f766e;
            background: color-mix(in srgb, #5eead4 20%, var(--surface));
            color: #134e4a;
        }

        .review-badge-source-correction {
            border-color: #0f766e;
            background: color-mix(in srgb, #99f6e4 20%, var(--surface));
            color: #134e4a;
        }

        .review-action-panel.review-action-groups {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 16px;
            align-items: flex-start;
        }

        .review-action-group {
            display: grid;
            align-content: start;
            gap: 10px;
            width: 100%;
            max-width: none;
            padding: 13px;
            border: 1px solid #e5e7eb;
            border-radius: 10px;
            background: #fff;
            box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
        }

        .review-inline-actions {
            margin: 12px 0 16px;
        }

        .review-result-block {
            margin: 10px 0 16px;
            padding: 12px;
            border: 1px solid #7c9fe0;
            border-radius: 8px;
            background: color-mix(in srgb, #dbeafe 28%, var(--surface));
            display: grid;
            gap: 6px;
        }

        .review-result-block h3 {
            margin: 0;
            font-size: 14px;
        }

        .review-result-block p {
            margin: 0;
        }

        .review-result-links {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }

        .review-action-group--primary-flow { justify-self: stretch; }

        .review-action-group--primary-flow .review-actions {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, max-content));
            gap: 10px;
            align-items: stretch;
            justify-content: center;
        }

        .review-action-group--decision .review-actions {
            display: grid;
            grid-template-columns: repeat(3, max-content);
            gap: 10px;
            align-items: stretch;
            justify-content: start;
        }

        .review-action-group--decision {
            justify-self: stretch;
        }

        .review-action-group--visibility .review-actions {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, max-content));
            gap: 10px;
            align-items: stretch;
            justify-content: start;
        }

        .review-action-group--visibility {
            justify-self: stretch;
        }

        .review-action-group .review-actions form {
            min-width: 0;
        }

        .review-action-group h3 {
            margin: 0;
            color: #475569;
            font-size: 13px;
            font-weight: 600;
        }

        .review-decision-form {
            display: grid;
            gap: 10px;
        }

        .review-decision-label {
            display: grid;
            gap: 6px;
            font-size: 12px;
            color: var(--muted);
            font-weight: 700;
        }

        .review-decision-label textarea,
        .review-decision-label select {
            border: 1px solid var(--border);
            border-radius: 6px;
            padding: 8px 10px;
            font: inherit;
            color: var(--text);
            background: var(--surface);
        }

        .review-decision-label textarea {
            min-height: 56px;
            max-height: 96px;
        }

        .review-parser-issue-actions {
            margin-top: 8px;
        }

        @media (max-width: 1280px) {
            .review-action-groups {
                grid-template-columns: 1fr;
            }

            .review-action-group--decision,
            .review-action-group--primary-flow,
            .review-action-group--visibility {
                justify-self: stretch;
                width: 100%;
            }

            .review-action-group--decision .review-actions,
            .review-action-group--visibility .review-actions,
            .review-action-group--editing .review-actions,
            .review-action-group--primary-flow .review-actions {
                grid-template-columns: 1fr;
            }
        }

        .review-actions .review-action-checked { border-color: #6aa36f; background: #f2fbf4; }
        .review-actions .review-action-reparse { border-color: #8f78c7; background: #f7f5ff; }
        .review-actions .review-action-parser { border-color: #b58b2a; background: #fff9eb; }
        .review-actions .review-action-edit { border-color: #6f93c4; background: #f4f8ff; }
        .review-actions .review-action-alphabet { border-color: #e08a2e; background: #fff7ed; }
        .review-actions .review-action-display { border-color: #c06f98; background: #fff3f8; }
        .review-action-danger { border-color: #d97706; background: #fff7ed; }

        .review-footer-actions {
            margin-top: 18px;
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            justify-content: flex-end;
        }

        .review-page nav[role="navigation"] {
            margin: 24px 0;
        }

        .review-page nav[role="navigation"] svg {
            width: 20px;
            height: 20px;
            display: block;
        }

        .review-page nav[role="navigation"] a,
        .review-page nav[role="navigation"] span {
            text-decoration: none;
        }

        .review-flash {
            padding: 10px 12px;
            border: 1px solid var(--border);
            border-radius: 8px;
            background: var(--bg-soft);
        }

        .review-status-nav {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin: 18px 0;
        }

        .review-status-nav a {
            display: inline-flex;
            gap: 8px;
            align-items: center;
            padding: 8px 10px;
            border: 1px solid var(--border);
            border-radius: 6px;
            color: var(--text);
            text-decoration: none;
        }

        .review-status-nav a.active {
            border-color: var(--accent);
            background: var(--accent-soft);
            font-weight: 700;
        }

        .review-status-nav span {
            color: var(--muted);
            font-size: 13px;
        }

        .review-item {
            margin: 28px 0;
            padding: 18px 0 28px;
            border-bottom: 1px solid var(--border);
        }

        .review-item-focused {
            border-left: 4px solid #2563eb;
            background: color-mix(in srgb, #2563eb 7%, var(--surface));
            border-radius: 10px;
            padding: 18px 14px 28px;
        }

        .review-focus-label {
            display: inline-block;
            margin: 0 0 8px;
            padding: 4px 10px;
            border-radius: 999px;
            border: 1px solid #2563eb;
            background: color-mix(in srgb, #60a5fa 25%, var(--surface));
            color: #1e3a8a;
            font-size: 12px;
            font-weight: 700;
        }

        .review-header {
            display: flex;
            justify-content: space-between;
            gap: 16px;
            align-items: flex-start;
        }

        .review-header h2 {
            margin: 0 0 6px;
            font-size: 22px;
        }

        .review-warnings {
            margin: 14px 0;
            padding: 12px 16px;
            border: 1px solid var(--border);
            border-radius: 8px;
            background: var(--bg-soft);
        }

        .review-warnings li {
            margin: 8px 0;
        }

        .review-warnings code {
            white-space: pre-wrap;
        }

        .review-parser-prompt {
            margin-top: 12px;
            padding: 12px;
            border: 1px solid var(--soft-border);
            border-radius: 8px;
            background: var(--surface-muted);
        }

        .review-parser-prompt h3 {
            margin: 0 0 8px;
            color: var(--muted);
            font-size: 13px;
            font-weight: 800;
        }

        .review-parser-prompt textarea {
            width: 100%;
            min-height: 180px;
            border: 1px solid var(--border);
            border-radius: 6px;
            padding: 8px 10px;
            font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
            font-size: 12px;
            line-height: 1.35;
            background: var(--surface);
            color: var(--text);
            resize: vertical;
        }

        .review-mixed-script {
            padding: 1px 3px;
            border-radius: 4px;
            background: var(--accent-soft);
            color: var(--text);
            box-shadow: inset 0 0 0 1px var(--accent);
        }

        .review-mixed-script-letter {
            color: var(--accent-strong);
            font-weight: 800;
            text-decoration: underline;
            text-decoration-thickness: 2px;
        }

        .review-grid {
            display: grid;
            grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
            gap: 18px;
        }

        .review-submission-grid {
            grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        }

        .review-metadata-editor {
            margin: 14px 0 18px;
            padding: 12px;
            border: 1px solid var(--soft-border);
            border-radius: 8px;
            background: var(--surface-muted);
        }

        .review-metadata-editor h3 {
            margin: 0 0 10px;
            color: var(--muted);
            font-size: 13px;
            font-weight: 800;
        }

        .review-submission-fields {
            display: grid;
            gap: 8px;
            margin-bottom: 10px;
        }

        .review-metadata-fields {
            grid-template-columns: 1fr 0.9fr 1fr minmax(160px, 0.8fr) minmax(160px, 0.8fr);
        }

        .review-alias-editor {
            display: grid;
            gap: 8px;
            margin: 10px 0;
        }

        .review-alias-editor h4 {
            margin: 0;
            color: var(--muted);
            font-size: 13px;
            font-weight: 800;
        }

        .review-alias-list {
            display: grid;
            gap: 6px;
        }

        .review-alias-row {
            display: grid;
            grid-template-columns: minmax(180px, 1fr) auto auto;
            gap: 8px;
            align-items: center;
        }

        .review-alias-row label,
        .review-alias-editor > label {
            display: grid;
            gap: 4px;
            color: var(--muted);
            font-size: 13px;
            font-weight: 700;
        }

        .review-alias-row label {
            grid-auto-flow: column;
            align-items: center;
            justify-content: start;
        }

        .review-checkbox-label {
            grid-auto-flow: column !important;
            align-items: center;
            justify-content: start;
            align-content: center;
        }

        .review-checkbox-label input {
            width: auto;
            min-height: 0;
        }

        .review-merge-action {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            justify-self: start;
            margin: -2px 0 8px;
            color: var(--muted);
            font-size: 13px;
            font-weight: 700;
            line-height: 1.2;
        }

        .review-merge-action input {
            width: auto;
            min-height: 0;
        }

        .review-alias-editor textarea {
            min-height: 90px;
            width: 100%;
            border: 1px solid var(--border);
            border-radius: 6px;
            padding: 7px 9px;
            background: var(--surface);
            color: var(--text);
            font: inherit;
        }

        .review-submission-fields label {
            display: grid;
            gap: 4px;
            color: var(--muted);
            font-size: 13px;
            font-weight: 700;
        }

        .review-submission-fields input {
            min-height: 38px;
            width: 100%;
            border: 1px solid var(--border);
            border-radius: 6px;
            padding: 7px 9px;
            background: var(--surface);
            color: var(--text);
            font: inherit;
        }

        .review-grid h3 {
            margin-bottom: 8px;
            font-size: 16px;
        }

        .review-raw-tools {
            margin: 8px 0 12px;
        }

        .review-raw-alphabet-toggle {
            min-height: 34px;
            padding: 7px 10px;
        }

        .review-raw,
        .review-grid .song-content-pre,
        .review-editor-highlight,
        .review-editor-form textarea {
            min-height: 1020px;
            padding: 12px;
            border: 1px solid var(--border);
            border-radius: 8px;
            white-space: pre;
            font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
            font-size: 14px;
            line-height: 1.35;
        }

        .review-raw {
            background: var(--bg-soft);
        }

        .review-raw-alphabet {
            background: var(--surface);
        }

        .alphabet-char-cyrillic {
            background: rgba(46, 204, 113, 0.2);
            border-radius: 2px;
        }

        .alphabet-char-latin {
            background: rgba(255, 193, 7, 0.28);
            border-radius: 2px;
        }

        .review-grid .song-content-pre {
            margin-top: 0;
            background: var(--surface);
        }

        .review-editor-form {
            display: grid;
            gap: 10px;
        }

        .review-editor-highlight-wrap {
            position: relative;
            min-height: 1020px;
        }

        .review-editor-highlight {
            position: absolute;
            inset: 0;
            overflow: hidden;
            margin: 0;
            background: var(--surface);
            color: transparent;
            pointer-events: none;
            z-index: 1;
        }

        .review-editor-highlight .review-mixed-script {
            color: transparent;
        }

        .review-editor-highlight .review-mixed-script-letter {
            color: var(--accent-strong);
            background: var(--accent-soft);
        }

        .review-editor-actions {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }

        .review-editor-status {
            margin: 0;
            color: var(--muted);
            font-size: 13px;
        }

        .review-split-box {
            border: 1px solid var(--soft-border);
            border-radius: 8px;
            background: var(--surface);
            padding: 10px 12px;
        }

        .review-split-box > summary {
            cursor: pointer;
            font-weight: 700;
            margin-bottom: 8px;
        }

        .review-split-box[open] > summary {
            margin-bottom: 10px;
        }

        .review-editor-form textarea {
            position: relative;
            z-index: 2;
            width: 100%;
            background: transparent;
            color: var(--text);
            resize: vertical;
        }

        .review-editor-form .review-alias-new {
            max-width: 520px;
        }

        .review-editor-form .review-alias-new-input {
            min-height: 76px;
            height: 76px;
            padding: 8px 10px;
            white-space: pre-wrap;
            font-family: inherit;
            font-size: 14px;
            line-height: 1.35;
        }

        .site-footer {
            flex-shrink: 0;
            border-top: 1px solid var(--soft-border);
            padding: 26px 0 30px;
            margin-top: 48px;
            color: var(--muted);
            font-size: 14px;
        }

        .site-footer-inner {
            max-width: var(--page-max-width);
            margin: 0 auto;
            padding: 0 16px;
            display: grid;
            grid-template-columns: minmax(0, 1fr) auto;
            gap: 20px 28px;
            align-items: start;
        }

        .footer-brand {
            min-width: 0;
        }

        .footer-brand .brand-wordmark {
            font-size: 24px;
            line-height: 1;
        }

        .footer-meta {
            margin: 10px 0 0;
            color: var(--muted);
            font-size: 14px;
            line-height: 1.45;
        }

        .footer-nav {
            display: flex;
            flex-wrap: wrap;
            gap: 10px 18px;
            justify-content: flex-end;
            align-content: flex-start;
            padding-top: 2px;
        }

        .footer-link {
            color: var(--muted);
            text-decoration: none;
            border-bottom: 1px solid transparent;
            transition: border-color .15s ease, color .15s ease;
        }

        .footer-link:hover,
        .footer-link:focus-visible {
            color: var(--text);
            border-bottom-color: var(--text);
        }

        @media (max-width: 1199px) {
            .song-layout {
                grid-template-columns: minmax(220px, 270px) minmax(0, 1fr);
            }

            .song-reader-top {
                grid-template-columns: minmax(0, 1fr);
            }

            .song-actions {
                position: static;
                justify-content: flex-start;
                justify-self: auto;
            }
        }

        @media (max-width: 899px) {
            .song-layout {
                grid-template-columns: minmax(0, 1fr);
            }

            .song-side {
                position: static;
            }

            .song-reader {
                grid-column: auto;
            }

            .song-card-grid {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }

            .site-footer {
                margin-top: 38px;
                padding: 22px 0 26px;
            }

            .site-footer-inner {
                grid-template-columns: minmax(0, 1fr);
                gap: 14px;
            }

            .footer-nav {
                justify-content: flex-start;
                gap: 10px 14px;
            }
        }

        @media (max-width: 760px) {
            html,
            body {
                max-width: 100%;
                overflow-x: hidden;
            }

            .page,
            .hero,
            .hero.hero-catalog,
            .hero-actions,
            .alphabet-nav {
                max-width: 100%;
                min-width: 0;
            }

            body.song-page {
                overflow-x: hidden;
                width: 100%;
            }

            .site-header-inner {
                align-items: center;
                flex-direction: row;
                gap: 10px;
            }

            .site-header-actions {
                flex: 0 0 auto;
                width: auto;
                justify-content: flex-end;
                gap: 8px;
            }

            .site-logo {
                min-width: 0;
                flex: 1 1 auto;
            }

            .site-nav {
                display: none;
            }

            .site-menu {
                display: block;
            }

            .site-memory-panel {
                position: fixed;
                top: 72px;
                right: 12px;
                left: 12px;
                width: auto;
                max-height: calc(100vh - 90px);
                overflow: auto;
            }

            .theme-controls {
                margin-left: 0;
            }

            .site-search {
                margin-top: 10px;
            }

            .song-page .site-header {
                padding: 8px 0;
                margin-bottom: 8px;
            }

            .song-page .page {
                max-width: 100vw;
                overflow-x: hidden;
                padding-bottom: 90px;
            }

            .song-page .breadcrumb-song {
                display: none;
            }

            .song-page .theme-controls {
                transform: none;
            }

            .song-page .theme-toggle {
                width: 44px;
                height: 44px;
            }

            .song-page .palette-menu {
                width: 30px;
                height: 44px;
                font-size: 18px;
            }

            .width-menu {
                display: none;
            }

            .site-search {
                display: grid;
                grid-template-columns: minmax(0, 1fr) auto;
                align-items: center;
                gap: 8px;
            }

            .site-search select {
                display: none;
            }

            .site-search input {
                width: 100%;
                min-width: 0;
            }

            .site-search-submit {
                min-height: 44px;
                padding: 0 14px;
            }

            .site-search-hint {
                margin-top: 8px;
                font-size: 12px;
            }

            .site-search-hint-desktop {
                display: none;
            }

            .site-search-hint-mobile {
                display: inline;
            }

            .audience-grid,
            .stats-grid {
                grid-template-columns: 1fr;
            }

            .catalog-cta-row {
                margin: 10px 0 14px;
            }

            .alphabet-row {
                display: grid;
                grid-template-columns: repeat(6, minmax(0, 1fr));
                gap: 6px;
                margin: 8px 0;
                overflow: visible;
                padding-bottom: 0;
            }

            .alphabet-row a {
                min-width: 0;
                width: 100%;
                text-align: center;
            }

            .alphabet-group + .alphabet-group {
                margin-top: 18px;
            }

            .review-header,
            .review-grid,
            .song-reader-top,
            .song-reader.is-comparing {
                display: block;
            }

            .song-layout {
                display: flex;
                flex-direction: column;
                max-width: 100%;
                overflow-x: hidden;
            }

            .song-reader {
                order: 1;
                display: flex;
                flex-direction: column;
                max-width: 100%;
                overflow-x: hidden;
            }

            .song-side {
                order: 2;
            }

            .song-reader-top {
                display: flex;
                flex-direction: column;
                max-width: 100%;
                padding-top: 0;
            }

            .song-reader-top .song-reader-heading {
                order: 1;
            }

            .song-reader-top .song-actions {
                order: 2;
            }

            .song-page .song-reader-heading h1 {
                font-size: 32px;
                line-height: 1.08;
                font-weight: 800;
                max-width: calc(100vw - 32px);
                word-break: normal;
                overflow-wrap: normal;
                hyphens: none;
            }

            .song-page .song-title-seo-tail {
                position: absolute;
                width: 1px;
                height: 1px;
                overflow: hidden;
                clip: rect(0, 0, 0, 0);
                white-space: nowrap;
            }

            .song-page .song-title-artist,
            .song-page .song-title-name {
                display: block;
            }

            .song-page .song-title-artist {
                color: var(--muted);
                font-size: clamp(25px, 7.2vw, 34px);
                font-weight: 800;
                line-height: 1.1;
            }

            .song-page .song-title-name {
                font-size: clamp(30px, 9vw, 38px);
                font-weight: 800;
                line-height: 1.08;
                overflow-wrap: normal;
                word-break: normal;
                hyphens: none;
            }

            .song-page .song-title-separator {
                display: none;
            }

            .song-page .song-content-pre {
                max-width: 100%;
                overflow-x: auto;
            }

            .song-toolbar {
                justify-content: flex-start;
                margin-top: 0;
            }

            .song-actions {
                margin-top: 0;
            }

            .song-page .song-actions {
                position: static;
                display: flex;
                align-items: center;
                justify-content: space-between;
                flex-wrap: wrap;
                width: 100%;
                max-width: calc(100vw - 32px);
                margin: 10px 0 12px;
                padding: 6px 0;
                background: var(--surface-muted);
            }

            .song-page .song-tool-group {
                min-height: 40px;
                padding: 2px;
                gap: 2px;
                overflow: visible;
            }

            .song-page .song-control-group--display,
            .song-page .song-control-group--transpose {
                position: static;
                background: var(--surface);
                box-shadow: var(--shadow-soft);
            }

            .song-page .song-control-group--transpose {
                order: 1;
                min-height: 40px;
                padding: 2px;
                gap: 2px;
            }

            .song-page .song-control-group--display {
                order: initial;
            }

            .song-page .song-control-group--right {
                order: 3;
                display: inline-flex;
                align-items: center;
                justify-content: flex-end;
                flex-wrap: nowrap;
                gap: 6px;
                min-width: 0;
            }

            .song-page .song-control-group--right .song-tool-group {
                min-height: 40px;
            }

            .song-page .song-control-group--right .song-tool-button {
                min-height: 34px;
                padding: 5px 7px;
                font-size: 13px;
                line-height: 1;
            }

            .song-page .song-control-group--right .song-icon-button,
            .song-page .song-control-group--right .song-transpose-output {
                width: 34px;
                min-width: 34px;
                padding: 5px;
                font-size: 16px;
            }

            .song-page .song-control-group--right .song-memory-save-group {
                width: 40px;
                min-width: 40px;
                height: 40px;
                min-height: 40px;
                padding: 0;
                box-sizing: border-box;
                align-items: center;
                justify-content: center;
            }

            .song-page .song-control-group--right .song-memory-save-inline {
                line-height: 1;
            }

            .song-page .song-control-group--right .song-save-icon {
                width: 18px;
                height: 18px;
                flex-basis: 18px;
            }

            .song-page .song-control-group--transpose .song-tool-button {
                min-height: 34px;
                padding: 5px 7px;
                font-size: 13px;
                line-height: 1;
            }

            .song-page .song-control-group--transpose .song-icon-button,
            .song-page .song-control-group--transpose .song-transpose-output {
                width: 34px;
                min-width: 34px;
                padding: 5px;
                font-size: 16px;
            }

            .song-page .song-autoscroll-control {
                order: 2;
            }

            .song-page .song-tool-button {
                min-height: 36px;
                padding: 6px 8px;
                font-size: 14px;
            }

            .song-page .song-icon-button,
            .song-page .song-transpose-output {
                width: 36px;
                min-width: 36px;
                padding: 6px;
                font-size: 18px;
            }

            .song-page .song-autoscroll-control {
                position: fixed !important;
                right: auto;
                bottom: max(12px, env(safe-area-inset-bottom));
                left: 12px;
                z-index: 1001;
                display: flex;
                width: calc(100vw - 24px);
                width: calc(100dvw - 24px);
                max-width: calc(100vw - 24px);
                max-width: calc(100dvw - 24px);
                justify-content: center;
                background: var(--surface);
                backdrop-filter: blur(10px);
                box-shadow: var(--shadow-soft);
            }

            .song-page .song-autoscroll-control.collapsed {
                right: 12px;
                left: auto;
                width: 44px;
                max-width: 44px;
            }

            .song-page .song-autoscroll-control.collapsed [data-autoscroll-toggle],
            .song-page .song-autoscroll-control.collapsed .song-speed-control {
                display: none;
            }

            .song-page .song-autoscroll-hide {
                display: inline-flex;
            }

            .song-speed-control input {
                width: min(46vw, 180px);
            }

            .song-side {
                position: static;
                margin-bottom: 20px;
            }

            .song-page .artist-avatar-panel {
                display: none;
            }

            .song-page .song-panel {
                margin-top: 22px;
                width: 100%;
                padding: 0;
                border: 0;
                background: transparent;
                box-shadow: none;
            }

            .song-page .song-panel h2 {
                margin-bottom: 10px;
                font-size: 14px;
            }

            .song-page .arrangement-list {
                gap: 6px;
            }

            .song-page .artist-top-songs {
                margin-top: 18px;
            }

            .song-page .artist-top-song-list {
                grid-template-columns: minmax(0, 1fr);
                gap: 8px;
            }

            .song-page .artist-top-song-list a {
                font-size: 14px;
            }

            .song-page .arrangement-card {
                padding: 10px 12px;
                border-color: transparent;
                background: var(--surface);
                box-shadow: var(--shadow-subtle);
            }

            .song-page .arrangement-card.active {
                border-color: transparent;
                background: var(--accent-soft);
            }

            .song-page .arrangement-card.compared {
                border-color: transparent;
                background: var(--compare-soft);
            }

            .song-page .arrangement-compare,
            .song-page .song-reader-column > .song-reader-heading,
            .song-reader.is-comparing .song-reader-column + .song-reader-column {
                display: none;
            }

            .song-page .song-social-proof-top {
                display: none;
            }

            .song-page .song-social-proof-bottom {
                display: none !important;
                order: 3;
                margin: 20px 0 0;
            }

            .song-feedback {
                order: 4;
                margin-top: 18px;
            }

            .review-actions {
                margin-top: 12px;
            }

            .hero-search {
                grid-template-columns: 1fr;
            }

            .hero-search button {
                width: 100%;
            }

            .artist-grid,
            .song-card-grid {
                grid-template-columns: 1fr;
            }

            .submission-fields,
            .submission-workspace {
                grid-template-columns: 1fr;
            }

            .submission-rules ul {
                grid-template-columns: 1fr;
            }

            .submission-actions,
            .submission-actions > div {
                justify-content: stretch;
            }

            .submission-actions .button,
            .submission-actions > div {
                width: 100%;
            }

            .submission-raw textarea,
            .submission-preview-body {
                height: 420px;
            }

            .artist-page-header {
                grid-template-columns: 54px minmax(0, 1fr);
                gap: 14px;
                margin-bottom: 22px;
            }

            .artist-page-avatar {
                width: 54px;
                height: 54px;
                font-size: 25px;
            }

            .artist-page-header h1 {
                font-size: 29px;
            }

            .artist-page-summary {
                font-size: 14px;
            }

            .artist-songs-list {
                columns: 1;
            }

            .hero h1 {
                font-size: clamp(30px, 8vw, 36px);
            }

            .site-footer {
                margin-top: 30px;
                padding: 18px 0 24px;
            }

            .site-footer-inner {
                padding: 0 12px;
            }

            .footer-brand .brand-wordmark {
                font-size: 22px;
            }

            .footer-nav {
                display: grid;
                grid-template-columns: minmax(0, 1fr);
                gap: 8px;
            }

            .footer-link {
                display: inline-flex;
                align-items: center;
                min-height: 30px;
            }
        }

        .admin-page {
            background: var(--surface-muted);
        }

        .admin-page .site-header {
            position: static;
            top: auto;
            z-index: auto;
            margin-bottom: 0;
            padding: 14px 0;
            border-bottom: 1px solid var(--border);
            background: var(--page-bg);
            backdrop-filter: none;
        }

        .admin-page .site-footer {
            display: none;
        }

        .admin-page .page {
            max-width: none;
            padding: 18px 0 28px;
        }

        .admin-shell {
            display: grid;
            grid-template-columns: 260px minmax(0, 1fr);
            gap: 18px;
            min-height: calc(100vh - 92px);
        }

        .admin-width-shell {
            width: 100%;
            margin-left: auto;
            margin-right: auto;
            box-sizing: border-box;
        }

        .admin-shell--centered {
            max-width: 1440px;
            padding-left: 24px;
            padding-right: 24px;
        }

        .admin-shell--full {
            max-width: none;
            padding-left: 24px;
            padding-right: 24px;
        }

        .admin-shell--max-space {
            max-width: 2400px;
            padding-left: 24px;
            padding-right: 24px;
        }

        body.admin-page[data-width="centered"] .admin-width-shell,
        body.admin-page[data-width="compact"] .admin-width-shell,
        body.admin-page[data-width="standard"] .admin-width-shell,
        body.admin-page[data-width="default"] .admin-width-shell,
        body.admin-page[data-width="normal"] .admin-width-shell,
        body.admin-page[data-width="narrow"] .admin-width-shell {
            max-width: 1440px;
            padding-left: 24px;
            padding-right: 24px;
        }

        body.admin-page[data-width="full"] .admin-width-shell,
        body.admin-page[data-width="wide"] .admin-width-shell {
            max-width: none;
            padding-left: 24px;
            padding-right: 24px;
        }

        body.admin-page[data-width="max_space"] .admin-width-shell,
        body.admin-page[data-width="extra_wide"] .admin-width-shell,
        body.admin-page[data-width="extra-wide"] .admin-width-shell,
        body.admin-page[data-width="maximum"] .admin-width-shell,
        body.admin-page[data-width="admin-wide"] .admin-width-shell,
        body.admin-page[data-width="full_compact"] .admin-width-shell {
            max-width: 2400px;
            padding-left: 24px;
            padding-right: 24px;
        }

        .admin-sidebar {
            position: static;
            top: auto;
            align-self: start;
            display: flex;
            flex-direction: column;
            min-height: 0;
            padding: 16px;
            border: 1px solid var(--border);
            border-radius: 12px;
            background: var(--surface);
            box-shadow: var(--shadow-subtle);
        }

        .admin-sidebar-head {
            position: relative;
            padding: 4px 4px 14px;
            border-bottom: 1px solid var(--soft-border);
        }

        .admin-sidebar-toggle {
            position: absolute;
            top: 2px;
            right: 0;
            width: 34px;
            height: 34px;
            padding: 0;
            border: 1px solid var(--border);
            border-radius: 8px;
            background: var(--surface);
            color: var(--muted);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
        }

        .admin-sidebar-toggle svg {
            width: 18px;
            height: 18px;
            display: block;
        }

        .admin-sidebar-toggle:hover {
            color: var(--accent-strong);
            border-color: var(--accent);
        }

        .admin-sidebar-title {
            margin: 0;
            color: var(--text);
            font-size: 20px;
            font-weight: 800;
        }

        .admin-sidebar-subtitle {
            margin-top: 2px;
            color: var(--muted);
            font-size: 13px;
        }

        .admin-nav {
            display: grid;
            gap: 8px;
            padding-top: 14px;
        }

        .admin-nav a,
        .admin-logout button {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            width: 100%;
            padding: 11px 12px;
            border: 1px solid transparent;
            border-radius: 8px;
            background: transparent;
            color: var(--text);
            font: inherit;
            font-weight: 650;
            text-align: left;
            text-decoration: none;
            cursor: pointer;
        }

        .admin-nav-icon {
            width: 18px;
            height: 18px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            flex: 0 0 18px;
            color: currentColor;
        }

        .admin-nav-icon svg {
            width: 18px;
            height: 18px;
            display: block;
        }

        .admin-nav-label {
            min-width: 0;
        }

        .admin-nav a:hover,
        .admin-nav a.active,
        .admin-logout button:hover {
            border-color: var(--border);
            background: var(--surface-muted);
            color: var(--accent-strong);
        }

        .admin-nav a.active {
            border-color: color-mix(in srgb, var(--accent) 45%, var(--border));
            background: var(--accent-soft);
        }

        .admin-user {
            margin-top: auto;
            padding: 16px 4px 8px;
            color: var(--muted);
            font-size: 12px;
            overflow-wrap: anywhere;
        }

        .admin-logout {
            margin-top: 0;
        }

        .admin-page.admin-sidebar-collapsed .admin-shell {
            grid-template-columns: 72px minmax(0, 1fr);
        }

        .admin-page.admin-sidebar-collapsed .admin-sidebar {
            padding: 12px 8px;
        }

        .admin-page.admin-sidebar-collapsed .admin-sidebar-head {
            padding: 4px 0 12px;
            min-height: 40px;
        }

        .admin-page.admin-sidebar-collapsed .admin-sidebar-title,
        .admin-page.admin-sidebar-collapsed .admin-sidebar-subtitle,
        .admin-page.admin-sidebar-collapsed .admin-user,
        .admin-page.admin-sidebar-collapsed .admin-nav-label {
            display: none;
        }

        .admin-page.admin-sidebar-collapsed .admin-sidebar-toggle {
            position: static;
            width: 100%;
        }

        .admin-page.admin-sidebar-collapsed .admin-nav a {
            justify-content: center;
            padding: 10px 0;
            gap: 0;
        }

        .admin-page.admin-sidebar-collapsed .admin-logout button {
            text-align: center;
            padding: 10px 0;
        }

        .admin-main {
            min-width: 0;
            padding: 24px;
            border: 1px solid var(--border);
            border-radius: 12px;
            background: var(--page-bg);
            box-shadow: var(--shadow-subtle);
        }

        .admin-main > h1:first-child {
            margin-top: 0;
            margin-bottom: 18px;
            font-size: clamp(26px, 2.4vw, 36px);
            line-height: 1.12;
        }

        .admin-stat-grid {
            display: grid;
            grid-template-columns: repeat(4, minmax(0, 1fr));
            gap: 14px;
            margin-top: 18px;
        }

        .admin-stat-card {
            display: grid;
            gap: 8px;
            padding: 18px;
            border: 1px solid var(--border);
            border-radius: 8px;
            background: var(--surface);
            color: var(--text);
            text-decoration: none;
        }

        .admin-stat-card span {
            color: var(--muted);
            font-size: 14px;
        }

        .admin-stat-card strong {
            font-size: 30px;
            line-height: 1;
        }

        .admin-login-card {
            width: min(420px, 100%);
            margin: 10vh auto;
            padding: 24px;
            border: 1px solid var(--border);
            border-radius: 8px;
            background: var(--surface);
            box-shadow: var(--shadow-soft);
        }

        .admin-login-card form,
        .admin-code-form {
            display: grid;
            gap: 14px;
        }

        .admin-login-card label,
        .admin-code-form label {
            display: grid;
            gap: 7px;
            color: var(--text);
            font-weight: 650;
        }

        .admin-login-card input,
        .admin-code-form textarea {
            width: 100%;
            border: 1px solid var(--border);
            border-radius: 8px;
            background: var(--surface);
            color: var(--text);
            font: inherit;
        }

        .admin-login-card input {
            min-height: 42px;
            padding: 0 12px;
        }

        .admin-login-remember {
            display: flex !important;
            grid-template-columns: none !important;
            align-items: center;
            gap: 8px !important;
            font-weight: 500 !important;
        }

        .admin-login-remember input {
            width: auto;
            min-height: 0;
        }

        .admin-code-form textarea {
            min-height: 260px;
            padding: 12px;
            font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
            font-size: 14px;
            line-height: 1.5;
        }

        .song-content-pre,
        .raw-text-preview,
        .legacy-raw-preview,
        pre.song-line,
        pre {
            white-space: pre;
            overflow-x: auto;
        }

        body.has-admin-public-toolbar {
            --admin-public-toolbar-offset: 64px;
            padding-top: var(--admin-public-toolbar-offset);
        }

        body.has-admin-public-toolbar.admin-public-toolbar-hidden {
            --admin-public-toolbar-offset: 42px;
        }

        .admin-public-toolbar {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1200;
            padding: 8px 0;
            border-bottom: 1px solid var(--soft-border);
            background: color-mix(in srgb, var(--surface) 92%, #000);
            backdrop-filter: blur(10px);
        }

        .admin-public-toolbar-inner {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            width: 100%;
            max-width: var(--page-max-width);
            margin: 0 auto;
            padding: 0 var(--page-side-padding, 16px);
            box-sizing: border-box;
        }

        .admin-public-toolbar-actions {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }

        .admin-public-toolbar-actions button,
        .admin-public-toolbar-actions a {
            padding: 6px 10px;
            border: 1px solid var(--border);
            border-radius: 6px;
            background: var(--surface);
            color: var(--text);
            font: inherit;
            font-size: 13px;
            font-weight: 650;
            text-decoration: none;
            cursor: pointer;
        }

        .admin-public-toolbar-reveal {
            position: fixed;
            top: 8px;
            right: var(--page-side-padding, 16px);
            z-index: 1201;
            padding: 6px 10px;
            border: 1px solid var(--border);
            border-radius: 6px;
            background: var(--surface);
            color: var(--text);
            font: inherit;
            font-size: 13px;
            font-weight: 650;
            cursor: pointer;
        }

        body.admin-public-toolbar-hidden .admin-public-toolbar-inner {
            display: none;
        }

        body.admin-public-toolbar-hidden .admin-public-toolbar {
            border-bottom: 0;
            background: transparent;
            backdrop-filter: none;
            pointer-events: none;
        }

        body.admin-public-toolbar-hidden .admin-public-toolbar-reveal {
            pointer-events: auto;
        }

        @media (max-width: 860px) {
            .admin-page .site-header {
                position: static;
            }

            .admin-page .page {
                padding-top: 12px;
            }

            .admin-shell {
                grid-template-columns: 1fr;
                gap: 12px;
            }

            .admin-sidebar {
                position: static;
                min-height: 0;
                border-radius: 10px;
            }

            .admin-nav {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }

            .admin-page.admin-sidebar-collapsed .admin-shell {
                grid-template-columns: 1fr;
            }

            .admin-page.admin-sidebar-collapsed .admin-sidebar {
                padding: 12px;
            }

            .admin-page.admin-sidebar-collapsed .admin-sidebar-head {
                padding: 4px 4px 14px;
                min-height: 0;
            }

            .admin-page.admin-sidebar-collapsed .admin-sidebar-title,
            .admin-page.admin-sidebar-collapsed .admin-sidebar-subtitle,
            .admin-page.admin-sidebar-collapsed .admin-sidebar .admin-nav-label,
            .admin-page.admin-sidebar-collapsed .admin-user {
                display: initial;
            }

            .admin-page.admin-sidebar-collapsed .admin-sidebar-toggle {
                position: absolute;
                top: 2px;
                right: 0;
                width: 34px;
            }

            .admin-page.admin-sidebar-collapsed .admin-nav a {
                justify-content: flex-start;
                padding: 11px 12px;
                gap: 10px;
            }

            body.has-admin-public-toolbar {
                --admin-public-toolbar-offset: 98px;
            }

            .admin-user {
                margin-top: 8px;
            }

            .admin-main {
                padding: 16px;
                border-radius: 10px;
            }

            .admin-stat-grid {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }
        }

        @media print {
            body {
                max-width: none;
                padding: 0;
                color: #000;
            }

            .site-header,
            .site-footer,
            .breadcrumbs,
            .song-actions,
            .song-toolbar,
            .song-side,
            .song-reader-heading,
            .song-feedback,
            .song-reader-column + .song-reader-column {
                display: none !important;
            }

            .page,
            .song-layout,
            .song-reader,
            .song-reader-column {
                display: block !important;
                margin: 0;
                padding: 0;
            }

            .song-print-title {
                display: block;
                margin: 0 0 18px;
                font-size: 22px;
                line-height: 1.2;
            }

            .song-content-pre {
                margin: 0;
                overflow: visible;
                padding: 0;
                border: 0;
                font-size: 12pt;
                white-space: pre-wrap;
            }
        }
