/* Scoped visual layer; authentication, routes and business data are unchanged. */
body.cm-reference-home .cm-direct-block{display:block!important;position:static!important;height:auto!important;max-height:none!important;overflow:visible!important}
body.cm-reference-home .cm-direct-title{display:block!important;margin:8px 0 14px!important;color:#172033!important;font-size:17px!important;font-weight:700!important;cursor:default!important}
body.cm-reference-home .cm-direct-title::before,body.cm-reference-home .cm-direct-title::after{content:none!important}
body.cm-reference-home section.cm-ref-more{width:100%;flex-basis:100%;margin-top:10px}
body.cm-reference-home section.cm-ref-more>div{position:static!important;display:flex!important;flex-wrap:wrap;gap:8px;max-height:none!important;width:auto!important;padding:0!important;box-shadow:none!important;background:transparent!important;border:0!important}
body.cm-reference-home section.cm-ref-more a{display:inline-flex!important;align-items:center;min-height:44px;padding:10px 14px;border:1px solid #dce2ec;border-radius:9px;background:#fff;color:#172033;text-decoration:none}
body.landing-body{background:#f4f6fa!important;color:#172033!important;font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif!important}
body.landing-body .site-nav{background:#202226!important;position:sticky;top:0;z-index:30;padding:14px max(20px,calc((100vw - 1160px)/2))!important;display:flex!important;flex-direction:row!important;align-items:center!important;gap:20px;flex-wrap:wrap;border-bottom:1px solid #34363b}
body.landing-body .brand{color:#fff!important;display:flex;align-items:center;gap:10px;margin:0!important;white-space:nowrap}
body.landing-body .brand img{width:38px!important;height:38px!important;object-fit:contain}
body.landing-body .brand strong{font-size:19px!important;letter-spacing:.3px}
body.landing-body .brand span{color:#ef4444!important}
body.landing-body .cm-public-nav{display:flex!important;gap:14px;align-items:center;flex-wrap:wrap}
body.landing-body .cm-public-nav a{color:#e5e7eb!important;font-size:13px!important;padding:8px 2px!important;text-decoration:none}
body.landing-body .cm-entry-login{background:#fff!important;color:#172033!important;border:1px solid #fff!important;border-radius:9px;min-height:42px;padding:8px 18px!important;font:700 13px system-ui;cursor:pointer;margin-left:auto}
body.landing-body main.landing{width:min(1160px,100% - 40px)!important;max-width:1160px!important;margin:auto!important}
body.landing-body .hero-landing{display:grid!important;grid-template-columns:1.15fr 1fr!important;align-items:center;gap:40px!important;padding:48px 0!important;margin:0!important}
body.landing-body .hero-copy h1{color:#172033!important;font-size:clamp(34px,4vw,52px)!important;line-height:1.08!important;letter-spacing:-1.5px;max-width:16ch;margin:14px 0!important}
body.landing-body .hero-copy p{color:#475569!important;font-size:17px!important;line-height:1.6!important;max-width:48ch}
body.landing-body .hero-actions{display:flex!important;gap:10px!important;flex-wrap:wrap;margin-top:24px}
body.landing-body .hero-actions>*{min-height:48px!important;padding:12px 22px!important;border-radius:10px!important;font-size:15px!important;font-weight:700!important;text-decoration:none}
body.landing-body .primary,body.landing-body .btn-login{background:#dc2626!important;color:#fff!important;border:1px solid #dc2626!important}
body.landing-body .secondary,body.landing-body .hero-actions button{background:#fff!important;color:#172033!important;border:1px solid #b8c1cf!important}
body.landing-body .cm-feature-tiles{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
body.landing-body .cm-feature-tile{background:#fff!important;min-height:100px!important;border:1px solid #dce2ec!important;border-radius:13px!important;box-shadow:0 4px 12px #17203305;gap:10px;color:#172033!important}
body.landing-body .cm-feature-tile svg{color:#dc2626!important;width:28px!important;height:28px!important}
body.landing-body .landing-section{padding:26px 0!important;margin:0!important;scroll-margin-top:140px}
body.landing-body .landing-section h2{color:#172033!important;font-size:28px!important;line-height:1.2}
body.landing-body .capability-summary{display:none!important}
body.landing-body .capabilities-heading p,body.landing-body .plans-intro{color:#475569!important;max-width:65ch;line-height:1.6}
body.landing-body .plan-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px!important}
body.landing-body .landing-plan-card{background:#fff!important;color:#172033!important;padding:20px!important;border:1px solid #dce2ec!important;border-radius:12px!important;min-height:0!important;box-shadow:none!important}
body.landing-body .landing-plan-card strong{color:#172033!important;font-size:28px!important}
body.landing-body .landing-plan-card a{color:#b91c1c!important;background:#fff1f2!important;min-height:42px;display:flex;align-items:center;justify-content:center;border:1px solid #fecdd3;border-radius:8px;text-decoration:none}
body.landing-body .plan-icon{display:none!important}
body.landing-body .cm-app-downloads{background:#fff!important;color:#172033!important;border:1px solid #dce2ec!important;border-radius:14px;padding:22px!important;margin:24px 0!important}
body.landing-body .cm-app-downloads-copy p{color:#475569!important}
body.landing-body .cm-app-download{background:#202226!important;color:#fff!important;border-radius:10px!important;min-height:60px}
body.landing-body .learn-layout{gap:18px!important}.landing-body .learn-card{background:#fff!important;color:#172033!important;border:1px solid #dce2ec!important;border-radius:12px;padding:22px!important}
body.landing-body .login-card{background:#fff!important;color:#172033!important;border-radius:16px!important}.landing-body .login-card input{color:#172033!important;background:#f8fafc!important;min-height:48px}.landing-body .login-card .logo-area h1{color:#172033!important}
body.cm-reference-home .cm-module-directory{display:block!important;padding:20px!important;background:#fff!important;border:1px solid #dce2ec!important;border-radius:14px!important;margin:18px 0!important}
body.cm-reference-home .cm-module-directory h2{font-size:22px!important;color:#172033!important;margin:0 0 16px!important}
body.cm-reference-home .cm-ref-featured{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important}
body.cm-reference-home .cm-ref-module{display:flex!important;align-items:center;gap:12px!important;padding:18px!important;min-height:90px!important;border:1px solid #dce2ec!important;border-radius:12px!important;background:#fff!important;color:#172033!important;text-decoration:none!important;transition:border-color .15s,background .15s}
body.cm-reference-home .cm-ref-module:hover{border-color:#dc2626!important;background:#fff7f7!important}
body.cm-reference-home .cm-ref-module svg{width:30px!important;height:30px!important;padding:5px;box-sizing:content-box;flex-shrink:0;color:#dc2626;background:#fff1f2;border-radius:10px}
body.cm-reference-home .cm-ref-module b{font-size:15px!important;line-height:1.3;color:#172033!important}.cm-ref-module small{display:block!important;margin-top:4px;color:#64748b!important;font-size:12px!important}
body.cm-reference-home .cm-ref-all-modules{margin-top:18px!important;padding-top:18px!important;border-top:1px solid #e2e8f0}
body.cm-reference-home .cm-ref-all-modules summary{font-size:16px!important;font-weight:700;min-height:42px;cursor:pointer;color:#172033!important}
body.cm-reference-home .cm-ref-all-modules input{display:block!important;width:100%;box-sizing:border-box;min-height:44px;margin:8px 0 16px!important;padding:10px 12px;border:1px solid #cbd5e1;border-radius:9px}
body.cm-reference-home .cm-directory-columns{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important}
body.cm-reference-home .cm-directory-columns section{background:#f8fafc!important;border:1px solid #e2e8f0;border-radius:12px;padding:14px!important}
body.cm-reference-home .cm-directory-columns h3{font-size:14px!important;color:#64748b!important;margin:0 0 10px!important}
body.cm-reference-home .cm-directory-columns nav{display:grid!important;gap:7px!important}
body.cm-reference-home .cm-directory-link{display:flex!important;align-items:center;gap:10px;min-height:46px;padding:10px!important;border:1px solid #dce2ec!important;border-radius:8px!important;background:#fff!important;color:#172033!important;font-size:13px!important;text-decoration:none!important}
body.cm-reference-home .cm-module-directory [hidden]{display:none!important}
body.cm-reference-home .cm-ref-module:focus-visible,.cm-directory-link:focus-visible,.landing-body a:focus-visible,.landing-body button:focus-visible{outline:3px solid #dc2626;outline-offset:3px}
@media(max-width:760px){
 body.landing-body .site-nav{padding:12px 16px!important;gap:10px!important}.landing-body .cm-entry-login{padding:8px 12px!important}
 body.landing-body .cm-public-nav{order:3;width:100%;justify-content:space-between;gap:5px!important}
 body.landing-body main.landing{width:calc(100% - 32px)!important}
 body.landing-body .hero-landing{grid-template-columns:1fr!important;padding:28px 0!important;gap:22px!important}
 body.landing-body .hero-copy h1{font-size:36px!important;letter-spacing:-1px}.landing-body .hero-copy p{font-size:15px!important}
 body.landing-body .hero-actions{display:grid!important;grid-template-columns:1fr 1fr!important}.landing-body .hero-actions>*{padding:10px 8px!important;font-size:13px!important;text-align:center}
 body.landing-body .cm-feature-tiles{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.landing-body .cm-feature-tile{min-height:80px!important}.landing-body .cm-feature-tile strong{font-size:12px!important}
 body.landing-body .plan-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.landing-body .landing-plan-card{padding:14px!important}.landing-body .landing-plan-card strong{font-size:24px!important}
 body.landing-body .landing-section h2{font-size:24px!important}.landing-body .cm-app-downloads{padding:16px!important}
 body.cm-reference-home .cm-module-directory{padding:14px!important}
 body.cm-reference-home .cm-ref-featured{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
 body.cm-reference-home .cm-ref-module{min-height:92px!important;padding:12px!important;gap:8px!important}.cm-ref-module b{font-size:13px!important}.cm-ref-module svg{width:24px!important;height:24px!important}
 body.cm-reference-home .cm-directory-columns{grid-template-columns:1fr!important}
}
