/* Final dark UI pass loaded after WordPress-imported page styles. */
body.atp-cake.page-id-16,
body.atp-cake.page-id-168,
body.atp-cake.page-id-250,
body.atp-cake.page-id-407,
body.atp-cake.page-id-1030,
body.atp-cake.page-id-1368,
body.atp-cake.page-id-1571,
body.atp-cake.page-id-1990 {
    background: #060e06 !important;
}

/* Soft light UI theme override for ATPHosting24. Loaded last on the dev site. */
:root {
    --bg: #f8fbf7;
    --bg-soft: #eef8f2;
    --panel: #ffffff;
    --panel-soft: #f3faf5;
    --ink: #102d1f;
    --muted: #587366;
    --line: #d8eadf;
    --brand: #058a52;
    --brand-dark: #047144;
    --accent: #f4b400;
    --white: #ffffff;
    --shadow: 0 18px 42px rgba(20, 74, 46, .12);
}

body.atp-cake,
body.atp-cake.page-id-16,
body.atp-cake.page-id-168,
body.atp-cake.page-id-250,
body.atp-cake.page-id-407,
body.atp-cake.page-id-1030,
body.atp-cake.page-id-1368,
body.atp-cake.page-id-1571,
body.atp-cake.page-id-1990 {
    color: var(--ink) !important;
    background:
        radial-gradient(circle at top left, rgba(5, 138, 82, .08), transparent 30%),
        linear-gradient(180deg, #ffffff 0%, #f8fbf7 38%, #eef8f2 100%) !important;
}

body.atp-cake::before {
    opacity: .025 !important;
}

body.atp-cake .site-header,
body.atp-cake .header-nav-wrap,
body.atp-cake .mobile-menu-panel {
    color: var(--ink) !important;
    border-color: var(--line) !important;
    background: rgba(255, 255, 255, .94) !important;
    box-shadow: 0 12px 30px rgba(20, 74, 46, .08) !important;
    backdrop-filter: blur(16px);
}

body.atp-cake .site-utility,
body.atp-cake .footer-bottom {
    color: #416454 !important;
    border-color: var(--line) !important;
    background: #f0f8f3 !important;
}

body.atp-cake .utility-item,
body.atp-cake .primary-menu > .menu-item > a,
body.atp-cake .mobile-menu a,
body.atp-cake .header-contact {
    color: #183b2b !important;
}

body.atp-cake .primary-menu a:hover,
body.atp-cake .primary-menu .menu-item.active > a,
body.atp-cake .utility-item .material-icons-round,
body.atp-cake .header-contact strong {
    color: var(--brand) !important;
}

body.atp-cake .sub-menu {
    border-color: rgba(5, 138, 82, .16) !important;
    background: #ffffff !important;
    box-shadow: 0 18px 34px rgba(20, 74, 46, .14) !important;
}

body.atp-cake .sub-menu a {
    color: #183b2b !important;
    border-color: var(--line) !important;
}

body.atp-cake .hero,
body.atp-cake .page-hero,
body.atp-cake .source-page-hero {
    color: var(--ink) !important;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .96), rgba(236, 248, 240, .9)),
        var(--page-banner, none) center / cover no-repeat,
        #f8fbf7 !important;
}

body.atp-cake .hero::before,
body.atp-cake .page-hero::before {
    opacity: .12 !important;
    background-image:
        linear-gradient(rgba(5, 138, 82, .14) 1px, transparent 1px),
        linear-gradient(90deg, rgba(5, 138, 82, .14) 1px, transparent 1px) !important;
}

body.atp-cake .hero h1,
body.atp-cake .page-hero h1,
body.atp-cake .source-page-hero h1,
body.atp-cake :is(h1, h2, h3, h4, h5, h6) {
    color: var(--ink) !important;
    text-shadow: none !important;
}

body.atp-cake .hero-copy,
body.atp-cake .page-hero p,
body.atp-cake .source-page-hero p,
body.atp-cake :is(p, li, small, td, summary, label) {
    color: var(--muted) !important;
}

body.atp-cake .eyebrow,
body.atp-cake .plan-group,
body.atp-cake .plan-price,
body.atp-cake .center-link a,
body.atp-cake :is(a, strong, b) {
    color: var(--brand) !important;
}

body.atp-cake .section,
body.atp-cake .source-page-section,
body.atp-cake .system-status-section {
    background: transparent !important;
}

body.atp-cake .section-soft {
    background: linear-gradient(180deg, #ffffff 0%, var(--panel-soft) 48%, #ffffff 100%) !important;
}

body.atp-cake :is(
    .plan-card,
    .page-card,
    .content-panel,
    .source-link-card,
    .table-wrap,
    .atp-system-page,
    .home-visual,
    .home-visual-card,
    .hosting-status,
    .footer-contact-strip,
    .footer-contact-card
) {
    color: var(--ink) !important;
    border-color: var(--line) !important;
    background: rgba(255, 255, 255, .94) !important;
    box-shadow: var(--shadow) !important;
}

body.atp-cake .content-panel.source-page-panel {
    background: #ffffff !important;
}

body.atp-cake .home-visual {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .94), rgba(255, 255, 255, .82)),
        var(--rocket) center 36px / 72% auto no-repeat !important;
}

body.atp-cake .service-ticker {
    border-color: var(--line) !important;
    background: #ffffff !important;
}

body.atp-cake .service-ticker span,
body.atp-cake .hosting-status-left,
body.atp-cake .hosting-status-right span {
    color: #587366 !important;
}

body.atp-cake .atp-btn,
body.atp-cake .visual-content-panel :is(.atp-btn, .atp-sh-btn, .atp-seo-btn, .atp-dev-btn, .atp-order, .atp-training-btn, .atp-payment-btn, button) {
    color: var(--brand) !important;
    border-color: rgba(5, 138, 82, .22) !important;
    background: #ffffff !important;
    box-shadow: 0 8px 20px rgba(20, 74, 46, .08) !important;
}

body.atp-cake .atp-btn-primary,
body.atp-cake .header-actions,
body.atp-cake .header-register,
body.atp-cake .visual-content-panel :is(.atp-btn-primary, .atp-sh-btn-primary, .atp-sh-btn-card, .atp-seo-btn-primary, .atp-dev-btn-primary, .atp-order, .atp-training-btn-primary, .atp-payment-btn-primary, input[type="submit"]) {
    color: #ffffff !important;
    border-color: transparent !important;
    background: linear-gradient(135deg, var(--brand), var(--brand-dark)) !important;
    box-shadow: 0 12px 26px rgba(5, 138, 82, .18) !important;
}

body.atp-cake .header-actions a,
body.atp-cake .header-actions a .material-icons-round {
    color: #ffffff !important;
}

body.atp-cake .header-link {
    border-color: rgba(255, 255, 255, .28) !important;
}

body.atp-cake .price-table th,
body.atp-cake .visual-content-panel th {
    color: #0f2b1d !important;
    border-color: var(--line) !important;
    background: #e8f6ed !important;
}

body.atp-cake .price-table td,
body.atp-cake .visual-content-panel td {
    color: #416454 !important;
    border-color: var(--line) !important;
    background: #ffffff !important;
}

body.atp-cake .footer {
    color: var(--muted) !important;
    border-color: var(--line) !important;
    background: #f4faf6 !important;
}

body.atp-cake .footer-main-grid,
body.atp-cake .footer-contact-strip {
    background: transparent !important;
}

body.atp-cake .footer h3,
body.atp-cake .footer-contact-card strong {
    color: var(--ink) !important;
}

body.atp-cake .footer-about p,
body.atp-cake .footer-links a,
body.atp-cake .footer-contact-card span,
body.atp-cake .footer-bottom-row {
    color: #587366 !important;
}

body.atp-cake .footer-mark {
    background: #ffffff !important;
    box-shadow: 0 10px 24px rgba(20, 74, 46, .08) !important;
}

body.atp-cake .floating-top {
    color: var(--brand) !important;
    border-color: var(--line) !important;
    background: #ffffff !important;
    box-shadow: 0 10px 24px rgba(20, 74, 46, .12) !important;
}

body.atp-cake .visual-content-panel :is(
    .atp-hero,
    .atp-sh-hero,
    .atp-seo-hero,
    .atp-dev-hero,
    .atp-training-hero,
    .atp-payment-hero,
    .atp-bottom-cta,
    .atp-sh-final-cta,
    .atp-seo-final,
    .atp-dev-final-cta,
    .atp-final-cta,
    .atp-card,
    .atp-section,
    .atp-form-wrap,
    .atp-search-box,
    .atp-contact-card,
    .atp-guide-box,
    .atp-plan,
    .atp-feature,
    .atp-callout,
    .atp-note,
    .atp-dev-section,
    .atp-dev-card,
    .atp-dev-step,
    .atp-dev-price,
    .atp-dev-faq details,
    .atp-seo-section,
    .atp-seo-card,
    .atp-seo-phase,
    .atp-seo-plan,
    .atp-seo-kpi,
    .atp-seo-kpi-grid article,
    .atp-seo-faq details,
    .atp-sh-plans,
    .atp-sh-compare,
    .atp-sh-features,
    .atp-sh-guidance,
    .atp-sh-plan-card,
    .atp-sh-feature-grid article,
    .atp-sh-guide-box,
    .atp-training-section,
    .atp-training-card,
    .atp-training-plan,
    .atp-payment-section,
    .atp-payment-card,
    .atp-payment-method,
    .atp-rate-list li
) {
    color: var(--ink) !important;
    border-color: var(--line) !important;
    background: rgba(255, 255, 255, .95) !important;
    box-shadow: var(--shadow) !important;
}

body.atp-cake .visual-content-panel :is(.atp-hero, .atp-sh-hero, .atp-seo-hero, .atp-dev-hero, .atp-training-hero, .atp-payment-hero) {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(232, 246, 237, .94)) !important;
}

@media (max-width: 760px) {
    body.atp-cake .site-header,
    body.atp-cake .header-nav-wrap,
    body.atp-cake .mobile-menu-panel {
        background: rgba(255, 255, 255, .98) !important;
    }
}

/* Keep the homepage pricing showcase dark after the global light-theme fixes. */
body.atp-cake section.hosting-plans-section {
    color: #ffffff !important;
    background:
        linear-gradient(180deg, rgba(6, 14, 6, .98), rgba(9, 20, 29, .96)),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 72px),
        repeating-linear-gradient(0deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 72px) !important;
}

body.atp-cake section.hosting-plans-section::before {
    background: linear-gradient(120deg, rgba(0, 230, 118, .13), transparent 32%, rgba(79, 172, 254, .12) 66%, transparent) !important;
}

body.atp-cake section.hosting-plans-section .hosting-plans-head .eyebrow,
body.atp-cake section.hosting-plans-section .hosting-guarantee-item .material-icons-round {
    color: #82f2b5 !important;
}

body.atp-cake section.hosting-plans-section .hosting-plans-head h2,
body.atp-cake section.hosting-plans-section .hosting-plan-card h3,
body.atp-cake section.hosting-plans-section .hosting-plan-amount {
    color: #ffffff !important;
}

body.atp-cake section.hosting-plans-section .hosting-plans-head p,
body.atp-cake section.hosting-plans-section .hosting-plan-tagline,
body.atp-cake section.hosting-plans-section .hosting-plan-features li {
    color: rgba(232, 245, 233, .76) !important;
}

body.atp-cake section.hosting-plans-section .hosting-guarantee-item {
    color: rgba(255, 255, 255, .84) !important;
    border-color: rgba(255, 255, 255, .1) !important;
    background: rgba(255, 255, 255, .055) !important;
}

body.atp-cake section.hosting-plans-section .hosting-plan-card {
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, .12) !important;
    background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .035)) !important;
    box-shadow: 0 20px 48px rgba(0, 0, 0, .26) !important;
}

body.atp-cake section.hosting-plans-section .hosting-plan-card:hover {
    border-color: color-mix(in srgb, var(--plan-accent) 62%, rgba(255, 255, 255, .12)) !important;
    box-shadow: 0 26px 68px rgba(0, 0, 0, .34) !important;
}

body.atp-cake section.hosting-plans-section .hosting-plan-period {
    color: rgba(255, 255, 255, .55) !important;
}

body.atp-cake section.hosting-plans-section .hosting-plan-features .material-icons-round {
    color: var(--plan-accent) !important;
}

body.atp-cake section.hosting-plans-section .hosting-plan-icon,
body.atp-cake section.hosting-plans-section .hosting-plan-button,
body.atp-cake section.hosting-plans-section .hosting-plan-badge {
    color: #06100d !important;
    background: linear-gradient(135deg, var(--plan-accent), var(--plan-accent-2)) !important;
}

body.atp-cake .visual-content-panel {
    color: var(--muted);
}

body.atp-cake .visual-content-panel :is(
    #atp-contact-page,
    #atp-domain-redesign,
    #atp-shared-redesign,
    #atp-seo-redesign,
    #atp-dev-page,
    #atp-training-redesign,
    #atp-payment-redesign,
    .atp-dedicated-2026
) {
    color: var(--muted) !important;
    font-family: "Noto Sans Lao", "Inter", system-ui, sans-serif !important;
}

body.atp-cake .visual-content-panel :is(h1, h2, h3, h4, h5, h6) {
    color: var(--ink) !important;
    letter-spacing: 0 !important;
}

body.atp-cake .visual-content-panel :is(p, li, td, summary, label, small) {
    color: var(--muted) !important;
}

body.atp-cake .visual-content-panel :is(a, strong, b) {
    color: var(--brand) !important;
}

body.atp-cake .visual-content-panel :is(
    .atp-hero,
    .atp-sh-hero,
    .atp-seo-hero,
    .atp-dev-hero,
    .atp-training-hero,
    .atp-payment-hero,
    .atp-bottom-cta,
    .atp-sh-final-cta,
    .atp-seo-final,
    .atp-dev-final-cta,
    .atp-final-cta
) {
    position: relative;
    overflow: hidden;
    color: var(--ink) !important;
    border: 1px solid rgba(0, 230, 118, .18) !important;
    border-radius: 22px !important;
    background:
        linear-gradient(130deg, rgba(5, 56, 39, .98) 0%, rgba(7, 109, 77, .94) 58%, rgba(16, 154, 103, .9) 100%) !important;
    box-shadow: 0 22px 58px rgba(0, 0, 0, .34) !important;
}

body.atp-cake .visual-content-panel :is(
    .atp-hero,
    .atp-sh-hero,
    .atp-seo-hero,
    .atp-dev-hero,
    .atp-training-hero,
    .atp-payment-hero,
    .atp-bottom-cta,
    .atp-sh-final-cta,
    .atp-seo-final,
    .atp-dev-final-cta,
    .atp-final-cta
)::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .16;
    background-image:
        linear-gradient(rgba(255, 255, 255, .18) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .18) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(120deg, #000 0%, transparent 76%);
}

body.atp-cake .visual-content-panel :is(
    .atp-hero,
    .atp-sh-hero,
    .atp-seo-hero,
    .atp-dev-hero,
    .atp-training-hero,
    .atp-payment-hero,
    .atp-bottom-cta,
    .atp-sh-final-cta,
    .atp-seo-final,
    .atp-dev-final-cta,
    .atp-final-cta
) > * {
    position: relative;
    z-index: 1;
}

body.atp-cake .visual-content-panel :is(
    .atp-hero h1,
    .atp-hero h2,
    .atp-sh-hero h1,
    .atp-seo-hero h1,
    .atp-dev-hero h1,
    .atp-training-hero h1,
    .atp-payment-hero h1,
    .atp-bottom-cta h2,
    .atp-sh-final-cta h2,
    .atp-seo-final h2,
    .atp-dev-final-cta h2
) {
    color: #ffffff !important;
    text-shadow: 0 12px 34px rgba(0, 0, 0, .28);
}

body.atp-cake .visual-content-panel :is(
    .atp-hero p,
    .atp-sh-hero p,
    .atp-seo-hero p,
    .atp-dev-hero p,
    .atp-training-hero p,
    .atp-payment-hero p,
    .atp-bottom-cta p,
    .atp-sh-final-cta p,
    .atp-seo-final p,
    .atp-dev-final-cta p
) {
    color: rgba(255, 255, 255, .9) !important;
}

body.atp-cake .visual-content-panel :is(
    .atp-card,
    .atp-section,
    .atp-form-wrap,
    .atp-search-box,
    .atp-contact-card,
    .atp-guide-box,
    .atp-plan,
    .atp-feature,
    .atp-callout,
    .atp-note,
    .atp-dev-section,
    .atp-dev-card,
    .atp-dev-step,
    .atp-dev-price,
    .atp-dev-faq details,
    .atp-seo-section,
    .atp-seo-card,
    .atp-seo-phase,
    .atp-seo-plan,
    .atp-seo-kpi,
    .atp-seo-kpi-grid article,
    .atp-seo-faq details,
    .atp-sh-plans,
    .atp-sh-compare,
    .atp-sh-features,
    .atp-sh-guidance,
    .atp-sh-plan-card,
    .atp-sh-feature-grid article,
    .atp-sh-guide-box,
    .atp-training-section,
    .atp-training-card,
    .atp-training-plan,
    .atp-payment-section,
    .atp-payment-card,
    .atp-payment-method,
    .atp-rate-list li
) {
    border: 1px solid var(--line) !important;
    background: linear-gradient(180deg, rgba(18, 42, 18, .92), rgba(6, 14, 6, .97)) !important;
    box-shadow: 0 18px 44px rgba(0, 0, 0, .28) !important;
}

body.atp-cake .visual-content-panel :is(
    .atp-sh-plan-featured,
    .atp-seo-plan-featured,
    .atp-seo-phase-featured,
    .atp-dev-price-featured,
    .atp-featured,
    .is-featured
) {
    border-color: rgba(0, 230, 118, .42) !important;
    box-shadow: 0 0 0 1px rgba(0, 230, 118, .16), 0 22px 54px rgba(0, 0, 0, .34) !important;
}

body.atp-cake .visual-content-panel :is(
    .atp-eyebrow,
    .atp-kicker,
    .atp-sh-badge,
    .atp-sh-hero-meta span,
    .atp-seo-kicker,
    .atp-seo-chip-row span,
    .atp-dev-eyebrow,
    .atp-dev-tags span,
    .atp-training-kicker,
    .atp-payment-kicker
) {
    color: var(--brand) !important;
    border: 1px solid rgba(0, 230, 118, .2) !important;
    background: rgba(0, 230, 118, .075) !important;
}

body.atp-cake .visual-content-panel :is(
    .atp-btn,
    .atp-sh-btn,
    .atp-seo-btn,
    .atp-dev-btn,
    .atp-order,
    .atp-training-btn,
    .atp-payment-btn,
    input[type="submit"],
    button
) {
    color: var(--brand) !important;
    border: 1px solid rgba(0, 230, 118, .25) !important;
    background: rgba(0, 230, 118, .055) !important;
    box-shadow: none !important;
}

body.atp-cake .visual-content-panel :is(
    .atp-btn-primary,
    .atp-sh-btn-primary,
    .atp-sh-btn-card,
    .atp-seo-btn-primary,
    .atp-dev-btn-primary,
    .atp-order,
    .atp-training-btn-primary,
    .atp-payment-btn-primary,
    input[type="submit"]
) {
    color: #041006 !important;
    border-color: transparent !important;
    background: linear-gradient(135deg, var(--brand), var(--brand-dark)) !important;
    box-shadow: 0 10px 26px rgba(0, 230, 118, .2) !important;
}

body.atp-cake .visual-content-panel :is(
    .atp-btn:hover,
    .atp-sh-btn:hover,
    .atp-seo-btn:hover,
    .atp-dev-btn:hover,
    .atp-order:hover,
    .atp-training-btn:hover,
    .atp-payment-btn:hover,
    input[type="submit"]:hover,
    button:hover
) {
    transform: translateY(-1px);
    filter: brightness(1.04);
}

body.atp-cake .visual-content-panel :is(input, textarea, select) {
    color: var(--ink) !important;
    border: 1px solid var(--line) !important;
    background: rgba(0, 0, 0, .28) !important;
    box-shadow: none !important;
}

body.atp-cake .visual-content-panel :is(input::placeholder, textarea::placeholder) {
    color: #388e3c !important;
}

body.atp-cake .visual-content-panel :is(
    table,
    .atp-pricing-table,
    .atp-sh-table
) {
    border-color: var(--line) !important;
    background: rgba(6, 14, 6, .98) !important;
}

body.atp-cake .visual-content-panel :is(th) {
    color: #ffffff !important;
    border-color: rgba(0, 230, 118, .18) !important;
    background: linear-gradient(135deg, #0a6d4d, #053827) !important;
}

body.atp-cake .visual-content-panel :is(td) {
    border-color: rgba(0, 230, 118, .1) !important;
    background: rgba(255, 255, 255, .018) !important;
}

body.atp-cake .visual-content-panel :is(tbody tr:nth-child(even), .atp-pricing-table tbody tr:nth-child(even), .atp-sh-table tbody tr:nth-child(even)) {
    background: rgba(0, 230, 118, .035) !important;
}

body.atp-cake .visual-content-panel :is(
    .atp-sh-price,
    .atp-seo-price,
    .atp-dev-price-tag,
    .atp-price
) {
    color: var(--brand) !important;
    font-family: "DM Mono", monospace !important;
}

body.atp-cake #atp-contact-page {
    max-width: 1180px;
    margin: 0 auto;
    padding: 24px 0 54px;
}

body.atp-cake #atp-contact-page .atp-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 16px;
}

body.atp-cake #atp-contact-page .atp-card,
body.atp-cake #atp-contact-page .atp-form-wrap {
    border-radius: 16px !important;
    padding: 22px !important;
}

body.atp-cake #atp-contact-page .atp-list {
    margin: 0;
    padding-left: 18px;
}

body.atp-cake #atp-contact-page .atp-note {
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 12px;
    border-left: 4px solid var(--brand);
    background: rgba(0, 230, 118, .065);
}

body.atp-cake #atp-domain-redesign .atp-layout {
    align-items: stretch;
}

body.atp-cake #atp-domain-redesign .atp-rate-list strong {
    margin-right: 4px;
}

body.atp-cake .atp-dedicated-2026 .atp-shell,
body.atp-cake #atp-domain-redesign,
body.atp-cake #atp-shared-redesign,
body.atp-cake #atp-seo-redesign,
body.atp-cake #atp-dev-page,
body.atp-cake #atp-training-redesign,
body.atp-cake #atp-payment-redesign {
    max-width: 1180px !important;
}

body.atp-cake .atp-dedicated-2026 .atp-map {
    min-height: 220px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(0, 230, 118, .055) !important;
}

@media (max-width: 900px) {
    body.atp-cake #atp-contact-page .atp-grid,
    body.atp-cake #atp-domain-redesign .atp-layout {
        grid-template-columns: 1fr !important;
    }

    body.atp-cake .visual-content-panel :is(
        .atp-sh-plan-grid,
        .atp-sh-feature-grid,
        .atp-sh-guidance,
        .atp-seo-grid-3,
        .atp-seo-kpi-grid,
        .atp-dev-grid-3,
        .atp-dev-steps
    ) {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 640px) {
    body.atp-cake #atp-contact-page,
    body.atp-cake #atp-domain-redesign,
    body.atp-cake #atp-shared-redesign,
    body.atp-cake #atp-seo-redesign,
    body.atp-cake #atp-dev-page,
    body.atp-cake #atp-training-redesign,
    body.atp-cake #atp-payment-redesign {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    body.atp-cake .visual-content-panel :is(
        .atp-hero,
        .atp-sh-hero,
        .atp-seo-hero,
        .atp-dev-hero,
        .atp-training-hero,
        .atp-payment-hero,
        .atp-card,
        .atp-section,
        .atp-sh-plans,
        .atp-sh-compare,
        .atp-sh-features,
        .atp-sh-guidance,
        .atp-seo-section,
        .atp-dev-section
    ) {
        border-radius: 18px !important;
    }
}

/* Small-screen safety for imported WordPress page layouts */
@media (max-width: 760px) {
    body.atp-cake .visual-content-panel {
        overflow-wrap: anywhere;
    }

    body.atp-cake .visual-content-panel :is(
        .atp-hero,
        .atp-sh-hero,
        .atp-seo-hero,
        .atp-dev-hero,
        .atp-training-hero,
        .atp-payment-hero,
        .atp-section,
        .atp-card,
        .atp-sh-plans,
        .atp-sh-compare,
        .atp-sh-features,
        .atp-sh-guidance,
        .atp-seo-section,
        .atp-dev-section,
        .atp-form-wrap
    ) {
        padding-left: clamp(16px, 5vw, 22px) !important;
        padding-right: clamp(16px, 5vw, 22px) !important;
    }

    body.atp-cake .visual-content-panel :is(
        .atp-actions,
        .atp-sh-actions,
        .atp-seo-actions,
        .atp-dev-actions,
        .atp-training-actions,
        .atp-payment-actions
    ) {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }

    body.atp-cake .visual-content-panel :is(
        .atp-btn,
        .atp-sh-btn,
        .atp-seo-btn,
        .atp-dev-btn,
        .atp-training-btn,
        .atp-payment-btn
    ) {
        width: 100% !important;
        min-height: 42px !important;
        justify-content: center !important;
        text-align: center !important;
    }

    body.atp-cake .visual-content-panel :is(
        .atp-table-wrap,
        .atp-table-scroll,
        .atp-sh-table-wrap,
        .atp-pricing-table-wrap,
        .table-wrap
    ) {
        max-width: 100% !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
    }

    body.atp-cake .visual-content-panel table {
        min-width: 620px;
    }

    body.atp-cake #atp-domain-redesign .atp-rate-list,
    body.atp-cake #atp-shared-redesign .atp-sh-plan-grid,
    body.atp-cake #atp-shared-redesign .atp-sh-feature-grid {
        grid-template-columns: 1fr !important;
    }

    body.atp-cake #atp-contact-page .atp-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 420px) {
    body.atp-cake .visual-content-panel :is(
        h1,
        h2,
        h3,
        .atp-title,
        .atp-headline
    ) {
        word-break: normal !important;
        overflow-wrap: anywhere !important;
        line-height: 1.18 !important;
    }
}

/* Final compact text flow for narrow phones. */
@media (max-width: 640px) {
    body.atp-cake .visual-content-panel,
    body.atp-cake .visual-content-panel * {
        min-width: 0 !important;
        max-width: 100%;
    }

    body.atp-cake .visual-content-panel :is(h1, h2, h3, h4, p, li, a, strong, span) {
        white-space: normal !important;
        overflow-wrap: anywhere !important;
        word-break: normal !important;
    }

    body.atp-cake .visual-content-panel :is(
        .atp-hero h1,
        .atp-sh-hero h1,
        .atp-seo-hero h1,
        .atp-dev-hero h1,
        .atp-training-hero h1,
        .atp-payment-hero h1
    ),
    body.atp-cake #atp-contact-page .atp-hero h1 {
        font-size: clamp(25px, 7vw, 29px) !important;
        line-height: 1.18 !important;
    }

    body.atp-cake #atp-contact-page .atp-card h2,
    body.atp-cake #atp-contact-page .atp-form-wrap h2,
    body.atp-cake .visual-content-panel :is(.atp-headline, .atp-title) {
        font-size: clamp(22px, 6.2vw, 26px) !important;
        line-height: 1.22 !important;
    }

    body.atp-cake #atp-contact-page .atp-hero,
    body.atp-cake #atp-contact-page .atp-card,
    body.atp-cake #atp-contact-page .atp-form-wrap {
        padding-left: 18px !important;
        padding-right: 18px !important;
    }

    body.atp-cake .visual-content-panel :is(
        table,
        .atp-pricing-table,
        .atp-sh-table
    ) {
        min-width: 680px !important;
        max-width: none !important;
    }

    body.atp-cake .visual-content-panel :is(
        .atp-table-wrap,
        .atp-table-scroll,
        .atp-sh-table-wrap,
        .atp-pricing-table-wrap,
        .table-wrap
    ) {
        overflow-x: auto !important;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
    }
}

/* Final soft light theme override. Keep this as the last block. */
:root {
    --bg: #f8fbf7;
    --bg-soft: #eef8f2;
    --panel: #ffffff;
    --panel-soft: #f3faf5;
    --ink: #102d1f;
    --muted: #587366;
    --line: #d8eadf;
    --brand: #058a52;
    --brand-dark: #047144;
    --accent: #f4b400;
    --white: #ffffff;
    --shadow: 0 18px 42px rgba(20, 74, 46, .12);
}

body.atp-cake,
body.atp-cake.page-id-16,
body.atp-cake.page-id-168,
body.atp-cake.page-id-250,
body.atp-cake.page-id-407,
body.atp-cake.page-id-1030,
body.atp-cake.page-id-1368,
body.atp-cake.page-id-1571,
body.atp-cake.page-id-1990 {
    color: var(--ink) !important;
    background:
        radial-gradient(circle at top left, rgba(5, 138, 82, .08), transparent 30%),
        linear-gradient(180deg, #ffffff 0%, #f8fbf7 38%, #eef8f2 100%) !important;
}

body.atp-cake .site-header,
body.atp-cake .header-nav-wrap,
body.atp-cake .mobile-menu-panel,
body.atp-cake .plan-card,
body.atp-cake .page-card,
body.atp-cake .content-panel,
body.atp-cake .source-link-card,
body.atp-cake .table-wrap,
body.atp-cake .atp-system-page,
body.atp-cake .home-visual,
body.atp-cake .home-visual-card,
body.atp-cake .hosting-status,
body.atp-cake .footer-contact-strip,
body.atp-cake .footer-contact-card {
    color: var(--ink) !important;
    border-color: var(--line) !important;
    background: rgba(255, 255, 255, .94) !important;
    box-shadow: var(--shadow) !important;
}

body.atp-cake .site-utility,
body.atp-cake .footer-bottom,
body.atp-cake .section-soft {
    border-color: var(--line) !important;
    background: #f0f8f3 !important;
}

body.atp-cake .hero,
body.atp-cake .page-hero,
body.atp-cake .source-page-hero {
    color: var(--ink) !important;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .96), rgba(236, 248, 240, .9)),
        var(--page-banner, none) center / cover no-repeat,
        #f8fbf7 !important;
}

body.atp-cake .section,
body.atp-cake .source-page-section,
body.atp-cake .system-status-section {
    background: transparent !important;
}

body.atp-cake :is(h1, h2, h3, h4, h5, h6),
body.atp-cake .hero h1,
body.atp-cake .page-hero h1,
body.atp-cake .source-page-hero h1,
body.atp-cake .visual-content-panel :is(h1, h2, h3, h4, h5, h6, .atp-headline, .atp-title) {
    color: var(--ink) !important;
    text-shadow: none !important;
}

body.atp-cake :is(p, li, small, td, summary, label),
body.atp-cake .hero-copy,
body.atp-cake .page-hero p,
body.atp-cake .source-page-hero p,
body.atp-cake .visual-content-panel :is(p, li, td, summary, label, small) {
    color: var(--muted) !important;
}

body.atp-cake .eyebrow,
body.atp-cake .plan-group,
body.atp-cake .plan-price,
body.atp-cake .center-link a,
body.atp-cake :is(a, strong, b),
body.atp-cake .visual-content-panel :is(a, strong, b, .atp-price, .atp-cost, .price) {
    color: var(--brand) !important;
}

body.atp-cake .primary-menu > .menu-item > a,
body.atp-cake .mobile-menu a,
body.atp-cake .header-contact,
body.atp-cake .utility-item,
body.atp-cake .sub-menu a {
    color: #183b2b !important;
}

body.atp-cake .sub-menu {
    border-color: rgba(5, 138, 82, .16) !important;
    background: #ffffff !important;
    box-shadow: 0 18px 34px rgba(20, 74, 46, .14) !important;
}

body.atp-cake .atp-btn,
body.atp-cake .floating-top,
body.atp-cake .visual-content-panel :is(.atp-btn, .atp-sh-btn, .atp-seo-btn, .atp-dev-btn, .atp-order, .atp-training-btn, .atp-payment-btn, button) {
    color: var(--brand) !important;
    border-color: rgba(5, 138, 82, .22) !important;
    background: #ffffff !important;
    box-shadow: 0 8px 20px rgba(20, 74, 46, .08) !important;
}

body.atp-cake .atp-btn-primary,
body.atp-cake .header-actions,
body.atp-cake .header-register,
body.atp-cake .visual-content-panel :is(.atp-btn-primary, .atp-sh-btn-primary, .atp-sh-btn-card, .atp-seo-btn-primary, .atp-dev-btn-primary, .atp-order, .atp-training-btn-primary, .atp-payment-btn-primary, input[type="submit"]) {
    color: #ffffff !important;
    border-color: transparent !important;
    background: linear-gradient(135deg, var(--brand), var(--brand-dark)) !important;
    box-shadow: 0 12px 26px rgba(5, 138, 82, .18) !important;
}

body.atp-cake .header-actions a,
body.atp-cake .header-actions a .material-icons-round {
    color: #ffffff !important;
}

body.atp-cake .price-table th,
body.atp-cake .visual-content-panel th {
    color: #0f2b1d !important;
    border-color: var(--line) !important;
    background: #e8f6ed !important;
}

body.atp-cake .price-table td,
body.atp-cake .visual-content-panel td {
    color: #416454 !important;
    border-color: var(--line) !important;
    background: #ffffff !important;
}

body.atp-cake .footer {
    color: var(--muted) !important;
    border-color: var(--line) !important;
    background: #f4faf6 !important;
}

body.atp-cake .footer h3,
body.atp-cake .footer-contact-card strong {
    color: var(--ink) !important;
}

body.atp-cake .footer-about p,
body.atp-cake .footer-links a,
body.atp-cake .footer-contact-card span,
body.atp-cake .footer-bottom-row {
    color: #587366 !important;
}

body.atp-cake .visual-content-panel :is(
    .atp-hero,
    .atp-sh-hero,
    .atp-seo-hero,
    .atp-dev-hero,
    .atp-training-hero,
    .atp-payment-hero,
    .atp-bottom-cta,
    .atp-sh-final-cta,
    .atp-seo-final,
    .atp-dev-final-cta,
    .atp-final-cta,
    .atp-card,
    .atp-section,
    .atp-form-wrap,
    .atp-search-box,
    .atp-contact-card,
    .atp-guide-box,
    .atp-plan,
    .atp-feature,
    .atp-callout,
    .atp-note,
    .atp-dev-section,
    .atp-dev-card,
    .atp-dev-step,
    .atp-dev-price,
    .atp-dev-faq details,
    .atp-seo-section,
    .atp-seo-card,
    .atp-seo-phase,
    .atp-seo-plan,
    .atp-seo-kpi,
    .atp-seo-kpi-grid article,
    .atp-seo-faq details,
    .atp-sh-plans,
    .atp-sh-compare,
    .atp-sh-features,
    .atp-sh-guidance,
    .atp-sh-plan-card,
    .atp-sh-feature-grid article,
    .atp-sh-guide-box,
    .atp-training-section,
    .atp-training-card,
    .atp-training-plan,
    .atp-payment-section,
    .atp-payment-card,
    .atp-payment-method,
    .atp-rate-list li
) {
    color: var(--ink) !important;
    border-color: var(--line) !important;
    background: rgba(255, 255, 255, .95) !important;
    box-shadow: var(--shadow) !important;
}

@media (max-width: 760px) {
    body.atp-cake .site-header,
    body.atp-cake .header-nav-wrap,
    body.atp-cake .mobile-menu-panel {
        background: rgba(255, 255, 255, .98) !important;
    }
}
