/* Privacy choices banner (assets/consent.js). Theme-kit tokens only; Accept
   and Reject are the same component, size and colour (no nudging). */
.pc-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; background: #ffffff;
  color: var(--kit-navy-ink, #131b3f); border-top: 1px solid var(--surface-rule, #dfe3ec);
  box-shadow: 0 -10px 40px rgba(19, 27, 63, 0.14); font-family: var(--font-sans);
  animation: pc-rise 180ms ease-out; }
@keyframes pc-rise { from { transform: translateY(16px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .pc-banner { animation: none; } }
/* Same box as the site's .container (1200px, 64px gutters; 24px under 768px). */
.pc-inner { max-width: 1200px; margin: 0 auto; padding: 22px 64px; display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px 20px; align-items: center; }
.pc-icon { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; align-self: start;
  background: rgba(29, 44, 105, 0.07); color: var(--kit-navy, #1d2c69); }
.pc-icon svg { width: 22px; height: 22px; }
.pc-body { min-width: 0; text-align: left; }
.pc-banner .pc-title { font-family: var(--font-sans); font-size: 16px; line-height: 1.35; font-weight: 700;
  letter-spacing: 0; text-transform: none; margin: 0 0 4px; color: var(--kit-navy-ink, #131b3f); text-align: left; }
.pc-banner .pc-text, .pc-banner .pc-state { font-size: 14px; line-height: 1.6; color: #4a5372; margin: 0;
  max-width: 78ch; text-align: left; }
.pc-banner .pc-state { margin-top: 6px; color: var(--kit-navy-ink, #131b3f); font-weight: 500; }
.pc-link { color: var(--kit-navy, #1d2c69); font-weight: 600; text-decoration: underline; text-underline-offset: 3px;
  white-space: nowrap; }
.pc-link:hover { color: var(--kit-navy-ink, #131b3f); }
.pc-actions { display: flex; gap: 10px; align-items: center; justify-content: flex-end; }
/* Accept and Reject: one component, one size, one colour (no nudging). */
.pc-banner .pc-btn { width: 128px; height: 44px; padding: 0 16px; display: inline-flex; align-items: center;
  justify-content: center; border-radius: 8px; border: 1px solid var(--kit-navy, #1d2c69);
  background: var(--kit-navy, #1d2c69); color: #ffffff; font-family: var(--font-sans); font-size: 14px;
  font-weight: 600; letter-spacing: 0; cursor: pointer; transition: background-color 120ms ease; }
.pc-banner .pc-btn:hover { background: var(--kit-navy-ink, #131b3f); border-color: var(--kit-navy-ink, #131b3f); }
.pc-btn:disabled { opacity: 0.6; cursor: default; }
.pc-close { position: absolute; top: 10px; right: 12px; width: 32px; height: 32px; display: grid; place-items: center;
  border: 0; border-radius: 6px; background: transparent; color: #4a5372; cursor: pointer; }
.pc-close:hover { background: rgba(29, 44, 105, 0.07); }
.pc-close svg { width: 18px; height: 18px; }
.pc-status:empty { display: none; }
.pc-status { grid-column: 2 / -1; margin: 0; font-size: 13px; color: #b91c1c; }
.pc-banner button:focus-visible, .pc-banner a:focus-visible { outline: 2px solid var(--kit-orange, #f1a139); outline-offset: 2px; }
@media (max-width: 860px) {
  .pc-inner { grid-template-columns: auto minmax(0, 1fr); padding: 18px 24px; }
  .pc-actions { grid-column: 1 / -1; justify-content: stretch; }
  .pc-banner .pc-btn { flex: 1 1 0; width: auto; }
  .pc-status { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .pc-icon { display: none; }
  .pc-inner { grid-template-columns: minmax(0, 1fr); padding: 16px 24px; }
}
/* The chat button (assets/chat-widget.js) rides above the bar while it is open. */
body.pc-open .ds-chat { bottom: calc(var(--pc-h, 0px) + 16px); }

/* The footer's "Privacy" link and "Privacy choices" button. */
.kit-footer-privacy { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.kit-footer-choices { padding: 0; border: 0; background: transparent; color: inherit; font: inherit; cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px; }

/* privacy.html (script/privacy_content.py) */
.pv-doc { max-width: 860px; }
.pv-summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-bottom: 20px; }
.pv-sum { background: var(--surface-canvas); border: 1px solid var(--surface-rule); border-radius: 10px; padding: 14px 16px; }
.pv-sum h2 { font-size: 15px; margin: 0 0 6px; }
.pv-sum p { font-size: 14px; color: var(--ink-secondary); margin: 0; line-height: 1.55; }
.pv-toc ol { columns: 2; padding-left: 20px; margin: 0 0 24px; font-size: 15px; }
@media (max-width: 640px) { .pv-toc ol { columns: 1; } }
.pv-section { background: var(--surface-canvas); border: 1px solid var(--surface-rule); border-radius: 10px; padding: 20px 24px; margin-bottom: 14px; }
.pv-section h2 { font-size: 1.25rem; margin: 0 0 10px; }
.pv-section h3 { font-size: 1rem; margin: 18px 0 6px; }
.pv-section p, .pv-section li { font-size: 15.5px; line-height: 1.65; color: var(--ink-secondary); }
.pv-section code { font-size: 0.92em; background: var(--surface-tint); padding: 1px 5px; border-radius: 4px; }
.pv-table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 8px 0 12px; display: block; overflow-x: auto; }
.pv-table th, .pv-table td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--surface-divider); }
.pv-table th { color: var(--ink-primary); font-weight: 600; }
