/* [codex] Nonmodal, equal consent choices. / Pilihan setara tanpa menghalangi halaman. */
.analytics-consent{position:fixed;z-index:90;inset:auto 24px 24px auto;width:min(470px,calc(100vw - 48px));box-sizing:border-box;padding:24px;background:#fffdf8;color:#122334;border:1px solid #aeb8ae;border-radius:16px;box-shadow:0 12px 48px #12233420;font:400 14px/1.55 Inter,system-ui,sans-serif;max-height:calc(100dvh - 40px);overflow-y:auto}
.analytics-consent h2{margin:0 0 12px;font:500 22px/1.2 Fraunces,Georgia,serif;letter-spacing:-.02em;text-wrap:balance}
.analytics-consent p{margin:0 0 14px;font:inherit;color:inherit}
.analytics-consent-status{font-size:12px!important;color:#4b5d67!important}
.analytics-consent-status:empty{display:none}
.analytics-consent-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:18px 0 14px}
.analytics-consent-button{min-height:44px;padding:10px 12px;border:1px solid #122334;border-radius:7px;background:#fffdf8;color:#122334;font:500 13px/1.4 Inter,system-ui,sans-serif;cursor:pointer;transition:background-color 150ms ease-out}
.analytics-consent-button:disabled{opacity:.5;cursor:default}
.analytics-consent-link,.analytics-consent-close,.analytics-settings{font:400 12px/1.5 Inter,system-ui,sans-serif;text-underline-offset:4px}
.analytics-consent-link{color:#122334;text-decoration:underline}
.analytics-consent-close{float:right;padding:0;border:0;background:transparent;color:#122334;text-decoration:underline;cursor:pointer;min-height:28px}
.analytics-settings{display:inline-block;padding:4px 0;border:0;background:transparent;color:inherit;text-decoration:underline;cursor:pointer;min-height:32px}
.site-footer .analytics-settings{margin-top:18px}
.analytics-consent :focus-visible,.analytics-settings:focus-visible{outline:3px solid #446a96;outline-offset:4px}
@media(hover:hover){.analytics-consent-button:not(:disabled):hover{background:#e8f5d7}.analytics-settings:hover{color:#bdf87a}}
@media(max-width:600px){.analytics-consent{inset:auto 12px 12px;width:calc(100vw - 24px);padding:20px;border-radius:12px}.analytics-consent h2{font-size:21px}}
@media(prefers-reduced-motion:reduce){.analytics-consent-button{transition:none}}
@media(forced-colors:active){.analytics-consent{border:1px solid CanvasText}.analytics-consent :focus-visible,.analytics-settings:focus-visible{outline-color:Highlight}}
/* [claude] Status for screen readers; compact panel on short viewports such as 200-400% zoom so it never covers half the screen. / Status untuk pembaca layar; panel ringkas saat zoom. */
.analytics-status{position:absolute;width:1px;height:1px;margin:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(max-height:500px){.analytics-consent{inset:auto 12px 12px;width:calc(100vw - 24px);max-height:45dvh;padding:14px 16px;border-radius:12px}.analytics-consent h2{font-size:17px;margin-bottom:6px}.analytics-consent p{margin-bottom:8px;font-size:13px}.analytics-consent-actions{margin:10px 0 8px}}
/* [claude] Keep 'Decline cookies' on one line on 320px phones. / Tombol cookie tetap satu baris di layar 320px. */
@media(max-width:360px){.analytics-consent-button{padding:10px 6px;font-size:12.5px}}
