.property-table th,
        .property-table td {
            padding: 0.75rem;
            text-align: left;
            border: 1px solid var(--border-color);
        }
        .input-group-custom {
            margin-bottom: 1rem;
        }
        .result-value-lg {
            font-weight: 700;
            color: #28a745;
            font-size: 2.4rem;
        }
        .deep-dive {
            margin: 1.8rem 0;
        }
        .deep-dive p {
            text-align: justify;
        }
        .unit-note {
            font-size: 0.9rem;
            color: #6c757d;
        }
        .coord-input {
            margin-bottom: 0.5rem;
        }
        .geometry-canvas {
            width: 100%;
            height: auto;
            background-color: #f9f9f9;
            border: 1px solid #ddd;
            border-radius: 8px;
            margin-top: 1.5rem;
            display: block;
        }
        .canvas-container {
            text-align: center;
            margin-top: 1rem;
        }
        .legend {
            display: flex;
            justify-content: center;
            gap: 2rem;
            margin: 0.5rem 0;
            font-size: 0.9rem;
            flex-wrap: wrap;
        }
        .legend-item {
            display: flex;
            align-items: center;
            gap: 0.3rem;
        }
        .legend-color {
            width: 16px;
            height: 16px;
            border-radius: 50%;
        }
        .legend-color.green {
            background-color: #28a745;
        }
        .legend-color.orange {
            background-color: #fd7e14;
        }
        .legend-color.blue {
            background-color: #0d6efd;
        }
        .legend-color.purple {
            background-color: #6f42c1;
        }
        .legend-color.red {
            background-color: #dc3545;
        }
        .result-card {
            background: #fff;
            border-radius: 12px;
            box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
            padding: 1.5rem;
            margin-bottom: 1.5rem;
            border: 1px solid rgba(0, 0, 0, 0.04);
        }
        .result-card .label {
            font-size: 0.85rem;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            color: #6c757d;
            font-weight: 600;
        }
        .result-card .value {
            font-size: 2.2rem;
            font-weight: 700;
            color: #212529;
        }
        .result-card .sub {
            font-size: 1rem;
            color: #6c757d;
        }
        .macro-bar {
            height: 28px;
            border-radius: 14px;
            background: #e9ecef;
            overflow: hidden;
            margin: 0.5rem 0;
            display: flex;
        }
        .macro-bar .segment {
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.75rem;
            font-weight: 600;
            color: #fff;
            transition: width 0.6s ease;
        }
        .macro-bar .segment.fat {
            background: #28a745;
        }
        .macro-bar .segment.carbs {
            background: #fd7e14;
        }
        .macro-bar .segment.protein {
            background: #0d6efd;
        }
        .macro-legend {
            display: flex;
            gap: 1.5rem;
            flex-wrap: wrap;
            margin: 0.5rem 0;
        }
        .macro-legend span {
            font-size: 0.85rem;
        }
        .macro-legend .dot {
            display: inline-block;
            width: 12px;
            height: 12px;
            border-radius: 50%;
            margin-right: 4px;
        }
        .dot.fat {
            background: #28a745;
        }
        .dot.carbs {
            background: #fd7e14;
        }
        .dot.protein {
            background: #0d6efd;
        }
        .recommendation-badge {
            display: inline-block;
            padding: 0.25rem 0.75rem;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 600;
        }
        .recommendation-badge.good {
            background: #d4edda;
            color: #155724;
        }
        .recommendation-badge.warning {
            background: #fff3cd;
            color: #856404;
        }
        .recommendation-badge.danger {
            background: #f8d7da;
            color: #721c24;
        }
        .input-group-text-custom {
            min-width: 44px;
            justify-content: center;
        }
        .fat-breakdown {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 0.75rem;
            margin: 1rem 0;
        }
        @media (max-width: 576px) {
            .fat-breakdown {
                grid-template-columns: 1fr;
            }
        }
        .fat-breakdown .item {
            background: #f8f9fa;
            border-radius: 8px;
            padding: 0.75rem 1rem;
            border: 1px solid #eee;
        }
        .fat-breakdown .item .label {
            font-size: 0.8rem;
            color: #6c757d;
        }
        .fat-breakdown .item .value {
            font-weight: 600;
            font-size: 1.1rem;
        }
        .section-badge {
            display: inline-block;
            background: #28a745;
            color: #fff;
            padding: 0.2rem 0.8rem;
            border-radius: 20px;
            font-size: 0.75rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-bottom: 0.5rem;
        }
        .food-source-grid {
            display: grid;
            grid-template-columns: 1fr 1fr 1fr;
            gap: 1rem;
            margin: 1rem 0;
        }
        @media (max-width: 768px) {
            .food-source-grid {
                grid-template-columns: 1fr;
            }
        }
        .food-source-card {
            background: #f8f9fa;
            border-radius: 8px;
            padding: 1rem;
            border: 1px solid #eee;
            text-align: center;
        }
        .food-source-card .icon {
            font-size: 2rem;
            margin-bottom: 0.5rem;
        }
        .food-source-card .title {
            font-weight: 600;
        }
        .food-source-card .desc {
            font-size: 0.85rem;
            color: #6c757d;
        }