.phc-consent__backdrop {
    position: fixed;
    inset: 0;
    z-index: 9998;
    background: rgba(21, 23, 27, .32);
}

.phc-consent__banner,
.phc-consent__panel {
    position: fixed;
    z-index: 9999;
    box-sizing: border-box;
    width: min(100% - 32px, 640px);
    max-height: calc(100vh - 32px);
    overflow: auto;
    padding: 24px;
    border: 1px solid var(--phc-color-border, #d9c7a5);
    border-radius: var(--phc-radius-md, 16px);
    background: var(--phc-color-surface, #fffaf0);
    color: var(--phc-color-text, #29231f);
    box-shadow: 0 18px 60px rgba(35, 25, 15, .2);
}

.phc-consent__banner { right: 16px; bottom: 16px; }
.phc-consent__panel { top: 50%; left: 50%; width: min(calc(100% - 32px), 1100px); transform: translate(-50%, -50%); }
.phc-consent__banner h2, .phc-consent__panel h2 { margin: 0 0 12px; font-size: 1.25rem; }
.phc-consent__banner p, .phc-consent__panel p { margin: 0 0 16px; line-height: 1.5; }
.phc-consent__links { margin-bottom: 16px; font-size: .875rem; }
.phc-consent__links a { color: inherit; text-decoration: underline; }
.phc-consent__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.phc-consent__actions button, .phc-consent__persistent { border: 0; border-radius: 999px; padding: 10px 16px; cursor: pointer; font: inherit; background: var(--phc-color-accent, #f47b20); color: #fff; }
.phc-consent__actions button.is-secondary { background: transparent; color: inherit; border: 1px solid currentColor; }
.phc-consent__actions button:focus-visible, .phc-consent__close:focus-visible, .phc-consent__persistent:focus-visible, .phc-consent__category input:focus-visible { outline: 3px solid #1d6fd5; outline-offset: 3px; }
.phc-consent__category-list { display: grid; gap: 12px; margin: 20px 0; }
.phc-consent__category { display: flex; gap: 10px; align-items: flex-start; }
.phc-consent__category input { margin-top: 4px; }
.phc-consent__category span { display: grid; gap: 3px; }
.phc-consent__category small { line-height: 1.4; }
.phc-consent__close { position: absolute; top: 14px; right: 14px; border: 0; background: transparent; font-size: 1.5rem; cursor: pointer; }
.phc-consent__persistent { position: fixed; right: 16px; bottom: 16px; z-index: 9997; font-size: .8125rem; }
.phc-consent__category input:disabled { opacity: .7; }
.phc-consent__banner button, .phc-consent__panel button { min-height: 44px; }
.phc-consent__required { display: grid; min-width: 0; gap: 8px; margin: 20px 0; padding: 14px; border: 1px solid var(--phc-color-border, #d9c7a5); border-radius: 10px; }
.phc-consent__required > span { font-weight: 600; }
.phc-consent__required p { margin: 0; font-size: .9rem; }
.phc-consent__technology-table { min-width: 0; max-width: 100%; overflow-x: auto; }
.phc-consent__technology-table table { width: 100%; border-collapse: collapse; font-size: .82rem; }
.phc-consent__technology-table th, .phc-consent__technology-table td { padding: 6px; border-bottom: 1px solid var(--phc-color-border, #d9c7a5); text-align: left; vertical-align: top; }

@media (max-width: 600px) {
    .phc-consent__banner { right: 8px; bottom: 8px; width: calc(100% - 16px); padding: 18px; }
    .phc-consent__panel { width: calc(100% - 16px); padding: 18px; }
    .phc-consent__actions { flex-direction: column; }
    .phc-consent__actions button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
