/* All visual changes are scoped to the Tool18 component. */
.qh18-cost-card{flex:0 0 250px;width:250px;padding:16px;border:1px solid #c9d9ee;border-radius:14px;background:#f4f8ff;display:grid;gap:7px;text-align:center;color:#173256;font-size:13px}
.qh18-cost-card>strong{font-size:23px;line-height:1.3;overflow-wrap:anywhere}.qh18-cost-card>small{font-size:12px;color:#526983}.qh18-cost-card>b{font-size:14px;white-space:nowrap}
[data-qh18-mounted] .qh18-capability{padding:12px 16px;margin-bottom:18px;background:#fff7e5;border:1px solid #efd7a2;border-radius:10px;color:#795723;font-size:14px;line-height:1.6}
[data-qh18-mounted] .qh18-upload{display:flex;flex-direction:column;align-items:center;gap:12px;padding:25px;border:1px dashed #9ebddd;border-radius:12px;background:#f8fbff;color:#224a78;cursor:pointer}
[data-qh18-mounted] .qh18-upload>span{font-size:17px;font-weight:600}[data-qh18-mounted] .qh18-upload>small{color:#60788f;font-size:13px}
[data-qh18-mounted] input[type=file]{display:block!important;position:static!important;opacity:1!important;width:auto!important;height:auto!important;max-width:100%;font:inherit;font-size:13px}
[data-qh18-mounted] .qh18-preview-wrap{display:grid;gap:8px;margin:18px 0;overflow-wrap:anywhere}[data-qh18-mounted] .qh18-preview-wrap>video{width:100%;max-height:320px;background:#142031;border-radius:9px}[data-qh18-mounted] [hidden]{display:none!important}
[data-qh18-mounted] .qh18-preview-wrap>small,[data-qh18-mounted] .qh18-note{font-size:13px;color:#687c91;line-height:1.7}
[data-qh18-mounted] .qh18-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}[data-qh18-mounted] .qh18-actions>button{cursor:pointer;min-height:38px}[data-qh18-mounted] .qh18-actions>button:disabled{opacity:.48;cursor:not-allowed}[data-qh18-mounted] .qh18-actions>span{font-size:14px;color:#245689}
[data-qh18-mounted] .qh18-status{white-space:pre-wrap;line-height:1.6;color:#28587c}[data-qh18-mounted] .qh18-status[data-error=true]{color:#b33138;font-weight:600}
[data-qh18-mounted] .qh18-history{margin-top:28px;border-top:1px solid #dce6f0;padding-top:20px}[data-qh18-mounted] .qh18-history h3{margin:0;font-size:18px}[data-qh18-mounted] .qh18-history>p{font-size:13px;color:#60778f;line-height:1.7}
[data-qh18-mounted] .qh18-task{padding:16px;margin:12px 0;background:#f7faff;border:1px solid #d6e2f0;border-radius:10px;overflow-wrap:anywhere;color:#183756}[data-qh18-mounted] .qh18-task>div{display:flex;gap:12px;justify-content:space-between;align-items:center;flex-wrap:wrap}[data-qh18-mounted] .qh18-task small{display:block;margin-top:8px;color:#60778f}[data-qh18-mounted] .qh18-task video{display:block;max-width:100%;max-height:400px;margin:12px auto;background:#142031}[data-qh18-mounted] .qh18-download{display:inline-block;padding:8px 15px;background:#286bce;color:white;border-radius:7px;text-decoration:none}[data-qh18-mounted] .qh18-empty{padding:18px 0;color:#77889a;font-size:14px}
@media(max-width:720px){.ai-page[data-qh-tool=upscale] .agent-panel-top{flex-wrap:wrap}.qh18-cost-card{width:100%;flex-basis:100%}[data-qh18-mounted] .qh18-upload{padding:18px 10px}}
