.ws-consent[hidden], .ws-consent-settings[hidden], .ws-consent-status[hidden] { display: none !important; }
.ws-consent {
  box-sizing: border-box; background: #fdfdfd; color: #0e2433; border: 1px solid #dce5ea;
  border-radius: 18px; padding: 24px; font: 15px/1.5 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-align: left; letter-spacing: normal; box-shadow: 0 12px 48px rgb(2 24 37 / 18%);
}
/* Above third-party floating widgets (the homepage assistant launcher uses 2147483000). */
#ws-consent-banner { position: fixed; z-index: 2147483646; left: 20px; bottom: 20px; width: min(520px, calc(100vw - 40px)); max-height: calc(100dvh - 40px); overflow-y: auto; }
.ws-consent h2 { font: inherit; font-weight: 650; font-size: 20px; line-height: 1.3; margin: 0 0 10px; color: #0e2433; }
.ws-consent p { margin: 0 0 16px; font: inherit; color: #425969; }
.ws-consent a { color: #003b5c; text-decoration: underline; text-underline-offset: 3px; }
.ws-consent-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.ws-consent-actions button, .ws-consent-settings {
  appearance: none; box-sizing: border-box; border: 1px solid #68818f; background: #fdfdfd; color: #003b5c;
  font: 600 13px/1.4 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; text-transform: none; letter-spacing: normal;
  border-radius: 24px; min-height: 44px; padding: 10px 16px; cursor: pointer;
}
.ws-consent-actions button { flex: 1 1 auto; }
.ws-consent-actions button:hover, .ws-consent-settings:hover { background: #eef4f7; }
.ws-consent button:focus-visible, .ws-consent a:focus-visible, .ws-consent input:focus-visible, .ws-consent-settings:focus-visible { outline: 3px solid #216393; outline-offset: 3px; }
#ws-consent-dialog { margin: auto; width: min(560px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow-y: auto; }
#ws-consent-dialog::backdrop { background: rgb(2 24 37 / 40%); }
.ws-consent-option { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; padding: 16px 0; border-top: 1px solid #dce5ea; }
.ws-consent-option strong { font-size: 15px; font-weight: 600; }
.ws-consent-option > p, .ws-consent-option > span:last-child { grid-column: 1 / -1; font-size: 14px; margin: 0; color: #425969; }
.ws-consent-option input { appearance: auto; width: 22px; height: 22px; margin: 0; accent-color: #003b5c; cursor: pointer; }
.ws-consent-settings { position: fixed; z-index: 2147482999; bottom: 12px; left: 12px; box-shadow: 0 2px 12px rgb(2 24 37 / 10%); }
/* Browsers without <dialog> support must not show the preferences panel inline. */
#ws-consent-dialog:not([open]) { display: none; }
.ws-consent-status { position: fixed; z-index: 2147483647; left: 12px; bottom: 66px; max-width: min(400px, calc(100vw - 24px)); padding: 12px; border-radius: 12px; background: #fdfdfd; color: #0e2433; font: 14px/1.5 sans-serif; box-shadow: 0 2px 12px rgb(2 24 37 / 15%); }
@media (max-width: 480px) {
  #ws-consent-banner { left: 12px; bottom: max(12px, env(safe-area-inset-bottom)); width: calc(100vw - 24px); padding: 18px; }
  .ws-consent-actions button { flex-basis: calc(50% - 8px); }
  .ws-consent-actions button:last-child { flex-basis: 100%; }
}
