/* v2.0.4 legacy research consent — compact iPad/Pencil-friendly gradient dialog */
.dc-legacy-preview-backdrop{position:fixed;inset:0;z-index:999999;display:flex;align-items:center;justify-content:center;padding:12px;background:rgba(9,16,41,.54);backdrop-filter:blur(5px)}
.dc-legacy-preview-panel{width:min(720px,98%);max-height:90dvh;overflow:auto;overscroll-behavior:contain;color:#f0f5ff;background:linear-gradient(137deg,rgba(24,48,104,.97),rgba(80,58,132,.97) 52%,rgba(119,60,113,.94));border:1px solid rgba(201,216,255,.5);box-shadow:0 20px 48px rgba(7,12,36,.42);border-radius:15px;padding:15px 17px;font-family:inherit;font-size:12px;line-height:1.4;touch-action:pan-y}
.dc-legacy-preview-panel h2{font-size:16px;color:#fff;margin:0 0 8px;font-family:inherit;font-weight:650}
.dc-legacy-preview-panel p{margin:6px 0 9px}
.dc-legacy-preview-query{font-weight:600;overflow-wrap:anywhere}
.dc-legacy-preview-advice,.dc-legacy-preview-status{color:#e4edff;font-size:11.5px}
.dc-legacy-preview-warning{border-left:3px solid #f8d4a2;padding:6px 9px;background:rgba(97,43,75,.5)}
.dc-legacy-preview-list{overflow:auto;max-height:min(43dvh,400px);padding-right:4px;overscroll-behavior:contain}
.dc-legacy-preview-source{padding:8px 10px;margin:7px 0;background:rgba(191,206,255,.1);border:1px solid rgba(225,231,255,.25);border-radius:10px}
.dc-legacy-preview-source-header,.dc-legacy-preview-approve{display:flex;align-items:flex-start;gap:8px;cursor:pointer}
.dc-legacy-preview-source-header{font-weight:650}
.dc-legacy-preview-panel input[type=checkbox]{width:16px;height:16px;flex-shrink:0;accent-color:#a9d4fb;margin:0}
.dc-legacy-preview-source details{margin-top:6px}
.dc-legacy-preview-source summary{cursor:pointer;font-size:11px;color:#d9edff}
.dc-legacy-preview-source pre{font:11px/1.45 ui-monospace,monospace;white-space:pre-wrap;overflow-wrap:anywhere;background:rgba(6,14,45,.18);padding:8px;border-radius:7px;max-height:130px;overflow:auto;user-select:text;-webkit-user-select:text;margin:6px 0 0}
.dc-legacy-preview-approve{background:rgba(205,223,255,.1);border:1px solid rgba(205,223,255,.25);border-radius:8px;padding:10px;margin-top:12px}
.dc-legacy-preview-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;position:sticky;bottom:-15px;padding:10px 0 5px;background:linear-gradient(90deg,rgba(42,47,106,.98),rgba(97,60,119,.98));border-radius:6px}
.dc-legacy-preview-actions button{font:600 12px/1.3 system-ui,sans-serif;color:#f4f6ff;border:1px solid rgba(229,234,255,.5);background:rgba(195,214,255,.13);border-radius:8px;min-height:36px;padding:7px 11px;cursor:pointer}
.dc-legacy-preview-actions .dc-legacy-preview-send{background:linear-gradient(100deg,rgba(78,134,207,.72),rgba(162,97,170,.65))}
.dc-legacy-preview-actions button:disabled{opacity:.4;cursor:not-allowed}
.dc-legacy-preview-panel button:focus-visible,.dc-legacy-preview-panel input:focus-visible{outline:2px solid #fff;outline-offset:2px}
@media(max-width:480px){.dc-legacy-preview-panel{padding:12px;max-height:94dvh}.dc-legacy-preview-list{max-height:40dvh}.dc-legacy-preview-actions{bottom:-12px}}
