.ccr-guide-options .ccr-guide-chat-entry{min-height:76px;background:#fff1e5;border:1px solid #f4aa70;color:#2b241e}
.ccr-guide-options .ccr-guide-chat-entry:hover{background:#ffe8d5;border-color:#e85d16}
.ccr-guide-chat-entry>span:last-child{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#ff6a13;color:#221a14!important;font-size:21px}
.ccr-chat-view[hidden]{display:none}
.ccr-guide-panel.ccr-chat-mode{width:min(480px,calc(100vw - 32px));height:min(690px,calc(100dvh - 132px));max-height:calc(100dvh - 132px);padding:0;overflow:hidden;border-radius:17px;box-shadow:0 22px 70px #101a1690}
.ccr-chat-mode .ccr-guide-footnote{display:none}
.ccr-chat-mode .ccr-guide-close{z-index:2;top:9px;right:10px;color:#fff;width:38px;height:38px;border-radius:50%}
.ccr-chat-mode .ccr-guide-close:hover{background:#ffffff24}
.ccr-chat-view{display:flex;flex-direction:column;height:100%;min-height:0;background:#f7f6f2}
.ccr-chat-header{flex:none;padding:13px 20px 17px;background:#252923;color:#fff}
.ccr-chat-header .ccr-guide-back{color:#d4d9d0;margin:0 0 10px;padding:2px 0;min-height:25px}
.ccr-chat-header .ccr-guide-back:hover{color:#fff}
.ccr-chat-identity{display:flex;align-items:center;gap:14px;padding-right:35px}
.ccr-chat-avatar{display:block;position:relative;flex:none;width:56px;height:56px;border-radius:50%;background:#ff6a13;overflow:hidden;border:2px solid #fff5;box-shadow:0 4px 15px #0004}
.ccr-chat-avatar img{display:block;width:100%;height:100%;object-fit:contain;object-position:center bottom}
.ccr-chat-identity small{display:block;font-size:9px;letter-spacing:1.3px;font-weight:800;color:#ff9b5f}
.ccr-chat-view h2{margin:2px 0 3px;font-family:var(--heading);font-size:26px;line-height:1.1;letter-spacing:-.4px;color:#fff}
.ccr-chat-identity em{font-style:normal;font-size:11px;color:#d5ded2}
.ccr-chat-log{display:flex;flex:1;min-height:0;flex-direction:column;gap:12px;overflow:auto;overscroll-behavior:contain;padding:22px 19px;scrollbar-color:#ccd2c7 transparent}
.ccr-chat-message{max-width:88%;margin:0;padding:12px 14px;border-radius:15px;font-size:13px;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere;box-shadow:0 2px 7px #1723180b}
.ccr-chat-user{align-self:flex-end;background:#ff6a13;color:#211a14;border-bottom-right-radius:4px}
.ccr-chat-assistant{align-self:flex-start;background:#fff;color:#252923;border:1px solid #e8ebe3;border-bottom-left-radius:4px}
.ccr-chat-typing{color:#697568;font-style:italic}
.ccr-chat-bottom{flex:none;background:#fff;border-top:1px solid #e4e7df;padding:12px 17px 13px}
.ccr-chat-suggestions{display:flex;gap:7px;overflow:auto;padding-bottom:8px;scrollbar-width:none}
.ccr-chat-suggestions button{flex:none;padding:7px 10px;border:1px solid #f0c2a1;border-radius:20px;background:#fff7f0;color:#9b3c0a;font:650 10px/1.25 var(--font);cursor:pointer}
.ccr-chat-suggestions button:hover{background:#ffe7d2;border-color:#e36a25}
.ccr-chat-form label{display:block;margin:1px 0 6px;font-size:10px;font-weight:750;color:#4a5349}
.ccr-chat-composer{display:flex;align-items:flex-end;gap:7px;padding:5px 5px 5px 12px;border:1px solid #cbd2c5;border-radius:12px;background:#fff;transition:border-color .2s,box-shadow .2s}
.ccr-chat-composer:focus-within{border-color:#e9671c;box-shadow:0 0 0 3px #ff6a1326}
.ccr-chat-form textarea{display:block;flex:1;min-width:0;min-height:41px;max-height:100px;resize:vertical;padding:9px 0 6px;border:0;outline:0;background:transparent;color:#222820;font:13px/1.4 var(--font)}
.ccr-chat-form button{display:grid;place-items:center;flex:none;width:39px;height:39px;border:0;border-radius:9px;background:#ff6a13;color:#211a14;font:700 22px/1 var(--font);cursor:pointer}
.ccr-chat-form button:hover{background:#f15d0b}
.ccr-chat-form button:disabled{opacity:.55;cursor:wait}
.ccr-chat-disclosure{margin:8px 0 0;font-size:9px;line-height:1.4;color:#647063}
.ccr-chat-actions{display:flex;justify-content:space-between;gap:8px;margin-top:9px;padding-top:9px;border-top:1px solid #edf0ea}
.ccr-chat-actions button,.ccr-chat-actions a{padding:3px 0;border:0;background:transparent;color:#ae460e;font:700 11px/1.35 var(--font);text-decoration:none;cursor:pointer}
.ccr-chat-actions button:hover,.ccr-chat-actions a:hover{text-decoration:underline}
.ccr-chat-actions button:disabled{opacity:.55;cursor:wait;text-decoration:none}
@media(max-width:580px){
  .ccr-guide-panel.ccr-chat-mode{right:0;width:calc(100vw - 26px);height:min(690px,calc(100dvh - 109px));max-height:calc(100dvh - 109px)}
  .ccr-chat-header{padding:11px 16px 14px}
  .ccr-chat-view h2{font-size:24px}
  .ccr-chat-log{padding:17px 13px;gap:10px}
  .ccr-chat-message{max-width:92%;font-size:12px}
  .ccr-chat-bottom{padding:10px 12px 11px}
}
@media(prefers-reduced-motion:reduce){.ccr-chat-composer{transition:none}}
