.metric-card {
            background: #fff;
            border-radius: 12px;
            padding: 1.25rem 1rem;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
            border: 1px solid #e9ecef;
            transition: 0.2s;
            height: 100%;
        }
        .metric-card:hover {
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.10);
        }
        .metric-value {
            font-size: 1.8rem;
            font-weight: 700;
            color: #1a2b4a;
            font-family: 'Inter', 'Segoe UI', sans-serif;
            letter-spacing: -0.02em;
        }
        .metric-label {
            font-size: 0.85rem;
            text-transform: uppercase;
            letter-spacing: 0.04em;
            color: #6c7a91;
            font-weight: 600;
        }
        .metric-badge {
            font-size: 0.75rem;
            padding: 0.2rem 0.6rem;
            border-radius: 20px;
            font-weight: 600;
        }
        .badge-green {
            background: #d4edda;
            color: #155724;
        }
        .badge-red {
            background: #f8d7da;
            color: #721c24;
        }
        .badge-yellow {
            background: #fff3cd;
            color: #856404;
        }
        .badge-blue {
            background: #cce5ff;
            color: #004085;
        }
        .gauge-wrapper {
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 1rem;
        }
        .gauge-item {
            flex: 1;
            min-width: 120px;
            text-align: center;
        }
        .gauge-ring {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            background: #e9ecef;
            margin: 0 auto 0.4rem;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            font-weight: 700;
            color: #1a2b4a;
            position: relative;
        }
        .gauge-ring .ring-bg {
            position: absolute;
            top: 4px;
            left: 4px;
            right: 4px;
            bottom: 4px;
            border-radius: 50%;
            background: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.1rem;
        }
        .gauge-ring.green {
            border: 6px solid #28a745;
        }
        .gauge-ring.yellow {
            border: 6px solid #ffc107;
        }
        .gauge-ring.red {
            border: 6px solid #dc3545;
        }
        .gauge-ring.blue {
            border: 6px solid #0d6efd;
        }
        .input-group-custom {
            margin-bottom: 0.75rem;
        }
        .input-group-custom label {
            font-weight: 500;
            font-size: 0.8rem;
            color: #2d3e5f;
        }
        .input-group-custom .formula-box {
            background: #f4f7fc;
            border-radius: 8px;
            padding: 1rem 1.25rem;
            font-family: 'Courier New', 'Consolas', monospace;
            font-size: 0.95rem;
            border-left: 4px solid #0d6efd;
            margin: 0.75rem 0;
        }
        .example-presets {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin: 0.75rem 0 1rem;
        }
        .preset-btn {
            background: #f0f4fa;
            border: 1px solid #d0d9e8;
            border-radius: 20px;
            padding: 0.3rem 0.8rem;
            font-size: 0.8rem;
            font-weight: 500;
            color: #1a2b4a;
            cursor: pointer;
            transition: 0.2s;
        }
        .preset-btn:hover {
            background: #dbe4f0;
            transform: translateY(-1px);
        }
        .result-section {
            background: #fafcff;
            border-radius: 12px;
            padding: 1.5rem;
            border: 1px solid #e6ecf5;
        }
        .status-indicator {
            display: inline-flex;
            align-items: center;
            gap: 0.4rem;
            padding: 0.25rem 0.8rem;
            border-radius: 30px;
            font-weight: 600;
            font-size: 0.85rem;
        }
        .status-indicator.on-track {
            background: #d4edda;
            color: #155724;
        }
        .status-indicator.warning {
            background: #fff3cd;
            color: #856404;
        }
        .status-indicator.critical {
            background: #f8d7da;
            color: #721c24;
        }
        .status-indicator .dot {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            display: inline-block;
        }
        .status-indicator.on-track .dot {
            background: #28a745;
        }
        .status-indicator.warning .dot {
            background: #ffc107;
        }
        .status-indicator.critical .dot {
            background: #dc3545;
        }
        .interpretation-box {
            background: #f0f5fe;
            border-radius: 10px;
            padding: 1.2rem 1.5rem;
            border-left: 5px solid #0d6efd;
            margin: 1rem 0;
        }
        .interpretation-box h6 {
            color: #0d6efd;
            font-weight: 700;
            letter-spacing: 0.03em;
        }
        .glossary-term {
            font-weight: 600;
            color: #1a2b4a;
        }
        .glossary-def {
            color: #4a5a72;
        }
        .case-study-box {
            background: #f4f7fb;
            border-radius: 10px;
            padding: 1.2rem 1.5rem;
            border-left: 5px solid #6c7a91;
            margin: 1.5rem 0;
        }
        .case-study-box .case-title {
            font-weight: 700;
            color: #1a2b4a;
        }
        .unit-note {
            font-size: 0.85rem;
            color: #6c7a91;
        }
        @media (max-width: 768px) {
            .metric-value {
                font-size: 1.4rem;
            }
            .gauge-ring {
                width: 60px;
                height: 60px;
                font-size: 1rem;
            }
            .gauge-ring .ring-bg {
                font-size: 0.9rem;
            }
        }