/* Report-only refinement. Keep contact cards, FAQ and all submission behavior unchanged. */
#helpReport{box-sizing:border-box;width:100%;max-width:none;margin-inline:auto;margin-bottom:24px;padding:24px;border:1px solid var(--help-border);border-radius:18px;background:var(--help-card);color:var(--help-ink);box-shadow:0 6px 24px #17212f08;scroll-margin-top:24px;}
html[lang=ar] #helpReport .lang-en,html[lang=en] #helpReport .lang-ar{display:none;}
#helpReport svg{fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;}
#helpReport .help-section-heading{margin-bottom:18px;}
#helpReport .help-section-heading h2{margin:0 0 3px;font-size:20px;font-weight:800;line-height:1.6;}
#helpReport .help-section-heading p{margin:0;color:var(--help-muted);font-size:13px;line-height:1.7;}
#helpReportFields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 16px;min-width:0;border:0;margin:0;padding:0;}
#helpReportFields label{display:flex;flex-direction:column;min-width:0;gap:6px;font-size:12px;font-weight:700;line-height:1.6;}
#helpReportCategory{min-width:0;margin:0;padding:0;border:0;}
#helpReportCategory legend{margin-bottom:6px;padding:0;color:var(--help-ink);font-size:12px;font-weight:700;line-height:1.6;}
#helpReportCategory .help-category-select{position:relative;min-width:0;}
#helpReportCategory [hidden]{display:none!important;}
#helpReportCategory[data-category-ready=true] select{position:absolute;width:1px;height:1px;min-height:0;margin:0;padding:0;border:0;overflow:hidden;clip-path:inset(50%);}
#helpReportCategory .help-category-trigger{box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:44px;margin:0;padding:10px 13px;border:1px solid var(--help-border);border-radius:10px;background:var(--help-soft);color:var(--help-ink);font:inherit;font-size:13px;line-height:1.6;text-align:start;cursor:pointer;}
#helpReportCategory .help-category-trigger[data-empty=true]{color:var(--help-muted);}
#helpReportCategory .help-category-trigger svg{width:18px;height:18px;flex:none;transition:transform 140ms;}
#helpReportCategory .help-category-trigger[aria-expanded=true]{border-color:#8b9eaf;box-shadow:0 0 0 2px #6888a119;}
#helpReportCategory .help-category-trigger[aria-expanded=true] svg{transform:rotate(180deg);}
#helpReportCategory .help-category-trigger:focus-visible,#helpReportCategory .help-category-option:focus-visible{outline:2px solid #6081a1;outline-offset:2px;}
#helpReportCategory .help-category-trigger[aria-invalid=true]{border-color:#b84753;}
#helpReportCategory .help-category-trigger:disabled{opacity:.65;cursor:wait;}
#helpReportCategory .help-category-list{position:absolute;z-index:30;inset-inline:0;top:calc(100% + 6px);box-sizing:border-box;display:grid;gap:3px;max-height:min(240px,60dvh);margin:0;padding:6px;border:1px solid var(--help-border);border-radius:12px;background:var(--help-card);box-shadow:0 12px 28px #17212f24;overflow:auto;overscroll-behavior:contain;scrollbar-width:none;}
#helpReportCategory .help-category-list::-webkit-scrollbar{display:none;width:0;height:0;}
#helpReportCategory .help-category-list[data-placement=above]{top:auto;bottom:calc(100% + 6px);}
#helpReportCategory .help-category-option{display:flex;align-items:center;justify-content:space-between;gap:12px;box-sizing:border-box;width:100%;min-height:44px;margin:0;padding:10px 12px;border:1px solid transparent;border-radius:8px;background:var(--help-card);color:var(--help-ink);font:inherit;font-size:13px;line-height:1.6;text-align:start;cursor:pointer;transition:background-color 140ms,border-color 140ms,color 140ms;}
#helpReportCategory .help-category-option svg{width:17px;height:17px;visibility:hidden;color:#237148;}
#helpReportCategory .help-category-option:hover{background:var(--help-soft);}
#helpReportCategory .help-category-option[aria-selected=true]{background:#fff9e7;border-color:#e9d48d;color:#705b20;}
#helpReportCategory .help-category-option[aria-selected=true] svg{visibility:visible;}
html[data-account-theme=dark] #helpReportCategory .help-category-option[aria-selected=true]{background:#393426;color:#eedb9b;border-color:#9b8851;}
html[data-account-theme=dark] #helpReportCategory .help-category-option svg{color:#90d5ab;}
html[data-account-theme=dark] #helpReportCategory .help-category-trigger[aria-invalid=true]{border-color:#ff9ea6;}
@media(prefers-reduced-motion:reduce){#helpReportCategory .help-category-trigger svg{transition:none;}}
#helpReport .help-field-wide{grid-column:1/-1;}
#helpReportAttachments{display:grid;gap:8px;min-width:0;}
#helpReport .help-attachment-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;}
#helpReportPickFiles{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:8px 12px;border:1px solid var(--help-border);border-radius:10px;background:var(--help-soft);color:var(--help-ink);font:700 12px/1.6 "Cairo",sans-serif;cursor:pointer;}
#helpReportPickFiles:hover{border-color:#94a6b8;}
#helpReportPickFiles:disabled{opacity:.65;cursor:wait;}
#helpReportPickFiles svg{width:18px;height:18px;}
#helpReportAttachments small{color:var(--help-muted);font-size:11px;line-height:1.7;}
#helpReportFileInput[hidden]{display:none!important;}
#helpReportFilePreviews{display:flex;flex-wrap:wrap;gap:10px;padding:4px;min-width:0;}
#helpReportFilePreviews:empty{display:none;}
#helpReportFilePreviews>div{position:relative;box-sizing:border-box;flex:none;width:80px;height:80px;border:1px solid var(--help-border);border-radius:11px;background:var(--help-soft);color:var(--help-ink);}
#helpReportFilePreviews img{display:block;width:100%;height:100%;object-fit:cover;border-radius:10px;}
#helpReportFilePreviews .help-file-pdf{display:grid;align-content:center;justify-items:center;gap:4px;padding:6px;overflow:hidden;}
#helpReportFilePreviews .help-file-pdf>svg{width:24px;height:24px;}
#helpReportFilePreviews .help-file-pdf>span{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px;direction:ltr;}
#helpReportFilePreviews button{position:absolute;top:-5px;inset-inline-end:-5px;display:grid;place-items:center;width:24px;height:24px;padding:4px;border:1px solid var(--help-border);border-radius:50%;background:var(--help-card);color:var(--help-ink);cursor:pointer;}
#helpReportFilePreviews button:hover{background:var(--help-soft);border-color:#94a6b8;}
#helpReportFilePreviews button svg{width:13px;height:13px;}
#helpReportFields :is(input,select,textarea){box-sizing:border-box;width:100%;min-width:0;min-height:44px;padding:9px 12px;border:1px solid var(--help-border);border-radius:10px;background:var(--help-soft);color:var(--help-ink);font-family:inherit;font-weight:500;font-size:14px;line-height:1.5;transition:border-color 140ms,background-color 140ms;}
#helpReportFields :is(input,select){height:44px;}
#helpReportFields :is(input,select,textarea):hover{border-color:#94a6b8;}
#helpReport :is(input,select,textarea,summary,button):focus-visible{outline:2px solid #6081a1;outline-offset:2px;}
#helpReportFields textarea{resize:vertical;}
#helpReportFields textarea[name=description]{height:112px;min-height:112px;max-height:300px;}
#helpReportFields textarea[name=steps]{height:76px;min-height:76px;max-height:200px;}
#helpReportFields :is(input,textarea)::placeholder{color:var(--help-muted);opacity:1;font-size:12px;}
#helpReportFields :is(input,textarea):placeholder-shown{direction:inherit;text-align:start;}
#helpReport .help-report-extra{min-width:0;border-top:1px solid var(--help-border);padding-top:2px;}
#helpReport .help-report-extra summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;cursor:pointer;list-style:none;color:var(--help-muted);font-size:12px;font-weight:700;}
#helpReport .help-report-extra summary::-webkit-details-marker{display:none;}
#helpReport .help-report-extra summary svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;transition:transform 160ms;}
#helpReport .help-report-extra[open] summary svg{transform:rotate(180deg);}
#helpReport .help-report-extra-fields{display:grid;gap:12px;padding:4px 0 12px;}
#helpReport .help-privacy-note{display:flex;align-items:center;gap:7px;margin:10px 0 0;color:var(--help-muted);font-size:11px;line-height:1.6;}
#helpReport .help-privacy-note svg{width:16px;height:16px;flex-shrink:0;margin:0;}
#helpReport .help-report-footer{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-top:14px;}
#helpReport .help-report-footer button{display:flex;align-items:center;justify-content:center;gap:10px;min-height:44px;padding:9px 20px;border:1px solid #e3b500;border-radius:10px;background:var(--help-accent);color:#243447;font-family:inherit;font-size:14px;font-weight:800;line-height:1.6;cursor:pointer;}
#helpReport .help-report-footer button:hover{background:#ffd737;}
#helpReport .help-report-footer button:disabled{background:#d9ce9e;border-color:#d9ce9e;color:#595649;cursor:wait;}
#helpReport .help-report-footer button svg{width:19px;height:19px;transform:translate(-1.5px,1.5px);}
#helpReport .help-report-footer p{flex:1;min-width:180px;margin:0;font-size:12px;line-height:1.7;}
#helpReport .help-report-footer p:empty{display:none;}
#helpReportStatus[data-tone=success]{color:#247548;}
#helpReportStatus[data-tone=error]{color:#ac3741;}
html[data-account-theme=dark] #helpReportStatus[data-tone=success]{color:#90d5ab;}
html[data-account-theme=dark] #helpReportStatus[data-tone=error]{color:#ff9ea6;}
#helpReport :is(.sr-only,.help-honeypot){position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap;border:0;}
#helpReport .help-noscript{margin-top:18px;color:var(--help-muted);font-size:13px;}
html[data-account-theme=dark] #helpReport{box-shadow:none;}
@media(max-width:600px){
  #helpReport{padding:20px 16px;border-radius:16px;}
  #helpReport .help-section-heading h2{font-size:19px;}
  #helpReportFields{grid-template-columns:minmax(0,1fr);gap:12px;}
  #helpReportFields :is(input,select,textarea){font-size:16px;}
  #helpReportFields :is(input,textarea)::placeholder{font-size:12px;}
  #helpReport .help-report-footer button{width:100%;}
}
@media(prefers-reduced-motion:reduce){#helpReportFields :is(input,select,textarea),#helpReport .help-report-extra summary svg,#helpReportCategory .help-category-option{transition:none;}}
