/* The cookie notice (Klaro, LEE-932) in the site's own colors. Klaro reads
   these variables with its own fallbacks; the html prefix outranks the rules
   Klaro injects after this file. Night is the homepage, forest the privacy,
   terms and tag pages (tokens.css). */
[data-theme="night"] .klaro {
  --font-family: var(--font-inter); --title-font-family: var(--font-inter); --font-size: var(--fs-13);
  --dark1: var(--surface); --dark2: var(--surface-2); --light1: var(--ink); --light2: var(--muted);
  --green1: var(--pill); --green2: var(--pill-hover); --button-text-color: var(--pill-ink);
  --border-radius: var(--radius); --box-shadow-color: transparent;
}
[data-theme="forest"] .klaro {
  --font-family: inherit; --title-font-family: inherit; --font-size: var(--fs-13);
  --dark1: var(--ground); --dark2: var(--glass); --light1: var(--ink); --light2: var(--moss);
  --green1: var(--brass); --green2: var(--brass-hover); --button-text-color: var(--ground);
  --border-radius: var(--radius); --box-shadow-color: transparent;
}
html .klaro .cookie-notice:not(.cookie-modal-notice) { border: 1px solid var(--edge, var(--brass-line)); outline: none; box-shadow: none; }
html .klaro :is(.cookie-notice, .cookie-modal) .cm-btn { border-radius: var(--radius-pill); padding: var(--sp-6) var(--sp-16); font-weight: 500; }
html .klaro :is(.cookie-notice, .cookie-modal) .cm-btn:is(.cm-btn-danger, .cm-btn-info) { background: transparent; color: var(--ink); border: 1px solid var(--edge-strong, var(--brass-line)); }
html .klaro :is(.cookie-notice, .cookie-modal) .cm-link { color: var(--light2); }
html .klaro .cookie-modal .cm-modal.cm-klaro { border: 1px solid var(--edge, var(--brass-line)); }
html .klaro .cookie-modal .cm-header h1.title { font-size: var(--fs-20); }
/* LEE-1525: the same bar in the client app, which is light (tokens.css :root). */
html[data-ph-surface="app"] .klaro {
  --font-family: var(--sans); --title-font-family: var(--sans); --font-size: var(--fs-13);
  --dark1: var(--card); --dark2: var(--accent-tint); --light1: var(--ink); --light2: var(--muted);
  --green1: var(--accent); --green2: var(--accent-hover); --button-text-color: var(--on-accent);
  --border-radius: var(--radius); --box-shadow-color: transparent;
}
html[data-ph-surface="app"] .klaro .cookie-notice:not(.cookie-modal-notice) { border: 1px solid var(--hairline); }
html[data-ph-surface="app"] .klaro :is(.cookie-notice, .cookie-modal) .cm-btn:is(.cm-btn-danger, .cm-btn-info) { border-color: var(--rule); }
