#hermes-btn{position:fixed;bottom:24px;right:24px;width:52px;height:52px;border-radius:50%;background:#2563EB;color:#FFF;border:none;font-family:'DM Mono',monospace;font-size:22px;font-weight:700;cursor:pointer;z-index:9998;box-shadow:0 4px 16px rgba(37,99,235,0.32);transition:all .18s ease;display:flex;align-items:center;justify-content:center;letter-spacing:-1px}
#hermes-btn:hover{background:#1D4ED8;transform:scale(1.06);box-shadow:0 6px 24px rgba(37,99,235,0.42)}
#hermes-backdrop{position:fixed;inset:0;background:rgba(0,0,0,0.3);z-index:9999;opacity:0;pointer-events:none;transition:opacity .2s ease}
#hermes-backdrop.on{opacity:1;pointer-events:auto}
#hermes-panel{position:fixed;top:0;right:0;bottom:0;width:380px;background:#FFFFFF;border-left:3px solid #2563EB;z-index:10000;transform:translateX(100%);transition:transform .2s ease;display:flex;flex-direction:column;font-family:'DM Sans',sans-serif}
#hermes-panel.on{transform:translateX(0)}
@media(max-width:480px){#hermes-panel{width:100%;border-left:none;border-top:3px solid #2563EB}}
.hermes-hdr{padding:16px 18px 14px;border-bottom:1px solid #E5E7EB;display:flex;align-items:flex-start;justify-content:space-between;gap:10px;flex-shrink:0}
.hermes-title{font-family:'DM Mono',monospace;font-size:15px;font-weight:700;color:#2563EB;letter-spacing:0.4px;line-height:1}
.hermes-sub{font-family:'DM Sans',sans-serif;font-size:11px;color:#6B7280;margin-top:3px;font-weight:400}
.hermes-close{background:transparent;border:none;font-size:24px;color:#6B7280;cursor:pointer;line-height:1;padding:0;width:24px;height:24px;display:flex;align-items:center;justify-content:center;font-weight:300}
.hermes-close:hover{color:#111827}
.hermes-msgs{flex:1;overflow-y:auto;padding:14px 18px 4px}
.hermes-welcome{padding:6px 0 12px}
.hermes-w-title{font-family:'DM Sans',sans-serif;font-size:17px;font-weight:700;color:#111827;margin-bottom:8px;line-height:1.3}
.hermes-w-desc{font-family:'DM Sans',sans-serif;font-size:13px;color:#4B5563;line-height:1.5;margin-bottom:16px}
.hermes-chips{display:flex;flex-wrap:wrap;gap:6px}
.hermes-chip{background:rgba(37,99,235,0.08);border:1px solid rgba(37,99,235,0.18);color:#2563EB;font-family:'DM Mono',monospace;font-size:10px;padding:6px 11px;border-radius:14px;cursor:pointer;transition:all .12s ease;letter-spacing:0.2px;font-weight:500}
.hermes-chip:hover{background:rgba(37,99,235,0.16);border-color:rgba(37,99,235,0.32)}
.hermes-msg{margin:14px 0}
.hermes-msg-user{display:flex;justify-content:flex-end}
.hermes-msg-user .hermes-bubble{max-width:80%;background:#2563EB;color:#FFFFFF;padding:9px 14px;border-radius:14px;font-size:13px;line-height:1.45;word-wrap:break-word}
.hermes-msg-hermes{display:flex;flex-direction:column;align-items:flex-start}
.hermes-label{font-family:'DM Mono',monospace;font-size:9px;color:#2563EB;text-transform:uppercase;letter-spacing:0.7px;margin-bottom:4px;font-weight:700}
.hermes-body{font-family:'DM Sans',sans-serif;font-size:13px;color:#111827;line-height:1.5;max-width:100%}
.hermes-body strong{color:#111827;font-weight:600}
.hermes-logged{font-family:'DM Mono',monospace;font-size:10px;color:rgba(37,99,235,0.55);margin:2px 0 4px;padding-left:0;letter-spacing:0.4px;text-transform:uppercase;font-weight:600}
.hermes-dots{display:inline-flex;gap:3px;align-items:center;height:14px}
.hermes-dots span{width:5px;height:5px;border-radius:50%;background:#2563EB;opacity:0.3;animation:hermes-dot 1.3s infinite}
.hermes-dots span:nth-child(2){animation-delay:0.16s}
.hermes-dots span:nth-child(3){animation-delay:0.32s}
@keyframes hermes-dot{0%,80%,100%{opacity:0.3}40%{opacity:0.95}}
.hermes-input-wrap{padding:12px 16px 14px;border-top:1px solid #E5E7EB;display:flex;gap:8px;align-items:flex-end;background:#FFFFFF;flex-shrink:0}
#hermes-input{flex:1;font-family:'DM Sans',sans-serif;font-size:13px;padding:9px 12px;border:1px solid #E5E7EB;border-radius:9px;outline:none;resize:none;max-height:90px;line-height:1.4;color:#111827;background:#FFFFFF;transition:border-color .15s}
#hermes-input:focus{border-color:#2563EB}
#hermes-input::placeholder{color:#9CA3AF}
#hermes-send{width:34px;height:34px;border-radius:8px;background:#2563EB;color:#FFFFFF;border:none;cursor:pointer;font-size:15px;font-weight:600;flex-shrink:0;display:flex;align-items:center;justify-content:center;transition:background .15s}
#hermes-send:hover:not(:disabled){background:#1D4ED8}
#hermes-send:disabled{opacity:0.4;cursor:not-allowed}
