.task-options {
    margin-top: 1rem;
    padding: 1rem;
    border: 1px solid #e8eaf0;
    border-radius: 12px;
    background: #fff;
}

.upload-area {
    border: 2px dashed #d0d5dd;
    border-radius: 12px;
    padding: 3rem 2rem;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    background: #fafbfc;
}

.upload-area:hover,
.upload-area.dragover {
    border-color: #2563eb;
    background: #f0f4ff;
}

.upload-icon {
    font-size: 2.6rem;
    margin-bottom: 0.8rem;
}

.upload-text {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 0.4rem;
}

.upload-link {
    color: #2563eb;
    cursor: pointer;
    font-weight: 500;
}

.upload-hint {
    font-size: 0.82rem;
    color: #999;
}

.file-info {
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 1rem;
}

.file-info-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.7rem 1rem;
    background: #f8f9fb;
    border-bottom: 1px solid #e8eaf0;
}

.file-name {
    font-size: 0.88rem;
    color: #555;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 70%;
}

.btn-change {
    font-size: 0.82rem;
    color: #2563eb;
    background: none;
    border: 1px solid #2563eb;
    border-radius: 4px;
    padding: 0.3rem 0.7rem;
    cursor: pointer;
    font-family: inherit;
}

.btn-change:hover {
    background: #f0f4ff;
}

.file-meta {
    padding: 0.6rem 1rem;
    font-size: 0.82rem;
    color: #888;
}

.option-group {
    margin-bottom: 0.9rem;
}

.option-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 0.55rem;
}

.time-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
}

.time-card {
    padding: 0.9rem;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    background: #fff;
}

.field-label {
    display: block;
    font-size: 0.84rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.45rem;
}

.time-input {
    width: 100%;
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    padding: 0.7rem 0.8rem;
    font-size: 0.9rem;
    color: #111827;
}

.field-hint,
.output-note,
.range-summary {
    margin-top: 0.5rem;
    font-size: 0.82rem;
    color: #6b7280;
    line-height: 1.7;
}

.quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.8rem;
}

.quick-btn {
    padding: 0.45rem 0.75rem;
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    background: #fff;
    color: #4b5563;
    font-size: 0.82rem;
    cursor: pointer;
    font-family: inherit;
}

.quick-btn:hover {
    border-color: #2563eb;
    color: #2563eb;
}

.range-summary,
.output-note {
    padding: 0.75rem 0.85rem;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid #e8eef7;
}

.wt-progress,
.task-result {
    margin-top: 1.2rem;
}

.trim-result {
    padding: 1rem;
    border: 1px solid #e8eef7;
    border-radius: 12px;
    background: #f8fafc;
}

.result-head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.result-title {
    font-size: 1rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.25rem;
}

.result-sub {
    font-size: 0.83rem;
    color: #6b7280;
}

.result-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.metric-card {
    padding: 0.85rem 0.9rem;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    background: #fff;
}

.metric-label {
    display: block;
    font-size: 0.8rem;
    color: #6b7280;
    margin-bottom: 0.3rem;
}

.metric-value {
    font-size: 0.95rem;
    font-weight: 700;
    color: #111827;
}

.result-note {
    padding: 0.85rem 1rem;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #e5e7eb;
    color: #4b5563;
    font-size: 0.84rem;
    line-height: 1.75;
}

.media-compare-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.compare-header.neutral {
    background: #f3f4f6;
    color: #374151;
}

@media (max-width: 720px) {
    .time-grid,
    .result-head,
    .result-metrics,
    .media-compare-grid {
        grid-template-columns: 1fr;
        display: grid;
    }
}

@media (max-width: 640px) {
    .upload-area {
        padding: 2rem 1rem;
    }

    .upload-icon {
        font-size: 2rem;
    }

    .quick-actions {
        gap: 0.4rem;
    }

    .quick-btn {
        flex: 1 1 calc(50% - 0.4rem);
        min-width: 0;
    }

    .result-head .btn {
        width: 100%;
    }
}
