/* V2 field diagnostics — intentional test-only UI, not part of the rendered/exported clip. */
#qaRoot{position:fixed;z-index:20;right:calc(12px + env(safe-area-inset-right));top:calc(148px + env(safe-area-inset-top));pointer-events:auto;display:flex;flex-direction:column;align-items:flex-end;max-width:min(332px,calc(100vw - 24px));font:500 11px/1.45 system-ui,-apple-system,sans-serif;color:#e5f6ff;letter-spacing:0;user-select:text;-webkit-user-select:text}
#qaToggle{cursor:pointer;display:flex;align-items:center;gap:6px;padding:7px 10px;border-radius:9px;border:1px solid #64dbeb88;background:#061828ed;box-shadow:0 3px 20px #0008;color:#d7f9ff;font:700 10px/1.3 ui-monospace,Consolas,monospace;letter-spacing:.02em;min-height:34px;backdrop-filter:blur(8px)}
#qaToggle .qaDot{width:7px;height:7px;border-radius:100%;background:#43dfb5;box-shadow:0 0 8px #43dfb5}
#qaToggle[data-mode='compat'] .qaDot{background:#ffbc63;box-shadow:0 0 8px #ffbc63}
#qaToggle[data-mode='unknown'] .qaDot{background:#f46d80;box-shadow:0 0 8px #f46d80}
#qaPanel{margin-top:6px;width:310px;max-width:100%;max-height:min(66vh,540px);overflow-y:auto;overscroll-behavior:contain;pointer-events:auto;padding:14px;border:1px solid #4d95bc7c;background:linear-gradient(135deg,#071927f5,#070c1aed);border-radius:13px;box-shadow:0 12px 45px #000b;backdrop-filter:blur(14px)}
#qaPanel[hidden]{display:none}
#qaPanel h2{font:800 13px system-ui,sans-serif;letter-spacing:.07em;margin:0 0 4px;color:#f2fdff}
#qaPanel p{margin:0 0 9px;color:#a6c3d5;font-size:11px;line-height:1.5}
#qaGrid{display:grid;grid-template-columns:1fr 1fr;gap:5px 8px;padding:9px;border:1px solid #3b718044;border-radius:8px;background:#040c16a9;margin-bottom:8px}
#qaGrid .qaLabel{color:#87b2c4;font-size:10px}
#qaGrid strong{font:700 11px ui-monospace,monospace;color:#e5f6ff}
#qaSteps{list-style:none;display:grid;gap:5px;margin:8px 0;padding:0}
#qaSteps li{display:flex;gap:7px;align-items:center;color:#a4adbf}
#qaSteps li .mark{display:inline-grid;place-items:center;flex:0 0 18px;width:18px;height:18px;border:1px solid #3c6574;border-radius:5px;color:#7eabc2}
#qaSteps li.done{color:#dcfbf1}
#qaSteps li.done .mark{color:#062b22;background:#54e6b4;border-color:#54e6b4;font-weight:800}
#qaButtons{display:flex;gap:6px;flex-wrap:wrap;margin-top:9px}
#qaButtons button{padding:8px 9px;min-height:36px;font:700 10px system-ui,sans-serif;color:#e6faff;border:1px solid #527f9b;border-radius:7px;background:#122b43;cursor:pointer}
#qaButtons button.primary{background:linear-gradient(105deg,#16687b,#803c72);border-color:#5bcfe5}
#qaButtons button:disabled{opacity:.43;cursor:not-allowed}
#qaNote{margin-top:9px!important;min-height:1em;color:#ffd19a!important}
#qaRoot #qaToggle:focus-visible,#qaRoot button:focus-visible{outline:2px solid #fff2cc;outline-offset:2px}
#renderMark{display:none!important}
@media(max-width:540px){#qaRoot{right:11px;top:calc(141px + env(safe-area-inset-top));}#qaToggle{padding:6px 8px;font-size:9px;min-height:32px}#qaPanel{width:280px;max-height:52vh;padding:11px}}
@media(orientation:landscape) and (max-height:560px){#qaRoot{top:calc(68px + env(safe-area-inset-top));right:12px}#qaPanel{max-height:60vh}}
