.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; }
.hermes-chat { --chat-bottom: 22px; position: fixed; z-index: 180; right: 22px; bottom: var(--chat-bottom); font-family: "Anek Bangla", system-ui, sans-serif; color: #20242f; }
.hermes-launcher { min-height: 52px; display: flex; align-items: center; gap: 9px; padding: 0 17px 0 10px; border: 0; border-radius: 999px; background: #087f75; color: #fff; box-shadow: 0 12px 35px rgba(1, 64, 59, .3); cursor: pointer; font: 700 15px/1 "Anek Bangla", sans-serif; }
.hermes-launcher span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.16); font-size: 18px; }
.hermes-launcher:hover { background: #056b63; transform: translateY(-1px); }
.hermes-panel { position: absolute; right: 0; bottom: 66px; width: min(380px, calc(100vw - 28px)); height: min(570px, calc(100vh - 110px)); overflow: hidden; border: 1px solid rgba(8,127,117,.18); border-radius: 22px; background: #fff; box-shadow: 0 25px 70px rgba(20,35,45,.24); }
.hermes-panel[hidden] { display: none; }
.hermes-panel header { min-height: 76px; display: grid; grid-template-columns: 46px 1fr 38px; align-items: center; gap: 10px; padding: 13px 14px; background: linear-gradient(135deg, #087f75, #075d58); color: #fff; }
.hermes-avatar { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.25); border-radius: 14px; background: rgba(255,255,255,.15); font: 800 23px/1 "Manrope", sans-serif; }
.hermes-panel header b, .hermes-panel header small { display: block; }
.hermes-panel header b { font-size: 17px; }
.hermes-panel header small { margin-top: 2px; color: rgba(255,255,255,.82); font-size: 12px; }
.hermes-panel header small i { width: 7px; height: 7px; display: inline-block; margin-right: 6px; border-radius: 50%; background: #72e8b5; box-shadow: 0 0 0 3px rgba(114,232,181,.14); }
.hermes-close { width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; cursor: pointer; font: 400 25px/1 sans-serif; }
.hermes-messages { height: calc(100% - 210px); min-height: 230px; padding: 17px 14px; overflow-y: auto; background: linear-gradient(#f6fbfa, #fff); scrollbar-width: thin; }
.hermes-message { display: flex; margin: 0 0 11px; }
.hermes-message p { max-width: 86%; margin: 0; padding: 10px 12px; border-radius: 15px 15px 15px 4px; background: #fff; color: #2c3440; box-shadow: 0 3px 12px rgba(30,45,55,.08); font-size: 15px; line-height: 1.5; white-space: pre-wrap; }
.hermes-message.user { justify-content: flex-end; }
.hermes-message.user p { border-radius: 15px 15px 4px 15px; background: #087f75; color: #fff; box-shadow: none; }
.hermes-quick { display: flex; gap: 6px; padding: 8px 12px; overflow-x: auto; border-top: 1px solid #e7efed; background: #fff; scrollbar-width: none; }
.hermes-quick::-webkit-scrollbar { display: none; }
.hermes-quick button { flex: 0 0 auto; min-height: 34px; padding: 0 11px; border: 1px solid #bcded9; border-radius: 999px; background: #f5fbfa; color: #076b63; cursor: pointer; font: 700 13px/1 "Anek Bangla", sans-serif; }
.hermes-form { display: grid; grid-template-columns: 1fr 42px; gap: 8px; align-items: end; padding: 10px 12px 6px; border-top: 1px solid #e7efed; background: #fff; }
.hermes-form textarea { min-height: 42px; max-height: 92px; resize: none; padding: 10px 12px; border: 1px solid #d7e1df; border-radius: 13px; outline: 0; color: #20242f; background: #fff; font: 500 15px/1.4 "Anek Bangla", sans-serif; }
.hermes-form textarea:focus { border-color: #087f75; box-shadow: 0 0 0 3px rgba(8,127,117,.1); }
.hermes-form button { width: 42px; height: 42px; border: 0; border-radius: 13px; background: #f26f2b; color: #fff; cursor: pointer; font-size: 17px; }
.hermes-form button:disabled, .hermes-form textarea:disabled { opacity: .6; cursor: wait; }
.hermes-privacy { margin: 0; padding: 1px 13px 8px; color: #7c858c; background: #fff; font-size: 11px; line-height: 1.3; text-align: center; }
@media (max-width: 960px) { .hermes-chat { --chat-bottom: 76px; right: 12px; } }
@media (max-width: 520px) { .hermes-launcher b { display: none; } .hermes-launcher { width: 52px; padding: 0 9px; } .hermes-panel { right: 0; height: min(560px, calc(100vh - 154px)); border-radius: 18px; } }
@media (prefers-reduced-motion: reduce) { .hermes-launcher { transition: none; } }
