.qpl-consent, .qpl-consent-modal, .qpl-consent-policy { font-family: inherit; font-size: 0.9375rem; line-height: 1.6; }
.qpl-consent *, .qpl-consent-modal *, .qpl-consent-policy * { box-sizing: border-box; }
.qpl-consent[hidden], .qpl-consent-modal[hidden], .qpl-consent:not([open]), .qpl-consent-modal:not([open]) { display: none !important; }
.qpl-consent::backdrop, .qpl-consent-modal::backdrop { background: rgb(6 12 26 / 62%); }
.qpl-consent {
    position: fixed; inset: 0; z-index: 100000;
    width: min(42rem, calc(100% - 2rem)); max-height: calc(100dvh - 2rem); overflow: auto; overscroll-behavior: contain; margin: auto;
    display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem;
    padding: 1.75rem; border: 1px solid #d1d5db; border-top: 4px solid #6054ff; border-radius: 0.9rem;
    background: #fff; color: #182132; box-shadow: 0 8px 36px rgb(17 24 39 / 18%);
}
.qpl-consent h2, .qpl-consent-modal h2 { margin: 0 0 0.65rem; color: #111827; font-size: 1.4rem; line-height: 1.3; font-weight: 700; }
.qpl-consent p, .qpl-consent-modal p { margin: 0 0 0.75rem; }
.qpl-consent .qpl-consent-eyebrow { color: #4338ca; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 0.35rem; }
.qpl-consent a { color: #3730a3; text-decoration: underline; text-underline-offset: 0.18em; }
.qpl-consent-actions { display: flex; flex-wrap: wrap; align-content: center; gap: 0.65rem; }
.qpl-consent > .qpl-consent-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.qpl-consent > .qpl-consent-actions > [data-qpl-choice="accept"] { grid-column: 1 / -1; }
.qpl-consent-actions button {
    flex: 1 1 9rem; min-height: 2.9rem; padding: 0.65rem 0.85rem;
    border: 1px solid #4f46e5; border-radius: 0.45rem; background: #fff; color: #3730a3;
    font: inherit; font-weight: 650; line-height: 1.35; cursor: pointer;
}
.qpl-consent-actions button:hover { background: #eef2ff; border-color: #3730a3; }
.qpl-consent-actions button[data-qpl-choice="accept"] { background: #6054ff; border-color: #6054ff; color: #fff; }
.qpl-consent-actions button[data-qpl-choice="accept"]:hover { background: #4c40db; border-color: #4c40db; }
.qpl-consent button:focus-visible, .qpl-consent a:focus-visible,
.qpl-consent-modal button:focus-visible, .qpl-consent-modal input:focus-visible,
.qpl-consent-policy button:focus-visible { outline: 3px solid #818cf8; outline-offset: 3px; }
#qpl-consent-status { grid-column: 1 / -1; margin: 0; font-size: 0.85rem; }
#qpl-consent-status:empty, #qpl-consent-dialog-status:empty { display: none; }
.qpl-consent-modal { position: fixed; inset: 0; z-index: 100010; width: min(37rem, calc(100% - 2rem)); max-height: calc(100dvh - 2rem); margin: auto; border: 0; padding: 0; overflow: auto; overscroll-behavior: contain; border-radius: 0.75rem; background: #fff; color: #182132; box-shadow: 0 12px 40px rgb(0 0 0 / 20%); }
.qpl-consent-panel { padding: 1.65rem; }
.qpl-consent-option { display: flex; align-items: flex-start; gap: 0.8rem; padding: 1rem 0; border-top: 1px solid #e5e7eb; cursor: pointer; }
.qpl-consent-option input { width: 1.2rem; height: 1.2rem; margin-top: 0.25rem; flex: 0 0 auto; accent-color: #4f46e5; }
.qpl-consent-option strong, .qpl-consent-option small { display: block; }
.qpl-consent-option small { color: #4b5563; font-size: 0.85rem; }
.qpl-consent-policy { margin-top: 1.25rem; }
.qpl-consent-policy button { min-height: 2.75rem; padding: 0.65rem 1rem; border: 1px solid #6054ff; border-radius: 0.45rem; background: #6054ff; color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.qpl-consent-policy button:hover { background: #4c40db; border-color: #4c40db; }
.qpl-consent-policy noscript { display: block; }
#qpl-consent-dialog-status { margin: 1rem 0 0; font-size: 0.85rem; }
@media (max-width: 760px) {
    .qpl-consent, .qpl-consent-modal { width: calc(100% - 1rem); max-height: calc(100dvh - 1rem); }
    .qpl-consent { gap: 1rem; padding: 1.1rem; }
    .qpl-consent-actions button { flex-basis: 8rem; }
    .qpl-consent-panel { padding: 1.1rem; }
}
@media (forced-colors: active) { .qpl-consent, .qpl-consent-panel { border: 2px solid CanvasText; } }
