#analytics-choice, #analytics-choices-button {
  font: 15px/1.5 Georgia, serif; color: #352815; background: #fff8e9;
  border: 1px solid #997a46; box-shadow: 0 3px 18px #24180c26;
  box-sizing: border-box; z-index: 2147483000;
}
#analytics-choice { position: fixed; bottom: 58px; right: 16px; width: min(480px, calc(100vw - 32px)); max-height: calc(100dvh - 95px); overflow-y: auto; padding: 18px; border-radius: 8px; }
#analytics-choice[hidden] { display: none !important; }
#analytics-choice h2 { font-size: 20px; margin: 0 0 8px; color: inherit; }
#analytics-choice p { margin: 8px 0 12px; }
#analytics-choice a { color: #593d14; text-decoration: underline; }
#analytics-choice .analytics-buttons { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
#analytics-choice button, #analytics-choices-button { cursor: pointer; font: inherit; color: #352815; background: #fff8e9; border: 1px solid #997a46; padding: 9px 12px; border-radius: 5px; min-height: 44px; }
#analytics-choice button:focus-visible, #analytics-choices-button:focus-visible { outline: 3px solid #624616; outline-offset: 3px; }
#analytics-choices-button { position: fixed; bottom: max(8px, env(safe-area-inset-bottom)); right: 16px; font-size: 13px; padding: 8px 12px; }
/* Keep access to consent controls, but never float over a chat composer.
   The launcher follows the application in normal document flow while chatting. */
body:has([data-conversation-active="true"]) #analytics-choices-button {
  position: static;
  display: block;
  margin: 8px 16px 8px auto;
  box-shadow: none;
}
#analytics-choice .analytics-status { font-size: 14px; }
@media print { #analytics-choice, #analytics-choices-button { display: none !important; } }
