/* 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;
        }

        /* Main Content */
        main {
            max-width: 900px;
            margin: 3rem auto;
            padding: 0 1.5rem;
        }

        .results-container {
            text-align: center;
        }

        /* Mobile: stack summary items and hide less important table columns */
        @media (max-width: 640px) {
            .summary-item {
                flex-direction: column;
                gap: 4px;
                text-align: left;
            }
            .summary-label {
                font-size: .85rem;
            }
            .summary-value {
                font-size: 1.1rem;
            }
        }

        .result-icon {
            font-size: 4rem;
            margin-bottom: 1.5rem;
            display: inline-block;
        }

        .result-icon.success {
            color: var(--accent);
        }

        .result-icon.warning {
            color: #f59e0b;
        }

        h1 {
            font-size: 2rem;
            font-weight: 700;
            margin-bottom: 1rem;
            color: var(--text);
        }

        .intro-text {
            font-size: 1rem;
            color: var(--text-muted);
            margin-bottom: 2rem;
            line-height: 1.8;
        }

        /* Summary Card */
        .summary-card {
            background: white;
            border-radius: var(--radius);
            padding: 2rem;
            margin-bottom: 2rem;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
            border-left: 4px solid var(--accent);
            text-align: left;
        }

        .summary-card.warning {
            border-left-color: #f59e0b;
        }

        .summary-item {
            display: flex;
            justify-content: space-between;
            padding: 1rem 0;
            border-bottom: 1px solid var(--border);
        }

        .summary-item:last-child {
            border-bottom: none;
        }

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

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

        /* Company Cards */
        /* No Partner Message */
        .no-partner-message {
            background: white;
            border: 2px solid var(--border);
            border-radius: var(--radius);
            padding: 2rem;
            margin: 2rem 0;
            text-align: center;
            color: var(--text-muted);
            font-size: 0.95rem;
            line-height: 1.8;
        }

        /* CTA Cards */
        .cta-card {
            background: white;
            border: 2px solid var(--accent);
            border-radius: var(--radius);
            padding: 2rem;
            margin-bottom: 2rem;
            text-align: center;
        }

        .cta-card h3 {
            font-size: 1.25rem;
            color: var(--primary);
            margin-bottom: 1rem;
        }

        .cta-card p {
            color: var(--text-muted);
            margin-bottom: 1.5rem;
            line-height: 1.8;
        }

        .cta-button {
            background-color: var(--primary);
            color: white;
            border: none;
            padding: 1rem 2rem;
            border-radius: 6px;
            font-weight: 600;
            cursor: pointer;
            text-decoration: none;
            display: inline-block;
            transition: background-color 0.3s ease;
            font-size: 1rem;
        }

        .cta-button:hover {
            background-color: var(--primary-light);
        }

        /* Secondary Message */
        .secondary-message {
            background: #eef4e8;
            border-radius: var(--radius);
            padding: 1.5rem;
            margin: 2rem 0;
            text-align: center;
            color: #1d6b4a;
            font-size: 0.95rem;
            line-height: 1.7;
        }

        .secondary-message a {
            color: var(--primary);
            text-decoration: none;
            font-weight: 600;
            display: inline-block;
            margin-top: 0.5rem;
        }

        .secondary-message a:hover {
            text-decoration: underline;
        }

        /* Back Link */
        .back-link {
            display: inline-block;
            margin-top: 2rem;
            color: var(--primary);
            text-decoration: none;
            font-weight: 500;
            transition: color 0.3s ease;
        }

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

        /* Loading State */
        .loading {
            text-align: center;
            padding: 3rem 0;
            color: var(--text-muted);
        }

        .spinner {
            border: 4px solid var(--border);
            border-top: 4px solid var(--primary);
            border-radius: 50%;
            width: 40px;
            height: 40px;
            animation: spin 1s linear infinite;
            margin: 1rem auto;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        /* Error State */
        .error-message {
            background: #fee2e2;
            border: 1px solid #fca5a5;
            color: #991b1b;
            padding: 1.5rem;
            border-radius: var(--radius);
            margin-bottom: 2rem;
            text-align: center;
        }

        /* ── Walkthrough styles ── */
        .walkthrough-section {
            text-align: left;
            margin-top: 2.5rem;
        }
        .walkthrough-section h2 {
            font-size: 1.4rem;
            color: var(--primary);
            margin-bottom: 6px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .walkthrough-section .walk-lead {
            color: var(--text-muted);
            font-size: .95rem;
            margin-bottom: 20px;
        }
        .walk-step {
            display: flex;
            gap: 16px;
            padding: 18px 0;
            border-bottom: 1px solid var(--border);
        }
        .walk-step:last-child { border-bottom: none; }
        .walk-step__num {
            flex-shrink: 0;
            width: 34px; height: 34px;
            border-radius: 50%;
            background: var(--primary);
            color: #fff;
            font-weight: 700;
            font-size: .9rem;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .walk-step__content { flex: 1; }
        .walk-step__title {
            font-weight: 700;
            font-size: 1rem;
            color: var(--text);
            margin-bottom: 4px;
        }
        .walk-step__desc {
            font-size: .92rem;
            color: var(--text-light);
            line-height: 1.6;
        }
        .walk-step__highlight {
            display: inline-block;
            margin-top: 8px;
            background: #eef4e8;
            color: #1d6b4a;
            font-size: .85rem;
            font-weight: 600;
            padding: 4px 12px;
            border-radius: 6px;
            border: 1px solid #cfe0c6;
        }
        .walk-protips {
            background: #f0fdf9;
            border: 1px solid #e2ecda;
            border-radius: var(--radius);
            padding: 18px 20px;
            margin-top: 20px;
            text-align: left;
        }
        .walk-protips strong {
            color: var(--primary);
        }
        .walk-protips ul {
            margin: 10px 0 0 18px;
            font-size: .9rem;
            color: var(--text);
            line-height: 1.7;
        }
        .walk-payoff-schedule {
            margin-top: 2rem;
            text-align: left;
        }
        .walk-payoff-schedule h3 {
            font-size: 1.1rem;
            color: var(--primary);
            margin-bottom: 12px;
        }
        .schedule-row {
            display: grid;
            grid-template-columns: 40px 1fr 1fr 1fr;
            gap: 8px;
            padding: 12px 0;
            border-bottom: 1px solid var(--border);
            font-size: .9rem;
            align-items: center;
        }
        .schedule-row.hdr {
            font-weight: 700;
            color: var(--text-muted);
            font-size: .82rem;
            text-transform: uppercase;
            letter-spacing: .04em;
        }
        .schedule-rank {
            width: 28px; height: 28px;
            border-radius: 50%;
            background: var(--bg);
            color: var(--primary);
            font-weight: 700;
            font-size: .82rem;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        @media (max-width: 600px) {
            .schedule-row { grid-template-columns: 32px 1fr 1fr; }
            .schedule-row .m-hide { display: none; }
        }

        .walk-download-btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: var(--primary);
            color: #fff;
            padding: 12px 24px;
            border-radius: 8px;
            font-weight: 600;
            font-size: .95rem;
            text-decoration: none;
            border: none;
            cursor: pointer;
            font-family: inherit;
            margin-top: 20px;
            transition: background .2s;
        }
        .walk-download-btn:hover { background: var(--primary-light); }
