
/* CHT Quick Tech Answers: browser-only troubleshooting assistant */
#cht-tech-bot{position:fixed;right:22px;bottom:20px;z-index:10000;font-family:Inter,"Segoe UI",Arial,sans-serif;color:#243543}
#cht-tech-bot *{box-sizing:border-box}
#cht-tech-bot [hidden]{display:none!important}
#cht-tech-bot button,#cht-tech-bot input{font:inherit}
#cht-tech-bot a{color:#984923}
#cht-tech-bot button:focus-visible,#cht-tech-bot a:focus-visible,#cht-tech-bot input:focus-visible{outline:3px solid #E78345;outline-offset:3px}
#cht-tech-bot .cht-bot-launch{display:flex;align-items:center;gap:10px;background:#152A3A;color:#fff;border:1px solid #394B57;border-radius:999px;padding:11px 18px 11px 10px;box-shadow:0 6px 25px rgba(9,28,42,.22);font-size:13px;font-weight:750;white-space:nowrap;cursor:pointer}
#cht-tech-bot .cht-bot-launch:hover{background:#243E4E}
#cht-tech-bot .cht-bot-launch-mark{display:grid;place-items:center;background:#E78345;color:#152A3A;border-radius:50%;width:29px;height:29px;font-weight:900;font-size:18px;line-height:1}
#cht-tech-bot .cht-bot-panel{position:absolute;right:0;bottom:68px;width:min(394px,calc(100vw - 24px));height:min(595px,calc(100dvh - 108px));min-height:340px;background:#fff;border:1px solid #D9CABB;box-shadow:0 15px 48px rgba(11,26,38,.22);border-radius:12px;overflow:hidden;display:flex;flex-direction:column}
#cht-tech-bot .cht-bot-header{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#152A3A;padding:16px 17px;color:#fff;flex:none}
#cht-tech-bot .cht-bot-header h2{color:#fff;margin:2px 0 0;font-size:19px;font-weight:780;letter-spacing:-.5px;line-height:1.3}
#cht-tech-bot .cht-bot-brand{color:#EFA673;font-size:9px;letter-spacing:1.4px;font-weight:850}
#cht-tech-bot .cht-bot-close{border:1px solid #70818B;color:#fff;background:transparent;border-radius:5px;width:35px;height:35px;display:grid;place-items:center;font-size:26px;line-height:1;cursor:pointer}
#cht-tech-bot .cht-bot-close:hover{background:#345061}
#cht-tech-bot .cht-bot-notice{background:#FAF4EF;color:#665E58;border-bottom:1px solid #E9DFD7;font-size:11px;line-height:1.5;padding:9px 16px;flex:none}
#cht-tech-bot .cht-bot-messages{flex:1 1 auto;overflow-y:auto;overscroll-behavior:contain;padding:16px;background:#FBFCFD;display:flex;flex-direction:column;gap:13px;min-height:90px}
#cht-tech-bot .cht-bot-message{border:1px solid #E6DFD8;background:#fff;padding:12px 13px;border-radius:7px;max-width:97%;align-self:flex-start;line-height:1.55}
#cht-tech-bot .cht-bot-user{align-self:flex-end;background:#EAF0F3;border-color:#D7E3E9;max-width:89%}
#cht-tech-bot .cht-bot-who{display:block;color:#A0522E;font-size:10px;letter-spacing:.7px;margin-bottom:6px}
#cht-tech-bot .cht-bot-user .cht-bot-who{color:#416174}
#cht-tech-bot .cht-bot-message p{color:#34434B;white-space:pre-line;font-size:12.8px;line-height:1.64;margin:0;overflow-wrap:anywhere}
#cht-tech-bot .cht-bot-message a{display:inline-block;font-size:12px;font-weight:800;margin-top:10px;text-decoration:underline;text-underline-offset:2px}
#cht-tech-bot .cht-bot-suggestions{flex:none;display:flex;gap:6px;flex-wrap:wrap;padding:10px 12px;border-top:1px solid #ECE4DC;background:#fff}
#cht-tech-bot .cht-bot-suggestions button{border:1px solid #DCCBBE;background:#FFF9F5;color:#774528;padding:6px 9px;border-radius:999px;font-size:11px;font-weight:680;line-height:1.25;cursor:pointer}
#cht-tech-bot .cht-bot-suggestions button:hover{background:#FCEADD}
#cht-tech-bot .cht-bot-form{border-top:1px solid #ECE4DC;background:#fff;padding:11px 13px 8px;flex:none}
#cht-tech-bot .cht-bot-field-label{font-size:11px;color:#45535A;font-weight:780;display:block;margin-bottom:6px}
#cht-tech-bot .cht-bot-input-row{display:flex;gap:7px}
#cht-tech-bot .cht-bot-input-row input{width:100%;min-width:0;flex:1;border:1px solid #B4BFC2;background:#fff;border-radius:5px;padding:11px;font-size:14px;color:#243543}
#cht-tech-bot .cht-bot-input-row button{background:#152A3A;color:#fff;border:0;border-radius:5px;padding:0 15px;cursor:pointer;font-size:13px;font-weight:750}
#cht-tech-bot .cht-bot-input-row button:hover{background:#243E4E}
#cht-tech-bot #cht-bot-input-help{font-size:10px;color:#717474;margin:8px 0 0;line-height:1.4}
#cht-tech-bot .cht-bot-bottom{flex:none;border-top:1px solid #ECE4DC;padding:9px 13px;background:#FAF8F5;text-align:center}
#cht-tech-bot .cht-bot-bottom a{font-size:12px;font-weight:800;text-decoration:none}
@media (max-width:600px){
 #cht-tech-bot{right:10px;bottom:calc(10px + env(safe-area-inset-bottom,0px))}
 #cht-tech-bot .cht-bot-launch{padding:8px 14px 8px 8px;font-size:12px}
 #cht-tech-bot .cht-bot-panel{width:calc(100vw - 20px);height:min(660px,calc(100dvh - 100px));bottom:57px}
 #cht-tech-bot .cht-bot-messages{padding:12px}
 #cht-tech-bot .cht-bot-suggestions{padding:8px}
 #cht-tech-bot .cht-bot-suggestions button{font-size:10.5px;padding:5px 8px}
}
@media(prefers-reduced-motion:reduce){#cht-tech-bot *{scroll-behavior:auto!important;transition:none!important}}

/* Easier to read quick topics, with personal advice option */
#cht-tech-bot .cht-bot-suggestions{max-height:114px;overflow-y:auto;align-content:start}
#cht-tech-bot .cht-bot-suggestions button{font-size:12px;padding:8px 10px;line-height:1.35;min-height:34px}
#cht-tech-bot .cht-bot-bottom span{display:block;font-size:11px;color:#665F59;margin-bottom:4px}
#cht-tech-bot .cht-bot-bottom a{font-size:13px;display:inline-block;padding:4px;text-decoration:underline;text-underline-offset:2px}
#cht-tech-bot .cht-bot-message p{font-size:13.5px;line-height:1.7}
#cht-tech-bot .cht-bot-notice{font-size:12px}
@media(max-width:600px){#cht-tech-bot .cht-bot-suggestions{max-height:100px}#cht-tech-bot .cht-bot-suggestions button{font-size:11px;padding:7px 9px}}

/* Readable text and touch controls for older visitors */
#cht-tech-bot .cht-bot-suggestions button{font-size:14px;min-height:40px;padding:10px 11px}
#cht-tech-bot .cht-bot-message p{font-size:14px;line-height:1.7}
#cht-tech-bot .cht-bot-input-row input{font-size:16px;min-height:44px}
#cht-tech-bot .cht-bot-input-row button{min-height:44px;font-size:14px}
#cht-tech-bot .cht-bot-close{min-width:40px;min-height:40px}
@media(max-width:600px){#cht-tech-bot .cht-bot-suggestions button{font-size:13px;min-height:38px;padding:8px 10px}}

/* CHT 2026-11 customer-support usability pass */
#cht-tech-bot .cht-bot-panel{max-height:calc(100dvh - 90px);min-height:0}
#cht-tech-bot .cht-bot-messages{flex:1 1 120px;min-height:70px;scrollbar-gutter:stable;overflow-y:auto;overscroll-behavior:contain}
#cht-tech-bot .cht-bot-form{position:relative;z-index:2}
#cht-tech-bot .cht-bot-input-row button,#cht-tech-bot .cht-bot-suggestions button{touch-action:manipulation;position:relative;z-index:2}
#cht-tech-bot .cht-bot-suggestions{flex:0 0 auto;max-height:105px;overflow-y:auto}
#cht-tech-bot .cht-bot-message{width:fit-content;max-width:97%}
@media(max-width:600px){#cht-tech-bot .cht-bot-panel{height:min(620px,calc(100dvh - 80px));bottom:56px}#cht-tech-bot .cht-bot-suggestions{max-height:94px}}
