/* ElectriBound accessibility tools — scoped so the controls never alter Office data. */
.eb-accessibility-trigger{
 position:fixed;left:20px;bottom:max(20px,env(safe-area-inset-bottom));z-index:90;
 display:grid;place-items:center;width:56px;height:56px;border-radius:50%;
 border:3px solid #fff;background:#0b4da2;color:#fff;
 box-shadow:0 5px 22px rgba(13,26,44,.3);cursor:pointer;
}
.eb-accessibility-trigger svg{width:33px;height:33px}
.eb-accessibility-trigger:hover{background:#083a7a}
.eb-accessibility-trigger:focus-visible,.eb-accessibility-dialog :focus-visible{outline:3px solid #a93439;outline-offset:3px}
.eb-accessibility-dialog{
 width:min(660px,calc(100vw - 28px));height:min(780px,calc(100dvh - 34px));max-width:none;max-height:none;
 margin:auto;padding:0;border:1px solid #ced9e8;border-radius:24px;
 color:#142239;background:#eff3f8;box-shadow:0 22px 75px rgba(6,25,52,.28);overflow:hidden;
}
.eb-accessibility-dialog::backdrop{background:rgba(9,20,38,.68)}
.eb-accessibility-shell{height:100%;min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr) auto;font-family:Arial,Helvetica,sans-serif;line-height:1.4}
.eb-accessibility-heading{padding:23px 26px 21px;display:flex;align-items:center;justify-content:space-between;gap:14px;background:#0b4da2;color:#fff}
.eb-accessibility-kicker{font-size:11px;letter-spacing:.11em;font-weight:800;color:#e2edff}
.eb-accessibility-heading h2{color:#fff;font-size:27px;line-height:1.2;letter-spacing:-.02em;margin:7px 0 0;font-weight:800}
.eb-accessibility-close{background:#fff;color:#0d2748;border:0;border-radius:50%;width:44px;height:44px;flex:0 0 44px;display:grid;place-items:center}
.eb-accessibility-close svg{width:25px;height:25px}
.eb-accessibility-scroll{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:21px 24px 26px}
.eb-accessibility-scroll>p:first-child{font-size:14px;color:#334760;margin:0 0 20px}

/* Primary low-vision control: direct, obvious, discrete size steps. */
.eb-text-size-panel{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;align-items:center;background:#fff;border:2px solid #0b4da2;border-radius:16px;padding:17px 18px;margin-bottom:20px}
.eb-text-size-intro{min-width:0;display:flex;flex-direction:column;gap:6px;color:#102038}
.eb-text-size-intro strong{font-size:19px;line-height:1.2}
.eb-text-size-intro span{font-size:13px;line-height:1.5;color:#334760}
.eb-text-size-controls{display:flex;align-items:center;gap:7px;flex-shrink:0}
.eb-text-size-controls button{height:45px;width:45px;border:2px solid #0b4da2;border-radius:11px;color:#0b4da2;background:#f4f9ff;font-size:29px;line-height:1;display:grid;place-items:center;font-weight:700}
.eb-text-size-controls button:disabled{opacity:.35;cursor:not-allowed}
.eb-text-size-controls button:not(:disabled):hover{background:#e1f0ff}
.eb-text-size-controls output{min-width:58px;text-align:center;color:#092f67;font-size:19px;font-weight:900;font-variant-numeric:tabular-nums}
@media(max-width:520px){.eb-text-size-panel{grid-template-columns:1fr;gap:12px;padding:15px}.eb-text-size-controls{justify-content:center}.eb-text-size-controls button{width:54px;height:48px}}
.eb-tool-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.eb-tool-tile{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0;min-height:129px;padding:20px 10px 14px;border:2px solid transparent;border-radius:18px;background:#fff;color:#102038;text-align:center;box-shadow:0 1px 2px rgba(10,32,59,.045);white-space:normal;line-height:1.3}
.eb-tool-tile svg{width:37px;height:37px;margin-bottom:13px;flex-shrink:0}
.eb-tool-name{font-size:15px;font-weight:800}
.eb-tool-state{font-size:11px;color:#65758a;font-weight:700;margin-top:5px}
.eb-tool-tile:hover{border-color:#aac6e8;background:#fafdff}
.eb-tool-tile.is-on{border-color:#0b4da2;background:#e7f0fc}
.eb-tool-tile.is-on .eb-tool-state{color:#0b4da2}
.eb-tool-tile.is-on::after{content:"✓";position:absolute;top:9px;right:12px;font-size:15px;font-weight:900;color:#0b4da2}
.eb-structure-section{margin:22px 0 0;border-top:1px solid #ccd5e1;padding-top:20px}
.eb-structure-section h3{font-size:17px;margin:0 0 12px}
.eb-structure-action{display:flex;align-items:center;gap:10px;border:1px solid #c9d8ec;background:#fff;color:#0b4da2;padding:13px 16px;border-radius:12px;font-size:14px;font-weight:750;width:100%}
.eb-structure-action svg,.eb-reset svg{width:21px;height:21px;flex:0 0 auto}
#eb-heading-list{display:flex;flex-direction:column;gap:6px;margin-top:12px;border-radius:12px;background:#fff;padding:8px;max-height:230px;overflow:auto}
.eb-heading-link{display:block;width:100%;border:0;background:transparent;border-radius:8px;color:#132b4c;text-align:left;font-size:13px;padding:8px 12px;white-space:normal}
.eb-heading-link:hover,.eb-heading-link:focus-visible{background:#e7f0fc}
.eb-tools-note{margin:20px 0 0;color:#4a5d75;font-size:12px;line-height:1.6}
.eb-accessibility-bottom{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 20px;border-top:1px solid #d9e1ea;padding:15px 24px 18px;background:#fff}
.eb-accessibility-bottom a{color:#0b4da2;text-decoration:underline;font-size:14px;font-weight:750}
.eb-reset{display:inline-flex;align-items:center;gap:7px;border:1px solid #c9d8ec;padding:9px 13px;border-radius:10px;background:#fff;color:#a02c32;font-size:13px;font-weight:750}
.eb-reset:hover{background:#f7f9fc}
.eb-accessibility-status{flex:0 0 100%;font-size:12px;color:#365674;min-height:0}
.eb-accessibility-status:empty{display:none}
@media(max-width:520px){
 .eb-accessibility-trigger{left:12px;bottom:max(12px,env(safe-area-inset-bottom));width:50px;height:50px}
 .eb-accessibility-trigger svg{width:29px;height:29px}
 .eb-accessibility-dialog{width:calc(100vw - 12px);height:calc(100dvh - 16px);border-radius:20px}
 .eb-accessibility-heading{padding:19px 18px}
 .eb-accessibility-heading h2{font-size:24px}
 .eb-accessibility-scroll{padding:19px 17px 24px}
 .eb-tool-grid{gap:10px}
 .eb-tool-tile{min-height:116px;border-radius:15px;padding:15px 7px 11px}
 .eb-tool-tile svg{width:31px;height:31px;margin-bottom:9px}
 .eb-tool-name{font-size:14px}
 .eb-accessibility-bottom{padding:12px 18px 16px}
}
@media print{.eb-accessibility-trigger,.eb-accessibility-dialog{display:none!important}}

/* Page content adjustments never affect the control panel itself. */
/* Native layout zoom enlarges actual text AND layout, including fixed-pixel typography. 
   The content reflows; the dialog is not zoomed so controls remain usable. */
html[data-eb-text-size="125"] body>main,html[data-eb-text-size="125"] .site-footer{zoom:1.25}
html[data-eb-text-size="150"] body>main,html[data-eb-text-size="150"] .site-footer{zoom:1.5}
html[data-eb-text-size="175"] body>main,html[data-eb-text-size="175"] .site-footer{zoom:1.75}
html[data-eb-text-size="200"] body>main,html[data-eb-text-size="200"] .site-footer{zoom:2}
/* Keep navigation functional at high magnification without distorting the logo. */
html.eb-tool-text .site-nav{font-size:max(16px,1em)}
html.eb-tool-text .site-header .nav-quote{font-size:16px}
html.eb-tool-text .site-header{overflow:visible}
html.eb-tool-spacing body>main,html.eb-tool-spacing .site-footer{letter-spacing:.055em!important;word-spacing:.12em!important}
html.eb-tool-spacing body>main :is(p,li,a,button,label,span,h1,h2,h3,input,textarea,select),html.eb-tool-spacing .site-footer :is(p,li,a,span){letter-spacing:.055em!important;word-spacing:.12em!important}
html.eb-tool-height body>main :is(p,li,blockquote,label),html.eb-tool-height .site-footer :is(p,li){line-height:2!important}
html.eb-tool-links body>main a,html.eb-tool-links .site-footer a,html.eb-tool-links .site-nav a{text-decoration:underline!important;text-decoration-thickness:2px!important;text-underline-offset:4px!important;outline:1px dashed #a93439;outline-offset:2px}
html.eb-tool-motion,html.eb-tool-motion *:not(.eb-accessibility-dialog),html.eb-tool-motion *::before,html.eb-tool-motion *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
html.eb-tool-images body>main img:not(.eb-preserve-image){opacity:0!important}
html.eb-tool-images body>main *,html.eb-tool-images .site-header *,html.eb-tool-images .site-footer *{background-image:none!important}
html.eb-tool-font body>main,html.eb-tool-font .site-header,html.eb-tool-font .site-footer{font-family:Arial,Verdana,Helvetica,sans-serif!important}
html.eb-tool-align body>main :is(p,li,blockquote),html.eb-tool-align .site-footer p{text-align:left!important}
html.eb-tool-contrast{--eb-access-contrast:1.25;--ink:#071020;--muted:#152333;--line:#53657d}
html.eb-tool-contrast body,html.eb-tool-contrast .site-header,html.eb-tool-contrast .site-footer{background:#fff;color:#071020}
html.eb-tool-contrast body>main :is(.hero-lead,.category-copy>p,.section-head p:not(.overline),.steps p),html.eb-tool-contrast .site-footer :is(p,li){color:#152333!important}
html.eb-tool-contrast body>main :is(.hero,.section,.how-section) a:not(.btn),html.eb-tool-contrast .site-nav a:not(.nav-quote),html.eb-tool-contrast .site-footer a{color:#003b88!important;text-decoration:underline!important;text-underline-offset:3px}
html.eb-tool-contrast body>main :is(input,select,textarea){border-color:#394e68!important;color:#071020!important;background-color:#fff!important}
html.eb-tool-saturation{--eb-access-saturation:.42}
html:is(.eb-tool-contrast,.eb-tool-saturation) body>main,
html:is(.eb-tool-contrast,.eb-tool-saturation) .site-header,
html:is(.eb-tool-contrast,.eb-tool-saturation) .site-footer{
 filter:contrast(var(--eb-access-contrast,1)) saturate(var(--eb-access-saturation,1));
}

/* Reflow narrow layouts at high text magnification, avoiding min-content grid
   expansion and fixed-width/nowrap buttons on small mobile screens. */
@media(max-width:760px){
 html.eb-tool-text body>main .hero-layout{grid-template-columns:minmax(0,1fr)}
 html.eb-tool-text body>main .hero-layout>*{min-width:0;max-width:100%}
 html.eb-tool-text body>main .hero-buttons{max-width:100%}
 html.eb-tool-text body>main .hero-buttons .btn{max-width:100%;min-width:0;white-space:normal;overflow-wrap:anywhere;text-align:center;gap:10px}
 html.eb-tool-text body>main .hero-metrics{flex-wrap:wrap;gap:13px}
 html.eb-tool-text body>main .eyebrow{flex-wrap:wrap;overflow-wrap:anywhere}
 html.eb-tool-text body>main .social-spotlight .btn{max-width:100%;min-width:0;white-space:normal;overflow-wrap:anywhere;gap:8px;text-align:center}
 html.eb-tool-text body>main .hero-photo span{max-width:calc(100% - 16px);left:8px;white-space:normal;overflow-wrap:anywhere}
}
