/* ELGRA consent UI — same-origin, no third-party requests */
.ck-banner{
  position:fixed;left:20px;right:20px;bottom:20px;z-index:100;max-width:1120px;margin:0 auto;
  background:#FFFFFF;border:1px solid #E3E9F0;border-radius:16px;
  box-shadow:0 18px 50px rgba(22,35,59,.16);
  padding:22px 24px;display:flex;gap:26px;align-items:flex-start;flex-wrap:wrap;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Inter,Roboto,Helvetica,Arial,sans-serif;
  color:#16233B;line-height:1.65;
  animation:ck-in .28s ease-out both;
}
@keyframes ck-in{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.ck-banner{animation:none}}
.ck-banner[hidden]{display:none}
.ck-banner .ck-copy{flex:1 1 420px;min-width:0}
.ck-banner .ck-title{
  display:flex;align-items:center;gap:9px;font-size:14.5px;font-weight:650;letter-spacing:-.01em;margin-bottom:7px;
}
.ck-banner .ck-title .ck-dot{width:7px;height:7px;border-radius:50%;background:#E97A2C;flex:none}
.ck-banner p{font-size:13px;color:#5A6B85;margin:0}
.ck-banner p + p{margin-top:7px}
.ck-banner a{color:#2E5C8A;text-decoration:underline;text-underline-offset:2px}
.ck-banner a:hover{color:#1F3864}
.ck-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center;flex:0 0 auto}
.ck-btn{
  display:inline-flex;align-items:center;justify-content:center;
  min-width:132px;padding:10px 18px;border-radius:9px;
  font-size:13px;font-weight:600;font-family:inherit;line-height:1.2;
  background:#FFFFFF;color:#1F3864;border:1px solid #C6D6E8;cursor:pointer;
  transition:background .18s,border-color .18s,transform .18s;
}
.ck-btn:hover{border-color:#1F3864;background:#F7F9FC;transform:translateY(-1px)}
.ck-btn:focus-visible{outline:2px solid #2E5C8A;outline-offset:2px}
.ck-btn.ck-primary{background:#1F3864;color:#FFFFFF;border-color:#1F3864}
.ck-btn.ck-primary:hover{background:#16305C;border-color:#16305C}
.ck-tlinks{display:flex;gap:18px;flex-wrap:wrap;flex-basis:100%;margin-top:2px}
.ck-tlink{
  background:none;border:none;padding:0;font-family:inherit;font-size:12.5px;font-weight:600;
  color:#2E5C8A;cursor:pointer;text-decoration:underline;text-underline-offset:2px;
}
.ck-tlink:hover{color:#1F3864}
.ck-link{
  background:none;border:none;padding:0;font:inherit;color:inherit;cursor:pointer;
  text-decoration:none;
}
.ck-link:hover{text-decoration:underline;text-underline-offset:3px}

/* preferences dialog */
.ck-overlay{
  position:fixed;inset:0;z-index:200;background:rgba(15,28,51,.52);
  display:flex;align-items:center;justify-content:center;padding:20px;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Inter,Roboto,Helvetica,Arial,sans-serif;
}
.ck-overlay[hidden]{display:none}
.ck-modal{
  width:100%;max-width:620px;max-height:calc(100vh - 40px);overflow:auto;
  background:#FFFFFF;border-radius:18px;box-shadow:0 30px 70px rgba(15,28,51,.32);
  color:#16233B;line-height:1.65;
}
.ck-modal-head{padding:24px 26px 18px;border-bottom:1px solid #EDF1F6}
.ck-modal-head h2{margin:0 0 8px;font-size:19px;letter-spacing:-.02em;font-weight:650}
.ck-modal-head p{margin:0;font-size:13px;color:#5A6B85}
.ck-modal-body{padding:6px 26px 4px}
.ck-cat{display:flex;gap:18px;align-items:flex-start;padding:18px 0;border-bottom:1px solid #EDF1F6}
.ck-cat:last-child{border-bottom:none}
.ck-cat .ck-cat-tx{flex:1 1 auto;min-width:0}
.ck-cat .ck-cat-tx .n{font-size:13.5px;font-weight:650;color:#16233B;display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.ck-cat .ck-cat-tx .d{font-size:12.5px;color:#5A6B85;margin-top:4px}
.ck-chip{
  font-family:ui-monospace,SFMono-Regular,"SF Mono",Menlo,Consolas,monospace;font-size:9.5px;
  letter-spacing:.1em;text-transform:uppercase;color:#2E5C8A;background:#F7F9FC;
  border:1px solid #E3E9F0;border-radius:5px;padding:2px 6px;white-space:nowrap;
}
.ck-switch{position:relative;display:inline-flex;flex:none;cursor:pointer;margin-top:2px}
.ck-switch input{position:absolute;opacity:0;width:0;height:0}
.ck-track{width:44px;height:25px;border-radius:100px;background:#CBD9E9;position:relative;display:block;transition:background .18s}
.ck-track:before{content:"";position:absolute;width:19px;height:19px;border-radius:50%;background:#FFFFFF;top:3px;left:3px;transition:transform .18s;box-shadow:0 1px 3px rgba(15,28,51,.25)}
.ck-switch input:checked + .ck-track{background:#1F3864}
.ck-switch input:checked + .ck-track:before{transform:translateX(19px)}
.ck-switch input:focus-visible + .ck-track{outline:2px solid #2E5C8A;outline-offset:2px}
.ck-switch input:disabled + .ck-track{background:#DCE4EE;cursor:not-allowed}
.ck-modal-foot{
  padding:18px 26px 22px;border-top:1px solid #EDF1F6;background:#F7F9FC;
  display:flex;gap:10px;flex-wrap:wrap;align-items:center;justify-content:flex-end;
  border-radius:0 0 18px 18px;
}
.ck-modal-foot .ck-note{
  margin-right:auto;font-size:11.5px;color:#8494AB;max-width:300px;line-height:1.5;
}
.ck-status{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

@media(max-width:720px){
  .ck-banner{left:0;right:0;bottom:0;border-radius:16px 16px 0 0;padding:20px 20px 22px;gap:16px}
  .ck-actions{width:100%}
  .ck-btn{flex:1 1 0;min-width:0}
  .ck-overlay{padding:0;align-items:flex-end}
  .ck-modal{max-width:none;border-radius:18px 18px 0 0;max-height:92vh}
  .ck-modal-foot .ck-note{width:100%;max-width:none;margin-bottom:6px}
}
