        #ddex-labelgrid-form-wrap * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

#ddex-labelgrid-form-wrap {
            font-family: inherit;
            background: transparent;
            min-height: 0;
            max-width: 100%;
            width: 100%;
            padding: 20px;
            box-sizing: border-box;
            overflow-x: hidden;
        }

        #ddex-labelgrid-form-wrap .info-box {
            display: none;
        }

        #ddex-labelgrid-form-wrap .container {
            max-width: 900px;
            width: 100%;
            margin: 0 auto;
            background: white;
            border-radius: 12px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
            border: 1px solid #e0e0e0;
            overflow: hidden;
            position: relative;
            box-sizing: border-box;
        }

        /* Submit progress (inline panel on step 5, not full-screen overlay) */
        #ddex-labelgrid-form-wrap .ddex-submit-progress-panel {
            display: none;
            margin-top: 20px;
            padding: 28px 24px;
            background: #f8fafc;
            border: 1px solid #e2e8f0;
            border-radius: 10px;
            text-align: center;
        }
        #ddex-labelgrid-form-wrap .ddex-submit-progress-panel:not([hidden]) {
            display: block;
        }
        #ddex-labelgrid-form-wrap .ddex-submit-progress-inner {
            max-width: 420px;
            margin: 0 auto;
        }
        #ddex-labelgrid-form-wrap .ddex-submit-spinner {
            width: 48px;
            height: 48px;
            border: 4px solid #e0e0e0;
            border-top-color: #0073aa;
            border-radius: 50%;
            animation: ddex-spin 0.9s linear infinite;
            margin: 0 auto 16px;
        }
        #ddex-labelgrid-form-wrap .ddex-submit-progress-title {
            margin: 0 0 10px;
            font-size: 1.15rem;
            font-weight: 600;
            color: #1e293b;
        }
        #ddex-labelgrid-form-wrap .ddex-submit-progress-text {
            margin: 0;
            font-size: 14px;
            line-height: 1.5;
            color: #475569;
        }
        @keyframes ddex-spin {
            to { transform: rotate(360deg); }
        }

        /* Progress Bar */
        #ddex-labelgrid-form-wrap .progress-container {
            background: white;
            padding: 30px 40px;
            max-width: 100%;
            overflow-x: auto;
        }

        #ddex-labelgrid-form-wrap .progress-steps {
            display: flex;
            flex-wrap: nowrap;
            justify-content: space-between;
            gap: 4px;
            position: relative;
            margin-bottom: 10px;
            min-width: 0;
        }

        #ddex-labelgrid-form-wrap .progress-step {
            flex: 1 1 0;
            min-width: 0;
            text-align: center;
            position: relative;
            z-index: 1;
        }

        #ddex-labelgrid-form-wrap .progress-step-circle {
            width: clamp(28px, 7.5vw, 40px);
            height: clamp(28px, 7.5vw, 40px);
            border-radius: 50%;
            background: #e0e0e0;
            color: #888;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 8px;
            font-weight: 600;
            font-size: clamp(11px, 2.8vw, 14px);
            transition: all 0.3s;
        }

        #ddex-labelgrid-form-wrap .progress-step.active .progress-step-circle {
            background: #0073aa;
            color: white;
            box-shadow: 0 0 0 4px rgba(0, 115, 170, 0.2);
        }

        #ddex-labelgrid-form-wrap .progress-step.completed .progress-step-circle {
            background: #0073aa;
            color: white;
            border: none;
            box-shadow: 0 0 0 4px rgba(0, 115, 170, 0.15);
        }

        #ddex-labelgrid-form-wrap .progress-step-label {
            font-size: clamp(8px, 2.1vw, 12px);
            color: #888;
            font-weight: 500;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            line-height: 1.25;
            padding: 0 1px;
        }

        #ddex-labelgrid-form-wrap .progress-step.active .progress-step-label {
            color: #0073aa;
            font-weight: 600;
        }

        #ddex-labelgrid-form-wrap .progress-step.completed .progress-step-label {
            color: #0073aa;
            font-weight: 600;
        }

        #ddex-labelgrid-form-wrap .progress-line {
            position: absolute;
            top: clamp(14px, 3.75vw, 20px);
            left: 0;
            right: 0;
            height: 3px;
            background: #e0e0e0;
            z-index: 0;
        }

        #ddex-labelgrid-form-wrap .progress-line-fill {
            height: 100%;
            background: #0073aa;
            transition: width 0.3s;
            width: 0%;
        }

        #ddex-labelgrid-form-wrap .form-content {
            padding: 40px;
            max-width: 100%;
            box-sizing: border-box;
        }

        /* Form Steps */
        #ddex-labelgrid-form-wrap .form-step {
            display: none;
        }

        #ddex-labelgrid-form-wrap .form-step.active {
            display: block;
            animation: fadeIn 0.3s;
        }

        /* Post-submit success step (not on progress bar) */
        #ddex-labelgrid-form-wrap.ddex-wizard-success .progress-container {
            display: none;
        }

        #ddex-labelgrid-form-wrap .ddex-form-step-success .ddex-success-section {
            text-align: center;
            max-width: 36rem;
            margin-left: auto;
            margin-right: auto;
            padding: 24px 16px 8px;
        }

        #ddex-labelgrid-form-wrap .ddex-success-icon {
            color: #0073aa;
            margin: 0 auto 16px;
            display: flex;
            justify-content: center;
        }

        #ddex-labelgrid-form-wrap .ddex-success-title {
            font-size: 26px;
            font-weight: 700;
            color: #1a1a1a;
            margin: 0 0 12px;
            line-height: 1.3;
        }

        #ddex-labelgrid-form-wrap .ddex-success-lead,
        #ddex-labelgrid-form-wrap .ddex-success-detail {
            font-size: 16px;
            line-height: 1.55;
            color: #333333;
            margin: 0 0 12px;
        }

        #ddex-labelgrid-form-wrap .ddex-success-playlist-outreach {
            font-size: 15px;
            line-height: 1.55;
            color: #1e4620;
            background: #edfaee;
            border: 1px solid #c3e6cb;
            border-radius: 6px;
            padding: 12px 14px;
            margin: 16px 0 0;
            max-width: 40rem;
            margin-left: auto;
            margin-right: auto;
            text-align: left;
        }

        #ddex-labelgrid-form-wrap .ddex-success-playlist-outreach a {
            font-weight: 600;
        }

        #ddex-labelgrid-form-wrap .ddex-form-step-success .form-navigation {
            justify-content: center;
        }

        #ddex-labelgrid-form-wrap .ddex-success-reload-btn {
            padding: 16px 40px;
            font-size: 16px;
        }

        #ddex-labelgrid-form-wrap .ddex-collab-invite-section {
            text-align: left;
            max-width: 40rem;
            margin: 28px auto 0;
            padding: 20px 18px;
            border: 1px solid #e2e8f0;
            border-radius: 10px;
            background: #f8fafc;
        }

        #ddex-labelgrid-form-wrap .ddex-collab-invite-title {
            font-size: 18px;
            font-weight: 600;
            color: #1a1a1a;
            margin: 0 0 8px;
        }

        #ddex-labelgrid-form-wrap .ddex-collab-invite-lead {
            font-size: 14px;
            line-height: 1.5;
            color: #475569;
            margin: 0 0 16px;
        }

        #ddex-labelgrid-form-wrap .ddex-collab-rows {
            display: flex;
            flex-direction: column;
            gap: 14px;
        }

        #ddex-labelgrid-form-wrap .ddex-collab-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 10px 12px;
            padding: 12px;
            background: #fff;
            border: 1px solid #e2e8f0;
            border-radius: 8px;
        }

        #ddex-labelgrid-form-wrap .ddex-collab-match-status {
            grid-column: 1 / -1;
            margin: 0;
            font-size: 13px;
            line-height: 1.45;
            padding: 6px 10px;
            border-radius: 6px;
        }

        #ddex-labelgrid-form-wrap .ddex-collab-match-roster {
            color: #166534;
            background: #ecfdf5;
            border: 1px solid #bbf7d0;
        }

        #ddex-labelgrid-form-wrap .ddex-collab-match-new {
            color: #475569;
            background: #f1f5f9;
            border: 1px solid #e2e8f0;
        }

        #ddex-labelgrid-form-wrap .ddex-collab-match-conflict {
            color: #991b1b;
            background: #fef2f2;
            border: 1px solid #fecaca;
        }

        #ddex-labelgrid-form-wrap .ddex-collab-match-claimed {
            color: #1e40af;
            background: #eff6ff;
            border: 1px solid #bfdbfe;
        }

        #ddex-labelgrid-form-wrap .ddex-collab-match-unknown {
            color: #64748b;
            background: transparent;
            border: none;
            padding: 0;
        }

        #ddex-labelgrid-form-wrap .ddex-collab-field-email {
            grid-column: span 1;
        }

        #ddex-labelgrid-form-wrap .ddex-collab-field {
            display: flex;
            flex-direction: column;
            gap: 4px;
            margin: 0;
        }

        #ddex-labelgrid-form-wrap .ddex-collab-field-wide {
            grid-column: 1 / -1;
        }

        #ddex-labelgrid-form-wrap .ddex-collab-label {
            font-size: 12px;
            font-weight: 600;
            color: #64748b;
        }

        #ddex-labelgrid-form-wrap .ddex-collab-input {
            width: 100%;
            padding: 8px 10px;
            border: 1px solid #cbd5e1;
            border-radius: 6px;
            font-size: 14px;
            box-sizing: border-box;
        }

        #ddex-labelgrid-form-wrap .ddex-collab-invite-actions {
            margin: 12px 0 0;
        }

        #ddex-labelgrid-form-wrap .ddex-collab-invite-status {
            margin-top: 12px;
            padding: 10px 12px;
            font-size: 13px;
            line-height: 1.45;
            white-space: pre-wrap;
            background: #fff;
            border: 1px solid #e2e8f0;
            border-radius: 6px;
            color: #334155;
        }

        #ddex-labelgrid-form-wrap .ddex-collab-credits-wrap {
            margin: 0;
        }

        #ddex-labelgrid-form-wrap .ddex-collab-credits {
            margin: 4px 0 0;
            font-size: 13px;
            line-height: 1.45;
            color: #475569;
        }

        #ddex-labelgrid-form-wrap .ddex-collab-field-name {
            margin: 0;
        }

        #ddex-labelgrid-form-wrap .ddex-collab-name-display {
            margin: 0;
            padding: 8px 10px;
            min-height: 20px;
            border: 1px solid #cbd5e1;
            border-radius: 6px;
            font-size: 14px;
            line-height: 1.35;
            color: #1e293b;
            background: #f1f5f9;
            box-sizing: border-box;
        }

        #ddex-labelgrid-form-wrap .ddex-collab-optional {
            font-weight: 400;
            color: #64748b;
        }

        #ddex-labelgrid-form-wrap .ddex-featured-artist-combobox {
            position: relative;
        }

        #ddex-labelgrid-form-wrap .ddex-spotify-artist-suggest {
            position: absolute;
            left: 0;
            right: 0;
            top: calc(100% + 4px);
            z-index: 40;
            margin: 0;
            padding: 4px 0;
            list-style: none;
            max-height: 280px;
            overflow-y: auto;
            background: #fff;
            border: 1px solid #cbd5e1;
            border-radius: 8px;
            box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
        }

        #ddex-labelgrid-form-wrap .ddex-spotify-artist-suggest-item {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 8px 12px;
            cursor: pointer;
        }

        #ddex-labelgrid-form-wrap .ddex-spotify-artist-suggest-item:hover,
        #ddex-labelgrid-form-wrap .ddex-spotify-artist-suggest-item:focus {
            background: #f1f5f9;
            outline: none;
        }

        #ddex-labelgrid-form-wrap .ddex-spotify-artist-suggest-item img {
            border-radius: 50%;
            object-fit: cover;
            flex-shrink: 0;
        }

        #ddex-labelgrid-form-wrap .ddex-spotify-suggest-name {
            font-weight: 600;
            color: #1e293b;
        }

        #ddex-labelgrid-form-wrap .ddex-spotify-suggest-meta {
            font-size: 12px;
            color: #64748b;
        }

        #ddex-labelgrid-form-wrap .ddex-featured-artist-confirmed {
            margin-top: 8px;
        }

        #ddex-labelgrid-form-wrap .ddex-featured-confirmed-inner {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 10px 12px;
            border: 1px solid #cbd5e1;
            border-radius: 8px;
            background: #f8fafc;
        }

        #ddex-labelgrid-form-wrap .ddex-featured-confirmed-img {
            border-radius: 50%;
            object-fit: cover;
            flex-shrink: 0;
        }

        #ddex-labelgrid-form-wrap .ddex-featured-confirmed-meta {
            flex: 1;
            min-width: 0;
        }

        #ddex-labelgrid-form-wrap .ddex-featured-confirmed-name {
            display: block;
            font-size: 14px;
            color: #1e293b;
        }

        #ddex-labelgrid-form-wrap .ddex-featured-confirmed-detail {
            display: block;
            font-size: 12px;
            color: #64748b;
            margin-top: 2px;
        }

        #ddex-labelgrid-form-wrap .ddex-featured-change-btn {
            flex-shrink: 0;
        }

@keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        #ddex-labelgrid-form-wrap .section {
            margin-bottom: 40px;
        }

        #ddex-labelgrid-form-wrap .section-title {
            font-size: 20px;
            font-weight: 600;
            color: #333;
            margin-bottom: 20px;
            padding-bottom: 10px;
            border-bottom: 2px solid #667eea;
        }

        #ddex-labelgrid-form-wrap .form-group {
            margin-bottom: 20px;
        }

#ddex-labelgrid-form-wrap label {
            display: block;
            font-weight: 500;
            color: #555;
            margin-bottom: 8px;
            font-size: 14px;
        }

#ddex-labelgrid-form-wrap label .required {
            color: #dc3545;
        }

#ddex-labelgrid-form-wrap label .optional {
            color: #95a5a6;
            font-weight: 400;
            font-size: 12px;
        }

#ddex-labelgrid-form-wrap input[type="text"],
#ddex-labelgrid-form-wrap input[type="email"],
#ddex-labelgrid-form-wrap input[type="date"],
#ddex-labelgrid-form-wrap input[type="url"],
#ddex-labelgrid-form-wrap input[type="number"],
#ddex-labelgrid-form-wrap select,
#ddex-labelgrid-form-wrap textarea {
            width: 100%;
            padding: 12px;
            border: 2px solid #e0e0e0;
            border-radius: 6px;
            font-size: 14px;
            transition: border-color 0.3s;
            font-family: inherit;
        }

#ddex-labelgrid-form-wrap input[type="text"]:focus,
#ddex-labelgrid-form-wrap input[type="email"]:focus,
#ddex-labelgrid-form-wrap input[type="date"]:focus,
#ddex-labelgrid-form-wrap input[type="url"]:focus,
#ddex-labelgrid-form-wrap input[type="number"]:focus,
#ddex-labelgrid-form-wrap select:focus,
#ddex-labelgrid-form-wrap textarea:focus {
            outline: none;
            border-color: #0073aa;
            box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.1);
        }

#ddex-labelgrid-form-wrap textarea {
            resize: vertical;
            min-height: 100px;
        }

        #ddex-labelgrid-form-wrap .row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
        }

        #ddex-labelgrid-form-wrap .track-contributor-row {
            display: flex;
            gap: 12px;
            align-items: center;
        }
        #ddex-labelgrid-form-wrap .track-contributor-row .track-contributor-name {
            flex: 1;
        }
        #ddex-labelgrid-form-wrap .track-contributor-row .track-contributor-role {
            min-width: 140px;
        }

        #ddex-labelgrid-form-wrap .checkbox-group {
            display: flex;
            align-items: center;
            margin-bottom: 10px;
        }

        #ddex-labelgrid-form-wrap .checkbox-group input[type="checkbox"] {
            width: auto;
            margin-right: 10px;
        }

        #ddex-labelgrid-form-wrap .file-upload {
            border: 2px dashed #667eea;
            border-radius: 6px;
            padding: 30px;
            text-align: center;
            cursor: pointer;
            transition: background-color 0.3s;
        }

        #ddex-labelgrid-form-wrap .file-upload:hover {
            background-color: #f8f9ff;
        }

        #ddex-labelgrid-form-wrap .file-upload input[type="file"] {
            display: none;
        }

        #ddex-labelgrid-form-wrap .file-upload-label {
            cursor: pointer;
            color: #0073aa;
            font-weight: 500;
        }

        #ddex-labelgrid-form-wrap .file-info {
            margin-top: 10px;
            font-size: 12px;
            color: #888;
        }

        /* Upload vs saved intake toggle */
        #ddex-labelgrid-form-wrap .ddex-source-toggle-group {
            margin-top: 4px;
        }
        #ddex-labelgrid-form-wrap .ddex-source-toggle {
            display: inline-flex;
            margin: 10px 0 14px;
            border-radius: 8px;
            border: 1px solid #d0d5dd;
            overflow: hidden;
            background: #f1f3f5;
        }
        #ddex-labelgrid-form-wrap .ddex-source-toggle-btn {
            border: 0;
            margin: 0;
            padding: 10px 18px;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            background: transparent;
            color: #495057;
            transition: background 0.2s, color 0.2s;
        }
        #ddex-labelgrid-form-wrap .ddex-source-toggle-btn:hover {
            background: #e9ecef;
            color: #212529;
        }
        #ddex-labelgrid-form-wrap .ddex-source-toggle-btn.is-active {
            background: #ffffff;
            color: #0073aa;
            box-shadow: inset 0 0 0 1px #d0d5dd;
        }
        #ddex-labelgrid-form-wrap .ddex-source-panel {
            margin-top: 4px;
        }
        #ddex-labelgrid-form-wrap .ddex-intake-saved-label {
            display: block;
            font-weight: 600;
            margin-bottom: 8px;
            color: #333;
        }
        #ddex-labelgrid-form-wrap .ddex-intake-cover-assets select,
        #ddex-labelgrid-form-wrap .ddex-intake-track-assets select {
            width: 100%;
            max-width: 100%;
        }
        #ddex-labelgrid-form-wrap .ddex-intake-empty {
            margin: 0;
            padding: 12px 14px;
            background: #f8f9fa;
            border: 1px dashed #ced4da;
            border-radius: 6px;
            color: #6c757d;
            font-size: 14px;
        }

        /* Collapsible Track Styles */
        #ddex-labelgrid-form-wrap .track-item {
            background: #f8f9fa;
            border-radius: 8px;
            padding: 20px;
            margin-bottom: 20px;
            border-left: 4px solid #0073aa;
            transition: all 0.3s;
            cursor: move;
        }

        #ddex-labelgrid-form-wrap .track-item.dragging {
            opacity: 0.5;
            transform: scale(0.98);
        }

        #ddex-labelgrid-form-wrap .track-item.drag-over {
            border-top: 3px solid #667eea;
            margin-top: 20px;
        }

        #ddex-labelgrid-form-wrap .track-item.minimized {
            padding: 15px 20px;
        }

        #ddex-labelgrid-form-wrap .track-item.completed {
            border-left-color: #0073aa;
        }

        #ddex-labelgrid-form-wrap .track-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
            cursor: pointer;
        }

        #ddex-labelgrid-form-wrap .track-header::before {
            content: '⋮⋮';
            color: #999;
            font-size: 18px;
            margin-right: 10px;
            cursor: move;
        }

        #ddex-labelgrid-form-wrap .track-item.minimized .track-header {
            margin-bottom: 0;
        }

        #ddex-labelgrid-form-wrap .track-header-left {
            display: flex;
            align-items: center;
            gap: 15px;
            flex: 1;
        }

        #ddex-labelgrid-form-wrap .track-number {
            font-weight: 600;
            color: #0073aa;
        }

        #ddex-labelgrid-form-wrap .track-item.completed .track-number {
            color: #0073aa;
        }

        #ddex-labelgrid-form-wrap .track-title-preview {
            color: #666;
            font-size: 14px;
        }

        #ddex-labelgrid-form-wrap .track-status {
            display: inline-block;
            padding: 4px 12px;
            border-radius: 12px;
            font-size: 11px;
            font-weight: 600;
            text-transform: uppercase;
        }

        #ddex-labelgrid-form-wrap .track-status.complete {
            background: #cfe8f6;
            color: #004a70;
        }

        #ddex-labelgrid-form-wrap .track-status.incomplete {
            background: #fff3cd;
            color: #856404;
        }

        #ddex-labelgrid-form-wrap .track-header-right {
            display: flex;
            gap: 10px;
            align-items: center;
        }

        #ddex-labelgrid-form-wrap .toggle-track {
            background: none;
            border: none;
            color: #0073aa;
            cursor: pointer;
            font-size: 20px;
            padding: 0;
            width: 30px;
            height: 30px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 4px;
            transition: background 0.2s;
        }

        #ddex-labelgrid-form-wrap .toggle-track:hover {
            background: rgba(0, 115, 170, 0.1);
        }

        #ddex-labelgrid-form-wrap .remove-track {
            background: #dc3545;
            color: white;
            border: none;
            padding: 6px 12px;
            border-radius: 4px;
            cursor: pointer;
            font-size: 12px;
            transition: background 0.2s;
        }

        #ddex-labelgrid-form-wrap .remove-track:hover {
            background: #c82333;
        }

        #ddex-labelgrid-form-wrap .track-content {
            display: block;
        }

        #ddex-labelgrid-form-wrap .track-item.minimized .track-content {
            display: none;
        }

        #ddex-labelgrid-form-wrap .add-track {
            background: #0073aa;
            color: white;
            border: none;
            padding: 12px 24px;
            border-radius: 6px;
            cursor: pointer;
            font-size: 14px;
            font-weight: 500;
            margin-top: 10px;
            transition: all 0.2s;
        }

        #ddex-labelgrid-form-wrap .add-track:hover:not(:disabled) {
            background: #005a87;
            transform: translateY(-1px);
        }

        #ddex-labelgrid-form-wrap .add-track:disabled {
            background: #95a5a6;
            cursor: not-allowed;
            opacity: 0.6;
        }

        /* Navigation Buttons */
        #ddex-labelgrid-form-wrap .form-navigation {
            display: flex;
            justify-content: space-between;
            margin-top: 30px;
            padding-top: 20px;
            border-top: 1px solid #e0e0e0;
        }

        #ddex-labelgrid-form-wrap .nav-btn {
            padding: 12px 32px;
            border-radius: 6px;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s;
            border: none;
        }

        #ddex-labelgrid-form-wrap .nav-btn:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }

        #ddex-labelgrid-form-wrap .btn-prev {
            background: #f0f0f0;
            color: #555;
        }

        #ddex-labelgrid-form-wrap .btn-prev:hover:not(:disabled) {
            background: #e0e0e0;
        }

        #ddex-labelgrid-form-wrap .btn-next {
            background: #0073aa;
            color: white;
        }

        #ddex-labelgrid-form-wrap .btn-next:hover:not(:disabled) {
            background: #005a87;
            transform: translateY(-1px);
        }

        #ddex-labelgrid-form-wrap .submit-btn {
            background: #0073aa;
            color: white;
            border: none;
            padding: 16px 48px;
            border-radius: 6px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            width: 100%;
            transition: all 0.2s;
        }

        #ddex-labelgrid-form-wrap .submit-btn:hover {
            background: #005a87;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0, 115, 170, 0.3);
        }

        #ddex-labelgrid-form-wrap .help-text {
            font-size: 12px;
            color: #888;
            margin-top: 5px;
        }

        #ddex-labelgrid-form-wrap .info-box {
            background: #e3f2fd;
            border-left: 4px solid #0073aa;
            padding: 15px;
            margin-bottom: 20px;
            border-radius: 4px;
        }

        #ddex-labelgrid-form-wrap .info-box h4 {
            color: #005a87;
            margin-bottom: 5px;
        }

        #ddex-labelgrid-form-wrap .info-box p {
            font-size: 13px;
            color: #555;
            line-height: 1.5;
        }

        #ddex-labelgrid-form-wrap .validation-message {
            background: #fff3cd;
            border-left: 4px solid #ffc107;
            padding: 12px;
            margin-bottom: 20px;
            border-radius: 4px;
            font-size: 13px;
            color: #856404;
        }

        #ddex-labelgrid-form-wrap .contributor-item {
            background: #f8f9fa;
            padding: 15px;
            border-radius: 8px;
            margin-bottom: 10px;
            border-left: 4px solid #0073aa;
            display: flex;
            gap: 10px;
            align-items: flex-start;
        }

        #ddex-labelgrid-form-wrap .contributor-fields {
            flex: 1;
            display: flex;
            gap: 10px;
        }

        #ddex-labelgrid-form-wrap .contributor-field {
            flex: 1;
        }

        #ddex-labelgrid-form-wrap .contributor-field input,
        #ddex-labelgrid-form-wrap .contributor-field select {
            margin-bottom: 0;
        }
        #ddex-labelgrid-form-wrap .contributor-field.contributor-role-fixed {
            flex: 0 0 90px;
        }
        #ddex-labelgrid-form-wrap .contributor-role-label {
            display: inline-block;
            font-weight: 600;
            padding: 8px 0;
        }
        #ddex-labelgrid-form-wrap .contributor-field.contributor-split {
            flex: 0 0 70px;
        }
        #ddex-labelgrid-form-wrap .contributor-field.contributor-split input {
            width: 100%;
            min-width: 50px;
        }

        #ddex-labelgrid-form-wrap .remove-contributor {
            background: #e74c3c;
            color: white;
            border: none;
            padding: 8px 12px;
            border-radius: 4px;
            cursor: pointer;
            font-size: 12px;
            white-space: nowrap;
            height: 44px;
        }

        #ddex-labelgrid-form-wrap .remove-contributor:hover {
            background: #c0392b;
        }

        #ddex-labelgrid-form-wrap .review-section {
            background: #f8f9fa;
            padding: 20px;
            border-radius: 8px;
            margin-bottom: 20px;
        }

        #ddex-labelgrid-form-wrap .review-section h3 {
            color: #0073aa;
            margin-bottom: 15px;
            font-size: 18px;
        }

        #ddex-labelgrid-form-wrap .review-item {
            display: flex;
            padding: 10px 0;
            border-bottom: 1px solid #e0e0e0;
        }

        #ddex-labelgrid-form-wrap .review-item:last-child {
            border-bottom: none;
        }

        #ddex-labelgrid-form-wrap .review-label {
            font-weight: 600;
            color: #555;
            min-width: 150px;
        }

        #ddex-labelgrid-form-wrap .review-value {
            color: #333;
        }

        @media (max-width: 768px) {
            #ddex-labelgrid-form-wrap .row {
                grid-template-columns: 1fr;
            }

            #ddex-labelgrid-form-wrap .form-content {
                padding: 20px;
            }

            #ddex-labelgrid-form-wrap .header {
                padding: 30px 20px;
            }

            #ddex-labelgrid-form-wrap .header h1 {
                font-size: 24px;
            }

            #ddex-labelgrid-form-wrap .progress-container {
                padding: 12px 10px;
            }

            #ddex-labelgrid-form-wrap .progress-step-label {
                font-size: clamp(7px, 1.9vw, 10px);
            }

            #ddex-labelgrid-form-wrap .progress-step-circle {
                width: clamp(26px, 7vw, 32px);
                height: clamp(26px, 7vw, 32px);
                font-size: clamp(10px, 2.5vw, 13px);
            }
        }

/* Collapsible per-track catalog metadata (toggle via select; toggle may be hidden while metadata stays visible) */
#ddex-labelgrid-form-wrap .ddex-track-additional-fields-toggle-wrap {
    margin-top: 10px;
}
#ddex-labelgrid-form-wrap .ddex-track-additional-fields-toggle-wrap[hidden] {
    display: none !important;
}
#ddex-labelgrid-form-wrap .ddex-track-additional-fields-select {
    display: block;
    width: 100%;
    max-width: 420px;
    margin-top: 6px;
    padding: 8px 10px;
    border-radius: 6px;
    border: 1px solid #d0d7de;
    background: #fff;
    font-size: 14px;
}
#ddex-labelgrid-form-wrap .ddex-track-lg-metadata-wrap:not([hidden]) {
    margin-top: 12px;
    padding-top: 4px;
    border-top: 1px solid #eef1f4;
}
/* Backup if theme CSS overrides native [hidden] on nested blocks */
#ddex-labelgrid-form-wrap .ddex-track-meta-hidden {
    display: none !important;
}

/* Catalog → wizard bootstrap: block interaction until token resolve + dropdown/hydrate */
#ddex-labelgrid-form-wrap .ddex-wizard-bootstrap-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 100000;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(2px);
}
#ddex-labelgrid-form-wrap .ddex-wizard-bootstrap-overlay-inner {
    background: #fff;
    border-radius: 12px;
    padding: 32px 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
    text-align: center;
    max-width: 360px;
    margin: 16px;
}
#ddex-labelgrid-form-wrap .ddex-wizard-bootstrap-spinner {
    width: 44px;
    height: 44px;
    border: 4px solid #e2e8f0;
    border-top-color: #0073aa;
    border-radius: 50%;
    animation: ddex-spin 0.85s linear infinite;
    margin: 0 auto 16px;
}
#ddex-labelgrid-form-wrap .ddex-wizard-bootstrap-overlay-text {
    margin: 0;
    font-size: 15px;
    color: #334155;
    line-height: 1.45;
}

#ddex-labelgrid-form-wrap .ddex-existing-cover-wrap {
    margin-bottom: 16px;
    padding: 14px 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
}
#ddex-labelgrid-form-wrap .ddex-existing-cover-wrap[hidden] {
    display: none !important;
}
#ddex-labelgrid-form-wrap .ddex-existing-cover-label {
    margin: 0 0 8px;
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
}
#ddex-labelgrid-form-wrap .ddex-existing-cover-thumb {
    display: inline-block;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #cbd5e1;
    background: #fff;
    line-height: 0;
}
#ddex-labelgrid-form-wrap .ddex-existing-cover-thumb img {
    display: block;
    width: 120px;
    height: 120px;
    object-fit: cover;
}
#ddex-labelgrid-form-wrap .ddex-existing-cover-hint {
    margin: 10px 0 0;
    font-size: 13px;
    color: #64748b;
}

#ddex-labelgrid-form-wrap .ddex-custom-territories-panel {
    margin-top: 12px;
    padding: 14px 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
}
#ddex-labelgrid-form-wrap .ddex-custom-territories-panel[hidden] {
    display: none !important;
}
#ddex-labelgrid-form-wrap .ddex-custom-territories-panel > label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1e293b;
}
#ddex-labelgrid-form-wrap .ddex-territory-filter {
    display: block;
    width: 100%;
    max-width: 100%;
    margin-bottom: 10px;
    padding: 8px 10px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 14px;
    box-sizing: border-box;
}
#ddex-labelgrid-form-wrap .ddex-territory-picker {
    max-height: 240px;
    overflow-y: auto;
    padding: 8px 10px;
    background: #fff;
    border: 1px solid #d0d7de;
    border-radius: 8px;
}
#ddex-labelgrid-form-wrap .ddex-territory-picker-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 6px;
    padding: 2px 0;
}
#ddex-labelgrid-form-wrap .ddex-territory-picker-item input[type="checkbox"] {
    width: auto;
    margin: 2px 0 0;
    flex-shrink: 0;
}
#ddex-labelgrid-form-wrap .ddex-territory-picker-label {
    font-size: 13px;
    line-height: 1.35;
    color: #334155;
}
#ddex-labelgrid-form-wrap .ddex-custom-territories-panel .help-text {
    margin-top: 10px;
}
