/* Ask Cinder Ridge chat */
.kcht{position:fixed;right:22px;bottom:22px;z-index:2500;font-family:Barlow,system-ui,sans-serif}
body.has-kcht .kn-top{bottom:96px}
.kcht-btn{display:flex;align-items:center;gap:10px;height:60px;padding:0 24px 0 18px;border:0;border-radius:999px;background:#FF6400;color:#0A0A0A;font:800 20px Barlow,sans-serif;cursor:pointer;box-shadow:0 10px 30px rgba(10,10,10,.35);transition:background .2s,color .2s,transform .2s}
.kcht-btn:hover{background:#2E9E4F;color:#fff;transform:translateY(-2px)}
.kcht.open .kcht-btn{display:none}
.kcht-box{position:absolute;right:0;bottom:0;width:410px;max-width:calc(100vw - 24px);height:min(640px,calc(100vh - 40px));background:#F5F5F5;border-radius:22px;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 24px 70px rgba(10,10,10,.45)}
.kcht-box[hidden]{display:none}
.kcht-box header{background:#0A0A0A;color:#fff;display:flex;align-items:center;gap:12px;padding:14px 14px 14px 18px;border-bottom:5px solid #FF6400}
.kcht-box header img{height:34px;width:auto}
.kcht-box header div{flex:1;min-width:0}
.kcht-box header b{display:block;font:800 italic 26px/1 'Barlow Condensed',sans-serif;text-transform:uppercase}
.kcht-box header span{display:flex;align-items:center;gap:6px;font:600 15px Barlow,sans-serif;color:#e3e3e3;margin-top:3px}
.kcht-box header span i{width:9px;height:9px;border-radius:50%;background:#3FCB6B}
.kcht-x{width:44px;height:44px;border:0;border-radius:50%;background:rgba(255,255,255,.12);color:#fff;font-size:30px;line-height:1;cursor:pointer}
.kcht-x:hover{background:#2E9E4F}
.kcht-log{flex:1;overflow-y:auto;padding:16px;display:flex;flex-direction:column;gap:10px}
.kcht-m{max-width:86%;padding:11px 15px;border-radius:18px;font:500 18px/1.4 Barlow,sans-serif;color:#0E0E0E;word-wrap:break-word}
.kcht-m p{margin:0}.kcht-m p+p{margin-top:8px}.kcht-m ul{margin:6px 0 0;padding-left:20px}.kcht-m li{margin:3px 0}
.kcht-m.a{background:#fff;border:1px solid #E5E5E5;border-bottom-left-radius:6px;align-self:flex-start}
.kcht-m.u{background:#141414;color:#fff;border-bottom-right-radius:6px;align-self:flex-end}
.kcht-m a{color:#141414;font-weight:800;text-decoration:underline}
.kcht-dots{display:flex;gap:5px;padding:16px 18px}.kcht-dots i{width:9px;height:9px;border-radius:50%;background:#8DA2B8;animation:kncb 1s infinite}.kcht-dots i:nth-child(2){animation-delay:.15s}.kcht-dots i:nth-child(3){animation-delay:.3s}
@keyframes kncb{0%,60%,100%{transform:none;opacity:.5}30%{transform:translateY(-5px);opacity:1}}
.kcht-chips{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:0 16px 12px}.kcht-chips:empty{display:none}
.kcht-chips button{height:46px;border:2px solid #141414;border-radius:999px;background:#fff;color:#141414;font:700 16px Barlow,sans-serif;cursor:pointer;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:0 10px}
.kcht-chips button:hover{background:#2E9E4F;border-color:#2E9E4F;color:#fff}
.kcht-f{display:flex;gap:8px;align-items:flex-end;padding:12px 14px;background:#fff;border-top:1px solid #E5E5E5}
.kcht-f textarea{flex:1;resize:none;border:2px solid #E5E5E5;border-radius:16px;padding:11px 14px;font:500 18px/1.35 Barlow,sans-serif;max-height:120px;outline:0}
.kcht-f textarea:focus{border-color:#FF8A3D}
.kcht-f button{flex:0 0 50px;height:50px;border:0;border-radius:50%;background:#FF6400;color:#0A0A0A;display:grid;place-items:center;cursor:pointer}
.kcht-f button:hover{background:#2E9E4F;color:#fff}
.kcht-call{margin:0;padding:0 14px 12px;background:#fff;text-align:center;font:600 16px Barlow,sans-serif;color:#6E6E6E}.kcht-call a{color:#141414;font-weight:800}
@media (max-width:600px){.kcht{right:12px;bottom:12px}.kcht-btn{height:56px;font-size:18px;padding:0 20px 0 16px}.kcht.open{left:0;right:0;bottom:0;top:0}.kcht-box{position:fixed;inset:0;width:auto;max-width:none;height:auto;border-radius:0}body.has-kcht .kn-top{bottom:84px}}
@media print{.kcht{display:none}}
/* v2: link buttons, photos, voice */
.kcht-m.a{max-width:92%}
.kcht-links{display:flex;flex-direction:column;gap:8px;margin-top:12px}
.kcht-go{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:54px;padding:10px 16px 10px 18px;border-radius:14px;background:#FF6400;color:#0A0A0A !important;text-decoration:none !important;font:800 18px/1.2 Barlow,sans-serif;box-shadow:0 4px 0 #CC5000;transition:background .2s,color .2s,box-shadow .2s,transform .1s}
.kcht-go svg{flex:0 0 22px}
.kcht-go:hover{background:#2E9E4F;color:#fff !important;box-shadow:0 4px 0 #1F6E37}
.kcht-go:active{transform:translateY(3px);box-shadow:0 1px 0 #CC5000}
.kcht-m a.kcht-tel{color:#141414;font-weight:800;text-decoration:none;border-bottom:2px solid #FF6400;white-space:nowrap}
.kcht-pics{display:grid;gap:6px;margin-top:12px}.kcht-pics.n2{grid-template-columns:1fr 1fr}.kcht-pics.n3{grid-template-columns:2fr 1fr;grid-template-rows:1fr 1fr}
.kcht-pic{padding:0;border:0;border-radius:12px;overflow:hidden;cursor:zoom-in;background:#101010;display:block;position:relative}
.kcht-pic img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .3s}
.kcht-pic:hover img{transform:scale(1.05)}
.kcht-pics.n1 .kcht-pic{aspect-ratio:16/10}.kcht-pics.n2 .kcht-pic{aspect-ratio:1}.kcht-pics.n3 .kcht-pic{aspect-ratio:auto;min-height:92px}.kcht-pics.n3 .kcht-pic:first-child{grid-row:1/3;min-height:190px}
.kcht-lb{position:absolute;inset:0;background:rgba(2,12,24,.95);z-index:5;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:60px 16px 20px;cursor:zoom-out}
.kcht-lb[hidden]{display:none}
.kcht-lb img{max-width:100%;max-height:72%;border-radius:12px;object-fit:contain}
.kcht-lb p{color:#fff;font:600 17px/1.4 Barlow,sans-serif;text-align:center;margin:14px 6px 0}
.kcht-lbx{position:absolute;top:12px;right:12px;width:46px;height:46px;border:0;border-radius:50%;background:rgba(255,255,255,.15);color:#fff;font-size:30px;cursor:pointer}.kcht-lbx:hover{background:#2E9E4F}
.kcht-mic{flex:0 0 50px;height:50px;border:2px solid #141414;border-radius:50%;background:#fff;color:#141414;display:grid;place-items:center;cursor:pointer;padding:0}
.kcht-mic:hover{background:#2E9E4F;border-color:#2E9E4F;color:#fff}
.kcht.listening .kcht-mic{background:#2E9E4F;border-color:#2E9E4F;color:#fff;animation:kchtring 1.4s infinite}
@keyframes kchtring{0%{box-shadow:0 0 0 0 rgba(46,158,79,.55)}100%{box-shadow:0 0 0 16px rgba(46,158,79,0)}}
.kcht-say,.kcht-talk{display:flex;align-items:center;gap:12px;margin:0 14px 10px;padding:10px 12px 10px 16px;border-radius:14px;background:#E8F6EC;border:2px solid #2E9E4F;font:700 17px Barlow,sans-serif;color:#0E0E0E}
.kcht-talk{background:#FFF1E8;border-color:#FF8A3D}
.kcht-say[hidden],.kcht-talk[hidden]{display:none}
.kcht-say b,.kcht-talk b{flex:1}
.kcht-say button,.kcht-talk button{height:40px;padding:0 16px;border:0;border-radius:999px;background:#141414;color:#fff;font:800 16px Barlow,sans-serif;cursor:pointer}.kcht-say button:hover,.kcht-talk button:hover{background:#2E9E4F}
.kcht-wave{display:flex;align-items:center;gap:3px;height:24px}.kcht-wave i{width:4px;height:8px;border-radius:2px;background:#2E9E4F;animation:kchtw 1s infinite ease-in-out}.kcht-talk .kcht-wave i{background:#FF8A3D}
.kcht-wave i:nth-child(2){animation-delay:.1s}.kcht-wave i:nth-child(3){animation-delay:.2s}.kcht-wave i:nth-child(4){animation-delay:.3s}.kcht-wave i:nth-child(5){animation-delay:.4s}
@keyframes kchtw{0%,100%{height:6px}50%{height:22px}}
.kcht-vmark{display:inline-flex;vertical-align:-4px;margin-right:6px;opacity:.75}.kcht-vmark svg{width:18px;height:18px}
.kcht-f{gap:8px}
@media (max-width:600px){.kcht-f textarea{font-size:17px}.kcht-mic,.kcht-f button.kcht-send{flex-basis:48px;height:48px}}
/* v2 fixes */
.kcht-log{position:relative}
.kcht-pic img{position:absolute;inset:0}
.kcht-f .kcht-mic{flex:0 0 50px;height:50px;border:2px solid #141414;border-radius:50%;background:#fff;color:#141414}
.kcht-f .kcht-mic:hover,.kcht.listening .kcht-f .kcht-mic{background:#2E9E4F;border-color:#2E9E4F;color:#fff}
.kcht .kcht-pic img{width:100% !important;height:100% !important;max-width:none !important}

/* New chat button */
.kcht-new{display:flex;align-items:center;gap:6px;height:42px;padding:0 14px 0 11px;border:2px solid #FF6400;border-radius:999px;background:transparent;color:#FF6400;font:800 16px Barlow,sans-serif;cursor:pointer;white-space:nowrap;flex:0 0 auto}
.kcht-new[hidden]{display:none}
.kcht-new:hover{background:#2E9E4F;border-color:#2E9E4F;color:#fff}
.kcht-box header span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.kcht-box:has(.kcht-new:not([hidden])) header span{display:none}
@media (max-width:600px){.kcht-box header img{display:none}}
.kcht-box header b{white-space:nowrap}.kcht-box header{gap:10px}
.kcht-box header:has(.kcht-new:not([hidden])) img{display:none}.kcht-box header div{min-width:auto}
