/* The fixed bar stays one row wide when the controls fit. */
.jatco-cookie-choices {
 position: fixed;
 z-index: 100;
 inset-inline: 0;
 bottom: 0;
 display: flex;
 flex-wrap: wrap;
 align-items: center;
 gap: 0 1rem;
 box-sizing: border-box;
 width: 100%;
 padding: .25rem max(1.25rem, env(safe-area-inset-right)) max(.25rem, env(safe-area-inset-bottom)) max(1.25rem, env(safe-area-inset-left));
 max-height: 90vh;
 max-height: 90dvh;
 overflow-y: auto;
 background: #fff;
 color: #182534;
 border-top: 1px solid #cbd5e1;
 box-shadow: 0 -2px 12px #18253414;
 font: inherit;
 font-size: 1rem;
 line-height: 1.3;
 text-align: start;
}
.jatco-cookie-choices[hidden],
.jatco-cookie-choices [hidden],
.jatco-privacy-choices[hidden] { display: none !important; }
.jatco-cookie-choices .jatco-cookie-prompt { margin: 0; padding: 0; font: inherit; }
.jatco-cookie-actions, .jatco-cookie-links, #jatco-cookie-options {
 display: flex;
 flex-wrap: wrap;
 align-items: center;
 gap: 0 .4rem;
}
.jatco-cookie-links { margin-inline-start: auto; gap: 0 .75rem; }
.jatco-cookie-choices button, .jatco-cookie-choices a, .jatco-privacy-choices {
 box-sizing: border-box;
 display: inline-flex;
 align-items: center;
 justify-content: center;
 min-height: 44px;
 font: inherit;
 font-size: .9375rem;
 line-height: 1.2;
 cursor: pointer;
}
.jatco-cookie-actions button {
 padding: .25rem .875rem;
 border: 1px solid #0b549d;
 border-radius: 6px;
 background: #fff;
 color: #0b4c89;
 font-weight: 600;
}
.jatco-cookie-actions button:hover, .jatco-privacy-choices:hover { background: #edf5fc; }
.jatco-cookie-links button, .jatco-cookie-links a {
 padding: .125rem .1875rem;
 border: 0;
 background: transparent;
 color: #0b4c89;
 font-weight: 500;
 text-decoration: underline;
 text-underline-offset: .18em;
}
.jatco-cookie-links :is(a,button):hover { color: #152839; }
.jatco-cookie-choices :focus-visible, .jatco-privacy-choices:focus-visible {
 outline: 2px solid #0b549d; outline-offset: 2px;
}
#jatco-cookie-options label { display: inline-flex; align-items: center; gap: .4rem; margin: 0; min-height: 44px; }
#jatco-cookie-options input { width: 1.1rem; height: 1.1rem; accent-color: #0b549d; }
.jatco-cookie-choices:has(#jatco-cookie-options:not([hidden])) .jatco-cookie-prompt { display: none; }
.jatco-privacy-choices {
 position: fixed;
 z-index: 90;
 bottom: max(.625rem, env(safe-area-inset-bottom));
 left: max(.625rem, env(safe-area-inset-left));
 padding: .25rem .75rem;
 border: 1px solid #0b549d;
 border-radius: 6px;
 background: #fff;
 color: #0b4c89;
}
.jatco-privacy-dock { position: relative; }
.jatco-privacy-dock > .jatco-privacy-choices.is-docked {
 position: absolute;
 left: 0;
 bottom: calc(100% - .25rem);
 margin: 0;
}
@media (max-width: 48rem) {
 .jatco-cookie-choices {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0 .4rem;
  padding: .25rem max(.65rem, env(safe-area-inset-right)) max(.25rem, env(safe-area-inset-bottom)) max(.65rem, env(safe-area-inset-left));
  font-size: .9375rem;
 }
 .jatco-cookie-prompt, #jatco-cookie-options { grid-column: 1 / -1; }
 .jatco-cookie-actions { grid-column: 1; }
 .jatco-cookie-links { grid-column: 2; justify-content: end; gap: 0 .35rem; }
 .jatco-cookie-actions button { padding-inline: .55rem; }
 .jatco-cookie-links :is(button,a) { font-size: .875rem; }
}
@media (max-width: 20rem) {
 .jatco-cookie-choices { display: flex; gap: 0 .3rem; }
 .jatco-cookie-prompt, #jatco-cookie-options { flex-basis: 100%; }
}
