/* [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}}

/* [codex] Full-width, low-obstruction consent bar with equal choices and a distinct privacy link. */
.analytics-consent{inset:auto 0 0;width:100%;max-height:min(45dvh,330px);padding:18px max(24px,calc((100vw - 1380px)/2));border:0;border-top:1px solid #d7ddd8;border-radius:0;box-shadow:0 -8px 30px #12233416;display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,440px) 145px;column-gap:16px;align-items:center;font-family:'Source Sans 3',system-ui,sans-serif}
.analytics-consent h2{grid-column:1;font:600 16px/1.3 'Source Sans 3',system-ui,sans-serif;margin:0 0 3px}
.analytics-consent>p{grid-column:1;font-size:14px;line-height:1.4;margin:0;max-width:680px}
.analytics-consent-actions{grid-column:2;grid-row:1/4;display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0}
.analytics-consent-button{background:#07525a;border-color:#07525a;color:#fff;font:600 14px/1.3 'Source Sans 3',system-ui,sans-serif;min-height:48px}
.analytics-consent-link{grid-column:3;grid-row:1/4;display:grid;place-items:center;min-height:48px;padding:8px;border:1px solid #07525a;border-radius:7px;text-align:center;text-decoration:none;font:600 14px/1.3 'Source Sans 3',system-ui,sans-serif}
.analytics-consent-close{position:absolute;right:6px;top:4px;float:none}
@media(hover:hover){.analytics-consent-button:not(:disabled):hover{background:#0c3e45;color:#fff}.analytics-consent-link:hover{background:#edf4f1}}
@media(max-width:900px){.analytics-consent{grid-template-columns:minmax(0,1fr) minmax(260px,1fr);padding-inline:20px}.analytics-consent-link{grid-column:2;grid-row:4;margin-top:8px}.analytics-consent-actions{grid-row:1/4}}
@media(max-width:600px){.analytics-consent{inset:auto 0 0;width:100%;max-height:60dvh;padding:14px 16px;display:block}.analytics-consent h2{font-size:16px;margin-bottom:5px}.analytics-consent>p{font-size:13px}.analytics-consent-actions{margin:12px 0 8px}.analytics-consent-link{min-height:42px}.analytics-consent-close{right:3px;top:3px}}
