  .ratio-result {
            padding: 12px 16px;
            background-color: white;
            border-radius: 6px;
            border: 1px solid #e9ecef;
            font-family: 'Inter', 'Segoe UI', sans-serif;
            margin: 6px 0;
            display: flex;
            justify-content: space-between;
            align-items: center;
            transition: background-color 0.2s;
        }
        .ratio-result:hover {
            background-color: #f8f9ff;
        }
        .ratio-label {
            font-weight: 500;
            color: #2c3e50;
        }
        .ratio-value {
            font-weight: 700;
            font-size: 1.25rem;
            color: #0d6efd;
            font-family: 'JetBrains Mono', 'Courier New', monospace;
        }
        .ratio-value.positive { color: #198754; }
        .ratio-value.negative { color: #dc3545; }
        .ratio-value.neutral { color: #6c757d; }
        .ratio-badge {
            font-size: 0.7rem;
            padding: 2px 10px;
            border-radius: 20px;
            background-color: #e9ecef;
            color: #495057;
            margin-left: 8px;
        }
        .metric-card {
            background: #f8f9fc;
            border-radius: 8px;
            padding: 16px;
            border-left: 4px solid #0d6efd;
            margin-bottom: 12px;
        }
        .metric-card .metric-label {
            font-size: 0.85rem;
            text-transform: uppercase;
            letter-spacing: 0.03em;
            color: #6c757d;
            font-weight: 600;
        }
        .metric-card .metric-value {
            font-size: 1.4rem;
            font-weight: 700;
            color: #1a1a2e;
        }
        .metric-card .metric-sub {
            font-size: 0.8rem;
            color: #6c757d;
        }
        .input-group-custom {
            margin-bottom: 0.75rem;
        }
        .input-group-custom label {
            font-weight: 500;
            font-size: 0.9rem;
        }
        .input-group-custom .form-control {
            background-color: #fff;
            border: 1px solid #dde1e6;
            border-radius: 6px;
            padding: 0.5rem 0.75rem;
        }
        .input-group-custom .form-control:focus {
            border-color: #0d6efd;
            box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
        }
        .section-divider {
            border: 0;
            border-top: 2px dashed #e9ecef;
            margin: 2rem 0;
        }
        .chart-container {
            background: #fafbfc;
            border-radius: 10px;
            padding: 1rem;
            border: 1px solid #e9ecef;
            margin-top: 1.5rem;
        }
        .chart-container canvas {
            width: 100% !important;
            height: auto !important;
            max-height: 300px;
        }
        .industry-benchmark {
            background: #f0f4ff;
            border-radius: 8px;
            padding: 1.2rem 1.5rem;
            border-left: 4px solid #0d6efd;
            margin: 1rem 0;
        }
        .industry-benchmark small {
            color: #495057;
        }
        .interpretation-box {
            background: #fff8e1;
            border-radius: 6px;
            padding: 1rem 1.2rem;
            border-left: 4px solid #ffc107;
            margin: 0.5rem 0;
        }
        .interpretation-box.good { background: #e8f5e9; border-color: #4caf50; }
        .interpretation-box.warning { background: #fff3e0; border-color: #ff9800; }
        .interpretation-box.danger { background: #fbe9e7; border-color: #f44336; }
        .example-grid {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin: 0.8rem 0;
        }
        .example-chip {
            background: #e9ecef;
            border-radius: 20px;
            padding: 0.4rem 1rem;
            font-size: 0.85rem;
            color: #1a1a2e;
            cursor: pointer;
            transition: all 0.2s;
            border: 1px solid transparent;
        }
        .example-chip:hover {
            background: #0d6efd;
            color: #fff;
            border-color: #0d6efd;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(13, 110, 253, 0.25);
        }
        .ratio-summary-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 0.75rem;
            margin: 1rem 0;
        }
        .ratio-summary-item {
            background: white;
            padding: 0.75rem 1rem;
            border-radius: 6px;
            border: 1px solid #e9ecef;
            text-align: center;
        }
        .ratio-summary-item .rs-label {
            font-size: 0.75rem;
            text-transform: uppercase;
            color: #6c757d;
            letter-spacing: 0.04em;
        }
        .ratio-summary-item .rs-value {
            font-size: 1.3rem;
            font-weight: 700;
            color: #0d6efd;
        }
        .authority-note {
            font-size: 0.85rem;
            color: #6c757d;
            border-top: 1px solid #e9ecef;
            padding-top: 1rem;
            margin-top: 1rem;
        }
        .privacy-note {
            background: #e7f3ff;
            border: 1px solid #b8daff;
            color: #004085;
            padding: 0.6rem 1rem;
            border-radius: 6px;
            margin: 1rem 0;
            font-size: 0.9rem;
        }
        .warning-note {
            background: #fff3cd;
            border: 1px solid #ffeeba;
            color: #856404;
            padding: 0.6rem 1rem;
            border-radius: 6px;
            margin: 1rem 0;
            display: none;
        }
        .tool-header .badge {
            font-size: 0.7rem;
            vertical-align: middle;
        }
        .result-container {
            margin-top: 1.5rem;
        }
        .result-title {
            font-size: 1.3rem;
            font-weight: 600;
            margin-bottom: 1rem;
            color: #1a1a2e;
            border-bottom: 2px solid #e9ecef;
            padding-bottom: 0.5rem;
        }
        .colored-dot {
            display: inline-block;
            width: 12px;
            height: 12px;
            border-radius: 50%;
            margin-right: 6px;
        }
        .legend-row {
            display: flex;
            flex-wrap: wrap;
            gap: 1rem;
            justify-content: center;
            margin: 0.5rem 0;
        }
        .legend-item {
            display: flex;
            align-items: center;
            font-size: 0.85rem;
        }
        @media (max-width: 768px) {
            .ratio-result {
                flex-wrap: wrap;
                gap: 0.25rem;
            }
            .ratio-value {
                font-size: 1rem;
            }
        }