/* Brand tokens inherited from styles.css :root */

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', sans-serif;
            background-color: var(--bg);
            color: var(--text);
            line-height: 1.6;
        }

        .navbar {
            background: white;
            border-bottom: 1px solid var(--border);
            padding: 1rem 2rem;
            display: flex;
            align-items: center;
            justify-content: space-between;
            position: sticky;
            top: 0;
            z-index: 100;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
        }

        .navbar-logo {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .navbar-logo img {
            height: 32px;
            width: auto;
        }

        .navbar-logo span {
            font-size: 1.25rem;
            font-weight: 600;
            color: var(--primary);
        }

        .navbar-menu {
            display: flex;
            list-style: none;
            gap: 2rem;
            margin: 0;
        }

        .navbar-menu a {
            text-decoration: none;
            color: var(--text);
            font-weight: 500;
            font-size: 0.95rem;
            transition: color 0.3s;
            padding-bottom: 0.5rem;
            border-bottom: 2px solid transparent;
        }

        .navbar-menu a:hover {
            color: var(--primary);
        }

        .navbar-menu a.active {
            color: var(--primary);
            border-bottom-color: var(--primary);
        }

        .navbar-right {
            display: flex;
            gap: 1rem;
            align-items: center;
        }

        .navbar-right button {
            padding: 0.5rem 1rem;
            border: none;
            border-radius: var(--radius);
            cursor: pointer;
            font-size: 0.95rem;
            font-weight: 500;
        }

        .btn-secondary {
            background: white;
            color: var(--primary);
            border: 1px solid var(--primary);
        }

        .btn-secondary:hover {
            background: var(--bg);
        }

        .btn-primary {
            background: var(--primary);
            color: white;
        }

        .btn-primary:hover {
            background: var(--primary-light);
        }

        .container {
            max-width: 900px;
            margin: 0 auto;
            padding: 2rem;
        }

        .banner {
            text-align: center;
            margin-bottom: 3rem;
        }

        .banner h1 {
            font-size: 2rem;
            color: var(--primary);
            margin-bottom: 0.5rem;
            font-weight: 700;
        }

        .banner p {
            font-size: 1.1rem;
            color: var(--text-muted);
            margin-bottom: 1rem;
        }

        .budget-form {
            display: flex;
            flex-direction: column;
            gap: 2rem;
        }

        .budget-section {
            background: white;
            border-radius: var(--radius);
            overflow: hidden;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
        }

        .section-header {
            background: var(--primary);
            color: white;
            padding: 1rem 1.5rem;
            font-size: 1.1rem;
            font-weight: 600;
        }

        .section-content {
            padding: 1.5rem;
        }

        .budget-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0.75rem 0;
            border-bottom: 1px solid var(--border);
        }

        .budget-row:last-child {
            border-bottom: none;
        }

        .budget-row:nth-child(even) {
            background: white;
        }

        .budget-row:nth-child(odd) {
            background: var(--bg);
        }

        .budget-row.total-row {
            background: #e2ecda !important;
            border-top: 2px solid var(--border);
            padding: 1rem 0;
            margin-top: 0.5rem;
            font-weight: 600;
        }

        .budget-row label {
            font-weight: 500;
            color: var(--text);
        }

        .budget-row input {
            width: 150px;
            padding: 0.5rem;
            border: 1px solid var(--border);
            border-radius: var(--radius);
            font-family: 'Inter', sans-serif;
            font-size: 0.95rem;
        }

        .budget-row input:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(6, 95, 70, 0.1);
        }

        .input-group {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .input-group span {
            font-weight: 600;
            color: var(--text);
        }

        .summary-box {
            background: linear-gradient(135deg, #e2ecda 0%, #cfe0c6 100%);
            border: 2px solid var(--accent);
            border-radius: var(--radius);
            padding: 2rem;
            margin-top: 2rem;
            box-shadow: 0 4px 12px rgba(29,107,74, 0.15);
        }

        .summary-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1rem;
            font-size: 1rem;
        }

        .summary-row.leftover {
            border-top: 2px solid var(--accent);
            padding-top: 1rem;
            margin-top: 1rem;
        }

        .summary-label {
            font-weight: 500;
            color: var(--text);
        }

        .summary-value {
            font-weight: 600;
            color: var(--text);
        }

        .summary-value.positive {
            color: #16543a;
            font-size: 1.5rem;
        }

        .summary-value.negative {
            color: #dc2626;
            font-size: 1.5rem;
        }

        .summary-tip {
            margin-top: 1rem;
            padding-top: 1rem;
            border-top: 1px solid rgba(0, 0, 0, 0.1);
            font-size: 0.95rem;
            color: #1f2937;
            font-style: italic;
        }

        .warning-box {
            background: #fef3c7;
            border: 1px solid #fbbf24;
            border-radius: var(--radius);
            padding: 1rem;
            margin-top: 1rem;
            color: #92400e;
            font-size: 0.95rem;
        }

        .button-group {
            display: flex;
            gap: 1rem;
            margin-top: 2rem;
            justify-content: space-between;
        }

        .button-group a,
        .button-group button {
            padding: 0.75rem 1.5rem;
            border-radius: var(--radius);
            border: none;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            transition: all 0.3s;
        }

        .button-group .btn-back {
            background: white;
            color: var(--primary);
            border: 2px solid var(--primary);
        }

        .button-group .btn-back:hover {
            background: var(--bg);
        }

        .button-group .btn-next {
            background: var(--primary);
            color: white;
            flex: 1;
            justify-content: center;
        }

        .button-group .btn-next:hover {
            background: var(--primary-light);
        }

        .download-link {
            text-align: center;
            margin-top: 1.5rem;
            padding-top: 1.5rem;
            border-top: 1px solid var(--border);
        }

        .download-link a {
            color: var(--primary);
            text-decoration: none;
            font-weight: 500;
            font-size: 0.95rem;
            transition: color 0.3s;
        }

        .download-link a:hover {
            color: var(--primary-light);
        }

        @media (max-width: 768px) {
            .navbar-menu {
                gap: 1rem;
                font-size: 0.85rem;
            }

            .banner h1 {
                font-size: 1.5rem;
            }

            .container {
                padding: 1rem;
            }

            .budget-row {
                flex-direction: column;
                align-items: flex-start;
                gap: 0.5rem;
            }

            .budget-row input {
                width: 100%;
            }

            .summary-row {
                flex-direction: column;
                align-items: flex-start;
                gap: 0.5rem;
            }

            .button-group {
                flex-direction: column;
                gap: 0.75rem;
            }

            .button-group a,
            .button-group button {
                width: 100%;
                justify-content: center;
            }
        }

        .hidden {
            display: none;
        }
