/* LXP page: animated agent-flow diagram (views/lxp/_agent-flow.php, assets/js/lxp-flow.js) */
.af {
    margin-top: 40px;
    color: #fff;
}
.af-shield {
    position: relative;
    border-radius: 30px;
    padding: 70px 28px 24px;
    overflow: hidden;
    background:
        radial-gradient(circle at 85% 10%, rgba(238, 93, 56, .30), transparent 40%),
        radial-gradient(circle at 10% 90%, rgba(108, 99, 255, .28), transparent 45%),
        #110E2D;
    box-shadow: 0 30px 60px -25px rgba(17, 14, 45, .55), inset 0 0 0 2px rgba(238, 93, 56, .35);
}
.af-shield::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
    background-size: 34px 34px;
    -webkit-mask-image: radial-gradient(ellipse at center, #000 35%, transparent 80%);
    mask-image: radial-gradient(ellipse at center, #000 35%, transparent 80%);
    pointer-events: none;
}
/* agent 11: a slow light sweep across the whole map = security watching every step */
.af-scan {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg, transparent 0%, rgba(238, 93, 56, .10) 48%, rgba(255, 181, 159, .18) 50%, rgba(238, 93, 56, .10) 52%, transparent 100%);
    background-size: 40% 100%;
    background-repeat: no-repeat;
    animation: afScan 9s linear infinite;
}
@keyframes afScan {
    from { background-position: -60% 0; }
    to { background-position: 160% 0; }
}
.af-shield-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 0 0 18px 18px;
    background: #EE5D38;
    color: #fff;
    box-shadow: 0 10px 30px -8px rgba(238, 93, 56, .8);
    z-index: 3;
    white-space: nowrap;
}
.af-node.af-security {
    background: none;
    border: 0;
    padding: 0;
    color: inherit;
    display: flex;
    align-items: baseline;
    gap: 6px;
    cursor: pointer;
    font-size: 13px;
    box-shadow: none;
}
.af-shield-sub {
    font-size: 11px;
    opacity: .85;
}
.af-toolbar {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 26px;
}
.af-play {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 42px;
    padding: 0 18px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, .2);
    background: rgba(255, 255, 255, .08);
    color: #fff;
    font-size: 13px;
    cursor: pointer;
    transition: background-color .2s ease, border-color .2s ease;
}
.af-play:hover {
    border-color: #EE5D38;
    background: rgba(238, 93, 56, .18);
}
.af-play .af-ico-stop,
.af-play .af-stop-label,
.af.is-playing .af-play .af-ico-play,
.af.is-playing .af-play .af-play-label {
    display: none;
}
.af.is-playing .af-play .af-ico-stop,
.af.is-playing .af-play .af-stop-label {
    display: inline;
}
.af.is-playing .af-play {
    background: #EE5D38;
    border-color: #EE5D38;
}
.af-hint {
    font-size: 12px;
    color: rgba(255, 255, 255, .55);
}

/* the map: four phases side by side on wide screens */
.af-map {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.05fr .8fr 1.65fr 1fr;
    gap: 26px;
    align-items: center;
}
.af-wires {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    pointer-events: none;
    z-index: 0;
}
.af-wire {
    fill: none;
    stroke: rgba(255, 255, 255, .22);
    stroke-width: 1.6;
}
.af-wire-flow {
    fill: none;
    stroke: #FFB59F;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-dasharray: 1 13;
    animation: afFlow 1.4s linear infinite;
    opacity: .75;
}
.af-wire.is-back,
.af-wire-flow.is-back {
    stroke-dasharray: 6 7;
}
.af-wire-flow.is-back {
    stroke: #EE5D38;
    animation-duration: 2.4s;
}
@keyframes afFlow {
    to { stroke-dashoffset: -28; }
}
.af-phase {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
}
.af-phase-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: rgba(255, 255, 255, .6);
    letter-spacing: .02em;
}
.af-phase-label span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 7px;
    font-size: 12px;
    color: #110E2D;
    background: rgba(255, 255, 255, .85);
}

/* nodes */
.af-node {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 12px 14px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, .14);
    background: rgba(255, 255, 255, .06);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    color: #fff;
    text-align: start;
    cursor: pointer;
    transition: transform .25s ease, border-color .25s ease, background-color .25s ease, opacity .25s ease, box-shadow .25s ease;
}
.af-node:hover,
.af-node:focus-visible {
    border-color: rgba(238, 93, 56, .7);
    outline: none;
}
.af-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 10px;
    flex-shrink: 0;
    font-size: 14px;
    background: #EE5D38;
    color: #fff;
    box-shadow: 0 6px 16px -6px rgba(238, 93, 56, .9);
}
.af-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.af-kicker {
    font-size: 10px;
    color: rgba(255, 255, 255, .5);
}
.af-name {
    font-size: 13px;
    line-height: 1.6;
}
.af-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}
.af-user {
    justify-content: center;
    background: #fff;
    color: #110E2D;
    border-color: #fff;
}
.af-user svg {
    color: #EE5D38;
    flex-shrink: 0;
}
.af-decision {
    background: transparent;
    color: #fff;
    border: 1.5px dashed rgba(255, 255, 255, .55);
}
.af-end {
    justify-content: center;
}
.af-cert {
    background: rgba(46, 204, 113, .14);
    border-color: rgba(46, 204, 113, .55);
    color: #9FF2C5;
}
.af-retry {
    background: rgba(238, 93, 56, .12);
    border-color: rgba(238, 93, 56, .55);
    color: #FFB59F;
}
.af-branch {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
}
.af-or {
    align-self: center;
    font-size: 11px;
    color: rgba(255, 255, 255, .5);
}

/* phase 3: the session cycle orbiting the supervisor */
.af-orbit {
    position: relative;
    width: 100%;
    max-width: 440px;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
}
.af-ring {
    position: absolute;
    inset: 12%;
    border-radius: 50%;
    border: 1.5px dashed rgba(255, 255, 255, .22);
    animation: afSpin 28s linear infinite;
}
.af-ring i {
    position: absolute;
    width: 9px;
    height: 9px;
    margin: -4.5px;
    border-radius: 50%;
    background: #EE5D38;
    box-shadow: 0 0 12px 3px rgba(238, 93, 56, .8);
}
.af-ring i:nth-child(1) { top: 0; left: 50%; }
.af-ring i:nth-child(2) { top: 75%; left: 93.3%; }
.af-ring i:nth-child(3) { top: 75%; left: 6.7%; }
@keyframes afSpin {
    to { transform: rotate(360deg); }
}
.af-hub {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 46%;
    transform: translate(-50%, -50%);
    flex-direction: column;
    text-align: center;
    padding: 16px 12px;
    border-radius: 50%;
    aspect-ratio: 1 / 1;
    justify-content: center;
    background: radial-gradient(circle, rgba(238, 93, 56, .35), rgba(17, 14, 45, .9) 70%);
    border: 1.5px solid rgba(238, 93, 56, .7);
    box-shadow: 0 0 40px -6px rgba(238, 93, 56, .7);
    animation: afPulse 3.2s ease-in-out infinite;
}
.af-hub .af-text {
    align-items: center;
}
@keyframes afPulse {
    50% { box-shadow: 0 0 60px 0 rgba(238, 93, 56, .85); }
}
.af-sat {
    position: absolute;
    width: 40%;
    padding: 10px 10px;
}
.af-sat .af-num {
    width: 26px;
    height: 26px;
    font-size: 12px;
}
.af-sat .af-name {
    font-size: 12px;
}
.af-sat-1 { top: 0; left: 50%; transform: translateX(-50%); }
.af-sat-2 { top: 50%; inset-inline-start: 0; transform: translateY(-50%); }
.af-sat-3 { bottom: 0; left: 50%; transform: translateX(-50%); }
.af-sat-4 { top: 50%; inset-inline-end: 0; transform: translateY(-50%); }
.af-repeat {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 12px;
    color: rgba(255, 255, 255, .6);
}

/* highlight: a selected node and its connections; the rest dims */
.af.has-focus .af-node:not(.is-lit):not(.af-security) {
    opacity: .38;
}
.af-node.is-lit {
    border-color: #EE5D38;
    background: rgba(238, 93, 56, .16);
}
.af-node.is-current {
    box-shadow: 0 0 0 3px rgba(238, 93, 56, .35), 0 0 34px -4px rgba(238, 93, 56, .9);
}
.af-user.is-lit,
.af-user.is-current {
    background: #fff;
}
.af-hub.is-lit {
    background: radial-gradient(circle, rgba(238, 93, 56, .55), rgba(17, 14, 45, .9) 70%);
}
.af.has-focus .af-wire:not(.is-lit),
.af.has-focus .af-wire-flow:not(.is-lit) {
    opacity: .12;
}
.af-wire.is-lit {
    stroke: rgba(238, 93, 56, .8);
}
.af-wire-flow.is-lit {
    stroke: #fff;
    opacity: 1;
}

/* detail line under the map */
.af-detail {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 26px;
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .12);
    min-height: 78px;
}
.af-detail-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    border-radius: 13px;
    font-size: 16px;
    background: #EE5D38;
    color: #fff;
    flex-shrink: 0;
}
.af-detail-num:empty {
    display: none;
}
.af-detail-title {
    font-size: 15px;
}
.af-detail-desc {
    margin-top: 4px;
    font-size: 13px;
    line-height: 1.9;
    color: rgba(255, 255, 255, .7);
}

/* tablets and phones: phases stacked, cycle as a 2x2 grid around the supervisor */
@media (max-width: 1023px) {
    .af-shield {
        padding: 70px 16px 18px;
        border-radius: 22px;
    }
    .af-shield-badge {
        width: max-content;
        max-width: 92%;
        white-space: normal;
        justify-content: center;
    }
    .af-node.af-security {
        flex-direction: column;
        align-items: center;
        gap: 0;
    }
    .af-map {
        grid-template-columns: 1fr;
        gap: 34px;
    }
    .af-orbit {
        aspect-ratio: auto;
        max-width: none;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .af-ring {
        display: none;
    }
    .af-hub,
    .af-sat {
        position: relative;
        top: auto;
        bottom: auto;
        left: auto;
        inset-inline-start: auto;
        inset-inline-end: auto;
        transform: none;
        width: auto;
    }
    .af-hub {
        grid-column: 1 / -1;
        order: -1;
        aspect-ratio: auto;
        border-radius: 18px;
        flex-direction: row;
        text-align: start;
        justify-content: flex-start;
    }
    .af-hub .af-text {
        align-items: flex-start;
    }
}
@media (prefers-reduced-motion: reduce) {
    .af-scan,
    .af-ring,
    .af-hub,
    .af-wire-flow {
        animation: none;
    }
}
/* keep phase labels clear of the wires */
.af-phase-label {
    position: relative;
    z-index: 2;
    align-self: flex-start;
    padding: 4px 10px 4px 6px;
    border-radius: 10px;
    background: rgba(17, 14, 45, .85);
}
/* the user's choice is a dark dashed step: when lit it turns orange, never white (its text is white) */
.af-decision.is-lit,
.af-decision.is-current {
    background: rgba(238, 93, 56, .22);
    border-color: #EE5D38;
    color: #fff;
}

/* ===== Integration hub (views/lxp/_integrations.php) ===== */
.ig {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 260px 1fr;
    gap: 70px;
    align-items: center;
    margin-top: 26px;
    padding: 34px 28px;
    border-radius: 30px;
    background: linear-gradient(135deg, #F5F7FB, #FDEEEA);
}
.ig-wires {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    pointer-events: none;
}
.ig-col {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 22px;
}
.ig-card {
    padding: 18px 20px;
    border-radius: 22px;
    background: #fff;
    border: 1px solid rgba(17, 14, 45, .06);
    box-shadow: 0 18px 40px -26px rgba(17, 14, 45, .4);
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.ig-card:hover,
.ig-card.is-on {
    transform: translateY(-3px);
    border-color: rgba(238, 93, 56, .55);
    box-shadow: 0 22px 46px -24px rgba(238, 93, 56, .55);
}
.ig-card-head {
    display: flex;
    align-items: center;
    gap: 12px;
}
.ig-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    flex-shrink: 0;
    color: #EE5D38;
    background: rgba(238, 93, 56, .12);
}
.ig-name {
    font-size: 16px;
    color: #110E2D;
}
.ig-dir {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 10px;
    margin-inline-start: auto;
    flex-shrink: 0;
    color: #fff;
    background: #110E2D;
}
.ig-dir-both {
    background: #EE5D38;
}
[dir="rtl"] .ig-dir svg {
    transform: scaleX(-1);
}
.ig-text {
    margin-top: 10px;
    font-size: 14px;
    line-height: 2;
    color: rgba(17, 14, 45, .7);
    text-align: justify;
}
.ig-hub {
    position: relative;
    z-index: 1;
    width: 220px;
    height: 220px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ig-hub-core {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    color: #fff;
    text-align: center;
    background: radial-gradient(circle at 30% 25%, #2B2652, #110E2D 70%);
    box-shadow: 0 0 0 8px rgba(238, 93, 56, .15), 0 20px 50px -12px rgba(17, 14, 45, .7);
}
.ig-hub-title {
    font-size: 34px;
    font-weight: 800;
    letter-spacing: .04em;
    color: #FFB59F;
    line-height: 1.1;
}
.ig-hub-sub {
    margin-top: 4px;
    padding: 0 12px;
    font-size: 11px;
    line-height: 1.6;
    color: rgba(255, 255, 255, .75);
}
.ig-hub-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1.5px dashed rgba(238, 93, 56, .45);
    animation: afSpin 22s linear infinite;
}
.ig-hub-ring-2 {
    inset: 22px;
    border-style: solid;
    border-color: rgba(17, 14, 45, .12);
    animation: igPing 3s ease-out infinite;
}
@keyframes igPing {
    0% { transform: scale(.9); opacity: 1; }
    100% { transform: scale(1.25); opacity: 0; }
}
.ig-wire {
    fill: none;
    stroke: rgba(17, 14, 45, .14);
    stroke-width: 2;
}
.ig-flow {
    fill: none;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 1 14;
    animation: afFlow 1.3s linear infinite;
}
.ig-flow.is-in {
    stroke: #110E2D;
}
.ig-flow.is-out {
    stroke: #EE5D38;
}
.ig.has-focus .ig-flow:not(.is-on),
.ig.has-focus .ig-wire:not(.is-on) {
    opacity: .2;
}
.ig-wire.is-on {
    stroke: rgba(238, 93, 56, .45);
}
@media (max-width: 1023px) {
    .ig {
        grid-template-columns: 1fr;
        gap: 22px;
        padding: 24px 16px;
    }
    .ig-hub {
        order: -1;
        width: 180px;
        height: 180px;
    }
    .ig-hub-core {
        width: 124px;
        height: 124px;
    }
    .ig-wires {
        display: none;
    }
}
@media (prefers-reduced-motion: reduce) {
    .ig-hub-ring,
    .ig-hub-ring-2,
    .ig-flow {
        animation: none;
    }
}

/* ===== KPI cards (views/lxp/_kpis.php) ===== */
.kp {
    margin-top: 22px;
}
.kp-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 18px;
    font-size: 13px;
    color: rgba(17, 14, 45, .75);
}
.kp-key {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.kp-key::before {
    content: "";
    width: 22px;
    height: 10px;
    border-radius: 6px;
}
.kp-key-before::before { background: #B9C0CF; }
.kp-key-after::before { background: linear-gradient(90deg, #EE5D38, #FF8A63); }
.kp-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 18px;
}
.kp-card {
    grid-column: span 2;
    padding: 20px;
    border-radius: 24px;
    background: #fff;
    border: 1px solid rgba(17, 14, 45, .06);
    box-shadow: 0 18px 40px -28px rgba(17, 14, 45, .45);
    transition: opacity .6s ease, transform .6s ease, box-shadow .25s ease;
    transition-delay: calc(var(--i) * 120ms);
}
.kp-card:nth-child(4) { grid-column: 2 / span 2; }
.kp-ready .kp-card:not(.is-in) {
    opacity: 0;
    transform: translateY(18px);
}
.kp-card:hover {
    box-shadow: 0 22px 46px -24px rgba(238, 93, 56, .5);
}
.kp-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}
.kp-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    flex-shrink: 0;
    color: #EE5D38;
    background: rgba(238, 93, 56, .12);
}
.kp-title {
    font-size: 15px;
    line-height: 1.7;
    color: #110E2D;
}
.kp-better {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 10px;
    margin-inline-start: auto;
    flex-shrink: 0;
    color: #fff;
    background: #2ECC71;
    box-shadow: 0 8px 18px -8px rgba(46, 204, 113, .9);
}
.kp-row + .kp-row {
    margin-top: 14px;
}
.kp-row-head {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 6px;
    font-size: 12px;
}
.kp-label {
    color: rgba(17, 14, 45, .55);
}
.kp-value {
    color: #110E2D;
    font-weight: 700;
    transition: opacity .5s ease;
    transition-delay: calc(var(--i, 0) * 120ms + 700ms);
}
.kp-after .kp-value {
    color: #EE5D38;
}
.kp-ready .kp-card:not(.is-in) .kp-value {
    opacity: 0;
}
.kp-track {
    position: relative;
    height: 12px;
    border-radius: 8px;
    background: #EEF1F6;
    overflow: hidden;
}
/* three-step scale: two thin separators */
.kp-steps {
    background:
        linear-gradient(90deg, transparent calc(33.33% - 1px), #fff calc(33.33% - 1px), #fff calc(33.33% + 1px), transparent calc(33.33% + 1px)),
        linear-gradient(90deg, transparent calc(66.66% - 1px), #fff calc(66.66% - 1px), #fff calc(66.66% + 1px), transparent calc(66.66% + 1px)),
        #EEF1F6;
}
.kp-fill {
    position: absolute;
    top: 0;
    bottom: 0;
    inset-inline-start: var(--from);
    width: calc(var(--to) - var(--from));
    border-radius: 8px;
    background: #B9C0CF;
    transform-origin: left center;
    transition: transform 1.1s cubic-bezier(.2, .8, .2, 1);
    transition-delay: calc(var(--d) * 110ms + 250ms);
    overflow: hidden;
}
[dir="rtl"] .kp-fill {
    transform-origin: right center;
}
.kp-after .kp-fill {
    background: linear-gradient(90deg, #EE5D38, #FF8A63);
}
[dir="rtl"] .kp-after .kp-fill {
    background: linear-gradient(270deg, #EE5D38, #FF8A63);
}
.kp-ready .kp-card:not(.is-in) .kp-fill {
    transform: scaleX(0);
}
/* a light sweep once the bar is full */
.kp-fill::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .6), transparent);
    transform: translateX(-120%);
}
.kp-card.is-in .kp-after .kp-fill::after {
    animation: kpShine 1.4s ease calc(var(--d) * 110ms + 1.3s) 1 both;
}
@keyframes kpShine {
    to { transform: translateX(120%); }
}
@media (max-width: 1023px) {
    .kp-grid {
        grid-template-columns: 1fr 1fr;
    }
    .kp-card,
    .kp-card:nth-child(4) {
        grid-column: auto;
    }
    .kp-card:last-child {
        grid-column: 1 / -1;
    }
}
@media (max-width: 640px) {
    .kp-grid {
        grid-template-columns: 1fr;
    }
}
@media (prefers-reduced-motion: reduce) {
    .kp-card,
    .kp-value,
    .kp-fill {
        transition: none;
    }
    .kp-fill::after {
        animation: none !important;
    }
}

/* ===== Organizations it suits (views/lxp/_audiences.php) ===== */
.og {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 24px;
}
.og-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 24px;
    border-radius: 26px;
    background: #fff;
    border: 1px solid rgba(17, 14, 45, .06);
    box-shadow: 0 18px 40px -28px rgba(17, 14, 45, .45);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease, opacity .6s ease;
    transition-delay: 0s, 0s, 0s, calc(var(--i) * 110ms);
}
.og-card-wide {
    grid-column: span 2;
    background: linear-gradient(135deg, #110E2D, #2B2652);
    color: #fff;
    border-color: transparent;
}
.og-card:hover {
    transform: translateY(-4px);
    border-color: rgba(238, 93, 56, .5);
    box-shadow: 0 24px 50px -26px rgba(238, 93, 56, .55);
}
.og-card::after {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    inset-inline-end: -60px;
    bottom: -70px;
    background: radial-gradient(circle, rgba(238, 93, 56, .18), transparent 70%);
    transition: transform .5s ease;
    pointer-events: none;
}
.og-card:hover::after {
    transform: scale(1.4);
}
.og-index {
    position: absolute;
    top: 14px;
    inset-inline-end: 20px;
    font-size: 54px;
    line-height: 1;
    font-weight: 900;
    color: rgba(17, 14, 45, .06);
}
.og-card-wide .og-index {
    color: rgba(255, 255, 255, .08);
}
.og-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 17px;
    color: #EE5D38;
    background: rgba(238, 93, 56, .12);
    transition: transform .35s ease;
}
.og-card:hover .og-icon {
    transform: rotate(-8deg) scale(1.08);
}
.og-card-wide .og-icon {
    color: #fff;
    background: #EE5D38;
    box-shadow: 0 10px 26px -8px rgba(238, 93, 56, .9);
}
.og-title {
    margin-top: 16px;
    font-size: 17px;
    line-height: 1.8;
    color: #110E2D;
}
.og-card-wide .og-title {
    color: #fff;
    font-size: 21px;
}
.og-label {
    margin-top: auto;
    padding-top: 18px;
    font-size: 11px;
    color: rgba(17, 14, 45, .5);
}
.og-card-wide .og-label {
    color: rgba(255, 255, 255, .55);
}
.og-agents {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
    position: relative;
    z-index: 1;
}
.og-agent {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 10px 5px 6px;
    border-radius: 12px;
    font-size: 12px;
    color: #110E2D;
    background: #F5F7FB;
    border: 1px solid rgba(17, 14, 45, .08);
    cursor: pointer;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
[dir="ltr"] .og-agent {
    padding: 5px 6px 5px 10px;
}
.og-agent:hover,
.og-agent:focus-visible {
    border-color: #EE5D38;
    background: #fff4f0;
    outline: none;
}
.og-card-wide .og-agent {
    color: #fff;
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .16);
}
.og-card-wide .og-agent:hover {
    background: rgba(238, 93, 56, .25);
    border-color: #EE5D38;
}
.og-agent-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 4px;
    border-radius: 8px;
    font-size: 11px;
    color: #fff;
    background: #EE5D38;
}
.og-ready .og-card:not(.is-in) {
    opacity: 0;
    transform: translateY(18px);
}
@media (max-width: 1023px) {
    .og {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 640px) {
    .og {
        grid-template-columns: 1fr;
    }
    .og-card-wide {
        grid-column: auto;
    }
    .og-card-wide .og-title {
        font-size: 18px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .og-card,
    .og-icon,
    .og-card::after {
        transition: none;
    }
}

/* ===== Framed section box with its title inside (views/lxp/_section-head.php) ===== */
.lx-box {
    position: relative;
    margin-top: 56px;
}
.lx-layer {
    display: block;
    position: relative;
    height: 18px;
    border-radius: 28px 28px 0 0;
    background: #fff;
    box-shadow: 0 0 200px 0 rgba(0, 0, 0, .1);
}
.lx-layer-back { margin: 0 56px; }
.lx-layer-front { margin: 0 28px; }
.lx-box-body {
    position: relative;
    padding: 28px;
    border-radius: 30px;
    background: #fff;
    box-shadow: 0 0 200px 0 rgba(0, 0, 0, .1);
}
.lx-box-body::before {
    /* corner notch, as on the site's other framed boxes */
    content: "";
    position: absolute;
    top: -5px;
    inset-inline-start: 52px;
    width: 44px;
    height: 24px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 74 24'%3E%3Cpath d='M73.603 0H0C14.1842 0 27.3009 7.53381 34.4478 19.7859L36.8642 23.9282L39.2806 19.7859C46.4065 7.57007 59.4669 0.0443115 73.603 0Z' fill='%23f3f3f3'/%3E%3C/svg%3E") center / contain no-repeat;
}
.lx-head {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-bottom: 20px;
    border-bottom: 2px solid transparent;
    border-image: linear-gradient(90deg, rgba(238, 93, 56, .55), rgba(238, 93, 56, 0) 70%) 1;
}
[dir="rtl"] .lx-head {
    border-image: linear-gradient(270deg, rgba(238, 93, 56, .55), rgba(238, 93, 56, 0) 70%) 1;
}
.lx-head-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 72px;
    border-radius: 18px;
    border-start-start-radius: 6px;
    flex-shrink: 0;
    color: #EE5D38;
    background: #F7DBD4;
}
.lx-head-icon svg {
    position: relative;
}
.lx-head-shadow {
    position: absolute;
    top: 14px;
    inset-inline-start: 14px;
    width: 18px;
    height: 18px;
    background: #fff;
    box-shadow: 0 6px 14px -2px rgba(238, 93, 56, .45);
    opacity: .7;
}
.lx-head-title {
    font-size: 26px;
    line-height: 1.6;
    color: #110E2D;
}
.lx-intro {
    margin-top: 18px;
    font-size: 15px;
    line-height: 2.2;
    color: rgba(17, 14, 45, .75);
    text-align: justify;
}
/* the inner panels no longer need their own outer gap */
.lx-box-body .og,
.lx-box-body .ig,
.lx-box-body .kp {
    margin-top: 24px;
}
@media (max-width: 640px) {
    .lx-box {
        margin-top: 40px;
    }
    .lx-layer-back { margin: 0 36px; }
    .lx-layer-front { margin: 0 18px; }
    .lx-box-body {
        padding: 18px 14px;
        border-radius: 22px;
    }
    .lx-box-body::before {
        inset-inline-start: 32px;
    }
    .lx-head {
        gap: 14px;
    }
    .lx-head-icon {
        width: 50px;
        height: 58px;
    }
    .lx-head-title {
        font-size: 19px;
    }
}

/* ===== Agent explorer (views/lxp/_agent-explorer.php) ===== */
.ax {
    margin-top: 24px;
}
.ax-tabs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    padding: 8px;
    border-radius: 22px;
    background: #F5F7FB;
}
.ax-tab {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 16px;
    border: 0;
    background: transparent;
    color: rgba(17, 14, 45, .65);
    font-size: 13px;
    line-height: 1.6;
    text-align: start;
    cursor: pointer;
    transition: background-color .25s ease, color .25s ease, box-shadow .25s ease;
}
.ax-tab:hover {
    color: #110E2D;
}
.ax-tab.is-active {
    background: #110E2D;
    color: #fff;
    box-shadow: 0 14px 30px -14px rgba(17, 14, 45, .7);
}
.ax-tab-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 9px;
    flex-shrink: 0;
    background: rgba(17, 14, 45, .08);
    color: #110E2D;
}
.ax-tab.is-active .ax-tab-num {
    background: #EE5D38;
    color: #fff;
}
.ax-phase {
    margin-top: 26px;
}
.ax-phase + .ax-phase {
    margin-top: 48px;
}
.ax-phase-title {
    font-size: 22px;
    line-height: 1.7;
    color: #110E2D;
}
.ax-phase-intro {
    margin-top: 10px;
    font-size: 15px;
    line-height: 2.2;
    color: rgba(17, 14, 45, .72);
    text-align: justify;
}
.ax-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}
.ax-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px 7px 8px;
    border-radius: 14px;
    font-size: 13px;
    color: #110E2D;
    background: #fff;
    border: 1px solid rgba(17, 14, 45, .12);
    cursor: pointer;
    transition: all .2s ease;
}
[dir="ltr"] .ax-chip {
    padding: 7px 8px 7px 12px;
}
.ax-chip:hover {
    border-color: #EE5D38;
}
.ax-chip.is-active {
    background: #EE5D38;
    border-color: #EE5D38;
    color: #fff;
    box-shadow: 0 10px 24px -10px rgba(238, 93, 56, .9);
}
.ax-chip-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 4px;
    border-radius: 8px;
    font-size: 12px;
    color: #fff;
    background: #110E2D;
}
.ax-chip.is-active .ax-chip-num {
    background: #fff;
    color: #EE5D38;
}
.ax-agent {
    margin-top: 22px;
    padding: 24px;
    border-radius: 26px;
    background: #fff;
    border: 1px solid rgba(17, 14, 45, .07);
    box-shadow: 0 22px 50px -32px rgba(17, 14, 45, .5);
}
.ax-agent + .ax-agent {
    margin-top: 28px;
}
.ax-agent-head {
    display: flex;
    align-items: center;
    gap: 14px;
}
.ax-agent-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 15px;
    flex-shrink: 0;
    font-size: 20px;
    color: #fff;
    background: linear-gradient(135deg, #EE5D38, #FF8A63);
    box-shadow: 0 10px 22px -10px rgba(238, 93, 56, .9);
}
.ax-agent-title {
    font-size: 19px;
    line-height: 1.7;
    color: #110E2D;
}

/* input -> agent -> output */
.ax-io {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 200px 1fr;
    gap: 70px;
    align-items: center;
    margin-top: 22px;
    padding: 26px;
    border-radius: 22px;
    background:
        radial-gradient(circle at 50% 50%, rgba(238, 93, 56, .25), transparent 45%),
        #110E2D;
    overflow: hidden;
}
.ax-wires {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    pointer-events: none;
}
.ax-io-col {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.ax-io-label {
    font-size: 11px;
    letter-spacing: .04em;
    color: rgba(255, 255, 255, .5);
}
.ax-io-item {
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 13px;
    line-height: 1.7;
    color: #fff;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .14);
}
.ax-io-out .ax-io-item {
    background: rgba(238, 93, 56, .16);
    border-color: rgba(238, 93, 56, .5);
}
.ax-core {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 170px;
    height: 170px;
    margin: 0 auto;
    padding: 18px;
    border-radius: 50%;
    text-align: center;
    color: #fff;
    background: radial-gradient(circle, rgba(238, 93, 56, .45), #1B1740 70%);
    border: 1.5px solid rgba(238, 93, 56, .75);
    box-shadow: 0 0 46px -6px rgba(238, 93, 56, .8);
    animation: afPulse 3.2s ease-in-out infinite;
}
.ax-core-ring {
    position: absolute;
    inset: -14px;
    border-radius: 50%;
    border: 1.5px dashed rgba(255, 181, 159, .45);
    animation: afSpin 18s linear infinite;
}
.ax-core-num {
    font-size: 34px;
    line-height: 1;
    font-weight: 800;
    color: #FFB59F;
}
.ax-core-name {
    font-size: 13px;
    line-height: 1.6;
}
.ax-wire {
    fill: none;
    stroke: rgba(255, 255, 255, .18);
    stroke-width: 1.6;
}
.ax-flow {
    fill: none;
    stroke: #FFB59F;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-dasharray: 1 13;
    animation: afFlow 1.3s linear infinite;
}

/* facts */
.ax-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}
.ax-fact {
    padding: 18px;
    border-radius: 20px;
    background: #F5F7FB;
    border: 1px solid rgba(17, 14, 45, .06);
}
.ax-fact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    color: #EE5D38;
    background: rgba(238, 93, 56, .12);
}
.ax-fact-label {
    margin-top: 10px;
    font-size: 14px;
    color: #EE5D38;
}
.ax-fact-text {
    margin-top: 6px;
    font-size: 14px;
    line-height: 2.05;
    color: rgba(17, 14, 45, .78);
    text-align: justify;
}
.ax-sub {
    margin: 10px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 8px;
}
.ax-sub li {
    position: relative;
    padding-inline-start: 24px;
    font-size: 13px;
    line-height: 1.9;
    color: rgba(17, 14, 45, .78);
}
.ax-sub li::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: 6px;
    width: 16px;
    height: 16px;
    border-radius: 5px;
    background: #EE5D38 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / 10px no-repeat;
}
.ax-sub li span {
    color: #110E2D;
}
.ax-note {
    margin-top: 14px;
    padding: 16px 18px;
    border-radius: 18px;
    background: linear-gradient(135deg, #FDEEEA, #fff);
    border-inline-start: 4px solid #EE5D38;
}
.ax-note-label {
    font-size: 13px;
    color: #EE5D38;
}
.ax-note p {
    margin-top: 6px;
    font-size: 14px;
    line-height: 2;
    color: rgba(17, 14, 45, .8);
    text-align: justify;
}
.ax-foot {
    display: flex;
    justify-content: flex-end;
    margin-top: 18px;
}
.ax-next {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 14px;
    border: 0;
    font-size: 13px;
    color: #fff;
    background: #110E2D;
    cursor: pointer;
    transition: background-color .2s ease, transform .2s ease;
}
.ax-next:hover {
    background: #EE5D38;
    transform: translateY(-2px);
}
.ax-next-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    border-radius: 7px;
    font-size: 12px;
    background: rgba(255, 255, 255, .15);
}

/* with JS: one phase and one agent at a time */
.ax-ready .ax-phase:not(.is-active),
.ax-ready .ax-agent:not(.is-active) {
    display: none;
}
.ax-ready .ax-phase + .ax-phase {
    margin-top: 26px;
}
.ax-ready .ax-agent.is-active {
    animation: axIn .45s ease;
}
@keyframes axIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: none; }
}
/* without JS the tabs and chips do nothing, so hide them */
.ax:not(.ax-ready) .ax-tabs,
.ax:not(.ax-ready) .ax-chips,
.ax:not(.ax-ready) .ax-foot {
    display: none;
}

@media (max-width: 1023px) {
    .ax-tabs {
        grid-template-columns: 1fr 1fr;
    }
    .ax-io {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 20px 16px;
    }
    .ax-core {
        width: 140px;
        height: 140px;
    }
    .ax-facts {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 640px) {
    .ax-tab {
        padding: 10px;
        font-size: 12px;
    }
    .ax-agent {
        padding: 16px;
    }
    .ax-agent-title {
        font-size: 16px;
    }
    .ax-next {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
}
@media (prefers-reduced-motion: reduce) {
    .ax-core,
    .ax-core-ring,
    .ax-flow,
    .ax-ready .ax-agent.is-active {
        animation: none;
    }
}
/* the explorer sits inside the article (.editor-section); undo the article's list styling there */
.editor-section .ax .ax-sub {
    font-weight: normal;
}
.editor-section .ax .ax-sub::before {
    content: none;
}
.editor-section .ax .ax-sub li {
    display: block;
    padding: 0;
    padding-inline-start: 24px;
    line-height: 1.9;
}
.editor-section .ax .ax-sub li::before {
    content: "";
    right: auto;
    left: auto;
    inset-inline-start: 0;
    top: 6px;
    width: 16px;
    height: 16px;
    border-radius: 5px;
    background: #EE5D38 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / 10px no-repeat;
}

/* ===== LXP vs LMS: split comparison with a draggable handle (views/lxp/_compare.php) ===== */
.cx-wrap {
    margin-top: 24px;
}
.cx {
    /* --p: share of the width given to the LMS side; --mid: width of the criterion column */
    --mid: 168px;
    --x: calc((100% - var(--mid)) * var(--p) + var(--mid) / 2);
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background:
        radial-gradient(300px circle at 100% 0, rgba(238, 93, 56, .28), transparent),
        linear-gradient(to right, #F4F4F7 var(--x), #110E2D var(--x));
    box-shadow: 0 18px 50px -20px rgba(17, 14, 45, .35);
}
[dir="rtl"] .cx {
    background:
        radial-gradient(300px circle at 0 0, rgba(238, 93, 56, .28), transparent),
        linear-gradient(to left, #F4F4F7 var(--x), #110E2D var(--x));
}
.cx.is-drag {
    user-select: none;
    cursor: grabbing;
}
.cx-row {
    /* rows sit above the line, so the criterion pills cover it */
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: calc((100% - var(--mid)) * var(--p)) var(--mid) minmax(0, 1fr);
    min-height: 76px;
}
.cx-row > .cx-lms { grid-column: 1; grid-row: 1; }
.cx-row > .cx-mid { grid-column: 2; grid-row: 1; }
.cx-row > .cx-lxp { grid-column: 3; grid-row: 1; }
.cx-row + .cx-row {
    border-top: 1px solid rgba(128, 128, 140, .16);
}
.cx-side {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    overflow: hidden;
    padding: 16px 24px;
    font-size: 15px;
    line-height: 1.8;
}
.cx-lms {
    color: #6E6D7E;
    background: repeating-linear-gradient(45deg, rgba(17, 14, 45, .028) 0 2px, transparent 2px 11px);
}
.cx-lxp {
    color: #fff;
}
.cx-lms > * {
    opacity: calc((var(--p) - .14) * 6);
}
.cx-lxp > * {
    opacity: calc((.86 - var(--p)) * 6);
}
.cx-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
}
.cx-lms .cx-mark {
    color: #A3A2B0;
    background: #E4E4EA;
}
.cx-lxp .cx-mark {
    color: #fff;
    background: #EE5D38;
    box-shadow: 0 0 0 4px rgba(238, 93, 56, .18), 0 0 14px rgba(238, 93, 56, .6);
}
.cx-text {
    min-width: 0;
}
.cx-head-title {
    white-space: nowrap;
}
/* text keeps the width of a half panel, so a side being narrowed is cut off instead of re-wrapping */
@supports (width: 1cqw) {
    .cx {
        container-type: inline-size;
    }
    .cx-text {
        flex: none;
        width: calc((100cqw - var(--mid)) / 2 - 82px);
    }
}
.cx-mid {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    min-width: 0;
}
.cx-crit {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: calc(var(--mid) - 12px);
    padding: 7px 12px;
    border: 1px solid rgba(238, 93, 56, .35);
    border-radius: 999px;
    background: #fff;
    color: #110E2D;
    font-size: 13px;
    line-height: 1.5;
    text-align: center;
    box-shadow: 0 6px 18px rgba(17, 14, 45, .18);
}
.cx-crit svg {
    flex-shrink: 0;
    color: #EE5D38;
}

/* header row: the two worlds */
.cx-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    padding: 24px;
    border: 0;
    background-color: transparent;
    text-align: start;
    cursor: pointer;
    font: inherit;
}
.cx-head.cx-lms {
    background-image: repeating-linear-gradient(45deg, rgba(17, 14, 45, .028) 0 2px, transparent 2px 11px);
}
.cx-head-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 13px;
}
.cx-lms .cx-head-icon {
    color: #8E8D9C;
    background: #E4E4EA;
}
.cx-lxp .cx-head-icon {
    color: #EE5D38;
    background: rgba(238, 93, 56, .16);
}
.cx-head-title {
    font-size: 19px;
    line-height: 1.5;
}
.cx-lms .cx-head-title {
    color: #6E6D7E;
}
.cx-lxp .cx-head-title {
    color: #fff;
}
.cx-path {
    width: 100%;
    max-width: 220px;
    height: 18px;
    overflow: visible;
}
.cx-path-lms path {
    fill: none;
    stroke: #BDBCC8;
    stroke-width: 2;
    stroke-dasharray: 4 6;
}
.cx-path-lms circle {
    fill: #BDBCC8;
}
.cx-path-lxp path {
    fill: none;
    stroke: #EE5D38;
    stroke-width: 2.4;
    stroke-linecap: round;
}
.cx-path-lxp .cx-path-dot {
    fill: #fff;
    filter: drop-shadow(0 0 4px #EE5D38);
}
.cx .cx-top > .cx-mid {
    /* the handle's layer: covers the panel so the handle can sit on the line wherever it is */
    position: absolute;
    inset: 0;
    grid-area: auto;
    z-index: 3;
    display: block;
    padding: 0;
    pointer-events: none;
}
.cx-knob {
    pointer-events: auto;
}

/* the dividing line and its handle */
.cx-line {
    position: absolute;
    top: 0;
    bottom: 0;
    inset-inline-start: var(--x);
    width: 2px;
    margin-inline-start: -1px;
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(to bottom, #EE5D38, rgba(238, 93, 56, .35));
    box-shadow: 0 0 12px rgba(238, 93, 56, .55);
}
.cx-knob {
    position: absolute;
    top: 40px;
    inset-inline-start: var(--x);
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    margin-inline-start: -27px;
    padding: 0;
    border: 4px solid #fff;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(135deg, #FF8A5C, #EE5D38);
    box-shadow: 0 10px 24px -6px rgba(238, 93, 56, .7);
    cursor: grab;
    touch-action: none;
}
.cx-knob::after {
    content: "";
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    border: 2px solid rgba(238, 93, 56, .55);
    animation: cxPulse 2.2s ease-out infinite;
    pointer-events: none;
}
.cx.is-drag .cx-knob,
.cx.was-moved .cx-knob::after {
    animation: none;
}
.cx.was-moved .cx-knob::after {
    opacity: 0;
}
.cx.is-drag .cx-knob {
    cursor: grabbing;
}
.cx-knob:focus-visible {
    outline: 3px solid #110E2D;
    outline-offset: 3px;
}
@keyframes cxPulse {
    from { transform: scale(.8); opacity: 1; }
    to { transform: scale(1.35); opacity: 0; }
}
.cx-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
    font-size: 13px;
    color: rgba(17, 14, 45, .55);
}
.cx-hint svg {
    color: #EE5D38;
}

/* rows come in one after another (only once JS is running; .cx-ready) */
.cx-ready .cx-row:not(.cx-top) {
    opacity: 0;
    transform: translateY(12px);
}
.cx-ready.is-in .cx-row:not(.cx-top) {
    animation: cxIn .6s cubic-bezier(.2, .7, .2, 1) forwards;
    animation-delay: calc(var(--i) * 70ms + 150ms);
}
@keyframes cxIn {
    to { opacity: 1; transform: none; }
}

@media (max-width: 640px) {
    .cx {
        --mid: 0px;
        border-radius: 18px;
    }
    .cx-row {
        grid-template-columns: calc(100% * var(--p)) minmax(0, 1fr);
        grid-template-areas: "crit crit" "lms lxp";
        min-height: 0;
    }
    .cx-row > .cx-lms { grid-area: lms; }
    .cx-row > .cx-lxp { grid-area: lxp; }
    .cx-row > .cx-mid {
        grid-area: crit;
        display: block;
        padding-top: 14px;
    }
    .cx-top {
        grid-template-areas: "lms lxp";
    }
    .cx-crit {
        position: relative;
        inset-inline-start: clamp(64px, calc(var(--p) * 100%), calc(100% - 64px));
        transform: translateX(-50%);
        max-width: 128px;
        padding: 5px 10px;
        font-size: 12px;
    }
    [dir="rtl"] .cx-crit {
        transform: translateX(50%);
    }
    .cx-side {
        align-items: flex-start;
        gap: 8px;
        padding: 10px 12px 16px;
        font-size: 13px;
        line-height: 1.75;
    }
    .cx-mark {
        width: 18px;
        height: 18px;
        margin-top: 2px;
    }
    @supports (width: 1cqw) {
        .cx-text {
            width: calc(50cqw - 52px);
        }
    }
    .cx-head {
        gap: 8px;
        padding: 16px 12px 22px;
    }
    /* keep the header away from the handle: each side hugs its outer edge */
    .cx-head.cx-lxp {
        align-items: flex-end;
        text-align: end;
    }
    .cx-head-icon {
        width: 36px;
        height: 36px;
        border-radius: 11px;
    }
    .cx-head-title {
        font-size: 14px;
        white-space: normal;
    }
    .cx-knob {
        top: 26px;
        width: 44px;
        height: 44px;
        margin-inline-start: -22px;
        border-width: 3px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .cx-knob::after,
    .cx-ready .cx-row:not(.cx-top),
    .cx-ready.is-in .cx-row:not(.cx-top) {
        animation: none;
        opacity: 1;
        transform: none;
    }
}
.lx-outro {
    margin-top: 22px;
    padding-inline-start: 16px;
    border-inline-start: 3px solid #EE5D38;
}

/* ===== FAQ "can it replace the LMS?": migration route (views/lxp/_migration.php) ===== */
.mg-box {
    margin-top: 24px;
}
.mg-lead {
    font-size: 15px;
    line-height: 2.2;
    color: rgba(17, 14, 45, .75);
    text-align: justify;
}
.mg-route {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    margin-top: 24px;
    padding: 18px 22px;
    border-radius: 22px;
    background:
        radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1.4px) 0 0 / 16px 16px,
        linear-gradient(135deg, #110E2D, #221c54);
    box-shadow: 0 16px 36px -18px rgba(17, 14, 45, .6);
}
.mg-end {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    width: 96px;
    text-align: center;
    color: #fff;
    font-size: 12.5px;
    line-height: 1.5;
    transition: opacity .5s, filter .5s;
}
.mg-end-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 15px;
    transition: background .5s, color .5s, box-shadow .5s;
}
.mg-end-lms .mg-end-icon {
    color: #C3C2D0;
    background: rgba(255, 255, 255, .1);
}
.mg-end-lxp .mg-end-icon {
    color: #EE5D38;
    background: rgba(238, 93, 56, .16);
}
/* the end state: LMS retired, LXP live */
.mg:not(.mg-ready) .mg-end-lms,
.mg.is-final .mg-end-lms {
    opacity: .45;
    filter: grayscale(1);
}
.mg:not(.mg-ready) .mg-end-lms .mg-end-name,
.mg.is-final .mg-end-lms .mg-end-name {
    text-decoration: line-through;
}
.mg:not(.mg-ready) .mg-end-lxp .mg-end-icon,
.mg.is-final .mg-end-lxp .mg-end-icon {
    color: #fff;
    background: #EE5D38;
    box-shadow: 0 0 0 6px rgba(238, 93, 56, .2), 0 0 24px rgba(238, 93, 56, .7);
}
.mg-rail {
    position: relative;
    height: 6px;
    margin: 0 10px;
    border-radius: 9px;
    background: rgba(255, 255, 255, .12);
}
.mg-rail-fill {
    position: absolute;
    top: 0;
    bottom: 0;
    inset-inline-start: 0;
    width: calc(var(--prog) * 100%);
    border-radius: inherit;
    background: linear-gradient(to right, #EE5D38, #FF9A6B);
    box-shadow: 0 0 12px rgba(238, 93, 56, .7);
}
[dir="rtl"] .mg-rail-fill {
    background: linear-gradient(to left, #EE5D38, #FF9A6B);
}
.mg-station {
    position: absolute;
    top: 50%;
    inset-inline-start: calc(var(--at) * 100%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    margin-top: -15px;
    margin-inline-start: -15px;
    border: 2px solid rgba(255, 255, 255, .22);
    border-radius: 50%;
    background: #1E1946;
    color: rgba(255, 255, 255, .6);
    font-size: 12px;
    transition: background .4s, border-color .4s, color .4s, box-shadow .4s;
}
.mg:not(.mg-ready) .mg-station,
.mg-station.is-done {
    border-color: #fff;
    background: #EE5D38;
    color: #fff;
    box-shadow: 0 0 14px rgba(238, 93, 56, .7);
}
.mg-packet {
    position: absolute;
    top: 50%;
    inset-inline-start: calc(var(--prog) * 100%);
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    margin-top: -15px;
    margin-inline-start: -15px;
    border-radius: 50%;
    background: #fff;
    color: #EE5D38;
    box-shadow: 0 0 0 5px rgba(255, 255, 255, .15), 0 6px 18px rgba(238, 93, 56, .6);
}
.mg:not(.mg-ready) .mg-packet,
.mg.is-final .mg-packet {
    opacity: 0;
}

/* the four steps */
.mg .mg-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}
.mg .mg-step {
    position: relative;
    display: block;
    margin: 0;
    padding: 20px;
    border: 1px solid rgba(238, 93, 56, .35);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 14px 30px -16px rgba(238, 93, 56, .45);
    transition: opacity .5s, filter .5s, transform .5s, border-color .5s, box-shadow .5s;
}
.mg .mg-step::before {
    content: none;
}
.mg-ready .mg-step:not(.is-done) {
    opacity: .45;
    filter: grayscale(.85);
    transform: translateY(6px);
    border-color: rgba(17, 14, 45, .08);
    box-shadow: none;
}
.mg-step-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.mg-step-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    color: #EE5D38;
    background: #F7DBD4;
}
.mg-step-num {
    font-size: 36px;
    font-weight: 900;
    line-height: 1;
    color: rgba(17, 14, 45, .08);
}
.mg-term {
    display: inline-block;
    margin-top: 14px;
    padding: 2px 10px;
    border-radius: 999px;
    background: rgba(17, 14, 45, .06);
    color: #110E2D;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 11px;
    line-height: 1.8;
}
.mg-step-title {
    margin-top: 8px;
    font-size: 17px;
    line-height: 1.6;
    color: #110E2D;
}
.mg-step-text {
    margin-top: 8px;
    font-size: 13.5px;
    line-height: 2;
    color: rgba(17, 14, 45, .72);
    text-align: justify;
}

/* the result */
.mg-result {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-top: 20px;
    padding: 22px 24px;
    border-radius: 22px;
    color: #fff;
    background: linear-gradient(135deg, #110E2D, #251F5C);
    transition: opacity .6s, filter .6s;
}
.mg-result::after {
    content: "";
    position: absolute;
    top: -80px;
    inset-inline-end: -60px;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: radial-gradient(rgba(238, 93, 56, .35), transparent 70%);
    pointer-events: none;
}
.mg-ready:not(.is-final) .mg-result {
    opacity: .5;
    filter: grayscale(.9);
}
.mg-result-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    color: #fff;
    background: #EE5D38;
    box-shadow: 0 8px 22px -6px rgba(238, 93, 56, .8);
}
.mg-result-title {
    font-size: 18px;
    color: #FF9A6B;
}
.mg-result-text {
    position: relative;
    z-index: 1;
    margin-top: 6px;
    font-size: 14px;
    line-height: 2.1;
    color: rgba(255, 255, 255, .85);
    text-align: justify;
}
@media (max-width: 1023px) {
    .mg .mg-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    /* the route stays in view while the steps scroll past */
    .mg-route {
        position: sticky;
        top: 64px; /* below the floating page navigator */
        z-index: 5;
    }
}
@media (max-width: 640px) {
    .mg .mg-steps {
        grid-template-columns: minmax(0, 1fr);
    }
    .mg-route {
        gap: 6px;
        padding: 12px 10px;
        border-radius: 18px;
    }
    .mg-end {
        width: 58px;
        font-size: 10.5px;
    }
    .mg-end-icon {
        width: 38px;
        height: 38px;
        border-radius: 12px;
    }
    .mg-rail {
        margin: 0 6px;
    }
    .mg-end {
        width: 52px;
        font-size: 10px;
    }
    .mg-station {
        width: 20px;
        height: 20px;
        margin-top: -10px;
        margin-inline-start: -10px;
        border-width: 1.5px;
        font-size: 10px;
    }
    .mg-packet {
        width: 24px;
        height: 24px;
        margin-top: -12px;
        margin-inline-start: -12px;
    }
    .mg-packet svg {
        width: 12px;
        height: 12px;
    }
    .mg-result {
        flex-direction: column;
        padding: 18px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .mg .mg-step,
    .mg-result,
    .mg-end {
        transition: none;
    }
}

/* --- migration route, played step by step (lxp-flow.js) --- */
@media (min-width: 1024px) {
    .mg-route {
        position: relative; /* below 1024px it is sticky, which also anchors the confetti */
    }
}
.mg-ready .mg-rail-fill {
    transition: width .8s cubic-bezier(.6, 0, .3, 1);
}
.mg-ready .mg-packet {
    transition: inset-inline-start .8s cubic-bezier(.6, 0, .3, 1), opacity .4s;
}
/* station: a ring fills around the number, then the station lights */
.mg-ring {
    position: absolute;
    inset: -5px;
    width: calc(100% + 10px);
    height: calc(100% + 10px);
    transform: rotate(-90deg);
    overflow: visible;
    pointer-events: none;
}
.mg-ring circle {
    fill: none;
    stroke: #FF9A6B;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
}
.mg-station.is-filling .mg-ring circle {
    stroke-dashoffset: 0;
    transition: stroke-dashoffset 1.1s linear;
}
.mg-station.is-done .mg-ring circle {
    stroke-dashoffset: 0;
    opacity: 0;
    transition: opacity .4s;
}
.mg-station-num {
    position: relative;
}
.mg-ready .mg-station.is-done {
    animation: mgPop .45s cubic-bezier(.3, 1.6, .5, 1);
}
.mg-station.is-filling {
    border-color: rgba(255, 154, 107, .6);
    color: #fff;
}
/* the card's big number fills from the bottom while its step runs */
.mg-step-num {
    position: relative;
    font-size: 44px;
}
.mg-step-num-fill {
    position: absolute;
    inset: 0;
    color: #EE5D38;
    clip-path: inset(100% 0 0 0);
}
.mg:not(.mg-ready) .mg-step-num-fill,
.mg-step.is-done .mg-step-num-fill {
    clip-path: inset(0 0 0 0);
}
.mg-step.is-active .mg-step-num-fill {
    clip-path: inset(0 0 0 0);
    transition: clip-path 1.1s linear;
}
/* card states: waiting (faded) -> running (dashed glow) -> done (lit, check) */
.mg-ready .mg-step.is-active {
    opacity: 1;
    filter: none;
    transform: none;
    border: 1.5px dashed #EE5D38;
    animation: mgGlow 1.1s ease-in-out infinite alternate;
}
.mg-ready .mg-step.is-done {
    animation: mgCardIn .5s cubic-bezier(.3, 1.5, .5, 1);
}
.mg-step-check {
    position: absolute;
    top: -11px;
    inset-inline-start: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border: 3px solid #fff;
    border-radius: 50%;
    color: #fff;
    background: #EE5D38;
    box-shadow: 0 4px 12px rgba(238, 93, 56, .5);
    transform: scale(0);
}
.mg:not(.mg-ready) .mg-step-check,
.mg-step.is-done .mg-step-check {
    transform: scale(1);
    transition: transform .45s cubic-bezier(.3, 1.8, .5, 1) .1s;
}
/* the finale: banner, retired LMS, beating LXP, confetti */
.mg-done {
    grid-column: 1 / -1;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height .5s ease, opacity .4s, margin-top .5s;
}
.mg:not(.mg-ready) .mg-done {
    display: none;
}
.mg.is-final .mg-done {
    max-height: 160px;
    margin-top: 6px;
    opacity: 1;
}
.mg-done-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px 14px;
    padding: 12px 18px;
    border-radius: 16px;
    color: #fff;
    background: linear-gradient(90deg, #EE5D38, #FF8A5C);
    box-shadow: 0 10px 26px -10px rgba(238, 93, 56, .8);
    transform: scale(.6);
    transition: transform .55s cubic-bezier(.3, 1.6, .5, 1) .1s;
}
.mg.is-final .mg-done-inner {
    transform: scale(1);
}
.mg-done-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #EE5D38;
    background: #fff;
}
.mg-done-text {
    font-size: 18px;
    line-height: 1.6;
}
.mg-replay {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 999px;
    color: #fff;
    background: transparent;
    font: inherit;
    font-size: 12px;
    cursor: pointer;
}
.mg-replay:hover {
    background: rgba(255, 255, 255, .15);
}
.mg-ready.is-final .mg-end-lxp .mg-end-icon {
    animation: mgBeat 1.4s ease-in-out infinite;
}
.mg-confetti {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 6;
    width: 7px;
    height: 11px;
    border-radius: 2px;
    background: var(--c);
    pointer-events: none;
    animation: mgBurst 1.5s cubic-bezier(.15, .7, .3, 1) forwards;
}
@keyframes mgPop {
    0% { transform: scale(.6); }
    100% { transform: scale(1); }
}
@keyframes mgGlow {
    from { box-shadow: 0 0 0 0 rgba(238, 93, 56, .1); }
    to { box-shadow: 0 0 0 6px rgba(238, 93, 56, .18), 0 14px 30px -14px rgba(238, 93, 56, .5); }
}
@keyframes mgCardIn {
    0% { transform: scale(.97); }
    60% { transform: scale(1.03); }
    100% { transform: scale(1); }
}
@keyframes mgBeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.12); }
}
@keyframes mgBurst {
    0% { transform: translate(-50%, -50%) rotate(0); opacity: 1; }
    100% { transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) rotate(var(--r)); opacity: 0; }
}
@media (max-width: 640px) {
    .mg-done-inner {
        gap: 6px 8px;
        padding: 8px 10px;
        border-radius: 13px;
    }
    .mg-done-text {
        font-size: 13px;
    }
    .mg-done-icon {
        width: 24px;
        height: 24px;
    }
    .mg-done-icon svg {
        width: 14px;
        height: 14px;
    }
    .mg-replay {
        padding: 2px 10px;
        font-size: 11px;
    }
    .mg-step-num {
        font-size: 38px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .mg-ready .mg-step.is-active,
    .mg-ready .mg-step.is-done,
    .mg-ready .mg-station.is-done,
    .mg-ready.is-final .mg-end-lxp .mg-end-icon {
        animation: none;
    }
}

/* ===== Conclusion (views/lxp/_conclusion.php) ===== */
.cn {
    margin-top: 22px;
}
.cn-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    padding: 18px;
    border-radius: 24px;
    background:
        radial-gradient(320px circle at 0 0, rgba(238, 93, 56, .3), transparent),
        radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1.4px) 0 0 / 16px 16px,
        linear-gradient(135deg, #110E2D, #241E58);
    box-shadow: 0 18px 40px -20px rgba(17, 14, 45, .6);
}
.cn-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 16px 10px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 18px;
    background: rgba(255, 255, 255, .04);
    text-align: center;
}
.cn-stat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 13px;
    color: #EE5D38;
    background: rgba(238, 93, 56, .16);
}
.cn-stat-num {
    font-size: 54px;
    line-height: 1.1;
    color: #fff;
    text-shadow: 0 0 24px rgba(238, 93, 56, .55);
}
.cn-stat-label {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, .75);
}
.cn-ready .cn-stat {
    opacity: 0;
    transform: translateY(14px);
}
.cn-ready.is-in .cn-stat {
    animation: cxIn .6s cubic-bezier(.2, .7, .2, 1) forwards;
    animation-delay: calc(var(--i) * 120ms);
}
.cn-text {
    margin-top: 22px;
}
.cn-gap {
    margin-top: 22px;
    padding: 20px;
    border-radius: 22px;
    background: #F7F8FB;
    text-align: center;
}
.cn-gap-title {
    font-size: 15px;
    color: #110E2D;
}
.cn-gap-row {
    display: grid;
    grid-template-columns: auto minmax(60px, 1fr) auto;
    align-items: center;
    gap: 12px;
    margin-top: 14px;
}
.cn-pill {
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 15px;
    line-height: 1.6;
    white-space: nowrap;
}
.cn-pill-from {
    color: #77768A;
    background: #E8E8EE;
    text-decoration: line-through;
    text-decoration-color: rgba(119, 118, 138, .5);
}
.cn-pill-to {
    color: #fff;
    background: linear-gradient(135deg, #EE5D38, #FF8A5C);
    box-shadow: 0 10px 24px -10px rgba(238, 93, 56, .9);
}
.cn-bridge {
    position: relative;
    display: block;
    height: 44px;
}
.cn-bridge-line {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
}
.cn-bridge-line path {
    fill: none;
    stroke: #EE5D38;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-dasharray: 2 9;
    vector-effect: non-scaling-stroke;
    animation: cnFlow 1s linear infinite;
}
[dir="rtl"] .cn-bridge-line path {
    animation-direction: reverse;
}
.cn-bridge-badge {
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    padding: 3px 12px;
    border-radius: 999px;
    color: #fff;
    background: #110E2D;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 0 0 4px #F7F8FB, 0 6px 16px rgba(17, 14, 45, .3);
}
@keyframes cnFlow {
    to { stroke-dashoffset: -22; }
}
.cn-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px 20px;
    margin-top: 22px;
    padding: 20px 24px;
    border: 1.5px dashed rgba(238, 93, 56, .45);
    border-radius: 22px;
    background: #FFF6F3;
}
.cn-cta-text {
    font-size: 18px;
    line-height: 1.7;
    color: #110E2D;
}
.cn .cn-cta-btn {
    /* beats the article's own link chip (.main-content a) */
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    border-radius: 14px;
    color: #fff !important;
    background: linear-gradient(135deg, #EE5D38, #FF7A4C);
    box-shadow: 0 12px 26px -12px rgba(238, 93, 56, .95);
    text-decoration: none !important;
    font-size: 15px;
    transition: transform .2s, box-shadow .2s;
}
.cn .cn-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px -12px rgba(238, 93, 56, 1);
}

/* ===== FAQ (views/lxp/_faq.php) ===== */
.fq {
    margin-top: 22px;
}
.fq-featured {
    padding: 22px;
    border-radius: 24px;
    background: #F7F8FB;
}
.fq-featured-q {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    line-height: 1.6;
    color: #110E2D;
}
.fq-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 11px;
    color: #fff;
    background: #EE5D38;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-weight: 700;
}
.fq-featured .mg {
    margin-top: 6px;
}
.fq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 22px;
}
.fq-item {
    border: 1px solid rgba(17, 14, 45, .08);
    border-radius: 18px;
    background: #fff;
    transition: border-color .3s, box-shadow .3s;
}
.fq-item:hover {
    border-color: rgba(238, 93, 56, .35);
}
.fq-item[open] {
    border-color: rgba(238, 93, 56, .45);
    box-shadow: 0 14px 30px -18px rgba(238, 93, 56, .55);
}
.fq-q {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    cursor: pointer;
    list-style: none;
}
.fq-q::-webkit-details-marker {
    display: none;
}
.fq-q:focus-visible {
    outline: 2px solid #EE5D38;
    outline-offset: 2px;
    border-radius: 18px;
}
.fq-num {
    flex-shrink: 0;
    font-size: 13px;
    color: #EE5D38;
    opacity: .8;
}
.fq-q-text {
    flex: 1;
    font-size: 16px;
    line-height: 1.8;
    color: #110E2D;
}
.fq-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    color: #EE5D38;
    background: #F7DBD4;
    transition: transform .3s, background .3s, color .3s;
}
.fq-item[open] .fq-toggle {
    transform: rotate(45deg);
    color: #fff;
    background: #EE5D38;
}
.fq-a {
    padding: 0 18px 18px;
    padding-inline-start: 52px;
}
.fq-item[open] .fq-a {
    animation: fqIn .35s ease;
}
.fq-a p {
    padding-top: 14px;
    border-top: 1px dashed rgba(17, 14, 45, .12);
    font-size: 14.5px;
    line-height: 2.1;
    color: rgba(17, 14, 45, .78);
    text-align: justify;
}
@keyframes fqIn {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: none; }
}
@media (max-width: 640px) {
    .cn-stats {
        gap: 8px;
        padding: 10px;
        border-radius: 18px;
    }
    .cn-stat {
        padding: 12px 4px;
        border-radius: 14px;
    }
    .cn-stat-icon {
        width: 34px;
        height: 34px;
    }
    .cn-stat-num {
        font-size: 38px;
    }
    .cn-stat-label {
        font-size: 11px;
    }
    .cn-gap {
        padding: 16px 12px;
    }
    .cn-gap-row {
        grid-template-columns: minmax(0, 1fr);
        gap: 4px;
        justify-items: center;
    }
    .cn-bridge {
        width: 44px;
        height: 64px;
    }
    .cn-bridge-line {
        display: none;
    }
    .cn-bridge::before {
        content: "";
        position: absolute;
        top: 4px;
        bottom: 4px;
        left: 50%;
        margin-left: -1px;
        border-left: 3px dotted #EE5D38;
    }
    .cn-bridge-badge {
        top: 50%;
        transform: translate(-50%, -50%);
    }
    .cn-pill {
        font-size: 14px;
    }
    .cn-cta {
        padding: 16px;
    }
    .cn-cta-text {
        font-size: 15px;
    }
    .cn .cn-cta-btn {
        width: 100%;
        justify-content: center;
    }
    .fq-featured {
        padding: 14px 10px;
        border-radius: 18px;
    }
    .fq-featured-q {
        font-size: 16px;
        align-items: flex-start;
    }
    .fq-q {
        gap: 10px;
        padding: 14px 12px;
    }
    .fq-q-text {
        font-size: 14px;
    }
    .fq-a {
        padding: 0 12px 14px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .cn-bridge-line path,
    .cn-ready .cn-stat,
    .cn-ready.is-in .cn-stat,
    .fq-item[open] .fq-a {
        animation: none;
        opacity: 1;
        transform: none;
    }
}
