  .swx{ position:fixed; inset:0; z-index:200500; display:flex; align-items:center; justify-content:center; padding:20px;
    background:rgba(8,15,30,.55); backdrop-filter:blur(3px); opacity:0; visibility:hidden; transition:opacity .2s ease, visibility .2s; }
  .swx.is-open{ opacity:1; visibility:visible; }
  .swx__box{ width:100%; max-width:430px; background:#fff; border-radius:16px; box-shadow:0 24px 60px -18px rgba(16,24,40,.5); padding:28px 26px 22px; text-align:center;
    transform:scale(.85); opacity:0; transition:transform .24s cubic-bezier(.34,1.45,.64,1), opacity .18s ease; }
  .swx.is-open .swx__box{ transform:scale(1); opacity:1; }
  .swx__icon{ width:64px; height:64px; border-radius:50%; margin:0 auto 14px; display:flex; align-items:center; justify-content:center; font-size:34px; font-weight:700; line-height:1; }
  .swx__icon--success{ background:rgba(16,185,129,.12); color:#10b981; }
  .swx__icon--error{ background:rgba(239,68,68,.12); color:#ef4444; }
  .swx__icon--warning{ background:rgba(245,158,11,.12); color:#f59e0b; }
  .swx__icon--info{ background:rgba(59,130,246,.12); color:#3b82f6; }
  .swx__icon--question{ background:rgba(100,116,139,.12); color:var(--cc-muted-on-light); }
  .swx__title{ font-size:1.18rem; font-weight:800; color:#0f172a; margin:0 0 8px; }
  .swx__text{ font-size:.92rem; color:#475569; line-height:1.7; margin:0 0 20px; }
  .swx__btns{ display:flex; gap:10px; justify-content:center; flex-wrap:wrap; }
  .swx__btn{ border:0; border-radius:9px; padding:.55rem 1.25rem; font-size:.9rem; font-weight:700; cursor:pointer; transition:filter .15s, transform .12s; }
  .swx__btn:active{ transform:scale(.96); }
  .swx__ok{ background:linear-gradient(135deg,var(--theme-p2,#0E5A78),var(--theme-p3,#1591B3)); color:#fff; }
  .swx__ok:hover{ filter:brightness(1.06); }
  .swx__cancel{ background:#eef2f7; color:#475569; }
  .swx__cancel:hover{ background:#e2e8f0; }
  html[data-theme="dark"] .swx__box{ background:#111827; }
  html[data-theme="dark"] .swx__title{ color:#e5e7eb; }
  html[data-theme="dark"] .swx__text{ color:#cbd5e1; }
  html[data-theme="dark"] .swx__cancel{ background:#1e293b; color:#cbd5e1; }
