/* Shared by MOFA and MOJ: "Access in Hand" panel recreation + the effects its tools apply.
   --a11y-accent is set per site in each site's extras stylesheet. */
.a11y-panel{position:fixed;top:40px;z-index:2147483000;width:432px;max-width:calc(100vw - 10px);max-height:calc(100vh - 48px);display:flex;flex-direction:column;background:#f5f5f5;border:2px solid var(--a11y-accent,#92722a);border-radius:5px;font-family:inherit;color:#000;font-size:16px;line-height:1.4}
.a11y-panel-header{display:flex;align-items:center;justify-content:space-between;gap:8px;background:var(--a11y-accent,#92722a);color:#fff;padding:6px 10px;min-height:44px}
.a11y-panel-title{font-size:18px;font-weight:600;flex:1;text-align:center}
.a11y-panel-close,.a11y-panel-collapse{color:#fff;font-size:22px;line-height:1;background:none;border:0;cursor:pointer;width:24px;display:inline-flex;justify-content:center}
.a11y-tabs{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:0 8px;padding:16px 16px 0}
.a11y-tabs button{display:inline-flex;align-items:center;gap:10px;padding:14px 18px;font-weight:700;font-size:16px;background:var(--a11y-accent,#92722a);color:#fff;border-radius:5px 5px 0 0;cursor:pointer}
/* Access in Hand: the selected tab joins the light panel body, the others stay in the accent colour */
.a11y-tabs button.is-active{background:#fff;color:#000}
.a11y-body{background:#fff;margin:0 16px;padding:14px;overflow:auto;flex:1;border-radius:5px}
.a11y-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.a11y-tile{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;min-height:134px;padding:12px;background:#f5f5f5;border:2px solid transparent;border-radius:8px;font-weight:600;font-size:16px;cursor:pointer;color:#000;text-align:center}
.a11y-tile:hover{border-color:var(--a11y-accent,#92722a)}
.a11y-tile.is-on{border-color:var(--a11y-accent,#92722a);background:#fff8e8}
.a11y-tile:focus-visible,.a11y-tabs button:focus-visible,.a11y-reset:focus-visible{outline:3px solid var(--a11y-accent,#92722a);outline-offset:2px}
.a11y-steps{display:flex;gap:4px}.a11y-steps i{width:18px;height:4px;border-radius:2px;background:#d6d6d6}.a11y-steps i.on{background:var(--a11y-accent,#92722a)}
.a11y-note{padding:16px;color:#333}
.a11y-footer{display:flex;align-items:center;justify-content:space-between;padding:12px 16px}
.a11y-reset{display:inline-flex;flex-direction:column;align-items:center;gap:2px;padding:6px 14px;border:2px solid var(--a11y-accent,#92722a);border-radius:8px;color:var(--a11y-accent,#92722a);font-weight:600;background:transparent;cursor:pointer}
.a11y-brand{display:flex;flex-direction:column;font-size:13px;line-height:1.1;text-align:center}.a11y-brand small{font-size:8px;color:#444}
.a11y-structure{position:fixed;inset-block-start:60px;inset-inline:0;margin-inline:auto;width:min(520px,calc(100vw - 20px));max-height:70vh;overflow:auto;z-index:2147483001;background:#fff;border:2px solid var(--a11y-accent,#92722a);border-radius:5px}
.a11y-structure ul{padding:12px 16px}.a11y-structure li button{padding:6px 0;text-align:start;color:#1b1d21;cursor:pointer}.a11y-structure li button:hover{text-decoration:underline}

/* tool effects (classes on <html>) */
html.a11y-contrast-1 body{filter:contrast(1.35)}
html.a11y-contrast-2 body{filter:invert(1) hue-rotate(180deg)}
html.a11y-contrast-2 body img,html.a11y-contrast-2 body picture,html.a11y-contrast-2 body video{filter:invert(1) hue-rotate(180deg)}
html.a11y-contrast-3 body{filter:grayscale(1) contrast(1.6)}
html.a11y-saturation-1 body{filter:saturate(.5)}
html.a11y-saturation-2 body{filter:saturate(2)}
html.a11y-saturation-3 body{filter:grayscale(1)}
html.a11y-cursor-1,html.a11y-cursor-1 *{cursor:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 256 256'%3E%3Cpath fill='black' stroke='white' stroke-width='10' d='M168,132.69,214.08,115A16,16,0,0,0,213,85.07L52.92,32.8A16,16,0,0,0,32.8,52.92L85.07,213a16,16,0,0,0,30,1.12L132.69,168,184,219.31a16,16,0,0,0,22.63,0l12.68-12.68a16,16,0,0,0,0-22.63Z'/%3E%3C/svg%3E") 4 4,auto!important}
html.a11y-font-1 body *:not(svg):not(path){font-family:Arial,Tahoma,sans-serif!important}
html.a11y-letter-1 body *{letter-spacing:.12em!important}html.a11y-letter-2 body *{letter-spacing:.2em!important}
html.a11y-word-1 body *{word-spacing:.3em!important}html.a11y-word-2 body *{word-spacing:.6em!important}
html.a11y-line-1 body *{line-height:1.9!important}html.a11y-line-2 body *{line-height:2.4!important}
html.a11y-bigger-1{zoom:1.1}html.a11y-bigger-2{zoom:1.2}html.a11y-bigger-3{zoom:1.3}
html.a11y-links-1 body a{outline:2px solid #ff0!important;background:#1b1d21!important;color:#ff0!important;text-decoration:underline!important}
html.a11y-animations-1 *,html.a11y-animations-1 *::before,html.a11y-animations-1 *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
html.a11y-align-1 body *{text-align:left!important}html.a11y-align-2 body *{text-align:center!important}html.a11y-align-3 body *{text-align:right!important}
html.a11y-images-1 body main img,html.a11y-images-1 body main picture{visibility:hidden!important}
.a11y-panel *,.a11y-structure *{letter-spacing:normal!important;word-spacing:normal!important;font-family:inherit!important}

/* unofficial-prototype marker shown on every page */
.proto-badge{position:fixed;inset-inline-start:12px;bottom:12px;z-index:25;display:flex;align-items:center;gap:6px;padding:4px 10px;border-radius:999px;background:rgba(27,29,33,.86);color:#fff;font:600 11px/1.4 system-ui,-apple-system,Segoe UI,sans-serif;letter-spacing:.01em;pointer-events:auto}
.proto-badge a{color:#ffd77a;text-decoration:underline}
