.staff-help-dialog{box-sizing:border-box;width:min(540px,calc(100% - 22px));max-height:90dvh;overflow:auto;padding:20px;border:1px solid #cfdad3;border-radius:16px;color:#263b30;background:#fff;box-shadow:0 18px 70px #19342833}
.staff-help-dialog::backdrop{background:#25362f68}
.staff-help-dialog [hidden]{display:none!important}.staff-help-dialog .help-top,.staff-help-dialog .help-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px}
.staff-help-dialog h2{margin:0;font-size:1.4rem}.staff-help-dialog h3{margin:12px 0 8px;font-size:1.05rem}
.staff-help-dialog .help-toolbar{justify-content:flex-end;margin:7px 0}.help-toolbar [data-help-back]{margin-right:auto}
.staff-help-dialog .link{background:none;border:0;text-decoration:underline;text-underline-offset:.15em;color:#245d45;padding:5px 2px;cursor:pointer;font:600 .9rem/1.4 system-ui}
.staff-help-dialog .help-status{margin:5px 0;font-size:.88rem;color:#3f5c4b}.help-status:empty{display:none}.help-status[data-error=true]{color:#862e28}
.help-list{max-height:45dvh;overflow:auto;overscroll-behavior:contain}.help-list ul,.help-list ol{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.help-list button[data-help-thread]{display:grid;width:100%;gap:3px;border:1px solid #d5ded7;border-radius:9px;background:white;color:#293e32;text-align:left;padding:10px 12px;cursor:pointer;font:inherit}
.help-list button[data-help-thread]:hover{background:#f3f7f3}.help-list button>span:first-child,.help-message>div{display:flex;align-items:baseline;justify-content:space-between;gap:10px}
.help-list small,.help-message time{color:#5d6b62;font-size:.78rem}.help-state{font-size:.8rem;color:#53665b}.help-state.pending{color:#8d551f}.help-preview{font-size:.91rem;color:#3c4f42;overflow-wrap:anywhere}
.help-message{justify-self:start;max-width:88%;min-width:min(215px,100%);background:#f0f3f0;border-radius:9px;padding:9px 12px}.help-message.mine{justify-self:end;background:#e6f1e9}.help-message strong{font-size:.86rem}
.help-message p,.help-empty{font-size:.95rem;line-height:1.5;margin:4px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}.help-empty{padding:8px 0;color:#4b5d50}
.staff-help-dialog form{display:grid;gap:7px;border-top:1px solid #dce3dd;margin-top:13px;padding-top:12px}.staff-help-dialog form>label{font-size:.9rem;font-weight:650}.staff-help-dialog textarea{box-sizing:border-box;width:100%;resize:vertical;min-height:66px;max-height:28dvh;border:1px solid #a3b6aa;border-radius:8px;padding:8px;color:#253b2e;font:inherit}.staff-help-dialog form button{justify-self:end}
.staff-help-dialog button:focus-visible,.staff-help-dialog textarea:focus-visible{outline:2px solid #347954;outline-offset:2px}
@media(max-width:550px){.staff-help-dialog{padding:14px}.help-list{max-height:38dvh}.help-message{max-width:94%}.staff-help-dialog textarea{font-size:1rem}}
.staff-account-items .staff-help-count{display:inline-block;margin-left:.45rem;background:#8c421c;color:white;border-radius:1em;padding:.05em .45em;line-height:1.35;font-size:.78em}
