.jic-legal-links {
  display: flex;
  position: relative;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.15rem;
  padding: 1.1rem 1rem;
  color: #302445;
  background: #f6f2ee;
  font: 500 0.875rem/1.5 Arial, sans-serif;
}
.jic-legal-links a { color: inherit; text-decoration: underline; text-underline-offset: .2em; }
.jic-legal-links:last-child { margin-bottom: var(--jic-footer-clearance, 0); }
.jic-consent:not([open]), .jic-consent [hidden] { display: none !important; }
.jic-consent[open] {
  position: fixed;
  inset: auto clamp(.65rem, 2vw, 1.5rem) max(.65rem, env(safe-area-inset-bottom)) auto;
  z-index: 2147483646;
  box-sizing: border-box;
  max-height: 90vh;
  width: min(33rem, calc(100vw - 1.3rem));
  max-width: none;
  overflow: auto;
  margin: 0;
  padding: 1.2rem;
  border: 1px solid #ddd3e5;
  border-radius: 1rem;
  background: #fffdf8;
  color: #252033;
  font: 400 .935rem/1.45 Arial, sans-serif;
  box-shadow: 0 12px 45px #21133238;
}
.jic-consent h2 { margin: 0 0 .5rem; color: inherit; font: 700 1.18rem/1.2 Arial, sans-serif; }
.jic-consent p { margin: .5rem 0; }
.jic-consent a { color: #553697; text-decoration: underline; }
.jic-consent-actions { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: .85rem; }
.jic-consent button {
  box-sizing: border-box;
  display: inline-block;
  min-height: 44px;
  flex: 1 1 auto;
  padding: .45rem .65rem;
  border: 1px solid #593b90;
  border-radius: .45rem;
  color: #38225f;
  background: #f0e9fb;
  font: 700 .85rem/1.3 Arial, sans-serif;
  cursor: pointer;
}
.jic-consent button:hover { background: #e6d9f7; }
.jic-consent :focus-visible, .jic-legal-links :focus-visible { outline: 2px solid #593b90; outline-offset: 3px; }
.jic-consent fieldset { padding: .55rem .75rem .75rem; margin: .85rem 0 0; border: 1px solid #ddd3e5; }
.jic-consent label { display: flex; align-items: center; gap: .55rem; min-height: 35px; cursor: pointer; }
.jic-consent input[type="checkbox"] { appearance: auto; width: 1rem; height: 1rem; margin: 0; accent-color: #593b90; }
