.drop-zone { border: 2px dashed var(--border-color); border-radius: 8px; padding: 25px 20px; text-align: center; cursor: pointer; transition: border-color 0.2s; background: #f9fafb; margin-bottom: 20px; }
            .drop-zone:hover { border-color: var(--primary); background: #fdfdff; }
            .drop-zone p { font-size: 0.9rem; color: #4b5563; }

            .workspace { display: none; flex-direction: column; gap: 16px; }
            
            #waveform-wrapper { position: relative; background: #f8fafc; border-radius: 8px; padding: 10px; border: 1px solid #e2e8f0; margin-bottom: 5px; overflow: hidden; }
            #waveform { width: 100%; }

            .waveform-mask {
                position: absolute;
                top: 0;
                bottom: 0;
                background: rgba(0, 0, 0, 0.7);
                pointer-events: none;
                z-index: 10;
                transition: width 0.05s linear;
            }
            #maskLeft { left: 0; width: 0%; }
            #maskRight { right: 0; width: 0%; }

            .time-info { display: flex; justify-content: space-between; font-size: 0.85rem; color: #4b5563; font-weight: 600; background: #f1f5f9; padding: 10px 14px; border-radius: 8px; }

            .blocks-section { margin-top: 5px; }
            .blocks-section h3 { font-size: 1rem; margin-bottom: 10px; color: #374151; }
            
            .blocks-list { display: flex; flex-direction: column; gap: 8px; max-height: 200px; overflow-y: auto; margin-bottom: 15px; padding-right: 4px; }
            .block-item { display: flex; align-items: center; justify-content: space-between; background: #fef2f2; border: 1px solid #fecaca; padding: 10px 14px; border-radius: 8px; font-size: 0.9rem; }
            .block-info { font-weight: 500; color: #991b1b; }
            
            .block-actions { display: flex; gap: 6px; }
            .btn-icon { background: #fee2e2; border: none; padding: 6px 10px; border-radius: 6px; cursor: pointer; font-size: 0.8rem; font-weight: 600; color: #991b1b; transition: background 0.2s; }
            .btn-icon:hover { background: #fecaca; }

            .options-row { display: flex; gap: 15px; background: #f8fafc; padding: 12px 14px; border-radius: 8px; border: 1px solid #e2e8f0; font-size: 0.9rem; align-items: center; justify-content: space-between; }
            .options-row label { display: flex; align-items: center; gap: 6px; cursor: pointer; font-weight: 500; color: #374151; }

            .controls { display: flex; gap: 10px; }
            .btn { flex: 1; padding: 12px; border: none; border-radius: 8px; font-size: 0.95rem; font-weight: 600; cursor: pointer; transition: background-color 0.2s; text-align: center; display: flex; align-items: center; justify-content: center; gap: 6px; }
            .btn-primary { background-color: #dc2626; color: white; }
            .btn-primary:hover { background-color: #b91c1c; }
            .btn-success { background-color: #16a34a; color: white; }
            .btn-success:hover { background-color: #15803d; }
            .btn-secondary { background-color: #e5e7eb; color: #374151; }
            .btn-secondary:hover { background-color: #d1d5db; }

            .loading { text-align: center; color: #6b7280; font-size: 0.9rem; margin: 20px 0; font-style: italic; display: none; }