.cookie-banner,
.cookie-dialog {
  box-sizing: border-box;
  color: var(--ink, #181b19);
  background: var(--paper, #f8f9f7);
  border: 1px solid var(--line, #dde1da);
  box-shadow: 0 12px 60px #181b191a;
  font-family: inherit;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner {
  position: fixed;
  z-index: 100;
  right: 24px;
  bottom: 24px;
  left: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-height: calc(100dvh - 48px);
  padding: 16px 20px;
  overflow-y: auto;
}
.cookie-banner-copy { max-width: 680px; }
.cookie-eyebrow { margin: 0 0 8px; font-size: 10px; letter-spacing: .14em; color: var(--muted, #687069); }
.cookie-banner h2 { margin: 0 0 8px; font-size: 18px; line-height: 1.15; letter-spacing: -.04em; font-weight: 400; }
.cookie-banner-copy > p:last-child,
.cookie-dialog p,
.cookie-option-description { font-size: 13px; line-height: 1.65; color: var(--muted, #687069); }
.cookie-banner-copy > p:last-child { margin: 0; line-height: 1.5; }
.cookie-banner a,
.cookie-dialog-policy a { text-decoration: underline; text-underline-offset: 3px; }
.cookie-actions { display: grid; grid-template-columns: 1fr 1fr; flex-shrink: 0; gap: 8px; }
.cookie-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--ink, #181b19);
  border-radius: 0;
  background: transparent;
  color: var(--ink, #181b19);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}
.cookie-button-primary { background: var(--ink, #181b19); color: var(--paper, #f8f9f7); }
.cookie-button:hover { background: var(--soft, #edf0e9); color: var(--ink, #181b19); }
.cookie-text-button { min-height: 32px; padding: 4px; color: var(--muted, #687069); font: inherit; font-size: 12px; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.cookie-actions .cookie-text-button { grid-column: 1 / -1; }
.cookie-button:focus-visible,
.cookie-text-button:focus-visible,
.cookie-close:focus-visible,
.cookie-option input:focus-visible { outline: 2px solid var(--accent, #5446d4); outline-offset: 4px; }
.cookie-dialog { width: min(480px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 24px; overflow-y: auto; margin: auto; }
.cookie-dialog::backdrop { background: #181b1966; backdrop-filter: blur(3px); }
.cookie-dialog-heading { display: flex; justify-content: space-between; align-items: center; }
.cookie-close { display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: transparent; font-size: 28px; cursor: pointer; }
.cookie-dialog h2 { margin: 4px 0 16px; font-size: 28px; letter-spacing: -.045em; line-height: 1.1; font-weight: 400; }
.cookie-dialog-description { margin-bottom: 20px; }
.cookie-option { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line, #dde1da); }
.cookie-option h3,
.cookie-option strong { display: block; font-size: 14px; font-weight: 500; margin: 0 0 6px; }
.cookie-option p { margin: 0; }
.cookie-option-description { display: block; }
.cookie-option input { width: 20px; height: 20px; flex-shrink: 0; accent-color: var(--accent, #5446d4); cursor: pointer; }
.cookie-required { flex-shrink: 0; font-size: 11px; color: var(--muted, #687069); }
.cookie-dialog-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.cookie-settings { color: inherit; padding: 0; font-size: inherit; text-align: left; }
.cookie-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 800px) {
  .cookie-banner { right: 12px; bottom: 12px; left: 12px; max-height: calc(100dvh - 24px); flex-direction: column; align-items: stretch; gap: 12px; padding: 16px; }
  .cookie-actions { flex-shrink: 1; }
  .cookie-dialog { padding: 20px; }
  .cookie-dialog h2 { font-size: 26px; }
}
@media (max-width: 380px) {
  .cookie-actions { grid-template-columns: 1fr; }
  .cookie-dialog-actions { flex-direction: column; }
}
