/*
 * Public-site widgets: cookie consent, accessibility panel, ArcBig assistant.
 * Markup is injected by /js/site-widgets.js. Loaded on every public page.
 */
:root {
  --aw-navy: #0b2545;
  --aw-arc: #1e5eff;
  --aw-arc-dark: #1748c7;
  --aw-paper: #ffffff;
  --aw-mist: #eef3ff;
  --aw-line: rgba(11, 37, 69, 0.12);
  --aw-ink: #1f2937;
  --aw-muted: #4b5563;
  --aw-radius: 16px;
  --aw-shadow: 0 24px 60px rgba(11, 37, 69, 0.22), 0 4px 14px rgba(11, 37, 69, 0.08);
  --aw-z: 900;
}

.aw-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.aw-ck, .aw-a11y, .aw-chat, .aw-a11y-btn, .aw-chat-btn, .aw-teaser {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--aw-ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
.aw-ck [hidden], .aw-ck[hidden], .aw-a11y[hidden], .aw-chat[hidden], .aw-teaser[hidden] { display: none !important; }

/* Buttons shared by all three */
.aw-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 10px 18px; border-radius: 999px;
  font-weight: 600; font-size: 14px; line-height: 1.2; font-family: inherit; text-decoration: none; cursor: pointer;
  border: 1.5px solid var(--aw-navy); transition: background 150ms ease, color 150ms ease;
}
.aw-btn--solid { background: var(--aw-navy); color: #fff; }
.aw-btn--solid:hover { background: var(--aw-arc); border-color: var(--aw-arc); }
.aw-btn--ghost { background: transparent; color: var(--aw-navy); }
.aw-btn--ghost:hover { background: var(--aw-mist); }
.aw-btn--sm { min-height: 36px; padding: 6px 14px; font-size: 13px; }
.aw-icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--aw-mist); color: var(--aw-navy); font-weight: 700; font-size: 14px; line-height: 1; font-family: inherit;
}
.aw-icon-btn:hover { background: #dfe8ff; }
.aw-icon-btn--solid { background: var(--aw-arc); color: #fff; }
.aw-icon-btn--solid:hover { background: var(--aw-arc-dark); }
.aw-ck :focus-visible, .aw-a11y :focus-visible, .aw-chat :focus-visible,
.aw-a11y-btn:focus-visible, .aw-chat-btn:focus-visible, .aw-teaser:focus-visible {
  outline: 3px solid #17d1c8; outline-offset: 2px;
}

/* Switch (checkbox styled as a toggle, keeps native semantics) */
.aw-switch {
  appearance: none; -webkit-appearance: none; flex: none; margin: 0;
  width: 44px; height: 26px; border-radius: 999px; background: #c7cfdc; position: relative; cursor: pointer;
  transition: background 150ms ease;
}
.aw-switch::after {
  content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25); transition: transform 150ms ease;
}
.aw-switch:checked { background: var(--aw-arc); }
.aw-switch:checked::after { transform: translateX(18px); }
.aw-switch:disabled { opacity: 0.55; cursor: not-allowed; }

/* ---------------------------------------------------------------- cookies */
.aw-ck {
  position: fixed; left: 16px; bottom: 16px; z-index: calc(var(--aw-z) + 20);
  width: min(400px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow: auto;
  background: var(--aw-paper); border-radius: var(--aw-radius); box-shadow: var(--aw-shadow);
  padding: 22px 22px 18px; border: 1px solid var(--aw-line);
}
.aw-ck h2 { margin: 0 32px 8px 0; font: 700 18px/1.3 "Inter", sans-serif; color: var(--aw-navy); }
.aw-ck p { margin: 0 0 12px; font-size: 14px; color: var(--aw-muted); }
.aw-ck__x { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border: 0; border-radius: 999px; background: transparent; color: var(--aw-navy); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.aw-ck__x:hover { background: var(--aw-mist); }
.aw-ck__links { display: flex; gap: 16px; font-size: 13px; }
.aw-ck__links a { color: var(--aw-arc-dark); }
.aw-ck__actions { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.aw-ck__actions .aw-btn { padding: 10px 8px; font-size: 13px; }
@media (max-width: 520px) {
  .aw-ck { left: 8px; right: 8px; bottom: 8px; width: auto; max-height: 78vh; padding: 18px 16px 14px; }
  .aw-ck__actions { grid-template-columns: 1fr 1fr; }
  .aw-ck__actions [data-ck="all"] { grid-column: 1 / -1; order: -1; }
}

/* ------------------------------------------------------- floating buttons */
.aw-a11y-btn, .aw-chat-btn {
  position: fixed; bottom: 18px; z-index: var(--aw-z);
  width: 56px; height: 56px; border-radius: 50%; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 28px rgba(11, 37, 69, 0.28);
  transition: transform 160ms ease, background 160ms ease;
}
.aw-a11y-btn { left: 18px; background: var(--aw-navy); color: #fff; width: 48px; height: 48px; }
.aw-a11y-btn.is-active { background: var(--aw-arc); }
.aw-chat-btn { right: 18px; background: var(--aw-arc); color: #fff; }
.aw-a11y-btn:hover, .aw-chat-btn:hover { transform: translateY(-2px); }
.aw-chat-btn.is-open { background: var(--aw-navy); }
html.aw-ck-open :is(.aw-a11y-btn, .aw-pv-btn) { visibility: hidden; }

.aw-teaser {
  position: fixed; right: 18px; bottom: 86px; z-index: var(--aw-z);
  background: var(--aw-paper); color: var(--aw-navy); border: 1px solid var(--aw-line);
  border-radius: 18px 18px 4px 18px; padding: 12px 16px; font-weight: 600; font-size: 14px; line-height: 1.3; font-family: inherit;
  box-shadow: var(--aw-shadow); cursor: pointer; animation: aw-pop 300ms ease both;
}
@keyframes aw-pop { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ------------------------------------------------------- accessibility panel */
.aw-a11y {
  position: fixed; left: 16px; bottom: 80px; top: auto; z-index: calc(var(--aw-z) + 10);
  width: min(380px, calc(100vw - 32px)); max-height: min(720px, calc(100vh - 100px));
  display: flex; flex-direction: column;
  background: var(--aw-paper); border-radius: var(--aw-radius); box-shadow: var(--aw-shadow); border: 1px solid var(--aw-line);
  overflow: hidden;
}
.aw-a11y__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 16px 10px 20px; background: var(--aw-navy); color: #fff; }
.aw-a11y__head h2 { margin: 0; font: 700 18px/1.2 "Inter", sans-serif; color: #fff; }
.aw-a11y__head .aw-icon-btn { background: rgba(255, 255, 255, 0.12); color: #fff; }
.aw-a11y__tools { display: flex; gap: 8px; padding: 0 20px 14px; background: var(--aw-navy); }
.aw-a11y__tools .aw-btn { border-color: rgba(255, 255, 255, 0.5); color: #fff; }
.aw-a11y__tools .aw-btn:hover { background: rgba(255, 255, 255, 0.12); }
.aw-a11y__body { overflow: auto; padding: 6px 20px 18px; }
.aw-a11y__body h3 { margin: 16px 0 6px; font: 600 13px/1.3 "Inter", sans-serif; color: var(--aw-muted); letter-spacing: 0.01em; }
.aw-a11y__list { list-style: none; margin: 0; padding: 0; }
.aw-a11y__row { display: flex; align-items: center; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--aw-line); }
.aw-a11y__row label { cursor: pointer; display: flex; flex-direction: column; }
.aw-a11y__row b { font-size: 15px; color: var(--aw-navy); }
.aw-a11y__row span { font-size: 13px; color: var(--aw-muted); }
.aw-a11y__size { display: flex; align-items: center; gap: 12px; }
.aw-a11y__size output { min-width: 56px; text-align: center; font: 600 15px/1 "Inter", sans-serif; color: var(--aw-navy); }
@media (max-width: 520px) {
  .aw-a11y { left: 8px; right: 8px; bottom: 76px; width: auto; }
}

/* ------------------------------------------------------- assistant */
.aw-chat {
  position: fixed; right: 18px; bottom: 86px; z-index: calc(var(--aw-z) + 10);
  width: min(380px, calc(100vw - 24px)); height: min(600px, calc(100vh - 110px));
  display: flex; flex-direction: column;
  background: var(--aw-paper); border-radius: var(--aw-radius); box-shadow: var(--aw-shadow);
  border: 1px solid var(--aw-line); overflow: hidden;
}
.aw-chat__head { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 16px; background: var(--aw-navy); color: #fff; }
.aw-chat__head h2 { margin: 0; font: 700 16px/1.2 "Inter", sans-serif; color: #fff; }
.aw-chat__head p { margin: 2px 0 0; font-size: 12.5px; color: #c8d5ee; }
.aw-chat__head > div { flex: 1; min-width: 0; }
.aw-chat__head .aw-icon-btn { background: rgba(255, 255, 255, 0.12); color: #fff; }
.aw-chat__mark { width: 38px; height: 38px; flex: none; border-radius: 50%; background: var(--aw-arc); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.aw-chat__log { flex: 1; overflow: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: #f6f8fc; }
.aw-msg { max-width: 86%; padding: 10px 14px; font-size: 14.5px; border-radius: 16px; word-wrap: break-word; }
.aw-msg--bot { align-self: flex-start; background: #fff; border: 1px solid var(--aw-line); border-bottom-left-radius: 4px; }
.aw-msg--bot a { color: var(--aw-arc-dark); font-weight: 600; }
.aw-msg--user { align-self: flex-end; background: var(--aw-arc); color: #fff; border-bottom-right-radius: 4px; }
.aw-msg--typing { display: inline-flex; gap: 4px; padding: 14px; }
.aw-msg--typing i { width: 6px; height: 6px; border-radius: 50%; background: #9aa6b8; animation: aw-dot 900ms infinite ease-in-out; }
.aw-msg--typing i:nth-child(2) { animation-delay: 150ms; }
.aw-msg--typing i:nth-child(3) { animation-delay: 300ms; }
@keyframes aw-dot { 0%, 80%, 100% { opacity: 0.3; } 40% { opacity: 1; } }
.aw-chat__chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px; background: #f6f8fc; }
.aw-chat__chips:not(:empty) { padding-bottom: 12px; }
.aw-chip { border: 1.5px solid var(--aw-arc); background: #fff; color: var(--aw-arc-dark); border-radius: 999px; padding: 7px 12px; font-weight: 600; font-size: 13px; line-height: 1.2; font-family: inherit; cursor: pointer; min-height: 36px; }
.aw-chip:hover { background: var(--aw-mist); }
.aw-chat__form { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--aw-line); background: #fff; }
.aw-chat__form input { flex: 1; min-width: 0; height: 44px; border: 1.5px solid var(--aw-line); border-radius: 999px; padding: 0 16px; font-size: 15px; line-height: 1; font-family: inherit; color: var(--aw-ink); }
.aw-chat__form input:focus { border-color: var(--aw-arc); outline: none; box-shadow: 0 0 0 3px rgba(30, 94, 255, 0.18); }
.aw-chat__form .aw-icon-btn { width: 44px; height: 44px; }
.aw-chat__fine { margin: 0; padding: 0 16px 10px; font-size: 11.5px; color: var(--aw-muted); background: #fff; }
.aw-chat__fine a { color: var(--aw-muted); }
@media (max-width: 520px) {
  .aw-chat { right: 8px; left: 8px; width: auto; bottom: 82px; height: calc(100vh - 100px); height: calc(100dvh - 100px); }
  html.aw-chat-open .aw-a11y-btn { visibility: hidden; }
}

/* ------------------------------------------------------- accessibility effects */
html.a11y-zoomed body > header, html.a11y-zoomed body > main, html.a11y-zoomed body > footer,
html.a11y-zoomed body > section, html.a11y-zoomed body > div:not([class^="aw-"]):not(.lead-form-root) { zoom: var(--a11y-zoom, 1); }

html.a11y-still *, html.a11y-still *::before, html.a11y-still *::after {
  animation-duration: 0.001ms !important; animation-iteration-count: 1 !important;
  transition-duration: 0.001ms !important; scroll-behavior: auto !important;
}
/* Filter on the page regions, never on body: a filtered body would break the fixed widgets. */
html.a11y-contrast body > :is(header, main, footer, section, div:not([class^="aw-"]):not(.lead-form-root)) { filter: contrast(1.25); }
html.a11y-contrast body :is(p, li, span, dd, small, figcaption) { color: #000 !important; }
html.a11y-contrast body :is(.is-dark, [data-theme="dark"]) :is(p, li, span, dd, small, figcaption) { color: #fff !important; }
html.a11y-links a { text-decoration: underline !important; text-decoration-thickness: 2px !important; outline: 2px solid #f5c400; outline-offset: 2px; }
html.a11y-font body, html.a11y-font body * { font-family: Verdana, Tahoma, "Segoe UI", Arial, sans-serif !important; letter-spacing: 0.03em !important; word-spacing: 0.08em; }
html.a11y-spacing body :is(p, li, dd, label, summary) { line-height: 2 !important; }
html.a11y-spacing body p { margin-bottom: 1.4em !important; }
html.a11y-cursor, html.a11y-cursor * {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 24 24'%3E%3Cpath d='M4 2l15 10-7 1.5 4.5 8-3 1.5-4.5-8L4 20z' fill='%23000' stroke='%23fff' stroke-width='1.2'/%3E%3C/svg%3E") 4 2, auto !important;
}
html.a11y-focus *:focus, html.a11y-focus *:focus-visible { outline: 4px solid #f5c400 !important; outline-offset: 3px !important; box-shadow: 0 0 0 7px #0b2545 !important; }
html.a11y-noimg body :is(img, video, picture, svg[role="img"]):not([class^="aw-"]) { visibility: hidden !important; }
.aw-guide {
  position: fixed; inset: 0; z-index: calc(var(--aw-z) - 1); pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.55) 0, rgba(0, 0, 0, 0.55) calc(var(--y, 50vh) - 40px), transparent calc(var(--y, 50vh) - 40px), transparent calc(var(--y, 50vh) + 40px), rgba(0, 0, 0, 0.55) calc(var(--y, 50vh) + 40px));
}

/* The homepage stylesheet (marketing.css) sets every direct child of body to
   position: relative; these doubled selectors outrank it so the widgets stay fixed. */
body > .aw-ck.aw-ck { position: fixed; z-index: calc(var(--aw-z) + 20); }
body > .aw-a11y.aw-a11y, body > .aw-chat.aw-chat { position: fixed; z-index: calc(var(--aw-z) + 10); }
body > .aw-a11y-btn.aw-a11y-btn, body > .aw-chat-btn.aw-chat-btn, body > .aw-teaser.aw-teaser { position: fixed; z-index: var(--aw-z); }
body > .aw-guide.aw-guide { position: fixed; z-index: calc(var(--aw-z) - 1); }
/* The homepage also forces width: 100% on body's children. */
body > .aw-ck.aw-ck { width: min(400px, calc(100vw - 32px)); }
body > .aw-a11y.aw-a11y { width: min(380px, calc(100vw - 32px)); }
body > .aw-chat.aw-chat { width: min(380px, calc(100vw - 24px)); }
body > .aw-a11y-btn.aw-a11y-btn { width: 48px; }
body > .aw-chat-btn.aw-chat-btn { width: 56px; }
body > .aw-teaser.aw-teaser { width: auto; }
body > .aw-guide.aw-guide { width: auto; }
@media (max-width: 520px) {
  body > .aw-ck.aw-ck, body > .aw-a11y.aw-a11y, body > .aw-chat.aw-chat { width: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .aw-teaser, .aw-msg--typing i { animation: none; }
  .aw-a11y-btn, .aw-chat-btn { transition: none; }
}

@media print {
  .aw-ck, .aw-a11y, .aw-chat, .aw-a11y-btn, .aw-chat-btn, .aw-teaser, .aw-guide { display: none !important; }
}

/* Isolation from main.css (the homepage loads the portal stylesheet, which
   uppercases every label and restyles every input). */
:is(.aw-ck, .aw-a11y, .aw-chat) label {
  text-transform: none !important; letter-spacing: normal !important; margin: 0 !important;
  font-family: inherit !important; font-size: inherit !important; font-weight: inherit !important; color: inherit !important;
}
.aw-ck .aw-a11y .aw-a11y__row label { display: flex !important; flex-direction: column; }
input.aw-switch.aw-switch {
  appearance: none; -webkit-appearance: none; width: 44px; height: 26px; min-width: 44px; min-height: 26px;
  margin: 0; padding: 0; border: 0; border-radius: 999px; background: #c7cfdc; box-shadow: none; accent-color: auto;
}
input.aw-switch.aw-switch:checked { background: var(--aw-arc); }
.aw-chat .aw-chat__form input { margin: 0; min-height: 44px; border-radius: 999px; background: #fff; }
.aw-chat .aw-chat__form input:hover { border-color: var(--aw-line); }
:is(.aw-ck, .aw-a11y, .aw-chat) :is(h2, h3, p) { text-transform: none; }

/* ------------------------------------------------- privacy settings panel */
.aw-pv { position: fixed; inset: 0; z-index: calc(var(--aw-z) + 30); font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; color: var(--aw-ink); line-height: 1.5; }
.aw-pv[hidden] { display: none !important; }
body > .aw-pv.aw-pv { position: fixed; z-index: calc(var(--aw-z) + 30); width: auto; }
.aw-pv__scrim { position: absolute; inset: 0; background: rgba(11, 37, 69, 0.45); }
.aw-pv__sheet {
  position: absolute; top: 0; bottom: 0; left: 0; width: min(560px, 100vw);
  display: flex; flex-direction: column; background: #fff; box-shadow: var(--aw-shadow);
  animation: aw-slide 260ms ease both;
}
@keyframes aw-slide { from { transform: translateX(-24px); opacity: 0; } to { transform: none; opacity: 1; } }
.aw-pv__head { position: relative; padding: 24px 24px 0; border-bottom: 1px solid var(--aw-line); }
.aw-pv__head h2 { margin: 0 44px 8px 0; font: 700 20px/1.25 "Inter", sans-serif; color: var(--aw-navy); }
.aw-pv__head p { margin: 0 0 10px; font-size: 15px; color: var(--aw-muted); }
.aw-pv__x { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border: 0; border-radius: 999px; background: transparent; color: var(--aw-navy); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.aw-pv__x:hover { background: var(--aw-mist); }
.aw-pv__x svg { width: 26px; height: 26px; }
.aw-pv__links { display: flex; gap: 18px; font-size: 14px; }
.aw-pv__links a, .aw-pv__body a { color: var(--aw-arc-dark); }
.aw-pv__tabs { display: grid; grid-template-columns: 1fr 1fr; margin: 8px -24px 0; }
.aw-pv__tabs [role="tab"] {
  appearance: none; border: 0; background: none; cursor: pointer; padding: 14px 8px 12px;
  font-family: inherit; font-size: 16px; font-weight: 500; color: var(--aw-muted);
  border-bottom: 3px solid transparent; min-height: 48px;
}
.aw-pv__tabs [role="tab"][aria-selected="true"] { color: var(--aw-navy); font-weight: 700; border-bottom-color: var(--aw-navy); }
.aw-pv__body { flex: 1; overflow: auto; padding: 20px 24px; background: #f7f9fc; overscroll-behavior: contain; }
.aw-pv__card { background: #fff; border: 1px solid var(--aw-line); border-radius: 12px; margin-bottom: 14px; scroll-margin-top: 8px; }
.aw-pv__cardhead { padding: 16px 18px 12px; }
.aw-pv__cardhead h3 { margin: 0 0 4px; font: 700 16px/1.3 "Inter", sans-serif; color: var(--aw-navy); }
.aw-pv__cardhead p { margin: 0; font-size: 14.5px; color: var(--aw-muted); }
.aw-pv__cardbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px 10px 18px; border-top: 1px solid var(--aw-line); }
.aw-pv__chev { width: 44px; height: 44px; border: 0; border-radius: 999px; background: transparent; cursor: pointer; position: relative; }
.aw-pv__chev:hover { background: var(--aw-mist); }
.aw-pv__chev::before { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--aw-navy); border-bottom: 2px solid var(--aw-navy); transform: translate(-50%, -70%) rotate(45deg); transition: transform 160ms ease; }
.aw-pv__chev[aria-expanded="true"]::before { transform: translate(-50%, -30%) rotate(-135deg); }
.aw-pv__svclist { list-style: none; margin: 0; padding: 0 12px 6px 18px; border-top: 1px solid var(--aw-line); }
.aw-pv__svclist li { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--aw-line); font-size: 15px; }
.aw-pv__svclist li:last-child { border-bottom: 0; }
.aw-pv__svclist li span { flex: 1; }
.aw-pv__info { width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--aw-navy); background: #fff; color: var(--aw-navy); font: 700 13px/1 Georgia, serif; font-style: italic; cursor: pointer; flex: none; }
.aw-pv__info:hover { background: var(--aw-mist); }
.aw-pv__details { padding: 4px 18px 16px; border-top: 1px solid var(--aw-line); }
.aw-pv__dl { margin: 12px 0 0; }
.aw-pv__dl dt { font-size: 13px; color: var(--aw-muted); margin-top: 12px; }
.aw-pv__dl dd { margin: 2px 0 0; font-size: 15px; color: var(--aw-ink); }
.aw-pv__chips { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.aw-pv__chips li { border: 1px solid var(--aw-line); border-radius: 6px; padding: 4px 10px; font-size: 13.5px; background: #fff; }
.aw-pv__tablewrap { overflow-x: auto; margin-top: 14px; }
.aw-pv__table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.aw-pv__table caption { text-align: left; font-size: 13px; color: var(--aw-muted); padding-bottom: 6px; }
.aw-pv__table th, .aw-pv__table td { text-align: left; padding: 8px 10px; border: 1px solid var(--aw-line); vertical-align: top; }
.aw-pv__table th { background: #f1f5fb; color: var(--aw-navy); }
.aw-pv__table code { font-size: 12.5px; word-break: break-all; }
.aw-pv__muted { color: var(--aw-muted); font-size: 14px; }
.aw-pv__foot { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 10px; padding: 14px 24px 18px; border-top: 1px solid var(--aw-line); background: #fff; }
.aw-pv__foot .aw-btn { min-height: 48px; border-radius: 8px; font-size: 15px; }
html.aw-pv-open { overflow: hidden; }
html.aw-pv-open :is(.aw-a11y-btn, .aw-pv-btn, .aw-chat-btn, .aw-teaser) { visibility: hidden; }
@media (max-width: 560px) {
  .aw-pv__sheet { width: 100vw; }
  .aw-pv__head { padding: 18px 16px 0; }
  .aw-pv__tabs { margin: 6px -16px 0; }
  .aw-pv__body { padding: 16px; }
  .aw-pv__foot { grid-template-columns: 1fr 1fr; padding: 12px 16px 16px; }
  .aw-pv__foot [data-pv="save"] { grid-column: 1 / -1; order: 1; }
}
@media (prefers-reduced-motion: reduce) { .aw-pv__sheet { animation: none; } }

/* Switch with a tick/cross mark, as in the privacy panel */
input.aw-switch.aw-switch--mark {
  width: 52px; min-width: 52px; height: 28px; min-height: 28px; background-color: #3b4252;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 3l6 6M9 3L3 9' stroke='%23fff' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-size: 11px; background-position: right 9px center;
}
input.aw-switch.aw-switch--mark::after { top: 4px; left: 4px; }
input.aw-switch.aw-switch--mark:checked {
  background-color: var(--aw-arc);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.5l2.3 2.3L9.5 3.5' stroke='%23fff' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position: left 9px center;
}
input.aw-switch.aw-switch--mark:checked::after { transform: translateX(24px); }
input.aw-switch.aw-switch--mark:indeterminate { background-color: #8a94a6; background-image: none; }
input.aw-switch.aw-switch--mark:indeterminate::after { transform: translateX(12px); }
input.aw-switch.aw-switch--mark:disabled { background-color: #c9d0dc; opacity: 1; }

/* Fingerprint button: reopens privacy settings (sits next to the accessibility button) */
.aw-pv-btn {
  position: fixed; left: 76px; bottom: 18px; z-index: var(--aw-z);
  width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--aw-navy); color: #fff; box-shadow: 0 10px 28px rgba(11, 37, 69, 0.28);
  transition: transform 160ms ease, background 160ms ease;
}
.aw-pv-btn:hover { transform: translateY(-2px); background: var(--aw-arc); }
.aw-pv-btn:focus-visible, .aw-pv :focus-visible { outline: 3px solid #17d1c8; outline-offset: 2px; }
.aw-pv-btn[hidden] { display: none !important; }
body > .aw-pv-btn.aw-pv-btn { position: fixed; z-index: var(--aw-z); width: 48px; }
@media print { .aw-pv, .aw-pv-btn { display: none !important; } }

/* Consent-gated embeds (e.g. the contact-page map) */
.sb-map--gated { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 24px; text-align: center; height: 360px; background: #e5ebf3; border-radius: 14px; }
.sb-map--gated p { margin: 0; max-width: 36ch; color: #4b5563; font-size: 15px; }
.sb-map--gated a { font-size: 14px; }

/* Isolation from main.css for the panel (homepage loads the portal stylesheet). */
.aw-pv :is(h2, h3, p, dt, dd, caption, th, td) { text-transform: none; letter-spacing: normal; }
.aw-pv .aw-pv__tabs [role="tab"] { text-transform: none; letter-spacing: normal; }
