.reporter-help-desk{--help-red:#b51224;--help-line:#dde1e7;--help-muted:#586171;max-width:1500px;margin:auto}
.reporter-help-desk [hidden],.help-notification-button [hidden]{display:none!important}
.help-notification-button{position:relative;gap:.5rem;white-space:normal}
.help-notification-button [data-help-count]{background:#b51224;color:#fff;border-radius:1rem;padding:.08rem .45rem;font-size:.875rem;min-width:1.5rem}
.help-layout{display:grid;grid-template-columns:minmax(240px,.72fr) minmax(0,1.5fr);gap:1.2rem;align-items:start}
.reporter-help-desk .panel{margin:0;padding:1.25rem;min-width:0}
.reporter-help-desk .page-heading h1{font-size:clamp(1.65rem,3vw,2.25rem)}
.reporter-help-desk p,.reporter-help-desk button,.reporter-help-desk select,.reporter-help-desk textarea{font-size:1rem;line-height:1.65}
.help-guide h2{margin:.5rem 0}.help-guide>p{color:var(--help-muted)}
.help-quick-questions{display:grid;gap:.55rem;margin:1rem 0}
.help-quick-questions button{text-align:left;justify-content:flex-start;padding:.7rem .9rem}
.help-bot-answer{border-top:1px solid var(--help-line);padding-top:1rem;margin-top:1rem}
.help-bot-answer>strong{font-size:.875rem;color:var(--help-red)}
.help-bot-answer p{margin:.6rem 0 1rem}.help-bot-answer .actions{gap:.6rem}
.help-chat-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:.75rem;padding-bottom:1rem;border-bottom:1px solid var(--help-line)}
.help-chat-heading h2{font-size:1.25rem;margin:0}.help-chat-heading p{font-size:.875rem;color:var(--help-muted);margin:.35rem 0}
.help-thread-status{display:inline-block;color:#6a4314;font-size:.875rem;font-weight:650}
.help-thread-status[data-status=resolved]{color:#166347}
.help-history{height:clamp(260px,43vh,510px);overflow:auto;overscroll-behavior:contain;padding:1rem .25rem;scrollbar-gutter:stable}
.help-messages{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:1rem}
.help-message{border:1px solid var(--help-line);border-radius:12px 12px 12px 0;background:#f4f5f7;padding:.8rem 1rem;max-width:92%;align-self:flex-start;overflow-wrap:anywhere}
.help-message-own{align-self:flex-end;background:#fff6f6;border-color:#edc8ce;border-radius:12px 12px 0 12px}
.help-message-meta{display:flex;flex-wrap:wrap;gap:.35rem .8rem;align-items:baseline;font-size:.875rem}
.help-message-meta time{color:var(--help-muted);font-size:.875rem}
.help-message-topic{display:block;font-size:.875rem;color:var(--help-muted);margin:.2rem 0}
.help-message p{margin:.35rem 0 0;white-space:pre-wrap}
.help-compose{border-top:1px solid var(--help-line);padding-top:1rem;display:grid;gap:.55rem}
.help-compose .field{margin:0}.help-compose select{max-width:100%}
.help-compose textarea{resize:vertical;min-height:100px;max-height:350px;width:100%}
.help-compose-bottom{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.7rem}
.help-compose-bottom small{font-size:.875rem;color:var(--help-muted)}
.help-delivery{margin:0;color:#176447;font-size:.875rem!important;min-height:1.5rem}
.help-inbox [data-help-summary]{font-size:.875rem;color:var(--help-muted)}
.help-thread{display:grid;gap:.25rem;width:100%;text-align:left;background:#fff;color:#20252e;border:1px solid var(--help-line);border-radius:8px;padding:.8rem .9rem;margin:.5rem 0}
.help-thread:hover{background:#f6f6f8;color:#20252e}.help-thread.is-selected{border-color:var(--help-red);background:#fff6f6;color:#20252e}
.help-thread>span{display:flex;align-items:center;justify-content:space-between;gap:.5rem}
.help-thread small,.help-thread time{font-size:.875rem;font-weight:400;color:var(--help-muted)}
.help-new{display:inline-block;border-radius:4px;background:#b51224;color:#fff;padding:0 .4rem;font-size:.875rem}
.help-pagination{justify-content:space-between;margin-top:1rem;gap:.4rem}.help-pagination>span{font-size:.875rem}
.help-thread:focus-visible,.reporter-help-desk button:focus-visible,.reporter-help-desk select:focus-visible,.reporter-help-desk textarea:focus-visible{outline:3px solid #2b64a8;outline-offset:3px}
@media(max-width:1050px){.help-layout{grid-template-columns:1fr}.help-quick-questions{grid-template-columns:1fr 1fr}.help-layout-admin .help-inbox [data-help-threads]{max-height:280px;overflow:auto}.help-history{height:350px}}
@media(max-width:520px){.reporter-help-desk .panel{padding:1rem}.help-quick-questions{grid-template-columns:1fr}.help-message{max-width:97%;padding:.65rem .75rem}.help-chat-heading{flex-wrap:wrap}.help-compose-bottom button{width:100%}.help-notification-button{font-size:.875rem}.help-history{height:330px}}
