/* Optional analytics controls. Both decisions have identical prominence. */
[data-consent-open] {
  appearance: none;
  background: transparent;
  border: 0;
  color: inherit;
  font: inherit;
  line-height: inherit;
  text-align: start;
  text-decoration: underline;
  text-underline-offset: .18em;
  min-height: 44px;
  cursor: pointer;
}
.ub24-consent-panel {
  position: fixed;
  z-index: 10000;
  right: 1rem;
  bottom: 1rem;
  width: min(42rem, calc(100% - 2rem));
  max-height: calc(100dvh - 2rem);
  overflow-y: auto;
  border: 2px solid var(--petrol, #0e3a3d);
  border-radius: 20px;
  padding: clamp(20px, 4vw, 30px);
  background: var(--bg, #f7f6f1);
  color: var(--ink, #122b2d);
  font-family: var(--font-body, sans-serif);
  font-size: 1rem;
  line-height: 1.55;
  box-shadow: 0 12px 60px rgba(14, 58, 61, .22);
}
.ub24-consent-panel[hidden] { display: none !important; }
.ub24-consent-panel h2 { font-size: 1.5rem; line-height: 1.2; margin: 0 0 .8rem; }
.ub24-consent-panel p { margin: 0 0 .8rem; }
.ub24-consent-details { display: inline-block; margin: .1rem 0 .8rem; color: var(--petrol, #0e3a3d); }
.ub24-consent-status { font-size: .95rem; font-weight: 600; }
.ub24-consent-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.ub24-consent-action {
  appearance: none;
  border: 2px solid var(--petrol, #0e3a3d);
  border-radius: 999px;
  padding: .8rem 1rem;
  min-height: 48px;
  background: var(--petrol, #0e3a3d);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.ub24-consent-action:hover { background: var(--petrol-2, #16494d); border-color: var(--petrol-2, #16494d); }
.ub24-consent-close { display: block; margin: .65rem auto 0; padding: .45rem .8rem; min-height: 44px; border: 0; background: transparent; color: var(--petrol, #0e3a3d); font: inherit; text-decoration: underline; cursor: pointer; }
[data-consent-open]:focus-visible, .ub24-consent-panel button:focus-visible, .ub24-consent-panel a:focus-visible { outline: 3px solid var(--coral, #e85a33); outline-offset: 4px; }
@media (max-width: 420px) { .ub24-consent-actions { grid-template-columns: 1fr; } }
