#lschat-root { position: fixed; right: 20px; bottom: 20px; z-index: 99999; font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif; }

/* 呼び出しボタン */
#lsc-fab { display: flex; align-items: center; gap: 8px; background: var(--lsc-color); color: #fff; border: none; border-radius: 999px; padding: 12px 18px; font-size: 14px; font-weight: 700; cursor: pointer; box-shadow: 0 4px 16px rgba(0,0,0,.25); }
#lsc-fab:hover { filter: brightness(1.1); }

/* パネル */
#lsc-panel[hidden] { display: none; }
#lsc-panel { position: fixed; right: 20px; bottom: 84px; width: 360px; max-width: calc(100vw - 24px); height: 540px; max-height: calc(100vh - 120px); background: #fff; border-radius: 14px; box-shadow: 0 8px 40px rgba(0,0,0,.3); display: flex; flex-direction: column; overflow: hidden; }
#lsc-head { background: var(--lsc-color); color: #fff; padding: 12px 14px; display: flex; justify-content: space-between; align-items: center; }
#lsc-head strong { font-size: 14px; display: block; }
#lsc-head small { font-size: 11px; opacity: .85; }
#lsc-close { background: none; border: none; color: #fff; font-size: 22px; cursor: pointer; line-height: 1; }

#lsc-msgs { flex: 1; overflow-y: auto; padding: 12px; background: #f4f6f7; }
.lsc-msg { max-width: 85%; margin-bottom: 10px; padding: 9px 12px; border-radius: 12px; font-size: 13px; line-height: 1.6; word-break: break-word; }
.lsc-assistant { background: #fff; border: 1px solid #e2e6e8; border-bottom-left-radius: 4px; }
.lsc-user { background: var(--lsc-color); color: #fff; margin-left: auto; border-bottom-right-radius: 4px; }
.lsc-msg a { color: var(--lsc-color); font-weight: 700; text-decoration: underline; }
.lsc-user a { color: #fff; }
.lsc-typing { color: #999; letter-spacing: 3px; }

/* サジェスト */
#lsc-chips { display: flex; gap: 6px; flex-wrap: wrap; padding: 6px 10px; background: #f4f6f7; }
.lsc-chip { background: #fff; border: 1px solid var(--lsc-color); color: var(--lsc-color); border-radius: 999px; font-size: 11px; padding: 5px 10px; cursor: pointer; }
.lsc-chip:hover { background: var(--lsc-color); color: #fff; }

/* 入力欄 */
#lsc-form { display: flex; border-top: 1px solid #e2e6e8; }
#lsc-input { flex: 1; border: none; padding: 12px; font-size: 13px; outline: none; }
#lsc-send { background: var(--lsc-color); color: #fff; border: none; width: 46px; cursor: pointer; }
#lsc-note { font-size: 10px; color: #999; text-align: center; padding: 4px 8px 6px; background: #fff; }

/* 資料請求フォーム */
#lsc-lead { max-width: 95%; }
.lsc-lead-title { font-weight: 700; margin-bottom: 6px; color: var(--lsc-color); }
#lsc-lead label { display: block; font-size: 11px; color: #555; margin-bottom: 6px; }
#lsc-lead label span { color: #c0392b; font-size: 10px; }
#lsc-lead input, #lsc-lead textarea { width: 100%; box-sizing: border-box; border: 1px solid #ccd; border-radius: 6px; padding: 6px 8px; font-size: 13px; margin-top: 2px; }
#lsc-l-send { width: 100%; background: var(--lsc-color); color: #fff; border: none; border-radius: 8px; padding: 9px; font-size: 13px; font-weight: 700; cursor: pointer; margin-top: 4px; }
#lsc-l-send:disabled { opacity: .6; }
#lsc-l-err { color: #c0392b; font-size: 11px; margin-top: 4px; }

/* スマホ */
@media (max-width: 480px) {
  #lsc-panel { right: 12px; left: 12px; width: auto; bottom: 78px; height: 70vh; }
  #lschat-root { right: 12px; bottom: 12px; }
}

/* 選択式ボタン */
.lsc-btns { display: flex; flex-direction: column; gap: 6px; margin: 4px 0 12px; max-width: 90%; }
.lsc-btn { display: block; text-align: left; background: #fff; border: 1.5px solid var(--lsc-color); color: var(--lsc-color); border-radius: 10px; font-size: 12.5px; font-weight: 600; padding: 9px 12px; cursor: pointer; text-decoration: none; line-height: 1.4; }
.lsc-btn:hover { background: var(--lsc-color); color: #fff; }
