.macro-card {
            background: #f8fafc;
            border-radius: 16px;
            padding: 1rem;
            margin: 0.75rem 0;
            transition: all 0.2s;
        }
        .macro-card:hover {
            background: #f1f5f9;
        }
        .calorie-breakdown-bar {
            background-color: #e9ecef;
            border-radius: 20px;
            overflow: hidden;
            margin: 15px 0;
            height: 32px;
            display: flex;
            width: 100%;
        }
        .break-fraction {
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: 600;
            font-size: 0.8rem;
            transition: width 0.2s ease;
        }
        .fat-bar { background-color: #f97316; }
        .carbs-bar { background-color: #3b82f6; }
        .protein-bar { background-color: #10b981; }
        .legend-dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            display: inline-block;
            margin-right: 6px;
        }
        .food-preset-btn {
            background-color: #f1f3f5;
            border: none;
            border-radius: 40px;
            padding: 6px 14px;
            font-size: 0.85rem;
            margin: 0 6px 6px 0;
            transition: all 0.2s;
        }
        .food-preset-btn:hover {
            background-color: #e2e6ea;
            transform: translateY(-1px);
        }
        .insight-card {
            background: linear-gradient(135deg, #fef9e3 0%, #fff5e6 100%);
            border-left: 5px solid #f97316;
        }
        .section-subtitle {
            font-size: 1.2rem;
            font-weight: 600;
            margin-top: 1.8rem;
            margin-bottom: 1rem;
            color: #1e293b;
            border-bottom: 2px solid rgba(249,115,22,0.2);
            display: inline-block;
        }
        .ref-note {
            background-color: #f1f8fe;
            border-left: 3px solid #2c3e66;
            padding: 1rem;
            border-radius: 8px;
            font-size: 0.9rem;
        }
        .input-group-custom {
            margin-bottom: 1rem;
        }
        .unit-badge {
            font-size: 0.75rem;
            background: #eef2ff;
            padding: 2px 8px;
            border-radius: 20px;
            margin-left: 8px;
        }
        .toast-container-custom {
            position: fixed;
            bottom: 20px;
            right: 20px;
            z-index: 1100;
        }
        .input-error {
            border-color: #dc3545 !important;
            background-color: #fff0f0 !important;
        }