/* Reference: company accessibility panel; BRAVE palette and Polin typography. */
.brave-a11y-launcher{position:fixed!important;left:auto!important;right:max(20px,env(safe-area-inset-right))!important;bottom:max(100px,calc(16px + env(safe-area-inset-bottom)))!important;top:auto!important;width:50px;height:50px;display:grid;place-items:center;padding:11px;box-sizing:border-box;z-index:2147482000;border:2px solid var(--brave-accent,#fb4b19);border-radius:50%;background:var(--brave-dark,#140702);color:var(--brave-light,#fdfdfd);cursor:pointer;transition:background-color .18s,box-shadow .18s}
.brave-a11y-launcher svg{display:block;width:26px;height:26px}
.brave-a11y-launcher:is(:hover,:focus-visible){background:var(--brave-accent,#fb4b19);box-shadow:0 0 18px rgba(251,75,25,.22)}
.brave-a11y-launcher:focus-visible,.brave-a11y-dialog :is(button,a,input):focus-visible{outline:2px solid var(--brave-accent,#fb4b19);outline-offset:4px}
.brave-a11y-dialog{position:fixed;inset:auto max(20px,env(safe-area-inset-right)) max(164px,calc(80px + env(safe-area-inset-bottom))) auto;margin:0;box-sizing:border-box;width:300px;max-width:calc(100% - 40px);max-height:calc(100svh - 184px);overflow:auto;padding:16px;background:var(--brave-dark,#140702);color:var(--brave-light,#fdfdfd);border:1px solid #625550;border-radius:18px;font:500 15px/1.4 'Polin',sans-serif;box-shadow:0 12px 40px rgba(0,0,0,.3)}
.brave-a11y-dialog::backdrop{background:rgba(0,0,0,.15)}
.brave-a11y-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.brave-a11y-dialog h2{font:700 20px/1.2 'Polin',sans-serif;margin:0;color:inherit}
.brave-a11y-header [data-a11y-close]{display:grid;place-items:center;min-width:28px;min-height:28px;padding:0;border:0;background:transparent;color:inherit;font:400 24px/1 'Polin',sans-serif;cursor:pointer}
.brave-a11y-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.brave-a11y-dialog .brave-a11y-tile{position:relative;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:2px;box-sizing:border-box;min-height:64px;margin:0;padding:10px 6px;border:1px solid #625550;border-radius:13px;background:#25150f;color:inherit;text-align:center;font:500 15px/1.3 'Polin',sans-serif;cursor:pointer}
.brave-a11y-tile input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
.brave-a11y-dialog .brave-a11y-tile:is(:hover,:focus-within),.brave-a11y-dialog .brave-a11y-tile:has(input:checked),.brave-a11y-dialog .brave-a11y-tile.is-active{border-color:var(--brave-accent,#fb4b19);box-shadow:inset 0 0 0 1px var(--brave-accent,#fb4b19)}
.brave-a11y-tile:focus-within{outline:2px solid var(--brave-accent,#fb4b19);outline-offset:2px}
.brave-a11y-tile:has(input:checked)::after{content:"✓";position:absolute;top:4px;left:7px;color:var(--brave-accent,#fb4b19);font-size:13px;pointer-events:none}
.brave-a11y-tile small{font:400 12px/1.2 'Polin',sans-serif;color:#c7bfba}
.brave-a11y-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px}
.brave-a11y-footer button{padding:6px 14px;min-height:32px;border:1px solid var(--brave-accent,#fb4b19);border-radius:999px;background:transparent;color:inherit;font:500 15px/1.2 'Polin',sans-serif;cursor:pointer}
.brave-a11y-footer a{color:var(--brave-accent,#fb4b19);font-size:14px;text-decoration:underline;text-underline-offset:3px}
.brave-a11y-footer :is(a,button):hover{color:var(--brave-accent,#fb4b19)}
/* Preserve the basic grid; keep navigation reachable while mobile tools scroll. */
@media(max-width:767px){
 .brave-a11y-dialog{overscroll-behavior:contain;scrollbar-width:thin}
 .brave-a11y-header{position:sticky;top:-16px;z-index:3;background:var(--brave-dark,#140702);padding:12px 0 8px;margin-top:-8px}
 .brave-a11y-header [data-a11y-close]{min-width:44px;min-height:44px}
 .brave-a11y-footer{position:sticky;bottom:-16px;z-index:3;background:var(--brave-dark,#140702);padding:12px 0;margin-bottom:-8px;border-top:1px solid #625550}
 .brave-a11y-footer :is(a,button){min-height:44px;display:inline-flex;align-items:center;justify-content:center}
}
@media(max-height:600px){.brave-a11y-dialog{bottom:164px;max-height:calc(100svh - 180px)}}
@media(prefers-reduced-motion:reduce){.brave-a11y-launcher{transition:none}}

/* A viewport filter leaves fixed navigation and the launcher anchored correctly. */
html.brave-access-grayscale body::after{content:"";position:fixed;inset:0;z-index:2147481000;pointer-events:none;backdrop-filter:grayscale(1);-webkit-backdrop-filter:grayscale(1)}
html.brave-access-readable body :not(.brave-a11y-dialog):not(.brave-a11y-dialog *){font-family:Arial,sans-serif!important}
html.brave-access-spacing body :is(p,h1,h2,h3,h4,h5,h6,li,dt,dd,label,legend,figcaption,th,td,a,button,input,textarea,select,span,strong,b,em,i):not(.brave-a11y-dialog *){letter-spacing:.08em!important;word-spacing:.12em!important;line-height:1.6!important}
html.brave-access-cursor,html.brave-access-cursor body,html.brave-access-cursor body *{cursor:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='48' viewBox='0 0 40 48'%3E%3Cpath d='M3 3v35l9-9 8 16 7-4-8-15h15Z' fill='%23fb4b19' stroke='%23fff' stroke-width='2.5' stroke-linejoin='round'/%3E%3C/svg%3E") 3 3,auto!important}

html.brave-access-links a{text-decoration:underline!important;text-underline-offset:.2em}
html.brave-access-motion *,html.brave-access-motion *::before,html.brave-access-motion *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
@media(prefers-reduced-motion:reduce){.brave-a11y-launcher{transition:none}}

/* Enhance the existing palette without recoloring text, images or surfaces.
   A viewport backdrop keeps fixed controls in their original coordinate system. */
html.brave-access-contrast{--brave-access-contrast-factor:1.2}
html.brave-access-contrast body::before{content:"";position:fixed;inset:0;z-index:2147480999;pointer-events:none;backdrop-filter:contrast(var(--brave-access-contrast-factor));-webkit-backdrop-filter:contrast(var(--brave-access-contrast-factor))}

/* Static mode keeps entrance content and the complete about story visible. */
html.brave-access-motion .brave-stagger-reveal__item{opacity:1!important;translate:0 0!important}
html.brave-access-motion :is(.brave-scroll-line,.brave-scroll-line>.absolute,.brave-about-anchor-line__stroke){opacity:1!important;clip-path:none!important}
html.brave-access-motion :is(.brave-about-anchor-benefit,.brave-about-vision-reveal__copy){opacity:1!important;filter:none!important;transform:none!important;translate:0 0!important}
html.brave-access-motion .brave-about-vision-reveal__symbol{opacity:1!important}
html.brave-access-motion .brave-about-rebuild-sequence{height:auto!important}
html.brave-access-motion .brave-about-rebuild-stage{position:relative!important;top:0!important;height:auto!important}
html.brave-access-motion .brave-about-rebuild-panel{position:relative!important;height:var(--brave-static-panel-height)!important;transform:none!important}
html.brave-access-motion .brave-about-rebuild-panel :is(.brave-about-rebuild-paragraph,[data-node-id="19247:3231"],[data-node-id="19247:4961"],[data-node-id="19247:3232"],[data-node-id="19247:3237"],[data-node-id="19247:3238"],[data-node-id="19247:4967"],[data-node-id="19247:4968"]){opacity:1!important;translate:0 0!important;transform:none!important}
html.brave-access-motion .brave-about-rebuild-panel--second :is([data-node-id="19247:3239"],[data-node-id="19247:4969"]){visibility:visible!important}
html.brave-access-motion .brave-about-product-reveal__image{opacity:1!important;transform:none!important}
html.brave-access-motion :is(.brave-scroll-sequence,.brave-hero-backdrop){position:absolute!important;top:0!important}
html.brave-access-motion .brave-scroll-sequence__canvas{display:none!important}
html.brave-access-motion :is([data-sequence-image],.brave-scroll-sequence__poster){opacity:1!important;visibility:visible!important}
html.brave-access-motion .brave-home :is([data-node-id="19247:3075"],[data-node-id="19247:3076"]){transform:none!important}
html.brave-access-motion .brave-kitchen-color{filter:saturate(1)!important}
@media(max-width:767px){
 html.brave-access-motion .brave-about-anchor-scroll{height:auto!important;min-height:0!important}
 html.brave-access-motion .brave-about-anchor-sequence--mobile{position:relative!important;height:auto!important;min-height:0!important;padding-top:95vw;display:flex!important;flex-direction:column;gap:8vw;padding-bottom:8vw}
 html.brave-access-motion .brave-mobile-anchor-card{position:relative!important;left:auto!important;top:auto!important;width:100%!important;opacity:1!important}
 html.brave-access-motion .brave-mobile-anchor-card :is(img,.brave-mobile-anchor-card__copy){opacity:1!important;filter:none!important}
 html.brave-access-motion .brave-mobile-anchor-line{display:none!important}
}
