/* ==========================================================================
   FAMECLOCK CPM SIMULATOR - PREMIUM MARBLE / GLASS SYSTEM
   ========================================================================== */

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

:root {
    --cpm-accent: #60a5fa !important;
    --cpm-accent-strong: #3b82f6 !important;
    --cpm-accent-glow: rgba(96, 165, 250, 0.18) !important;
    --cpm-danger: #ef4444 !important;
    --cpm-danger-glow: rgba(239, 68, 68, 0.15) !important;
    --cpm-success: #0f766e !important;
    --cpm-gold: #d97706 !important;
    --cpm-text: #1e293b !important;
    --cpm-muted: #64748b !important;
    --cpm-muted-soft: #94a3b8 !important;
    --cpm-border: rgba(148, 163, 184, 0.24) !important;
    --cpm-panel: rgba(255, 255, 255, 0.62) !important;
    --cpm-panel-strong: rgba(255, 255, 255, 0.82) !important;
    --cpm-white-border: rgba(255, 255, 255, 0.88) !important;
    --cpm-shadow: 0 24px 56px rgba(15, 23, 42, 0.08), inset 0 1px 0 rgba(255,255,255,0.84) !important;
    --cpm-shadow-soft: 0 16px 34px rgba(15, 23, 42, 0.06) !important;
}

#sciFiBg,
.cyber-grid,
.soft-vignette,
canvas {
    display: none !important;
}

body.cpm-simulator-page {
    background: linear-gradient(-45deg, #ffffff, #edf3f8, #ffffff, #e7eff7, #ffffff) !important;
    background-size: 400% 400% !important;
    animation: CpmSimulatorMarbleFlow 16s ease infinite !important;
    color: var(--cpm-text) !important;
    font-family: 'Roboto', sans-serif !important;
    margin: 0 !important;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

body.cpm-simulator-page::before,
body.cpm-simulator-page::after {
    content: "";
    position: fixed;
    border-radius: 999px;
    pointer-events: none;
    z-index: 0;
    filter: blur(16px);
}

body.cpm-simulator-page::before {
    top: 108px;
    left: -150px;
    width: 340px;
    height: 340px;
    background: radial-gradient(circle, rgba(96, 165, 250, 0.12) 0%, rgba(96, 165, 250, 0) 72%);
}

body.cpm-simulator-page::after {
    right: -120px;
    bottom: 80px;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(217, 119, 6, 0.10) 0%, rgba(217, 119, 6, 0) 74%);
}

@keyframes CpmSimulatorMarbleFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.cpm-orb {
    position: fixed;
    border-radius: 999px;
    pointer-events: none;
    z-index: 0;
    filter: blur(48px);
    opacity: 0.34;
}

.cpm-orb--one {
    top: 24%;
    right: 10%;
    width: 220px;
    height: 220px;
    background: rgba(96, 165, 250, 0.18);
}

.cpm-orb--two {
    left: 7%;
    bottom: 21%;
    width: 180px;
    height: 180px;
    background: rgba(217, 119, 6, 0.10);
}

.cpm-orb--three {
    top: 58%;
    right: 32%;
    width: 140px;
    height: 140px;
    background: rgba(59, 130, 246, 0.10);
}

.cpm-page-shell {
    max-width: 1260px;
    margin: 0 auto;
    padding: 132px 20px 78px;
    position: relative;
    z-index: 1;
}

.cpm-glass {
    background: var(--cpm-panel) !important;
    border: 1px solid var(--cpm-white-border) !important;
    box-shadow: var(--cpm-shadow) !important;
    backdrop-filter: blur(18px) saturate(135%) !important;
    -webkit-backdrop-filter: blur(18px) saturate(135%) !important;
}

.cpm-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.7fr);
    gap: 22px;
    align-items: stretch;
}

.cpm-hero-copy,
.cpm-metric-card,
.cpm-panel {
    border-radius: 30px;
}

.cpm-hero-copy {
    padding: 34px 34px 32px;
    position: relative;
    overflow: hidden;
}

.cpm-hero-copy::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(96, 165, 250, 0.16), transparent 38%),
        linear-gradient(135deg, rgba(255,255,255,0.62), rgba(255,255,255,0.12));
    pointer-events: none;
}

.cpm-eyebrow,
.cpm-section-kicker,
.cpm-metric-label,
.cpm-badge,
.cpm-range-label,
.cpm-range-hint,
.cpm-note-label,
.cpm-result-label,
.cpm-disclaimer {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-family: 'Rajdhani', sans-serif;
}

.cpm-eyebrow,
.cpm-section-kicker {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--cpm-accent);
    font-size: 0.78rem;
    font-weight: 900;
    margin-bottom: 14px;
}

.cpm-eyebrow::before,
.cpm-section-kicker::before {
    content: "";
    width: 28px;
    height: 1px;
    background: rgba(96, 165, 250, 0.48);
}

.cpm-title {
    position: relative;
    z-index: 1;
    margin: 0;
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2.4rem, 4vw, 4.2rem);
    line-height: 1.02;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--cpm-text);
}

.cpm-title .text-accent,
.cpm-title span {
    color: var(--cpm-accent);
}

.cpm-subtitle {
    position: relative;
    z-index: 1;
    margin: 18px 0 0;
    max-width: 760px;
    color: var(--cpm-muted);
    font-size: 1rem;
    line-height: 1.75;
}

.cpm-badges {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.cpm-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 999px;
    background: rgba(255,255,255,0.82);
    border: 1px solid rgba(96, 165, 250, 0.20);
    color: var(--cpm-text);
    font-size: 0.75rem;
    font-weight: 900;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.04);
}

.cpm-badge i {
    color: var(--cpm-accent);
    font-size: 0.92rem;
}

.cpm-hero-metrics {
    display: grid;
    gap: 18px;
}

.cpm-metric-card {
    padding: 24px 24px 22px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 128px;
}

.cpm-metric-label {
    color: var(--cpm-muted-soft);
    font-size: 0.72rem;
    font-weight: 900;
    margin-bottom: 8px;
}

.cpm-metric-value {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.05rem, 2vw, 1.55rem);
    line-height: 1.25;
    color: var(--cpm-text);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.cpm-main-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(330px, 0.92fr);
    gap: 22px;
    margin-top: 24px;
}

.cpm-panel {
    padding: 30px;
    position: relative;
    overflow: hidden;
}

.cpm-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0));
    pointer-events: none;
}

.cpm-panel-head {
    position: relative;
    z-index: 1;
}

.cpm-panel-head p,
.cpm-note-card p {
    margin: 0;
    color: var(--cpm-muted);
    font-size: 0.98rem;
    line-height: 1.72;
}

.cpm-range-group + .cpm-range-group {
    margin-top: 26px;
}

.cpm-range-group {
    position: relative;
    z-index: 1;
    padding: 22px 22px 20px;
    border-radius: 24px;
    background: rgba(255,255,255,0.66);
    border: 1px solid rgba(255,255,255,0.76);
    box-shadow: var(--cpm-shadow-soft);
    margin-top: 24px;
}

.cpm-range-head {
    display: flex;
    gap: 16px;
    justify-content: space-between;
    align-items: flex-start;
}

.cpm-range-label {
    display: block;
    color: var(--cpm-text);
    font-size: 0.84rem;
    font-weight: 900;
    flex: 1;
    margin-right: 8px;
}

.cpm-range-value {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 118px;
    padding: 10px 14px;
    border-radius: 16px;
    background: rgba(255,255,255,0.92);
    border: 1px solid rgba(96, 165, 250, 0.18);
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    font-weight: 900;
    color: var(--cpm-text);
    box-shadow: 0 10px 18px rgba(15, 23, 42, 0.05);
}

.cpm-range-hint {
    margin: 10px 0 18px;
    color: var(--cpm-muted-soft);
    font-size: 0.68rem;
    font-weight: 800;
}

.cpm-range-input {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 999px;
    outline: none;
    background: linear-gradient(90deg, var(--cpm-accent) 0%, var(--cpm-accent-strong) var(--range-progress, 0%), rgba(148, 163, 184, 0.22) var(--range-progress, 0%), rgba(148, 163, 184, 0.22) 100%);
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.08);
    cursor: pointer;
}

.cpm-range-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #ffffff;
    border: 3px solid var(--cpm-accent);
    box-shadow: 0 10px 20px rgba(96, 165, 250, 0.24);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.cpm-range-input::-webkit-slider-thumb:hover {
    transform: scale(1.08);
    box-shadow: 0 12px 24px rgba(96, 165, 250, 0.28);
}

.cpm-range-input::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #ffffff;
    border: 3px solid var(--cpm-accent);
    box-shadow: 0 10px 20px rgba(96, 165, 250, 0.24);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.cpm-range-input::-moz-range-track {
    height: 8px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.22);
}

.cpm-marketplace-card {
    position: relative;
    z-index: 1;
    margin-top: 26px;
    display: flex;
    gap: 18px;
    align-items: center;
    justify-content: space-between;
    padding: 22px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.12), rgba(255,255,255,0.72));
    border: 1px solid rgba(96, 165, 250, 0.16);
}

.cpm-marketplace-copy {
    max-width: 520px;
}

.cpm-marketplace-copy p {
    margin: 0;
    color: var(--cpm-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

.cpm-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
    padding: 15px 20px;
    border-radius: 18px;
    border: 1px solid rgba(96, 165, 250, 0.18);
    background: linear-gradient(135deg, var(--cpm-accent), var(--cpm-accent-strong));
    color: #ffffff !important;
    text-decoration: none !important;
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.86rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    box-shadow: 0 16px 30px rgba(59, 130, 246, 0.20);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.cpm-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 34px rgba(59, 130, 246, 0.24);
}

.cpm-panel--results {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.cpm-result-top {
    position: relative;
    z-index: 1;
}

.cpm-tier {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 11px 16px;
    border-radius: 999px;
    background: rgba(254, 242, 242, 0.92);
    color: #b91c1c;
    border: 1px solid rgba(239, 68, 68, 0.18);
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    box-shadow: 0 10px 22px rgba(239, 68, 68, 0.10);
    margin-bottom: 18px;
}

.cpm-tier i {
    font-size: 0.95rem;
}

.cpm-tier--massive {
    background: rgba(239, 68, 68, 0.12);
    color: #991b1b;
    border-color: rgba(239, 68, 68, 0.28);
    box-shadow: 0 12px 24px rgba(239, 68, 68, 0.12);
}

.cpm-results-grid {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 16px;
}

.cpm-result-item {
    padding: 22px;
    border-radius: 24px;
    background: rgba(255,255,255,0.72);
    border: 1px solid rgba(255,255,255,0.84);
    box-shadow: var(--cpm-shadow-soft);
}

.cpm-result-item--danger {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.08), rgba(255,255,255,0.74));
    border-color: rgba(239, 68, 68, 0.12);
}

.cpm-result-item--accent {
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.10), rgba(255,255,255,0.76));
    border-color: rgba(96, 165, 250, 0.14);
}

.cpm-result-label {
    display: block;
    color: var(--cpm-muted-soft);
    font-size: 0.72rem;
    font-weight: 900;
    margin-bottom: 10px;
}

.cpm-result-number {
    display: block;
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2rem, 3vw, 3.35rem);
    line-height: 1.05;
    color: var(--cpm-text);
    word-break: break-word;
}

.cpm-result-item--danger .cpm-result-number {
    color: var(--cpm-danger);
    text-shadow: 0 8px 20px rgba(239, 68, 68, 0.12);
}

.cpm-result-item--accent .cpm-result-number {
    color: var(--cpm-gold);
    text-shadow: 0 8px 20px rgba(217, 119, 6, 0.10);
}

.cpm-result-number--muted {
    color: var(--cpm-muted);
    font-size: clamp(1.5rem, 2.2vw, 2.2rem);
}

.cpm-note-card {
    position: relative;
    z-index: 1;
    padding: 22px;
    border-radius: 24px;
    background: rgba(248, 250, 252, 0.80);
    border: 1px solid rgba(148, 163, 184, 0.18);
}

.cpm-note-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--cpm-accent);
    font-size: 0.72rem;
    font-weight: 900;
    margin-bottom: 10px;
}

.cpm-note-label::before {
    content: "";
    width: 18px;
    height: 1px;
    background: rgba(96, 165, 250, 0.42);
}

.cpm-disclaimer {
    position: relative;
    z-index: 1;
    margin: 0;
    color: var(--cpm-muted-soft);
    font-size: 0.67rem;
    font-weight: 800;
    line-height: 1.8;
}

@media (max-width: 1080px) {
    .cpm-hero,
    .cpm-main-grid {
        grid-template-columns: 1fr;
    }

    .cpm-hero-metrics {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .cpm-page-shell {
        padding-top: 118px;
    }

    .cpm-hero-copy,
    .cpm-panel {
        padding: 24px;
        border-radius: 26px;
    }

    .cpm-title {
        font-size: clamp(2rem, 10vw, 2.9rem);
    }

    .cpm-hero-metrics {
        grid-template-columns: 1fr;
    }

    .cpm-marketplace-card {
        flex-direction: column;
        align-items: stretch;
    }

    .cpm-btn {
        width: 100%;
    }

    .cpm-range-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .cpm-range-value {
        min-width: 0;
    }
}

@media (max-width: 560px) {
    .cpm-page-shell {
        padding-left: 14px;
        padding-right: 14px;
        padding-bottom: 54px;
    }

    .cpm-badges {
        gap: 10px;
    }

    .cpm-badge,
    .cpm-tier {
        width: 100%;
        justify-content: center;
    }

    .cpm-range-group,
    .cpm-result-item,
    .cpm-note-card,
    .cpm-marketplace-card {
        padding: 18px;
        border-radius: 20px;
    }

    .cpm-result-number {
        font-size: 1.8rem;
    }

    .cpm-result-number--muted {
        font-size: 1.4rem;
    }

    .cpm-range-label,
    .cpm-result-label,
    .cpm-note-label,
    .cpm-disclaimer,
    .cpm-metric-label,
    .cpm-eyebrow,
    .cpm-section-kicker {
        letter-spacing: 0.14em;
    }
}

/* ==========================================================================
   CPM CALCULATOR EXECUTIVE WOW PASS
   Premium flagship media planning tool / enterprise authority alignment
   ========================================================================== */

:root {
    --cpm-premium-shadow: 0 30px 70px rgba(15, 23, 42, 0.10), 0 10px 24px rgba(15, 23, 42, 0.05), inset 0 1px 0 rgba(255,255,255,0.92), inset 0 0 0 1px rgba(15, 23, 42, 0.04) !important;
    --cpm-premium-shadow-hover: 0 38px 88px rgba(15, 23, 42, 0.14), 0 16px 34px rgba(15, 23, 42, 0.08), inset 0 1px 0 rgba(255,255,255,0.96), inset 0 0 0 1px rgba(15, 23, 42, 0.05) !important;
    --cpm-copy: #475569 !important;
    --cpm-copy-strong: #334155 !important;
    --cpm-focus-ring: 0 0 0 3px rgba(96, 165, 250, 0.22) !important;
}

body.cpm-simulator-page {
    background:
        radial-gradient(circle at 50% -8%, rgba(96, 165, 250, 0.12), rgba(96, 165, 250, 0) 28%),
        radial-gradient(circle at 100% 100%, rgba(217, 119, 6, 0.08), rgba(217, 119, 6, 0) 24%),
        linear-gradient(180deg, #f8fbfd 0%, #eef4f7 44%, #ffffff 100%) !important;
    background-size: auto !important;
    animation: none !important;
    line-height: 1.65 !important;
}

body.cpm-simulator-page::before {
    top: 110px;
    left: -120px;
    width: 320px;
    height: 320px;
    filter: blur(18px);
    background: radial-gradient(circle, rgba(96, 165, 250, 0.10) 0%, rgba(96, 165, 250, 0) 72%) !important;
}

body.cpm-simulator-page::after {
    right: -110px;
    bottom: 80px;
    width: 300px;
    height: 300px;
    filter: blur(18px);
    background: radial-gradient(circle, rgba(217, 119, 6, 0.08) 0%, rgba(217, 119, 6, 0) 72%) !important;
}

.cpm-orb {
    opacity: 0.72 !important;
    filter: blur(18px) !important;
}

.cpm-glass,
.cpm-marketplace-card,
.cpm-note-card,
.fc-ui-strip-v2--cpm-related .fc-ui-strip-v2__shell,
.fc-ui-strip-v2--cpm-entity .fc-ui-strip-v2__shell {
    background: linear-gradient(180deg, rgba(255,255,255,0.90), rgba(255,255,255,0.76)) !important;
    border: 1px solid rgba(255, 255, 255, 0.94) !important;
    box-shadow: var(--cpm-premium-shadow) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.cpm-page-shell {
    max-width: 1280px;
    padding: 148px 20px 88px;
}

.cpm-hero {
    gap: 24px;
    align-items: stretch;
}

.cpm-hero-copy {
    position: relative;
    padding: 44px 42px 40px;
    border-radius: 34px !important;
    background:
        radial-gradient(circle at 50% 0%, rgba(96, 165, 250, 0.15), rgba(96, 165, 250, 0) 42%),
        linear-gradient(180deg, rgba(255,255,255,0.95), rgba(255,255,255,0.80)) !important;
    box-shadow: var(--cpm-premium-shadow-hover) !important;
}

.cpm-hero-copy::before {
    background:
        radial-gradient(circle at top right, rgba(96, 165, 250, 0.18), transparent 40%),
        linear-gradient(180deg, rgba(255,255,255,0.24), rgba(255,255,255,0.04)) !important;
}

.cpm-hero-copy::after {
    content: "";
    position: absolute;
    left: 34px;
    right: 34px;
    top: 0;
    height: 2px;
    border-radius: 0 0 999px 999px;
    background: linear-gradient(90deg, rgba(255,255,255,0), rgba(96,165,250,0.40), rgba(255,255,255,0));
    pointer-events: none;
}

.cpm-eyebrow,
.cpm-section-kicker,
.cpm-metric-label,
.cpm-range-label,
.cpm-range-hint,
.cpm-note-label,
.cpm-result-label,
.cpm-disclaimer {
    letter-spacing: 0.12em !important;
}

.cpm-eyebrow,
.cpm-section-kicker {
    min-height: 34px;
    gap: 12px;
    margin-bottom: 16px;
}

.cpm-title {
    max-width: 11ch;
    font-size: clamp(2.45rem, 4vw, 4.25rem);
    line-height: 1.02;
    letter-spacing: 0.04em;
    text-shadow: 0 1px 0 rgba(255,255,255,0.92);
}

.cpm-subtitle,
.cpm-panel-head p,
.cpm-note-card p,
.cpm-marketplace-copy p {
    color: var(--cpm-copy) !important;
    text-transform: none !important;
    letter-spacing: 0.01em !important;
    font-family: 'Inter', 'Roboto', sans-serif !important;
}

.cpm-subtitle,
.cpm-panel-head p,
.cpm-note-card p {
    font-size: 0.98rem !important;
    font-weight: 500 !important;
    line-height: 1.72 !important;
}

.cpm-subtitle {
    max-width: 760px;
    color: var(--cpm-copy-strong) !important;
}

.cpm-badges {
    gap: 14px;
    margin-top: 28px;
}

.cpm-badge {
    min-height: 40px;
    padding: 0 15px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,250,252,0.90));
    border: 1px solid rgba(226, 232, 240, 0.96);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.04);
    letter-spacing: 0.12em !important;
}

.cpm-hero-metrics {
    gap: 18px;
}

.cpm-metric-card {
    min-height: 132px;
    padding: 24px 24px 22px;
    border-radius: 26px !important;
    background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(248,250,252,0.88)) !important;
}

.cpm-metric-value,
.cpm-result-number {
    text-shadow: 0 1px 0 rgba(255,255,255,0.92);
}

.cpm-main-grid {
    gap: 24px;
    margin-top: 26px;
}

.cpm-panel {
    padding: 32px;
    border-radius: 34px !important;
    background: linear-gradient(180deg, rgba(255,255,255,0.90), rgba(255,255,255,0.76)) !important;
}

.cpm-panel::before {
    background: linear-gradient(180deg, rgba(255,255,255,0.16), rgba(255,255,255,0)) !important;
}

.cpm-range-group {
    margin-top: 24px;
    padding: 24px 24px 22px;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(248,250,252,0.88)) !important;
    border: 1px solid rgba(255,255,255,0.94);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.05) !important;
}

.cpm-range-value {
    min-width: 124px;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,250,252,0.92)) !important;
    border-color: rgba(96, 165, 250, 0.20) !important;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.05);
}

.cpm-range-hint {
    color: #64748b !important;
}

.cpm-range-input {
    height: 10px;
    box-shadow: inset 0 1px 3px rgba(15, 23, 42, 0.10) !important;
}

.cpm-range-input::-webkit-slider-thumb {
    width: 26px;
    height: 26px;
    border-width: 3px;
    box-shadow: 0 12px 24px rgba(96, 165, 250, 0.24) !important;
}

.cpm-range-input::-moz-range-thumb {
    width: 26px;
    height: 26px;
    border-width: 3px;
    box-shadow: 0 12px 24px rgba(96, 165, 250, 0.24) !important;
}

.cpm-marketplace-card {
    margin-top: 28px;
    padding: 24px;
    border-radius: 26px;
    background: linear-gradient(135deg, rgba(239,246,255,0.96), rgba(255,255,255,0.88)) !important;
    border-color: rgba(96, 165, 250, 0.18) !important;
    box-shadow: 0 18px 34px rgba(59, 130, 246, 0.08) !important;
}

.cpm-marketplace-copy p {
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.7;
}

.cpm-btn {
    min-height: 52px;
    padding: 0 20px;
    border-radius: 18px;
    letter-spacing: 0.12em;
    box-shadow: 0 18px 34px rgba(37, 99, 235, 0.22);
    transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

.cpm-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 40px rgba(37, 99, 235, 0.26);
    filter: brightness(1.03);
}

.cpm-panel--results {
    gap: 24px;
}

.cpm-tier {
    min-height: 42px;
    padding: 10px 16px;
    letter-spacing: 0.12em;
}

.cpm-results-grid {
    gap: 18px;
}

.cpm-result-item {
    padding: 24px 24px 22px;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(248,250,252,0.88)) !important;
    border: 1px solid rgba(255,255,255,0.94);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.05) !important;
}

.cpm-result-item--danger {
    background: linear-gradient(135deg, rgba(254,242,242,0.98), rgba(255,255,255,0.90)) !important;
    border-color: rgba(239, 68, 68, 0.14) !important;
    box-shadow: 0 18px 34px rgba(239, 68, 68, 0.06) !important;
}

.cpm-result-item--accent {
    background: linear-gradient(135deg, rgba(255,248,240,0.98), rgba(255,255,255,0.90)) !important;
    border-color: rgba(217, 119, 6, 0.16) !important;
    box-shadow: 0 18px 34px rgba(217, 119, 6, 0.06) !important;
}

.cpm-result-label {
    color: #64748b !important;
}

.cpm-result-item--danger .cpm-result-number {
    text-shadow: 0 10px 22px rgba(239, 68, 68, 0.10);
}

.cpm-result-item--accent .cpm-result-number {
    text-shadow: 0 10px 22px rgba(217, 119, 6, 0.10);
}

.cpm-note-card {
    padding: 24px;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(248,250,252,0.88)) !important;
}

.cpm-disclaimer {
    color: #64748b !important;
    letter-spacing: 0.10em !important;
}

.cpm-btn:focus-visible,
.cpm-range-input:focus-visible,
.fc-ui-strip-v2--cpm-related .fc-ui-strip-v2__cta:focus-visible,
.fc-ui-strip-v2--cpm-related .fc-ui-strip-v2__card:focus-visible,
.fc-ui-strip-v2--cpm-entity .fc-ui-strip-v2__cta:focus-visible,
.fc-ui-strip-v2--cpm-entity .fc-ui-strip-v2__card:focus-visible {
    outline: none;
    border-color: rgba(59, 130, 246, 0.42) !important;
    box-shadow: 0 0 0 1px rgba(255,255,255,0.92), var(--cpm-focus-ring), 0 18px 34px rgba(15, 23, 42, 0.10) !important;
}

.fc-ui-strip-v2--cpm-related,
.fc-ui-strip-v2--cpm-entity {
    margin-top: 28px;
}

.fc-ui-strip-v2--cpm-related .fc-ui-strip-v2__shell,
.fc-ui-strip-v2--cpm-entity .fc-ui-strip-v2__shell {
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255,255,255,0.86), rgba(248,250,252,0.76)) !important;
}

.fc-ui-strip-v2--cpm-related .fc-ui-strip-v2__card,
.fc-ui-strip-v2--cpm-related .fc-ui-strip-v2__cta,
.fc-ui-strip-v2--cpm-entity .fc-ui-strip-v2__card,
.fc-ui-strip-v2--cpm-entity .fc-ui-strip-v2__cta {
    border-radius: 18px;
}

@media (prefers-reduced-motion: reduce) {
    body.cpm-simulator-page {
        animation: none !important;
    }

    body.cpm-simulator-page::before,
    body.cpm-simulator-page::after,
    .cpm-orb {
        display: none !important;
    }

    .cpm-btn {
        transition: none !important;
    }
}

@media (max-width: 1080px) {
    .cpm-page-shell {
        padding-top: 132px;
    }
}

@media (max-width: 860px) {
    .cpm-page-shell {
        padding-top: 118px;
        padding-bottom: 64px;
    }

    .cpm-hero-copy,
    .cpm-panel {
        padding: 24px;
        border-radius: 26px !important;
    }

    .cpm-title {
        font-size: clamp(1.95rem, 9vw, 2.95rem);
    }

    .cpm-subtitle,
    .cpm-panel-head p,
    .cpm-note-card p,
    .cpm-marketplace-copy p {
        font-size: 0.95rem !important;
        line-height: 1.68 !important;
    }

    .cpm-metric-card,
    .cpm-range-group,
    .cpm-result-item,
    .cpm-note-card,
    .cpm-marketplace-card {
        border-radius: 22px !important;
    }
}

@media (max-width: 560px) {
    .cpm-page-shell {
        padding-left: 14px;
        padding-right: 14px;
        padding-bottom: 54px;
    }

    .cpm-btn {
        width: 100%;
    }

    .cpm-range-value {
        width: 100%;
        justify-content: flex-start;
    }
}

