.ios-switch { position: relative; width: 46px; height: 28px; display: inline-block; }
.ios-switch input { display: none; }
.ios-switch .slider { position: absolute; inset: 0; background: rgba(17,24,39,0.12); border: 1px solid var(--border); border-radius: 999px; box-shadow: inset 0 1px rgba(255,255,255,0.6); transition: all 160ms ease; }
.ios-switch .slider::before { content: ""; position: absolute; width: 22px; height: 22px; left: 3px; top: 3px; background: #fff; border-radius: 50%; box-shadow: 0 2px 8px rgba(17,24,39,0.12), inset 0 1px rgba(255,255,255,0.7); transition: all 160ms ease; }
.ios-switch input:checked + .slider { background: linear-gradient(135deg, var(--accent-1), var(--accent-2)); border-color: transparent; }
.ios-switch input:checked + .slider::before { transform: translateX(18px); }

.kw-list { display: flex; flex-wrap: wrap; gap: 6px; }
.kw-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--border); background: rgba(255,255,255,0.85); font-size: 12px; cursor: pointer; }
.kw-chip .remove { cursor: pointer; color: var(--muted); }
.kw-chip .remove:hover { color: var(--text); }

#bot-modal .analysis-block:not(:last-child) { margin-bottom: 12px; }
.inline-controls .small { font-size: 12px; color: var(--muted); }

