/* DGS Visual QA v2026.10.24.1: isolated rendering layer; no changes to editor layout. */
#dgs-vqa-version{display:inline-flex;align-items:center;margin-left:7px;padding:3px 7px;border-radius:7px;border:1px solid #39546a;background:#14293d;color:#a5def6;font:700 10px "Segoe UI",sans-serif;letter-spacing:.02em;white-space:nowrap}
#dgs-vqa-launch{all:unset;box-sizing:border-box;position:fixed;z-index:4900;right:20px;bottom:23px;display:flex;align-items:center;gap:9px;min-width:165px;background:#183345;border:1px solid #6aa7b3;box-shadow:0 9px 30px #0008;border-radius:99px;color:#e7f8ff;font:750 12px "Segoe UI",sans-serif;padding:10px 14px;cursor:pointer}
#dgs-vqa-launch:hover{background:#255269}
#dgs-vqa-launch .vqa-star{background:#a1e5e0;color:#12282d;display:grid;place-items:center;border-radius:50%;width:27px;height:27px;font-size:19px}
#dgs-vqa-launch .vqa-counter{padding:3px 7px;border-radius:20px;color:#231c12;background:#ffc47d;font-size:11px}
#dgs-vqa-launch .vqa-counter[hidden]{display:none}
#dgs-vqa-root{box-sizing:border-box;font-family:"Segoe UI","Nirmala UI",Arial,sans-serif;color:#eaf1fc;position:fixed;right:18px;top:84px;z-index:4998;display:none;width:405px;max-width:calc(100vw - 36px);max-height:calc(100dvh - 112px);background:#111b2a;border:1px solid #496078;box-shadow:0 18px 66px #000c;border-radius:15px;overflow:hidden;flex-direction:column}
#dgs-vqa-root.open{display:flex}
#dgs-vqa-root *{box-sizing:border-box}
#dgs-vqa-root .vqa-header{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:15px 18px;border-bottom:1px solid #344459;background:#1a283a}
#dgs-vqa-root .vqa-h1{font-size:17px;font-weight:800;margin:0}
#dgs-vqa-root .vqa-subtitle{font-size:10px;color:#8fc7d2;letter-spacing:.045em;margin-top:3px}
#dgs-vqa-root .vqa-close,#dgs-vqa-root .vqa-action{border:1px solid #51647e;background:#283951;color:#ecf5ff;border-radius:8px;cursor:pointer}
#dgs-vqa-root .vqa-close{width:30px;height:30px;font-size:21px}
#dgs-vqa-root .vqa-toolbar{padding:12px 14px 9px;border-bottom:1px solid #2e3b4e}
#dgs-vqa-root .vqa-status{color:#adbbcf;font-size:11px;line-height:1.7;min-height:22px;word-break:break-word}
#dgs-vqa-root .vqa-toolbar-buttons{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}
#dgs-vqa-root .vqa-action{font-size:11px;font-weight:700;padding:8px 10px}
#dgs-vqa-root .vqa-primary{color:#10232f;background:#aae7e1;border-color:#a7e3e0}
#dgs-vqa-root .vqa-action:disabled{opacity:.4;cursor:default}
#dgs-vqa-root .vqa-scroll{min-height:150px;max-height:58vh;overflow:auto;padding:13px}
#dgs-vqa-root .vqa-empty{font-size:12px;line-height:1.75;color:#9fb4ca;padding:30px 12px;text-align:center}
#dgs-vqa-root .vqa-alert{background:#1d2b3e;border-left:3px solid #ffbd79;padding:12px;border-radius:8px;margin-bottom:10px}
#dgs-vqa-root .vqa-alert[data-type="reference"],#dgs-vqa-root .vqa-alert[data-type="mismatch"]{border-left-color:#93c7ed}
#dgs-vqa-root .vqa-alert strong{font-size:12px}
#dgs-vqa-root .vqa-alert small{font-size:10px;color:#acbbcf;display:block;line-height:1.6;margin:5px 0}
#dgs-vqa-root .vqa-alert .vqa-words{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:10px}
#dgs-vqa-root .vqa-words>div{font-size:11px;word-wrap:break-word;padding:8px;background:#142033;border-radius:6px;color:#ffcbb2}
#dgs-vqa-root .vqa-words>div:last-child{color:#b3edd8}
#dgs-vqa-root .vqa-alert-actions{display:flex;gap:6px;margin-top:10px}
#dgs-vqa-root .vqa-alert-actions button{font:700 10px "Segoe UI",sans-serif;background:#334860;border:1px solid #5a738e;color:#eff8fd;border-radius:6px;padding:7px 10px;cursor:pointer}
#dgs-vqa-root .vqa-foot{padding:11px 13px;background:#172536;border-top:1px solid #344356;font-size:10px;line-height:1.6;color:#8caabe}
#dgs-vqa-root .vqa-note{border-radius:8px;background:#2b3745;color:#e1dcbd;padding:8px 10px;margin:8px 0;font-size:11px}
#dgs-vqa-root .vqa-debug{color:#91abbc;font-size:10px;margin-top:5px}
.dgs-vqa-markers{position:absolute;inset:0;pointer-events:none;z-index:30}
.dgs-vqa-marker{position:absolute;width:24px;height:24px;display:grid;place-items:center;transform:translateY(-3px);border:2px solid #1a2637;background:#fac37c;color:#32220b;box-shadow:0 2px 9px #020813b0;border-radius:50%;font:900 11px "Segoe UI",sans-serif;cursor:pointer;pointer-events:auto}
.dgs-vqa-marker[data-review="1"]{background:#94ccef;color:#0d2c3c}
.dgs-vqa-marker:hover{transform:translateY(-5px) scale(1.14)}
#dgs-vqa-modal{box-sizing:border-box;position:fixed;inset:0;display:none;align-items:center;justify-content:center;z-index:5003;background:#050913ca;padding:15px}
#dgs-vqa-modal.open{display:flex}
#dgs-vqa-modal .vqa-dialog{width:600px;max-width:100%;max-height:90vh;overflow:auto;border:1px solid #6883a1;border-radius:13px;background:#1a2638;box-shadow:0 21px 80px #000c;padding:23px;color:#f3f9fe;font:13px/1.6 "Segoe UI","Nirmala UI",sans-serif}
#dgs-vqa-modal .vqa-dialog h2{font-size:18px;margin:0 0 12px}
#dgs-vqa-modal .vqa-dialog label{display:block;font-weight:750;font-size:12px;margin:13px 0 6px}
#dgs-vqa-modal .vqa-dialog p{color:#b9cbdc;font-size:12px;margin:7px 0}
#dgs-vqa-modal .vqa-dialog select,#dgs-vqa-modal .vqa-dialog textarea{width:100%;font:12px/1.55 "Segoe UI","Nirmala UI",sans-serif;background:#111b2d;color:#eaf5fb;padding:10px;border:1px solid #5a6e88;border-radius:7px}
#dgs-vqa-modal .vqa-dialog textarea{min-height:80px;resize:vertical}
#dgs-vqa-modal .vqa-dialog .vqa-confirm{display:flex;gap:10px;align-items:flex-start;margin:13px 0;font-size:12px;font-weight:500}
#dgs-vqa-modal .vqa-dialog .vqa-confirm input{margin-top:5px;accent-color:#a0e9d9}
#dgs-vqa-modal .vqa-buttons{display:flex;justify-content:flex-end;gap:9px;margin-top:14px}
#dgs-vqa-modal .vqa-buttons button{border:1px solid #7495a8;background:#293d51;color:#edf8ff;border-radius:8px;padding:9px 13px;cursor:pointer;font-weight:750}
#dgs-vqa-modal .vqa-buttons button.primary{background:#9cdbd7;color:#132631}
#dgs-vqa-modal .vqa-error{color:#ffbb91;font-size:11px;min-height:18px}
@media(max-width:720px){#dgs-vqa-root{top:45px;right:8px;width:calc(100vw - 16px);max-height:75vh}#dgs-vqa-launch{right:10px;bottom:12px}}
