.qh-wm22-legacy-empty { display:none !important; }
.qh-wm22-result,.qh-wm22-history { box-sizing:border-box;min-width:0;max-width:100%;margin-top:16px;padding:18px;border:1px solid #bfd3f4;border-radius:14px;background:#f8fbff;color:#123661; }
.qh-wm22-result[hidden] {display:none !important;}
.qh-wm22-result h3,.qh-wm22-history h3 {font-size:18px;line-height:1.5;margin:0 0 8px;color:#11345e;}
.qh-wm22-result-video {display:block;width:100%;max-height:440px;object-fit:contain;background:#071423;border-radius:10px;margin:12px 0;}
.qh-wm22-channel-note {color:#79501b !important;background:#fff8e8 !important;line-height:1.7 !important;overflow-wrap:anywhere;}
.qh-wm22-status {display:inline-block;font-size:13px;line-height:1.5;color:#5a5c70;background:#edf0f7;padding:4px 8px;border-radius:6px;}
.qh-wm22-status-quality_failed,.qh-wm22-status-failed {color:#91451b;background:#fff0dc;}
.qh-wm22-status-succeeded {color:#176449;background:#e6f5ed;}
.qh-wm22-note,.qh-wm22-history-feedback {font-size:13px;line-height:1.7;color:#486384;overflow-wrap:anywhere;margin:10px 0;}
.qh-wm22-meta {display:block;font-size:12px;line-height:1.7;color:#587093;overflow-wrap:anywhere;}
.qh-wm22-playback-error {color:#943817;font-size:13px;line-height:1.7;}
.qh-wm22-button {display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:36px;padding:7px 11px;border:1px solid #b6ccee;border-radius:7px;background:#fff;color:#245a98;text-decoration:none;font:inherit;font-size:13px;line-height:1.5;cursor:pointer;}
.qh-wm22-button:hover {background:#eaf3ff;}
.qh-wm22-button:focus-visible,.qh-wm22-history-toolbar input:focus-visible,.qh-wm22-history-toolbar select:focus-visible {outline:3px solid #3095e6;outline-offset:2px;}
.qh-wm22-button:disabled {opacity:.6;cursor:wait;}
.qh-wm22-history-heading {display:flex;justify-content:space-between;gap:12px;align-items:center;}
.qh-wm22-history-toolbar {display:flex;flex-wrap:wrap;gap:8px;margin-top:14px;}
.qh-wm22-history-toolbar input,.qh-wm22-history-toolbar select {box-sizing:border-box;min-width:0;max-width:100%;border:1px solid #b6ccee;background:#fff;color:#153b69;border-radius:7px;min-height:38px;padding:8px 10px;font:inherit;font-size:13px;}
.qh-wm22-history-toolbar input {flex:1 1 240px;}
.qh-wm22-history-record {display:flex;gap:16px;justify-content:space-between;padding:15px;border:1px solid #c8d8ef;border-radius:10px;background:#fff;margin-top:12px;}
.qh-wm22-record-body {min-width:0;flex:1;}
.qh-wm22-history-record h4 {font-size:15px;line-height:1.5;overflow-wrap:anywhere;margin:0 0 7px;color:#123661;}
.qh-wm22-record-actions {display:flex;flex-direction:column;gap:8px;flex-shrink:0;justify-content:center;}
.qh-wm22-empty {text-align:center;color:#7587a1;font-size:13px;line-height:1.7;padding:24px 8px;border:1px dashed #bdcde3;border-radius:8px;}
@media(max-width:520px){.qh-wm22-result,.qh-wm22-history{padding:12px;}.qh-wm22-history-record{flex-direction:column;padding:12px;}.qh-wm22-record-actions{flex-direction:row;flex-wrap:wrap;}.qh-wm22-history-heading{align-items:flex-start;flex-direction:column;gap:2px;}.qh-wm22-history-toolbar input{flex-basis:100%;}.qh-wm22-result-video{max-height:360px;}}

/* Screenshot-requested UI cleanup only: preserve video, history and processing guards. */
.qh-wm22-channel-note,
.qh-wm22-result > .qh-wm22-status,
.qh-wm22-result > .qh-wm22-note { display: none !important; }

/* Result preview only: close the player without deleting history. */
.qh-wm22-result-heading {display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:8px;}
.qh-wm22-result-heading h3 {margin:0;min-width:0;}
.qh-wm22-close-preview {flex:0 0 auto;white-space:nowrap;}
