/* All styles are confined to the chat. v1.0.1: clearer separation from the site background. */
#gts-chat .gts-chat-backdrop{display:none}
#gts-chat{--gc-paper:#ffffff;--gc-ink:#272b29;--gc-line:#dedbd2;--gc-accent:#b64627;--gc-muted:#65685f;font:14px/1.8 "Hiragino Kaku Gothic ProN","Yu Gothic",sans-serif;color:var(--gc-ink);text-align:left;position:relative;z-index:99980}
#gts-chat *,#gts-chat *::before,#gts-chat *::after{box-sizing:border-box}#gts-chat [hidden]{display:none!important}#gts-chat :is(h2,h3,p){margin:0}#gts-chat :is(button,input){font:inherit;color:inherit;letter-spacing:normal}#gts-chat button{cursor:pointer;box-shadow:none;text-transform:none;border-radius:0;min-height:44px;padding:8px 12px;margin:0;line-height:1.5;background:transparent;border:1px solid var(--gc-line)}#gts-chat button:disabled{cursor:wait;opacity:.5}#gts-chat :is(a,button,input):focus-visible{outline:3px solid var(--gc-accent);outline-offset:3px}#gts-chat a{color:inherit;text-decoration:none}#gts-chat small{font-size:10px;display:block;color:var(--gc-muted)}
#gts-chat .gts-chat-launch{position:fixed;z-index:1;right:24px;bottom:24px;background:var(--gc-ink);color:#fff;border:1px solid var(--gc-ink);padding:12px 20px;box-shadow:0 5px 22px #17211d38;display:flex;align-items:center;gap:10px;font-size:13px;min-height:52px}#gts-chat .gts-chat-launch-icon{display:block;width:24px;height:24px;flex-shrink:0}#gts-chat .gts-chat-launch-label{font:inherit;line-height:1.5}
#gts-chat .gts-chat-panel{position:fixed;z-index:2;right:24px;bottom:24px;width:min(420px,calc(100vw - 32px));height:min(710px,calc(100dvh - 48px));background:var(--gc-paper);border:1px solid #939c96;box-shadow:0 16px 60px #17211d45;display:flex;flex-direction:column;overflow:hidden}
#gts-chat .gts-chat-header{display:flex;align-items:center;justify-content:space-between;padding:17px 20px;background:var(--gc-ink);color:#fff;border-bottom:1px solid var(--gc-ink);flex-shrink:0}#gts-chat .gts-chat-header small{color:#dce4de;font-family:Georgia,serif;font-size:10px;letter-spacing:.17em}#gts-chat .gts-chat-header h2{color:#fff;font-family:"Yu Mincho","Hiragino Mincho ProN",serif;font-size:23px;letter-spacing:.07em;font-weight:500;line-height:1.7}#gts-chat .gts-chat-close{font-size:27px;width:44px;height:44px;border:0}
#gts-chat .gts-chat-log{background:#f1f4f2;flex:1;min-height:80px;overflow-y:auto;overscroll-behavior:contain;padding:18px 18px 8px;scrollbar-width:thin;-webkit-overflow-scrolling:touch}#gts-chat .gts-chat-message{margin:0 20px 16px 0;padding:12px 14px;background:#fff;border:1px solid #d7ded9;border-radius:6px;overflow-wrap:anywhere}#gts-chat .gts-chat-message>small:first-child{letter-spacing:.08em;font-family:Georgia,serif;margin-bottom:5px}#gts-chat .gts-chat-message>p{white-space:pre-wrap;font-size:13px}#gts-chat .gts-chat-user{margin:0 0 20px 36px;padding:12px 14px;background:#e1e9e3;border:1px solid #ccd8ce}#gts-chat .gts-chat-waiting{color:var(--gc-muted)}
#gts-chat .gts-chat-topics{display:flex;gap:6px;overflow-x:auto;flex-shrink:0;padding:10px 16px 0;scrollbar-width:thin}#gts-chat .gts-chat-topics button{font-size:11px;flex-shrink:0;min-height:36px;padding:7px 10px;background:#f4f6f4;border:1px solid #adb7af}#gts-chat .gts-chat-condition{padding:8px 16px 0;display:flex;gap:8px;align-items:center;font-size:10px}#gts-chat .gts-chat-condition span{flex:1}#gts-chat .gts-chat-condition button{font-size:10px;padding:4px 7px;min-height:32px;text-decoration:underline;border:0}
#gts-chat .gts-chat-notice{font-size:10px;line-height:1.6;color:var(--gc-muted);padding:10px 16px 8px;flex-shrink:0}#gts-chat .gts-chat-form{display:flex;gap:7px;margin:0;padding:0 16px 10px;flex-shrink:0}#gts-chat .gts-chat-form input{min-width:0;flex:1;border:1px solid #9d9e94;background:#fff;padding:10px 12px;border-radius:0;font-size:16px;height:46px;box-shadow:none}#gts-chat .gts-chat-form button{background:var(--gc-ink);color:#fff;border:0;min-width:58px;height:46px;padding:10px;font-size:12px}
#gts-chat .gts-chat-footer{display:flex;align-items:center;gap:10px;justify-content:space-between;padding:10px 16px;background:#f4f6f4;border-top:1px solid #d1d9d3;flex-shrink:0}#gts-chat .gts-chat-line{background:#06c755!important;color:#fff!important;border-color:#06c755!important}#gts-chat .gts-chat-footer>a{padding:8px 11px;font-size:11px;min-height:36px;display:inline-flex;align-items:center}#gts-chat .gts-chat-clear{font-size:10px;min-height:36px;border:0;padding:5px;text-decoration:underline}
#gts-chat .gts-chat-links{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px}#gts-chat .gts-chat-link{display:inline-flex;align-items:center;padding:7px 10px;border:1px solid #bbb9af;font-size:11px;line-height:1.6;min-height:36px}#gts-chat .gts-chat-suggestions{display:grid;gap:7px;margin-top:12px}#gts-chat .gts-chat-suggestions button{text-align:left;font-size:12px;border:1px solid #c7c3b9;padding:8px 10px;background:#fff9;min-height:40px}
#gts-chat .gts-chat-car{border:1px solid var(--gc-line);padding:12px;margin-top:14px;background:#fff9}#gts-chat .gts-chat-car-photo{display:block;margin:-12px -12px 10px;background:#ece8df}#gts-chat .gts-chat-car-photo img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:contain;margin:0}#gts-chat .gts-chat-car h3{font-family:"Yu Mincho","Hiragino Mincho ProN",serif;font-size:16px;font-weight:600;line-height:1.7}#gts-chat .gts-chat-car h3 a{padding:0;border:0;font:inherit;min-height:0}#gts-chat .gts-chat-car-price{color:var(--gc-accent);font-weight:700;font-size:16px;margin-top:8px}#gts-chat .gts-chat-car-spec{font-size:11px;line-height:1.8;margin-top:5px}#gts-chat .gts-chat-sync{margin-top:10px}#gts-chat .gts-chat-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
@media(max-width:600px){#gts-chat .gts-chat-backdrop{display:block;position:fixed;inset:0;z-index:0;background:rgba(20,30,25,.42);touch-action:none}#gts-chat .gts-chat-launch{right:14px;bottom:calc(78px + env(safe-area-inset-bottom,0px));width:54px;height:54px;min-height:54px;border-radius:50%;border:2px solid #fff;padding:0;justify-content:center;gap:0;box-shadow:0 5px 22px #17211d45}#gts-chat .gts-chat-launch-label{display:none}#gts-chat .gts-chat-launch-icon{width:26px;height:26px}#gts-chat .gts-chat-panel{right:10px;bottom:calc(74px + env(safe-area-inset-bottom,0px));width:calc(100vw - 20px);height:min(650px,calc(100dvh - 96px - env(safe-area-inset-bottom,0px)))}#gts-chat .gts-chat-header{padding:12px 15px}#gts-chat .gts-chat-header h2{font-size:21px}#gts-chat .gts-chat-log{padding:14px 14px 6px}#gts-chat .gts-chat-topics{padding-top:8px}#gts-chat .gts-chat-notice{padding-top:7px}#gts-chat .gts-chat-footer{padding:7px 14px}}
@media(hover:hover){#gts-chat :is(.gts-chat-link,.gts-chat-suggestions button,.gts-chat-topics button):hover{filter:brightness(.96)}}
@media(max-height:540px){#gts-chat .gts-chat-panel{bottom:10px;height:calc(100dvh - 20px)}#gts-chat .gts-chat-header{padding:5px 14px}#gts-chat .gts-chat-header small,#gts-chat .gts-chat-topics{display:none}#gts-chat .gts-chat-header h2{font-size:18px}#gts-chat .gts-chat-log{min-height:32px;padding-top:8px}#gts-chat .gts-chat-notice{font-size:9px;padding:5px 14px}#gts-chat .gts-chat-footer{padding:5px 14px}#gts-chat .gts-chat-form{padding-bottom:6px}}
@media(prefers-reduced-motion:reduce){#gts-chat *{scroll-behavior:auto!important}}
