/* Endocore 17eea72. Selectors scoped for HTML without Astro. */
#privacy-preferences :is(h2, p, summary, a) { font-family: inherit; }
#privacy-preferences h2 { color: inherit; }
#privacy-preferences {
    box-sizing: border-box;
    inline-size: min(38rem, calc(100% - 2rem));
    max-block-size: calc(100dvh - 2rem);
    margin: auto;
    padding: 0;
    border: 0;
    border-radius: 1rem;
    color: #152339;
    background: #fff;
    font: 1rem/1.5 system-ui, sans-serif;
    box-shadow: 0 22px 82px rgb(0 20 35 / 34%);
  }
#privacy-preferences:modal { overscroll-behavior: contain; }
#privacy-preferences::backdrop { background: rgb(13 21 35 / 68%); overflow: hidden; overscroll-behavior: contain; }
#privacy-preferences form { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; max-block-size: calc(100dvh - 2rem); margin: 0; }
#privacy-preferences .head, #privacy-preferences .body, #privacy-preferences .foot { padding-inline: clamp(1rem, 4.5vw, 2rem); }
#privacy-preferences .head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-block: 1rem .6rem; }
#privacy-preferences .body { overflow-y: auto; overscroll-behavior: contain; padding-block: .25rem .4rem; }
#privacy-preferences .foot { padding-block: .8rem 1rem; }
#privacy-preferences h2, #privacy-preferences p { margin: 0; }
#privacy-preferences h2 { font-size: clamp(1.55rem, 5vw, 2.15rem); line-height: 1.2; font-weight: 760; }
#privacy-preferences h2:focus { outline: none; }
#privacy-preferences #consent-intro { margin-block: .7rem .45rem; color: #3b4755; font-size: .95rem; line-height: 1.6; }
#privacy-preferences .logo { display: block; max-inline-size: min(11rem, 68%); max-block-size: 3rem; object-fit: contain; object-position: left center; }
#privacy-preferences .brand { color: var(--consent-accent); font-weight: 760; }
#privacy-preferences button {
    min-block-size: 44px;
    padding: .55rem .7rem;
    border: 1px solid #8994a5;
    border-radius: .45rem;
    background: #fff;
    color: #152339;
    font: 690 .9rem/1.25 system-ui, sans-serif;
    white-space: normal;
    cursor: pointer;
  }
#privacy-preferences button.primary { color: #fff; background: var(--consent-accent); border-color: var(--consent-accent); }
#privacy-preferences .close { min-inline-size: 44px; border: 0; font-size: 1.45rem; }
#privacy-preferences button:hover, #privacy-preferences .actions [data-configure], #privacy-preferences .actions [data-save] { background: #f1f4f6; }
#privacy-preferences button.primary:hover { background: color-mix(in srgb, var(--consent-accent) 91%, #000); }
#privacy-preferences .options { display: grid; gap: .55rem; margin-block: .8rem 0; }
#privacy-preferences .purpose {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    border: 1px solid #dce2e9;
    border-radius: .45rem;
    padding-inline: .75rem .45rem;
    background: #f5f7f9;
  }
#privacy-preferences summary { display: flex; align-items: center; gap: .55rem; min-block-size: 44px; list-style: none; font-size: .91rem; font-weight: 680; cursor: pointer; }
#privacy-preferences summary::-webkit-details-marker { display: none; }
#privacy-preferences summary::before {
    content: '';
    inline-size: .45rem;
    block-size: .45rem;
    flex: none;
    border: solid currentColor;
    border-width: 0 2px 2px 0;
    rotate: -45deg;
  }
#privacy-preferences details[open] > summary::before { rotate: 45deg; }
#privacy-preferences details p { padding: 0 .2rem .7rem 1rem; color: #3b4755; font-size: .84rem; }
#privacy-preferences .always-on { display: grid; align-items: center; min-block-size: 44px; padding-inline: .35rem; color: #31534a; font-size: .77rem; font-weight: 720; }
#privacy-preferences .switch { position: relative; display: grid; place-items: center; min-inline-size: 48px; min-block-size: 44px; }
#privacy-preferences .switch input { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; opacity: 0; margin: 0; cursor: pointer; }
#privacy-preferences .switch span { pointer-events: none; inline-size: 2.46rem; block-size: 1.38rem; border: 1px solid #647486; border-radius: 99px; background: #dce2e9; }
#privacy-preferences .switch span::before { content: ''; display: block; inline-size: 1rem; block-size: 1rem; margin: .12rem; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px #10233940; }
#privacy-preferences .switch input:checked + span { background: var(--consent-accent); border-color: var(--consent-accent); }
#privacy-preferences .switch input:checked + span::before { transform: translateX(1.05rem); }
#privacy-preferences .switch input:focus-visible + span, #privacy-preferences :is(button, summary, a):focus-visible { outline: 2px solid var(--consent-accent, #312783); outline-offset: 3px; }
#privacy-preferences .actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .55rem; }
#privacy-preferences .policies { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 1rem; margin-top: .55rem; }
#privacy-preferences .policies a { display: inline-flex; align-items: center; min-block-size: 34px; color: var(--consent-accent); font-size: .83rem; text-decoration: underline; text-underline-offset: .16em; }
#privacy-preferences [hidden], #privacy-preferences .reopen [hidden] { display: none !important; }
@media (max-width: 380px) {
#privacy-preferences .actions { grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr) minmax(0, 1fr); gap: .35rem; }
#privacy-preferences .actions button { padding-inline: .25rem; font-size: .79rem; overflow-wrap: anywhere; }
}
