.input-group-custom { margin-bottom: 1rem; }
        .result-value.negative { color: #dc3545; }
        .result-value.positive { color: #28a745; }
        .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; }
        .chart-canvas { width: 100%; height: auto; background: #f9f9f9; border: 1px solid #ddd; border-radius: 8px; margin-top: 1.5rem; display: block; max-width: 100%; }
        .canvas-container { text-align: center; margin-top: 1rem; }
        .legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.2rem; margin: 0.5rem 0 1rem 0; font-size: 0.9rem; }
        .legend-item { display: flex; align-items: center; gap: 0.3rem; }
        .legend-color { width: 16px; height: 16px; border-radius: 4px; }
        .legend-color.blue { background: #0d6efd; }
        .legend-color.green { background: #28a745; }
        .legend-color.red { background: #dc3545; }
        .legend-color.gold { background: #ffc107; }
        .legend-color.purple { background: #6f42c1; }
        .tax-summary-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; margin: 1.5rem 0; }
        .tax-summary-card { background: #f8f9fa; border-radius: 8px; padding: 1rem; text-align: center; border: 1px solid #e9ecef; }
        .tax-summary-card .number { font-size: 1.8rem; font-weight: 700; color: var(--primary-color); }
        .tax-summary-card .label { font-size: 0.85rem; color: #6c757d; text-transform: uppercase; letter-spacing: 0.5px; }
        .bracket-visual { margin: 1.5rem 0; padding: 1rem; background: #f8f9fa; border-radius: 8px; }
        .bracket-bar { display: flex; height: 24px; border-radius: 4px; overflow: hidden; margin: 0.25rem 0; }
        .bracket-bar .segment { height: 100%; display: flex; align-items: center; justify-content: center; font-size: 0.65rem; color: #fff; font-weight: 600; text-shadow: 0 0 2px rgba(0,0,0,0.3); transition: width 0.3s ease; }
        .bracket-label { display: flex; justify-content: space-between; font-size: 0.8rem; color: #495057; margin-bottom: 0.15rem; }
        .filing-status-selector { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.75rem 0; }
        .status-btn { padding: 0.4rem 1rem; border-radius: 20px; border: 2px solid #dee2e6; background: #fff; cursor: pointer; transition: all 0.2s; font-size: 0.9rem; }
        .status-btn:hover { border-color: var(--primary-color); background: rgba(0,80,200,0.05); }
        .status-btn.active { border-color: var(--primary-color); background: var(--primary-color); color: #fff; }
        .disclaimer-box { background: #f8f9fa; border-radius: 8px; padding: 1rem 1.2rem; margin: 1rem 0; border: 1px solid #e9ecef; font-size: 0.9rem; color: #495057; }
        .disclaimer-box strong { color: #212529; }
        .result-summary { background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%); border-radius: 12px; padding: 1.5rem; margin: 1rem 0; }
        .tax-tip { background: #d1ecf1; border: 1px solid #bee5eb; color: #0c5460; padding: 0.75rem 1rem; border-radius: 4px; margin: 0.75rem 0; }
        .tax-tip i { margin-right: 0.5rem; }
        @media (max-width: 576px) {
            .tax-summary-grid { grid-template-columns: 1fr 1fr; }
            }
        .input-group { margin-bottom: 0.5rem; }