ins[style],
del[style] {
  border-radius: 4px;
  padding: 1px 4px;
}

ins[style] {
  background: #dcfce7 !important;
  color: #166534 !important;
  text-decoration: none;
}

del[style] {
  background: #fee2e2 !important;
  color: #991b1b !important;
}

html.dark ins[style] {
  background: rgba(34, 197, 94, 0.16) !important;
  color: #86efac !important;
}

html.dark del[style] {
  background: rgba(239, 68, 68, 0.16) !important;
  color: #fca5a5 !important;
}

.ss-notice {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding: 12px 16px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 14px;
}

.ss-notice__icon {
  font-size: 22px;
}

.ss-notice--warn {
  border-color: #fcd34d;
  background: #fffbeb;
  color: #92400e;
}

.ss-notice--warn .ss-notice__icon {
  color: #d97706;
}

html.dark .ss-notice--warn {
  border-color: rgba(245, 158, 11, 0.35);
  background: rgba(245, 158, 11, 0.1);
  color: #fcd34d;
}

html.dark .ss-notice--warn .ss-notice__icon {
  color: #fbbf24;
}

.ss-notice--info {
  justify-content: space-between;
  background: #f3e8ff;
  color: #6b21a8;
}

html.dark .ss-notice--info {
  border-color: rgba(168, 85, 247, 0.3);
  background: rgba(168, 85, 247, 0.12);
  color: #e9d5ff;
}

.ss-notice .ss-notice__button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border: 0;
  border-radius: 8px;
  background: #7e22ce;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.ss-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border: 0;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
}

.ss-pill:hover {
  opacity: 0.85;
}

.ss-pill.ss-pill--info { background: #e0f2fe; color: #0369a1; }
.ss-pill.ss-pill--neutral { background: #f1f5f9; color: #334155; }
.ss-pill.ss-pill--success { background: #dcfce7; color: #15803d; }
.ss-pill.ss-pill--danger { background: #fee2e2; color: #b91c1c; }

html.dark .ss-pill.ss-pill--info { background: rgba(14, 165, 233, 0.15); color: #7dd3fc; }
html.dark .ss-pill.ss-pill--neutral { background: rgba(148, 163, 184, 0.15); color: #cbd5e1; }
html.dark .ss-pill.ss-pill--success { background: rgba(34, 197, 94, 0.15); color: #86efac; }
html.dark .ss-pill.ss-pill--danger { background: rgba(239, 68, 68, 0.15); color: #fca5a5; }

.ss-toast {
  border: 1px solid #e5e7eb;
  border-left: 4px solid #7e22ce;
  background: #fff;
  color: #111827;
}

.ss-toast__body { color: #4b5563; }

.ss-toast .ss-toast__btn {
  border: 1px solid #d1d5db;
  background: #fff;
  color: #374151;
}

.ss-toast .ss-toast__btn--primary {
  border-color: #7e22ce;
  background: #7e22ce;
  color: #fff;
}

html.dark .ss-toast {
  border-color: #374151;
  border-left-color: #a855f7;
  background: #111827;
  color: #f3f4f6;
}

html.dark .ss-toast__body { color: #9ca3af; }

html.dark .ss-toast .ss-toast__btn {
  border-color: #4b5563;
  background: transparent;
  color: #e5e7eb;
}

html.dark .ss-toast .ss-toast__btn--primary {
  border-color: #9333ea;
  background: #9333ea;
  color: #fff;
}
