:root { --cp-cookie-space: 0px; }
.cp-cookie-banner[hidden] { display: none !important; }
.cp-cookie-banner, .cp-cookie-dialog { color: #132437; font: 400 15px/1.5 ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; }
.cp-cookie-banner *, .cp-cookie-dialog * { box-sizing: border-box; }
.cp-cookie-banner { position: fixed; z-index: 1000; bottom: max(16px, env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); width: min(1120px, calc(100% - 32px)); padding: 22px 24px; background: #fff; border: 1px solid #cadbea; border-top: 4px solid #0a84ff; border-radius: 20px; box-shadow: 0 14px 60px #0c192833; display: flex; align-items: center; gap: 28px; }
.cp-cookie-copy { flex: 1; min-width: 0; }
.cp-cookie-banner h2, .cp-cookie-dialog h2 { margin: 0 0 7px; font-size: 21px; line-height: 1.25; letter-spacing: -.02em; color: #132437; }
.cp-cookie-banner p, .cp-cookie-dialog p { margin: 0 0 10px; }
.cp-cookie-banner a, .cp-cookie-dialog a { color: #0566c6; text-decoration: underline; text-underline-offset: 3px; }
.cp-cookie-actions { display: grid; gap: 8px; flex: 0 0 235px; }
.cp-cookie-button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 11px 16px; border: 2px solid #076cd0; border-radius: 12px; background: #076cd0; color: #fff; font: 750 14px/1.3 ui-sans-serif, system-ui, sans-serif; cursor: pointer; text-align: center; }
.cp-cookie-button:hover { background: #065aae; border-color: #065aae; }
.cp-cookie-button.cp-cookie-manage { color: #132437; border-color: #a9bed0; background: #fff; }
.cp-cookie-button.cp-cookie-manage:hover { background: #eef7ff; }
.cp-cookie-button:focus-visible, .cp-cookie-close:focus-visible, .cp-cookie-dialog input:focus-visible, .cp-cookie-banner a:focus-visible, .cp-cookie-dialog a:focus-visible { outline: 3px solid #0a84ff; outline-offset: 3px; }
.cp-cookie-banner-open body { padding-bottom: calc(var(--cp-cookie-space) + 38px); }
.cp-cookie-banner-open .mobile-book { bottom: calc(var(--cp-cookie-space) + max(16px, env(safe-area-inset-bottom)) + 10px); }
.cp-cookie-dialog { width: min(620px, calc(100% - 24px)); max-height: calc(100dvh - 32px); margin: auto; padding: 26px; overflow-y: auto; border: 1px solid #cadbea; border-radius: 22px; background: #fff; box-shadow: 0 24px 90px #0c192855; }
.cp-cookie-dialog::backdrop { background: #0c192899; }
.cp-cookie-dialog-head { display: flex; align-items: start; justify-content: space-between; gap: 16px; }
.cp-cookie-close { min-width: 44px; min-height: 44px; margin: -10px -10px 0 0; border: 0; border-radius: 12px; background: #eef7ff; color: #132437; font-size: 26px; cursor: pointer; }
.cp-cookie-options { display: grid; gap: 10px; margin: 20px 0 16px; }
.cp-cookie-option { display: flex; align-items: center; justify-content: space-between; gap: 22px; border: 1px solid #d7e3ec; border-radius: 14px; padding: 16px; background: #f8fbfe; }
label.cp-cookie-option { cursor: pointer; }
.cp-cookie-option h3, .cp-cookie-option strong { display: block; margin: 0 0 5px; font-size: 15px; font-weight: 750; }
.cp-cookie-option span span { display: block; }
.cp-cookie-option p, .cp-cookie-option span span { margin: 0; color: #445b6e; font-size: 14px; }
.cp-cookie-option small { display: block; margin-top: 5px; color: #526779; }
.cp-cookie-option input { flex: 0 0 24px; width: 24px; height: 24px; margin: 0; accent-color: #076cd0; cursor: pointer; }
.cp-cookie-option input:disabled { cursor: default; }
.cp-cookie-policy { font-size: 14px; }
#cp-cookie-message { color: #9b251b; }
.cp-cookie-dialog-actions { display: grid; gap: 8px; margin-top: 16px; }
@media (max-width: 640px) {
  .cp-cookie-banner { bottom: max(10px, env(safe-area-inset-bottom)); width: calc(100% - 20px); max-height: calc(100dvh - 100px); overflow-y: auto; padding: 13px; display: block; }
  .cp-cookie-banner h2 { font-size: 16px; margin-bottom: 5px; }
  .cp-cookie-banner p { font-size: 13px; margin-bottom: 0; }
  .cp-cookie-actions { margin-top: 10px; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .cp-cookie-actions .cp-cookie-manage { grid-column: auto; }
  .cp-cookie-actions .cp-cookie-button { min-height: 44px; padding: 8px 5px; font-size: 12px; }
  .cp-cookie-dialog { padding: 20px; }
}
