/* BRAVE accessibility panel — OneTap layout (side drawer, module cards, tile grid) in BRAVE colors.
   Effects keep the html.brave-access-* classes other theme files already read. */
.bx11y-launcher{position:fixed;right:max(20px,env(safe-area-inset-right));bottom:max(100px,calc(16px + env(safe-area-inset-bottom)));z-index:2147482000;width:52px;height:52px;display:grid;place-items:center;padding:0;border:2px solid var(--brave-accent, #fb4b19);border-radius:50%;background:var(--brave-dark, #140702);color:var(--brave-white, #fff);cursor:pointer;box-shadow:0 6px 20px rgba(20,7,2,.28);transition:background-color .18s,transform .18s}
.bx11y-launcher svg{width:28px;height:28px;display:block}
.bx11y-launcher:is(:hover,:focus-visible){background:var(--brave-accent, #fb4b19)}
.bx11y-launcher:focus-visible{outline:3px solid var(--brave-dark, #140702);outline-offset:3px}

.bx11y{position:fixed;inset:12px 12px 12px auto;margin:0;width:420px;max-width:calc(100% - 24px);height:auto;max-height:none;padding:0;border:0;border-radius:22px;background:var(--brave-tone-f3f1f0, #f3f1f0);color:var(--brave-dark, #140702);box-shadow:0 18px 60px rgba(20,7,2,.35);font:500 14px/1.35 'Polin',Arial,sans-serif;overflow:hidden}
.bx11y[open]{display:flex;flex-direction:column}
.bx11y::backdrop{background:rgba(20,7,2,.35)}
.bx11y *{box-sizing:border-box}
.bx11y__head{position:relative;flex:none;padding:22px 20px 26px;background:var(--brave-dark, #140702);color:var(--brave-white, #fff);text-align:center}
.bx11y__close{position:absolute;top:14px;left:14px;width:36px;height:36px;display:grid;place-items:center;border:0;border-radius:50%;background:rgba(255,255,255,.12);color:var(--brave-white, #fff);font:400 22px/1 Arial,sans-serif;cursor:pointer}
.bx11y__close:is(:hover,:focus-visible){background:var(--brave-accent, #fb4b19)}
.bx11y__badge{width:52px;height:52px;margin:0 auto 10px;display:grid;place-items:center;border-radius:50%;background:var(--brave-accent, #fb4b19);color:var(--brave-white, #fff)}
.bx11y__badge svg{width:30px;height:30px}
.bx11y__title{margin:0;font:700 22px/1.2 'Polin',Arial,sans-serif;color:var(--brave-white, #fff)}
.bx11y__links{margin:8px 0 0;font-size:13px;color:var(--brave-tone-e9e3e0, #e9e3e0)}
.bx11y__links a,.bx11y__links button{color:var(--brave-white, #fff);font:inherit;text-decoration:underline;text-underline-offset:3px;background:none;border:0;padding:4px 2px;cursor:pointer}
.bx11y__links a:is(:hover,:focus-visible),.bx11y__links button:is(:hover,:focus-visible){color:var(--brave-tone-ffb39c, #ffb39c)}
.bx11y__body{flex:1 1 auto;overflow:auto;overscroll-behavior:contain;padding:14px 14px 18px;margin-top:-12px;border-radius:18px 18px 0 0;background:var(--brave-tone-f3f1f0, #f3f1f0)}
.bx11y__card{background:var(--brave-white, #fff);border-radius:16px;padding:14px;margin:0 0 12px;box-shadow:0 1px 2px rgba(20,7,2,.06)}
.bx11y__card h3{margin:0 0 12px;font:700 15px/1.2 'Polin',Arial,sans-serif;color:var(--brave-dark, #140702)}
.bx11y__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-flow:dense;gap:8px}
.bx11y__tile{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:92px;padding:10px 6px;border:1px solid var(--brave-sand, #e7e1de);border-radius:12px;background:var(--brave-tone-faf8f7, #faf8f7);color:var(--brave-dark, #140702);font:500 13px/1.25 'Polin',Arial,sans-serif;text-align:center;cursor:pointer}
.bx11y__tile:hover{border-color:var(--brave-accent, #fb4b19)}
.bx11y__tile:focus-visible,.bx11y__step button:focus-visible,.bx11y__reset:focus-visible{outline:3px solid var(--brave-accent, #fb4b19);outline-offset:2px}
.bx11y__tile[aria-pressed=true],.bx11y__tile[data-level]:not([data-level="0"]){border:2px solid var(--brave-accent, #fb4b19);background:var(--brave-tone-fff1ec, #fff1ec)}
.bx11y__tile[aria-pressed=true]::after{content:"";position:absolute;top:6px;left:6px;width:16px;height:16px;border-radius:50%;background:var(--brave-accent, #fb4b19) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 8 3 3 5-6' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat}
.bx11y__icon{width:34px;height:34px;display:grid;place-items:center;border-radius:50%;background:var(--brave-white, #fff);border:1px solid var(--brave-sand, #e7e1de);color:var(--brave-dark, #140702)}
.bx11y__icon svg{width:20px;height:20px}
.bx11y__tile[aria-pressed=true] .bx11y__icon,.bx11y__tile[data-level]:not([data-level="0"]) .bx11y__icon{border-color:var(--brave-accent, #fb4b19);color:var(--brave-tone-c63a12, #c63a12)}
.bx11y__dots{display:flex;gap:4px;justify-content:center;min-height:6px}
.bx11y__dots i{width:14px;height:4px;border-radius:2px;background:var(--brave-tone-e1d8d4, #e1d8d4)}
.bx11y__dots i.is-on{background:var(--brave-accent, #fb4b19)}
.bx11y__value{font-size:12px;color:var(--brave-tone-5c4d46, #5c4d46)}
.bx11y__step{grid-column:span 2;min-height:92px;display:flex;flex-direction:column;justify-content:center;gap:8px;padding:10px 12px;border:1px solid var(--brave-sand, #e7e1de);border-radius:12px;background:var(--brave-tone-faf8f7, #faf8f7)}
.bx11y__step-title{text-align:center;font:500 13px/1.25 'Polin',Arial,sans-serif}
.bx11y__step-row{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:4px;border-radius:999px;background:var(--brave-white, #fff);border:1px solid var(--brave-sand, #e7e1de)}
.bx11y__step button{width:32px;height:32px;display:grid;place-items:center;border:0;border-radius:50%;background:var(--brave-dark, #140702);color:var(--brave-white, #fff);font:700 18px/1 Arial,sans-serif;cursor:pointer}
.bx11y__step button:hover{background:var(--brave-accent, #fb4b19)}
.bx11y__step button:disabled{background:var(--brave-tone-cfc6c2, #cfc6c2);cursor:default}
.bx11y__step output{flex:1;text-align:center;font-size:13px;color:var(--brave-dark, #140702)}
.bx11y__step.is-on{border:2px solid var(--brave-accent, #fb4b19);background:var(--brave-tone-fff1ec, #fff1ec)}
.bx11y__foot{flex:none;padding:12px 14px calc(12px + env(safe-area-inset-bottom));background:var(--brave-white, #fff);border-top:1px solid var(--brave-sand, #e7e1de)}
.bx11y__reset{width:100%;min-height:44px;border:0;border-radius:999px;background:var(--brave-dark, #140702);color:var(--brave-white, #fff);font:700 15px/1 'Polin',Arial,sans-serif;cursor:pointer}
.bx11y__reset:hover{background:var(--brave-accent, #fb4b19)}
.bx11y__status:empty{display:none}
.bx11y__status{margin:0 0 10px;padding:8px 10px;border-radius:10px;background:var(--brave-tone-fff1ec, #fff1ec);font-size:13px}
@media(max-width:600px){
 .bx11y{inset:0;width:100%;max-width:100%;border-radius:0}
 .bx11y__grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .bx11y__step{grid-column:span 2}
 .bx11y__head{padding:14px 16px 22px}
 .bx11y__badge{width:40px;height:40px;margin-bottom:6px}
 .bx11y__badge svg{width:24px;height:24px}
 .bx11y__title{font-size:19px}
}
@media(prefers-reduced-motion:reduce){.bx11y-launcher{transition:none}}

/* ---------------------------------------------------------------- effects */
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-contrast body::before{content:"";position:fixed;inset:0;z-index:2147480999;pointer-events:none;backdrop-filter:contrast(1.2);-webkit-backdrop-filter:contrast(1.2)}
html[data-a11y-saturation=high] body::before{content:"";position:fixed;inset:0;z-index:2147480999;pointer-events:none;backdrop-filter:saturate(2);-webkit-backdrop-filter:saturate(2)}
html[data-a11y-saturation=low] body::before{content:"";position:fixed;inset:0;z-index:2147480999;pointer-events:none;backdrop-filter:saturate(.4);-webkit-backdrop-filter:saturate(.4)}
html.brave-access-readable body :not(.bx11y):not(.bx11y *){font-family:Arial,sans-serif!important}
html.brave-access-bold body :not(.bx11y):not(.bx11y *){font-weight:700!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-links body a:not(.bx11y *){outline:2px solid var(--brave-accent, #fb4b19);outline-offset:2px}
html.brave-access-motion *,html.brave-access-motion *::before,html.brave-access-motion *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
html.brave-access-headings.brave-access-headings.brave-access-headings body :is(h1,h2,h3,h4,h5,h6,[role=heading]):not(.bx11y *){text-decoration:underline!important;text-underline-offset:.15em!important;outline:2px solid currentColor!important;outline-offset:3px!important}
html.brave-access-images.brave-access-images.brave-access-images body :is(img,picture,video,canvas,svg):not(.bx11y *):not(.bx11y-launcher *){visibility:hidden!important}
html.brave-access-images.brave-access-images.brave-access-images body :not(.bx11y):not(.bx11y *){background-image:none!important}
html.brave-access-hover body :is(a,button,label,input,select,textarea,p,li,h1,h2,h3):not(.bx11y *):hover{outline:3px solid var(--brave-accent, #fb4b19)!important;outline-offset:3px!important}
html.brave-access-focus body :is(a,button,input,select,textarea,summary,[tabindex]):focus{outline:3px solid var(--brave-accent, #fb4b19)!important;outline-offset:4px!important}
.bx11y-guide{position:fixed;left:0;right:0;top:50%;height:6px;background:var(--brave-accent, #fb4b19);box-shadow:0 0 0 1px var(--brave-white, #fff);z-index:2147481100;pointer-events:none}
.bx11y-mask{position:fixed;inset:0;background:linear-gradient(to bottom,rgba(0,0,0,.72) 0,rgba(0,0,0,.72) calc(var(--reading-y,50vh) - 60px),transparent calc(var(--reading-y,50vh) - 60px),transparent calc(var(--reading-y,50vh) + 60px),rgba(0,0,0,.72) calc(var(--reading-y,50vh) + 60px));z-index:2147481050;pointer-events:none}
.bx11y-magnifier{position:fixed;left:8px;top:8px;width:300px;max-width:calc(100vw - 16px);max-height:150px;overflow:hidden;padding:12px;color:var(--brave-white, #fff);background:var(--brave-dark, #140702);border:2px solid var(--brave-accent, #fb4b19);border-radius:12px;font:24px/1.5 Arial,sans-serif;direction:rtl;z-index:2147481200;pointer-events:none}
[hidden].bx11y-guide,[hidden].bx11y-mask,[hidden].bx11y-magnifier{display:none!important}
.bx11y-reader{position:fixed;inset:20px;margin:auto;max-width:780px;width:calc(100% - 40px);max-height:calc(100svh - 40px);padding:24px;box-sizing:border-box;overflow:auto;background:var(--brave-white, #fff);color:var(--brave-black, #000);border:2px solid var(--brave-accent, #fb4b19);border-radius:16px;font:20px/1.8 Arial,sans-serif}
.bx11y-reader::backdrop{background:rgba(0,0,0,.75)}
.bx11y-reader article :is(h1,h2,h3,h4,h5,h6,p){position:static;font-family:Arial,sans-serif;color:var(--brave-black, #000);background:var(--brave-white, #fff);margin:1em 0;line-height:1.8}
.bx11y-reader>button{min-height:44px;padding:8px 18px;border:0;border-radius:999px;background:var(--brave-dark, #140702);color:var(--brave-white, #fff);font:700 16px/1 Arial,sans-serif;cursor:pointer}

/* Static mode keeps entrance content and the complete about story visible (from the previous panel). */
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}
}
