#learn-cookie-panel {
  position: fixed;
  z-index: 80;
  inset: auto 16px 16px;
  width: min(420px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  overflow: auto;
  padding: 16px 20px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--cyan);
  border-radius: 12px;
  box-shadow: 0 8px 32px #07192522;
  font-size: 14px;
  line-height: 1.5;
}

#learn-cookie-panel h2 {
  margin: 0 0 6px;
  font-size: 18px;
}

#learn-cookie-panel p {
  margin: 0 0 10px;
}

.learn-cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.learn-cookie-actions button {
  flex: 1;
  min-height: 44px;
  padding: 6px 12px;
  border: 1px solid var(--cyan);
  border-radius: 6px;
  background: #fff;
  color: var(--navy);
  cursor: pointer;
  font: inherit;
  font-weight: 650;
}

#learn-cookie-panel details {
  margin-top: 10px;
}

#learn-cookie-panel summary,
[data-learn-consent] {
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

[data-learn-consent] {
  min-height: 44px;
  padding: 0;
  background: none;
  border: 0;
  color: inherit;
  font: inherit;
}
