.math-result, .seq-result {
            padding: 15px;
            background-color: white;
            border-radius: 4px;
            border: 1px solid #eee;
            font-family: 'Courier New', monospace;
            margin: 10px 0;
            word-break: break-all;
            font-size: 1.1rem;
        }
        .mono-sequence {
            font-family: 'Courier New', 'Fira Code', monospace;
            font-weight: 500;
            background: #f8f9fc;
            padding: 0.75rem;
            border-radius: 8px;
            letter-spacing: 0.5px;word-break: break-all;
        }.result-row{font-size:1rem}
        .rule-card {
            background: #eef5ff;
            border-radius: 12px;
            padding: 1rem;
            text-align: center;
            transition: transform 0.1s;
        }
        .rule-card:hover { transform: scale(1.01); background: #e2ecfe; }
        .base-pair {
            font-size: 1.8rem;
            font-weight: bold;
            font-family: monospace;
        }
        .enzyme-badge {
            background-color: #2c7da0;
            color: white;
            padding: 0.2rem 0.7rem;
            border-radius: 20px;
            font-size: 0.8rem;
            display: inline-block;
        }
        .stat-pill {
            background: #f1f3f5;
            padding: 0.3rem 0.8rem;
            border-radius: 30px;
            font-size: 0.9rem;
        }
        .thumb-canvas {
            background: #fefefe;
            border-radius: 16px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.05);
            margin-top: 1rem;
        }
        .legend-dna {
            display: inline-block;
            width: 14px;
            height: 14px;
            background-color: #1b4d6e;
            border-radius: 2px;
        }
        .legend-rna {
            display: inline-block;
            width: 14px;
            height: 14px;
            background-color: #bc6c25;
            border-radius: 2px;
        }
        .transcription-figure {
            background: #faf9f8;
            border-radius: 24px;
            padding: 0.5rem;
        }
        .input-group-custom {
            margin-bottom: 1rem;
        }
        .result-row span.gc-bar {
            height: 8px;
            background: #d4dcec;
            border-radius: 5px;
            overflow: hidden;
            width: 100%;
            margin-top: 0.3rem;
        }
        .gc-fill {
            height: 100%;
            background: #2c7da0;
            width: 0%;
            border-radius: 5px;
        }
        .validation-note {
            background-color: #e9f5e9;
            border-left: 4px solid #2c7da0;
            padding: 0.6rem 1rem;
            font-size: 0.9rem;
            margin: 1rem 0;
            border-radius: 6px;
        }
        .canvas-caption {
            font-size: 0.75rem;
            color: #6c757d;
            text-align: center;
            margin-top: 0.25rem;
        }
        .rule-description {
            font-size: 0.85rem;
            color: #2c7da0;
            margin-top: 6px;
        }