/* Cookie consent popup — same dialog conventions as the other v2 popups. */

/* Above the dialog/toast layer (9999 in lib/dialog.css): nothing else may be answered
   before the consent is given. */
#cookie-consent-overlay{
  display:none;position:fixed;inset:0;z-index:10000;
  background:rgba(0,0,0,.72);align-items:flex-start;justify-content:center;
  backdrop-filter:blur(1px);padding:24px 12px;overflow-y:auto
}
#cookie-consent-overlay.visible{display:flex}

.cookie-consent-box{
  position:relative;background:var(--card);
  border:1px solid var(--border);border-radius:var(--r-lg);box-shadow:var(--sh-lg);
  width:100%;max-width:420px;margin:auto;padding:24px 20px 20px
}

.cookie-consent-title{
  margin:0 0 10px;font-size: 1.125rem;font-weight:700;color:var(--t1)
}

.cookie-consent-msg{
  margin:0 0 12px;font-size: 0.875rem;line-height:1.5;color:var(--t2)
}

.cookie-consent-actions{
  display:flex;gap:8px;justify-content:flex-end;margin-top:18px
}
