.hr-ai-assistant { position: fixed; right: 18px; bottom: 18px; z-index: 12500; width: min(390px,calc(100vw - 24px)); max-height: calc(100dvh - 36px); display: flex; flex-direction: column; overflow: hidden; border: 1px solid #d6e0ec; border-top: 3px solid #3371b7; border-radius: 8px; background: #fff; color: #152840; box-shadow: 0 8px 36px #10203f33; font-family: var(--bs-body-font-family,Arial,sans-serif); font-size: 12px; line-height: 1.5; }
.hr-ai-assistant > header { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 12px; border-bottom: 1px solid #d6e0ec; }
.hr-ai-assistant > header strong { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.hr-ai-assistant > header strong i { color: #3371b7; }
.hr-ai-assistant > header > div { display: flex; gap: 4px; }
.hr-ai-assistant > header button { width: 30px; height: 30px; border: 1px solid #d6e0ec; border-radius: 5px; background: #fff; color: #36536d; cursor: pointer; }
.hr-ai-assistant > header button:hover { background: #edf4fc; color: #3371b7; }
.hr-ai-assistant-content { display: flex; flex-direction: column; min-height: 0; overflow-y: auto; }
.hr-ai-assistant-messages { padding: 12px; display: flex; flex-direction: column; gap: 10px; max-height: 34dvh; min-height: 70px; overflow-y: auto; flex-shrink: 0; }
.hr-ai-assistant-message { border-radius: 6px; padding: 10px; background: #f1f6fc; overflow-wrap: anywhere; }
.hr-ai-assistant-message.is-user { background: #fff; border: 1px solid #d6e0ec; margin-left: 24px; }
.hr-ai-assistant-message.tone-error { background: #fff1f1; color: #a33232; }
.hr-ai-assistant-message small { display: block; margin-bottom: 4px; color: #60738a; font-weight: 700; }
.hr-ai-assistant-message p { white-space: pre-line; margin: 0; }
.hr-ai-assistant-message ul { margin: 8px 0 0; padding-left: 17px; }
.hr-ai-assistant-working { display: flex; gap: 8px; align-items: center; color: #60738a; margin: 0; }
.hr-ai-assistant-feature { padding: 0 12px 12px; }
.hr-ai-assistant footer { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; border-top: 1px solid #d6e0ec; padding: 12px; }
.hr-ai-assistant form { display: flex; align-items: flex-end; gap: 8px; padding: 12px; border-top: 1px solid #d6e0ec; }
.hr-ai-assistant textarea { min-width: 0; font-size: 12px; resize: vertical; }
.hr-ai-assistant button:focus-visible, .hr-ai-assistant input:focus-visible { outline: 2px solid #3371b7; outline-offset: 2px; }
@media(max-width:600px) { .hr-ai-assistant { right: 12px; bottom: 12px; max-height: calc(100dvh - 24px); } }
