.code-editor {
            font-family: 'Courier New', 'Fira Code', monospace;
            font-size: 0.9rem;
            background: #f8f9fa;
            border: 1px solid #ced4da;
            border-radius: 8px;
            padding: 1rem;
            width: 100%;
            resize: vertical;
            line-height: 1.5;
        }
        .preview-container {
            background: #ffffff;
            border: 2px solid #e9ecef;
            border-radius: 16px;
            padding: 1.5rem;
            margin-top: 1rem;
            min-height: 380px;
            transition: all 0.2s;
            box-shadow: 0 2px 8px rgba(0,0,0,0.03);
        }
        .preview-container svg {
            max-width: 100%;
            height: auto;
        }
        .tool-action-group {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            margin-top: 16px;
            margin-bottom: 16px;
        }
        .mermaid-error {
            background: #fff0f0;
            color: #d32f2f;
            padding: 1rem;
            border-radius: 12px;
            font-family: monospace;
            border-left: 5px solid #d32f2f;
        }
        .feature-icon {
            color: var(--primary-color, #4682b4);
            margin-right: 8px;
        }
        .faq-accordion .accordion-button:not(.collapsed) {
            background-color: rgba(70, 130, 180, 0.08);
            color: #1e4663;
        }
        .copy-notify {
            position: fixed;
            bottom: 20px;
            right: 20px;
            z-index: 1090;
        }
        .legend-example {
            display: inline-block;
            width: 24px;
            text-align: center;
            font-weight: bold;
        }
        .security-note {
            background: #fef9e6;
            border-left: 4px solid #ffc107;
            padding: 0.6rem 1rem;
            font-size: 0.85rem;
            margin-top: 0.5rem;
            border-radius: 8px;
        }