/* Shared branding for the three isolated examples. */
.demo-logo{display:flex;align-items:center;gap:8px;margin-right:auto;min-width:78px;color:#e2e8f0;text-decoration:none}
.demo-logo-cursor{width:2px;height:40px;background:currentColor;animation:demo-logo-blink 1.1s step-end infinite}
.demo-logo-text{display:flex;flex-direction:column;font:300 24px/.85 'Urbanist',system-ui,sans-serif;letter-spacing:-1px}
.demo-logo-text b{font-weight:600}
.demo-logo-ac{position:relative;display:inline-block}
.demo-logo-ac::after{content:"";position:absolute;left:50%;transform:translateX(-50%);width:.38em;height:.055em;background:currentColor;top:.14em}
@keyframes demo-logo-blink{0%,100%{opacity:1}50%{opacity:0}}
.demo-inner-back{display:inline-block;color:#bdd8ee;text-decoration:none;font:14px system-ui,sans-serif;border:1px solid #405875;border-radius:6px;padding:8px 12px;white-space:nowrap;margin-right:14px}
.demo-inner-back:hover{color:#fff;border-color:#7aa9ce}
.demo-embedded .crt-header>.chj-logo,.demo-embedded #appTitle,.demo-embedded .crt-header>button[onclick="goBack()"]{display:none!important}
.demo-embedded #appHeader{padding-left:16px}
.demo-logo:focus-visible,.demo-inner-back:focus-visible{outline:2px solid #ffc270;outline-offset:4px}
@media(max-width:600px){.demo-logo{min-width:70px}.demo-logo-text{font-size:22px}.demo-logo-cursor{height:36px}}
@media(orientation:landscape) and (max-height:500px){.demo-logo-text{font-size:18px}.demo-logo-cursor{height:30px}.demo-inner-back{padding:6px 10px;font-size:12px}}
@media(prefers-reduced-motion:reduce){.demo-logo-cursor{animation:none}}

.demo-embedded #crtTitle,.demo-embedded #crtSubtitle{display:none!important}
.demo-help{position:relative;flex-shrink:0;font:13px system-ui,sans-serif;color:#b8d7ed}.demo-help>summary{cursor:pointer;list-style:none;display:flex;align-items:center;gap:8px;padding:9px 11px;border:1px solid #405875;border-radius:7px;white-space:nowrap}.demo-help>summary::-webkit-details-marker{display:none}.demo-help>summary>span{border:1px solid #6d8eac;border-radius:50%;width:16px;height:16px;display:grid;place-items:center;font-size:11px}.demo-help[open]>summary{background:#1a3046;color:#fff}.demo-help-panel{position:absolute;right:0;top:calc(100% + 10px);width:min(350px,calc(100vw - 24px));padding:22px;background:#101d2e;border:1px solid #496681;border-radius:12px;box-shadow:0 18px 50px #0008;z-index:100;color:#b7cce2;line-height:1.65}.demo-help-panel h2{font-size:17px;font-weight:600;color:#e2edfa;margin:0 0 14px}.demo-help-panel ul{padding-left:18px;margin:0}.demo-help-panel li{margin:0 0 12px}.demo-help-panel strong{margin:0;font-weight:500;color:#e2edfa}.demo-help-panel>p{border-top:1px solid #36516d;padding-top:13px;margin:14px 0 0;font-size:12px;color:#8caac5}.demo-help>summary:focus-visible{outline:2px solid #ffc270;outline-offset:3px}
@media(max-width:600px){header>small{display:none}.demo-help{margin-left:auto}.demo-help-panel{position:fixed;right:12px;top:120px;max-height:calc(100dvh - 135px);overflow:auto}}
@media(orientation:landscape) and (max-height:500px){.demo-help>summary{padding:6px 9px;font-size:12px}.demo-help-panel{position:fixed;right:12px;top:45px;max-height:calc(100dvh - 56px);overflow:auto}}

body>header:has(.demo-help){position:relative;z-index:20}body>iframe{position:relative;z-index:0}.demo-help{z-index:30}
