/* Help when something goes wrong: the entry in the top bar, the chat panel and the reports page. */
.support-open{position:relative;white-space:nowrap}.support-count{display:inline-block;min-width:18px;margin-left:6px;padding:0 5px;border-radius:999px;background:#b3261e;color:#fff;font-size:11px;font-weight:700;line-height:18px;text-align:center}
#support-chat{position:fixed;right:16px;bottom:16px;z-index:60;display:flex;flex-direction:column;width:380px;max-width:calc(100vw - 32px);max-height:min(640px,calc(100dvh - 96px));background:#fff;border:1px solid #bdcec0;border-radius:12px;box-shadow:0 12px 32px #24332b33;overflow:hidden}
#support-chat[hidden]{display:none}
.support-head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 12px 10px 16px;background:#183d35;color:#fff}.support-head strong{font-size:14px}.support-head .dialog-close{color:#fff;background:transparent;border:0;font-size:20px;line-height:1;padding:2px 8px;border-radius:6px}.support-head .dialog-close:focus-visible{outline:2px solid #fff}
.support-log{flex:1 1 auto;min-height:120px;overflow-y:auto;padding:12px;display:flex;flex-direction:column;gap:10px;background:#f5f6f2}
.support-msg{max-width:92%;padding:8px 10px;border-radius:10px;font-size:13px;line-height:1.7;overflow-wrap:anywhere}.support-msg p{margin:0}.support-msg ol{margin:6px 0 8px;padding-left:20px}.support-msg li+li{margin-top:4px}
.support-msg.auto,.support-msg.staff{align-self:flex-start;background:#fff;border:1px solid var(--line)}.support-msg.user{align-self:flex-end;background:#dcebd8}.support-msg.staff{border-color:#9abb79}
.support-who{display:block;font-size:11px;font-weight:700;color:var(--muted);margin-bottom:2px}
.support-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.support-chips small{flex-basis:100%;color:var(--muted)}.support-chip{border:1px solid #bdcec0;background:#fff;border-radius:999px;padding:3px 10px;font-size:12px;text-align:left;color:inherit}.support-chip:hover{background:#eef4ea}
.support-verdict{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
.support-ask{display:flex;gap:8px;padding:10px 12px 6px;border-top:1px solid var(--line)}.support-ask input{flex:1 1 auto;min-width:0}
.support-report{display:flex;flex-direction:column;gap:6px;padding:10px 12px;border-top:1px solid var(--line)}.support-report label{font-size:12px;font-weight:700}.support-report textarea{width:100%;resize:vertical}.support-report small{color:var(--muted);line-height:1.6}
.support-actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap}
.support-foot{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;padding:0 12px 10px}.support-link{border:0;background:transparent;padding:2px 0;color:var(--green);font-size:12px;text-decoration:underline}
.support-error{margin:0;padding:6px 12px;background:#fbe9e7;color:#8c1d18;font-size:12px}.support-reference{margin:0;padding:4px 12px;font-size:12px;color:var(--muted);border-top:1px solid var(--line)}
.visually-hidden{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
/* The reports page */
.support-reports{display:flex;flex-direction:column;gap:14px}.support-report-card{border:1px solid var(--line);border-radius:10px;padding:12px 14px;background:#fff}.support-report-card.status-closed{background:#fafaf7}
.support-report-card header{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 10px;margin-bottom:8px}.support-report-card header strong{font-size:14px}.support-report-card header small{color:var(--muted)}
.support-thread{display:flex;flex-direction:column;gap:8px;margin-bottom:10px}.support-reply{display:flex;flex-direction:column;gap:6px}.support-reply textarea{width:100%;resize:vertical}
.support-errors td small{display:block;color:var(--muted)}
@media(max-width:560px){#support-chat{right:8px;left:8px;bottom:8px;width:auto;max-width:none;max-height:calc(100dvh - 72px)}}
