:root{--pink:#e62d8b;--pink-deep:#c91f76;--pink-pale:#ffe0ef;--cream:#fff6fa;--navy:#2d2a32;--muted:#8a6b78;--line:#f5d9e6}*{box-sizing:border-box}body,html{margin:0;height:100%;background:transparent;color:var(--navy);font-family:-apple-system,BlinkMacSystemFont,Hiragino Sans,Noto Sans JP,sans-serif;line-height:1.7;pointer-events:none}.widget-root{position:fixed;right:20px;bottom:20px;z-index:999999;display:flex;flex-direction:column;align-items:flex-end;gap:12px;pointer-events:auto}.launcher{width:56px;height:56px;border-radius:50%;border:0;background:var(--pink);color:#fff;font-size:22px;display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 6px 18px rgba(45,42,50,.25)}.launcher:hover{filter:brightness(.97)}.panel{width:min(380px,calc(100vw - 40px));height:min(560px,calc(100vh - 120px));background:var(--cream);border-radius:16px;border:1px solid var(--line);box-shadow:0 12px 32px rgba(45,42,50,.22);display:flex;flex-direction:column;overflow:hidden}.panel-head{display:flex;align-items:flex-start;justify-content:space-between;padding:14px 14px 10px;border-bottom:1px solid var(--line);background:#fff}.panel-title{font-size:14px;font-weight:700}.panel-sub{font-size:11px;color:var(--muted);margin-top:2px}.close-btn{border:0;background:transparent;font-size:18px;line-height:1;color:var(--muted);cursor:pointer;padding:2px 6px}.messages{flex:1 1;overflow-y:auto;padding:14px}.msg{display:flex;margin-bottom:12px}.msg.user{justify-content:flex-end}.bubble{max-width:88%;padding:10px 12px;border-radius:14px;font-size:14px;white-space:pre-wrap;word-break:break-word}.msg.bot .bubble{background:#fff;border:1px solid var(--line);border-top-left-radius:4px}.msg.user .bubble{background:var(--pink-pale);border-top-right-radius:4px}.bubble a{color:var(--pink-deep);font-weight:600}.meta{font-size:10px;color:var(--muted);margin:2px 0 10px 4px}.form{display:flex;gap:8px;padding:10px;border-top:1px solid var(--line);background:#fff}textarea{flex:1 1;resize:none;border:1px solid var(--line);border-radius:12px;padding:9px 11px;font:inherit;font-size:14px;background:var(--cream);min-height:40px;max-height:100px}button{border:0;border-radius:12px;background:var(--pink);color:#fff;font:inherit;font-weight:700;padding:0 16px;cursor:pointer}button:disabled{opacity:.5;cursor:default}