/* Self-contained privacy UI, shared by the main pages and policy. */
.cookie-panel, .cookie-dialog { --cookie-paper: #fff; --cookie-ink: #20201e; --cookie-muted: #555650; --cookie-line: #d2d2cc; --cookie-surface: #f5f5f1; box-sizing: border-box; color: var(--cookie-ink); background: var(--cookie-paper); font: 400 15px/1.55 Roboto, Arial, sans-serif; }
[data-theme="dark"] .cookie-panel, [data-theme="dark"] .cookie-dialog { --cookie-paper: #1c1d1a; --cookie-ink: #f5f5f1; --cookie-muted: #c4c5bd; --cookie-line: #5b5c54; --cookie-surface: #282923; color-scheme: dark; }
.cookie-panel *, .cookie-dialog * { box-sizing: border-box; }
.cookie-panel[hidden] { display: none; }
.cookie-panel { position: fixed; z-index: 90; bottom: 0; left: 0; right: 0; max-height: 65dvh; overflow: auto; margin: 0; padding: 24px max(24px, calc((100vw - 1200px) / 2)); border-top: 3px solid #ff6600; display: flex; align-items: center; gap: 32px; box-shadow: 0 -12px 40px rgb(0 0 0 / .1); }
.cookie-panel__copy { flex: 1 1 550px; }
.cookie-panel h2, .cookie-dialog h2 { font: 700 23px/1.25 Play, Arial, sans-serif; letter-spacing: -.02em; margin: 0 0 10px; }
.cookie-panel p, .cookie-dialog p { margin: 0; color: var(--cookie-muted); }
.cookie-panel .cookie-eyebrow { margin: 0 0 8px; font-size: 11px; letter-spacing: .12em; color: var(--cookie-muted); }
.cookie-panel a, .cookie-dialog a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie-panel > .cookie-actions { flex: 0 1 328px; gap: 8px; }
.cookie-actions button, .cookie-close { min-height: 36px; border: 1px solid var(--cookie-ink); border-radius: 8px; color: var(--cookie-ink); background-color: var(--cookie-paper); font: 500 14px/1.3 Roboto, Arial, sans-serif; padding: 7px 12px; cursor: pointer; }
.cookie-actions button, .cookie-close, .doc__foot [data-cookie-settings] { background-image: linear-gradient(180deg, rgb(255 255 255 / .12), transparent 70%); box-shadow: inset 0 1px rgb(255 255 255 / .17), 0 2px 5px rgb(0 0 0 / .12); }
.cookie-actions button { flex: 1 1 140px; }
.cookie-actions button:hover, .cookie-close:hover { background-color: var(--cookie-surface); }
.cookie-actions .cookie-customise { flex-basis: 100%; border-color: var(--cookie-line); }
.cookie-panel :focus-visible, .cookie-dialog :focus-visible, [data-cookie-settings]:focus-visible { outline: 3px solid #ff6600; outline-offset: 4px; }
.cookie-dialog { width: min(600px, calc(100% - 32px)); max-height: calc(100dvh - 32px); overflow: auto; padding: 28px; border: 1px solid var(--cookie-line); border-top: 3px solid #ff6600; border-radius: 4px; }
.cookie-dialog::backdrop { background: rgb(0 0 0 / .6); }
.cookie-dialog__head { display: flex; justify-content: space-between; align-items: start; gap: 16px; }
.cookie-close { flex: 0 0 36px; padding: 4px; font-size: 24px; line-height: 1; }
.cookie-category { padding: 22px 0; border-bottom: 1px solid var(--cookie-line); }
.cookie-category h3, .cookie-toggle { font-size: 16px; font-weight: 700; margin: 0 0 8px; }
.cookie-category p { margin-top: 8px; }
.cookie-badge { display: inline-block; background: var(--cookie-surface); font-size: 12px; padding: 3px 8px; }
.cookie-toggle { display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; min-height: 44px; }
.cookie-toggle input { width: 24px; height: 24px; accent-color: #ba4900; flex-shrink: 0; }
.cookie-dialog .cookie-note { margin: 18px 0; }
.cookie-details { font-size: 13px; color: var(--cookie-muted); margin-bottom: 18px; }
.cookie-details summary { cursor: pointer; min-height: 32px; }
.cookie-policy { display: inline-block; margin-bottom: 22px; }
.cookie-status { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.cookie-status[data-visible="true"] { position: fixed; z-index: 95; inset: auto 16px 16px; width: auto; height: auto; max-width: 600px; margin: 0 auto; padding: 16px; overflow: visible; clip-path: none; white-space: normal; color: #20201e; background: #fff; border: 2px solid #ff6600; font: 400 15px/1.5 Roboto, Arial, sans-serif; }
.doc__foot [data-cookie-settings] { color: inherit; background-color: transparent; border: 1px solid currentColor; border-radius: 8px; padding: 7px 12px; min-height: 36px; font: inherit; cursor: pointer; }
@media (max-width: 860px) { .cookie-panel { flex-direction: column; align-items: stretch; gap: 20px; } .cookie-panel__copy, .cookie-panel > .cookie-actions { flex-basis: auto; } }
@media (max-width: 650px) {
  .cookie-panel { padding: 14px 18px; gap: 10px; }
  .cookie-panel h2 { margin-bottom: 4px; font-size: 18px; }
  .cookie-panel p { font-size: 14px; }
  .cookie-panel .cookie-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .cookie-panel .cookie-actions button { padding: 6px 8px; }
  .cookie-panel .cookie-customise { grid-column: 1 / -1; }
  .cookie-dialog { padding: 20px; }
}
@media (pointer: coarse) { .cookie-actions button, .cookie-close { min-height: 44px; } .cookie-close { flex-basis: 44px; } }
.cookie-status[data-visible="true"] { position: static; max-width: none; border-width: 1px 0 0; }
