.drych-consent-panel {
    align-items: end;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 16px;
    bottom: 18px;
    box-shadow: 0 22px 70px rgb(2 6 23 / 28%);
    color: #0f172a;
    display: grid;
    font-family: Figtree, ui-sans-serif, system-ui, sans-serif;
    gap: 24px;
    grid-template-columns: minmax(0, 1fr) auto;
    left: 50%;
    margin: 0;
    max-width: 900px;
    padding: 24px;
    position: fixed;
    transform: translateX(-50%);
    width: calc(100% - 36px);
    z-index: 2147483646;
}

.drych-consent-panel[hidden] {
    display: none !important;
}

.drych-consent-copy h2 {
    color: #0f172a;
    font-family: Figtree, ui-sans-serif, system-ui, sans-serif;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin: 3px 0 8px;
}

.drych-consent-copy > p:not(.drych-consent-kicker),
.drych-consent-copy details p {
    color: #475569;
    font-size: 13px;
    line-height: 1.55;
    margin: 0;
    max-width: 650px;
}

.drych-consent-kicker {
    color: #0f766e;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.12em;
    margin: 0;
    text-transform: uppercase;
}

.drych-consent-copy details {
    margin-top: 10px;
}

.drych-consent-copy summary {
    color: #0f766e;
    cursor: pointer;
    font-size: 12px;
    font-weight: 800;
}

.drych-consent-copy details p {
    margin-top: 8px;
}

.drych-consent-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 210px;
}

.drych-consent-actions button {
    border-radius: 8px;
    cursor: pointer;
    font-family: Figtree, ui-sans-serif, system-ui, sans-serif;
    font-size: 12px;
    font-weight: 800;
    min-height: 42px;
    padding: 10px 16px;
}

.drych-consent-accept {
    background: #0f766e;
    border: 1px solid #0f766e;
    color: #ffffff;
}

.drych-consent-reject {
    background: #ffffff;
    border: 1px solid #94a3b8;
    color: #0f172a;
}

.drych-consent-actions button:focus-visible,
.drych-cookie-settings-footer:focus-visible {
    outline: 3px solid #2dd4bf;
    outline-offset: 2px;
}

.drych-cookie-settings-footer {
    background: transparent;
    border: 0;
    color: #94a3b8;
    cursor: pointer;
    display: block;
    font-family: Figtree, ui-sans-serif, system-ui, sans-serif;
    font-size: 12px;
    margin: 20px auto 0;
    padding: 5px;
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (max-width: 640px) {
    .drych-consent-panel {
        align-items: stretch;
        bottom: 10px;
        gap: 18px;
        grid-template-columns: 1fr;
        max-height: calc(100vh - 20px);
        overflow-y: auto;
        padding: 20px;
        width: calc(100% - 20px);
    }

    .drych-consent-actions {
        min-width: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .drych-consent-panel {
        scroll-behavior: auto;
    }
}
