/* V5.6.7: independent accessibility layer for both public and CMS */
:root{--ht-font-scale:1;--ht-text:#103856;--ht-surface:#fff;--ht-bg:#f5faff;--ht-border:#d6e7f2}
html{font-size:calc(16px * var(--ht-font-scale))!important}html[data-ht-theme="dark"]{color-scheme:dark;--ht-text:#eaf5ff;--ht-surface:#142b42;--ht-bg:#0b1b2d;--ht-border:#36506b}
.ht-access-controls{display:flex;align-items:center;gap:8px;flex-shrink:0;position:relative;z-index:102;font-family:Inter,Arial,sans-serif!important;font-size:13px!important}
.ht-font-controls{display:flex;align-items:center;gap:3px;padding:4px;border:1px solid #c9e0ef;border-radius:12px;background:#f1f8fd;white-space:nowrap}.ht-font-controls button,.ht-theme-button{border:0;cursor:pointer;font-weight:800;color:#075287;background:transparent;border-radius:8px;min-width:34px;min-height:35px}.ht-font-controls output{min-width:43px;text-align:center;font-variant-numeric:tabular-nums}.ht-theme-button{padding:7px 10px;border:1px solid #c9e0ef;background:#fff;white-space:nowrap}.ht-access-controls button:focus-visible{outline:3px solid #ed2745;outline-offset:2px}
/* Rem scaling for legacy px-heavy layout without scaling photos or containers */
body.ht565{font-size:calc(16px * var(--ht-font-scale))!important}.ht565-menu{font-size:calc(14px * var(--ht-font-scale))!important;gap:clamp(10px,1.2vw,24px)!important}.ht565-hero-copy h1{font-size:clamp(34px,calc(55px * var(--ht-font-scale)),68px)!important}.ht565-hero-copy p{font-size:calc(15px * var(--ht-font-scale))!important}.ht565-section h2{font-size:calc(29px * var(--ht-font-scale))!important}.ht565-card h3{font-size:calc(14px * var(--ht-font-scale))!important}.ht565-card p{font-size:calc(12px * var(--ht-font-scale))!important}.ht565-footer p,.ht565-footer a{font-size:calc(12px * var(--ht-font-scale))!important}.ht565-nav{gap:clamp(10px,1vw,22px)!important}.ht565-logo{flex-basis:clamp(210px,21vw,340px)!important}.ht565-logo img{width:100%!important;max-width:340px}
html[data-ht-theme="dark"] body.ht565{background:var(--ht-bg)!important;color:var(--ht-text)!important}html[data-ht-theme="dark"] .ht565-header,html[data-ht-theme="dark"] .ht565-menu,html[data-ht-theme="dark"] .ht565-card,html[data-ht-theme="dark"] .ht565-partners,html[data-ht-theme="dark"] .ht565-hero-copy{background:var(--ht-surface)!important;color:var(--ht-text)!important;border-color:var(--ht-border)!important}html[data-ht-theme="dark"] .ht565-menu a,html[data-ht-theme="dark"] .ht565-card h3,html[data-ht-theme="dark"] .ht565-heading h2,html[data-ht-theme="dark"] .ht565-partners h3,html[data-ht-theme="dark"] .ht565-hero-copy h1{color:var(--ht-text)!important}html[data-ht-theme="dark"] .ht565-card p,html[data-ht-theme="dark"] .ht565-card small{color:#bed3e5!important}html[data-ht-theme="dark"] .ht565-benefits,html[data-ht-theme="dark"] .ht565-thanks{background:#19334b!important}html[data-ht-theme="dark"] .ht-font-controls,html[data-ht-theme="dark"] .ht-theme-button{background:#25425d;color:#fff;border-color:#54718c}html[data-ht-theme="dark"] .ht565-book{color:white!important}
/* Dashboard theme: retains original layout, changes its surfaces */
html[data-ht-theme="dark"] body.admin-body{background:#0b1b2d!important;color:#eaf5ff!important}html[data-ht-theme="dark"] .admin-top,html[data-ht-theme="dark"] .admin-side,html[data-ht-theme="dark"] .admin-main,html[data-ht-theme="dark"] .admin-main .card,html[data-ht-theme="dark"] .admin-main .panel{background:#142b42!important;color:#eaf5ff!important;border-color:#36506b!important}html[data-ht-theme="dark"] .admin-main input,html[data-ht-theme="dark"] .admin-main textarea,html[data-ht-theme="dark"] .admin-main select{background:#1c3852!important;color:#fff!important;border-color:#56718a!important}html[data-ht-theme="dark"] .admin-side a,html[data-ht-theme="dark"] .admin-top a,html[data-ht-theme="dark"] .admin-main h1,html[data-ht-theme="dark"] .admin-main h2,html[data-ht-theme="dark"] .admin-main h3{color:#eaf5ff!important}body.admin-body{font-size:calc(16px * var(--ht-font-scale))!important}body.admin-body .admin-side a,body.admin-body .admin-top,body.admin-body .admin-main{font-size:calc(1em * var(--ht-font-scale))}body.admin-body .admin-main h1{font-size:calc(2em * var(--ht-font-scale))}body.admin-body .admin-main h2{font-size:calc(1.5em * var(--ht-font-scale))}.admin-top-actions .ht-access-controls{margin-right:12px}
@media(max-width:1100px){.ht565-nav{flex-wrap:wrap;height:auto!important;min-height:76px;padding:9px 0}.ht565-toggle{display:block!important}.ht565-menu{display:none!important;position:absolute;top:100%;left:10px;right:10px;z-index:110;flex-direction:column;align-items:stretch;background:var(--ht-surface);padding:14px;border:1px solid var(--ht-border);border-radius:14px}.ht565-menu.open{display:flex!important}.ht-access-controls{margin-left:auto}.ht565-toggle{margin-left:0!important}.ht565-header{position:sticky}.ht565-logo{flex:0 1 245px!important}}
@media(max-width:560px){.ht565-logo{flex:0 1 155px!important}.ht-access-controls{gap:3px}.ht-font-controls{padding:2px}.ht-font-controls button{min-width:26px}.ht-theme-button{padding:5px}.ht-theme-button span{display:none}.admin-top-actions{flex-wrap:wrap}.admin-top-actions .ht-access-controls{order:-1}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}
