/* Scoped shell shared by all XXL R pages. Nothing global is restyled. */
.cevo-xxl-nav{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 auto 14px;max-width:1440px}
.cevo-xxl-nav-link{display:inline-block;padding:9px 14px;border-radius:10px;text-decoration:none!important;background:#e9f1f8;color:#173754!important;font:700 13px/1.3 Inter,'Segoe UI',Arial,sans-serif}
.cevo-xxl-nav-link:hover,.cevo-xxl-nav-link.is-active{background:#0b1f33;color:#fff!important}
.cevo-xxl-home{--navy:#0b1f33;--steel:#123e67;--blue:#006eb6;--sky:#1e9bd7;--border:#d9e2ec;color:#111827;font-family:Inter,'Segoe UI',Arial,sans-serif;background:linear-gradient(135deg,#eef3f7,#f8fbfd);padding:28px;border-radius:24px}
.cevo-xxl-home *{box-sizing:border-box}
.cevo-xxl-home-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,360px);gap:24px;align-items:center;background:linear-gradient(135deg,var(--navy),var(--steel));color:#fff;border-radius:24px;padding:32px;box-shadow:0 22px 48px #0b1f3325}
.cevo-xxl-kicker{display:block;color:#b9ddf2;font-size:11px;font-weight:900;letter-spacing:.13em;text-transform:uppercase;margin-bottom:10px}
.cevo-xxl-home-hero h1{font-size:clamp(27px,3vw,40px);line-height:1.12;letter-spacing:-.025em;color:#fff;margin:0 0 12px;font-weight:900}
.cevo-xxl-home-hero p{font-size:15px;line-height:1.65;color:#d7e8f4;margin:0 0 24px;max-width:540px}
.cevo-xxl-primary{display:inline-flex;align-items:center;gap:10px;background:#168dc6;color:#fff!important;border-radius:12px;padding:13px 18px;font-weight:900;font-size:13px;text-decoration:none!important}
.cevo-xxl-primary:hover{background:#0672ad}
.cevo-xxl-home-side{display:flex;flex-direction:column;gap:8px;background:#ffffff18;border:1px solid #ffffff31;padding:22px;border-radius:18px;min-width:0}
.cevo-xxl-home-side strong{font-size:27px;color:#fff;line-height:1.1}
.cevo-xxl-home-side span:not(.cevo-xxl-kicker){font-size:14px;color:#d7e8f4}
.cevo-xxl-home-side small{color:#c3ddef;font-size:11px;line-height:1.5}
.cevo-xxl-home-side code{color:#fff;background:transparent;font-size:11px;overflow-wrap:anywhere}
.cevo-xxl-section-label{margin:26px 0 12px;font-size:13px;font-weight:900;color:#0b1f33;display:flex;gap:8px;flex-wrap:wrap;align-items:baseline}
.cevo-xxl-section-label small{font-size:11px;font-weight:500;color:#64748b}
.cevo-xxl-home-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.cevo-xxl-home-stats>div{min-width:0;padding:21px 18px;background:#fff;border:1px solid #d9e2ec;border-radius:18px;display:flex;flex-direction:column;gap:8px;box-shadow:0 10px 24px #0f172a0c}
.cevo-xxl-home-stats span{color:#64748b;font-weight:900;text-transform:uppercase;letter-spacing:.06em;font-size:10px}
.cevo-xxl-home-stats strong{font-size:clamp(21px,2.6vw,30px);color:#0b1f33;font-variant-numeric:tabular-nums}
.cevo-xxl-home-stats small{font-size:11px;color:#64748b}
.cevo-xxl-home-section-heading{margin:30px 0 14px}.cevo-xxl-home-section-heading h2{font-weight:900;margin:0;color:#0b1f33;font-size:23px}
.cevo-xxl-home-section-heading .cevo-xxl-kicker{color:#006eb6;margin-bottom:5px}
.cevo-xxl-module-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.cevo-xxl-module{padding:24px;border-radius:20px;background:#fff;border:1px solid #d9e2ec;min-width:0;display:flex;flex-direction:column;align-items:start}
.cevo-xxl-module.is-available{border-color:#8dc8e8;box-shadow:0 12px 28px #0672ad12}
.cevo-xxl-module-icon{display:grid;place-items:center;background:#e8f3fc;border-radius:10px;padding:10px;color:#086ba3;font-weight:900;font-size:12px}
.cevo-xxl-module h3{font-size:19px;color:#0b1f33;margin:17px 0 4px;font-weight:900}
.cevo-xxl-module p{color:#64748b;font-size:13px;line-height:1.6;margin:0 0 18px;flex:1}
.cevo-xxl-module a{color:#006eb6;font-weight:900;font-size:13px;text-decoration:none!important}
.cevo-xxl-planned{color:#64748b;font-size:11px;font-weight:700;background:#f1f5f9;padding:8px 10px;border-radius:99px}
.cevo-xxl-home-error{padding:15px;margin:16px 0;background:#fee2e2;color:#7f1d1d;border-radius:12px}
/* The data page's navigation is printed outside .sxxl-app; keep matching left alignment. */
.sxxl-app+.cevo-xxl-nav{margin-top:10px}
@media(max-width:1100px){.cevo-xxl-home-hero{grid-template-columns:1fr}.cevo-xxl-home-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.cevo-xxl-home{padding:14px}.cevo-xxl-home-hero{padding:22px}.cevo-xxl-module-grid{grid-template-columns:1fr}.cevo-xxl-home-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.cevo-xxl-home-stats>div{padding:14px}.cevo-xxl-nav-link{font-size:12px;padding:9px 11px}}

/* V1.1: Reference R Model overview, full-width hero and three destination tiles */
.cevo-xxl-home-shell{max-width:1440px;margin:0 auto}
.cevo-xxl-reference-hero{display:block;padding:30px 32px;margin-bottom:20px}
.cevo-xxl-reference-hero p{margin:0;max-width:900px}
.cevo-xxl-reference-tiles{gap:18px}
.cevo-xxl-reference-tiles .cevo-xxl-module{padding:26px 28px 28px;min-height:232px;border:1px solid #d9e2ec;box-shadow:0 10px 25px #0f172a0d;border-radius:22px}
.cevo-xxl-reference-tiles .cevo-xxl-module h2{color:#0b1f33;font-weight:850;font-size:24px;line-height:1.2;margin:18px 0 8px}
.cevo-xxl-reference-tiles .cevo-xxl-module p{font-size:13px;line-height:1.6;color:#64748b;margin:0 0 20px}
.cevo-xxl-reference-tiles .cevo-xxl-module-icon{height:54px;width:54px;border-radius:16px;color:#fff;font-size:24px;display:grid;place-items:center;padding:0}
.cevo-xxl-icon-calc{background:linear-gradient(135deg,#1e9bd7,#006eb6)}
.cevo-xxl-icon-data{background:linear-gradient(135deg,#16a34a,#1e9bd7)}
.cevo-xxl-icon-stats{background:linear-gradient(135deg,#6d28d9,#006eb6)}
.cevo-xxl-reference-tiles .cevo-xxl-highlight-module{border-color:#1e9bd7}
.cevo-xxl-module-cta{display:inline-flex;align-items:center;justify-content:center;padding:7px 11px;background:#e0f2fe;border-radius:999px;color:#0369a1!important;font-weight:900;font-size:11px;text-decoration:none!important;margin-top:auto}
.cevo-xxl-highlight-module .cevo-xxl-module-cta{color:#15803d!important;background:#dcfce7}
.cevo-xxl-stats-planned{background:#ede9fe;color:#6d28d9!important}
.cevo-xxl-home-snapshot{margin-top:24px}
.cevo-xxl-home-snapshot-header h2{font-size:22px;color:#0b1f33;font-weight:900;margin:0 0 5px}
.cevo-xxl-home-snapshot-header p{font-size:13px;color:#64748b;margin:0 0 14px}
.cevo-xxl-home-snapshot-header .cevo-xxl-kicker{color:#006eb6;margin-bottom:5px}
.cevo-xxl-home .sxxl-positive{color:#16a34a!important}.cevo-xxl-home .sxxl-negative{color:#dc2626!important}
/* Shared sliding switch works in Home, Data and Calculations. */
.cevo-xxl-switch-panel{display:flex;align-items:center;justify-content:space-between;gap:18px;background:#fff;border:1px solid #d9e2ec;border-radius:16px;padding:16px 20px;margin-bottom:16px}
.cevo-xxl-switch-copy{display:flex;flex-direction:column;gap:4px;flex:1}
.cevo-xxl-switch-copy strong{font-size:14px;font-weight:900;color:#0b1f33}
.cevo-xxl-switch-copy span{font-size:12px;color:#64748b;line-height:1.45}
.cevo-xxl-switch-control{display:inline-flex;align-items:center;gap:8px;cursor:pointer;flex-shrink:0;position:relative}
.cevo-xxl-switch-control input{position:absolute;opacity:0;width:1px;height:1px}
.cevo-xxl-switch-track{display:block;background:#94a3b8;border-radius:999px;width:58px;height:32px;position:relative;transition:background .2s ease}
.cevo-xxl-switch-track:after{position:absolute;content:'';top:3px;left:3px;width:26px;height:26px;background:#fff;border-radius:50%;box-shadow:0 2px 6px #0b1f3330;transition:transform .2s ease}
.cevo-xxl-switch-control input:checked+.cevo-xxl-switch-track{background:#16a34a}
.cevo-xxl-switch-control input:checked+.cevo-xxl-switch-track:after{transform:translateX(26px)}
.cevo-xxl-switch-control input:focus-visible+.cevo-xxl-switch-track{outline:3px solid #38bdf8;outline-offset:3px}
.cevo-xxl-switch-state{font-size:12px;font-weight:900;color:#334155;min-width:24px;text-align:center}
@media(max-width:720px){.cevo-xxl-reference-hero{padding:22px}.cevo-xxl-reference-tiles .cevo-xxl-module{min-height:0;padding:22px}.cevo-xxl-switch-panel{padding:14px;gap:12px}.cevo-xxl-switch-copy span{font-size:11px}}
@media(prefers-reduced-motion:reduce){.cevo-xxl-switch-track,.cevo-xxl-switch-track:after{transition:none}}
