#ekds-consent [hidden],
#eko-quick-menu .ekds-consent-menu-open[hidden],
[data-ekds-consent-resource][hidden],
.ekds-consent-placeholder[hidden] {
    display: none !important;
}

#ekds-consent {
    color: #172b37;
    font: inherit;
}

#ekds-consent button,
.ekds-consent-placeholder button {
    min-height: 44px;
    padding: .45em .8em;
    border: 1px solid #00758c;
    border-radius: 4px;
    background: #fff;
    color: #00596c;
    font: inherit;
    cursor: pointer;
}

#ekds-consent button:hover,
.ekds-consent-placeholder button:hover {
    background: #edf7f9;
}

#ekds-consent :focus-visible,
.ekds-consent-placeholder :focus-visible {
    outline: 2px solid #006782;
    outline-offset: 3px;
}

.ekds-consent-open {
    position: fixed;
    z-index: 10001;
    bottom: max(.75rem, env(safe-area-inset-bottom));
    left: max(.75rem, env(safe-area-inset-left));
}

#eko-quick-menu .ekds-consent-menu-open {
    box-sizing: border-box;
    width: 100%;
    min-height: 44px;
    padding: .5em .8em;
    border: 1px solid #afcbd4;
    border-radius: 4px;
    background: #fff;
    color: inherit;
    font: inherit;
    font-weight: 650;
    text-align: start;
    cursor: pointer;
}

#eko-quick-menu .ekds-consent-menu-open:hover {
    background: #edf7f9;
}

#eko-quick-menu .ekds-consent-menu-open:focus-visible {
    outline: 2px solid #006782;
    outline-offset: 2px;
}

#ekds-consent-panel {
    position: fixed;
    z-index: 10002;
    inset: 50% auto auto 50%;
    transform: translate(-50%, -50%);
    box-sizing: border-box;
    width: min(38rem, calc(100vw - 1.5rem));
    max-height: min(33rem, calc(100dvh - 1.5rem));
    overflow: auto;
    padding: 1rem;
    border: 1px solid #00bdd9;
    border-radius: 6px;
    background: rgb(255 255 255 / 80%);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 24px #14242a30;
    color: #172b37;
    text-align: start;
}

#ekds-consent-panel h2 {
    margin: 0;
    color: inherit;
    font-size: 1.18rem;
}

#ekds-consent-panel p {
    margin: .5em 0;
}

#ekds-consent-panel label {
    display: block;
    margin-block: .5em;
}

.ekds-consent-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin-block: .65rem;
}

#ekds-consent #ekds-consent-panel > a,
#ekds-consent #ekds-consent-privacy a[href] {
    color: #0653a5;
    text-decoration: underline;
    text-underline-offset: .14em;
}

#ekds-consent #ekds-consent-panel button[data-consent-choice="all"] {
    border-color: #006b78;
    background: #006b78;
    color: #fff;
}

#ekds-consent #ekds-consent-panel button[data-consent-choice="all"]:hover {
    border-color: #005865;
    background: #005865;
}

#ekds-consent-privacy {
    position: fixed;
    inset: 0;
    box-sizing: border-box;
    width: min(46rem, calc(100vw - 1.5rem));
    height: min(44rem, calc(100dvh - 1.5rem));
    margin: auto;
    padding: 0;
    overflow: hidden;
    border: 1px solid #00bdd9;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 42px rgb(20 36 42 / 30%);
    color: #172b37;
}

#ekds-consent-privacy[open] {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
}

#ekds-consent-privacy::backdrop {
    background: rgb(14 32 39 / 30%);
}

#ekds-consent-privacy > header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: .8rem 1rem;
    border-bottom: 1px solid #c2dde2;
}

#ekds-consent-privacy-title {
    margin: 0;
    color: inherit;
    font-size: clamp(1.05rem, 4vw, 1.35rem);
}

.ekds-consent-privacy-text {
    overflow: auto;
    overscroll-behavior: contain;
    padding: .9rem 1rem;
    line-height: 1.55;
}

.ekds-consent-privacy-text h2 {
    font-size: 1.12rem;
}

.ekds-consent-privacy-text h3 {
    font-size: 1.03rem;
}

#ekds-consent .ekds-consent-close {
    margin-inline-start: .6rem;
    border-color: transparent;
    text-decoration: underline;
}

.ekds-consent-placeholder {
    padding: .8rem;
    border: 1px solid #c2dde2;
    background: #f0f7f8;
}

.ekds-consent-placeholder p {
    margin-block: 0 .5rem;
}
