/* Optional analytics controls. Separate from the approved customer-page design. */
.analytics-choices { display:flex; justify-content:center; flex-wrap:wrap; gap:12px 24px; padding:18px; background:#fff; color:#222; border-top:1px solid #e7e7e7; }
.analytics-choices button, .analytics-choices a { font:inherit; font-size:13px; color:#444; background:transparent; border:0; padding:10px 2px; text-decoration:underline; text-underline-offset:4px; cursor:pointer; }
.analytics-notice { position:fixed; z-index:110; right:20px; bottom:20px; width:min(490px, calc(100% - 40px)); max-height:calc(100dvh - 40px); overflow:auto; padding:22px; background:#fff; color:#171717; border:1px solid #ddd; border-top:4px solid #d70a06; box-shadow:0 6px 30px #0002; box-sizing:border-box; font-family:"Noto Sans Thai",Arial,sans-serif; }
.analytics-notice[hidden] { display:none; }
.analytics-notice__title { margin:0 0 10px; font-size:19px; line-height:1.4; font-weight:700; }
.analytics-notice__copy, .analytics-notice__status { margin:0 0 14px; font-size:14px; line-height:1.65; }
.analytics-notice__status { color:#555; font-size:12px; }
.analytics-notice__status:empty { display:none; }
.analytics-notice__actions { display:flex; flex-wrap:wrap; gap:10px; align-items:center; }
.analytics-notice__actions button, .analytics-notice__actions a { min-height:44px; border-radius:0; padding:10px 13px; font:inherit; font-size:13px; line-height:1.5; font-weight:600; cursor:pointer; }
.analytics-notice__allow { background:#d70a06; border:1px solid #d70a06; color:#fff; }
.analytics-notice__deny { background:#fff; border:1px solid #777; color:#171717; }
.analytics-notice__privacy, .analytics-notice__close { background:transparent; border:0; color:#444; text-decoration:underline; text-underline-offset:3px; }
.analytics-notice button:disabled { opacity:.45; cursor:not-allowed; }
.analytics-notice button:focus-visible, .analytics-notice a:focus-visible, .analytics-choices button:focus-visible, .analytics-choices a:focus-visible { outline:3px solid #171717; outline-offset:3px; }
@media (max-width:820px) {
  .analytics-notice { left:12px; right:12px; bottom:72px; width:auto; max-height:calc(100dvh - 96px); padding:18px; }
  .analytics-choices { padding-bottom:80px; }
  .privacy-page .analytics-notice { bottom:12px; max-height:calc(100dvh - 24px); }
  .privacy-page .analytics-choices { padding-bottom:18px; }
}
