.dcd-chat-launcher{position:fixed;z-index:1000;right:max(20px,env(safe-area-inset-right));bottom:max(20px,env(safe-area-inset-bottom));display:flex;align-items:center;gap:11px;min-height:54px;padding:8px 18px 8px 10px;border:1px solid #dba534;border-radius:999px;background:#111217;color:#f7f2e8;box-shadow:0 10px 34px #0008;font-family:inherit;font-size:14px;font-weight:600;line-height:1.2;cursor:pointer;transition:transform .18s ease,background .18s ease,box-shadow .18s ease}
.dcd-chat-launcher:hover{transform:translateY(-2px);background:#1a1b20;box-shadow:0 14px 38px #0009,0 0 22px #dca7352b}
.dcd-chat-launcher:focus-visible,.dcd-chat-panel button:focus-visible,.dcd-chat-panel a:focus-visible{outline:3px solid #f5c658;outline-offset:3px}
.dcd-chat-launcher-mark{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#e6ac36;color:#15110a;font-size:18px}
.dcd-chat-launcher-copy{display:grid;gap:2px;text-align:left}
.dcd-chat-launcher-copy small{color:#bab9c0;font-size:10px;font-weight:500}
.dcd-chat-panel{position:fixed;z-index:1001;right:max(20px,env(safe-area-inset-right));bottom:calc(max(20px,env(safe-area-inset-bottom)) + 66px);display:flex;flex-direction:column;width:min(370px,calc(100vw - 32px));height:auto;min-height:0;max-height:min(560px,calc(100dvh - 110px));overflow:hidden;border:1px solid #39343a;border-radius:16px;background:#111217;color:#f5f1e9;box-shadow:0 24px 80px #000a;font-family:inherit}
.dcd-chat-panel[hidden],.dcd-chat-launcher[hidden]{display:none}
.dcd-chat-header{display:flex;align-items:center;gap:11px;padding:14px 15px;border-bottom:1px solid #ffffff18;background:linear-gradient(120deg,#1a1a20,#111217)}
.dcd-chat-brand{display:grid;place-items:center;flex:none;width:38px;height:38px;border:1px solid #dba534;border-radius:50%;color:#efbd4e;font-size:20px}
.dcd-chat-heading{min-width:0;flex:1}
.dcd-chat-heading h2{margin:0;color:#f8f4ed;font-size:15px;line-height:1.25}
.dcd-chat-heading p{margin:3px 0 0;color:#b8b6bf;font-size:11px;line-height:1.3}
.dcd-chat-header-actions{display:flex;gap:5px}
.dcd-chat-icon-button{display:grid;place-items:center;width:36px;height:36px;padding:0;border:1px solid #ffffff24;border-radius:9px;background:#17181e;color:#eee9df;font:inherit;font-size:19px;cursor:pointer}
.dcd-chat-icon-button:hover{border-color:#dba534;color:#f5c658}
.dcd-chat-content{flex:0 1 auto;min-height:0;overflow:auto;padding:17px 15px 13px;overscroll-behavior:contain;scrollbar-color:#50483c transparent}
.dcd-chat-welcome-label,.dcd-chat-topic{margin:0 0 8px;color:#e6b442;font-size:10px;font-weight:700;letter-spacing:.13em;text-transform:uppercase}
.dcd-chat-message{margin:0 0 16px;color:#e3e0db;font-size:13px;line-height:1.6}
.dcd-chat-context{margin-top:11px;padding:11px 12px;border:1px solid #ffffff16;border-radius:12px;background:#18191f}.dcd-chat-context-copy{margin:0;color:#e3e0db;font-size:12px;line-height:1.5}.dcd-chat-context-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px}.dcd-chat-more{margin-top:10px}
.dcd-chat-answer{padding:12px 13px;border:1px solid #ffffff16;border-radius:12px;background:#18191f}
.dcd-chat-answer p{margin:0;color:#e3e0db;font-size:13px;line-height:1.6}
.dcd-chat-answer .dcd-chat-topic{margin-bottom:7px}
.dcd-chat-link-list{display:flex;flex-wrap:wrap;gap:8px;margin-top:11px}
.dcd-chat-link{display:inline-flex;align-items:center;min-height:38px;padding:8px 11px;border:1px solid #d5a034;border-radius:8px;background:#dda632;color:#17120a;text-decoration:none;font-size:12px;font-weight:700}
.dcd-chat-link:hover{background:#f3bd4a}
.dcd-chat-link-secondary{border-color:#ffffff36;background:transparent;color:#f2eee6}
.dcd-chat-link-secondary:hover{border-color:#e0ac39;background:#211e18;color:#f5c658}
.dcd-chat-choices{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:14px}
.dcd-chat-choice{min-height:44px;padding:10px 11px;border:1px solid #6a552d;border-radius:9px;background:#201d18;color:#f3ebda;text-align:left;font-family:inherit;font-size:12px;font-weight:600;line-height:1.35;cursor:pointer;transition:border-color .15s ease,background .15s ease}
.dcd-chat-choice:hover{border-color:#e0ad3c;background:#2b261c}
.dcd-chat-choice:active{background:#342b1b}
.dcd-chat-bottom{padding:10px 14px 12px;border-top:1px solid #ffffff18;background:#111217}
.dcd-chat-bottom-actions{display:flex;justify-content:space-between;gap:10px}
.dcd-chat-bottom button{min-height:36px;padding:7px 9px;border:0;background:transparent;color:#e9b540;font-family:inherit;font-size:12px;font-weight:600;line-height:1.2;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.dcd-chat-bottom button:hover{color:#ffd775}
.dcd-chat-privacy{margin:7px 0 0;color:#a8a7af;font-size:10px;line-height:1.45}
.dcd-chat-sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
@media(max-width:620px){
 .dcd-chat-launcher{right:max(14px,env(safe-area-inset-right));bottom:max(14px,env(safe-area-inset-bottom));min-height:50px;padding-right:15px}
 .dcd-chat-launcher-mark{width:34px;height:34px}
 .dcd-chat-panel{inset:0;width:100%;height:100vh;height:100dvh;min-height:0;max-height:100dvh;box-sizing:border-box;border:0;border-radius:0;padding-bottom:env(safe-area-inset-bottom)}
 .dcd-chat-header{padding:calc(12px + env(safe-area-inset-top)) 14px 12px}
 .dcd-chat-content{padding:18px 16px}
 .dcd-chat-bottom{padding:11px 16px calc(11px + env(safe-area-inset-bottom))}
}
@media(prefers-reduced-motion:reduce){.dcd-chat-launcher,.dcd-chat-choice{transition:none}}
