/* SS analytics consent — isolated, accessible UI; 20261106-1 */
:host {
  all: initial; --accent:#215bda; --tint:#f0f5ff;
  position:fixed; z-index:2147483000; left:max(16px, env(safe-area-inset-left));
  bottom:max(16px, env(safe-area-inset-bottom)); max-width:calc(100vw - 32px);
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  font-size:14px; line-height:1.5; color:#172b46; color-scheme:light;
}
:host([hidden]), [hidden] { display:none !important; }
:host([data-brand="camielle"]) { --accent:#386874; --tint:#f0f7f7; }
:host([data-brand="from-china"]) { --accent:#a52a32; --tint:#fff3f3; }
:host([data-brand="odpadymarket"]), :host([data-brand="gruntowizja"]) { --accent:#17654f; --tint:#eff8f3; }
:host([data-brand="przepisalert"]) { --accent:#6246a6; --tint:#f5f2fc; }
*, *::before, *::after { box-sizing:border-box; }
.panel { width:430px; max-width:100%; padding:20px; margin:0; background:#fff;
  border:1px solid #dce3eb; border-top:3px solid var(--accent); border-radius:16px;
  box-shadow:0 8px 32px #10243a26; max-height:calc(100dvh - 32px); overflow:auto; }
.heading { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:8px; }
h2 { margin:0; font:700 17px/1.3 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; color:#172b46; }
p { margin:0; font-size:13px; line-height:1.55; color:#46566c; }
.actions { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-top:16px; }
button { appearance:none; cursor:pointer; font:600 13px/1.35 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  text-align:center; text-transform:none; letter-spacing:normal; }
.choice { min-height:44px; padding:10px 12px; color:var(--accent); background:var(--tint);
  border:1px solid var(--accent); border-radius:9px; }
.choice:hover { color:#fff; background:var(--accent); }
button:focus-visible { outline:3px solid var(--accent); outline-offset:3px; }
.settings { display:block; min-height:36px; padding:8px 12px; border:1px solid #dce3eb;
  border-radius:20px; color:#34455d; background:#fff; box-shadow:0 2px 12px #10243a14; font-size:12px; }
.settings:hover { border-color:var(--accent); color:var(--accent); }
.close { flex:0 0 32px; width:32px; height:32px; padding:0; color:#46566c; background:transparent;
  border:1px solid #dce3eb; border-radius:8px; font-size:22px; font-weight:400; line-height:1; }
.error { margin-top:10px; color:#a02727; }
@media(max-width:480px) {
  :host { left:max(12px,env(safe-area-inset-left)); bottom:max(12px,env(safe-area-inset-bottom)); max-width:calc(100vw - 24px); }
  .panel { width:430px; padding:16px; border-radius:14px; }
}
@media(max-width:340px) { .actions { grid-template-columns:1fr; gap:8px; } }
@media print { :host { display:none !important; } }
