.consent-panel[hidden], .consent-close[hidden] { display: none; }
.consent-panel {
  position: fixed;
  z-index: 2000;
  right: 20px;
  bottom: 20px;
  width: min(560px, calc(100% - 40px));
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  padding: 24px;
  background: #fbfcf8;
  color: #101511;
  border: 1px solid #65735b;
  border-top: 4px solid #b9ff2c;
  box-shadow: 0 10px 45px #0005;
  font-size: 15px;
  line-height: 1.55;
}
.consent-panel h2 { margin: 0 0 12px; font: 700 22px/1.25 Inter, Arial, sans-serif; }
.consent-panel p { margin: 0 0 16px; }
.consent-panel details { margin-bottom: 20px; }
.consent-panel summary { cursor: pointer; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.consent-panel details p { margin: 12px 0; font-size: 14px; }
.consent-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.consent-actions button {
  flex: 1 1 190px;
  padding: 13px 16px;
  border: 1px solid #101511;
  background: #b9ff2c;
  color: #101511;
  cursor: pointer;
  font: 700 14px/1.4 Inter, Arial, sans-serif;
}
.consent-actions button:hover { background: #d1ff7d; }
.consent-settings, .consent-close {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.consent-settings { margin-top: 8px; }
.consent-close { display: block; margin-top: 16px; font-size: 14px; }
.consent-panel a { text-decoration: underline; }
.consent-panel button:focus-visible, .consent-panel summary:focus-visible,
.consent-settings:focus-visible { outline: 3px solid #477100; outline-offset: 4px; }
@media (max-width: 600px) {
  .consent-panel { right: 12px; bottom: 12px; width: calc(100% - 24px); padding: 20px; max-height: calc(100dvh - 24px); }
  .consent-actions { gap: 10px; }
  .consent-actions button { flex-basis: 100%; }
}
