#cookie-consent {
  box-sizing: border-box;
  position: fixed;
  inset: auto 12px 12px auto;
  z-index: 101;
  margin: 0;
  width: min(480px, calc(100% - 24px));
  max-height: calc(100dvh - 24px);
  overflow: auto;
  padding: 12px;
  border: 1px solid #20291f;
  background: #f6f4ed;
  color: #20291f;
  font: 14px/1.4 "Helvetica Neue", Helvetica, Arial, sans-serif;
  box-shadow: 0 4px 20px #20291f26;
}
#cookie-consent[hidden], #cookie-consent [hidden], .consent-settings[hidden] { display: none; }
#cookie-consent h2 {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
#cookie-consent p { margin: 0 0 10px; color: #20291f; }
#cookie-consent .consent-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
#cookie-consent button, .consent-settings {
  box-sizing: border-box;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #20291f;
  border-radius: 0;
  background: #f6f4ed;
  color: #20291f;
  font: 500 14px/1.4 "Helvetica Neue", Helvetica, Arial, sans-serif;
  cursor: pointer;
}
#cookie-consent .consent-actions button { background: #d8ef67; }
#cookie-consent .consent-close { margin-top: 8px; }
.consent-settings { position: fixed; bottom: 8px; left: 8px; z-index: 100; padding: 8px 10px; font-size: 12px; box-shadow: 0 2px 10px #20291f1a; }
#cookie-consent button:hover, .consent-settings:hover { background: #eceee3; }
#cookie-consent button:focus-visible, .consent-settings:focus-visible { outline: 3px solid #20291f; outline-offset: 3px; }
