.stat-card {
            background: white;
            border-radius: 16px;
            padding: 1.2rem;
            margin-bottom: 1rem;
            box-shadow: 0 2px 8px rgba(0,0,0,0.05);
            border: 1px solid rgba(0,0,0,0.05);
            transition: all 0.2s;
        }
        .stat-card:hover {
            box-shadow: 0 6px 16px rgba(0,0,0,0.08);
            transform: translateY(-2px);
        }
        .stat-number {
            font-size: 2.5rem;
            font-weight: 700;
            line-height: 1.2;
            color: var(--primary-color, #2c7da0);
        }
        .stat-label {
            font-size: 0.85rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            color: #6c757d;
            font-weight: 500;
        }
        .stat-unit {
            font-size: 1rem;
            font-weight: normal;
            color: #adb5bd;
        }
        .textarea-custom {
            font-family: 'Courier New', 'SF Mono', monospace;
            font-size: 1rem;
            line-height: 1.5;
            border-radius: 12px;
            border: 1px solid #dee2e6;
            transition: 0.2s;
        }
        .textarea-custom:focus {
            border-color: var(--primary-color);
            box-shadow: 0 0 0 0.2rem rgba(44,125,160,0.15);
        }
        .badge-readable {
            background-color: #e9ecef;
            color: #495057;
            font-weight: 500;
            padding: 0.5rem 1rem;
            border-radius: 40px;
            margin-right: 0.5rem;
            margin-bottom: 0.5rem;
            display: inline-block;
        }
        .keyword-item {
            background: #f8f9fa;
            border-radius: 30px;
            padding: 0.4rem 1rem;
            margin: 0.25rem;
            display: inline-block;
            font-size: 0.85rem;
            font-weight: 500;
        }
        .progress-custom {
            height: 8px;
            border-radius: 4px;
            background-color: #e9ecef;
        }
        .progress-bar-custom {
            background-color: var(--primary-color);
            border-radius: 4px;
        }
        .insight-box {
            background-color: #f1f8fe;
            border-left: 4px solid var(--primary-color);
            padding: 1.2rem;
            border-radius: 12px;
            margin: 1.5rem 0;
        }
        .tool-header h1 {
            font-size: 2.2rem;
            font-weight: 700;
        }
        .example-text-btn {
            background-color: rgba(44,125,160,0.1);
            border: 1px solid rgba(44,125,160,0.2);
            border-radius: 30px;
            padding: 0.3rem 1rem;
            font-size: 0.8rem;
            transition: all 0.2s;
            cursor: pointer;
        }
        .example-text-btn:hover {
            background-color: rgba(44,125,160,0.2);
            transform: translateY(-1px);
        }
        .update-badge {
            background-color: #e9ecef;
            color: #495057;
            font-size: 0.75rem;
            padding: 0.25rem 0.75rem;
            border-radius: 20px;
            display: inline-block;
        }
        .auto-save-badge {
            background-color: #d1e7dd;
            color: #0f5132;
            font-size: 0.7rem;
            padding: 0.2rem 0.6rem;
            border-radius: 20px;
            display: inline-flex;
            align-items: center;
            gap: 0.3rem;
        }
        .status-toast {
            position: fixed;
            bottom: 20px;
            right: 20px;
            background: #28a745;
            color: white;
            padding: 8px 16px;
            border-radius: 8px;
            font-size: 0.85rem;
            opacity: 0;
            transition: opacity 0.3s;
            z-index: 9999;
            pointer-events: none;
        }
        .status-toast.show {
            opacity: 1;
        }
        @media (max-width: 768px) {
            .stat-number { font-size: 1.8rem; }
            .tool-header h1 { font-size: 1.6rem; }
        }
        .ref-link {
            text-decoration: none;
            color: var(--primary-color);
        }
        .ref-link:hover {
            text-decoration: underline;
        }