/* lucid implement-cookies v1.26.0 — cookie-consent.css (variant-shared UI styles)
   Site-native tokens resolved from the source stylesheet; per-theme
   colours are contrast-clamped (text >= 4.5:1, UI accents >= 3:1) and
   declared below in the machine-readable cc-contrast-tokens block the
   check_cookie_consent.py gate re-verifies. Do not edit by hand. */

/* cc-contrast-tokens
   theme=light surface=#ebedf2 text-primary=#1a1a2e text-secondary=rgba(0,0,0,0.72) accent=#01795e accent-text=#01795e
*/

.cc-cookie, .cc-cookie-overlay {
  --cc-surface: #ebedf2;
  --cc-text-primary: #1a1a2e;
  --cc-text-secondary: rgba(0,0,0,0.72);
  --cc-accent: #01795e;
  --cc-accent-text: #01795e;
  font-family: var(--font-body);
}

.cc-cookie {
  position: fixed; left: 0; right: 0; bottom: 0;
  display: flex; justify-content: center; padding: 16px;
  z-index: 2147483000;
  pointer-events: none;
}
.cc-cookie-card {
  position: relative; overflow: hidden; pointer-events: auto;
  width: 100%; max-width: 640px;
  display: flex; align-items: center; gap: 20px;
  padding: 18px 20px; border-radius: 6px;
  background-color: var(--cc-surface);
  background-image: none;
  border: 1px solid rgba(0,0,0,0.1);
  box-shadow: 0 24px 64px rgba(10,30,61,0.18);
  transform: translateY(24px); opacity: 0;
  transition: transform 0.5s cubic-bezier(0.22,1,0.36,1), opacity 0.4s ease;
}
.cc-cookie.cc-cookie-open .cc-cookie-card { transform: translateY(0); opacity: 1; }

.cc-cookie-body { position: relative; z-index: 1; flex: 1 1 auto; min-width: 0; }
.cc-cookie-title { font-size: 13px; font-weight: 700; letter-spacing: 0.02em; color: var(--cc-text-primary); margin: 0 0 5px; }
.cc-cookie-text { font-size: 12.5px; line-height: 1.55; color: var(--cc-text-secondary); margin: 0; }
.cc-cookie-link { color: var(--cc-accent-text); text-decoration: none; }
.cc-cookie-link:hover { text-decoration: underline; }
.cc-cookie-actions { position: relative; z-index: 1; display: flex; gap: 10px; flex: 0 0 auto; }
.cc-cookie-btn {
  font-family: inherit; font-size: 13px; font-weight: 700; letter-spacing: 0.01em;
  padding: 11px 18px; border-radius: 6px; cursor: pointer;
  min-height: 44px; white-space: nowrap;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.cc-cookie-options, .cc-cookie-save { background: transparent; color: var(--cc-text-secondary); border: 1px solid rgba(0,0,0,0.1); }
.cc-cookie-options:hover, .cc-cookie-save:hover { color: var(--cc-text-primary); transform: translateY(-1px); }
.cc-cookie-reject { background: transparent; color: var(--cc-text-primary); border: 1px solid rgba(0,0,0,0.1); }
.cc-cookie-reject:hover { transform: translateY(-1px); }
.cc-cookie-accept { background: #1a1a2e; color: #ffffff; border: none; }
.cc-cookie-accept:hover { transform: translateY(-1px); }
.cc-cookie-prefs-link { background: none; border: none; padding: 0; cursor: pointer; font: inherit; text-decoration: none; }


.cc-cookie-overlay {
  position: fixed; inset: 0; z-index: 2147483001;
  display: flex; align-items: center; justify-content: center; padding: 24px;
  background: rgba(238,241,246,0.78);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.35s ease, visibility 0s linear 0.35s;
}
.cc-cookie-overlay.cc-cookie-overlay-open { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity 0.35s ease, visibility 0s linear 0s; }
.cc-cookie-panel {
  position: relative; width: 100%; max-width: 460px;
  max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px); overflow-y: auto;
  padding: 28px 26px 24px; border-radius: 8px;
  background-color: var(--cc-surface);
  background-image: none;
  border: 1px solid rgba(0,0,0,0.1);
  box-shadow: 0 24px 64px rgba(10,30,61,0.18);
  transform: scale(0.96); opacity: 0;
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1), opacity 0.3s ease;
}
.cc-cookie-overlay.cc-cookie-overlay-open .cc-cookie-panel { transform: scale(1); opacity: 1; }

.cc-cookie-overlay-title { font-size: 15px; margin-bottom: 0; }
.cc-cookie-overlay-sub { font-size: 12.5px; line-height: 1.55; color: var(--cc-text-secondary); margin: 8px 0 0; }
.cc-cookie-opts { display: flex; flex-direction: column; gap: 12px; margin: 20px 0 22px; }
.cc-cookie-opt { display: flex; align-items: center; gap: 16px; padding: 14px 16px; border-radius: 6px; background: rgba(0,0,0,0.025); border: 1px solid rgba(0,0,0,0.08); }
.cc-cookie-opt-text { flex: 1 1 auto; min-width: 0; }
.cc-cookie-opt-name { font-size: 13px; font-weight: 700; color: var(--cc-text-primary); margin-bottom: 3px; }
.cc-cookie-opt-desc { font-size: 12px; line-height: 1.5; color: var(--cc-text-secondary); }
.cc-cookie-switch { position: relative; flex: 0 0 auto; width: 46px; height: 28px; padding: 0; border: none; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.cc-cookie-switch-track { display: block; width: 46px; height: 28px; border-radius: 999px; background: rgba(0,0,0,0.12); border: 1px solid rgba(0,0,0,0.14); transition: background 0.25s ease, border-color 0.25s ease; }
.cc-cookie-switch-thumb { position: absolute; top: 4px; left: 4px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,0.35); transition: transform 0.25s cubic-bezier(0.22,1,0.36,1); }
.cc-cookie-switch[aria-checked="true"] .cc-cookie-switch-track { background: var(--cc-accent); border-color: transparent; }
.cc-cookie-switch[aria-checked="true"] .cc-cookie-switch-thumb { transform: translateX(18px); }
.cc-cookie-switch[disabled] { cursor: default; opacity: 0.7; }
.cc-cookie-switch:focus-visible { outline: 2px solid var(--cc-accent); outline-offset: 3px; border-radius: 999px; }
.cc-cookie-btn:focus-visible, .cc-cookie-prefs-link:focus-visible, .cc-cookie-overlay-close:focus-visible { outline: 2px solid var(--cc-accent); outline-offset: 2px; }
.cc-cookie-overlay-actions { display: flex; gap: 10px; }
.cc-cookie-overlay-actions .cc-cookie-btn { flex: 1 1 0; padding: 11px 12px; }
.cc-cookie-overlay-close { position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; min-height: 32px; display: flex; align-items: center; justify-content: center; padding: 0; border-radius: 8px; border: 1px solid rgba(0,0,0,0.08); background: transparent; color: var(--cc-text-secondary); cursor: pointer; }
.cc-cookie-overlay-close:hover { color: var(--cc-text-primary); }
.cc-cookie-overlay-close svg { width: 14px; height: 14px; }
html.cc-cookie-noscroll, html.cc-cookie-noscroll body { overflow: hidden; }

@media (max-width: 640px) {
  .cc-cookie { padding: 10px 10px calc(20px + env(safe-area-inset-bottom, 0px)); left: 0; right: 0; bottom: 0; justify-content: center; }
  .cc-cookie-card { flex-direction: column; align-items: stretch; gap: 14px; padding: 18px; width: 100%; max-width: 640px; }
  .cc-cookie-actions { width: 100%; }
  .cc-cookie-btn { flex: 1 1 0; }
  .cc-cookie-overlay { padding: 16px; }
  .cc-cookie-panel { padding: 24px 20px 20px; }
  .cc-cookie-overlay-actions { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  .cc-cookie-card { transition: opacity 0.3s ease; transform: none; }
  .cc-cookie.cc-cookie-open .cc-cookie-card { transform: none; }
  .cc-cookie-overlay { transition: opacity 0.2s ease; }
  .cc-cookie-panel { transition: opacity 0.2s ease; transform: none; }
  .cc-cookie-overlay.cc-cookie-overlay-open .cc-cookie-panel { transform: none; }
  .cc-cookie-switch-thumb { transition: none; }
}
