/*
 * theme-2026-pricing-cf.css: public /pricing in the CreatorFlow pricing layout (2026-11-18).
 * Reference: ~/Desktop/creatorflow-frontend app/server/views/frontend/pricing/pricing_ink.pug (Ink and Lime):
 * dark page, centred hero with eyebrow + monthly/yearly pill, plans on a light rounded panel, compare-table panel,
 * dark value band, two-column FAQ on a white panel, lime closing panel, dark footer.
 * Linked ONLY from frontend/frontend_pricing_plans.pug, AFTER theme-2026-pricing.css; every selector starts with
 * body.pn-pcf, which only that template sets, so the in-app iframe, the homepage pricing section and
 * /onboarding/subscription (same partials) are untouched.
 * The partials are shared and unchanged, so this file restyles their legacy classes. app.css and theme-2026*.css
 * use !important on buttons and the switch: the matching rules here do too.
 * Never animate opacity/transform on .switchSelector, .switchButton or .price-bold3 (pricing.js fades them) or on
 * h1.main-title (.animate-text-fade-in). Brand colours: docs/claude/ui-design-guidelines.md (lime palette).
 * Every edit: bump ?v= on the link in frontend_pricing_plans.pug.
 */

body.pn-pcf {
    --pcf-page: #1b1b1b;
    --pcf-ink: #141414;
    --pcf-ink-2: #52525b;
    --pcf-ink-3: #62626b; /* 4.5:1 on --pcf-panel (#71717a was 4.40) */
    --pcf-panel: #f4f4f5;
    --pcf-card: #ffffff;
    --pcf-line: #e4e4e7;
    --pcf-dark-card: #232323;
    --pcf-dark-line: #333333;
    --pcf-dark-text: #a1a1aa;
    --pcf-lime: #81ff3c;
    --pcf-lime-ink: #0d0d1f;
    --pcf-lime-tint: #eafdd9;
    --pcf-lime-deep: #2f6b0a;
    --pcf-wide: 1248px;
    background: var(--pcf-page);
}

body.pn-pcf .off-canvas-wrap,
body.pn-pcf .inner-wrap,
body.pn-pcf main#hero.pricingHero,
body.pn-pcf main#hero > section.services {
    background: var(--pcf-page) !important;
}

body.pn-pcf main#hero.pn-page > section.services.font-family-gt {
    padding: 0 !important;
    margin: 0;
    color: var(--pcf-ink);
}

/* ============ Hero ============ */
/* Sizes from CreatorFlow's ink/pricing.css (2026-11-18): no label above the H1, H1 clamp(40px, 4.4vw, 64px),
 * a compact top so the plan cards start on the first screen. */
body.pn-pcf .pcf-hero.row {
    width: var(--pns-w);
    max-width: none;
    margin: 0 auto;
    padding: clamp(40px, 3.6vw, 56px) 0 clamp(28px, 2.6vw, 36px);
}

body.pn-pcf .pcf-hero .pricingcontainer {
    float: none;
    width: 100%;
    padding: 0;
}

body.pn-pcf .pcf-hero .pcf-eyebrow {
    margin: 0 0 18px;
    color: var(--pcf-lime);
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

body.pn-pcf.pn-pcf .pn-page .pcf-hero .pricingcontainer h1.main-title {
    max-width: 900px;
    margin: 0 auto !important;
    color: #ffffff;
    font-size: var(--pns-h1) !important;
    font-weight: 600;
    line-height: 1.02 !important;
    letter-spacing: -0.045em;
    text-wrap: balance;
}

body.pn-pcf.pn-pcf .pn-page .pcf-hero .pricingcontainer p.offer-description {
    max-width: 620px;
    margin: 16px auto 28px !important;
    color: #bdbdc2;
    font-size: var(--pns-lead) !important;
    line-height: 1.55 !important;
    text-wrap: balance;
}

/* Monthly / yearly pill. pricing.js moves .cta-blue between the halves. */
body.pn-pcf.pn-pcf .pn-page .pricingcontainer .switchContainer {
    display: inline-flex !important;
    float: none !important;
    width: auto !important;
    max-width: 100%;
    height: auto !important;
    margin: 0 auto !important;
    padding: 4px !important;
    gap: 2px;
    border: 1px solid var(--pcf-dark-line);
    border-radius: 999px !important;
    background-color: #262626 !important;
    box-shadow: none !important;
}

body.pn-pcf.pn-pcf .pn-page .pricingcontainer .switchContainer .switchSelector {
    display: inline-flex !important;
    align-items: center;
    width: auto !important;
    height: auto !important;
    min-height: 44px;
    margin: 0 !important;
    padding: 8px 20px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background-color: transparent !important;
    box-shadow: none !important;
    cursor: pointer;
}

body.pn-pcf.pn-pcf .pn-page .pricingcontainer .switchContainer .switchSelector:hover {
    background-color: rgba(255, 255, 255, 0.06) !important;
}

body.pn-pcf.pn-pcf .pn-page .pricingcontainer .switchContainer .switchSelector.cta-blue,
body.pn-pcf.pn-pcf .pn-page .pricingcontainer .switchContainer .switchSelector.cta-blue:hover {
    background-color: #ffffff !important;
}

body.pn-pcf.pn-pcf .pn-page .pricingcontainer .switchContainer .switchButton {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 8px;
    background: transparent !important;
    font-size: 16px !important;
    font-weight: 500;
    line-height: 1.2;
    white-space: nowrap;
}

body.pn-pcf.pn-pcf .pn-page .pricingcontainer .switchContainer .switchButtonSelected {
    color: var(--pcf-ink) !important;
}

body.pn-pcf.pn-pcf .pn-page .pricingcontainer .switchContainer .switchButtonNotSelected {
    color: var(--pcf-dark-text) !important;
}

body.pn-pcf.pn-pcf .pn-page .pricingcontainer .switchContainer .switchButton > div:not(.custom-saving) {
    margin: 0 !important;
    padding: 0;
    color: inherit !important;
}

body.pn-pcf.pn-pcf .pn-page .pricingcontainer .switchContainer .custom-saving {
    display: inline-flex !important;
    align-items: center;
    gap: 4px;
    padding: 4px 9px !important;
    border-radius: 999px;
    background-color: var(--pcf-lime) !important;
    color: var(--pcf-lime-ink) !important;
    font-size: 12px !important;
    font-weight: 600;
    line-height: 1;
}

body.pn-pcf.pn-pcf .pn-page .pricingcontainer .switchContainer .custom-saving svg {
    width: 12px;
    height: 12px;
    margin: 0 !important;
}

/* The trial terms sit under the plan cards, where the trial buttons are. */
body.pn-pcf.pn-pcf .pn-page .pcf-plans p.pricing-trial-note {
    grid-column: 1 / -1;
    max-width: 720px;
    margin: 8px auto 0;
    color: var(--pcf-ink-3);
    font-size: 14px;
    line-height: 1.55;
    text-align: center;
}

/* ============ Light panels ============ */
/* The panel is --pns-inset in from each side; its padding puts the content on the header's edge (pn-system.css). */
body.pn-pcf .pcf-panel {
    margin: 0 var(--pns-inset);
    padding: 40px var(--pns-sheet-pad);
    border-radius: var(--pns-r-sheet);
    background: var(--pcf-panel);
    color: var(--pcf-ink);
    text-align: left;
}

body.pn-pcf .pcf-panel + .pcf-panel,
body.pn-pcf .pcf-band + .pcf-panel {
    margin-top: 24px;
}

body.pn-pcf .pcf-h2 {
    margin: 0 0 24px;
    color: var(--pcf-ink);
    font-size: var(--pns-h2);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -0.035em;
    text-align: center;
}

/* ============ Plan cards (shared partial common/pricing/frontend_common_pricing_plans) ============ */
body.pn-pcf .pcf-plans {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
}

body.pn-pcf .pcf-plans > .pricing-plans,
body.pn-pcf .pcf-plans > .pricing-plans > #pricing {
    display: contents !important;
}

body.pn-pcf .pcf-plans > .pricing-plans > br {
    display: none;
}

body.pn-pcf #hero .pcf-plans #pricing .price_wrapper.lite {
    position: relative;
    display: flex !important;
    flex-direction: column;
    grid-column: span 2;
    float: none !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 24px !important;
    overflow: visible;
    border: 1px solid var(--pcf-line) !important;
    border-radius: 24px !important;
    background: var(--pcf-card) !important;
    box-shadow: none !important;
    transform: none !important;
    text-align: left;
}

body.pn-pcf #hero .pcf-plans #pricing .price_wrapper.lite.free {
    grid-column: span 3;
}

body.pn-pcf #hero .pcf-plans #pricing .price_wrapper.lite > .absolute {
    display: none;
}

body.pn-pcf #hero .pcf-plans #pricing .price_wrapper.lite > .header {
    order: 1;
    display: block !important;
    flex: none !important;
    height: auto !important;
    min-height: 0 !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

body.pn-pcf #hero .pcf-plans #pricing .price_wrapper.lite > .button-container-buy,
body.pn-pcf #hero .pcf-plans #pricing .price_wrapper.lite > .margin-left-right {
    order: 2;
}

body.pn-pcf #hero .pcf-plans #pricing .price_wrapper.lite > .section {
    order: 3;
}

body.pn-pcf #hero .pcf-plans #pricing .price_wrapper.lite > .section.pricing-details {
    order: 4;
}

body.pn-pcf #hero .pcf-plans #pricing .price_wrapper .header .price {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
}

body.pn-pcf #hero .pcf-plans #pricing .price_wrapper .header .price > div:first-child {
    order: 1;
    display: block !important;
    margin: 0 !important;
}

body.pn-pcf #hero .pcf-plans #pricing .price_wrapper .header .price .price-bold4 {
    display: none !important;
}

body.pn-pcf #hero .pcf-plans #pricing .price_wrapper .header .price .price-bold {
    display: inline !important;
    margin: 0 !important;
    color: var(--pcf-ink) !important;
    font-size: 24px !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
    letter-spacing: -0.02em !important;
    text-transform: none !important;
}

body.pn-pcf #hero .pcf-plans #pricing .price_wrapper .header .price > .ideal {
    order: 2;
    display: block !important;
    margin: 0 !important;
    color: var(--pcf-ink-2) !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    line-height: 1.45 !important;
}

/* Grey price box: the amount line, then (Teams) the 5-seat minimum. */
body.pn-pcf #hero .pcf-plans #pricing .price_wrapper .header .price > div:nth-child(2) {
    order: 3;
    display: flex !important;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px;
    margin: 12px 0 0 !important;
    padding: 18px 16px !important;
    border-radius: 16px;
    background: var(--pcf-panel);
    color: var(--pcf-ink-3) !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
}

body.pn-pcf #hero .pcf-plans #pricing .price_wrapper.teams .header .price > div:nth-child(2) {
    padding-bottom: 6px !important;
    border-radius: 16px 16px 0 0;
}

body.pn-pcf #hero .pcf-plans #pricing .price_wrapper .header .price .price-bold3 {
    margin: 0 !important;
    color: var(--pcf-ink) !important;
    font-size: 44px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    letter-spacing: -0.04em !important;
}

body.pn-pcf #hero .pcf-plans #pricing .price_wrapper .header .price .price-pro-price > .ideal,
body.pn-pcf #hero .pcf-plans #pricing .price_wrapper .header .price .price-teams-price > .ideal {
    margin: 0 !important;
    color: var(--pcf-ink-3) !important;
    font-size: 14px !important;
}

body.pn-pcf #hero .pcf-plans #pricing .price_wrapper.teams .header .price > .price-teams-min {
    order: 4;
    display: block !important;
    align-self: stretch;
    box-sizing: border-box !important;
    width: auto !important;
    max-width: none !important;
    /* -6px cancels the .price column gap, so the minimum line joins the price box (was cancelled by a later margin: 0). */
    margin: -6px 0 0 !important;
    padding: 0 16px 16px !important;
    border-radius: 0 0 16px 16px !important;
    background: var(--pcf-panel) !important;
    color: var(--pcf-ink-3) !important;
    font-size: 13px !important;
}

body.pn-pcf #hero .pcf-plans #pricing .price_wrapper.teams .header .price > .price-teams-min .ideal {
    color: inherit !important;
    font-size: inherit !important;
}

body.pn-pcf #hero .pcf-plans #pricing .price_wrapper.teams .header .price > .ideal:last-child {
    order: 2;
}

/* "Popular" on Business: lime pill on the plan-name row. Its containing block is the card header (a legacy rule
 * makes .header one even while static), whose top is the name row: pin to that box's top right. */
body.pn-pcf #hero .pcf-plans #pricing .price_wrapper.lite > .header,
body.pn-pcf #hero .pcf-plans #pricing .price_wrapper.lite > .header .price {
    position: static !important;
}

body.pn-pcf #hero .pcf-plans #pricing .price_wrapper .header .label-container {
    position: absolute !important;
    top: 2px !important;
    right: 0 !important;
    left: auto !important;
    bottom: auto !important;
    z-index: 1;
    float: none;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    overflow: visible !important;
}

body.pn-pcf #hero .pcf-plans #pricing .price_wrapper.business .header .price > div:first-child {
    padding-right: 96px;
}

body.pn-pcf #hero .pcf-plans #pricing .price_wrapper .header .label-container .label-diagonal.popular,
body.pn-pcf #hero .pcf-plans #pricing .price_wrapper .header .label-container .label-diagonal.popular.monthly-grey {
    position: static !important;
    display: inline-block !important;
    width: auto !important;
    margin: 0 !important;
    padding: 6px 12px !important;
    border-radius: 999px !important;
    background: var(--pcf-lime) !important;
    box-shadow: none !important;
    color: var(--pcf-lime-ink) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    transform: none !important;
}

/* Saving chip: shown in yearly mode only, as CreatorFlow; the switch already carries "Save up to 40%".
 * pricing.js marks the selected half with .cta-blue. Hidden, not removed, in monthly mode: its row keeps its height,
 * so the plan buttons stay where they are when the visitor switches (review item 14). */
body.pn-pcf:has(.switchSelector.monthly-button.cta-blue) #hero .pcf-plans #pricing .price_wrapper .custom-saving3 {
    visibility: hidden !important;
}

/* Saving chip + CTA, right under the price box. */
body.pn-pcf #hero .pcf-plans #pricing .price_wrapper .margin-left-right {
    margin: 14px 0 0 !important;
    padding: 0 !important;
}

body.pn-pcf #hero .pcf-plans #pricing .price_wrapper ul.perks {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none;
}

body.pn-pcf #hero .pcf-plans #pricing .price_wrapper .margin-left-right ul.perks {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

body.pn-pcf #hero .pcf-plans #pricing .price_wrapper .margin-left-right ul.perks > li {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

body.pn-pcf #hero .pcf-plans #pricing .price_wrapper .custom-saving3 {
    display: flex;
    justify-content: flex-start;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
}

body.pn-pcf #hero .pcf-plans #pricing .price_wrapper .custom-saving3 .issue-label {
    display: inline-flex !important;
    align-items: center;
    gap: 4px;
    margin: 0 !important;
    padding: 5px 10px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: var(--pcf-lime-tint) !important;
    color: var(--pcf-lime-deep) !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}

body.pn-pcf #hero .pcf-plans #pricing .price_wrapper .custom-saving3 .issue-label svg {
    width: 12px;
    height: 12px;
    margin: 0 !important;
    color: inherit !important;
}

/* One run of text, so a long chip (Russian Teams) wraps as a sentence instead of in three flex columns. */
body.pn-pcf #hero .pcf-plans #pricing .price_wrapper .custom-saving3 .issue-label {
    display: inline-block !important;
    text-align: left;
}

/* app.css makes the amount inline-block on phones, which keeps its leading space as a double gap. */
body.pn-pcf #hero .pcf-plans #pricing .price_wrapper .custom-saving3 .issue-label .discount-amount {
    display: inline !important;
    margin: 0 !important;
}

body.pn-pcf #hero .pcf-plans #pricing .price_wrapper .custom-saving3 .issue-label svg {
    display: inline-block;
    margin: 0 4px 0 0 !important;
    vertical-align: -1px;
}

body.pn-pcf #hero .pcf-plans #pricing .price_wrapper.lite a.button,
body.pn-pcf #hero .pcf-plans #pricing .price_wrapper.lite a.button:focus {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    min-height: 50px;
    margin: 0 !important;
    padding: 12px 16px !important;
    border: 1px solid #d4d4d8 !important;
    border-radius: 12px !important;
    background: #ffffff !important;
    box-shadow: none !important;
    color: var(--pcf-ink) !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    line-height: 1.25 !important;
    text-shadow: none !important;
    transform: none !important;
}

body.pn-pcf #hero .pcf-plans #pricing .price_wrapper.lite a.button:hover {
    border-color: var(--pcf-ink) !important;
    background: #ffffff !important;
    color: var(--pcf-ink) !important;
}

body.pn-pcf #hero .pcf-plans #pricing .price_wrapper.lite.business a.button,
body.pn-pcf #hero .pcf-plans #pricing .price_wrapper.lite.business a.button:focus,
body.pn-pcf #hero .pcf-plans #pricing .price_wrapper.lite.business a.button:hover {
    border-color: var(--pcf-lime) !important;
    background: var(--pcf-lime) !important;
    color: var(--pcf-lime-ink) !important;
}

body.pn-pcf #hero .pcf-plans #pricing .price_wrapper.lite.business a.button:hover {
    background: #74f02f !important;
}

body.pn-pcf #hero .pcf-plans #pricing .price_wrapper.lite a.button > span {
    color: inherit !important;
    font-size: inherit !important;
    line-height: inherit !important;
}

body.pn-pcf #hero .pcf-plans #pricing .price_wrapper.lite a.button i.svg-icon-right {
    display: none !important;
}

/* Feature lists */
body.pn-pcf #hero .pcf-plans #pricing .price_wrapper > .section {
    margin: 22px 0 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

body.pn-pcf #hero .pcf-plans #pricing .price_wrapper > .section.pricing-details {
    margin-top: 14px !important;
    padding-top: 14px !important;
    border-top: 1px solid #efeff1 !important;
}

body.pn-pcf #hero .pcf-plans #pricing .price_wrapper > .section > ul,
body.pn-pcf #hero .pcf-plans #pricing .price_wrapper > .section > ul > li {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    list-style: none;
}

body.pn-pcf #hero .pcf-plans #pricing .price_wrapper > .section ul.perks > li {
    display: flex !important;
    align-items: flex-start;
    flex-wrap: nowrap;
    gap: 2px 10px;
    margin: 0 !important;
    padding: 5px 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #3f3f46 !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
    text-align: left !important;
}

body.pn-pcf #hero .pcf-plans #pricing .price_wrapper > .section ul.perks > li strong {
    margin: 0 !important;
    color: var(--pcf-ink) !important;
    font-size: inherit !important;
    font-weight: 500 !important;
}

body.pn-pcf #hero .pcf-plans #pricing .price_wrapper > .section ul.perks > li .svg-icon-check {
    flex: 0 0 auto;
    margin: 2px 0 0 !important;
}

body.pn-pcf #hero .pcf-plans #pricing .price_wrapper > .section ul.perks > li strong {
    min-width: 0;
}

body.pn-pcf #hero .pcf-plans #pricing .price_wrapper > .section ul.perks > li .cil-info {
    flex: 0 0 auto;
    margin: 2px 0 0 !important;
    opacity: 0.55;
}

/* "Need a custom solution?": the CreatorFlow "Agency plan" slot, beside Free. */
body.pn-pcf .pcf-plans .pcf-custom.pricing-publish {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    grid-column: span 3;
    margin: 0;
    padding: 24px;
    border: 1px solid var(--pcf-line);
    border-radius: 24px;
    background: var(--pcf-card);
    box-shadow: none;
    text-align: left;
}

body.pn-pcf .pcf-plans:not(:has(.price_wrapper.free)) .pcf-custom.pricing-publish {
    grid-column: 1 / -1;
}

/* Wide screens: the Free card lies flat (name and button on the left, limits in two columns on the right) under the
 * first two plans, and the custom card sits under the third. Both are about 200px tall: stacked, the Free card was
 * 442px and left the custom card two thirds empty. */
@media (min-width: 1025px) {
    body.pn-pcf #hero .pcf-plans #pricing .price_wrapper.lite.free {
        display: grid !important;
        grid-template-columns: minmax(0, 250px) minmax(0, 1fr);
        grid-template-rows: auto auto 1fr;
        column-gap: 40px;
        align-items: start;
        grid-column: span 4;
    }

    body.pn-pcf .pcf-plans:has(.price_wrapper.free) .pcf-custom.pricing-publish {
        grid-column: span 2;
    }

    body.pn-pcf #hero .pcf-plans #pricing .price_wrapper.lite.free > .header {
        grid-column: 1;
        grid-row: 1;
    }

    body.pn-pcf #hero .pcf-plans #pricing .price_wrapper.lite.free > .margin-left-right {
        grid-column: 1;
        grid-row: 2;
        margin-top: 16px !important;
    }

    body.pn-pcf #hero .pcf-plans #pricing .price_wrapper.lite.free > .section.intro {
        grid-column: 2;
        grid-row: 1 / span 2;
        margin-top: 0 !important;
    }

    body.pn-pcf #hero .pcf-plans #pricing .price_wrapper.lite.free > .section.intro.pricing-details {
        grid-row: 3;
        margin-top: 10px !important;
        padding-top: 10px !important;
    }

    body.pn-pcf #hero .pcf-plans #pricing .price_wrapper.lite.free > .section ul.perks {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 24px;
    }
}

body.pn-pcf .pcf-plans .pcf-custom .pcf-card-title {
    margin: 0 0 8px;
    color: var(--pcf-ink);
    font-size: 24px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

body.pn-pcf .pcf-plans .pcf-custom p {
    margin: 0 0 24px;
    color: var(--pcf-ink-2);
    font-size: 16px;
    line-height: 1.5;
}

body.pn-pcf a.pcf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    margin-top: auto;
    padding: 12px 24px;
    border: 1px solid #d4d4d8;
    border-radius: 12px;
    background: #ffffff;
    color: var(--pcf-ink);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.25;
    text-decoration: none;
}

body.pn-pcf a.pcf-btn:hover {
    border-color: var(--pcf-ink);
    color: var(--pcf-ink);
}

/* ============ Compare table (shared partial frontend_common_plan_table) ============ */
body.pn-pcf .pcf-compare .pricing-plans-table,
body.pn-pcf .pcf-compare .pricing-table-top,
body.pn-pcf .pcf-compare .pricing-table-top > .large-centered,
body.pn-pcf .pcf-compare .mpt-root,
body.pn-pcf .pcf-compare .mpt-container {
    display: block !important;
    float: none !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
}

body.pn-pcf .pcf-compare .mpt-table-container {
    width: 100%;
    margin: 0 !important;
    overflow-x: auto;
    border: 1px solid var(--pcf-line);
    border-radius: 24px;
    background: var(--pcf-card);
}

body.pn-pcf.pn-pcf .pn-page .pcf-compare .mpt-table {
    width: 100%;
    min-width: 720px;
    margin: 0 !important;
    border: 0 !important;
    border-collapse: collapse;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

body.pn-pcf.pn-pcf .pn-page .pcf-compare .mpt-table tr,
body.pn-pcf.pn-pcf .pn-page .pcf-compare .mpt-table tr:nth-of-type(even),
body.pn-pcf.pn-pcf .pn-page .pcf-compare .mpt-table tr:nth-of-type(n):hover {
    background: transparent !important;
}

body.pn-pcf.pn-pcf .pn-page .pcf-compare .mpt-table .mpt-table__header-cell {
    padding: 28px 20px 24px !important;
    border: 0 !important;
    border-bottom: 1px solid var(--pcf-line) !important;
    border-radius: 0 !important;
    background: transparent !important;
    vertical-align: top;
    text-align: center;
}

body.pn-pcf.pn-pcf .pn-page .pcf-compare .mpt-table .mpt-table__header-cell:first-child {
    width: 34%;
    text-align: left;
}

body.pn-pcf.pn-pcf .pn-page .pcf-compare .mpt-table .feature-overview {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    white-space: nowrap !important;
}

body.pn-pcf.pn-pcf .pn-page .pcf-compare .mpt-table .mpt-table__header-cell .price {
    margin: 0 0 16px !important;
    padding: 0 !important;
}

body.pn-pcf.pn-pcf .pn-page .pcf-compare .mpt-table .mpt-table__header-cell .price-bold {
    color: var(--pcf-ink) !important;
    display: inline-block !important;
    font-size: 20px !important;
    font-weight: 500 !important;
    letter-spacing: -0.01em !important;
    text-transform: lowercase !important;
}

body.pn-pcf.pn-pcf .pn-page .pcf-compare .mpt-table .mpt-table__header-cell .price-bold::first-letter {
    text-transform: uppercase;
}

body.pn-pcf.pn-pcf .pn-page .pcf-compare .mpt-table .mpt-table__header-cell .price-container {
    display: flex;
    justify-content: center;
    margin: 0 !important;
    padding: 0 !important;
}

body.pn-pcf.pn-pcf .pn-page .pcf-compare .mpt-table th.mpt-table__header-cell a.button,
body.pn-pcf.pn-pcf .pn-page .pcf-compare .mpt-table th.mpt-table__header-cell a.button:focus {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 42px;
    margin: 0 !important;
    padding: 9px 18px !important;
    border: 1px solid #d4d4d8 !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    box-shadow: none !important;
    color: var(--pcf-ink) !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.25 !important;
    text-shadow: none !important;
    transform: none !important;
    white-space: nowrap;
}

body.pn-pcf.pn-pcf .pn-page .pcf-compare .mpt-table th.mpt-table__header-cell a.button:hover {
    border-color: var(--pcf-ink) !important;
    background: #ffffff !important;
    color: var(--pcf-ink) !important;
}

body.pn-pcf.pn-pcf .pn-page .pcf-compare .mpt-table th.mpt-table__header-cell.business a.button,
body.pn-pcf.pn-pcf .pn-page .pcf-compare .mpt-table th.mpt-table__header-cell.business a.button:focus,
body.pn-pcf.pn-pcf .pn-page .pcf-compare .mpt-table th.mpt-table__header-cell.business a.button:hover {
    border-color: var(--pcf-lime) !important;
    background: var(--pcf-lime) !important;
    color: var(--pcf-lime-ink) !important;
}

body.pn-pcf.pn-pcf .pn-page .pcf-compare .mpt-table th.mpt-table__header-cell a.button > span {
    color: inherit !important;
    font-size: inherit !important;
    line-height: inherit !important;
}

body.pn-pcf.pn-pcf .pn-page .pcf-compare .mpt-table th.mpt-table__header-cell a.button i {
    display: none !important;
}

/* The highlighted column, as CreatorFlow's Growth. */
body.pn-pcf.pn-pcf .pn-page .pcf-compare .mpt-table th.mpt-table__header-cell.business,
body.pn-pcf.pn-pcf .pn-page .pcf-compare .mpt-table tr > td.mpt-table__cell:nth-child(3) {
    background: #fafafa !important;
}

body.pn-pcf.pn-pcf .pn-page .pcf-compare .mpt-table .mpt-table__cell {
    padding: 14px 20px !important;
    border: 0 !important;
    border-bottom: 1px solid #f0f0f2 !important;
    border-radius: 0 !important;
    color: var(--pcf-ink) !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    font-variant-numeric: normal !important;
    font-feature-settings: normal !important;
    letter-spacing: 0 !important;
    word-spacing: normal !important;
    text-align: center;
    text-transform: none !important;
    vertical-align: middle;
}

body.pn-pcf.pn-pcf .pn-page .pcf-compare .mpt-table tr:last-of-type .mpt-table__cell {
    border-bottom: 0 !important;
}

body.pn-pcf.pn-pcf .pn-page .pcf-compare .mpt-table .mpt-table__cell:first-child {
    text-align: left;
}

body.pn-pcf.pn-pcf .pn-page .pcf-compare .mpt-table .mpt-table__feature-cell {
    color: var(--pcf-ink) !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    line-height: 1.35 !important;
}

body.pn-pcf.pn-pcf .pn-page .pcf-compare .mpt-table .mpt-table__feature-cell-description {
    display: block;
    margin-top: 3px;
    color: var(--pcf-ink-3) !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
}

/* ============ Value band: what 15 connected accounts cost (shared partial) ============ */
body.pn-pcf .pcf-band {
    margin: 24px auto 24px;
    padding: 0;
}

body.pn-pcf.pn-pcf .pn-page .pcf-band .fifteen-channels {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    grid-template-rows: auto auto auto 1fr;
    column-gap: 56px;
    box-sizing: border-box;
    width: var(--pns-w);
    max-width: none !important;
    margin: 0 auto !important;
    padding: 36px 40px !important;
    border: 1px solid var(--pcf-dark-line);
    border-radius: 24px;
    background: var(--pcf-dark-card) !important;
    text-align: left;
}

body.pn-pcf.pn-pcf .pn-page .pcf-band .fifteen-channels > h2 {
    grid-column: 1;
    margin: 0 0 16px !important;
    color: #ffffff !important;
    font-size: var(--pns-h2) !important;
    font-weight: 500 !important;
    line-height: 1.08 !important;
    letter-spacing: -0.03em !important;
    text-align: left !important;
}

body.pn-pcf.pn-pcf .pn-page .pcf-band .fifteen-channels > p {
    grid-column: 1;
    max-width: none !important;
    margin: 0 0 12px !important;
    color: var(--pcf-dark-text) !important;
    font-size: var(--pns-body) !important;
    line-height: 1.55 !important;
    text-align: left !important;
}

body.pn-pcf.pn-pcf .pn-page .pcf-band .fifteen-channels > p.content-grey {
    color: #8a8a93 !important;
    font-size: 13px !important;
}

body.pn-pcf.pn-pcf .pn-page .pcf-band .fifteen-channels > .table-scroll {
    grid-column: 2;
    grid-row: 1 / 5;
    align-self: center;
    margin: 0 !important;
    overflow-x: auto;
}

body.pn-pcf.pn-pcf .pn-page .pcf-band .fifteen-channels table.alt-compare-table {
    width: 100%;
    margin: 0 !important;
    border: 0 !important;
    border-collapse: collapse;
    background: transparent !important;
}

body.pn-pcf.pn-pcf .pn-page .pcf-band .fifteen-channels table.alt-compare-table thead,
body.pn-pcf.pn-pcf .pn-page .pcf-band .fifteen-channels table.alt-compare-table tr,
body.pn-pcf.pn-pcf .pn-page .pcf-band .fifteen-channels table.alt-compare-table tr:nth-of-type(even) {
    background: transparent !important;
}

body.pn-pcf.pn-pcf .pn-page .pcf-band .fifteen-channels table.alt-compare-table th,
body.pn-pcf.pn-pcf .pn-page .pcf-band .fifteen-channels table.alt-compare-table td {
    padding: 11px 12px !important;
    border: 0 !important;
    border-bottom: 1px solid var(--pcf-dark-line) !important;
    background: transparent !important;
    color: #d4d4d8 !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    text-align: left;
}

body.pn-pcf.pn-pcf .pn-page .pcf-band .fifteen-channels table.alt-compare-table thead th {
    color: #8a8a93 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
}

body.pn-pcf.pn-pcf .pn-page .pcf-band .fifteen-channels table.alt-compare-table tbody th {
    color: #ffffff !important;
    font-weight: 500 !important;
}

body.pn-pcf.pn-pcf .pn-page .pcf-band .fifteen-channels table.alt-compare-table tbody tr:first-child th,
body.pn-pcf.pn-pcf .pn-page .pcf-band .fifteen-channels table.alt-compare-table tbody tr:first-child td,
body.pn-pcf.pn-pcf .pn-page .pcf-band .fifteen-channels table.alt-compare-table tbody tr:first-child strong {
    color: var(--pcf-lime) !important;
    font-weight: 600 !important;
}

body.pn-pcf.pn-pcf .pn-page .pcf-band .fifteen-channels table.alt-compare-table tr > :last-child {
    text-align: right;
    white-space: nowrap;
}

/* ============ FAQ: white panel, title left, questions right ============ */
body.pn-pcf .pcf-panel.pcf-faq {
    margin-top: 0;
    padding-top: 48px;
    padding-bottom: 48px;
    background: #ffffff;
}

body.pn-pcf.pn-pcf .pn-page .pcf-faq section.pricing-plans-questions {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 48px;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
}

body.pn-pcf.pn-pcf .pn-page .pcf-faq section.pricing-plans-questions > .row {
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.pn-pcf.pn-pcf .pn-page .pcf-faq section.pricing-plans-questions > .row > .columns {
    float: none !important;
    width: 100% !important;
    padding: 0 !important;
}

body.pn-pcf.pn-pcf .pn-page .pcf-faq section.pricing-plans-questions h2.head-main {
    margin: 0 !important;
    color: var(--pcf-ink) !important;
    font-size: var(--pns-h2) !important;
    font-weight: 500 !important;
    line-height: 1.08 !important;
    letter-spacing: -0.035em !important;
    text-align: left !important;
}

body.pn-pcf.pn-pcf .pn-page .pcf-faq .faq-container {
    margin: 0 !important;
    padding: 0 !important;
    border-top: 1px solid var(--pcf-line);
    background: transparent !important;
}

body.pn-pcf.pn-pcf .pn-page .pcf-faq .faq-item {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-bottom: 1px solid var(--pcf-line) !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

body.pn-pcf.pn-pcf .pn-page .pcf-faq .faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 0 !important;
    padding: 20px 0 !important;
    background: transparent !important;
    cursor: pointer;
}

body.pn-pcf.pn-pcf .pn-page .pcf-faq .faq-question h3 {
    margin: 0 !important;
    color: var(--pcf-ink) !important;
    font-size: 17px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    letter-spacing: -0.01em !important;
    text-align: left !important;
}

body.pn-pcf.pn-pcf .pn-page .pcf-faq .faq-answer-content {
    padding: 0 0 20px !important;
}

body.pn-pcf.pn-pcf .pn-page .pcf-faq .faq-answer-content p {
    margin: 0 !important;
    color: var(--pcf-ink-2) !important;
    font-size: 16px !important;
    line-height: 1.6 !important;
    text-align: left !important;
}

/* ============ Lime closing panel ============ */
body.pn-pcf .pcf-close {
    margin: 12px 12px 0;
    padding: 56px 20px 64px;
    border-radius: 32px;
    background: var(--pcf-lime);
    text-align: center;
}

body.pn-pcf .pcf-close h2 {
    text-wrap: balance;
    max-width: 920px;
    margin: 0 auto 18px;
    color: var(--pcf-lime-ink);
    font-size: var(--pns-h2);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -0.04em;
}

body.pn-pcf .pcf-close p {
    max-width: 640px;
    margin: 0 auto 24px;
    color: #26301c;
    font-size: var(--pns-lead);
    line-height: 1.5;
}

body.pn-pcf .pcf-close a.pcf-btn--ink {
    margin: 0;
    padding: 14px 28px;
    border-color: var(--pcf-page);
    background: var(--pcf-page);
    color: #ffffff;
    font-size: 16px;
}

body.pn-pcf .pcf-close a.pcf-btn--ink:hover {
    border-color: #000000;
    background: #000000;
    color: #ffffff;
}

body.pn-pcf a.pcf-btn:focus-visible,
body.pn-pcf #hero .pcf-plans #pricing .price_wrapper.lite a.button:focus-visible,
body.pn-pcf .pricingcontainer .switchSelector:focus-visible {
    outline: 2px solid #5d5fef !important;
    outline-offset: 2px;
}

body.pn-pcf .pcf-close + * ,
body.pn-pcf footer#footerElem {
    margin-top: 0;
}

/* ============ Short laptop windows ============ */
@media (min-width: 900px) and (max-height: 820px) {
    body.pn-pcf .pcf-hero.row {
        padding-top: 28px;
        padding-bottom: 24px;
    }

    body.pn-pcf.pn-pcf .pn-page .pcf-hero .pricingcontainer p.offer-description {
        margin: 12px auto 22px !important;
    }

    body.pn-pcf.pn-pcf .pn-page .pcf-hero .freeContainer {
        margin-top: 12px;
    }

    body.pn-pcf .pcf-panel.pcf-plans {
        padding-top: 16px;
    }

    body.pn-pcf #hero .pcf-plans #pricing .price_wrapper .header .price .price-bold {
        font-size: 22px !important;
    }

    body.pn-pcf #hero .pcf-plans #pricing .price_wrapper .header .price > .ideal {
        font-size: 14px !important;
    }

    body.pn-pcf #hero .pcf-plans #pricing .price_wrapper.lite {
        padding-top: 20px !important;
    }

    body.pn-pcf #hero .pcf-plans #pricing .price_wrapper .header .price > div:nth-child(2) {
        margin-top: 10px !important;
        padding: 12px 16px !important;
    }
}

/* ============ Tablet and phone ============ */
@media (max-width: 899px) {
    body.pn-pcf .pcf-plans {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.pn-pcf #hero .pcf-plans #pricing .price_wrapper.lite,
    body.pn-pcf #hero .pcf-plans #pricing .price_wrapper.lite.free,
    body.pn-pcf .pcf-plans .pcf-custom.pricing-publish {
        grid-column: span 1;
    }
}

@media (max-width: 1024px) {

    body.pn-pcf.pn-pcf .pn-page .pcf-band .fifteen-channels {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: none;
        padding: 36px 24px !important;
    }

    body.pn-pcf.pn-pcf .pn-page .pcf-band .fifteen-channels > .table-scroll {
        grid-column: 1;
        grid-row: auto;
        margin: 8px 0 20px !important;
    }

    body.pn-pcf.pn-pcf .pn-page .pcf-band .fifteen-channels > p.content-grey {
        grid-row: auto;
    }

    body.pn-pcf.pn-pcf .pn-page .pcf-faq section.pricing-plans-questions {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }
}

@media (max-width: 680px) {
    body.pn-pcf .pcf-hero.row {
        padding: 32px 0 28px;
    }

    body.pn-pcf .pcf-panel {
        padding-top: 16px;
        padding-bottom: 16px;
    }

    body.pn-pcf .pcf-panel.pcf-faq {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    body.pn-pcf .pcf-plans {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }

    body.pn-pcf #hero .pcf-plans #pricing .price_wrapper.lite,
    body.pn-pcf .pcf-plans .pcf-custom.pricing-publish {
        padding: 20px !important;
    }


    body.pn-pcf .pcf-h2 {
        margin: 20px 0 20px;
    }

    body.pn-pcf .pcf-close {
        margin: 8px 8px 0;
        padding: 64px 16px 72px;
        border-radius: 24px;
    }

    body.pn-pcf.pn-pcf .pn-page .pricingcontainer .switchContainer .switchSelector {
        padding: 8px 14px !important;
    }

    /* Popular sits in the flow above the name, so it never covers the tagline. */
    body.pn-pcf #hero .pcf-plans #pricing .price_wrapper .header .label-container {
        position: static !important;
        margin: 0 0 10px !important;
    }

    /* app.css drops columns on phones; keep all four and let the table scroll sideways inside its frame.
     * 132 + 3 x 120: the feature column and one plan column fit a 348px frame and the next plan column is cut,
     * which (with the hint line above) shows that the frame scrolls. */
    body.pn-pcf.pn-pcf .pn-page .pcf-compare .mpt-table {
        min-width: 492px;
        table-layout: fixed;
    }

    body.pn-pcf.pn-pcf .pn-page .pcf-compare .mpt-table tr {
        display: table-row !important;
    }

    body.pn-pcf.pn-pcf .pn-page .pcf-compare .mpt-table .mpt-table__cell,
    body.pn-pcf.pn-pcf .pn-page .pcf-compare .mpt-table .mpt-table__header-cell {
        display: table-cell !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    body.pn-pcf.pn-pcf .pn-page .pcf-compare .mpt-table .mpt-table__header-cell:first-child,
    body.pn-pcf.pn-pcf .pn-page .pcf-compare .mpt-table .mpt-table__cell:first-child {
        position: sticky;
        left: 0;
        z-index: 1;
        width: 132px !important;
        background: #ffffff !important;
        box-shadow: inset -1px 0 0 var(--pcf-line);
    }
}

/* ============ 2026-11-18 evening: shorter page and the review fixes (docs/revamp-2026-11-18/review-pricing.md) ============ */

/* Plan cards side by side: one grid row per part (name, tagline, price box, Teams minimum, chip + button, list, second
 * list) shared by the three cards, so names, prices and buttons sit on one line in every locale and billing mode
 * (review item 4). .header and .price become display: contents so their parts are the card's grid items; the markup
 * (shared partial) is unchanged. The Teams minimum has its own row; Premium's and Business's price boxes span it. */
@media (min-width: 900px) {
    body.pn-pcf #hero .pcf-plans #pricing .price_wrapper.lite:is(.pro, .business, .teams) {
        display: grid !important;
        grid-row: span 7;
        grid-template-rows: subgrid;
        row-gap: 0;
        align-content: start;
    }

    body.pn-pcf #hero .pcf-plans #pricing .price_wrapper.lite:is(.pro, .business, .teams) > .header,
    body.pn-pcf #hero .pcf-plans #pricing .price_wrapper.lite:is(.pro, .business, .teams) > .header .price {
        display: contents !important;
    }

    body.pn-pcf #hero .pcf-plans #pricing .price_wrapper.lite:is(.pro, .business, .teams) .header .price > div:first-child {
        grid-row: 1;
    }

    body.pn-pcf #hero .pcf-plans #pricing .price_wrapper.lite:is(.pro, .business, .teams) .header .price > .ideal:not(.price-teams-min) {
        grid-row: 2;
        margin: 6px 0 0 !important;
    }

    body.pn-pcf #hero .pcf-plans #pricing .price_wrapper.lite:is(.pro, .business) .header .price > div:nth-child(2) {
        grid-row: 3 / span 2;
        align-content: flex-start;
    }

    body.pn-pcf #hero .pcf-plans #pricing .price_wrapper.lite.teams .header .price > div:nth-child(2) {
        grid-row: 3;
    }

    body.pn-pcf #hero .pcf-plans #pricing .price_wrapper.lite.teams .header .price > .price-teams-min {
        grid-row: 4;
        margin: 0 !important;
    }

    /* Chip and button sit at the bottom of their shared row, so a chip that wraps (Russian Teams) moves no button. */
    body.pn-pcf #hero .pcf-plans #pricing .price_wrapper.lite:is(.pro, .business, .teams) > .button-container-buy {
        grid-row: 5;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
    }

    body.pn-pcf #hero .pcf-plans #pricing .price_wrapper.lite:is(.pro, .business, .teams) > .section.intro:not(.pricing-details) {
        grid-row: 6;
    }

    body.pn-pcf #hero .pcf-plans #pricing .price_wrapper.lite:is(.pro, .business, .teams) > .section.pricing-details {
        grid-row: 7;
        align-self: start;
    }

    /* "Popular": the card is its containing block now (its header has no box). */
    body.pn-pcf #hero .pcf-plans #pricing .price_wrapper.lite.business .header .label-container {
        top: 26px !important;
        right: 24px !important;
    }
}

@media (min-width: 900px) and (max-height: 820px) {
    body.pn-pcf #hero .pcf-plans #pricing .price_wrapper.lite.business .header .label-container {
        top: 22px !important;
    }
}

/* Billing switch on phones (review item 1): the saving chip goes under "Annually" inside the same half, so the pill fits
 * 360px in German and Russian. CSS uppercased the chip; the locale string is sentence case. */
body.pn-pcf.pn-pcf .pn-page .pricingcontainer .switchContainer .custom-saving {
    text-transform: none !important;
    letter-spacing: 0 !important;
}

@media (max-width: 520px) {
    body.pn-pcf.pn-pcf .pn-page .pricingcontainer .switchContainer {
        border-radius: 28px !important;
    }

    body.pn-pcf.pn-pcf .pn-page .pricingcontainer .switchContainer .switchSelector {
        border-radius: 24px !important;
        padding: 6px 12px !important;
    }

    body.pn-pcf.pn-pcf .pn-page .pricingcontainer .switchContainer .switchSelector.yearly-button .switchButton {
        flex-direction: column !important;
        gap: 4px;
    }
}

/* A legacy .ideal rule pads the tagline and the "/ month" line 16px at the bottom: the cards' empty bands. */
body.pn-pcf #hero .pcf-plans #pricing .price_wrapper .header .price .ideal:not(.price-teams-min) {
    padding: 0 !important;
}

/* Teams price box: one grey box from the price to the 5-seat minimum (review item 3). */
body.pn-pcf #hero .pcf-plans #pricing .price_wrapper.teams .header .price > .price-teams-min {
    padding-top: 6px !important;
}

/* Type on the system's tokens (review item 10). */
body.pn-pcf.pn-pcf .pn-page .pcf-band .fifteen-channels small {
    font-size: inherit !important;
}

body.pn-pcf a.pcf-btn,
body.pn-pcf.pn-pcf .pn-page .pcf-plans .pcf-custom a.contactus {
    font-size: 16px !important;
}

/* Info icons (review item 13). app.css draws the icon as a mask on the element itself, which clips its hit area and
 * any focus ring to the 16px glyph. Here the glyph moves to ::before, so the element can carry a 44px tap area
 * (::after) and the page's focus ring. Same size, colour and opacity as before. */
body.pn-pcf #hero .cil-info {
    position: relative;
    -webkit-mask-image: none !important;
    mask-image: none !important;
    border-radius: 50%;
    background-color: transparent !important;
}

body.pn-pcf #hero .cil-info::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: #0b0b0b;
    -webkit-mask: url(/img/icons/svg/cil-info-2.svg) center / 100% 100% no-repeat;
    mask: url(/img/icons/svg/cil-info-2.svg) center / 100% 100% no-repeat;
}

body.pn-pcf #hero .cil-info::after {
    content: '';
    position: absolute;
    inset: -14px;
}

body.pn-pcf #hero .cil-info:focus-visible {
    opacity: 1 !important;
    outline: 2px solid #5d5fef !important;
    outline-offset: 2px;
}

/* ============ Compare table: one line per feature, 8 rows, the rest behind "Compare all features" (item 9) ============ */
body.pn-pcf .pcf-panel.pcf-compare {
    padding-bottom: 32px;
}

body.pn-pcf.pn-pcf .pn-page .pcf-compare .mpt-table {
    table-layout: fixed;
}

body.pn-pcf.pn-pcf .pn-page .pcf-compare .mpt-table .mpt-table__header-cell {
    padding: 18px 16px 16px !important;
    border-bottom: 0 !important;
    background: #ffffff !important;
    box-shadow: inset 0 -1px 0 var(--pcf-line);
    vertical-align: bottom;
}

body.pn-pcf.pn-pcf .pn-page .pcf-compare .mpt-table .mpt-table__header-cell:first-child {
    width: 31%;
}

body.pn-pcf.pn-pcf .pn-page .pcf-compare .mpt-table .mpt-table__header-cell:not(:first-child) {
    width: 23%;
}

/* The partial's caption is absolutely positioned (inline style), which makes Chrome's fixed table layout ignore the
 * column widths (four equal columns). In the flow with no height, it still names the table for screen readers. */
body.pn-pcf.pn-pcf .pn-page .pcf-compare .mpt-table > caption {
    position: static !important;
    height: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    line-height: 0 !important;
}

/* One line per feature: the name, then its info icon (app.css stacks the cell as a column). */
body.pn-pcf.pn-pcf .pn-page .pcf-compare .mpt-table .mpt-table__feature-cell {
    display: block !important;
}

body.pn-pcf.pn-pcf .pn-page .pcf-compare .mpt-table .mpt-table__header-cell .price {
    margin: 0 0 10px !important;
}

body.pn-pcf.pn-pcf .pn-page .pcf-compare .mpt-table .mpt-table__header-cell .price-bold {
    font-size: 18px !important;
    line-height: 1.3 !important;
}

body.pn-pcf.pn-pcf .pn-page .pcf-compare .mpt-table .mpt-table__cell {
    padding: 12px 16px !important;
    line-height: 1.35 !important;
}

body.pn-pcf.pn-pcf .pn-page .pcf-compare .mpt-table .mpt-table__feature-cell .pcf-tip {
    display: inline-block;
    margin: 0 0 0 6px;
    vertical-align: -2px;
    opacity: 0.55;
}

/* The description is the tooltip now; it stays in the DOM. Without the script (no .pcf-tip) it shows as before. */
body.pn-pcf.pn-pcf .pn-page .pcf-compare .mpt-table .pcf-tip ~ .mpt-table__feature-cell-description {
    display: none !important;
}

body.pn-pcf.pn-pcf .pn-page .pcf-compare .mpt-table.pcf-short tr.pcf-row-more {
    display: none !important;
}

/* "Not included": a light dash, not a value. */
body.pn-pcf.pn-pcf .pn-page .pcf-compare .mpt-table td.mpt-table__cell.pcf-none {
    color: #71717a !important;
}

/* The highlighted column (Business) gets a visible lime tint; it was #fafafa on white (1.04:1). */
body.pn-pcf.pn-pcf .pn-page .pcf-compare .mpt-table th.mpt-table__header-cell.business,
body.pn-pcf.pn-pcf .pn-page .pcf-compare .mpt-table tr > td.mpt-table__cell:nth-child(3) {
    background: #f1fce6 !important;
}

/* Desktop: the plan names stay at the top of the screen while the table scrolls under them. Sticky needs every
 * ancestor up to the page to stay out of scrolling: .off-canvas-wrap and the table frame clip instead of hiding
 * (overflow: clip makes no scroll box), which looks the same. Under 1,281px the fixed phone bar (4.55rem) covers the top. */
@media (min-width: 900px) {
    body.pn-pcf .off-canvas-wrap,
    body.pn-pcf .inner-wrap {
        overflow: clip !important;
    }

    body.pn-pcf .pcf-compare .mpt-table-container {
        overflow: clip !important;
    }

    body.pn-pcf.pn-pcf .pn-page .pcf-compare .mpt-table tr:first-child > th.mpt-table__header-cell {
        position: sticky;
        top: 0;
        z-index: 2;
    }
}

@media (min-width: 900px) and (max-width: 1280px) {
    body.pn-pcf.pn-pcf .pn-page .pcf-compare .mpt-table tr:first-child > th.mpt-table__header-cell {
        top: 4.55rem;
    }
}

/* Header buttons wrap instead of running into the next column (Russian at 1,000 to 1,280px). */
body.pn-pcf.pn-pcf .pn-page .pcf-compare .mpt-table th.mpt-table__header-cell a.button,
body.pn-pcf.pn-pcf .pn-page .pcf-compare .mpt-table th.mpt-table__header-cell a.button:focus {
    white-space: normal;
    text-align: center;
}

/* Short laptop windows (1000x570): the first plan button stays on the first screen. */
@media (min-width: 900px) and (max-height: 820px) {
    body.pn-pcf .pcf-hero.row {
        padding-top: 20px;
        padding-bottom: 18px;
    }

    body.pn-pcf.pn-pcf .pn-page .pcf-hero .pricingcontainer p.offer-description {
        margin: 10px auto 18px !important;
    }
}

@media (min-width: 900px) and (max-height: 620px) {
    body.pn-pcf:has(.switchSelector.monthly-button.cta-blue) #hero .pcf-plans #pricing .price_wrapper ul.perks > li:has(> .custom-saving3) {
        display: none !important;
    }

    body.pn-pcf .pcf-hero.row {
        padding-top: 14px;
        padding-bottom: 12px;
    }

    body.pn-pcf.pn-pcf .pn-page .pcf-hero .pricingcontainer p.offer-description {
        margin: 8px auto 14px !important;
    }

    body.pn-pcf .pcf-panel.pcf-plans {
        padding-top: 8px;
    }

    body.pn-pcf #hero .pcf-plans #pricing .price_wrapper.lite {
        padding-top: 16px !important;
    }

    body.pn-pcf #hero .pcf-plans #pricing .price_wrapper.lite:is(.pro, .business, .teams) .header .price > .ideal:not(.price-teams-min) {
        margin-top: 2px !important;
    }

    body.pn-pcf #hero .pcf-plans #pricing .price_wrapper.lite.business .header .label-container {
        top: 16px !important;
    }
}

/* "Compare all features", "Show all 17 questions" and the phone cards' "See all features". */
body.pn-pcf button.pcf-more {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin: 16px auto 0;
    padding: 10px 20px;
    border: 1px solid #d4d4d8;
    border-radius: var(--pns-r-btn);
    background: #ffffff;
    color: var(--pcf-ink);
    font: inherit;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.25;
    cursor: pointer;
}

body.pn-pcf button.pcf-more:hover {
    border-color: var(--pcf-ink);
}

body.pn-pcf button.pcf-more[hidden],
body.pn-pcf button.pcf-card-more {
    display: none;
}

body.pn-pcf button.pcf-more:focus-visible,
body.pn-pcf button.pcf-card-more:focus-visible {
    outline: 2px solid #5d5fef !important;
    outline-offset: 2px;
}

body.pn-pcf .pcf-compare p.pcf-table-hint {
    display: none;
}

/* ============ FAQ: six questions first, the rest behind "Show all 17 questions" ============ */
body.pn-pcf.pn-pcf .pn-page .pcf-faq .faq-container.pcf-short > .faq-item.pcf-faq-extra {
    display: none !important;
}

body.pn-pcf.pn-pcf .pn-page .pcf-faq button.pcf-faq-more {
    margin: 20px 0 0;
}

body.pn-pcf.pn-pcf .pn-page .pcf-faq .faq-question {
    padding: 18px 0 !important;
}

/* ============ Phones ============ */
@media (max-width: 680px) {
    body.pn-pcf .pcf-panel.pcf-faq {
        padding-top: 32px;
        padding-bottom: 32px;
    }

    body.pn-pcf .pcf-close {
        padding: 44px 16px 48px;
    }

    body.pn-pcf #hero .pcf-plans #pricing .price_wrapper .header .price .price-bold {
        font-size: var(--pns-h3) !important;
    }

    body.pn-pcf.pn-pcf .pn-page .pcf-faq .faq-answer-content p {
        font-size: var(--pns-body) !important;
    }

    /* The second list folds behind "See all features" (button added by the page script). */
    body.pn-pcf #hero .pcf-plans #pricing .price_wrapper.lite.pcf-fold > .section.pricing-details {
        display: none !important;
    }

    body.pn-pcf #hero .pcf-plans #pricing .price_wrapper.lite > button.pcf-card-more {
        order: 5;
        display: block;
        align-self: flex-start;
        min-height: 44px;
        margin: 4px 0 -10px;
        padding: 0;
        border: 0;
        background: transparent;
        color: var(--pcf-ink-2);
        font: inherit;
        font-size: 15px;
        font-weight: 500;
        text-decoration: underline;
        text-decoration-color: #d4d4d8;
        text-underline-offset: 4px;
        cursor: pointer;
    }

    body.pn-pcf .pcf-compare p.pcf-table-hint {
        display: block;
        margin: -12px 0 12px;
        color: var(--pcf-ink-3);
        font-size: 14px;
        line-height: 1.4;
        text-align: center;
    }

    /* On one column nothing sits beside a card, so the chip row is not kept in monthly mode (it would leave a 39px
     * gap above every button on the longest page). */
    body.pn-pcf:has(.switchSelector.monthly-button.cta-blue) #hero .pcf-plans #pricing .price_wrapper ul.perks > li:has(> .custom-saving3) {
        display: none !important;
    }

    /* Header buttons wrap inside their 120px column (review item 2: "Начать 7-дневный пробный период" ran into the
     * next column). */
    body.pn-pcf.pn-pcf .pn-page .pcf-compare .mpt-table th.mpt-table__header-cell a.button,
    body.pn-pcf.pn-pcf .pn-page .pcf-compare .mpt-table th.mpt-table__header-cell a.button:focus {
        width: 100% !important;
        min-height: 40px;
        padding: 8px 8px !important;
        font-size: 13px !important;
        white-space: normal;
        text-align: center;
    }

    body.pn-pcf.pn-pcf .pn-page .pcf-compare .mpt-table .mpt-table__header-cell,
    body.pn-pcf.pn-pcf .pn-page .pcf-compare .mpt-table .mpt-table__cell {
        padding-left: 10px !important;
        padding-right: 10px !important;
        font-size: 14px !important;
    }

    body.pn-pcf.pn-pcf .pn-page .pcf-compare .mpt-table .mpt-table__feature-cell {
        font-size: 14px !important;
    }

    body.pn-pcf.pn-pcf .pn-page .pcf-compare .mpt-table .mpt-table__header-cell .price-bold {
        font-size: 16px !important;
    }

    body.pn-pcf.pn-pcf .pn-page .pcf-compare .mpt-table .mpt-table__header-cell:not(:first-child) {
        width: 120px !important;
    }
}

/* Without the Free card (production hides it while new signups must start a trial) the custom card spans the row:
 * text on the left, button on the right, so the full-width card is one compact band (184px tall stacked). */
@media (min-width: 900px) {
    body.pn-pcf .pcf-plans:not(:has(.price_wrapper.free)) .pcf-custom.pricing-publish {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        column-gap: 32px;
        align-items: center;
    }

    body.pn-pcf .pcf-plans:not(:has(.price_wrapper.free)) .pcf-custom.pricing-publish > :not(a) {
        grid-column: 1;
    }

    body.pn-pcf .pcf-plans:not(:has(.price_wrapper.free)) .pcf-custom.pricing-publish > p {
        margin-bottom: 0;
    }

    body.pn-pcf .pcf-plans:not(:has(.price_wrapper.free)) .pcf-custom.pricing-publish > a.contactus {
        grid-column: 2;
        grid-row: 1 / span 2;
        margin-top: 0;
    }
}
