/* Cookie notice (views/partials/shared/consent.ejs). Shown only with JavaScript. */
.cc {
  position: fixed; z-index: 1200; left: 20px; bottom: 20px; width: min(440px, calc(100vw - 40px));
  max-height: calc(100vh - 40px); overflow: auto;
  padding: 20px 22px 16px; border: 1px solid var(--ui-border, #d9dedd); border-radius: 14px;
  background: var(--ui-surface-solid, #fff); color: var(--ui-text, #1c2524);
  box-shadow: 0 18px 50px rgba(15, 18, 40, .28), 0 2px 8px rgba(15, 18, 40, .12);
  font-family: var(--ui-font, inherit); font-size: 14px; line-height: 1.55;
}
.cc[hidden] { display: none; }
html:not(.has-js) .cc { display: none; }
/* :root raises the specificity above the themes' generic h2 / p / a rules. */
:root .cc .cc__title { margin: 0 0 6px; font-size: 17px; font-weight: 600; line-height: 1.3; letter-spacing: 0; color: var(--ui-heading, inherit); }
:root .cc .cc__text { margin: 0; font-size: 14px; line-height: 1.55; color: inherit; }
.cc__details { margin-top: 10px; }
.cc__details summary { cursor: pointer; color: var(--ui-accent-text, var(--ui-accent, #0b6f6a)); font-weight: 600; }
.cc__details dl { margin: 8px 0 0; }
:root .cc .cc__details dt { margin-top: 8px; font-size: 14px; font-weight: 600; color: var(--ui-heading, inherit); }
:root .cc .cc__details dd { margin: 2px 0 0; font-size: 13px; line-height: 1.5; color: var(--ui-muted, #5b6665); }
.cc__tag {
  display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 999px; vertical-align: 1px;
  border: 1px solid var(--ui-border, #d9dedd); font-size: 11px; font-weight: 600; color: var(--ui-muted, #5b6665);
}
:root .cc .cc__state { margin: 10px 0 0; font-size: 14px; font-weight: 600; color: inherit; }
.cc__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.cc__btn {
  min-height: 42px; padding: 8px 12px; border-radius: 10px; cursor: pointer;
  border: 1px solid var(--ui-border, #c5cccb); background: var(--ui-surface-soft, #f3f5f5); color: var(--ui-text, #1c2524);
  font: inherit; font-weight: 600;
}
.cc__btn:hover { border-color: var(--ui-accent, #0b6f6a); }
.cc__btn--accept { border-color: transparent; background: var(--ui-primary-gradient, var(--ui-accent, #0b6f6a)); color: var(--ui-on-accent, #fff); }
.cc__btn--accept:hover { filter: brightness(1.08); }
.cc__btn:focus-visible, .cc__details summary:focus-visible, .cc__links a:focus-visible { outline: 2px solid var(--ui-accent, #0b6f6a); outline-offset: 2px; }
:root .cc .cc__links { margin: 12px 0 0; font-size: 12px; line-height: 1.5; color: var(--ui-muted, #5b6665); }
:root .cc .cc__links a { color: inherit; font-size: inherit; text-decoration: underline; }
@media (max-width: 520px) {
  .cc { left: 10px; right: 10px; bottom: 10px; width: auto; padding: 16px 16px 12px; }
  .cc__actions { grid-template-columns: 1fr; }
}
@media print { .cc { display: none; } }
/* Footer link that opens the notice again. */
.sf__legal button[data-consent-open] { padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
.sf__legal button[data-consent-open]:hover { text-decoration: underline; }
html:not(.has-js) [data-consent-open] { display: none; }
