/* xMonthly AI Cloud Tour — generated tour page styles */
body.xmct-tour-page { background: #f4f5f8; margin: 0; padding: 0; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; }

/* ── Hero ────────────────────────────────────────────────────────────────── */
.xmct-tp-hero {
    background: <?php echo $hero_style === 'solid' ? '#0F5FC0' : 'linear-gradient(140deg, #1e2d45 0%, #0e4fa8 60%, #1a6fd4 100%)'; ?>;
    padding: 48px 32px 44px;
    text-align: center;
    color: #fff;
}
.xmct-tp-hero h1 {
    font-size: clamp(24px, 3vw, 38px);
    font-weight: 700;
    margin: 0 0 12px;
    line-height: 1.2;
}
.xmct-tp-hero-sub { font-size: 16px; color: rgba(255,255,255,0.8); margin: 0; }

/* ── Tab navigation ──────────────────────────────────────────────────────── */
.xmct-tp-tabs-wrap {
    background: #fff;
    border-bottom: 2px solid #D1D7E0;
    position: sticky;
    top: 0;
    z-index: 100;
}

/* All tabs — always pill style, always wrapping */
.xmct-tp-tabs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 14px 24px 0 !important;
    max-width: 1200px;
    margin: 0 auto;
}

.xmct-tp-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border: 2px solid #D1D7E0;
    border-radius: 20px;
    background: none;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    color: #6B7C93;
    white-space: nowrap;
    font-family: inherit;
    flex-shrink: 0;
    margin: 0 8px 14px 0 !important;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.xmct-tp-tab img { width: 20px; height: 20px; object-fit: contain; }
.xmct-tp-tab:hover {
    border-color: #0F5FC0;
    color: #0F5FC0;
    background: rgba(15,95,192,0.05);
}
.xmct-tp-tab.xmct-tp-tab--active {
    background: #0F5FC0;
    border-color: #0F5FC0;
    color: #fff;
    font-weight: 600;
}

/* --many modifier kept for backwards compat */
.xmct-tp-tabs--many { padding: 12px 24px; }
.xmct-tp-tabs--many .xmct-tp-tab { margin-bottom: 0; }
.xmct-tp-tabs--many .xmct-tp-tab:hover { border-color: #0F5FC0; color: #0F5FC0; background: rgba(15,95,192,0.05); }
.xmct-tp-tabs--many .xmct-tp-tab.xmct-tp-tab--active { background: #0F5FC0; border-color: #0F5FC0; color: #fff; font-weight: 600; }

/* ── Tab panels ──────────────────────────────────────────────────────────── */
.xmct-tp-panels { max-width: 1200px; margin: 0 auto; padding: 40px 24px; }
.xmct-tp-panel { display: none; }
.xmct-tp-panel.xmct-tp-panel--active { display: block; }

.xmct-tp-panel-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: stretch; /* equal height columns */
}
@media (max-width: 860px) {
    .xmct-tp-panel-top { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .xmct-tp-panels { padding: 24px 16px; }
}

/* ── Mobile tab strip: single scrollable row ─────────────────────────────
   Prevents the awkward orphaned-pill wrapping on narrow screens.
   Tabs stay on one line; strip scrolls horizontally.
   Desktop (> 600px) keeps the existing wrap behavior.              */
@media (max-width: 600px) {
    .xmct-tp-tabs-wrap {
        /* Allow the strip to scroll without showing a scrollbar */
        overflow-x: auto;
        overflow-y: visible;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;          /* Firefox */
    }
    .xmct-tp-tabs-wrap::-webkit-scrollbar { display: none; } /* Chrome/Safari */

    .xmct-tp-tabs {
        flex-wrap: nowrap !important;   /* single row — no wrapping */
        padding: 12px 16px 0 !important;
        width: max-content;             /* let the row be as wide as it needs */
        min-width: 100%;                /* but never narrower than the viewport */
    }

    .xmct-tp-tab {
        flex-shrink: 0 !important;      /* tabs never compress below natural size */
        margin: 0 8px 12px 0 !important;
    }
}

/* ── Left: product identity ──────────────────────────────────────────────── */
.xmct-tp-product-col {
    background: #fff;
    border: 1px solid #D1D7E0;
    border-radius: 14px;
    padding: 32px;
    display: flex;
    flex-direction: column;
}
.xmct-tp-product-logo-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #E6E7EC;
}
.xmct-tp-product-logo {
    width: 72px; height: 72px;
    object-fit: contain;
    background: #f4f5f8;
    border-radius: 14px;
    padding: 8px;
    flex-shrink: 0;
}
.xmct-tp-product-name { font-size: 26px; font-weight: 700; color: #0F5FC0; margin: 0; line-height: 1.2; }
.xmct-tp-about-heading-link { color: inherit; text-decoration: none; }
.xmct-tp-about-heading-link:hover { text-decoration: underline; }
.xmct-tp-about-logo-link { display: contents; }

/* Tagline — prominent, no label */
.xmct-tp-tagline {
    font-size: 17px;
    font-weight: 600;
    color: #2F3B52;
    line-height: 1.5;
    margin: 0 0 20px;
}

.xmct-tp-feature-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
    flex-grow: 1;
}
.xmct-tp-feature-item {
    font-size: 15px;
    color: #2F3B52;
    line-height: 1.55;
    padding-left: 16px;
    position: relative;
}
.xmct-tp-feature-item::before {
    content: '';
    position: absolute;
    left: 0; top: 8px;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #0F5FC0;
    flex-shrink: 0;
}
.xmct-tp-feature-name { font-weight: 700; color: #2F3B52; }
.xmct-tp-feature-desc { color: #6B7C93; }

/* ── Right: video + buttons ──────────────────────────────────────────────── */
.xmct-tp-media-col { display: flex; flex-direction: column; gap: 12px; }
.xmct-tp-playlist-embed {
    position: relative;
    width: 100%;
    padding-bottom: 52%; /* slightly shorter than 16:9 to balance with left col */
    height: 0;
    border-radius: 12px;
    overflow: hidden;
    background: #e2e8f0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.10);
}
.xmct-tp-playlist-embed iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: 0;
}
.xmct-tp-product-actions { display: flex; flex-direction: column; gap: 10px; }

/* ── Documentation links ─────────────────────────────────────── */
.xmct-tp-links-block {
    margin-bottom: 20px;
}
.xmct-tp-links-block--subtle {
    margin-bottom: 16px;
    padding-top: 14px;
    border-top: 1px solid #E8ECF1;
}
.xmct-tp-links-header {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: #9aa5b4;
    margin: 0 0 8px;
}
.xmct-tp-links-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.xmct-tp-links-list li a {
    font-size: 13px;
    color: #0F5FC0;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.xmct-tp-links-list li a::after {
    content: '↗';
    font-size: 11px;
    opacity: .7;
}
.xmct-tp-links-list li a:hover { text-decoration: underline; }
.xmct-tp-links-block--subtle .xmct-tp-links-list li a {
    font-size: 12px;
    color: #6B7C93;
}

/* ── Consultation copy (no-pricing fallback) ─────────────────── */
.xmct-tp-consultation-copy {    background: #F8F9FC;
    border: 1px solid #E8ECF1;
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 20px;
}
.xmct-tp-consultation-copy p {
    font-size: 13px;
    color: #6B7C93;
    line-height: 1.65;
    margin: 0;
}
/* ── Blog post card (media column alternative to video) ─────── */
.xmct-tp-blog-card {
    display: block;
    border: 1px solid #D1D7E0;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    background: #fff;
    transition: box-shadow .15s, border-color .15s;
    margin-bottom: 20px;
}
.xmct-tp-blog-card:hover { box-shadow: 0 4px 16px rgba(15,95,192,.12); border-color: #b0c4e8; }
.xmct-tp-blog-card-img { width: 100%; max-height: 180px; object-fit: cover; display: block; }
.xmct-tp-blog-card-body { padding: 14px 16px; }
.xmct-tp-blog-card-title { font-size: 14px; font-weight: 700; color: #2F3B52; margin: 0 0 6px; line-height: 1.4; }
.xmct-tp-blog-card-desc {
    font-size: 13px; color: #6B7C93; line-height: 1.55; margin: 0 0 10px;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.xmct-tp-blog-card-cta { font-size: 13px; font-weight: 600; color: #0F5FC0; }

.xmct-tp-btn {
    display: block;
    text-align: center;
    padding: 14px 24px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    border: none;
    background: #0F5FC0;
    color: #fff !important;
    font-family: inherit;
    transition: background 0.15s;
}
.xmct-tp-btn:hover { background: #2563EB; }
.xmct-tp-btn--outline {
    background: #fff;
    color: #0F5FC0 !important;
    border: 2px solid #0F5FC0;
}
.xmct-tp-btn--outline:hover { background: #f0f6ff; }

/* ── Service cards grid ──────────────────────────────────────────────────── */
.xmct-tp-services-section { margin-top: 40px; }
.xmct-tp-services-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6B7C93;
    margin: 0 0 16px;
}
.xmct-tp-service-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
@media (max-width: 900px) {
    .xmct-tp-service-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .xmct-tp-service-cards { grid-template-columns: 1fr; }
}
.xmct-tp-service-card {
    background: #fff;
    border: 1px solid #D1D7E0;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
    transition: box-shadow 0.15s, border-color 0.15s;
}
.xmct-tp-service-card:hover {
    box-shadow: 0 4px 18px rgba(15,95,192,0.10);
    border-color: #b3c9ef;
}
.xmct-tp-service-card--community { border-style: dashed; }
.xmct-tp-service-community-attr {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: #0F5FC0;
    margin: -6px 0 10px;
}
.xmct-tp-service-card-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.xmct-tp-service-icon-link { display: flex; flex-shrink: 0; }
.xmct-tp-service-icon {
    width: 44px; height: 44px; object-fit: contain;
    background: #f4f5f8; border-radius: 10px; padding: 6px;
}
.xmct-tp-service-name { font-size: 15px; font-weight: 700; color: #0F5FC0; margin: 0; line-height: 1.3; }
.xmct-tp-service-name-link { color: inherit; text-decoration: none; }
.xmct-tp-service-name-link:hover { text-decoration: underline; }
.xmct-tp-service-body             { flex-grow: 1; display: flex; flex-direction: column; }
.xmct-tp-service-body--no-price   { margin-bottom: 28px; }
.xmct-tp-service-excerpt { font-size: 15px; color: #6B7C93; margin: 0 0 8px; line-height: 1.55; }
.xmct-tp-service-price   { font-size: 22px; font-weight: 700; color: #0F5FC0; margin: auto 0 16px; text-align: center; width: 100%; padding-top: 12px; border-top: 1px solid #E6E7EC; }
.xmct-tp-service-btn {
    display: block;
    text-align: center;
    padding: 11px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    background: #0F5FC0;
    color: #fff !important;
    font-family: inherit;
    transition: background 0.15s;
    margin-top: auto;
}
.xmct-tp-service-btn:hover { background: #2563EB; }
.xmct-tp-no-services {
    background: #fff;
    border: 1px dashed #D1D7E0;
    border-radius: 12px;
    padding: 32px;
    text-align: center;
    color: #6B7C93;
    font-size: 14px;
}

/* ── ISV product tabs (nested within company panel) ────────────────────────
   Used when a product submission has submission_mode = 'isv'.
   Company header stays anchored; products are inner pill tabs;
   clicking a product shows its service cards below.             */
.xmct-tp-isv-section { margin-top: 40px; }

.xmct-tp-isv-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}
.xmct-tp-isv-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border: 2px solid #D1D7E0;
    border-radius: 20px;
    background: none;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    color: #6B7C93;
    white-space: nowrap;
    font-family: inherit;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.xmct-tp-isv-tab img { width: 20px; height: 20px; object-fit: contain; border-radius: 4px; }
.xmct-tp-isv-tab:hover { border-color: var(--xmct-accent, #0F5FC0); color: var(--xmct-accent, #0F5FC0); background: rgba(15,95,192,0.05); }
.xmct-tp-isv-tab--active {
    background: var(--xmct-accent, #0F5FC0) !important;
    border-color: var(--xmct-accent, #0F5FC0) !important;
    color: #fff !important;
    font-weight: 600;
}
.xmct-tp-isv-tab-badge {
    background: rgba(255,255,255,0.22);
    border-radius: 10px;
    font-size: 11px;
    font-weight: 700;
    padding: 1px 6px;
    min-width: 18px;
    text-align: center;
    color: #fff;
}
.xmct-tp-isv-tab:not(.xmct-tp-isv-tab--active) .xmct-tp-isv-tab-badge {
    background: #E6E7EC;
    color: #6B7C93;
}

.xmct-tp-isv-pane { display: none; }
.xmct-tp-isv-pane--active { display: block; }

/* ISV product pane: product-col is the full description side, not a card */
.xmct-tp-isv-pane .xmct-tp-product-col {
    background:    transparent;
    border:        none;
    border-radius: 0;
    box-shadow:    none;
    padding:       0;
}

.xmct-tp-isv-product-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid #E6E7EC;
}
.xmct-tp-isv-product-logo {
    width: 44px; height: 44px;
    object-fit: contain;
    background: #f4f5f8;
    border-radius: 10px;
    padding: 6px;
    flex-shrink: 0;
}
.xmct-tp-isv-product-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--xmct-accent, #0F5FC0);
    margin: 0 0 3px;
    line-height: 1.25;
}
.xmct-tp-isv-product-tagline {
    font-size: 13px;
    color: #6B7C93;
    margin: 0;
}



/* ── About tab ───────────────────────────────────────────────────────────── */
.xmct-tp-about-paragraph {
    font-size: 15px;
    color: #4A5568;
    line-height: 1.7;
    margin: 0 0 16px;
}
.xmct-tp-about-paragraph:last-of-type { margin-bottom: 20px; }
.xmct-tp-desc-bullets {
    margin: 0 0 16px;
    padding-left: 20px;
    color: #4A5568;
    font-size: 15px;
    line-height: 1.7;
}
.xmct-tp-desc-bullets li { margin-bottom: 4px; }
.xmct-tp-about-full {
    background: #fff;
    border: 1px solid #D1D7E0;
    border-radius: 14px;
    padding: 36px 32px;
    text-align: center;
    max-width: 780px;
    margin: 0 auto;
}
.xmct-tp-about-full .xmct-tp-product-col {
    background: none;
    border: none;
    border-radius: 0;
    padding: 0;
    align-items: center;
}
.xmct-tp-about-full .xmct-tp-product-logo-row {
    justify-content: center;
}
.xmct-tp-about-full .xmct-tp-tagline {
    text-align: center;
}
.xmct-tp-about-full .xmct-tp-about-paragraph {
    text-align: center;
}
.xmct-tp-about-full .xmct-tp-feature-list {
    display: inline-flex;
    text-align: left;
}
.xmct-tp-about-full .xmct-tp-product-actions {
    display: flex;
    justify-content: center;
}
.xmct-tp-about-tagline {
    font-size: 17px;
    font-weight: 600;
    color: #2F3B52;
    margin: 0 0 14px;
    line-height: 1.4;
}
.xmct-tp-about-body {
    font-size: 15px;
    color: #4A5568;
    line-height: 1.7;
    margin: 0;
}
.xmct-tp-about-summary {
    font-size: 16px;
    font-weight: 700;
    color: #2F3B52;
    margin: 0 0 14px;
    line-height: 1.5;
}
.xmct-tp-about-bullets {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.xmct-tp-about-bullets li {
    padding-left: 18px;
    position: relative;
    font-size: 15px;
    color: #6B7C93;
    line-height: 1.5;
}
.xmct-tp-about-bullets li::before {
    content: '\2022';
    position: absolute;
    left: 0;
    color: #2F3B52;
    font-weight: 700;
}
.xmct-tp-about-bullets li strong {
    color: #2F3B52;
    font-weight: 600;
}

/* ── Contact form section ─────────────────────────────────────────────────── */
.xmct-tp-contact {
    background: #f4f5f8;
    border-top: 4px solid #0F5FC0;
    padding: 60px 32px;
}
.xmct-tp-contact-inner {
    max-width: 760px;
    margin: 0 auto;
}
.xmct-tp-contact-header {
    text-align: center;
    margin-bottom: 36px;
}
.xmct-tp-contact-header h2 {
    font-size: clamp(24px, 3vw, 38px);
    font-weight: 700;
    color: #0F5FC0;
    margin: 0 0 10px;
}
.xmct-tp-contact-header p {
    font-size: 16px;
    color: #6B7C93;
    margin: 0;
    line-height: 1.6;
}

/* Form card */
.xmct-tp-form-card {
    background: #fff;
    border: 1px solid #D1D7E0;
    border-radius: 16px;
    padding: 40px 44px;
    box-shadow: 0 2px 16px rgba(15,95,192,0.07);
}
@media (max-width: 600px) {
    .xmct-tp-form-card { padding: 28px 20px; }
}

/* Gravity Forms overrides — labels and submit button */
.xmct-tp-form-card .gfield_label,
.xmct-tp-form-card .gform-field-label {
    color: #2F3B52 !important;
    font-weight: 600 !important;
    font-size: 14px !important;
}
.xmct-tp-form-card .gfield_required {
    color: #e53e3e !important;
}
.xmct-tp-form-card .gform_button,
.xmct-tp-form-card input[type="submit"] {
    background: #0F5FC0 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    padding: 13px 32px !important;
    cursor: pointer !important;
    font-family: inherit !important;
    transition: background 0.15s !important;
    box-shadow: none !important;
}
.xmct-tp-form-card .gform_button:hover,
.xmct-tp-form-card input[type="submit"]:hover {
    background: #2563EB !important;
}

/* ── Footer ──────────────────────────────────────────────────────────────── */
.xmct-tp-footer {
    background: #2F3B52;
    padding: 24px 32px;
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-size: 13px;
}
.xmct-tp-footer a { color: rgba(255,255,255,0.7); text-decoration: none; }
.xmct-tp-footer a:hover { color: #fff; }


/* ── Licensing section ───────────────────────────────────────────────────── */
.xmct-tp-licenses-section {
    margin-top: 48px;
    padding-top: 40px;
    border-top: 2px solid #E6E7EC;
}
.xmct-tp-licenses-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}
.xmct-tp-licenses-header svg {
    width: 16px;
    height: 16px;
    color: #6B7C93;
    flex-shrink: 0;
}
.xmct-tp-license-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
@media (max-width: 900px) {
    .xmct-tp-license-cards { grid-template-columns: 1fr; }
}
.xmct-tp-license-card {
    background: #fff;
    border: 1px solid #D1D7E0;
    border-top: 3px solid #0F5FC0;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
    transition: box-shadow 0.15s, border-color 0.15s;
}
.xmct-tp-license-card:hover {
    box-shadow: 0 4px 18px rgba(15,95,192,0.10);
    border-color: #b3c9ef;
}
.xmct-tp-license-logo-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
a.xmct-tp-license-logo-link {
    text-decoration: none;
}
a.xmct-tp-license-logo-link:hover .xmct-tp-license-name {
    text-decoration: underline;
}
.xmct-tp-license-logo {
    width: 44px;
    height: 44px;
    object-fit: contain;
    background: #f4f5f8;
    border-radius: 10px;
    padding: 6px;
    flex-shrink: 0;
}
.xmct-tp-license-name {
    font-size: 15px;
    font-weight: 700;
    color: #0F5FC0;
    margin: 0;
    line-height: 1.3;
}
.xmct-tp-license-bestfor {
    font-size: 15px;
    color: #6B7C93;
    line-height: 1.5;
    margin: 0 0 20px;
}
.xmct-tp-license-pricing {
    background: #F8FAFC;
    border-radius: 8px;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
    flex-grow: 1;
}
.xmct-tp-license-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}
/* N/A tier row — muted, right-aligned italic label */
.xmct-tp-license-price-row--na {
    opacity: .55;
}
.xmct-tp-license-price-na {
    font-size: 11px;
    font-style: italic;
    color: #9AA5B4;
    flex-shrink: 0;
    text-align: right;
}
/* Add-on callout banner */
.xmct-tp-addon-callout {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 600;
    color: #6B7C93;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: 12px;
    padding: 6px 10px;
    background: #F4F5F8;
    border-radius: 6px;
}
.xmct-tp-addon-callout a { color: #0F5FC0; text-decoration: none; display:flex;align-items:center;gap:6px; }
.xmct-tp-addon-callout a:hover { text-decoration: underline; }
.xmct-tp-addon-logo {
    width: 20px;
    height: 20px;
    object-fit: contain;
    border-radius: 3px;
}
.xmct-tp-license-price-label {
    font-size: 12px;
    color: #6B7C93;
    flex-grow: 1;
    line-height: 1.4;
}
.xmct-tp-license-price-amount {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    flex-shrink: 0;
    font-size: 13px;
    font-weight: 600;
    color: #2F3B52;
    text-align: right;
}
.xmct-tp-license-price-amount em {
    display: block;
    font-size: 10px;
    font-weight: 400;
    font-style: normal;
    color: #9AA5B4;
    white-space: nowrap;
    line-height: 1.3;
}
/* Annual upfront row: same horizontal layout as other rows,
   lump sum wraps to a new right-aligned line beneath the monthly price. */
.xmct-tp-license-price-row--upfront {
    flex-wrap: wrap;
    align-items: baseline;
}
.xmct-tp-license-price-row--upfront .xmct-tp-license-price-label {
    flex: 1;
    min-width: 0;
}
.xmct-tp-license-price-lump {
    flex-basis: 100%;
    font-size: 11px;
    color: #9AA5B4;
    text-align: right;
    margin-top: 2px;
}
.xmct-tp-license-price-row--primary .xmct-tp-license-price-amount {
    font-size: 22px;
    font-weight: 700;
    color: #0F5FC0;
    line-height: 1;
}
.xmct-tp-license-price-row--primary .xmct-tp-license-price-label {
    font-size: 13px;
    font-weight: 600;
    color: #2F3B52;
}
.xmct-tp-license-save-badge {
    display: inline-block;
    background: #DCFCE7;
    color: #166534;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 20px;
    margin-left: 6px;
    vertical-align: middle;
    letter-spacing: 0.02em;
}
.xmct-tp-license-btn {
    display: block;
    text-align: center;
    padding: 11px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    background: var(--xmct-accent, #0F5FC0);
    color: #fff !important;
    font-family: inherit;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
    margin-top: auto;
    border: 2px solid var(--xmct-accent, #0F5FC0);
    box-sizing: border-box;
}
.xmct-tp-license-btn:hover { background: color-mix(in srgb, var(--xmct-accent, #0F5FC0) 85%, #000); border-color: color-mix(in srgb, var(--xmct-accent, #0F5FC0) 85%, #000); }
/* Outline variant for Request Consultation */
.xmct-tp-license-btn--outline {
    background: transparent !important;
    color: var(--xmct-accent, #0F5FC0) !important;
    border-color: var(--xmct-accent, #0F5FC0) !important;
}
.xmct-tp-license-btn--outline:hover {
    background: color-mix(in srgb, var(--xmct-accent, #0F5FC0) 8%, transparent) !important;
    color: var(--xmct-accent, #0F5FC0) !important;
}
/* Two-button layout: natural width, wraps if needed */
.xmct-tp-license-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
}
.xmct-tp-license-btns .xmct-tp-license-btn {
    flex: 1 1 auto;
    margin-top: 0;
    white-space: nowrap;
    min-width: 0;
}
.xmct-tp-licenses-note {
    font-size: 12px;
    color: #9AA5B4;
    margin: 14px 0 0;
    text-align: center;
}

/* Info preview mode — hide action buttons, keep content readable */
body.xmct-wpp-info-mode .xmct-tp-product-actions,
body.xmct-wpp-info-mode .xmct-tp-service-btn,
body.xmct-wpp-info-mode .xmct-tp-contact { display: none !important; }
body.xmct-wpp-info-mode .xmct-tp-service-body--no-price { margin-bottom: 0; }

/* Hide hero when embedded in iframe on homepage */
.xmct-in-iframe .xmct-tp-hero { display: none !important; }
