/* The "one quick step before checkout" modal — /pricing and /sale-plans (moved out of pricing.css, 2026-11-26). */
            /* ── Inline auth modal ──────────────────────────────────────────────── */
            #pa-modal-overlay {
                display: none;
                position: fixed;
                inset: 0;
                background: rgba(22, 22, 29, .55);
                backdrop-filter: blur(4px);
                z-index: 9999;
                align-items: center;
                justify-content: center;
                padding: 20px;
            }

            #pa-modal-overlay.pa-open {
                display: flex;
            }

            #pa-modal-box {
                background: #fff;
                border-radius: 20px;
                padding: 36px 32px 32px;
                width: 100%;
                max-width: 420px;
                box-shadow: 0 24px 60px rgba(22, 22, 29, .18);
                position: relative;
                animation: pqSlideIn .22s ease;
            }

            #pa-modal-close {
                position: absolute;
                top: 16px;
                right: 16px;
                width: 32px;
                height: 32px;
                border: none;
                background: var(--rv-surface-2);
                border-radius: 8px;
                cursor: pointer;
                display: grid;
                place-items: center;
                color: var(--rv-muted);
                transition: background .15s;
            }

            #pa-modal-close:hover {
                background: var(--rv-border);
            }

            #pa-modal-close svg {
                width: 15px;
                height: 15px;
            }

            .pa-modal-eyebrow {
                display: inline-flex;
                align-items: center;
                gap: 6px;
                background: var(--rv-surface-4);
                border: 1px solid var(--rv-primary-pale);
                color: var(--rv-primary);
                font-size: .68rem;
                font-weight: 700;
                letter-spacing: .1em;
                text-transform: uppercase;
                padding: 4px 12px;
                border-radius: 99px;
                margin-bottom: 14px;
            }

            #pa-modal-box h3 {
                font-size: 1.2rem;
                font-weight: 800;
                color: var(--rv-ink);
                margin: 0 0 4px;
                letter-spacing: -.02em;
            }

            .pa-sub {
                font-size: .84rem;
                color: var(--rv-muted);
                margin: 0 0 20px;
                line-height: 1.5;
            }

            .pa-tabs {
                display: flex;
                background: var(--rv-surface-2);
                border-radius: 10px;
                padding: 3px;
                gap: 3px;
                margin-bottom: 18px;
            }

            .pa-tab {
                flex: 1;
                background: transparent;
                border: none;
                padding: 9px 0;
                font-size: .82rem;
                font-weight: 700;
                color: var(--rv-muted);
                cursor: pointer;
                border-radius: 8px;
                font-family: inherit;
                transition: all .18s ease;
            }

            .pa-tab.is-active {
                background: #fff;
                color: var(--rv-primary);
                box-shadow: 0 1px 4px rgba(22, 22, 29, .12);
            }

            .pa-google-btn {
                display: flex;
                justify-content: center;
                min-height: 40px;
                margin-bottom: 16px;
            }

            .pa-or {
                display: flex;
                align-items: center;
                text-align: center;
                color: var(--rv-muted);
                font-size: .74rem;
                font-weight: 600;
                margin: 0 0 16px;
            }

            .pa-or::before,
            .pa-or::after {
                content: '';
                flex: 1;
                height: 1px;
                background: var(--rv-border);
            }

            .pa-or span {
                padding: 0 10px;
            }

            .pa-form {
                display: flex;
                flex-direction: column;
            }

            .pa-submit-btn {
                width: 100%;
                padding: 13px;
                background: linear-gradient(135deg, var(--rv-primary), var(--rv-primary));
                color: #fff;
                border: none;
                border-radius: 12px;
                font-size: .9rem;
                font-weight: 700;
                cursor: pointer;
                font-family: inherit;
                margin-top: 6px;
                transition: opacity .15s;
                display: flex;
                align-items: center;
                justify-content: center;
                gap: 8px;
            }

            .pa-submit-btn:disabled {
                opacity: .6;
                cursor: not-allowed;
            }

            .pa-submit-btn svg {
                width: 16px;
                height: 16px;
            }

            .pa-switch {
                text-align: center;
                font-size: .8rem;
                color: var(--rv-muted);
                margin: 16px 0 0;
            }

            .pa-switch a {
                color: var(--rv-primary);
                font-weight: 600;
                text-decoration: none;
            }

            .pa-switch a:hover {
                text-decoration: underline;
            }

            .pa-error {
                color: var(--rv-danger);
                font-size: .8rem;
                margin-bottom: 4px;
                display: none;
            }

            .pa-error.pa-visible {
                display: block;
                margin-bottom: 12px;
            }

            [data-theme="dark"] #pa-modal-box {
                background: var(--rv-surface);
                border: 1px solid var(--rv-border);
            }

            [data-theme="dark"] #pa-modal-close {
                background: var(--rv-surface-3);
                color: var(--rv-muted);
            }

            [data-theme="dark"] #pa-modal-close:hover {
                background: var(--rv-border);
            }

            [data-theme="dark"] #pa-modal-box h3 {
                color: var(--rv-ink);
            }

            [data-theme="dark"] .pa-sub,
            [data-theme="dark"] .pa-switch {
                color: var(--rv-muted);
            }

            [data-theme="dark"] .pa-tabs {
                background: var(--rv-surface-2);
            }

            [data-theme="dark"] .pa-tab {
                color: var(--rv-muted);
            }

            [data-theme="dark"] .pa-tab.is-active {
                background: var(--rv-surface-3);
                color: var(--rv-primary);
            }

            [data-theme="dark"] .pa-or::before,
            [data-theme="dark"] .pa-or::after {
                background: var(--rv-border);
            }

            /* form fields (shared look with the enquiry modal) */
            #pa-modal-box .pq-field {
                margin-bottom: 16px;
            }

            #pa-modal-box .pq-field label {
                display: block;
                font-size: .78rem;
                font-weight: 600;
                color: var(--rv-body);
                margin-bottom: 6px;
            }

            #pa-modal-box .pq-field label span {
                color: var(--rv-danger);
                margin-left: 2px;
            }

            #pa-modal-box .pq-field input,
            #pa-modal-box .pq-field textarea,
            #pa-modal-box .pq-field select {
                width: 100%;
                padding: 10px 14px;
                border: 1.5px solid var(--rv-border);
                border-radius: 10px;
                font-size: .875rem;
                color: var(--rv-ink);
                font-family: inherit;
                background: var(--rv-surface-2);
                transition: border-color .15s, box-shadow .15s;
                outline: none;
                box-sizing: border-box;
            }

            #pa-modal-box .pq-field input:focus,
            #pa-modal-box .pq-field textarea:focus,
            #pa-modal-box .pq-field select:focus {
                border-color: var(--rv-primary);
                box-shadow: 0 0 0 3px rgba(109, 92, 230, .1);
                background: #fff;
            }

            #pa-modal-box .pq-error {
                color: var(--rv-danger);
                font-size: .78rem;
                margin-top: 4px;
            }

            [data-theme="dark"] #pa-modal-box .pq-field label {
                color: var(--rv-body);
            }

            [data-theme="dark"] #pa-modal-box .pq-field input,
            [data-theme="dark"] #pa-modal-box .pq-field textarea,
            [data-theme="dark"] #pa-modal-box .pq-field select {
                background: var(--rv-surface-2);
                border-color: var(--rv-border);
                color: var(--rv-ink);
            }

            [data-theme="dark"] #pa-modal-box .pq-field input:focus,
            [data-theme="dark"] #pa-modal-box .pq-field textarea:focus,
            [data-theme="dark"] #pa-modal-box .pq-field select:focus {
                border-color: var(--rv-primary);
                box-shadow: 0 0 0 3px rgba(109, 92, 230, .12);
                background: var(--rv-surface-2);
            }

