/* Aksesibilitas Nusantara 1.1.0 — page effects never target the widget. */
.an-a11y,.an-a11y *{box-sizing:border-box}
.an-a11y{position:fixed;bottom:max(var(--an-bottom,22px),env(safe-area-inset-bottom,0px));z-index:var(--an-z,99990);font:15px/1.45 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#182238;direction:ltr}
.an-pos-right{right:max(16px,env(safe-area-inset-right,0px))}
.an-pos-left{left:max(16px,env(safe-area-inset-left,0px))}
.an-launch{width:58px;height:58px;border:2px solid #fff;border-radius:50%;background:var(--an-accent,#2158d5);color:var(--an-accent-ink,#fff);display:grid;place-items:center;cursor:pointer;box-shadow:0 5px 20px #0004}
.an-launch svg{width:34px;height:34px}
.an-a11y button:focus-visible{outline:3px solid #f39812!important;outline-offset:3px!important}
.an-panel{position:absolute;bottom:72px;right:0;width:min(370px,calc(100vw - 28px));max-height:min(75dvh,650px);background:#fff;color:#182238;border:1px solid #b8c1d0;border-radius:16px;box-shadow:0 12px 40px #14213d55;overflow:hidden}
.an-pos-left .an-panel{right:auto;left:0}
.an-panel[hidden]{display:none}
.an-head{display:flex;align-items:flex-start;justify-content:space-between;padding:18px;color:var(--an-accent-ink,#fff);background:var(--an-accent,#2158d5);gap:8px}
.an-head strong{display:block;font-size:17px}
.an-head small{display:block;margin-top:3px;font-size:12px}
.an-close{border:1px solid currentColor;color:inherit;background:transparent;border-radius:8px;font-size:24px;line-height:1;width:34px;height:34px;cursor:pointer;flex-shrink:0}
.an-content{overflow-y:auto;overscroll-behavior:contain;max-height:calc(min(75dvh,650px) - 85px);padding:15px}
.an-group-title{font-weight:750;margin:3px 0 10px;font-size:13px}
.an-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-bottom:18px}
.an-grid button{background:#f4f6fa;border:1px solid #bbc5d4;border-radius:11px;padding:12px 6px;cursor:pointer;color:#16253a;min-height:91px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;font:inherit;text-align:center}
.an-grid button>span:first-child{font-size:23px;font-weight:750;min-height:31px}
.an-grid button>span:nth-child(2){font-size:12px;font-weight:650}
.an-grid button small{font-size:11px}
.an-grid button[aria-pressed="true"],.an-grid button.an-selected{background:#e6efff;border:2px solid #194897}
.an-footer{border-top:1px solid #e2e7ef;padding-top:13px;text-align:center}
.an-footer button{background:#fff;border:1px solid #8495ac;padding:9px 15px;border-radius:8px;cursor:pointer;color:#132640;font-weight:700}
.an-footer p{font-size:11px;margin:9px 0 0;color:#506075}
.an-sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
/* Head bootstrapping only. Footer JS removes the temporary rem scaling before per-element scaling. */
html.an-text-1{font-size:112.5%!important}
html.an-text-2{font-size:125%!important}
html.an-text-3{font-size:150%!important}
html.an-text-4{font-size:200%!important}
/* Favor readable text over repainting layouts, banners, graphs, overlays or buttons. */
html.an-spacing-1 body :where(p,li,span,a,blockquote,h1,h2,h3,h4,h5,h6):not(#an-a11y *){letter-spacing:.06em!important;word-spacing:.12em!important}
html.an-spacing-2 body :where(p,li,span,a,blockquote,h1,h2,h3,h4,h5,h6):not(#an-a11y *){letter-spacing:.12em!important;word-spacing:.24em!important}
html.an-line-1 body :where(p,li,blockquote):not(#an-a11y *){line-height:1.8!important}
html.an-line-2 body :where(p,li,blockquote):not(#an-a11y *){line-height:2.2!important}
html.an-links body a:not(#an-a11y *){text-decoration:underline!important;text-decoration-thickness:2px!important;text-underline-offset:3px!important;outline:1px dashed currentColor!important}
html.an-readable body :where(p,li,h1,h2,h3,h4,h5,h6,a,button,input,textarea,select):not(#an-a11y *){font-family:Verdana,Arial,sans-serif!important}
/* Only images explicitly marked as decorative AND not part of an interactive element. SVG icons remain visible. */
html.an-images body img[alt=""]:not(:is(a,button,label,[role="button"],[role="link"]) img):not(#an-a11y *){opacity:.16!important}
/* Color-only image effect avoids filters on layout ancestors and position:fixed regressions. */
html.an-grayscale body img:not(#an-a11y *){filter:grayscale(1)!important}
/* Explicitly CSS-only motion reduction; video/GIF/JS-based animations are not promised to stop. */
html.an-animation body :not(#an-a11y):not(#an-a11y *),
html.an-animation body :not(#an-a11y):not(#an-a11y *)::before,
html.an-animation body :not(#an-a11y):not(#an-a11y *)::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
/* Replaces the misleading crosshair with a visible 48px cursor. */
html.an-cursor body{cursor:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2248%22%20height%3D%2248%22%20viewBox%3D%220%200%2048%2048%22%3E%3Cpath%20d%3D%22M4%203v36l9-9%207%2014%207-4-7-13h15z%22%20fill%3D%22%23ffffff%22%20stroke%3D%22%23111111%22%20stroke-width%3D%223%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E") 4 3,auto!important}
html.an-cursor body :where(a,button,label,input,select,textarea,[role="button"],[role="link"]):not(#an-a11y *){cursor:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2248%22%20height%3D%2248%22%20viewBox%3D%220%200%2048%2048%22%3E%3Cpath%20d%3D%22M4%203v36l9-9%207%2014%207-4-7-13h15z%22%20fill%3D%22%23ffffff%22%20stroke%3D%22%23111111%22%20stroke-width%3D%223%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E") 4 3,pointer!important}
html.an-focus body :focus-visible:not(#an-a11y *){outline:3px solid #c66000!important;outline-offset:3px!important}
/* Experimental: constrain high contrast to reading blocks, not global forms, status panels or media. Enable after theme QA. */
html.an-contrast-dark body :where(main,article,.entry-content,.post-content,.wp-block-post-content):not(#an-a11y *){background-color:#121212!important;color:#fafafa!important}
html.an-contrast-light body :where(main,article,.entry-content,.post-content,.wp-block-post-content):not(#an-a11y *){background-color:#fff!important;color:#111!important}
html.an-contrast-dark body :where(main,article,.entry-content,.post-content,.wp-block-post-content) :where(p,h1,h2,h3,h4,h5,h6,li,blockquote,figcaption):not(:is([role="alert"],[role="status"],.notice,.error,.success,.woocommerce-error,.woocommerce-message) *){color:#fafafa!important}
html.an-contrast-light body :where(main,article,.entry-content,.post-content,.wp-block-post-content) :where(p,h1,h2,h3,h4,h5,h6,li,blockquote,figcaption):not(:is([role="alert"],[role="status"],.notice,.error,.success,.woocommerce-error,.woocommerce-message) *){color:#111!important}
html.an-contrast-dark body :where(main,article,.entry-content,.post-content,.wp-block-post-content) a:not(:is([role="alert"],[role="status"],.notice,.error,.success) *){color:#ffe67c!important}
html.an-contrast-light body :where(main,article,.entry-content,.post-content,.wp-block-post-content) a:not(:is([role="alert"],[role="status"],.notice,.error,.success) *){color:#123eaa!important}
#an-reading-guide{position:fixed;height:38px;left:0;right:0;top:0;pointer-events:none;z-index:var(--an-guide-z,99989);background:rgba(255,228,75,.24);border-top:2px solid #8a5d00;border-bottom:2px solid #8a5d00;will-change:transform}
#an-reading-guide[hidden]{display:none}
@media(max-width:480px){.an-a11y{bottom:max(var(--an-bottom,12px),env(safe-area-inset-bottom,0px))}.an-pos-right{right:max(12px,env(safe-area-inset-right,0px))}.an-pos-left{left:max(12px,env(safe-area-inset-left,0px))}.an-panel{bottom:66px;max-height:75dvh}}
@media(max-height:450px){.an-panel{max-height:calc(100dvh - 85px)}.an-content{max-height:calc(100dvh - 165px)}}
@media(prefers-reduced-motion:reduce){.an-a11y *{animation:none!important;transition:none!important}}
