/*!
 * Reckon Pricing Table 1.0.0
 * Everything is scoped under .rpt. Selectors are deliberately one step more
 * specific than Divi's .entry-content table/p/ul rules so the theme can't win.
 */

/* =========================================================================
   Tokens
   ========================================================================= */

.rpt {
    --rpt-navy: #0a004a;
    --rpt-purple: #5a3fff;
    --rpt-purple-dark: #3d27d6;
    --rpt-red: #ff5447;
    --rpt-red-dark: #e8473b;
    --rpt-grey: #f3f2f6;
    --rpt-grey-mid: #dad9e4;
    --rpt-line: #dfdee8;
    --rpt-row-alt: #f9f8fa;
    --rpt-muted: #727272;
    --rpt-lilac: #dddbfe;
    --rpt-lilac-soft: #eeebff;
    --rpt-pink: #ffeeed;
    --rpt-radius: 16px;
    --rpt-label-w: 282px;
    --rpt-sticky-h: 91px;
    --rpt-top: 0px;
    --rpt-font: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

    display: block;
    max-width: 1204px;
    margin: 0 auto;
    padding: 0 20px;
    font-family: var(--rpt-font);
    font-size: 16px;
    line-height: 1.5;
    color: var(--rpt-navy);
    scroll-margin-top: var(--rpt-top);
    -webkit-font-smoothing: antialiased;
}

.rpt .rpt-ssr-alt[hidden],
.rpt-ssr-details[hidden] { display: none !important; }

/* Column count before the script runs (and without inline styles, for CSP). */
.rpt .rpt-compare[data-cols="1"] { --rpt-cols: 1; }
.rpt .rpt-compare[data-cols="2"] { --rpt-cols: 2; }
.rpt .rpt-compare[data-cols="3"] { --rpt-cols: 3; }
.rpt .rpt-compare[data-cols="4"] { --rpt-cols: 4; }
.rpt .rpt-compare[data-cols="5"] { --rpt-cols: 5; }
.rpt .rpt-compare[data-cols="6"] { --rpt-cols: 6; }
.rpt .rpt-compare[data-cols="7"] { --rpt-cols: 7; }
.rpt .rpt-compare[data-cols="8"] { --rpt-cols: 8; }

/* =========================================================================
   Reset (beats Divi's h*, p, ul, a, table defaults)
   ========================================================================= */

.rpt *, .rpt *::before, .rpt *::after { box-sizing: border-box; }

.rpt :where(h2, h3, h4, p, ul, li, figure, caption) {
    margin: 0;
    padding: 0;
    font: inherit;
    color: inherit;
    letter-spacing: normal;
    line-height: inherit;
    text-transform: none;
}

.rpt :where(button) {
    margin: 0;
    font: inherit;
    color: inherit;
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
    text-transform: none;
    letter-spacing: normal;
    -webkit-appearance: none;
    appearance: none;
}

.rpt a { color: var(--rpt-purple); }
.rpt sup { font-size: .45em; vertical-align: 1em; line-height: 0; position: static; }
.rpt s { text-decoration: line-through; }

.rpt :focus-visible {
    outline: 3px solid var(--rpt-purple);
    outline-offset: 2px;
    border-radius: 4px;
}

.rpt .rpt-vh {
    position: absolute !important;
    width: 1px; height: 1px;
    margin: -1px; padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

/* Monthly / yearly content swap */
.rpt:not(.rpt--yearly) .rpt-y,
.rpt.rpt--yearly .rpt-m { display: none !important; }

/* =========================================================================
   Buttons
   ========================================================================= */

.rpt .rpt-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 8px 24px;
    border: 2px solid transparent;
    border-radius: 999px;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.2;
    letter-spacing: .02em;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}

.rpt .rpt-btn--select { color: #fff !important; background: var(--rpt-purple) !important; border-color: var(--rpt-purple) !important; width: 100%; }
.rpt .rpt-btn--select:hover,
.rpt .rpt-btn--select.is-selected { color: #fff !important; background: var(--rpt-purple-dark) !important; border-color: var(--rpt-purple-dark) !important; }
.rpt .rpt-btn--sm { min-height: 36px; padding: 6px 12px; font-size: 14px; }

.rpt .rpt-btn--primary { color: #fff; background: var(--rpt-purple); width: 100%; }
.rpt .rpt-btn--primary:hover { background: var(--rpt-purple-dark); }

.rpt .rpt-btn--ghost { color: var(--rpt-navy); background: #fff; border-color: var(--rpt-navy); width: 100%; }
.rpt .rpt-btn--ghost:hover { background: #f7f6ff; }

.rpt .rpt-btn--cta { color: #fff !important; background: var(--rpt-purple) !important; border-color: var(--rpt-purple) !important; min-width: 330px; }
.rpt .rpt-btn--cta:hover { color: #fff !important; background: var(--rpt-purple-dark) !important; border-color: var(--rpt-purple-dark) !important; }

/* =========================================================================
   Tabs
   ========================================================================= */

.rpt .rpt-tabs {
    display: flex;
    gap: 4px;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto;
    padding: 4px;
    background: #fff;
    border-radius: 999px;
}

.rpt .rpt-tab {
    padding: 8px 20px;
    border-radius: 999px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: -.5px;
    text-transform: uppercase;
    color: var(--rpt-muted);
    transition: background-color .2s ease, color .2s ease;
}

.rpt .rpt-tab[aria-selected="true"] { color: #fff; background: var(--rpt-purple); }
.rpt .rpt-tab:not([aria-selected="true"]):hover { color: var(--rpt-navy); }

/* =========================================================================
   Step header
   ========================================================================= */

.rpt .rpt-progress {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 32px 0;
    min-height: 40px;
}

.rpt .rpt-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 40px;
    padding: 0 16px;
    border: 1px solid var(--rpt-line);
    border-radius: 100px;
    color: var(--rpt-purple);
    font-weight: 600;
    background: #fff;
}
.rpt .rpt-back:hover { border-color: var(--rpt-purple); }
.rpt .rpt-back[hidden] { display: inline-flex; visibility: hidden; }

.rpt .rpt-progress__title {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    line-height: 1.3;
    white-space: nowrap;
}
.rpt .rpt-progress__title:focus { outline: none; }
.rpt .rpt-progress__count { font-weight: 400; }
.rpt .rpt-progress__dot { width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.rpt .rpt-progress__label { font-weight: 700; }
.rpt .rpt-progress__rule { flex: 1; height: 1px; background: var(--rpt-line); }
.rpt .rpt-progress__next { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.rpt .rpt-progress__next span { color: var(--rpt-muted); }

/* =========================================================================
   Plan header (table column heads and mobile cards)
   ========================================================================= */

.rpt .rpt-plan {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.rpt .rpt-plan__badge {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    border-radius: 12px 12px 0 0;
    background: var(--rpt-red);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
}
.rpt .rpt-plan:not(.has-badge) .rpt-plan__badge { visibility: hidden; }

.rpt .rpt-plan__title { padding: 16px 18px; background: var(--rpt-pink); }
.rpt .rpt-plan--payroll .rpt-plan__title { background: var(--rpt-lilac-soft); }

.rpt .rpt-plan__name {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 2.4em;
    font-size: 26px;
    font-weight: 800;
    line-height: 1.2;
}
.rpt .rpt-plan__desc { margin-top: 4px; }

.rpt .rpt-plan__body {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px 24px 24px;
    background: #fff;
}

.rpt .rpt-plan__prices { margin: 24px 0 16px; }
.rpt .rpt-plan__link { margin-top: 16px; font-size: 14px; font-weight: 600; text-decoration: none; }
.rpt .rpt-plan__link:hover { text-decoration: underline; }

.rpt .rpt-plan__note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 16px 16px !important;
    border-top: 1px solid var(--rpt-line);
    background: #fff;
    font-size: 14px;
    font-weight: 600;
}

.rpt .rpt-tag {
    padding: 4px 6px;
    border-radius: 4px;
    background: var(--rpt-lilac);
    color: var(--rpt-purple);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

/* Billing switch */
.rpt .rpt-billing {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
}
.rpt .rpt-billing__label { cursor: pointer; transition: color .2s ease; }
.rpt:not(.rpt--yearly) .rpt-billing__label--y,
.rpt.rpt--yearly .rpt-billing__label--m { color: var(--rpt-muted); }

.rpt .rpt-switch {
    position: relative;
    flex: none;
    width: 48px;
    height: 26px;
    border-radius: 999px;
    background: var(--rpt-purple);
}
.rpt .rpt-switch span {
    position: absolute;
    top: 4px; left: 4px;
    width: 18px; height: 18px;
    border-radius: 50%;
    background: #fff;
    transition: transform .25s ease;
}
.rpt .rpt-switch[aria-checked="true"] span { transform: translateX(22px); }

.rpt .rpt-billing__badge {
    padding: 4px 8px;
    border-radius: 999px;
    background: var(--rpt-grey);
    color: var(--rpt-muted);
    font-weight: 700;
    text-transform: uppercase;
    transition: background-color .2s ease, color .2s ease;
}
.rpt.rpt--yearly .rpt-billing__badge { background: var(--rpt-red); color: #fff; }

/* Prices */
.rpt .rpt-was { font-size: 18px; line-height: 24px; }
.rpt .rpt-now { font-weight: 700; line-height: 1; white-space: nowrap; }
.rpt .rpt-now .rpt-amount { font-size: 60px; letter-spacing: -.02em; }
.rpt.rpt--yearly .rpt-plan .rpt-now .rpt-amount,
.rpt.rpt--yearly .rpt-upsell__chosen-body .rpt-now .rpt-amount { font-size: 48px; }
.rpt .rpt-now .rpt-per { font-size: 16px; font-weight: 600; }
.rpt .rpt-msg { margin-top: 12px; color: var(--rpt-red); font-weight: 600; }

/* =========================================================================
   Comparison table (desktop)
   ========================================================================= */

.rpt .rpt-compare { position: relative; }

.rpt .rpt-compare table.rpt-table {
    width: 100%;
    margin: 0;
    border: 0;
    border-collapse: separate;
    border-spacing: 0;
    table-layout: fixed;
    background: none;
    text-align: center;
}

.rpt .rpt-compare .rpt-table__labels { width: var(--rpt-label-w); }

.rpt .rpt-compare table.rpt-table th,
.rpt .rpt-compare table.rpt-table td {
    padding: 0;
    border: 0;
    color: var(--rpt-navy);
    font-weight: 400;
    vertical-align: middle;
    background: none;
}

/* Column heads. Every head fills its cell and the title band absorbs any
   difference in height, so toggles, prices and buttons line up across plans. */
.rpt .rpt-compare table.rpt-table thead th { height: 1px; vertical-align: top; }
.rpt .rpt-table thead .rpt-plan { height: 100%; }
.rpt .rpt-table thead .rpt-plan__title { flex: 1 1 auto; display: flex; flex-direction: column; justify-content: center; }
.rpt .rpt-table thead .rpt-plan__title,
.rpt .rpt-table thead .rpt-plan__body { border-left: 1px solid var(--rpt-line); }
.rpt .rpt-table thead th:last-child .rpt-plan__title,
.rpt .rpt-table thead th:last-child .rpt-plan__body { border-right: 1px solid var(--rpt-line); }
.rpt .rpt-table thead .rpt-plan:not(.has-badge) .rpt-plan__title { border-top: 1px solid var(--rpt-line); }
.rpt .rpt-table thead th:nth-child(2) .rpt-plan:not(.has-badge) .rpt-plan__title { border-top-left-radius: var(--rpt-radius); }
.rpt .rpt-table thead th:last-child .rpt-plan:not(.has-badge) .rpt-plan__title { border-top-right-radius: var(--rpt-radius); }
.rpt .rpt-table thead .rpt-plan__body { border-bottom: 1px solid var(--rpt-line); }
.rpt .rpt-table .rpt-plan__note { display: none; }

/* Badge column outline */
.rpt .rpt-table thead th.is-badge .rpt-plan__title,
.rpt .rpt-table thead th.is-badge .rpt-plan__body { border-left-color: var(--rpt-red); box-shadow: inset -1px 0 0 var(--rpt-red); }

/* Feature rows */
.rpt .rpt-compare table.rpt-table tbody tr > * { height: 56px; }
.rpt .rpt-compare table.rpt-table tbody tr:nth-child(odd) > * { background: #fff; }
.rpt .rpt-compare table.rpt-table tbody tr:nth-child(even) > * { background: var(--rpt-row-alt); }
.rpt .rpt-compare table.rpt-table tbody td { border-left: 1px solid var(--rpt-line); }
.rpt .rpt-compare table.rpt-table tbody td:last-child { border-right: 1px solid var(--rpt-line); }
.rpt .rpt-compare table.rpt-table tbody td.is-badge { border-left-color: var(--rpt-red); box-shadow: inset -1px 0 0 var(--rpt-red); }
.rpt .rpt-compare table.rpt-table tbody tr:last-child td { border-bottom: 1px solid var(--rpt-line); }
.rpt .rpt-compare table.rpt-table tbody tr:last-child td.is-badge { border-bottom-color: var(--rpt-red); }

.rpt .rpt-compare table.rpt-table tbody th {
    padding: 0 16px;
    border-left: 1px solid var(--rpt-line);
    text-align: left;
}
.rpt .rpt-compare table.rpt-table tbody tr:first-child th { border-top: 1px solid var(--rpt-line); border-top-left-radius: var(--rpt-radius); }
.rpt .rpt-compare table.rpt-table tbody tr:last-child th { border-bottom: 1px solid var(--rpt-line); border-bottom-left-radius: var(--rpt-radius); }

.rpt tr[data-row-feature] { cursor: pointer; }
.rpt tr[data-row-feature]:hover > * { background: var(--rpt-grey) !important; }

.rpt .rpt-feature {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-align: left;
    line-height: 1.3;
}
.rpt .rpt-feature .rpt-info { flex: none; color: var(--rpt-navy); opacity: .4; transition: opacity .15s ease; }
.rpt button.rpt-feature:hover .rpt-info { opacity: .8; }

.rpt .rpt-cell { display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.rpt .rpt-cell--yes .rpt-ico { color: var(--rpt-navy); }
.rpt .rpt-cell--no .rpt-ico { color: var(--rpt-red); }
.rpt .rpt-cell__text { font-size: 16px; line-height: 1.2; }

/* Pinned column heads. Hidden over the table until JS pins them (position: fixed). */
.rpt .rpt-sticky {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
    display: grid;
    grid-template-columns: var(--rpt-label-w) repeat(var(--rpt-cols), minmax(0, 1fr));
    height: var(--rpt-sticky-h);
    background: var(--rpt-grey);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .2s ease, visibility .2s;
}
.rpt .rpt-compare.is-pinned .rpt-sticky { opacity: 1; visibility: visible; pointer-events: auto; }

.rpt .rpt-sticky__corner {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0 24px 20px;
    border-bottom: 3px solid var(--rpt-navy);
    font-weight: 700;
    text-transform: uppercase;
}

.rpt .rpt-sticky__plan {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px 12px;
    min-width: 0;
    padding: 12px 20px;
    background: var(--rpt-pink);
    border-left: 1px solid var(--rpt-line);
    border-bottom: 3px solid var(--rpt-navy);
}
.rpt .rpt-sticky__plan:last-child { border-right: 1px solid var(--rpt-line); }
.rpt .rpt-sticky__plan--payroll { background: var(--rpt-lilac-soft); }
.rpt .rpt-sticky__plan.has-badge { border-left-color: var(--rpt-red); box-shadow: inset -1px 0 0 var(--rpt-red); }
.rpt .rpt-sticky__name { font-size: 20px; font-weight: 800; line-height: 1.3; letter-spacing: -.5px; text-align: left; }
.rpt .rpt-sticky .rpt-btn { width: 140px; flex: none; }

/* Mobile-only parts */
.rpt .rpt-mobile { display: none; }

/* =========================================================================
   Payroll upsell
   ========================================================================= */

.rpt .rpt-upsell {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 828px;
    margin: 0 auto;
}

.rpt .rpt-upsell__card {
    overflow: hidden;
    border: 1px solid var(--rpt-line);
    border-radius: var(--rpt-radius);
    background: #fff;
    box-shadow: 0 8px 24px rgba(10, 0, 74, .08);
}

.rpt .rpt-upsell__card--chosen { order: -1; align-self: center; text-align: center; }
.rpt .rpt-upsell__chosen-head { padding: 16px 20px; background: var(--rpt-pink); }
.rpt .rpt-upsell__chosen-name { font-size: 28px; font-weight: 800; line-height: 1.2; }
.rpt .rpt-upsell__chosen-body { padding: 24px 16px; }

.rpt .rpt-upsell__card--offer { background: var(--rpt-lilac); border-color: #e1dcff; }
.rpt .rpt-upsell__head {
    display: flex;
    align-items: flex-end;
    gap: 16px;
    padding: 16px 24px 0;
    text-align: left;
}
/* Small phone on the left, peeking up from the white body like the original. */
.rpt .rpt-upsell__media {
    flex: 0 0 104px;
    max-height: 120px;
    overflow: hidden;
    align-self: flex-end;
}
.rpt .rpt-upsell__media img {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    filter: drop-shadow(0 8px 18px rgba(10, 0, 74, .15));
}
.rpt .rpt-upsell__title { flex: 1; align-self: center; padding: 0 0 16px; font-size: 28px; font-weight: 800; line-height: 1.2; }
.rpt .rpt-upsell__head:not(:has(.rpt-upsell__media)) { justify-content: center; text-align: center; }
.rpt .rpt-upsell__body { padding: 24px; border-radius: 15px; background: #fff; text-align: center; }

.rpt .rpt-upsell__from {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin-top: 16px;
    padding: 12px 8px;
    border-radius: 8px;
    background: var(--rpt-grey);
}
.rpt .rpt-upsell__from > span { font-weight: 700; text-transform: uppercase; }
.rpt .rpt-upsell__from .rpt-amount { font-size: 40px; }

.rpt .rpt-upsell__actions { display: grid; gap: 10px; margin-top: 16px; }

/* =========================================================================
   Review
   ========================================================================= */

.rpt .rpt-review { max-width: 792px; margin: 0 auto; }

.rpt .rpt-review__bar {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: center;
    gap: 32px;
    padding: 16px;
    border: 1px solid var(--rpt-line);
    border-bottom: 0;
    border-radius: var(--rpt-radius) var(--rpt-radius) 0 0;
    background: rgba(223, 222, 232, .5);
    color: var(--rpt-purple);
    font-weight: 700;
}
.rpt .rpt-review__bar .rpt-billing { color: var(--rpt-navy); }

.rpt .rpt-review__list { list-style: none; margin: 0; padding: 0; }

.rpt .rpt-review .rpt-review__row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px 24px;
    margin: 0;
    padding: 24px;
    border-left: 1px solid var(--rpt-line);
    border-right: 1px solid var(--rpt-line);
    background: #fff;
    list-style: none;
}
.rpt .rpt-review .rpt-review__row + .rpt-review__row { border-top: 2px solid var(--rpt-line); }
.rpt .rpt-review .rpt-review__row::before { content: none; }

.rpt .rpt-review__name {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -.24px;
}
.rpt .rpt-edit {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--rpt-purple);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: normal;
}
.rpt .rpt-edit:hover span { text-decoration: underline; }
.rpt .rpt-review__desc { margin-top: 4px; color: var(--rpt-muted); }

.rpt .rpt-inclusions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    margin-top: 8px;
    font-size: 14px;
    font-weight: 600;
}
.rpt .rpt-inclusions:hover { color: var(--rpt-purple); }

.rpt .rpt-review__price { text-align: right; }
.rpt .rpt-review__price .rpt-amount { font-size: 28px; }
.rpt .rpt-review__price .rpt-was { margin-top: 4px; }
.rpt .rpt-review__price .rpt-msg { margin-top: 4px; }

.rpt .rpt-review__total {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 24px;
    border-radius: 0 0 var(--rpt-radius) var(--rpt-radius);
    background: var(--rpt-grey-mid);
}
.rpt .rpt-review__total-label { font-size: 20px; font-weight: 800; line-height: 1.3; }
.rpt .rpt-review__total-price { text-align: right; }
.rpt .rpt-review__total-price .rpt-now { font-weight: 800; }
.rpt .rpt-review__total-price .rpt-now .rpt-amount { font-size: 48px; }
.rpt .rpt-review__total-price .rpt-now .rpt-per { font-size: 20px; }
.rpt .rpt-review__total-price .rpt-msg strong { font-size: 18px; font-weight: 800; }

.rpt .rpt-review__cta { display: flex; justify-content: center; margin-top: 32px; }

/* =========================================================================
   Dialogs (feature popup + inclusions drawer). Native <dialog>, top layer.
   ========================================================================= */

html:has(.rpt-dialog[open]) { overflow: hidden; }

.rpt-dialog {
    font-family: var(--rpt-font, "Open Sans", system-ui, sans-serif);
    color: #0a004a;
    padding: 0;
    border: 0;
    background: #fff;
    max-width: none;
    max-height: none;
    overflow: auto;
    overscroll-behavior: contain;
}
.rpt-dialog::backdrop { background: rgba(10, 0, 74, .6); }
.rpt-dialog *, .rpt-dialog *::before, .rpt-dialog *::after { box-sizing: border-box; }
.rpt-dialog :where(h2, p, ul, li) { margin: 0; padding: 0; font: inherit; color: inherit; letter-spacing: normal; text-transform: none; }

.rpt-dialog .rpt-dialog__panel { position: relative; }

.rpt-dialog .rpt-dialog__close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #0a004a;
    cursor: pointer;
}
.rpt-dialog .rpt-dialog__close:hover { background: #f3f2f6; }
.rpt-dialog :focus-visible { outline: 3px solid #5a3fff; outline-offset: 2px; }

.rpt-dialog .rpt-dialog__title { font-size: 24px; font-weight: 700; line-height: 1.15; letter-spacing: -.15px; }

/* Feature popup */
.rpt-dialog--feature {
    width: min(640px, calc(100% - 32px));
    margin: auto;
    border-radius: 16px;
}
.rpt-dialog--feature.has-media { width: min(916px, calc(100% - 32px)); }
.rpt-dialog--feature .rpt-dialog__panel { display: grid; grid-template-columns: 1fr; min-height: 280px; }
.rpt-dialog--feature.has-media .rpt-dialog__panel { grid-template-columns: 426px 1fr; min-height: 431px; }
.rpt-dialog--feature.has-media .rpt-dialog__media { order: -1; }
.rpt-dialog--feature .rpt-dialog__text { align-self: center; padding: 48px; }
.rpt-dialog--feature .rpt-dialog__title { margin: 12px 0 16px; }
.rpt-dialog--feature .rpt-dialog__media { display: none; }
.rpt-dialog--feature.has-media .rpt-dialog__media {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: #ff5447;
}
.rpt-dialog--feature .rpt-dialog__media img { display: block; max-width: 100%; height: auto; }

.rpt-dialog .rpt-chip {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 62px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
}
.rpt-dialog .rpt-chip--accounting { color: #ff5447; background: rgba(255, 238, 237, .85); }
.rpt-dialog .rpt-chip--payroll { color: #0a004a; background: #dddbfe; }

.rpt-dialog .rpt-dialog__content { font-size: 16px; line-height: 1.5; }
.rpt-dialog .rpt-dialog__content p + p,
.rpt-dialog .rpt-dialog__content p + ul,
.rpt-dialog .rpt-dialog__content ul + p { margin-top: 12px; }
.rpt-dialog .rpt-dialog__content ul { list-style: none; padding: 0; }
.rpt-dialog .rpt-dialog__content li { position: relative; padding-left: 18px; margin: 0 0 8px; list-style: none; }
.rpt-dialog .rpt-dialog__content li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: .65em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ff5447;
}
.rpt-dialog .rpt-dialog__content a { color: #5a3fff; }

/* Inclusions drawer */
.rpt-dialog--drawer {
    width: 401px;
    height: 100%;
    max-height: 100%;
    margin: 0 0 0 auto;
    box-shadow: 0 -10px 20px rgba(14, 14, 44, .1);
}
.rpt-dialog--drawer .rpt-dialog__panel { padding: 56px 40px 40px; }
.rpt-dialog--drawer .rpt-dialog__title { margin-bottom: 24px; font-size: 32px; font-weight: 800; line-height: 1.2; }
.rpt-dialog .rpt-drawer__list { display: flex; flex-direction: column; gap: 12px; list-style: none; padding: 0; }
.rpt-dialog .rpt-drawer__item { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; line-height: 1.4; list-style: none; }
.rpt-dialog .rpt-drawer__item .rpt-ico { flex: none; width: 20px; height: 20px; color: #5a3fff; }
.rpt-dialog .rpt-drawer__item.is-crossed { color: #727272; }
.rpt-dialog .rpt-drawer__item.is-crossed .rpt-ico { color: #ff5447; }
.rpt-dialog .rpt-drawer__item.is-text .rpt-ico { color: #727272; }
.rpt-dialog .rpt-vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (prefers-reduced-motion: no-preference) {
    .rpt-dialog--feature[open] { animation: rpt-pop .2s ease-out; }
    .rpt-dialog--drawer[open] { animation: rpt-slide-x .25s ease-out; }
    .rpt-dialog[open]::backdrop { animation: rpt-fade .2s ease-out; }
}
@keyframes rpt-pop { from { opacity: 0; transform: translateY(12px) scale(.98); } }
@keyframes rpt-slide-x { from { transform: translateX(100%); } }
@keyframes rpt-slide-y { from { transform: translateY(100%); } }
@keyframes rpt-fade { from { opacity: 0; } }

/* =========================================================================
   Narrow desktop
   ========================================================================= */

@media (min-width: 980px) and (max-width: 1149px) {
    .rpt { --rpt-label-w: 220px; --rpt-sticky-h: 112px; }
    .rpt .rpt-sticky__plan { flex-wrap: wrap; justify-content: center; text-align: center; }
    .rpt .rpt-sticky__name { text-align: center; }
    .rpt .rpt-plan__name { font-size: 22px; }
    .rpt .rpt-plan .rpt-now .rpt-amount { font-size: 48px; }
    .rpt.rpt--yearly .rpt-plan .rpt-now .rpt-amount { font-size: 38px; }
    .rpt .rpt-plan__body { padding: 20px 16px; }
    .rpt .rpt-plan__link { font-size: 13px; }
}

/* =========================================================================
   Tablet and mobile
   ========================================================================= */

@media (max-width: 979px) {
    .rpt { padding: 0 16px; }


    .rpt .rpt-progress { gap: 8px; margin: 32px 0; flex-wrap: wrap; }
    .rpt .rpt-back[hidden] { display: none; }
    .rpt .rpt-progress__title { font-size: 18px; }
    .rpt .rpt-progress__next { display: none; }

    /* Swipeable plan cards */
    .rpt .rpt-mobile { display: block; margin: 0 -16px; }
    .rpt .rpt-swipe {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 9px;
        margin-bottom: 16px;
        color: var(--rpt-navy);
        font-weight: 600;
    }
    .rpt .rpt-swipe svg { color: var(--rpt-purple); }

    .rpt .rpt-cards {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: 95%;
        align-items: end;
        gap: 12px;
        padding: 4px 2.5% 8px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-padding: 0 2.5%;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }
    .rpt .rpt-cards::-webkit-scrollbar { display: none; }
    /* Forced so theme rules can't stop the cards scrolling sideways. */
    .rpt .rpt-cards {
        overflow-x: auto !important;
        overflow-y: hidden !important;
        touch-action: pan-x pan-y !important;
        overscroll-behavior-x: contain;
        cursor: grab;
        user-select: none;
        -webkit-user-select: none;
    }
    .rpt .rpt-cards.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
    .rpt .rpt-cards img { -webkit-user-drag: none; }

    .rpt .rpt-dots { display: flex; justify-content: center; gap: 8px; margin-top: 12px; }
    .rpt .rpt-dot {
        width: 10px !important;
        height: 10px !important;
        min-height: 0 !important;
        padding: 0 !important;
        border-radius: 50% !important;
        background: var(--rpt-line) !important;
        transition: background-color .2s ease, width .2s ease;
    }
    .rpt .rpt-dot.is-active { width: 24px !important; border-radius: 999px !important; background: var(--rpt-purple) !important; }
    .rpt .rpt-cards:focus-visible { outline-offset: -3px; }
    .rpt .rpt-card { scroll-snap-align: center; }

    .rpt .rpt-card .rpt-plan {
        overflow: hidden;
        border: 1px solid var(--rpt-line);
        border-radius: var(--rpt-radius);
        background: #fff;
    }
    .rpt .rpt-card .rpt-plan.has-badge { border-color: var(--rpt-red); }
    .rpt .rpt-card .rpt-plan__badge { border-radius: 0; }
    .rpt .rpt-card .rpt-plan:not(.has-badge) .rpt-plan__badge { display: none; }
    .rpt .rpt-card .rpt-plan__name { font-size: 24px; min-height: 0; }

    .rpt .rpt-compare__title {
        margin: 40px 16px 24px;
        font-size: 28px;
        font-weight: 800;
        line-height: 1.2;
        text-align: center;
    }

    /* Table restacks: label row spans all plans, ticks sit underneath. */
    .rpt .rpt-compare { margin: 0 -16px; }
    .rpt .rpt-compare table.rpt-table,
    .rpt .rpt-compare table.rpt-table tbody { display: block; width: 100%; }
    .rpt .rpt-compare table.rpt-table colgroup,
    .rpt .rpt-compare table.rpt-table thead { display: none; }

    .rpt .rpt-compare table.rpt-table tbody tr {
        display: grid;
        grid-template-columns: repeat(var(--rpt-cols), minmax(0, 1fr));
    }
    .rpt .rpt-compare table.rpt-table tbody tr > * { height: auto; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; }
    .rpt .rpt-compare table.rpt-table tbody th {
        grid-column: 1 / -1;
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 44px;
        padding: 10px 16px 0;
        text-align: center;
    }
    .rpt .rpt-compare table.rpt-table tbody th .rpt-feature { font-weight: 600; justify-content: center; text-align: center; }
    .rpt .rpt-compare table.rpt-table tbody td {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 54px;
        padding: 6px 8px 10px;
    }
    .rpt .rpt-cell { flex-direction: column; gap: 2px; }
    .rpt .rpt-cell__text { font-size: 14px; }

    /* The pinned heads become the visible column heads. */
    .rpt .rpt-sticky {
        position: relative;
        grid-template-columns: repeat(var(--rpt-cols), minmax(0, 1fr));
        height: auto;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transition: none;
    }
    .rpt .rpt-sticky__corner { display: none; }
    .rpt .rpt-sticky__plan {
        flex-direction: column;
        justify-content: space-between;
        gap: 8px;
        padding: 16px 8px;
        border-left: 0 !important;
        border-right: 0 !important;
        box-shadow: none !important;
    }
    .rpt .rpt-sticky__name {
        display: flex;
        align-items: center;
        min-height: 2.6em;
        font-size: 16px;
        line-height: 1.3;
        text-align: center;
    }
    .rpt .rpt-sticky .rpt-btn { width: 100%; padding: 6px 4px; }

    /* Upsell */
    .rpt .rpt-upsell { grid-template-columns: 1fr; gap: 16px; }
    .rpt .rpt-upsell__card--chosen { order: 0; }

    /* Review */
    .rpt .rpt-review__bar { flex-direction: column; gap: 8px; text-align: center; }
    .rpt .rpt-review .rpt-review__row { grid-template-columns: 1fr; padding: 20px; }
    .rpt .rpt-review__name { justify-content: space-between; font-size: 22px; }
    .rpt .rpt-review__price { text-align: left; }
    .rpt .rpt-review__total { flex-direction: column; padding: 20px; }
    .rpt .rpt-review__total-price { text-align: left; }
    .rpt .rpt-review__cta .rpt-btn { width: 100%; min-width: 0; }

    /* Dialogs become bottom sheets */
    .rpt-dialog--feature,
    .rpt-dialog--feature.has-media,
    .rpt-dialog--drawer {
        width: 100%;
        height: fit-content;
        max-height: 90vh;
        max-height: 90dvh;
        margin: auto 0 0;
        border-radius: 16px 16px 0 0;
    }
    .rpt-dialog--feature .rpt-dialog__panel,
    .rpt-dialog--feature.has-media .rpt-dialog__panel { grid-template-columns: 1fr; min-height: 0; }
    .rpt-dialog--feature .rpt-dialog__media { order: -1; max-height: 40vh; }
    .rpt-dialog--feature .rpt-dialog__media img { max-height: calc(40vh - 48px); width: auto; }
    .rpt-dialog--feature .rpt-dialog__text { padding: 32px 24px; }
    .rpt-dialog--feature .rpt-dialog__title { font-size: 20px; }
    .rpt-dialog--feature.has-media .rpt-dialog__close { background: #fff; }
    .rpt-dialog--drawer .rpt-dialog__panel { padding: 32px 24px; }
    .rpt-dialog--drawer .rpt-dialog__title { font-size: 28px; padding-right: 40px; }

    @media (prefers-reduced-motion: no-preference) {
        .rpt-dialog--feature[open],
        .rpt-dialog--drawer[open] { animation: rpt-slide-y .25s ease-out; }
    }
}

@media (min-width: 600px) and (max-width: 979px) {
    .rpt .rpt-cards { grid-auto-columns: calc(50% - 6px); padding: 4px 24px 8px; scroll-padding: 0 24px; }
    .rpt .rpt-card { scroll-snap-align: start; }
}

@media (max-width: 500px) {
    .rpt .rpt-plan .rpt-now .rpt-amount { font-size: 52px; }
    .rpt.rpt--yearly .rpt-plan .rpt-now .rpt-amount { font-size: 44px; }
    .rpt .rpt-review__total-price .rpt-now .rpt-amount { font-size: 40px; }
}

/* =========================================================================
   Headings locked against theme h3/h4 rules
   ========================================================================= */

.rpt .rpt-plan__name,
.rpt .rpt-sticky__name,
.rpt .rpt-upsell__title,
.rpt .rpt-upsell__chosen-name,
.rpt .rpt-compare__title {
    font-family: var(--rpt-font) !important;
    font-weight: 800 !important;
    color: var(--rpt-navy) !important;
    text-transform: none !important;
    padding-bottom: 0 !important;
}
.rpt .rpt-review__name { font-family: var(--rpt-font) !important; font-weight: 700 !important; color: var(--rpt-navy) !important; padding-bottom: 0 !important; }

.rpt .rpt-plan__name { font-size: 26px !important; line-height: 1.2 !important; }
.rpt .rpt-sticky__name { font-size: 20px !important; line-height: 1.3 !important; }
.rpt .rpt-upsell__title,
.rpt .rpt-upsell__chosen-name,
.rpt .rpt-compare__title { font-size: 28px !important; line-height: 1.2 !important; }
.rpt .rpt-review__name { font-size: 24px !important; line-height: 1.3 !important; }

@media (min-width: 980px) and (max-width: 1149px) {
    .rpt .rpt-plan__name { font-size: 22px !important; }
}
@media (max-width: 979px) {
    .rpt .rpt-card .rpt-plan__name { font-size: 24px !important; }
    .rpt .rpt-sticky__name { font-size: 16px !important; }
    .rpt .rpt-review__name { font-size: 22px !important; }
}

/* Feature labels: 15px on desktop */
@media (min-width: 980px) {
    .rpt .rpt-compare table.rpt-table tbody th,
    .rpt .rpt-compare table.rpt-table tbody th .rpt-feature { font-size: 15px !important; }
}

/* Accounting / payroll switch: sized to match the original 340 x 43 pill.
   Equal-width halves, 18px labels, same size on every screen. */
.rpt .rpt-tabs {
    display: grid !important;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    gap: 0 !important;
    min-width: 340px;
    max-width: 100%;
    min-height: 43px;
    padding: 4px !important;
    border-radius: 30px !important;
}
.rpt .rpt-tab {
    min-height: 35px;
    padding: 0 22px !important;
    border-radius: 30px !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    letter-spacing: -.5px !important;
    white-space: nowrap;
}
@media (max-width: 380px) {
    .rpt .rpt-tabs { min-width: 0; width: 100%; }
    .rpt .rpt-tab { padding: 0 12px !important; font-size: 16px !important; }
}
