.sentido-cookie-panel {
  position: fixed;
  inset-block-end: max(16px, env(safe-area-inset-bottom));
  inset-inline-end: max(76px, calc(env(safe-area-inset-right) + 70px));
  z-index: 90;
  box-sizing: border-box;
  width: min(360px, calc(100vw - 88px));
  padding: 18px;
  border: 1px solid #b9b2a6;
  background: #f4f1eb;
  color: #1c1b19;
  box-shadow: 0 8px 30px #1c1b1924;
  font: inherit;
  font-size: 14px;
  line-height: 1.45;
}

.sentido-cookie-panel[hidden] { display: none; }
.sentido-cookie-panel h2 { margin: 0; color: inherit; font: inherit; font-size: 17px; }
@media (max-width: 600px) {
  .sentido-cookie-panel { inset-inline-end: auto; inset-inline-start: max(16px, env(safe-area-inset-left)); }
}
.sentido-cookie-panel p { margin: 7px 0 14px; color: inherit; }
.sentido-cookie-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }

.sentido-cookie-actions button {
  min-height: 44px;
  padding: 5px;
  border: 1px solid #8b6f47;
  background: transparent;
  color: #1c1b19;
  font: inherit;
  cursor: pointer;
}

.sentido-cookie-actions button:hover { background: #1c1b19; color: #f4f1eb; }
.sentido-cookie-panel .sentido-cookie-policy { display: inline-block; margin-top: 9px; color: #1c1b19; text-decoration: underline; }
.sentido-cookie-panel :focus-visible, .sentido-cookie-settings:focus-visible { outline: 2px solid #8b6f47; outline-offset: 3px; }

.sentido-cookie-settings {
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  text-align: start;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
