.dyqs-row-button { display:flex; flex-direction:column; align-items:center; gap:2px; border:0; border-radius:8px; padding:6px; background:transparent; color:#6b7280; cursor:pointer; font:inherit; }
.dyqs-row-button svg { width:20px; height:20px; }
.dyqs-row-button span { font-size:12px; white-space:nowrap; }
.dyqs-row-button:hover { color:#4f46e5; background:#eef2ff; }
.dyqs-fallback { position:fixed; right:24px; bottom:24px; z-index:40; padding:10px 16px; border:1px solid #c7d2fe; border-radius:10px; color:#3730a3; background:#eef2ff; cursor:pointer; font:inherit; box-shadow:0 3px 12px #0001; }
.dyqs-fallback[hidden], .dyqs-dialog [hidden] { display:none !important; }
.dyqs-dialog { box-sizing:border-box; width:min(540px, calc(100vw - 32px)); max-height:calc(100dvh - 32px); margin:auto; border:1px solid #e5e7eb; border-radius:16px; padding:0; color:#374151; background:#fff; font:14px/1.6 system-ui,sans-serif; box-shadow:0 24px 60px #0003; }
.dyqs-dialog::backdrop { background:#0007; backdrop-filter:blur(4px); }
.dyqs-dialog header, .dyqs-dialog footer { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:16px 22px; }
.dyqs-dialog header { border-bottom:1px solid #e5e7eb; }
.dyqs-dialog footer { border-top:1px solid #e5e7eb; justify-content:flex-end; }
.dyqs-dialog h2 { margin:0; font-size:18px; font-weight:600; color:#111827; }
.dyqs-body { padding:20px 22px; }
.dyqs-body > p { margin:0 0 18px; }
.dyqs-dialog code { font:13px/1.7 ui-monospace,SFMono-Regular,Consolas,monospace; }
.dyqs-command { margin-bottom:16px; padding:12px; border:1px solid #e5e7eb; border-radius:12px; }
.dyqs-command > div { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:8px; }
.dyqs-command strong { font-size:14px; font-weight:500; }
.dyqs-command p { margin:2px 0 0; color:#6b7280; font-size:12px; }
.dyqs-command pre { margin:0; padding:12px; border-radius:9px; color:#f3f4f6; background:#111827; white-space:pre-wrap; overflow-wrap:anywhere; }
.dyqs-button { flex-shrink:0; border:1px solid #d1d5db; border-radius:8px; padding:6px 10px; color:inherit; background:transparent; font:inherit; font-size:12px; cursor:pointer; }
.dyqs-button:hover { background:#f3f4f6; }
.dyqs-button:focus-visible, .dyqs-row-button:focus-visible, .dyqs-fallback:focus-visible { outline:2px solid #6366f1; outline-offset:3px; }
.dyqs-dialog section { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:14px; margin-bottom:16px; border-radius:12px; background:#f9fafb; }
.dyqs-dialog [data-key-mask] { overflow:hidden; text-overflow:ellipsis; color:#6b7280; }
.dyqs-dialog .dyqs-hint { color:#6b7280; font-size:12px; margin-bottom:0; }
.dyqs-dialog .dyqs-status { min-height:20px; font-size:12px; color:#4338ca; margin:8px 0 0; }
.dark .dyqs-dialog { background:#111827; color:#d1d5db; border-color:#374151; }
.dark .dyqs-dialog h2 { color:#f9fafb; }
.dark .dyqs-dialog header, .dark .dyqs-dialog footer, .dark .dyqs-command, .dark .dyqs-button { border-color:#374151; }
.dark .dyqs-dialog section { background:#1f2937; }
.dark .dyqs-button:hover, .dark .dyqs-row-button:hover { background:#374151; }
.dark .dyqs-fallback { background:#312e81; color:#e0e7ff; border-color:#4338ca; }
.dark .dyqs-dialog .dyqs-hint, .dark .dyqs-command p, .dark .dyqs-dialog [data-key-mask] { color:#9ca3af; }
.dark .dyqs-dialog .dyqs-status { color:#a5b4fc; }
@media (max-width:480px) { .dyqs-dialog header, .dyqs-dialog footer, .dyqs-body { padding:14px; } .dyqs-command > div { align-items:flex-start; } }
