.legal-footer {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding: 16px 12px;
  font: 400 0.8125rem/1.5 var(--sans, sans-serif);
  color: var(--muted, #6d756a);
}
.legal-footer a,
.legal-footer button {
  color: inherit;
}
.legal-footer button {
  font: inherit;
  border: 0;
  background: transparent;
  text-decoration: underline;
  padding: 0;
  cursor: pointer;
}
.cookie-banner,
.cookie-dialog {
  font: 400 0.9375rem/1.5 var(--sans, sans-serif);
  color: var(--ink, #253e32);
  background: var(--surface, #fffefa);
  border: 1px solid var(--line, #dedfd4);
  border-radius: 12px;
  box-shadow: 0 8px 32px #0002;
  box-sizing: border-box;
}
.cookie-banner[hidden] {
  display: none;
}
.cookie-banner {
  position: fixed;
  z-index: 80;
  bottom: 12px;
  left: 12px;
  right: 12px;
  max-width: 960px;
  margin: auto;
  padding: 16px 20px;
  max-height: 70dvh;
  overflow-y: auto;
}
.cookie-banner h2,
.cookie-dialog h2 {
  font: 600 1.125rem/1.4 var(--sans, sans-serif);
  margin: 0;
}
.cookie-banner p {
  margin: 6px 0 14px;
}
.cookie-banner a,
.cookie-dialog a,
.cookie-noscript a {
  color: inherit;
  text-decoration: underline;
}
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cookie-actions button,
.cookie-dialog-top button {
  font: inherit;
  color: var(--ink, #253e32);
  background: var(--soft, #e9eddf);
  border: 1px solid var(--line, #dedfd4);
  border-radius: 8px;
  padding: 10px 14px;
  min-height: 44px;
  cursor: pointer;
}
.cookie-actions button:focus-visible,
.legal-footer :focus-visible,
.cookie-dialog :focus-visible {
  outline: 2px solid var(--ink, #253e32);
  outline-offset: 3px;
}
.cookie-dialog {
  width: min(560px, calc(100vw - 24px));
  max-height: calc(100dvh - 24px);
  padding: 20px;
  overflow-y: auto;
}
.cookie-dialog::backdrop {
  background: #253e3266;
  backdrop-filter: blur(3px);
}
.cookie-dialog-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.cookie-category {
  display: flex;
  gap: 14px;
  align-items: start;
  border-top: 1px solid var(--line, #dedfd4);
  padding: 14px 0;
}
section.cookie-category {
  display: block;
}
.cookie-category h3 {
  font: 600 1rem/1.4 var(--sans, sans-serif);
  margin: 0;
}
.cookie-category p {
  margin: 6px 0;
}
.cookie-category span {
  display: block;
}
.cookie-category > span {
  flex: 1;
  min-width: 0;
}
.cookie-category strong + span {
  margin-top: 6px;
}
.cookie-category input {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin: 0;
  accent-color: var(--green, #2d513f);
}
.cookie-noscript {
  margin: 16px;
  font: 400 0.8125rem/1.5 var(--sans, sans-serif);
}
.privacy-content h2 {
  font-size: 1.25rem;
  margin-top: 28px;
}
.privacy-content a {
  color: inherit;
}
.privacy-content table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.875rem;
}
.privacy-content th,
.privacy-content td {
  text-align: left;
  vertical-align: top;
  padding: 10px 8px;
  border-bottom: 1px solid var(--line, #dedfd4);
  overflow-wrap: anywhere;
}
.cookie-table-scroll {
  overflow-x: auto;
}
@media (max-width: 480px) {
  .cookie-banner {
    padding: 14px;
  }
  .cookie-actions button {
    flex: 1 1 140px;
  }
}

.cookie-dialog-top button {
  width: 44px;
  padding: 0;
  font-size: 1.25rem;
}
