/* HR service delivery (module 42): case conversation, suggestions, help desk centres, catalogue cards, the assistant. */
.cs-thread { display: grid; gap: 10px; }
.cs-msg { border: 1px solid #e3e9f1; border-radius: 12px; padding: 10px 12px; max-width: 92%; min-width: 0; }
.cs-msg .cs-meta { font-size: 12px; color: #6b7a8c; margin-bottom: 4px; }
.cs-msg .cs-body { overflow-wrap: anywhere; line-height: 1.5; }
.cs-msg.them { background: #f6f8fb; justify-self: start; }
.cs-msg.us { background: #eaf4ff; border-color: #cfe4fb; justify-self: end; }
.cs-msg.note { background: #fff8e6; border-color: #f5dfa3; justify-self: end; }
.cs-msg.sys { background: #f1f5f9; border-style: dashed; justify-self: center; font-size: 13px; }
.cs-tag { background: #f5a524; color: #fff; border-radius: 6px; padding: 0 6px; font-size: 11px; }
.cs-reply { margin-top: 12px; border-top: 1px solid #e3e9f1; padding-top: 12px; }
.cs-reply-bar { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.cs-reply-bar button { margin-left: auto; }
.cs-sugg { display: grid; gap: 10px; }
.cs-sugg-item { display: flex; flex-direction: column; gap: 2px; padding-bottom: 8px; border-bottom: 1px solid #e3e9f1; min-width: 0; }
.cs-sugg-item small { color: #4b5b6e; overflow-wrap: anywhere; }
.cs-why { color: #0c8ec6 !important; }
.cs-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; counter-reset: step; }
.cs-steps li { display: flex; gap: 10px; align-items: center; padding: 8px 10px; border: 1px solid #e3e9f1; border-radius: 10px; counter-increment: step; min-width: 0; }
.cs-steps li::before { content: counter(step); width: 22px; height: 22px; border-radius: 50%; background: #e6edf5; display: grid; place-items: center; font-size: 12px; font-weight: 700; flex: none; }
.cs-steps li.done::before { background: #13b985; color: #fff; }
.cs-steps li > span { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.cs-steps li small { color: #6b7a8c; }
.cs-steps li > i { color: #04955d; }
.cs-centres { display: flex; gap: 8px; flex-wrap: wrap; }
.cs-centres a { display: flex; flex-direction: column; padding: 8px 12px; border: 1px solid #d9e2ec; border-radius: 10px; background: #fff; color: inherit; text-decoration: none; min-width: 0; }
.cs-centres a.on { border-color: #2083ee; box-shadow: 0 0 0 2px rgba(32, 131, 238, .15); }
.cs-centres small { color: #6b7a8c; }
.cs-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.cs-card { display: flex; flex-direction: column; gap: 4px; padding: 14px; border: 1px solid #e3e9f1; border-radius: 12px; color: inherit; text-decoration: none; min-width: 0; }
.cs-card:hover { border-color: #2083ee; }
.cs-card > i { font-size: 22px; color: #2083ee; }
.cs-card small { color: #4b5b6e; }
.cs-card em { color: #6b7a8c; font-size: 12px; font-style: normal; }
.cs-summary { font-weight: 600; margin: 0 0 10px; }
.cs-article { line-height: 1.6; }
.cs-vote { display: flex; gap: 8px; }
.cs-stars { color: #f5a524; font-size: 18px; }
.cs-words { display: flex; flex-wrap: wrap; gap: 6px; }
.cs-words span { background: #eef3f8; border-radius: 14px; padding: 3px 10px; font-size: 12.5px; }
.cs-chat { display: grid; gap: 10px; margin-bottom: 12px; }
.cs-bubble { max-width: 85%; padding: 10px 12px; border-radius: 14px; min-width: 0; overflow-wrap: anywhere; display: grid; gap: 6px; }
.cs-bubble.me { justify-self: end; background: #2083ee; color: #fff; border-bottom-right-radius: 4px; }
.cs-bubble.bot { justify-self: start; background: #f1f5f9; border-bottom-left-radius: 4px; }
.cs-bubble .cs-at { opacity: .7; font-size: 11px; }
.cs-chat-art { background: #fff; border: 1px solid #e3e9f1; border-radius: 10px; padding: 8px 10px; display: flex; flex-direction: column; gap: 2px; color: #10233f; }
.cs-chat-art small { color: #4b5b6e; }
.cs-quick { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.cs-ask-bar { border-top: 1px solid #e3e9f1; padding-top: 12px; }
.cs-transcript { margin-top: 6px; font-size: 13px; color: #4b5b6e; }
.cs-transcript p { margin: 0 0 4px; }
.cs-link { border-top: 1px solid #e3e9f1; }
@media (max-width: 760px) {
    .cs-msg, .cs-bubble { max-width: 100%; }
}
