/* Visible controls supplement the site's built-in accessibility. */
.ag-access-trigger{position:fixed;inset-inline-end:16px;top:50%;z-index:95;display:flex;align-items:center;gap:6px;min-height:48px;padding:8px 12px;background:#243c78;color:#fff;border:2px solid #fff;border-radius:999px;box-shadow:0 2px 10px #0004;font-size:15px;font-weight:700;line-height:1.3;text-decoration:none}
.ag-access-panel{box-sizing:border-box;width:min(440px,calc(100% - 24px));max-height:calc(100dvh - 32px);padding:24px;border:2px solid #243c78;border-radius:20px;background:#fff;color:#17151b;overflow:auto;direction:rtl;font-size:16px;line-height:1.6;box-shadow:0 20px 70px #0005}
.ag-access-panel::backdrop{background:#17151b99}
.ag-access-panel:not([open]){display:none}
.ag-access-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}
.ag-access-heading h2{font-size:23px;line-height:1.3;margin:0}
.ag-access-panel button,.ag-access-panel select{min-height:44px;font:inherit;border:1px solid #706b78;border-radius:8px;padding:8px 12px;background:#fff;color:#17151b;cursor:pointer}
.ag-access-panel button[aria-pressed=true]{background:#243c78;color:#fff;border-color:#243c78}
.ag-access-panel button[aria-pressed=true]::before{content:'✓ ';}
.ag-access-options{display:grid;gap:10px;margin-block:16px}
.ag-access-size{display:grid;gap:6px;font-weight:700}
.ag-access-panel a{text-decoration:underline;text-underline-offset:3px;color:#204fa0;display:inline-block;min-height:44px}
.ag-access-note{font-size:14px}
.ag-access-panel :focus-visible,.ag-access-trigger:focus-visible{outline:3px solid #17151b;outline-offset:3px;box-shadow:0 0 0 6px #fff}
/* Keep keyboard focus visible on both dark and light surfaces. */
body :where(a,button,input,textarea,select,summary):focus-visible{outline:3px solid #1767b6;outline-offset:3px;box-shadow:0 0 0 6px #fff}
.screen-reader-text:focus{position:fixed!important;top:8px;inset-inline-start:8px;background:#fff;color:#17151b}
.ag-main :where(a,button,input,textarea,summary){scroll-margin-block:140px 130px}
.ag-main :where(p,li) a{text-decoration:underline;text-underline-offset:3px}
.ag-contact-form :where(input:not([type=hidden]):not([type=checkbox]),textarea){border-bottom-color:#928b9b}
html.ag-access-links a{text-decoration:underline!important;text-underline-offset:4px!important;text-decoration-thickness:2px!important}
html.ag-access-text [style*="--ag-access-font"]{font-size:var(--ag-access-font)!important;line-height:1.6!important;letter-spacing:normal!important;overflow-wrap:anywhere}
html.ag-access-text .ag-hero-copy h1,html.ag-access-text .ag-page-hero h1{max-width:100%}
html.ag-access-text .ag-hero-copy{width:100%;background:#17151bee}
html.ag-access-text .ag-layer-card{position:relative!important;inset:auto;width:auto;margin:20px}
html.ag-access-text .ag-work-board,html.ag-access-text .ag-work-side{grid-template-columns:1fr;grid-template-rows:auto;min-height:0}
html.ag-access-text .ag-work-card{min-height:0}
html.ag-access-text .ag-work-card img{position:static;height:240px}
html.ag-access-text .ag-work-label{position:relative!important;inset:auto;padding:20px;background:#17151b}
html.ag-access-text .ag-footer-nav ul{flex-wrap:wrap}
html.ag-access-text .ag-cookie-actions{flex-wrap:wrap;flex-shrink:1}
html.ag-access-motion,html.ag-access-motion *{scroll-behavior:auto!important;animation:none!important;transition:none!important}
html.ag-access-motion .ag-hero-media video,html.ag-access-motion .ag-video-toggle{display:none!important}
html.ag-access-motion .ag-hero-media .ag-poster-fallback{display:block!important}
html.ag-access-contrast body,html.ag-access-contrast body :where(main,header,footer,section,article,nav,div,p,li,h1,h2,h3,h4,label,span,strong,summary,details,figure,figcaption,dialog){background-color:#fff!important;background-image:none!important;color:#111!important;text-shadow:none!important}
html.ag-access-contrast body :where(a,button,input,textarea,select){background:#fff!important;color:#111!important;border-color:#111!important;text-shadow:none!important}
html.ag-access-contrast a{text-decoration:underline!important}
html.ag-access-contrast .ag-access-panel button[aria-pressed=true]{background:#111!important;color:#fff!important}
html.ag-access-contrast .ag-hero-copy{position:relative;z-index:3;background:#fff!important}
html.ag-access-contrast .ag-work-label{background:#fff!important;padding:8px}
@media(max-width:860px){.ag-access-trigger{inset-inline-end:8px;padding:8px;gap:3px;font-size:12px;flex-direction:column;min-width:48px}.ag-access-panel{padding:18px}}
@media(forced-colors:active){.ag-access-trigger,.ag-access-panel{border:2px solid ButtonText}.ag-access-panel button[aria-pressed=true]{outline:3px solid Highlight}}
@media print{.ag-access-trigger,.ag-access-panel{display:none!important}}
