/* Sunlux24 Hilfe-Chat 0.1.0 - every rule is scoped to .slc-* */
.slc-launcher, .slc-panel { --slc-accent: #17191d; --slc-bg: #ffffff; --slc-soft: #f3f4f6; --slc-line: #e2e4e8; --slc-text: #17191d; --slc-muted: #5f6670; font-family: inherit; }
.slc-launcher { position: fixed; bottom: 20px; z-index: 1035; display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px; border: 0; border-radius: 999px; background: var(--slc-accent); color: #fff; font-size: 15px; line-height: 1; box-shadow: 0 6px 20px rgba(0,0,0,.22); cursor: pointer; }
.slc-launcher.slc-left { left: 20px; }
.slc-launcher.slc-right { right: 20px; }
.slc-launcher:focus-visible, .slc-bubble:focus-visible, .slc-icon:focus-visible, .slc-send:focus-visible, .slc-submit:focus-visible { outline: 3px solid #f2b705; outline-offset: 2px; }
.slc-hidden { display: none !important; }
.slc-panel { position: fixed; bottom: 20px; z-index: 1036; width: 380px; max-width: calc(100vw - 32px); height: min(620px, calc(100vh - 40px)); display: flex; flex-direction: column; background: var(--slc-bg); color: var(--slc-text); border: 1px solid var(--slc-line); border-radius: 14px; box-shadow: 0 12px 40px rgba(0,0,0,.25); overflow: hidden; font-size: 15px; line-height: 1.45; }
.slc-panel[hidden] { display: none; }
.slc-panel.slc-left { left: 16px; }
.slc-panel.slc-right { right: 16px; }
.slc-head { display: flex; align-items: center; gap: 6px; padding: 12px 12px 12px 16px; background: var(--slc-accent); color: #fff; }
.slc-titles { flex: 1; min-width: 0; }
.slc-title { font-weight: 700; font-size: 16px; }
.slc-sub { font-size: 12px; opacity: .8; }
.slc-icon { width: 34px; height: 34px; border: 0; border-radius: 8px; background: transparent; color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
.slc-icon:hover { background: rgba(255,255,255,.12); }
.slc-restart { font-size: 18px; }
.slc-msgs { flex: 1; overflow-y: auto; padding: 14px 12px; background: var(--slc-soft); }
.slc-msg { max-width: 92%; margin: 0 0 10px; padding: 10px 12px; border-radius: 12px; overflow-wrap: anywhere; }
.slc-msg p { margin: 0 0 6px; }
.slc-msg p:last-child { margin-bottom: 0; }
.slc-bot { background: #fff; border: 1px solid var(--slc-line); border-top-left-radius: 4px; }
.slc-user { margin-left: auto; background: var(--slc-accent); color: #fff; border-top-right-radius: 4px; }
.slc-strong { font-weight: 700; }
.slc-muted, .slc-privacy { color: var(--slc-muted); font-size: 13px; }
.slc-links, .slc-contact { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.slc-link, .slc-contact-item { color: var(--slc-accent); font-weight: 600; text-decoration: underline; }
.slc-pdf::before { content: "📄 "; }
.slc-video::before { content: "▶ "; }
.slc-bubbles { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.slc-bubble { padding: 7px 12px; border: 1px solid var(--slc-accent); border-radius: 999px; background: #fff; color: var(--slc-accent); font-size: 14px; line-height: 1.2; cursor: pointer; text-align: left; }
.slc-bubble:hover { background: var(--slc-accent); color: #fff; }
.slc-input { display: flex; gap: 6px; padding: 10px; border-top: 1px solid var(--slc-line); background: #fff; margin: 0; }
.slc-input input { flex: 1; min-width: 0; padding: 9px 12px; border: 1px solid var(--slc-line); border-radius: 999px; font-size: 16px; }
.slc-send, .slc-submit { border: 0; border-radius: 999px; background: var(--slc-accent); color: #fff; cursor: pointer; }
.slc-send { width: 42px; font-size: 16px; }
.slc-order { display: flex; flex-direction: column; gap: 8px; margin: 8px 0 0; }
.slc-field { display: flex; flex-direction: column; gap: 2px; margin: 0; font-size: 13px; color: var(--slc-muted); }
.slc-field input { padding: 8px 10px; border: 1px solid var(--slc-line); border-radius: 8px; font-size: 16px; color: var(--slc-text); }
.slc-submit { padding: 10px 14px; font-weight: 600; }
.slc-submit[disabled] { opacity: .6; cursor: progress; }
@media (max-width: 600px) {
  .slc-launcher { bottom: 14px; padding: 10px 14px; }
  .slc-launcher.slc-left { left: 14px; }
  .slc-launcher.slc-right { right: 14px; }
  .slc-launcher-label { display: none; }
  .slc-panel, .slc-panel.slc-left, .slc-panel.slc-right { left: 0; right: 0; bottom: 0; width: 100%; max-width: 100%; height: 85vh; border-radius: 14px 14px 0 0; }
}
@media (prefers-reduced-motion: no-preference) { .slc-panel:not([hidden]) { animation: slc-in .16s ease-out; } }
@keyframes slc-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
