/* One control only: no brand label, no hint text, no second header toggle. */
.cqt-switch-row{position:relative;z-index:9998;width:100%;height:38px;min-height:38px;box-sizing:border-box;background:transparent;border:0;pointer-events:none}
.cqt-switch-row__inner{width:min(100% - 32px,1440px);height:38px;margin:0 auto;display:flex;align-items:center;justify-content:flex-end;pointer-events:none}
.cqt-switch,.cqt-switch *{box-sizing:border-box}
.cqt-switch{pointer-events:auto;appearance:none;-webkit-appearance:none;border:1px solid rgba(91,119,164,.22);border-radius:999px;width:76px;height:30px;padding:0 7px;margin:0;display:inline-flex;align-items:center;justify-content:space-between;gap:5px;flex:0 0 76px;color:#456b9d;background:rgba(255,255,255,.92);box-shadow:0 2px 9px rgba(52,82,130,.10);cursor:pointer;transition:background .25s ease,border-color .25s ease,box-shadow .25s ease}
.cqt-switch:hover{box-shadow:0 3px 12px rgba(52,82,130,.16)}
.cqt-switch:focus-visible{outline:3px solid rgba(105,145,215,.4);outline-offset:2px}
.cqt-switch svg{display:block!important;width:13px!important;height:13px!important;min-width:13px!important;max-width:13px!important;flex:0 0 13px!important;padding:0!important;margin:0!important;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.cqt-switch__track{position:relative;display:block!important;width:25px!important;height:14px!important;min-width:25px!important;max-width:25px!important;flex:0 0 25px!important;border-radius:20px;background:#dce7f7;transition:background .28s ease}
.cqt-switch__thumb{position:absolute;top:2px;left:2px;width:10px;height:10px;border-radius:50%;background:#527db8;box-shadow:0 1px 3px rgba(30,55,90,.2);transition:transform .3s cubic-bezier(.2,.8,.2,1),background .25s ease}
/* Hide the old Header Only toggle so the site has exactly one visible switch. */
html.cqh-global-switch-active .cqh-theme-toggle,html.cqh-global-switch-active [data-cqh-theme-toggle]{display:none!important}
html.cqh-global-switch-active .cqt-switch__thumb{transform:translateX(0)}
html.cqh-dark-mode .cqt-switch{color:#d5e2f7;background:#293b58;border-color:rgba(185,205,237,.25)}
html.cqh-dark-mode .cqt-switch__track{background:#52698d}
html.cqh-dark-mode .cqt-switch__thumb{transform:translateX(11px);background:#f0c978}
/* Shared dark palette for WordPress/Kubio and CyberQoldau surfaces. */
html.cqh-dark-mode,html.cqh-dark-mode body{color-scheme:dark;--cqh-page-bg:#111b2b;--cqh-surface:#1b2940;--cqh-surface-raised:#22334e;--cqh-text:#e8eef8;--cqh-muted-text:#b5c2d6;--cqh-border:rgba(190,207,232,.18);--cqh-link:#a9c9ff}
html.cqh-dark-mode body{background-color:var(--cqh-page-bg)!important;color:var(--cqh-text)}
html.cqh-dark-mode body :where(main,article,.site,#page,#content,.site-content,.wp-site-blocks,.entry-content,.kubio-section,.wp-block-group,.wp-block-cover){color:var(--cqh-text)}
html.cqh-dark-mode body :where(.wp-block-group,.wp-block-column,.wp-block-cover,.wp-block-columns,.wp-block-post,.wp-block-query,.wp-block-post-content,.entry-content,.site-content){border-color:var(--cqh-border)}
html.cqh-dark-mode body :where(p,li,label,figcaption,small,blockquote,.wp-block-paragraph){color:inherit}
html.cqh-dark-mode body :where(h1,h2,h3,h4,h5,h6){color:var(--cqh-text)}
html.cqh-dark-mode body a{color:var(--cqh-link)}
html.cqh-dark-mode body :where(input,textarea,select){color:var(--cqh-text);background-color:var(--cqh-surface);border-color:var(--cqh-border)}
html.cqh-dark-mode body :where(input,textarea,select)::placeholder{color:var(--cqh-muted-text);opacity:.8}
html.cqh-dark-mode body :where(table,th,td){border-color:var(--cqh-border)}
html.cqh-dark-mode body :where(th){background:var(--cqh-surface-raised);color:var(--cqh-text)}
html.cqh-dark-mode body :where(.card,.widget,.wp-block-quote,.wp-block-table,.wp-block-details,.wp-block-post-template>li){border-color:var(--cqh-border)}
html.cqh-dark-mode body :where(.cyberqoldau-help,.cyberqoldau-helper,.cqh-help,.cqls,.cyberqoldau-legal-shield){color:var(--cqh-text)}
html.cqh-dark-mode body :where(.cyberqoldau-help,.cyberqoldau-helper,.cqh-help,.cqls,.cyberqoldau-legal-shield) :where(p,li,label,h1,h2,h3,h4){color:inherit}
@media(max-width:600px){.cqt-switch-row,.cqt-switch-row__inner{height:36px;min-height:36px}.cqt-switch-row__inner{width:calc(100% - 24px)}.cqt-switch{width:72px;height:29px;flex-basis:72px}}
@media(prefers-reduced-motion:reduce){.cqt-switch,.cqt-switch__track,.cqt-switch__thumb{transition:none!important}}
