/* Compact support panel. Final layer owns the Help Desk presentation. */
.united-store .united-helpdesk { font: 14px/1.6 var(--united-font-body); right: 24px; }
.united-store .united-helpdesk .chatbot-toggle { min-height: 48px; gap: .65rem; padding: .85rem 1.15rem; border: 0; border-radius: 24px; background: #12304A; color: #FFFFFF; box-shadow: 0 6px 24px #12304A20; font-size: .85rem; }
.united-store .united-helpdesk .chatbot-toggle:hover { background: #377DB5; color: #FFFFFF; }
.united-store .united-helpdesk .chatbot-panel { position: fixed; inset: auto 20px calc(100dvh - var(--united-visible-height,100dvh) - var(--united-visible-top,0px) + 16px) auto; width: min(500px,calc(100vw - 32px)); height: min(740px,calc(var(--united-visible-height,100dvh) - 32px)); border: 0; border-radius: 16px; background: #F2F5F8; box-shadow: 0 18px 70px #12304A30; overflow: hidden; }
.united-store .united-helpdesk .chatbot-header { gap: .85rem; padding: 1.25rem; background: #12304A; color: #FFFFFF; border: 0; border-radius: 0; }
.united-store .united-helpdesk .desk-brand-mark { display: grid; place-items: center; flex: 0 0 42px; height: 42px; background: #FFFFFF; color: #12304A; border-radius: 10px; font-size: 1rem; font-weight: 600; }
.united-store .united-helpdesk .desk-header-copy { min-width: 0; }
.united-store .united-helpdesk .chatbot-header h2 { margin: 0; font: 500 1rem/1.4 var(--united-font-body); color: #FFFFFF; }
.united-store .united-helpdesk .desk-service-label { display: block; padding: 0; margin-top: .2rem; border: 0; color: #DCECF8; font-size: .65rem; line-height: 1.5; }
.united-store .united-helpdesk .chatbot-icon-button { display: grid; place-items: center; flex: 0 0 44px; height: 44px; margin-left: auto; padding: 0; background: #FFFFFF12; border: 0; border-radius: 50%; color: #FFFFFF; font-size: 1rem; }
.united-store .united-helpdesk .chatbot-icon-button:hover { background: #377DB5; }
.united-store .united-helpdesk .desk-workspace { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.united-store .united-helpdesk .desk-tools { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: .35rem; flex: 0 0 auto; padding: .85rem; background: #FFFFFF; border: 0; overflow: visible; }
.united-store .united-helpdesk .desk-tools > button { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: .45rem; min-width: 0; min-height: 64px; padding: .55rem .15rem; border: 0; border-radius: 8px; background: transparent; color: #12304A; font-size: .66rem; line-height: 1.4; font-weight: 500; white-space: normal; }
.united-store .united-helpdesk .desk-tools > button > span:first-child { display: inline-grid; place-items: center; width: 24px; height: 22px; font-size: 1rem; }
.united-store .united-helpdesk .desk-tools > button:is(.is-selected,[aria-expanded=true]) { background: #DCECF8; color: #12304A; }
.united-store .united-helpdesk .desk-tools > button:hover { background: #F2F5F8; color: #12304A; }
.united-store .united-helpdesk .desk-tools > button.is-selected:hover { background: #DCECF8; }
.united-store .united-helpdesk .desk-main { flex: 1; display: flex; flex-direction: column; min-height: 0; overflow: hidden; background: #F2F5F8; }
.united-store .united-helpdesk .chatbot-conversation { order: 1; min-height: 0; flex: 1; }
.united-store .united-helpdesk .chatbot-scroll { padding: 1.25rem; }
.united-store .united-helpdesk .chatbot-welcome { height: 100%; }
.united-store .united-helpdesk .desk-empty { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: .75rem; min-height: 100%; padding: 1rem .5rem; color: #12304A; }
.united-store .united-helpdesk .desk-empty-symbol { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: #DCECF8; color: #12304A; font-size: 1.4rem; }
.united-store .united-helpdesk .desk-empty strong { font-size: 1.35rem; font-weight: 500; line-height: 1.3; }
.united-store .united-helpdesk .desk-empty p { max-width: 330px; margin: 0; font-size: .85rem; line-height: 1.8; color: #12304A; }
.united-store .united-helpdesk .desk-empty-note { font-size: .72rem; color: #12304A; }
.united-store .united-helpdesk :is(.desk-lookup,.chatbot-composer) { order: 2; padding: 1rem 1.25rem; background: #FFFFFF; border: 0; margin: 0; }
.united-store .united-helpdesk :is(.desk-lookup,.chatbot-composer) label { margin-bottom: .6rem; font-size: .75rem; font-weight: 600; color: #12304A; }
.united-store .united-helpdesk :is(.desk-lookup-row,.chatbot-input-row) { display: flex; flex-wrap: nowrap; align-items: stretch; gap: .5rem; }
.united-store .united-helpdesk .desk-lookup-row input, .united-store .united-helpdesk .chatbot-input-row textarea { flex: 1 1 0; width: 100%; min-width: 0; min-height: 48px; max-height: 104px; padding: .75rem; background: #F2F5F8; color: #12304A; border: 0; border-radius: 8px; font-size: 16px; }
.united-store .united-helpdesk .chatbot-input-row textarea { resize: none; }
.united-store .united-helpdesk :is(.desk-lookup-row,.chatbot-input-row) button { width: auto; flex: 0 0 auto; min-height: 48px; max-width: 140px; padding: .65rem .85rem; background: #12304A; color: #FFFFFF; border: 0; border-radius: 8px; font-size: .72rem; }
.united-store .united-helpdesk :is(.desk-lookup-row,.chatbot-input-row) button:disabled { background: #DCECF8; color: #12304A; opacity: 1; }
.united-store .united-helpdesk .desk-lookup small { margin-top: .65rem; font-size: .67rem; line-height: 1.6; color: #12304A; }
.united-store .united-helpdesk .chatbot-input-meta { margin-top: .5rem; font-size: .6rem; color: #12304A; }
.united-store .united-helpdesk .chatbot-messages { gap: 1rem; }
.united-store .united-helpdesk .chatbot-message { padding: 1rem; background: #FFFFFF; border: 0; border-radius: 10px; }
.united-store .united-helpdesk .chatbot-message-meta { gap: .5rem; margin-bottom: .6rem; color: #12304A; font-size: .65rem; }
.united-store .united-helpdesk .chatbot-message-meta time { font-size: .6rem; }
.united-store .united-helpdesk .chatbot-bubble p { font-size: .82rem; line-height: 1.8; color: #12304A; }
.united-store .united-helpdesk .user-message { display: block; align-self: flex-end; max-width: 90%; padding: .85rem 1rem; background: #DCECF8; }
.united-store .united-helpdesk .user-message .chatbot-message-meta { margin-bottom: .35rem; }
.united-store .united-helpdesk .user-message .chatbot-bubble p { font-size: .8rem; }
.united-store .united-helpdesk .chatbot-products { gap: .5rem; margin-top: 1rem; border: 0; }
.united-store .united-helpdesk .chatbot-product { padding: .75rem; background: #F2F5F8; border: 0; border-radius: 8px; }
.united-store .united-helpdesk .chatbot-product:hover { background: #DCECF8; }
.united-store .united-helpdesk .chatbot-product-copy { grid-template-columns: minmax(0,1fr); }
.united-store .united-helpdesk .chatbot-product-price { grid-column: 1; grid-row: auto; margin-top: .25rem; }
.united-store .united-helpdesk :is(.chatbot-actions,.chatbot-suggestions) { gap: .5rem; }
.united-store .united-helpdesk .chatbot-actions a, .united-store .united-helpdesk .chatbot-suggestions button { min-height: 44px; padding: .6rem .75rem; background: #DCECF8; color: #12304A; border: 0; border-radius: 6px; text-align: left; line-height: 1.5; }
.united-store .united-helpdesk .chatbot-order { padding: 1rem; border-radius: 8px; }
.united-store .united-helpdesk .chatbot-order dl { grid-template-columns: 95px minmax(0,1fr); }
.united-store .united-helpdesk .chatbot-latest { right: 1rem; bottom: .5rem; border-radius: 16px; }
.united-store .united-helpdesk .chatbot-typing { padding: .5rem 1.25rem; font-size: .72rem; }
.united-store .united-helpdesk .chatbot-faq-panel { order: 0; padding: 1.25rem; background: #F2F5F8; }
.united-store .united-helpdesk .desk-library-filters { grid-template-columns: minmax(0,1fr); gap: .85rem; }
.united-store .united-helpdesk .desk-library-filters label { min-width: 0; font-size: 13px; line-height: 1.5; font-weight: 500; }
.united-store .united-helpdesk .desk-library-filters :is(input,select) { width: 100%; min-width: 0; min-height: 48px; padding: .7rem .85rem; background: #FFFFFF; color: #12304A; border: 0; border-radius: 6px; font: 400 16px/1.5 var(--united-font-body); }
.united-store .united-helpdesk .desk-library-filters input::placeholder { color: #12304A; font-weight: 400; opacity: .75; }
.united-store .united-helpdesk .desk-library-filters select { padding-right: 2.25rem; }
.united-store .united-helpdesk .chatbot-faq-list { display: grid; gap: .6rem; }
.united-store .united-helpdesk .chatbot-faq-list details { padding: 1rem; background: #FFFFFF; border: 0; border-radius: 8px; }
.united-store .united-helpdesk .chatbot-faq-list summary { min-height: 44px; font-size: .8rem; }
.united-store .united-helpdesk .chatbot-faq-list summary small { display: none; }
.united-store .united-helpdesk .desk-reference-answer { padding: .85rem 0 0; font-size: .8rem; line-height: 1.8; }
.united-store .united-helpdesk .desk-tool-footer { display: flex; flex: 0 0 auto; justify-content: space-between; align-items: center; gap: .75rem; margin: 0; padding: .25rem 1.25rem; background: #FFFFFF; border: 0; }
.united-store .united-helpdesk .desk-tool-footer :is(a,button) { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; padding: 0; background: transparent; border: 0; color: #12304A; font-size: .7rem; }
.united-store .united-helpdesk .chatbot-footer { display: flex; flex: 0 0 auto; justify-content: space-between; align-items: center; gap: .75rem; padding: .8rem 1.25rem; background: #F2F5F8; color: #12304A; border: 0; border-radius: 0; font-size: .6rem; }
.united-store .united-helpdesk .chatbot-footer a { color: #12304A; font-size: .65rem; }
.united-store .united-helpdesk .chatbot-error { background: #DCECF8; border: 0; padding: 1rem; }
@media (max-width: 700px) {
    .united-store .united-helpdesk { right: 10px; }
}
@media (max-width: 560px) {
    .united-store .united-helpdesk .chatbot-panel { inset: calc(var(--united-visible-top,0px) + 8px) 8px auto auto; width: calc(100vw - 16px); height: calc(var(--united-visible-height,100dvh) - 16px); border-radius: 12px; }
    .united-store .united-helpdesk .chatbot-header { padding: 1rem; gap: .65rem; }
    .united-store .united-helpdesk .desk-service-label { font-size: .58rem; }
    .united-store .united-helpdesk .desk-tools { padding: .6rem; gap: .2rem; }
    .united-store .united-helpdesk .desk-tools > button { font-size: 12px; min-height: 60px; }
    .united-store .united-helpdesk .chatbot-scroll { padding: 1rem; }
    .united-store .united-helpdesk :is(.desk-lookup,.chatbot-composer) { padding: .85rem 1rem; }
    .united-store .united-helpdesk :is(.desk-lookup-row,.chatbot-input-row) button { max-width: 105px; padding-inline: .65rem; }
    .united-store .united-helpdesk .desk-library-filters { grid-template-columns: minmax(0,1fr); }
    .united-store .united-helpdesk .desk-tool-footer { padding-inline: 1rem; }
    .united-store .united-helpdesk .chatbot-footer { align-items: flex-start; padding: .7rem 1rem; }
    .united-store .united-helpdesk .chatbot-footer span { max-width: 60%; }
}
@media (max-height: 540px) {
    .united-store .united-helpdesk .chatbot-header { padding-block: .5rem; }
    .united-store .united-helpdesk .desk-tools { padding-block: .25rem; }
    .united-store .united-helpdesk .desk-tools > button { min-height: 44px; flex-direction: row; gap: .25rem; }
    .united-store .united-helpdesk .desk-brand-mark { height: 36px; flex-basis: 36px; }
    .united-store .united-helpdesk .desk-lookup small, .united-store .united-helpdesk .chatbot-input-meta { display: none; }
    .united-store .united-helpdesk .chatbot-footer { padding-block: .35rem; }
    .united-store .united-helpdesk .desk-empty { justify-content: flex-start; }
}
@media (max-height: 420px) {
    .united-store .united-helpdesk .desk-service-label,
    .united-store .united-helpdesk .chatbot-footer { display: none; }
    .united-store .united-helpdesk .chatbot-header { padding-block: 0; }
    .united-store .united-helpdesk :is(.desk-lookup,.chatbot-composer) { padding-block: .4rem; }
    .united-store .united-helpdesk :is(.desk-lookup,.chatbot-composer) label { margin-bottom: .25rem; }
    .united-store .united-helpdesk .desk-tool-footer :is(a,button) { min-height: 32px; }
}
/* Keep reading text comfortable without oversized headings or tiny tool labels. */
.united-store .united-helpdesk .desk-empty strong { font-size: 20px; }
.united-store .united-helpdesk .desk-tools > button { font-size: 12px; }
.united-store .united-helpdesk :is(.chatbot-bubble p,.user-message .chatbot-bubble p,.desk-reference-answer,.chatbot-faq-list summary) { font-size: 14px; line-height: 1.7; }
.united-store .united-helpdesk :is(.desk-tool-footer a,.desk-tool-footer button) { font-size: 13px; }
@media (max-width: 360px) {
    .united-store .united-helpdesk .desk-tools { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .united-store .united-helpdesk .desk-tools > button { min-height: 52px; gap: .2rem; white-space: nowrap; overflow-wrap: normal; word-break: normal; }
}
