.result-box {
            background: #f8f9fa;
            border-radius: 6px;
            padding: 1rem;
            word-break: break-all;
            font-family: 'Courier New', monospace;
            font-size: 0.85rem;
            max-height: 180px;
            overflow-y: auto;
            border: 1px solid #dee2e6;
            margin-top: 0.5rem;
        }
        .result-box .label {
            font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
            font-weight: 600;
            color: #495057;
        }
        .preview-container {
            border: 1px solid #dee2e6;
            border-radius: 6px;
            padding: 1rem;
            background: #ffffff;
            min-height: 80px;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-direction: column;
            margin-top: 0.5rem;
        }
        .preview-container iframe {
            width: 100%;
            height: 160px;
            border: none;
            border-radius: 4px;
            background: #fff;
        }
        .preview-container img {
            max-width: 100%;
            max-height: 200px;
            border-radius: 4px;
        }
        .preview-container svg {
            max-width: 100%;
            max-height: 180px;
        }
        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
            gap: 0.75rem;
            margin: 0.75rem 0;
        }
        .stat-card {
            background: #fff;
            border: 1px solid #e9ecef;
            border-radius: 6px;
            padding: 0.5rem 0.75rem;
            text-align: center;
        }
        .stat-card .stat-value {
            font-weight: 700;
            font-size: 1.1rem;
            color: #0d6efd;
        }
        .stat-card .stat-label {
            font-size: 0.75rem;
            text-transform: uppercase;
            color: #6c757d;
            letter-spacing: 0.5px;
        }
        .mime-badge {
            display: inline-block;
            background: #e9ecef;
            border-radius: 12px;
            padding: 0.2rem 0.75rem;
            font-size: 0.8rem;
            font-family: 'Courier New', monospace;
            color: #495057;
        }
        .example-grid {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin: 1rem 0 0.5rem 0;
        }
        .example-chip {
            background: rgba(13, 110, 253, 0.08);
            border: 1px solid rgba(13, 110, 253, 0.2);
            border-radius: 20px;
            padding: 0.4rem 1rem;
            font-size: 0.8rem;
            color: #0d6efd;
            cursor: pointer;
            transition: all 0.2s;
            display: inline-flex;
            align-items: center;
            gap: 0.4rem;
        }
        .example-chip:hover {
            background: rgba(13, 110, 253, 0.15);
            transform: translateY(-2px);
        }
        .example-chip i {
            font-size: 0.7rem;
        }
        .input-method-tabs {
            display: flex;
            gap: 0.5rem;
            margin-bottom: 0.75rem;
            border-bottom: 1px solid #dee2e6;
            padding-bottom: 0.5rem;
        }
        .input-method-tabs .tab-btn {
            background: none;
            border: none;
            padding: 0.4rem 1rem;
            border-radius: 20px;
            font-size: 0.85rem;
            color: #6c757d;
            transition: all 0.2s;
        }
        .input-method-tabs .tab-btn.active {
            background: #0d6efd;
            color: #fff;
        }
        .input-method-tabs .tab-btn:hover:not(.active) {
            background: #e9ecef;
        }
        .file-drop-zone {
            border: 2px dashed #ced4da;
            border-radius: 8px;
            padding: 2rem 1rem;
            text-align: center;
            cursor: pointer;
            transition: all 0.3s;
            background: #fafbfc;
        }
        .file-drop-zone:hover {
            border-color: #0d6efd;
            background: #f0f7ff;
        }
        .file-drop-zone.dragover {
            border-color: #0d6efd;
            background: #e7f0ff;
        }
        .file-drop-zone .icon {
            font-size: 2rem;
            color: #6c757d;
            margin-bottom: 0.5rem;
        }
        .file-drop-zone .text {
            color: #6c757d;
        }
        .file-drop-zone .filename {
            font-weight: 600;
            color: #0d6efd;
        }
        .deep-dive-content {
            margin: 1.8rem 0;
        }
        .deep-dive-content p {
            text-align: justify;
        }
        .case-study-box {
            background: #f0f7fa;
            border-radius: 8px;
            padding: 1.5rem;
            margin: 1.5rem 0;
            border-left: 5px solid #0d6efd;
        }
        .toast {
            background: #fff;
            border-radius: 8px;
            box-shadow: 0 4px 20px rgba(0,0,0,0.15);
            padding: 0.75rem 1.25rem;
            margin-bottom: 0.5rem;
            border-left: 4px solid #0d6efd;
            animation: slideIn 0.3s ease;
        }
        .toast.success { border-left-color: #198754; }
        .toast.error { border-left-color: #dc3545; }
        @keyframes slideIn {
            from { opacity: 0; transform: translateX(20px); }
            to { opacity: 1; transform: translateX(0); }
        }
        .unit-note {
            font-size: 0.9rem;
            color: #6c757d;
        }
        .section-title i {
            color: #0d6efd;
            margin-right: 0.5rem;
        }
        .tool-header .lead {
            font-size: 1.1rem;
            font-weight: 400;
            color: #495057;
        }
        @media (max-width: 576px) {
            .stats-grid {
                grid-template-columns: 1fr 1fr;
            }
        }