:root {
    --primary-blue: #1d89fd;
    --text-dark: #323338;
    --text-gray: #676879;
    --bg-gray: #F6F7FB;
    --border-gray: #D0D4E4;
    --card-white: #FFFFFF;
}

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

.go-pro-body {
    background: #f8f9fc;
    font-family: var(--main-font);
}

/* --gp-main follows the site's primary colour set in admin */
.go-pro-wrapper,
.gp-checkout {
    --gp-main: var(--main-color, #1d89fd);
    --gp-main-dark: color-mix(in srgb, var(--gp-main) 72%, #0b1530);
    --gp-main-soft: color-mix(in srgb, var(--gp-main) 9%, #fff);
    --gp-ink: #111827;
    --gp-muted: #667085;
    --gp-line: #e4e7ee;
}

.go-pro-wrapper {
    position: relative;
    z-index: 0;
    padding: 12px 16px 64px;
}

/* A single faint wash of the primary colour; fixed so it spans the viewport whatever wraps the page */
.go-pro-wrapper::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 380px;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(180deg, var(--gp-main-soft) 0%, rgba(255, 255, 255, 0) 100%);
}

.go-pro-container {
    max-width: 1200px;
    margin: 0 auto;
}

.go-pro-wrapper[data-cycle="month"] [data-cycle-show="year"],
.go-pro-wrapper[data-cycle="year"] [data-cycle-show="month"] {
    display: none;
}

/* Header: headline on the left, billing switch on the right */
.gp-header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px 32px;
    margin-bottom: 16px;
}

.gp-title {
    font-size: 30px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--gp-ink);
    margin: 0 0 4px;
}

.gp-title span {
    color: var(--gp-main);
}

.gp-subtitle {
    font-size: 15px;
    line-height: 1.5;
    margin: 0;
    color: var(--gp-muted);
}

.gp-cycle {
    display: inline-flex;
    gap: 2px;
    padding: 4px;
    background: #fff;
    border: 1px solid var(--gp-line);
    border-radius: 999px;
}

.gp-cycle button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--gp-muted);
    background: transparent;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

.gp-cycle button:hover {
    color: var(--gp-ink);
}

.gp-cycle button.active {
    color: #fff;
    background: var(--gp-main);
}

.gp-cycle-save {
    padding: 1px 7px;
    font-size: 11px;
    font-weight: 700;
    color: #067a46;
    background: #d9f7e8;
    border-radius: 999px;
    white-space: nowrap;
}

/* Toolbar: underlined group tabs on the left, link to the comparison table on the right */
.gp-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 0 24px;
    margin-bottom: 14px;
    border-bottom: 1px solid var(--gp-line);
}

.gp-groups {
    display: flex;
    gap: 26px;
}

.gp-groups button {
    position: relative;
    padding: 0 0 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--gp-muted);
    background: transparent;
    border: 0;
    cursor: pointer;
    transition: color 0.15s;
}

.gp-groups button:hover {
    color: var(--gp-ink);
}

.gp-groups button.active {
    color: var(--gp-main);
}

.gp-groups button.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 2px;
    background: var(--gp-main);
}

.gp-compare-jump {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
    padding-bottom: 10px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--gp-main);
}

.gp-compare-jump:hover {
    color: var(--gp-main-dark);
    text-decoration: none;
}

.go-pro-wrapper .gp-group-hidden {
    display: none;
}

.gp-compare-jump svg {
    width: 14px;
    height: 14px;
}

/* The plans sit on a faint grid panel so the block reads as one stage even with only a couple of cards */
.gp-plans-wrap {
    position: relative;
    border: 1px solid var(--gp-line);
    border-radius: 20px;
    background:
        radial-gradient(ellipse 75% 85% at 50% 45%, rgba(255, 255, 255, 0) 45%, #fff 100%),
        linear-gradient(color-mix(in srgb, var(--gp-main) 18%, transparent) 1px, transparent 1px) 0 0 / 28px 28px,
        linear-gradient(90deg, color-mix(in srgb, var(--gp-main) 18%, transparent) 1px, transparent 1px) 0 0 / 28px 28px,
        color-mix(in srgb, var(--gp-main) 3%, #fff);
}

/* Round arrows over the card row, shown only on the side that has more plans */

.gp-nav {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: none;
    align-items: center;
    justify-content: center;
    width: 42px;
    min-width: 0;
    height: 42px;
    padding: 0;
    border-radius: 50%;
    color: var(--gp-main);
    background: #fff;
    border: 1px solid var(--gp-line);
    box-shadow: 0 6px 18px rgba(16, 24, 40, 0.18);
    transform: translateY(-50%);
}

.gp-nav.gp-nav-on {
    display: flex;
}

.gp-nav-prev {
    left: 8px;
}

.gp-nav-next {
    right: 8px;
}

/* Cards sit on one row and scroll sideways; the padding keeps badges and shadows unclipped */
.gp-plans {
    display: flex;
    justify-content: safe center;
    gap: 16px;
    align-items: stretch;
    overflow-x: auto;
    padding: 26px 16px 22px;
    scroll-padding: 0 16px;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
    scrollbar-color: #c9d0e0 transparent;
}

.gp-card {
    position: relative;
    display: flex;
    flex: 0 0 268px;
    scroll-snap-align: start;
    flex-direction: column;
    padding: 22px 20px 18px;
    background: #fff;
    border: 1px solid var(--gp-line);
    border-radius: 16px;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
    transition: box-shadow 0.2s, border-color 0.2s;
}

.gp-card:hover {
    border-color: color-mix(in srgb, var(--gp-main) 45%, #fff);
    box-shadow: 0 10px 24px -14px color-mix(in srgb, var(--gp-main) 55%, transparent);
}

.gp-card-featured,
.gp-card-featured:hover {
    color: #fff;
    background: linear-gradient(160deg, var(--gp-main) 0%, var(--gp-main-dark) 100%);
    border-color: transparent;
    box-shadow: 0 14px 30px -16px color-mix(in srgb, var(--gp-main) 80%, transparent);
}

.gp-badge {
    position: absolute;
    top: -11px;
    left: 20px;
    padding: 3px 10px;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--gp-main);
    background: #fff;
    border: 1px solid color-mix(in srgb, var(--gp-main) 35%, #fff);
    border-radius: 999px;
}

.gp-badge-current {
    color: #067a46;
    border-color: #b6ecd0;
}

.gp-plan-name {
    font-size: 17px;
    font-weight: 700;
    color: var(--gp-ink);
    margin-bottom: 2px;
}

.gp-plan-description {
    min-height: 38px;
    font-size: 13px;
    line-height: 1.45;
    color: var(--gp-muted);
    margin-bottom: 12px;
}

.gp-price-row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 5px;
}

.gp-price {
    font-size: 34px;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: var(--gp-ink);
}

.gp-price-per {
    font-size: 13px;
    font-weight: 500;
    color: var(--gp-muted);
}

.gp-price-strike {
    font-size: 14px;
    color: #98a2b3;
    text-decoration: line-through;
}

.gp-save-chip {
    margin-left: 4px;
    padding: 1px 7px;
    font-size: 11px;
    font-weight: 700;
    color: #067a46;
    background: #d9f7e8;
    border-radius: 999px;
}

.gp-billed {
    margin-top: 3px;
    font-size: 12.5px;
    color: var(--gp-muted);
}

.gp-cta {
    width: 100%;
    margin-top: 14px;
}

.gp-trial-note {
    margin-top: 6px;
    font-size: 12px;
    text-align: center;
    color: var(--gp-muted);
}

.gp-trial-note:empty {
    display: none;
}

.gp-highlights {
    flex: 1;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--gp-line);
}

.gp-highlights-lead {
    margin-bottom: 10px;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--gp-ink);
}

.gp-highlight {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 7px;
    font-size: 13.5px;
    line-height: 1.4;
    color: #344054;
}

.gp-check {
    flex-shrink: 0;
    width: 15px;
    height: 15px;
    margin-top: 2px;
    color: var(--gp-main);
}

.gp-highlights-more {
    display: inline-block;
    margin-top: 2px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--gp-main);
}

.gp-card-featured .gp-plan-name,
.gp-card-featured .gp-price,
.gp-card-featured .gp-highlights-lead,
.gp-card-featured .gp-highlight,
.gp-card-featured .gp-check,
.gp-card-featured .gp-highlights-more {
    color: #fff;
}

.gp-card-featured .gp-plan-description,
.gp-card-featured .gp-price-per,
.gp-card-featured .gp-billed,
.gp-card-featured .gp-trial-note {
    color: rgba(255, 255, 255, 0.78);
}

.gp-card-featured .gp-price-strike {
    color: rgba(255, 255, 255, 0.55);
}

.gp-card-featured .gp-highlights {
    border-top-color: rgba(255, 255, 255, 0.22);
}

.gp-card-featured .gp-highlights-more {
    text-decoration: underline;
}

/* The filled card needs a light button to stand out; colours only, shape comes from .btn */
.gp-card-featured .gp-cta.btn-main {
    color: var(--gp-main);
    background: #fff;
    border-color: #fff;
}

/* Reassurance strip under the headline */
.gp-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 20px;
    margin-top: 8px;
    font-size: 13px;
    color: var(--gp-muted);
}

.gp-trust span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.gp-trust svg {
    width: 15px;
    height: 15px;
    color: var(--gp-main);
}

/* Full comparison table */
.gp-compare {
    margin-top: 28px;
    scroll-margin-top: 76px;
}

.gp-compare-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.gp-compare-title {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--gp-ink);
}

.gp-diff-toggle {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 0;
    font-size: 13px;
    font-weight: 500;
    color: var(--gp-muted);
    cursor: pointer;
}

.gp-diff-toggle input {
    margin: 0;
    accent-color: var(--gp-main);
}

.gp-table-scroll {
    overflow-x: auto;
    background: #fff;
    border: 1px solid var(--gp-line);
    border-radius: 16px;
}

.gp-table {
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
}

.gp-table th,
.gp-table td {
    padding: 9px 14px;
    font-size: 13.5px;
    text-align: center;
    color: #344054;
    border-bottom: 1px solid #f0f2f6;
}

.gp-table thead th {
    padding-top: 12px;
    padding-bottom: 12px;
    background: #fafbfd;
    border-bottom: 1px solid var(--gp-line);
}

.gp-table tbody tr:last-child th,
.gp-table tbody tr:last-child td {
    border-bottom: 0;
}

.gp-table th:first-child {
    position: sticky;
    left: 0;
    z-index: 1;
    min-width: 190px;
    text-align: left;
    font-weight: 400;
    background: #fff;
}

.gp-table thead th:first-child {
    background: #fafbfd;
}

.gp-table tbody tr:hover th,
.gp-table tbody tr:hover td {
    background: #fafbfd;
}

.gp-table .gp-col-featured,
.gp-table tbody tr:hover .gp-col-featured {
    background: var(--gp-main-soft);
}

.gp-th-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--gp-ink);
}

.gp-th-price {
    margin-top: 1px;
    font-size: 12.5px;
    font-weight: 500;
    color: var(--gp-muted);
}

.gp-feature-name {
    font-weight: 600;
    color: var(--gp-ink);
}

.gp-feature-desc {
    font-size: 12px;
    color: #8792a8;
}

.gp-table td {
    font-weight: 600;
}

.gp-table td .gp-check {
    width: 17px;
    height: 17px;
    margin: 0;
    vertical-align: middle;
}

.gp-none {
    color: #c7ccd8;
    font-weight: 400;
}

.gp-compare.gp-collapsed .gp-row-extra,
.gp-compare.gp-diff-only tr[data-same="1"] {
    display: none;
}

.gp-show-all {
    display: none;
    margin: 12px auto 0;
}

.gp-compare.gp-collapsed .gp-show-all {
    display: block;
}

@media (max-width: 768px) {
    .go-pro-wrapper {
        padding: 8px 12px 56px;
    }

    .gp-title {
        font-size: 24px;
    }

    .gp-subtitle {
        font-size: 14px;
    }

    .gp-groups {
        gap: 18px;
    }

    .gp-cycle button {
        padding: 6px 12px;
    }

    .gp-plans {
        padding: 22px 10px 18px;
        scroll-padding: 0 10px;
    }

    .gp-card {
        flex-basis: 80%;
    }

    .gp-nav-prev {
        left: 4px;
    }

    .gp-nav-next {
        right: 4px;
    }

    .gp-plan-description {
        min-height: 0;
    }

    .gp-table th:first-child {
        min-width: 140px;
    }

    .gp-feature-desc {
        display: none;
    }
}

/* Checkout dialog: plan and billing cycle on the left, order summary on the right */
.gp-checkout {
    position: fixed;
    inset: 0;
    z-index: 9990;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(3px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.gp-checkout.gp-open {
    opacity: 1;
    visibility: visible;
}

.gp-checkout-open {
    overflow: hidden;
}

.gp-checkout-dialog {
    position: relative;
    display: flex;
    width: 100%;
    max-width: 880px;
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 24px 64px rgba(15, 23, 42, 0.28);
    transform: translateY(12px);
    transition: transform 0.2s ease;
}

.gp-checkout.gp-open .gp-checkout-dialog {
    transform: translateY(0);
}

.gp-checkout-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    min-width: 0;
    padding: 0;
    border-radius: 50%;
}

.gp-checkout-plan {
    flex: 1 1 54%;
    min-width: 0;
    padding: 36px 36px 32px;
}

.gp-checkout-eyebrow,
.gp-checkout-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gp-muted);
}

.gp-checkout-label {
    margin: 26px 0 10px;
}

.gp-checkout-name {
    margin: 6px 0 6px;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--gp-ink);
}

.gp-checkout-desc {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--gp-muted);
}

.gp-checkout-desc:empty {
    display: none;
}

.gp-co-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 12px;
}

.gp-co-option {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0;
    padding: 14px 16px;
    border: 1.5px solid var(--gp-line);
    border-radius: 14px;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.gp-co-option:hover {
    border-color: color-mix(in srgb, var(--gp-main) 45%, #fff);
}

.gp-co-option.active {
    border-color: var(--gp-main);
    background: var(--gp-main-soft);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--gp-main) 14%, transparent);
}

.gp-co-option input {
    position: absolute;
    top: 16px;
    right: 14px;
    margin: 0;
    accent-color: var(--gp-main);
}

.gp-co-option-name {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    padding-right: 24px;
    font-size: 14px;
    font-weight: 600;
    color: var(--gp-ink);
}

.gp-co-option-price {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--gp-ink);
}

.gp-co-option-price small {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0;
    color: var(--gp-muted);
}

.gp-co-option-billed {
    font-size: 12.5px;
    font-weight: 400;
    color: var(--gp-muted);
}

.gp-checkout-features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 16px;
}

.gp-checkout-features-lead {
    grid-column: 1 / -1;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--gp-ink);
}

.gp-checkout-feature {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13.5px;
    line-height: 1.4;
    color: var(--gp-ink);
}

.gp-checkout-summary {
    flex: 1 1 46%;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 36px 32px 28px;
    background: #f8f9fc;
    border-left: 1px solid var(--gp-line);
    border-radius: 0 20px 20px 0;
}

.gp-checkout-summary h4 {
    margin: 0 0 18px;
    font-size: 16px;
    font-weight: 700;
    color: var(--gp-ink);
}

.gp-co-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding: 9px 0;
    font-size: 14px;
    color: var(--gp-muted);
}

.gp-co-row strong {
    flex-shrink: 0;
    font-weight: 600;
    color: var(--gp-ink);
}

.gp-co-row.gp-co-total {
    margin-top: 10px;
    padding-top: 18px;
    border-top: 1px solid var(--gp-line);
    font-size: 15px;
    font-weight: 600;
    color: var(--gp-ink);
}

.gp-co-row.gp-co-total strong {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.gp-co-note {
    margin: 6px 0 22px;
    font-size: 13px;
    line-height: 1.5;
    color: var(--gp-muted);
}

.gp-checkout-summary #plan_proceed_to_payment {
    width: 100%;
    margin-top: auto;
}

.gp-co-method,
.gp-co-secure {
    margin: 12px 0 0;
    font-size: 12.5px;
    line-height: 1.5;
    text-align: center;
    color: var(--gp-muted);
}

.gp-co-secure {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 6px;
}

.gp-co-secure svg {
    width: 14px;
    height: 14px;
}

@media (max-width: 768px) {
    .gp-checkout {
        align-items: flex-end;
        padding: 0;
    }

    .gp-checkout-dialog {
        flex-direction: column;
        max-height: 92vh;
        border-radius: 20px 20px 0 0;
    }

    .gp-checkout-plan {
        flex: none;
        padding: 28px 20px 22px;
    }

    .gp-checkout-summary {
        flex: none;
        padding: 22px 20px 24px;
        border-left: none;
        border-top: 1px solid var(--gp-line);
        border-radius: 0;
    }

    .gp-checkout-features {
        grid-template-columns: 1fr;
    }
}

/*************  Manage Subscription Plan CSS **********/
/* Same blue as .btn-main so meters and checks match the buttons whatever the site colour is */
.ms-page {
    --gp-main: #4481eb;
    --ms-ok: var(--gp-main);
    --ms-warn: #dc6803;
    --ms-danger: #d92d20;
    --ms-soft-line: #eef0f4;
    color: var(--gp-ink);
}

.ms-page::before {
    display: none;
}

.ms-icon {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}

.ms-header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px 24px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--gp-line);
}

.ms-title {
    margin: 0 0 4px;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--gp-ink);
}

.ms-subtitle {
    margin: 0;
    font-size: 14px;
    color: var(--gp-muted);
}

.ms-notice {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding: 12px 16px;
    font-size: 13.5px;
    background: #fffaeb;
    border: 1px solid #fedf89;
    border-radius: 10px;
}

.ms-notice > .ms-icon {
    width: 18px;
    height: 18px;
    color: var(--ms-warn);
}

.ms-notice p {
    flex: 1;
    margin: 0;
    color: #7a2e0e;
}

.ms-notice strong {
    font-weight: 600;
}

.ms-notice.ms-resubscribe {
    background: #ecfdf3;
    border-color: #abefc6;
}

.ms-notice.ms-resubscribe > .ms-icon {
    color: #079455;
}

.ms-notice.ms-resubscribe p {
    color: #074d31;
}

.ms-link {
    font-size: 13.5px;
    font-weight: 600;
    white-space: nowrap;
    color: var(--gp-main);
}

.ms-link:hover {
    color: var(--gp-main-dark);
    text-decoration: none;
}

.ms-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 20px;
    align-items: start;
}

.ms-main,
.ms-side {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
}

.ms-side {
    position: sticky;
    top: 76px;
}

.ms-card {
    padding: 22px 24px;
    background: #fff;
    border: 1px solid var(--gp-line);
    border-radius: 14px;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

.ms-card-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px 16px;
    margin-bottom: 8px;
}

.ms-card-title {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--gp-ink);
}

.ms-card-sub {
    margin: 2px 0 0;
    font-size: 13px;
    color: var(--gp-muted);
}

.ms-eyebrow {
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--gp-muted);
}

.ms-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.ms-tag {
    display: inline-flex;
    align-items: center;
    padding: 1px 8px;
    font-size: 11.5px;
    font-weight: 600;
    line-height: 18px;
    white-space: nowrap;
    color: #475467;
    background: #f2f4f7;
    border: 1px solid #e4e7ec;
    border-radius: 6px;
}

a.ms-tag:hover {
    text-decoration: none;
}

.ms-tag-ok {
    color: #067647;
    background: #ecfdf3;
    border-color: #abefc6;
}

.ms-tag-warn {
    color: #b54708;
    background: #fffaeb;
    border-color: #fedf89;
}

.ms-tag-danger,
a.ms-tag-danger:hover {
    color: #b42318;
    background: #fef3f2;
    border-color: #fecdca;
}

/* Usage rows: label, meter and count line up as columns */
.ms-usage-row {
    --ms-level: var(--ms-ok);
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) 76px;
    align-items: center;
    gap: 20px;
    padding: 14px 0;
    border-bottom: 1px solid var(--ms-soft-line);
}

.ms-usage-row:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.ms-level-high {
    --ms-level: var(--ms-warn);
}

.ms-level-full {
    --ms-level: var(--ms-danger);
}

.ms-usage-label {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    min-width: 0;
}

.ms-usage-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--gp-ink);
}

.ms-meter {
    height: 6px;
    overflow: hidden;
    background: #eaecf0;
    border-radius: 999px;
}

.ms-meter span {
    display: block;
    height: 100%;
    background: var(--ms-level);
    border-radius: 999px;
    transition: width 0.6s ease;
}

.ms-meter-unlimited {
    font-size: 12.5px;
    font-weight: 600;
    color: #067647;
}

.ms-usage-value {
    font-size: 13px;
    text-align: right;
    font-variant-numeric: tabular-nums;
    color: var(--gp-muted);
}

.ms-usage-value strong {
    font-weight: 600;
    color: var(--gp-ink);
}

.ms-level-full .ms-usage-value strong {
    color: var(--ms-danger);
}

.ms-empty {
    margin: 12px 0 0;
    font-size: 13.5px;
    color: var(--gp-muted);
}

.ms-allowances {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.ms-allowance {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 14px 16px;
    background: #fafbfd;
    border: 1px solid var(--ms-soft-line);
    border-radius: 10px;
}

.ms-allowance strong {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--gp-ink);
}

.ms-allowance span {
    font-size: 13px;
    color: var(--gp-muted);
}

.ms-checklist,
.ms-locked-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ms-checklist {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 24px;
    margin-top: 16px;
}

.ms-checklist li,
.ms-locked-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    line-height: 1.4;
    color: #344054;
}

.ms-checklist .ms-icon {
    margin-top: 1px;
    color: var(--gp-main);
}

/* Sidebar plan summary */
.ms-plan-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.ms-plan-name {
    margin: 10px 0 4px;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--gp-ink);
}

.ms-plan-price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px;
    font-size: 14px;
    color: var(--gp-muted);
}

.ms-plan-price strong {
    font-size: 30px;
    font-weight: 700;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
    color: var(--gp-ink);
}

.ms-plan-price s {
    color: #98a2b3;
}

.ms-details {
    margin: 18px 0 0;
    border-top: 1px solid var(--ms-soft-line);
}

.ms-details div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    font-size: 13.5px;
    border-bottom: 1px solid var(--ms-soft-line);
}

.ms-details dt {
    font-weight: 400;
    color: var(--gp-muted);
}

.ms-details dd {
    margin: 0;
    font-weight: 600;
    text-align: right;
    color: var(--gp-ink);
}

.ms-details .ms-discount {
    color: #067647;
}

.ms-note {
    margin: 12px 0 0;
    font-size: 12.5px;
    line-height: 1.5;
    color: var(--gp-muted);
}

.ms-block-btn {
    width: 100%;
    margin-top: 18px;
}

.ms-block-btn + .ms-block-btn {
    margin-top: 8px;
}

.ms-locked-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 16px;
}

.ms-locked-list li {
    font-size: 13.5px;
    color: #475467;
}

.ms-locked-list .ms-icon {
    width: 15px;
    height: 15px;
    margin-top: 2px;
    color: #98a2b3;
}

.ms-more {
    margin: 10px 0 0;
    font-size: 13px;
    color: var(--gp-muted);
}

@media (max-width: 991px) {
    .ms-layout {
        grid-template-columns: 1fr;
    }

    .ms-side {
        position: static;
        order: -1;
    }
}

@media (max-width: 768px) {
    .ms-title {
        font-size: 22px;
    }

    .ms-header .skyler-btn-group {
        width: 100%;
        justify-content: stretch;
    }

    .ms-header .skyler-btn-group .btn {
        flex: 1;
    }

    .ms-card {
        padding: 18px 16px;
    }

    .ms-usage-row {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 8px 16px;
    }

    .ms-meter,
    .ms-meter-unlimited {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .ms-checklist {
        grid-template-columns: 1fr;
    }
}

/* A claimable promotion: banner above the plans and a highlight on the plan it gives away */
.gp-promo-banner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px 24px;
    margin: 6px 0 24px;
    padding: 18px 22px;
    border: 1px solid color-mix(in srgb, #12b76a 40%, #fff);
    border-left: 5px solid #12b76a;
    border-radius: 16px;
    background: linear-gradient(120deg, color-mix(in srgb, #12b76a 14%, #fff) 0%, #fff 75%);
    box-shadow: 0 14px 30px -24px #067647;
}

.gp-promo-banner-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
    font-size: 14px;
    color: var(--gp-muted);
}

.gp-promo-banner-text strong {
    font-size: 22px;
    line-height: 1.2;
    font-weight: 800;
    color: var(--gp-ink);
}

.gp-promo-tag {
    align-self: flex-start;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #fff;
    background: #12b76a;
}

.gp-promo-banner .btn {
    flex: 0 0 auto;
}

.gp-card-promo,
.gp-card-promo:hover {
    border-color: #12b76a;
    box-shadow: 0 0 0 2px color-mix(in srgb, #12b76a 35%, transparent), 0 14px 30px -18px #12b76a;
}

.gp-badge.gp-badge-promo {
    color: #fff;
    background: #12b76a;
    border-color: #12b76a;
}

.gp-promo-note {
    margin-top: 8px;
    font-size: 12px;
    line-height: 1.5;
    font-weight: 600;
    text-align: center;
    color: #067647;
}

.gp-promo-note a {
    font-weight: 500;
    color: var(--gp-muted);
    text-decoration: underline;
}

@media (max-width: 767px) {
    .gp-promo-banner {
        flex-direction: column;
        align-items: stretch;
        text-align: left;
    }
}
