/* LazySuite consent banner. Scoped under .lsc-* so theme CSS can't leak in or out. */
.lsc-banner,.lsc-overlay,.lsc-pill{--lsc-ink:#1a1335;--lsc-muted:#574d73;--lsc-brand:#2e266d;--lsc-accent:#6b42f0;--lsc-line:#e6e0f5;font-family:'Noto Sans Hebrew','Rubik',system-ui,-apple-system,'Segoe UI',sans-serif;direction:rtl;text-align:right;box-sizing:border-box;line-height:1.6}
.lsc-banner *,.lsc-overlay *{box-sizing:border-box}

.lsc-banner{position:fixed;z-index:2147483000;inset-inline:16px;bottom:16px;margin:0 auto;max-width:760px;background:#fff;color:var(--lsc-ink);border:1px solid var(--lsc-line);border-radius:18px;padding:20px 22px;box-shadow:0 18px 50px -12px rgba(26,19,53,.35)}
.lsc-text{margin:0 0 16px;font-size:15px;color:var(--lsc-muted)}
.lsc-text a{color:var(--lsc-accent);text-decoration:underline;text-underline-offset:2px}

/* Three buttons, identical size and weight: no "accept" that outshines "reject". */
.lsc-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.lsc-btn{appearance:none;margin:0;min-height:46px;padding:10px 14px;border-radius:12px;border:2px solid var(--lsc-brand);background:var(--lsc-brand);color:#fff;font-weight:600;font-size:15px;line-height:1.3;font-family:inherit;cursor:pointer;transition:background .15s,border-color .15s}
.lsc-btn:hover{background:var(--lsc-accent);border-color:var(--lsc-accent)}
.lsc-btn:focus-visible,.lsc-x:focus-visible,.lsc-switch:focus-visible,.lsc-pill:focus-visible,.lsc-text a:focus-visible{outline:3px solid #f59e0b;outline-offset:2px}

/* Settings dialog */
.lsc-overlay{position:fixed;inset:0;z-index:2147483001;background:rgba(15,12,41,.55);display:flex;align-items:center;justify-content:center;padding:16px}
.lsc-panel{width:100%;max-width:620px;max-height:calc(100vh - 32px);overflow:auto;background:#fff;color:var(--lsc-ink);border-radius:20px;padding:24px;box-shadow:0 30px 80px -20px rgba(15,12,41,.6)}
.lsc-phead{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
.lsc-phead h2{margin:0;font-size:20px;font-weight:800;color:var(--lsc-ink)}
.lsc-x{width:40px;height:40px;border-radius:10px;border:1px solid var(--lsc-line);background:#fff;color:var(--lsc-ink);font-size:24px;line-height:1;cursor:pointer}
.lsc-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 0;border-top:1px solid var(--lsc-line)}
.lsc-row-title{display:block;font-weight:700;font-size:16px;color:var(--lsc-ink);cursor:pointer}
.lsc-row-desc{margin:2px 0 0;font-size:13.5px;color:var(--lsc-muted)}
.lsc-always{flex-shrink:0;font-size:13px;font-weight:600;color:#15803d;background:#ecfdf3;border-radius:999px;padding:4px 12px}
.lsc-actions--4{margin-top:16px}

/* Accessible switch built on a real checkbox */
.lsc-switch{appearance:none;-webkit-appearance:none;flex-shrink:0;width:50px;height:28px;margin:0;border-radius:999px;background:#cbc4dc;position:relative;cursor:pointer;transition:background .15s}
.lsc-switch::after{content:"";position:absolute;top:3px;right:3px;width:22px;height:22px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.3);transition:right .15s}
.lsc-switch:checked{background:var(--lsc-accent)}
.lsc-switch:checked::after{right:25px}

/* Permanent way back to the settings when the theme footer has no link */
.lsc-pill{position:fixed;z-index:2147482999;left:12px;bottom:12px;padding:6px 12px;border-radius:999px;border:1px solid var(--lsc-line);background:rgba(255,255,255,.92);color:var(--lsc-muted);font-size:12px;cursor:pointer;box-shadow:0 4px 14px -6px rgba(26,19,53,.3)}
.lsc-pill:hover{color:var(--lsc-accent)}

@media (max-width:600px){
  .lsc-banner{inset-inline:8px;bottom:8px;padding:16px;border-radius:16px}
  .lsc-text{font-size:14px}
  .lsc-actions{grid-template-columns:1fr}
  .lsc-panel{padding:18px;border-radius:16px}
}
@media (prefers-reduced-motion:reduce){.lsc-btn,.lsc-switch,.lsc-switch::after{transition:none}}
