/*
 * App UI that appears on the redesign (v2) pages but is not part of the design
 * export: the cookie consent banner. The old site's Tailwind stylesheet is not
 * loaded on v2 pages, so the banner is styled here through its data attributes,
 * in the design's palette (cobalt #0e51cb, ink #151d2b).
 */
[data-consent-wrap] {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: flex; justify-content: center; padding: 16px; pointer-events: none;
}
[data-consent-banner] {
  pointer-events: auto; box-sizing: border-box; width: 100%; max-width: 440px;
  padding: 24px; border-radius: 20px; background: #fff; color: #151d2b;
  text-align: center; font: 14.5px/1.55 Inter, Onest, system-ui, sans-serif;
  box-shadow: 0 18px 48px rgba(21, 45, 99, .18), 0 2px 6px rgba(21, 45, 99, .08);
}
[data-consent-banner] > span {
  display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center;
  border-radius: 12px; background: #ecf1fc; color: #0e51cb;
}
[data-consent-banner] > span svg { width: 20px; height: 20px; }
[data-consent-banner] p { margin: 14px 0 0; color: #3e4c63; }
[data-consent-banner] p a { color: #0e51cb; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
[data-consent-banner] > div { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
[data-consent-action] {
  appearance: none; cursor: pointer; min-height: 44px; padding: 0 16px; border-radius: 12px;
  font: 600 14px/1 Inter, Onest, system-ui, sans-serif; border: 1px solid transparent;
}
/* !important: the design's bundles style every <button> globally. */
body [data-consent-banner] [data-consent-action="decline"] { background: #fff !important; color: #151d2b !important; border: 1px solid #d6deeb !important; }
body [data-consent-banner] [data-consent-action="accept"] { background: #0e51cb !important; color: #fff !important; border: 1px solid #0e51cb !important; }
[data-consent-action]:hover { filter: brightness(.96); }
[data-consent-action]:focus-visible, [data-consent-banner] a:focus-visible { outline: 2px solid #0e51cb; outline-offset: 2px; }
@media (max-width: 420px) { [data-consent-banner] > div { grid-template-columns: 1fr; } }
