/* The "Code" popup of a saved preset and of a History entry (assets/js/davix-h2i-code-popup.js): the same look as Studio's Export code. */
.code-pop { max-width: 720px; }
.code-pop .curl-block{margin-bottom:16px;}
.code-pop .curl-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:6px;font-size:12px;font-weight:700;color:var(--text-muted);}
.code-pop .curl-block pre{background:#0d111a;border:1px solid var(--border);border-radius:8px;padding:14px;font-size:12.5px;line-height:1.6;white-space:pre;overflow-x:auto;margin:0;font-family:var(--font-mono);}
.code-pop .export-lang{display:flex;align-items:center;gap:10px;margin:0 0 14px;}
.code-pop .export-lang label{font-size:12px;font-weight:700;color:var(--text-muted);}
.code-pop .export-lang select{flex:1;min-width:0;max-width:280px;}
.code-pop .export-note{font-size:11.5px;color:var(--text-faint);}
.code-pop .export-note code{font-size:11px;}
.code-pop .hl .tk-c{color:#6b7893;font-style:italic;} .hl .tk-s{color:#9ece6a;} .hl .tk-k{color:#bb9af7;} .hl .tk-f{color:#7aa2f7;} .hl .tk-t{color:#e0af68;} .hl .tk-v{color:#f7768e;} .hl .tk-n{color:#ff9e64;} .hl .tk-o{color:#2ac3de;}
.code-pop .hl .tk-ph{background:rgba(255,100,180,.18);color:#ff8fcf;border-radius:4px;padding:0 3px;}
.code-pop .curl-block pre { max-width: 100%; }
.code-pop .cp-redacted { margin: 0 0 12px; }
.hist-actions .hist-code, .rc-code-btn { flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.hist-actions .hist-code svg, .rc-code-btn svg { inline-size: 14px; block-size: 14px; }
.rc-code-btn { min-inline-size: 36px; min-block-size: 32px; padding: 0 8px; }
