.aw-consent {
    position: fixed;
    inset: auto 18px 18px;
    z-index: 99999;
    width: min(100% - 36px, 980px);
    margin: auto;
    border: 1px solid #d9e0e8;
    border-radius: 6px;
    background: #fff;
    color: #223044;
    box-shadow: 0 18px 55px rgb(15 23 42 / 20%);
    padding: 20px;
    font: 14px/1.5 Inter, Roboto, "Segoe UI", system-ui, sans-serif;
}
.aw-consent[hidden] { display: none; }
.aw-consent-kicker {
    display: block;
    margin-bottom: 4px;
    color: #2877c7;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.aw-consent h2 { margin: 0 0 6px; font-size: 19px; line-height: 1.25; }
.aw-consent p { max-width: 72ch; margin: 0 0 15px; color: #627186; }
.aw-consent-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.aw-consent button {
    min-height: 38px;
    border: 1px solid #cbd4df;
    border-radius: 4px;
    background: #fff;
    color: #28384a;
    padding: 0 13px;
    cursor: pointer;
    font: inherit;
    font-weight: 600;
}
.aw-consent button:hover { background: #f6f8fa; }
.aw-consent .primary { border-color: #2877c7; background: #2877c7; color: #fff; }
.aw-consent .primary:hover { background: #1f5e9f; }
.aw-consent-categories {
    display: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 15px 0;
    border-top: 1px solid #e5eaf0;
    padding-top: 14px;
}
.aw-consent.open .aw-consent-categories { display: grid; }
.aw-consent-cat {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    border: 1px solid #e1e7ee;
    border-radius: 4px;
    background: #fafbfd;
    padding: 11px;
}
.aw-consent-cat input { margin-top: 3px; }
.aw-consent-cat strong { display: block; }
.aw-consent-cat small { display: block; margin-top: 2px; color: #68778b; }
.aw-consent-link { margin-left: auto; color: #3b5f86; font-size: 12px; font-weight: 600; }

@media (max-width: 680px) {
    .aw-consent { inset: auto 8px 8px; width: auto; max-height: calc(100vh - 16px); overflow-y: auto; padding: 16px; }
    .aw-consent.open .aw-consent-categories { grid-template-columns: 1fr; }
    .aw-consent-actions button { flex: 1 1 calc(50% - 8px); }
    .aw-consent-link { width: 100%; margin: 4px 0 0; text-align: center; }
}
