:root{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light;color:#1e293b;background-color:#f0f4f8;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;display:flex;min-width:320px;width:100%;min-height:100vh;min-height:100dvh;padding-top:env(safe-area-inset-top);padding-left:env(safe-area-inset-left);padding-right:env(safe-area-inset-right);overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;box-sizing:border-box}#root{width:100%;min-height:100vh;min-height:100dvh}button,a,[role=button]{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}.hermes-fab{position:fixed;right:16px;bottom:calc(16px + env(safe-area-inset-bottom));z-index:1200;width:52px;height:52px;border-radius:50%;border:none;cursor:pointer;font-size:24px;line-height:1;background:#1565c0;color:#fff;box-shadow:0 4px 20px #1565c059;transition:transform .15s ease,box-shadow .15s ease}.hermes-fab:hover{transform:translateY(-2px);box-shadow:0 6px 24px #1565c073}.hermes-panel{position:fixed;right:16px;bottom:calc(16px + env(safe-area-inset-bottom));z-index:1200;width:min(360px,calc(100vw - 24px));height:min(520px,calc(100dvh - 32px - env(safe-area-inset-bottom)));display:flex;flex-direction:column;background:#fff;border:1px solid #E2E8F0;border-radius:14px;box-shadow:0 8px 40px #0000001f;overflow:hidden;font-family:Noto Sans Thai,system-ui,sans-serif}.hermes-header{display:flex;align-items:center;justify-content:space-between;padding:10px 12px;background:#0d47a1;color:#fff}.hermes-title{font-size:14px;font-weight:600}.hermes-actions{display:flex;gap:4px}.hermes-icon-btn{width:30px;height:30px;padding:0;border:none;border-radius:8px;background:#ffffff1f;color:#fff;font-size:14px;cursor:pointer}.hermes-icon-btn:hover{background:#ffffff40}.hermes-messages{flex:1;overflow-y:auto;padding:12px;background:#f0f4f8;display:flex;flex-direction:column;gap:8px}.hermes-empty{margin:auto;font-size:13px;color:#94a3b8;text-align:center}.hermes-bubble{max-width:82%;padding:8px 12px;border-radius:12px;font-size:14px;line-height:1.45;word-break:break-word;white-space:pre-wrap}.hermes-me{align-self:flex-end;background:#1565c0;color:#fff;border-bottom-right-radius:4px}.hermes-bot{align-self:flex-start;background:#fff;color:#1a2332;border:1px solid #E2E8F0;border-bottom-left-radius:4px}.hermes-pending{opacity:.65}.hermes-error{padding:8px 12px;font-size:13px;color:#e53935;background:#ffebee;border-top:1px solid #FFCDD2}.hermes-inputrow{display:flex;gap:8px;padding:10px;border-top:1px solid #E2E8F0;background:#fff}.hermes-input{flex:1;min-width:0;padding:9px 12px;border:1px solid #E2E8F0;border-radius:10px;font-size:14px;font-family:inherit;color:#1a2332;background:#fff}.hermes-input:focus{outline:none;border-color:#1565c0;box-shadow:0 0 0 3px #1565c026}.hermes-send{padding:9px 16px;border:none;border-radius:10px;background:#1565c0;color:#fff;font-size:14px;font-weight:600;font-family:inherit;cursor:pointer}.hermes-send:disabled{opacity:.45;cursor:default}.hermes-send:not(:disabled):hover{background:#0d47a1}.hermes-daysep{align-self:center;margin:10px 0 6px;padding:2px 10px;border-radius:999px;background:#0d47a114;color:#5f6b7a;font-size:11px}.hermes-time{margin-top:3px;font-size:10px;color:#00000061;text-align:right;-webkit-user-select:none;user-select:none}.hermes-me .hermes-time{color:#ffffffa6}.hermes-meta{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:3px}.hermes-meta .hermes-time{text-align:left;flex:1}.hermes-copy{border:none;background:transparent;color:#1565c0;font-size:11px;cursor:pointer;padding:2px 6px;border-radius:6px;-webkit-user-select:none;user-select:none}.hermes-copy:hover{background:#0d47a114}
