#oc7-cc[hidden],
.oc7-cc-trigger[hidden],
#oc7-cc button[hidden] {
    display: none !important;
}

#oc7-cc {
    position: fixed;
    z-index: 100000;
    inset: auto 1rem 1rem auto;
    width: min(37rem, calc(100% - 2rem));
    max-height: calc(100dvh - 2rem);
    overflow: auto;
    box-sizing: border-box;
    padding: 1.25rem;
    border: 1px solid #767676;
    border-top: 5px solid var(--oc7-cc-accent, #a63800);
    border-radius: .65rem;
    box-shadow: 0 8px 32px #0003;
    background: #fff;
    color: #202020;
    line-height: 1.55;
}

#oc7-cc h2 {
    color: inherit;
    font-size: 1.35rem;
    margin: 0 0 .5rem;
}

#oc7-cc p { margin: 0 0 .75rem; }
#oc7-cc a { color: #193c60; text-decoration: underline; }

.oc7-cc-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

#oc7-cc button,
button.oc7-cc-trigger {
    background: #fff;
    color: #202020;
    border: 1px solid #505050;
    border-radius: .35rem;
    padding: .55rem .8rem;
    font: inherit;
    font-weight: 600;
    min-height: 44px;
    cursor: pointer;
}

#oc7-cc button:hover,
button.oc7-cc-trigger:hover { background: #f1f1f1; color: #202020; }
#oc7-cc :focus-visible,
button.oc7-cc-trigger:focus-visible { outline: 3px solid #165ba0; outline-offset: 3px; }

#oc7-cc-open {
    position: fixed;
    z-index: 99999;
    inset: auto 1rem 1rem auto;
    box-shadow: 0 2px 10px #0002;
}

@media (max-width: 420px) {
    #oc7-cc .oc7-cc-actions > button { width: 100%; }
}
