        /* =========================================================================
         *         LOVELYOWNER UNIVERSAL COMPRESSOR - CSS STYLES
         *         ========================================================================= */

        :root {
            /* Fully greyscale palette (white/grey/black only). Darkness =
               emphasis: black is reserved for the single most severe/
               destructive state (danger), dark greys for primary actions,
               lighter greys for secondary/informational ones. Buttons keep
               their icons and labels, which now carry the "which button is
               this" signal that hue used to. */
            --lo-primary: #262626;
            --lo-primary-hover: #000000;
            --lo-primary-light: #666666;
            --lo-secondary: #808080;
            --lo-success: #404040;
            --lo-success-light: #737373;
            --lo-warning: #595959;
            --lo-warning-light: #999999;
            --lo-danger: #000000;
            --lo-danger-light: #4d4d4d;
            --lo-info: #737373;
            --lo-info-light: #a6a6a6;
            --lo-light: #fff;
            --lo-border: #ccc;
            --lo-border-dark: #555;
            --lo-text: #000;
            --lo-text-light: #666;
            --lo-text-lighter: #999;
            --lo-bg: #fff;
            --lo-bg-dark: #1a1a1a;
            --lo-bg-darker: #121212;
            --lo-shadow: 0 2px 4px rgba(0,0,0,0.1);
            --lo-shadow-lg: 0 4px 12px rgba(0,0,0,0.15);
            --lo-radius: 4px;
            --lo-radius-lg: 8px;
            --lo-transition: all 0.2s ease;
            --lo-transition-slow: all 0.3s ease;
            --lo-z-index-modal: 10000;
            --lo-z-index-toast: 10001;
            --lo-z-index-loading: 10002;
        }

        /* DARK MODE THEME */
        .lo-dark-mode {
            /* Same greyscale philosophy inverted for a dark background:
               lighter = more emphasis. White is reserved for danger (the
               most severe state), light greys for primary actions, darker
               greys recede into the background. */
            --lo-primary: #e0e0e0;
            --lo-primary-hover: #ffffff;
            --lo-primary-light: #999999;
            --lo-secondary: #808080;
            --lo-success: #b3b3b3;
            --lo-success-light: #999999;
            --lo-warning: #999999;
            --lo-warning-light: #808080;
            --lo-danger: #ffffff;
            --lo-danger-light: #cccccc;
            --lo-info: #a6a6a6;
            --lo-info-light: #808080;
            --lo-light: #262626;
            --lo-border: #555;
            --lo-border-dark: #777;
            --lo-text: #f0f0f0;
            --lo-text-light: #b3b3b3;
            --lo-text-lighter: #808080;
            --lo-bg: #121212;
            --lo-bg-dark: #1a1a1a;
            --lo-bg-darker: #000000;
            --lo-shadow: 0 2px 4px rgba(0,0,0,0.3);
            --lo-shadow-lg: 0 4px 12px rgba(0,0,0,0.4);
        }

        /* RESET AND BASE */
        * {
            box-sizing: border-box;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
            background: var(--lo-bg);
            color: var(--lo-text);
            margin: 0;
            padding: 0;
            line-height: 1.5;
        }

        /* =========================================================================
         *         LOADING OVERLAY
         *         ========================================================================= */

        .lo-loading {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.8);
            display: none;
            align-items: center;
            justify-content: center;
            z-index: var(--lo-z-index-loading);
            backdrop-filter: blur(4px);
        }

        .lo-loading.lo-loading-visible {
            display: flex;
        }

        .lo-loading-box {
            background: var(--lo-light);
            padding: 30px 40px;
            border-radius: var(--lo-radius-lg);
            text-align: center;
            max-width: 450px;
            width: 90%;
            box-shadow: var(--lo-shadow-lg);
            border: 1px solid var(--lo-border);
        }

        .lo-spinner {
            width: 60px;
            height: 60px;
            border: 5px solid var(--lo-border);
            border-top-color: var(--lo-primary);
            border-radius: 50%;
            animation: lo-spin 1s linear infinite;
            margin: 0 auto 20px;
        }

        @keyframes lo-spin {
            to { transform: rotate(360deg); }
        }

        #lo-loading-text {
        font-size: 1.1em;
        font-weight: 600;
        color: var(--lo-text);
        margin-bottom: 10px;
        }

        #lo-loading-progress {
        font-size: 0.9em;
        color: var(--lo-text-light);
        margin-bottom: 15px;
        }

        .lo-cancel-btn {
            margin-top: 10px;
        }

        /* =========================================================================
         *         MAIN CONTAINER
         *         ========================================================================= */

        .lo-compressor {
            max-width: 1600px;
            margin: 0 auto;
            padding: 20px;
            position: relative;
        }

        .lo-container {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        /* =========================================================================
         *         HEADER
         *         ========================================================================= */

        .lo-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 15px;
            padding: 15px 25px;
            background: var(--lo-light);
            border-radius: var(--lo-radius);
            border: 1px solid var(--lo-border);
            box-shadow: var(--lo-shadow);
        }

        .lo-header-left,
        .lo-header-right {
            display: flex;
            align-items: center;
            gap: 15px;
            flex-wrap: wrap;
        }

        .lo-title {
            margin: 0;
            font-size: 1.6em;
            font-weight: 600;
            color: var(--lo-primary);
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .lo-logo {
            font-weight: 700;
        }

        .lo-version {
            font-size: 0.7em;
            color: var(--lo-text-light);
            background: var(--lo-light);
            padding: 2px 8px;
            border-radius: var(--lo-radius);
            border: 1px solid var(--lo-border);
        }

        .lo-ffmpeg-status {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 0.9em;
            color: var(--lo-text-light);
            padding: 6px 12px;
            background: var(--lo-light);
            border-radius: var(--lo-radius);
            border: 1px solid var(--lo-border);
        }

        .lo-status-dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: var(--lo-warning);
            animation: lo-pulse 2s infinite;
        }

        .lo-ffmpeg-ready .lo-status-dot {
            background: var(--lo-success);
            animation: none;
        }

        .lo-ffmpeg-error .lo-status-dot {
            background: var(--lo-danger);
            animation: none;
        }

        @keyframes lo-pulse {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.4; }
        }

        /* =========================================================================
         *         TABS
         *         ========================================================================= */

        .lo-tabs {
            display: flex;
            gap: 5px;
            background: var(--lo-light);
            padding: 8px;
            border-radius: var(--lo-radius);
            border: 1px solid var(--lo-border);
            box-shadow: var(--lo-shadow);
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
        }

        .lo-tab {
            padding: 12px 20px;
            background: transparent;
            border: none;
            border-radius: var(--lo-radius);
            cursor: pointer;
            font-size: 0.95em;
            font-weight: 500;
            color: var(--lo-text-light);
            transition: var(--lo-transition);
            white-space: nowrap;
            display: flex;
            align-items: center;
            gap: 6px;
            position: relative;
        }

        .lo-tab:hover {
            background: rgba(0, 115, 170, 0.1);
            color: var(--lo-primary);
        }

        .lo-tab-active {
            background: var(--lo-primary);
            color: white;
            box-shadow: var(--lo-shadow);
        }

        .lo-tab-icon {
            font-size: 1.1em;
        }

        .lo-tab-label {
            display: none;
        }

        .lo-tab-count {
            background: var(--lo-secondary);
            color: white;
            padding: 2px 8px;
            border-radius: 10px;
            font-size: 0.75em;
            font-weight: 600;
            min-width: 20px;
            text-align: center;
        }

        .lo-tab-active .lo-tab-count {
            background: white;
            color: var(--lo-primary);
        }

        @media (min-width: 768px) {
            .lo-tab-label {
                display: inline;
            }
            .lo-tab {
                padding: 12px 24px;
            }
        }

        /* =========================================================================
         *         PANELS
         *         ========================================================================= */

        .lo-panels {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .lo-panel {
            display: none;
            background: var(--lo-light);
            border-radius: var(--lo-radius);
            border: 1px solid var(--lo-border);
            box-shadow: var(--lo-shadow);
            overflow: hidden;
        }

        .lo-panel-active {
            display: block;
        }

        .lo-panel-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 15px;
            padding: 15px 20px;
            background: var(--lo-light);
            border-bottom: 1px solid var(--lo-border);
        }

        .lo-panel-title {
            margin: 0;
            font-size: 1.2em;
            font-weight: 600;
            color: var(--lo-text);
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .lo-panel-icon {
            font-size: 1.2em;
        }

        .lo-panel-actions {
            display: flex;
            gap: 10px;
            align-items: center;
            flex-wrap: wrap;
        }

        .lo-panel-body {
            padding: 20px;
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        /* =========================================================================
         *         DROP ZONE
         *         ========================================================================= */

        .lo-drop-zone {
            border: 2px dashed var(--lo-border);
            border-radius: var(--lo-radius);
            padding: 60px 20px;
            text-align: center;
            transition: var(--lo-transition);
            cursor: pointer;
            background: transparent;
        }

        .lo-drop-zone:hover,
        .lo-drop-zone.drag-over {
            border-color: var(--lo-primary);
            background: rgba(0, 115, 170, 0.05);
        }

        .lo-drop-zone.drag-over {
            border-style: solid;
            border-width: 3px;
        }

        .lo-drop-zone-content {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 10px;
        }

        .lo-drop-zone-icon {
            font-size: 3em;
            opacity: 0.7;
        }

        .lo-drop-zone-text {
            font-size: 1.2em;
            font-weight: 600;
            color: var(--lo-text);
        }

        .lo-drop-zone-hint {
            font-size: 0.9em;
            color: var(--lo-text-light);
        }

        /* =========================================================================
         *         FILE LIST
         *         ========================================================================= */

        .lo-files {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .lo-file-row {
            display: grid;
            grid-template-columns: 40px 40px 1fr 100px 120px 100px 120px;
            gap: 12px;
            padding: 14px 16px;
            background: white;
            border-radius: var(--lo-radius);
            border: 1px solid var(--lo-border);
            align-items: center;
            transition: var(--lo-transition);
            cursor: pointer;
            position: relative;
        }

        .lo-dark-mode .lo-file-row {
            background: var(--lo-bg-dark);
            border-color: var(--lo-border-dark);
        }

        .lo-file-row:hover {
            box-shadow: var(--lo-shadow);
            transform: translateY(-2px);
            z-index: 1;
        }

        .lo-file-row.lo-file-selected {
            background: rgba(0, 115, 170, 0.1);
            border-color: var(--lo-primary);
            border-width: 2px;
        }

        .lo-dark-mode .lo-file-row.lo-file-selected {
            background: rgba(74, 144, 226, 0.2);
            border-color: var(--lo-primary);
        }

        .lo-file-row.lo-file-dragging {
            opacity: 0.5;
            background: var(--lo-primary-light);
        }

        .lo-file-cell {
            display: flex;
            align-items: center;
            min-width: 0;
        }

        .lo-file-select {
            justify-content: center;
        }

        .lo-file-select input[type="checkbox"] {
            width: 18px;
            height: 18px;
            cursor: pointer;
            accent-color: var(--lo-primary);
        }

        .lo-file-icon {
            font-size: 1.4em;
            justify-content: center;
        }

        .lo-file-name {
            overflow: hidden;
            min-width: 0;
        }

        .lo-file-name-text {
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            font-weight: 500;
        }

        .lo-file-error {
            color: var(--lo-danger);
            font-size: 0.8em;
            display: block;
            margin-top: 4px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .lo-file-size {
            font-size: 0.9em;
            color: var(--lo-text-light);
            justify-content: center;
            white-space: nowrap;
        }

        .lo-file-size small {
            display: block;
            font-size: 0.75em;
            color: var(--lo-text-lighter);
        }

        /* =========================================================================
         *         PROGRESS BAR
         *         ========================================================================= */

        .lo-progress-bar {
            width: 100%;
            height: 8px;
            background: var(--lo-border);
            border-radius: 4px;
            overflow: hidden;
        }

        .lo-progress-fill {
            height: 100%;
            border-radius: 4px;
            transition: width 0.3s ease, background 0.3s ease;
        }

        .lo-progress-fill.lo-status-queued {
            background: var(--lo-secondary);
            width: 0% !important;
        }

        .lo-progress-fill.lo-status-processing {
            background: var(--lo-primary);
        }

        .lo-progress-fill.lo-status-complete {
            background: var(--lo-success);
        }

        .lo-progress-fill.lo-status-error,
        .lo-progress-fill.lo-status-cancelled {
            background: var(--lo-danger);
        }

        .lo-progress-text {
            font-size: 0.8em;
            color: var(--lo-text-light);
            text-align: center;
            display: block;
            margin-top: 4px;
            white-space: nowrap;
        }

        /* =========================================================================
         *         STATUS BADGE
         *         ========================================================================= */

        .lo-status-badge {
            padding: 4px 10px;
            border-radius: 12px;
            font-size: 0.75em;
            font-weight: 600;
            text-transform: capitalize;
            white-space: nowrap;
        }

        .lo-status-queued { background: var(--lo-secondary); color: white; }
        .lo-status-processing { background: var(--lo-primary); color: white; }
        .lo-status-complete { background: var(--lo-success); color: white; }
        .lo-status-error { background: var(--lo-danger); color: white; }
        .lo-status-cancelled { background: var(--lo-warning); color: black; }

        /* =========================================================================
         *         FILE ACTIONS
         *         ========================================================================= */

        .lo-file-actions {
            display: flex;
            gap: 8px;
            justify-content: flex-end;
            flex-wrap: wrap;
        }

        /* =========================================================================
         *         BUTTONS
         *         ========================================================================= */

        .lo-btn {
            padding: 10px 18px;
            border: none;
            border-radius: var(--lo-radius);
            cursor: pointer;
            font-size: 0.9em;
            font-weight: 500;
            transition: var(--lo-transition);
            display: inline-flex;
            align-items: center;
            gap: 6px;
            text-decoration: none;
            white-space: nowrap;
        }

        .lo-btn:disabled {
            opacity: 0.6;
            cursor: not-allowed;
        }

        .lo-btn-primary {
            background: var(--lo-primary);
            color: white;
        }

        .lo-btn-primary:hover:not(:disabled) {
            background: var(--lo-primary-hover);
            box-shadow: var(--lo-shadow);
        }

        .lo-btn-secondary {
            background: var(--lo-light);
            color: var(--lo-text);
            border: 1px solid var(--lo-border);
        }

        .lo-btn-secondary:hover:not(:disabled) {
            background: var(--lo-border);
        }

        .lo-btn-success {
            background: var(--lo-success);
            color: white;
        }

        .lo-btn-success:hover:not(:disabled) {
            background: var(--lo-success-light);
            box-shadow: var(--lo-shadow);
        }

        .lo-btn-warning {
            background: var(--lo-warning);
            color: black;
        }

        .lo-btn-warning:hover:not(:disabled) {
            background: var(--lo-warning-light);
        }

        .lo-btn-danger {
            background: var(--lo-danger);
            color: white;
        }

        .lo-btn-danger:hover:not(:disabled) {
            background: var(--lo-danger-light);
        }

        .lo-btn-sm {
            padding: 6px 12px;
            font-size: 0.85em;
        }

        .lo-btn-icon {
            font-size: 1em;
        }

        /* =========================================================================
         *         EMPTY STATE
         *         ========================================================================= */

        .lo-empty-state {
            text-align: center;
            padding: 80px 20px;
            color: var(--lo-text-light);
            grid-column: 1 / -1;
        }

        .lo-empty-icon {
            font-size: 4em;
            margin-bottom: 15px;
            opacity: 0.7;
        }

        .lo-empty-text {
            font-size: 1.3em;
            color: var(--lo-text);
            font-weight: 600;
            margin-bottom: 10px;
        }

        .lo-empty-hint {
            font-size: 0.95em;
        }

        /* =========================================================================
         *         SETTINGS
         *         ========================================================================= */

        .lo-settings {
            background: var(--lo-light);
            border-radius: var(--lo-radius);
            border: 1px solid var(--lo-border);
            padding: 20px;
            box-shadow: var(--lo-shadow);
        }

        .lo-settings-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
            padding-bottom: 10px;
            border-bottom: 1px solid var(--lo-border);
        }

        .lo-settings-header h3 {
            margin: 0;
            font-size: 1.1em;
            color: var(--lo-primary);
        }

        .lo-settings-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 20px;
        }

        .lo-settings-section {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .lo-settings-section h3 {
            margin: 0;
            font-size: 1em;
            color: var(--lo-text);
            font-weight: 600;
        }

        .lo-settings-section > label {
            font-size: 0.9em;
            color: var(--lo-text-light);
            font-weight: 500;
        }

        .lo-settings-note {
            font-size: 0.9em;
            color: var(--lo-text-light);
            margin: 0;
            line-height: 1.5;
        }

        .lo-input-group {
            display: flex;
            flex-direction: column;
            gap: 6px;
        }

        .lo-input-group label {
            font-size: 0.85em;
            color: var(--lo-text-light);
            font-weight: 500;
        }

        .lo-input,
        .lo-select,
        .lo-textarea {
            padding: 10px 14px;
            border: 1px solid var(--lo-border);
            border-radius: var(--lo-radius);
            font-size: 0.95em;
            background: white;
            color: var(--lo-text);
            transition: var(--lo-transition);
        }

        .lo-dark-mode .lo-input,
        .lo-dark-mode .lo-select,
        .lo-dark-mode .lo-textarea {
            background: var(--lo-bg-dark);
            border-color: var(--lo-border-dark);
            color: var(--lo-text);
        }

        .lo-input:focus,
        .lo-select:focus,
        .lo-textarea:focus {
            outline: none;
            border-color: var(--lo-primary);
            box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.2);
        }

        .lo-range-group {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .lo-range-group label {
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 0.9em;
            color: var(--lo-text-light);
        }

        .lo-range {
            width: 100%;
            height: 6px;
            border-radius: 3px;
            background: var(--lo-border);
            outline: none;
            -webkit-appearance: none;
            appearance: none;
        }

        .lo-range::-webkit-slider-thumb {
            -webkit-appearance: none;
            appearance: none;
            width: 18px;
            height: 18px;
            border-radius: 50%;
            background: var(--lo-primary);
            cursor: pointer;
            transition: var(--lo-transition);
        }

        .lo-range::-webkit-slider-thumb:hover {
            transform: scale(1.2);
        }

        .lo-range::-moz-range-thumb {
            width: 18px;
            height: 18px;
            border-radius: 50%;
            background: var(--lo-primary);
            cursor: pointer;
            border: none;
        }

        .lo-checkbox {
            display: flex;
            align-items: center;
            gap: 8px;
            cursor: pointer;
        }

        .lo-checkbox input[type="checkbox"] {
            width: 18px;
            height: 18px;
            cursor: pointer;
            accent-color: var(--lo-primary);
        }

        /* =========================================================================
         *         TOAST NOTIFICATIONS
         *         ========================================================================= */

        .lo-toast-container {
            position: fixed;
            bottom: 20px;
            right: 20px;
            display: flex;
            flex-direction: column;
            gap: 10px;
            z-index: var(--lo-z-index-toast);
            pointer-events: none;
        }

        .lo-toast {
            padding: 14px 22px;
            border-radius: var(--lo-radius);
            color: white;
            box-shadow: var(--lo-shadow-lg);
            animation: lo-slideIn 0.3s ease;
            opacity: 1;
            transform: translateX(0);
            pointer-events: auto;
            max-width: 400px;
            width: 100%;
        }

        .lo-toast.lo-toast-hiding {
            opacity: 0;
            transform: translateX(100%);
            transition: opacity 0.3s ease, transform 0.3s ease;
        }

        .lo-toast-info { background: var(--lo-info); }
        .lo-toast-success { background: var(--lo-success); }
        .lo-toast-warning { background: var(--lo-warning); color: black; }
        .lo-toast-error { background: var(--lo-danger); }

        @keyframes lo-slideIn {
            from {
                opacity: 0;
                transform: translateX(100%);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        /* =========================================================================
         *         MODALS
         *         ========================================================================= */

        .lo-modal {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            z-index: var(--lo-z-index-modal);
            display: none;
            align-items: center;
            justify-content: center;
            padding: 20px;
        }

        .lo-modal.lo-modal-open {
            display: flex;
        }

        .lo-modal-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.7);
            backdrop-filter: blur(4px);
        }

        .lo-modal-content {
            background: var(--lo-light);
            border-radius: var(--lo-radius-lg);
            box-shadow: var(--lo-shadow-lg);
            max-width: 90vw;
            max-height: 90vh;
            width: 100%;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            position: relative;
        }

        .lo-dark-mode .lo-modal-content {
            background: var(--lo-bg-darker);
        }

        .lo-modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 20px;
            border-bottom: 1px solid var(--lo-border);
            background: var(--lo-light);
        }

        .lo-dark-mode .lo-modal-header {
            background: var(--lo-bg-darker);
            border-color: var(--lo-border-dark);
        }

        .lo-modal-header h2 {
            margin: 0;
            font-size: 1.3em;
            color: var(--lo-text);
        }

        .lo-modal-close {
            padding: 8px 12px;
            min-width: auto;
        }

        .lo-modal-body {
            padding: 20px;
            overflow-y: auto;
        }

        .lo-modal-footer {
            display: flex;
            justify-content: flex-end;
            gap: 10px;
            padding: 15px 20px;
            border-top: 1px solid var(--lo-border);
            background: var(--lo-light);
        }

        .lo-dark-mode .lo-modal-footer {
            background: var(--lo-bg-darker);
            border-color: var(--lo-border-dark);
        }

        /* =========================================================================
         *         PRESET MANAGEMENT
         *         ========================================================================= */

        .lo-preset-modal-content {
            max-width: 700px;
        }

        .lo-preset-actions {
            display: flex;
            gap: 10px;
            margin-bottom: 20px;
        }

        .lo-preset-actions .lo-input {
            flex: 1;
        }

        .lo-preset-list {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .lo-preset-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 12px 16px;
            background: white;
            border-radius: var(--lo-radius);
            border: 1px solid var(--lo-border);
            transition: var(--lo-transition);
        }

        .lo-dark-mode .lo-preset-item {
            background: var(--lo-bg-dark);
            border-color: var(--lo-border-dark);
        }

        .lo-preset-item:hover {
            border-color: var(--lo-primary);
            box-shadow: var(--lo-shadow);
        }

        .lo-preset-info {
            flex: 1;
        }

        .lo-preset-name {
            font-weight: 600;
            color: var(--lo-text);
        }

        .lo-preset-date {
            font-size: 0.85em;
            color: var(--lo-text-light);
        }

        .lo-preset-actions-mini {
            display: flex;
            gap: 8px;
        }

        .lo-preset-actions-mini .lo-btn {
            padding: 6px 10px;
        }

        /* =========================================================================
         *         COMPARISON SLIDER
         *         ========================================================================= */

        .lo-compare {
            position: relative;
            width: 100%;
            max-width: 100%;
            margin: 20px 0;
            overflow: hidden;
            border-radius: var(--lo-radius);
            box-shadow: var(--lo-shadow);
            background: var(--lo-border);
        }

        .lo-compare img {
            display: block;
            width: 100%;
            height: auto;
            object-fit: contain;
        }

        .lo-compare-after {
            position: absolute;
            top: 0;
            left: 0;
            width: 50%;
            height: 100%;
            overflow: hidden;
        }

        .lo-compare-handle {
            position: absolute;
            top: 0;
            left: 50%;
            width: 4px;
            height: 100%;
            background: white;
            cursor: ew-resize;
            box-shadow: 0 0 4px rgba(0,0,0,0.5);
            transform: translateX(-50%);
            z-index: 10;
        }

        .lo-compare-handle::before {
            content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: white;
        border: 3px solid var(--lo-primary);
        box-shadow: 0 0 8px rgba(0,0,0,0.3);
        }

        .lo-compare-label {
            position: absolute;
            top: 10px;
            padding: 4px 10px;
            background: rgba(0,0,0,0.7);
            color: white;
            border-radius: var(--lo-radius);
            font-size: 0.8em;
            font-weight: 600;
            z-index: 10;
            pointer-events: none;
        }

        .lo-compare-label-before {
            left: 10px;
        }

        .lo-compare-label-after {
            right: 10px;
        }

        /* =========================================================================
         *         WAVEFORM
         *         ========================================================================= */

        .lo-waveform {
            width: 100%;
            height: 100px;
            background: transparent;
            margin: 10px 0;
        }

        .lo-waveform canvas {
            width: 100%;
            height: 100%;
            border-radius: var(--lo-radius);
            background: var(--lo-light);
        }

        /* =========================================================================
         *         RESPONSIVE DESIGN
         *         ========================================================================= */

        @media (max-width: 1400px) {
            .lo-file-row {
                grid-template-columns: 40px 40px 1fr 90px 100px 90px 90px;
            }
        }

        @media (max-width: 1200px) {
            .lo-file-row {
                grid-template-columns: 40px 40px 1fr 80px 80px;
            }
            .lo-file-actions {
                grid-column: span 1;
                justify-content: center;
                flex-wrap: wrap;
            }
        }

        @media (max-width: 992px) {
            .lo-header {
                flex-direction: column;
                align-items: flex-start;
            }
            .lo-header-left {
                width: 100%;
            }
            .lo-header-right {
                width: 100%;
                justify-content: space-between;
            }
            .lo-tabs {
                justify-content: flex-start;
            }
        }

        @media (max-width: 768px) {
            .lo-file-row {
                grid-template-columns: 40px 40px 1fr;
            }
            .lo-file-size,
            .lo-file-progress,
            .lo-file-status {
                display: none;
            }
            .lo-file-actions {
                grid-column: span 3;
                justify-content: flex-end;
            }
            .lo-panel-header {
                flex-direction: column;
                align-items: flex-start;
            }
            .lo-panel-actions {
                width: 100%;
                justify-content: flex-end;
            }
        }

        @media (max-width: 480px) {
            .lo-file-row {
                grid-template-columns: 1fr;
                gap: 8px;
            }
            .lo-file-icon {
                justify-content: flex-start;
            }
            .lo-file-select {
                justify-content: flex-start;
            }
            .lo-file-actions {
                grid-column: span 1;
                justify-content: flex-end;
            }
            .lo-panel-body {
                padding: 15px;
            }
        }

        /* =========================================================================
         *         UTILITY CLASSES
         *         ========================================================================= */

        .lo-hidden {
            display: none !important;
        }

        .lo-visible {
            display: block !important;
        }

        .lo-text-center {
            text-align: center;
        }

        .lo-text-right {
            text-align: right;
        }

        .lo-mt-10 { margin-top: 10px; }
        .lo-mb-10 { margin-bottom: 10px; }
        .lo-ml-10 { margin-left: 10px; }
        .lo-mr-10 { margin-right: 10px; }

        /* =========================================================================
         *         DARK MODE TOGGLE STYLES
         *         ========================================================================= */

        .lo-dark-mode-toggle {
            padding: 10px 14px;
            background: transparent;
            border: 1px solid var(--lo-border);
            border-radius: var(--lo-radius);
            cursor: pointer;
            transition: var(--lo-transition);
        }

        .lo-dark-mode-toggle:hover {
            background: var(--lo-border);
        }

        /* =========================================================================
         *         ANIMATIONS
         *         ========================================================================= */

        @keyframes lo-fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        @keyframes lo-slideUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* =========================================================================
         *         SCROLLBAR STYLES
         *         ========================================================================= */

        ::-webkit-scrollbar {
            width: 10px;
            height: 10px;
        }

        ::-webkit-scrollbar-track {
            background: var(--lo-border);
            border-radius: 5px;
        }

        ::-webkit-scrollbar-thumb {
            background: var(--lo-text-light);
            border-radius: 5px;
        }

        ::-webkit-scrollbar-thumb:hover {
            background: var(--lo-text);
        }

        .lo-dark-mode ::-webkit-scrollbar-track {
            background: var(--lo-border-dark);
        }

        .lo-dark-mode ::-webkit-scrollbar-thumb {
            background: var(--lo-text-lighter);
        }

        .lo-dark-mode ::-webkit-scrollbar-thumb:hover {
            background: var(--lo-text-light);
        }
