#pk-consent-root [hidden] { display: none !important; }
#pk-consent-root, #pk-consent-root * { box-sizing: border-box; }
#pk-consent-root { color: #2f3542; font: 15px/1.5 'Open Sans', Arial, Helvetica, sans-serif; }
.pk-cookie-links { padding: 16px; text-align: center; background: #f5f6f8; margin: 0; }
#pk-consent-root a, .pk-consent-link { color: #8b3d06; text-decoration: underline; text-underline-offset: 3px; }
.pk-cookie-links button, .pk-consent-link { border: 0; background: transparent; font: inherit; padding: 0; cursor: pointer; }
.pk-consent-banner { position: fixed; z-index: 2147483000; inset: auto 16px 16px; margin: auto; max-width: 960px; padding: 24px; border: 1px solid #e5e8ee; border-top: 4px solid #ff7a00; border-radius: 16px; background: #fff; box-shadow: 0 12px 48px #23283226; max-height: 85vh; overflow: auto; }
#pk-consent-root h2 { font: 700 22px/1.3 'Open Sans', Arial, Helvetica, sans-serif; margin: 0 0 12px; color: #2f3542; }
#pk-consent-root p { margin: 8px 0 16px; }
.pk-consent-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.pk-consent-actions button { border: 1px solid #ff7a00; border-radius: 9px; padding: 12px 10px; background: #ff7a00; color: #232832; cursor: pointer; font: 700 14px/1.4 'Open Sans', Arial, Helvetica, sans-serif; min-height: 48px; transition: background-color .15s, border-color .15s; }
.pk-consent-actions button:hover { background: #e56e00; border-color: #e56e00; }
.pk-consent-actions [data-consent-open] { background: #fff; color: #2f3542; border-color: #b6bdc9; }
.pk-consent-actions [data-consent-open]:hover { background: #f0f2f5; border-color: #2f3542; }
.pk-consent-actions [data-consent-choice="selected"] { background: #2f3542; border-color: #2f3542; color: #fff; }
.pk-consent-actions [data-consent-choice="selected"]:hover { background: #232832; border-color: #232832; }
#pk-consent-root :focus-visible { outline: 3px solid #8b3d06; outline-offset: 3px; }
#pk-consent-root button:disabled { opacity: .6; cursor: wait; }
#pk-consent-dialog { max-width: 700px; width: calc(100% - 32px); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow: hidden; padding: 0; border: 1px solid #e5e8ee; border-top: 4px solid #ff7a00; border-radius: 18px; background: #fff; color: #2f3542; box-shadow: 0 24px 80px #11182740; }
#pk-consent-dialog::backdrop { background: #23283299; }
.pk-consent-dialog-shell { display: flex; flex-direction: column; max-height: calc(100vh - 40px); max-height: calc(100dvh - 40px); }
.pk-consent-dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 24px; border-bottom: 1px solid #e5e8ee; flex-shrink: 0; }
#pk-consent-dialog .pk-consent-dialog-header h2 { margin: 0; }
.pk-consent-close { display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #f0f2f5; color: #505866; font: 28px/1 Arial, Helvetica, sans-serif; cursor: pointer; }
.pk-consent-close:hover { background: #e5e8ee; color: #232832; }
.pk-consent-dialog-body { min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 16px 24px; background: #f8f9fb; }
#pk-consent-dialog .pk-consent-intro { margin: 0 0 14px; color: #505866; font-size: 14px; line-height: 1.6; }
.pk-consent-category { padding: 12px 16px; margin: 0 0 10px; border: 1px solid #dce1e8; border-radius: 12px; background: #fff; }
.pk-consent-category:last-child { margin-bottom: 0; }
.pk-consent-category-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 36px; margin: 0; }
#pk-consent-root .pk-consent-category h3, .pk-consent-category-title { margin: 0; color: #2f3542; font: 700 16px/1.4 'Open Sans', Arial, Helvetica, sans-serif; }
#pk-consent-dialog .pk-consent-category p { margin: 8px 0 0; color: #505866; font-size: 14px; line-height: 1.5; }
.pk-consent-always { flex-shrink: 0; padding: 5px 10px; border-radius: 20px; background: #fff0e3; color: #8b3d06; font-size: 12px; font-weight: 600; }
.pk-consent-toggle-row { min-height: 44px; cursor: pointer; }
.pk-consent-switch { position: relative; display: inline-block; flex-shrink: 0; width: 48px; height: 28px; }
.pk-consent-switch input { position: absolute; inset: 0; z-index: 1; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.pk-consent-switch-track { display: block; width: 100%; height: 100%; border-radius: 20px; background: #7d8797; transition: background-color .15s; }
.pk-consent-switch-track::before { content: ''; position: absolute; width: 22px; height: 22px; left: 3px; top: 3px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px #23283226; transition: transform .15s; }
.pk-consent-switch input:checked + .pk-consent-switch-track { background: #b65306; }
.pk-consent-switch input:checked + .pk-consent-switch-track::before { transform: translateX(20px); }
.pk-consent-switch input:focus-visible + .pk-consent-switch-track { outline: 3px solid #8b3d06; outline-offset: 3px; }
.pk-consent-dialog-footer { margin: 0; color: #2f3542; flex-shrink: 0; padding: 16px 24px; border-top: 1px solid #e5e8ee; background: #fff; }
#pk-consent-root .pk-consent-small { color: #505866; font-size: 12px; line-height: 1.5; }
#pk-consent-dialog .pk-consent-dialog-footer > .pk-consent-small { margin: 0 0 12px; }
#pk-consent-dialog .pk-consent-revoke { margin: 12px 0 0; text-align: center; font-size: 12px; }
#pk-consent-error { position: fixed; z-index: 2147483647; bottom: 8px; left: 16px; right: 16px; padding: 16px; color: #7e1414; background: #fff1f1; border: 2px solid #7e1414; }
#pk-consent-saved { text-align: center; padding: 8px; }
@media (max-width: 600px) {
  .pk-consent-banner { padding: 18px; inset: auto 12px 12px; }
  .pk-consent-banner .pk-consent-actions { grid-template-columns: 1fr; }
  #pk-consent-dialog { width: calc(100% - 20px); max-height: calc(100vh - 20px); max-height: calc(100dvh - 20px); border-radius: 14px; }
  .pk-consent-dialog-shell { max-height: calc(100vh - 28px); max-height: calc(100dvh - 28px); }
  .pk-consent-dialog-header { padding: 12px 16px; }
  #pk-consent-dialog .pk-consent-dialog-header h2 { font-size: 20px; }
  .pk-consent-dialog-body { padding: 16px; }
  .pk-consent-category { padding: 12px 14px; }
  .pk-consent-dialog-footer { padding: 12px 16px; }
  .pk-consent-dialog-footer .pk-consent-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .pk-consent-dialog-footer [data-consent-choice="selected"] { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) { #pk-consent-root *, #pk-consent-root *::before { transition: none; } }
