/* QR Code 掃描 */
#qs .it-actions .btn[hidden] { display: none; }
#qs .it-actions .btn { min-width: 0; flex: 1 1 160px; }
.qs-cam { position: relative; margin: 10px 0; max-width: 480px; border-radius: 12px; overflow: hidden; background: #111; }
.qs-cam[hidden] { display: none; }
.qs-cam video { display: block; width: 100%; max-height: 60vh; object-fit: cover; }
.qs-frame { position: absolute; left: 50%; top: 50%; width: 62%; aspect-ratio: 1; transform: translate(-50%, -50%); border: 3px solid rgba(255,255,255,.85); border-radius: 12px; box-shadow: 0 0 0 999px rgba(0,0,0,.25); pointer-events: none; }
.qs-list { list-style: none; margin: 10px 0; padding: 0; display: grid; gap: 10px; }
.qs-item { display: grid; grid-template-columns: 72px 1fr; gap: 10px; align-items: start; padding: 10px; border: 1px solid var(--line); border-radius: 10px; background: #fff; min-width: 0; }
.qs-item > div { min-width: 0; overflow-wrap: anywhere; }
.qs-thumb { width: 72px; height: 72px; object-fit: contain; background: #f1f3f6; border-radius: 6px; }
.qs-thumb.is-cam { display: flex; align-items: center; justify-content: center; font-size: .85rem; color: var(--muted); text-align: center; }
.qs-src { font-weight: 600; word-break: break-all; }
.qs-text { margin: 6px 0; padding: 8px 10px; border-radius: 8px; background: #f5f7fa; border: 1px solid var(--line); font-family: ui-monospace, Consolas, monospace; font-size: .95rem; white-space: pre-wrap; overflow-wrap: anywhere; word-break: break-all; max-height: 14em; overflow: auto; }
.qs-warn { color: #8a4b00; font-size: .95rem; margin: 4px 0; }
.qs-none { color: #b3261e; font-weight: 600; }
.qs-row-btns { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.qs-row-btns button, .qs-row-btns a { min-height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font-size: .95rem; cursor: pointer; text-decoration: none; color: inherit; display: inline-flex; align-items: center; }
.qs-zoom { display: flex; align-items: center; gap: 10px; max-width: 480px; margin: 0 0 10px; font-size: .95rem; }
.qs-zoom[hidden] { display: none; }
.qs-zoom input { flex: 1; min-height: 40px; }
