/* NexusAH cookie banner, "Manage cookies" dialog and the Settings > Cookies form (website).
   Self-contained on purpose: the legal pages load neither the site stylesheet nor web fonts.
   Served immutable for 30 days: ship changes under a new file name (cookie-consent-v2.css). */
.nxc {
  --nxc-gold: #f0b429;
  --nxc-gold-2: #dba941;
  --nxc-panel: #14171f;
  --nxc-line: rgba(240, 180, 41, .18);
  --nxc-rule: rgba(240, 180, 41, .14);
  --nxc-text: #dadde6;
  --nxc-body: #b8bdca;
  --nxc-muted: #8f96a7;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--nxc-text);
  font-size: 14px;
  line-height: 1.5;
  text-align: left;
  -webkit-font-smoothing: antialiased;
}
.nxc *, .nxc *::before, .nxc *::after { box-sizing: border-box; }
.nxc [hidden] { display: none !important; }
.nxc a { color: var(--nxc-gold); text-decoration: underline; text-underline-offset: 2px; }
.nxc a:hover { color: #f8d271; }
.nxc a:focus-visible, .nxc button:focus-visible, .nxc input:focus-visible { outline: 2px solid var(--nxc-gold); outline-offset: 2px; }

/* Buttons: same look as the site's gold .button; "Accept all" and "Necessary only" always share one style. */
.nxc-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 42px; padding: 9px 16px; margin: 0;
  border: 1px solid #b68829; border-radius: 6px;
  background: linear-gradient(180deg, var(--nxc-gold), var(--nxc-gold-2));
  color: #14171f; cursor: pointer;
  font-family: "Space Grotesk", Inter, system-ui, sans-serif; font-size: 13px; font-weight: 700;
  letter-spacing: .5px; line-height: 1.2; text-transform: uppercase; white-space: nowrap;
  box-shadow: 0 0 10px rgba(244, 190, 79, .25);
  transition: box-shadow .2s, background-color .2s;
}
.nxc-btn:hover { box-shadow: 0 0 12px rgba(244, 190, 79, .55); }
.nxc-btn:disabled { opacity: .6; cursor: wait; box-shadow: none; }
.nxc-btn--ghost { background: transparent; color: var(--nxc-gold); border-color: var(--nxc-line); box-shadow: none; }
.nxc-btn--ghost:hover { background: rgba(240, 180, 41, .1); box-shadow: none; }

.nxc-status { min-height: 18px; color: #fca5a5; font-size: 13px; line-height: 1.4; }
.nxc-status.is-ok { color: #86efac; }
.nxc-status:empty { min-height: 0; }

/* Banner */
.nxc-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 2147483000; /* below the live alert pop-up */
  max-width: 920px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 20px; row-gap: 4px;
  padding: 16px 18px;
  border: 1px solid var(--nxc-line); border-radius: 14px;
  background: var(--nxc-panel);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .55), 0 0 0 1px rgba(0, 0, 0, .35);
}
/* While the banner shows: keep the page's last lines (footer, Manage cookies) reachable above it,
   and step aside while the Nexus Assistant is open. --nxc-banner-h is set by cookie-consent-v1.js. */
html.nxc-banner-on body { padding-bottom: calc(var(--nxc-banner-h, 0px) + 12px); }
/* The Nexus Assistant's help button moves up above the banner (it would sit under it). */
html.nxc-banner-on .help-link_wrapper { bottom: calc(var(--nxc-banner-h, 0px) + 12px); }
body:has(.nexus-assistant.is-open) .nxc-banner { display: none; }
.nxc-banner::before {
  content: ''; position: absolute; left: 0; top: 22%; height: 56%; width: 3px;
  border-radius: 0 3px 3px 0; background: var(--nxc-gold);
}
.nxc-banner_title { color: #fff; font-size: 15px; font-weight: 600; line-height: 1.35; }
.nxc-banner_body { margin: 2px 0 0; color: var(--nxc-body); font-size: 13px; line-height: 1.5; }
.nxc-banner_body a { white-space: nowrap; }
.nxc-banner_actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.nxc-banner .nxc-status { grid-column: 1 / -1; }
@media (prefers-reduced-motion: no-preference) {
  @keyframes nxcUp { from { opacity: 0; transform: translateY(10px); } }
  .nxc-banner { animation: nxcUp 260ms cubic-bezier(.2, .8, .2, 1) backwards; }
  .nxc-dialog { animation: nxcUp 220ms cubic-bezier(.2, .8, .2, 1) backwards; }
}
@media screen and (max-width: 767px) {
  /* Phones: compact. */
  .nxc-banner { left: 8px; right: 8px; bottom: 8px; grid-template-columns: 1fr; padding: 12px 12px 10px 14px; row-gap: 8px; }
  .nxc-banner_title { font-size: 14px; }
  .nxc-banner_body { font-size: 12.5px; line-height: 1.45; }
  .nxc-hide-sm { display: none; }
  .nxc-banner_actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .nxc-banner_actions .nxc-btn { min-height: 40px; padding: 8px 10px; }
  .nxc-banner_actions .nxc-btn--ghost { grid-column: 1 / -1; min-height: 34px; }
}

/* Dialog */
.nxc-overlay {
  position: fixed; inset: 0; z-index: 2147483550;
  display: flex; align-items: center; justify-content: center; padding: 24px;
  background: radial-gradient(circle at 50% 0%, rgba(240, 180, 41, .10), transparent 40%), rgba(3, 6, 14, .62);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.nxc-dialog {
  position: relative; width: min(560px, 100%); max-height: calc(100dvh - 48px); overflow-y: auto;
  padding: 22px 22px 18px;
  background: var(--nxc-panel); border: 1px solid var(--nxc-line); border-radius: 16px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .6);
  scrollbar-width: none;
}
.nxc-dialog::-webkit-scrollbar { width: 0; height: 0; }
.nxc-dialog:focus { outline: none; }
.nxc-close {
  position: absolute; top: 10px; right: 10px; width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; border-radius: 8px; background: transparent; color: var(--nxc-muted); cursor: pointer;
}
.nxc-close:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.nxc-close svg { width: 18px; height: 18px; }
.nxc-eyebrow { color: var(--nxc-gold); font-family: "Space Grotesk", Inter, system-ui, sans-serif; font-size: 12px; font-weight: 500; letter-spacing: 1px; text-transform: uppercase; }
.nxc-title { margin: 4px 40px 6px 0; color: #fff; font-family: Inter, system-ui, sans-serif; font-size: 22px; font-weight: 400; line-height: 1.3; letter-spacing: normal; text-transform: none; }
.nxc-title:focus { outline: none; }
.nxc-title span { color: var(--nxc-gold); }
.nxc-intro { margin: 0 0 12px; color: var(--nxc-muted); font-size: 13.5px; line-height: 1.5; }

/* Category list (dialog and Settings) */
.nxc-cats { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--nxc-rule); }
.nxc-cat {
  position: relative; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
  padding: 12px 0 12px 14px; border-bottom: 1px solid var(--nxc-rule);
}
.nxc-cat::before { content: ''; position: absolute; left: 0; top: 16px; height: 22px; width: 3px; border-radius: 0 3px 3px 0; background: var(--nxc-gold); }
.nxc-cat.is-optional::before { background: #8c93a5; opacity: .6; }
.nxc-cat_name { display: block; color: #fff; font-size: 14.5px; font-weight: 600; line-height: 1.35; }
.nxc-cat_desc { margin-top: 2px; color: var(--nxc-body); font-size: 13px; line-height: 1.45; }
.nxc-cat_note { margin-top: 3px; color: var(--nxc-muted); font-size: 12px; line-height: 1.4; }
.nxc-pill {
  flex: none; margin-top: 2px; padding: 3px 9px; border: 1px solid rgba(134, 239, 172, .35); border-radius: 999px;
  color: #86efac; font-size: 11px; font-weight: 600; letter-spacing: .4px; text-transform: uppercase; white-space: nowrap;
}
.nxc-switch {
  -webkit-appearance: none; appearance: none; flex: none; position: relative; margin: 2px 0 0;
  width: 44px; height: 24px; border-radius: 999px; cursor: pointer;
  background: #2a2f3c; border: 1px solid rgba(255, 255, 255, .14);
  transition: background-color .18s, border-color .18s;
}
.nxc-switch::before {
  content: ''; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%;
  background: #cfd3dc; transition: transform .18s cubic-bezier(.2, .8, .2, 1), background-color .18s;
}
.nxc-switch:checked { background: var(--nxc-gold); border-color: #b68829; }
.nxc-switch:checked::before { transform: translateX(20px); background: #14171f; }
@media (prefers-reduced-motion: reduce) {
  .nxc-switch, .nxc-switch::before { transition: none; }
}
.nxc-form .nxc-status { margin-top: 10px; }
.nxc-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; margin-top: 12px; }
.nxc-foot { margin: 12px 0 0; color: var(--nxc-muted); font-size: 12.5px; }
@media screen and (max-width: 479px) {
  .nxc-overlay { padding: 10px; align-items: flex-end; }
  .nxc-dialog { max-height: calc(100dvh - 20px); padding: 18px 16px 14px; }
  .nxc-title { font-size: 20px; }
  .nxc-actions .nxc-btn { flex: 1 1 100%; }
}
html.nxc-lock, html.nxc-lock body { overflow: hidden; }
@media print { .nxc-banner, .nxc-overlay { display: none !important; } }
