#sh-cookie-panel, #sh-cookie-panel *, #sh-cookie-settings { box-sizing: border-box; }
#sh-cookie-panel[hidden], #sh-cookie-panel [hidden] { display: none !important; }
#sh-cookie-panel {
    position: fixed;
    z-index: 10000;
    inset: auto 0 0;
    max-height: 75vh;
    max-height: 75dvh;
    overflow: auto;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    border-top: 3px solid #7fa667;
    color: #f5f8fb;
    background: #182c45;
    box-shadow: 0 -6px 24px #10233a34;
    font: 14px/1.5 system-ui, -apple-system, sans-serif;
}
.sh-cookie-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 15px 28px;
    width: min(100%, 1200px);
    padding: 16px 24px;
    margin-inline: auto;
}
#sh-cookie-panel h2 {
    color: #fff;
    font: 700 19px/1.25 system-ui, -apple-system, sans-serif;
    margin: 0 0 5px;
}
#sh-cookie-panel p {
    margin: 0;
    color: #e0e9f0;
    font: inherit;
}
#sh-cookie-panel a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.sh-cookie-actions { display: flex; gap: 9px; }
#sh-cookie-panel button {
    min-height: 44px;
    padding: 8px 14px;
    background: #f5f8fb;
    border: 1px solid #b7c8d7;
    border-radius: 6px;
    color: #172c44;
    font: 650 14px/1.25 system-ui, -apple-system, sans-serif;
}
#sh-cookie-panel button:hover { background: #dfeaf1; }
#sh-cookie-panel :focus-visible, #sh-cookie-settings:focus-visible {
    outline: 2px solid #8fc078;
    outline-offset: 3px;
}
#sh-cookie-panel [role=status] { grid-column: 1 / -1; }
footer #sh-cookie-settings {
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}
@media (max-width: 760px) {
    .sh-cookie-inner { grid-template-columns: 1fr; gap: 10px; padding: 12px 16px 14px; }
    .sh-cookie-actions button { flex: 1; }
}
