.audio-converter-wrap {
    width: 100%;
    box-sizing: border-box;
    margin: 0 auto;
    color: var(--text-color, #333);
    font-size: 13px;
}
.ac-upload-area {
    border: 2px dashed var(--border-color, #d0d0d0);
    border-radius: 10px;
    padding: 24px;
    text-align: center;
    cursor: pointer;
    margin-bottom: 12px;
    background: var(--card-bg, #fafafa);
    transition: all 0.2s;
}
.ac-upload-area:hover, .ac-upload-area.dragover {
    border-color: var(--primary, #2563eb);
    background: var(--primary-light, #f0f5ff);
}
.ac-upload-icon { font-size: 36px; margin-bottom: 8px; }
.ac-upload-text { font-size: 14px; font-weight: 500; margin-bottom: 4px; }
.ac-upload-formats { font-size: 12px; color: var(--text-muted, #999); }
.ac-file-info {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    background: var(--primary-light, #eef4ff);
    border-radius: 6px;
    margin-bottom: 12px;
}
.ac-file-name { font-weight: 600; color: var(--primary, #2563eb); flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ac-file-meta { font-size: 12px; color: var(--text-secondary, #666); }
.ac-main {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.ac-left {
    flex: 2;
    min-width: 0;
    width: 66.66%;
}
.ac-right {
    flex: 1;
    min-width: 0;
    width: 33.33%;
    position: sticky;
    top: 16px;
    align-self: flex-start;
}
.ac-tabs {
    display: flex;
    gap: 2px;
    border-bottom: 2px solid var(--border-color, #e0e0e0);
    margin-bottom: 14px;
}
.ac-tab {
    padding: 8px 16px;
    border: none;
    background: none;
    font-size: 13px;
    color: var(--text-secondary, #666);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all 0.15s;
}
.ac-tab:hover { color: var(--primary, #2563eb); }
.ac-tab.active {
    color: var(--primary, #2563eb);
    border-bottom-color: var(--primary, #2563eb);
    font-weight: 600;
}
.ac-tab-content { margin-bottom: 14px; }
.ac-form-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}
.ac-form-row label {
    min-width: 100px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary, #555);
}
.ac-select {
    flex: 1;
    min-width: 120px;
    padding: 8px 10px;
    border: 1px solid var(--border-color, #ddd);
    border-radius: 6px;
    font-size: 13px;
    background: var(--card-bg, #fff);
    color: var(--text-color, #333);
    cursor: pointer;
    outline: none;
}
.ac-select:focus { border-color: var(--primary, #2563eb); }
.ac-input-num {
    width: 80px;
    padding: 7px 10px;
    border: 1px solid var(--border-color, #ddd);
    border-radius: 6px;
    font-size: 13px;
    outline: none;
}
.ac-input-num:focus { border-color: var(--primary, #2563eb); }
.ac-form-row input[type="range"] {
    flex: 1;
    min-width: 100px;
}
.ac-form-row input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
}
.ac-hint { font-size: 12px; color: var(--text-muted, #999); }
.ac-action-row {
    display: flex;
    gap: 10px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--border-color, #eee);
}
.ac-btn {
    padding: 10px 20px;
    border: 1px solid var(--border-color, #d0d0d0);
    border-radius: 8px;
    background: var(--btn-bg, #fff);
    font-size: 13px;
    color: var(--text-secondary, #555);
    cursor: pointer;
    transition: all 0.15s;
}
.ac-btn:hover:not(:disabled) {
    background: var(--primary, #2563eb);
    color: #fff;
    border-color: var(--primary, #2563eb);
}
.ac-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.ac-btn-primary {
    padding: 10px 28px;
    border: none;
    border-radius: 8px;
    background: var(--primary, #2563eb);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
}
.ac-btn-primary:hover:not(:disabled) { opacity: 0.9; }
.ac-btn-primary:disabled { opacity: 0.4; cursor: not-allowed; }
.ac-btn-small {
    padding: 4px 10px;
    border: 1px solid var(--border-color, #ddd);
    border-radius: 4px;
    background: var(--btn-bg, #f9fafb);
    font-size: 12px;
    cursor: pointer;
    color: var(--text-secondary, #666);
}
.ac-btn-small:hover { background: var(--primary, #2563eb); color: #fff; }
.ac-progress { margin-top: 12px; }
.ac-progress-bar {
    width: 100%;
    height: 8px;
    background: var(--border-color, #e5e7eb);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 6px;
}
.ac-progress-fill {
    height: 100%;
    background: var(--primary, #2563eb);
    border-radius: 4px;
    width: 0%;
    transition: width 0.3s;
}
.ac-progress-text { font-size: 12px; color: var(--text-secondary, #666); }
.ac-preview-card, .ac-info-card, .ac-output-list {
    border: 1px solid var(--border-color, #e0e0e0);
    border-radius: 10px;
    background: var(--card-bg, #fff);
    padding: 14px;
    margin-bottom: 12px;
}
.ac-preview-title, .ac-info-title, .ac-output-title {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-color, #333);
}
.ac-waveform {
    width: 100%;
    height: 100px;
    background: var(--card-bg, #f9fafb);
    border-radius: 6px;
    display: block;
}
.ac-player {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}
.ac-play-btn {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background: var(--primary, #2563eb);
    color: #fff;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.ac-play-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.ac-time { font-size: 11px; color: var(--text-muted, #999); min-width: 36px; }
.ac-progress-mini {
    flex: 1;
    height: 4px;
    background: var(--border-color, #e5e7eb);
    border-radius: 2px;
    overflow: hidden;
    cursor: pointer;
}
.ac-progress-mini-fill {
    height: 100%;
    background: var(--primary, #2563eb);
    width: 0%;
}
.ac-info-row {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    font-size: 12px;
    border-bottom: 1px solid var(--border-color, #f0f0f0);
}
.ac-info-row:last-child { border-bottom: none; }
.ac-info-row span:first-child { color: var(--text-muted, #999); }
.ac-info-row span:last-child { color: var(--text-color, #333); font-weight: 500; }
.ac-trim-waveform {
    position: relative;
    width: 100%;
    height: 80px;
    background: var(--card-bg, #f9fafb);
    border-radius: 6px;
    margin: 8px 0;
    overflow: hidden;
}
.ac-trim-waveform canvas { width: 100%; height: 100%; display: block; }
.ac-trim-handle {
    position: absolute;
    top: 0;
    width: 4px;
    height: 100%;
    background: var(--primary, #2563eb);
    cursor: ew-resize;
    z-index: 2;
}
.ac-trim-start-handle { left: 0; }
.ac-trim-end-handle { right: 0; }
.ac-trim-selection {
    position: absolute;
    top: 0;
    height: 100%;
    background: rgba(37,99,235,0.15);
    pointer-events: none;
    z-index: 1;
}
.ac-batch-list {
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid var(--border-color, #eee);
    border-radius: 6px;
    margin-bottom: 10px;
}
.ac-batch-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-bottom: 1px solid var(--border-color, #f0f0f0);
    font-size: 12px;
}
.ac-batch-item:last-child { border-bottom: none; }
.ac-batch-item-name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ac-batch-item-status { font-size: 11px; color: var(--text-muted, #999); }
.ac-batch-item-status.done { color: #10b981; }
.ac-batch-empty { padding: 20px; text-align: center; color: var(--text-muted, #999); font-size: 12px; }
.ac-output-empty { font-size: 12px; color: var(--text-muted, #999); text-align: center; padding: 10px 0; }
.ac-output-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    border-bottom: 1px solid var(--border-color, #f0f0f0);
    font-size: 12px;
}
.ac-output-item:last-child { border-bottom: none; }
.ac-output-item a { color: var(--primary, #2563eb); text-decoration: none; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ac-output-item a:hover { text-decoration: underline; }
@media (max-width: 900px) {
    .ac-main { flex-direction: column; }
    .ac-left, .ac-right { width: 100%; }
    .ac-right { position: static; }
}
