
#talkOpenHome,#talkOpenRecord{background:linear-gradient(105deg,#23ab86,#21a77f);border:0;color:#fff;border-radius:14px;padding:15px 16px;width:100%;font-weight:800;font-size:15px;box-shadow:0 5px 12px #20a98328;margin:5px 0 14px;display:flex;align-items:center;justify-content:space-between;gap:8px}
#talkOverlay{display:none;position:fixed;inset:0;z-index:500;background:linear-gradient(155deg,#2ab28d,#22a87e);color:white;flex-direction:column;font-family:-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN",sans-serif}
#talkOverlay.talk-visible{display:flex}
#talkOverlay *{box-sizing:border-box}
#talkOverlay button,#talkOverlay select,#talkOverlay input,#talkOverlay textarea{font:inherit}
.talk-head{flex:0 0 auto;display:flex;align-items:center;justify-content:center;position:relative;padding:calc(env(safe-area-inset-top) + 14px) 64px 17px;text-align:center}
.talk-head h2{font-size:17px;font-weight:750;margin:0}
.talk-close{position:absolute;right:17px;bottom:8px;width:42px;height:42px;background:#63e7bc;border:1px solid #ffffff75;color:#fff;border-radius:50%;font-size:25px;line-height:1}
.talk-scroll{padding:16px 17px 22px;overflow:auto;flex:1;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;min-height:0}
.talk-intro{padding:20px 2px 14px}
.talk-intro h1{font-size:27px;margin:0 0 15px;font-weight:850}
.talk-intro p{font-size:15px;font-weight:570;line-height:1.85;margin:0}
.talk-bubble{margin:18px 0;padding:14px 16px;border-radius:16px;font-size:14px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}
.talk-user{background:#eafff7;color:#176b56;margin-left:35px;border-bottom-right-radius:4px;font-weight:650}
.talk-agent{background:#ffffff19;border:1px solid #ffffff60;margin-right:8px;border-bottom-left-radius:4px}
.talk-help-row{display:flex;justify-content:flex-end;margin-top:13px}
.talk-help{background:#f2fbf8;color:#135948;border:0;border-radius:16px;font-weight:650;padding:12px 18px}
.talk-preview{background:#fff;color:#343333;border-radius:19px;margin:16px 0;padding:15px;box-shadow:0 4px 20px #13755a18}
.talk-preview h3{font-size:16px;color:#176e55;margin:0 0 7px}
.talk-preview>p{color:#6b7470;font-size:12px;line-height:1.6}
.talk-preview-row{border-top:1px solid #edf2ef;padding:12px 0}
.talk-field-row{display:flex;gap:7px;align-items:center}
.talk-field-row>input{flex:1;min-width:0}
.talk-preview input,.talk-preview select{background:#fff;border:1px solid #d5e5df;color:#243e34;border-radius:11px;font-size:15px;padding:10px 8px;min-height:44px;max-width:100%}
.talk-label{font-size:11px;display:block;color:#718179;font-weight:700;margin:9px 0 4px}
.talk-quantity{display:grid;grid-template-columns:90px 1fr 87px;gap:6px;margin-top:8px;align-items:center}
.talk-note{font-size:11px;color:#667b72;line-height:1.5;margin:6px 0}
.talk-pending{color:#b36728}
.talk-total{border-top:1px solid #e4eee9;padding:12px 2px 5px;margin-top:6px;font-size:13px;color:#47705e}
.talk-save{border:0;width:100%;border-radius:13px;background:#249f7f;color:#fff;padding:14px;font-size:16px;font-weight:800;margin-top:9px}
.talk-save:disabled{background:#9cc5b6}
.talk-bottom{background:#26aa84;padding:7px 16px calc(env(safe-area-inset-bottom) + 12px);border-top:1px solid #ffffff29;flex:0 0 auto}
.talk-bottom-label{font-size:12px;color:white;font-weight:700;margin:0 0 8px}
.talk-form{display:flex;align-items:flex-end;gap:6px;background:#fff;border-radius:24px;padding:7px 7px 7px 15px;box-shadow:0 3px 8px #177d6320}
#talkText{flex:1;min-width:0;min-height:35px;max-height:100px;resize:none;border:0;outline:none;color:#215747;font-size:15px;line-height:1.5;background:transparent;padding:6px 0}
.talk-mic{flex:0 0 40px;width:40px;height:40px;border:0;background:#f2f5f4;border-radius:50%;color:#63736d;font-size:20px}
.talk-send{flex:0 0 41px;width:41px;height:41px;border:0;background:#20a37f;color:white;border-radius:50%;font-size:25px;font-weight:850}
.talk-bottom-status{font-size:11px;margin:7px 2px 0;color:#e4fff7;min-height:14px}
@media(min-width:740px){#talkOverlay{width:580px;left:50%;transform:translateX(-50%);box-shadow:0 0 0 150vw #0e2821a0}.talk-scroll{padding-left:25px;padding-right:25px}}
