/* Advanced Data Converter only — imported files and real paginated table preview. */
body.standalone.lab-unified-theme .converter-controls .converter-import-row{
 display:flex;align-items:end;justify-content:space-between;gap:12px;flex-wrap:wrap;
 border:1px solid #345d86;border-radius:12px;background:#0e2b48;padding:14px;
}
body.standalone.lab-unified-theme .converter-import-row label{display:flex;flex-direction:column;gap:7px;min-width:220px;flex:1;margin:0;color:#d3eaff;font-weight:700;font-size:14px;}
body.standalone.lab-unified-theme .converter-import-row input[type=file]{width:100%;min-width:0;background:#091e34;border-radius:10px;}
body.standalone.lab-unified-theme .converter-file-info{color:#b4d6f0;font-size:12px;overflow-wrap:anywhere;margin:0;}
body.standalone.lab-unified-theme .converter-preview-panel{display:grid;gap:13px;border:1px solid #376b9a;border-radius:14px;background:linear-gradient(135deg,#0f2a45,#0c2037);padding:clamp(10px,1.8vw,19px);min-width:0;}
body.standalone.lab-unified-theme .converter-preview-panel[hidden]{display:none!important;}
body.standalone.lab-unified-theme .converter-preview-top{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:10px;}
body.standalone.lab-unified-theme .converter-preview-top h3{font-size:19px;color:#e4f4ff;margin:0;}
body.standalone.lab-unified-theme .converter-preview-top span{font-size:12px;color:#9fd5ff;}
body.standalone.lab-unified-theme .converter-preview-filters{display:grid;grid-template-columns:minmax(240px,2fr) minmax(135px,1fr);gap:12px;max-width:820px;}
body.standalone.lab-unified-theme .converter-preview-filters label{display:flex;flex-direction:column;align-items:stretch;gap:7px;margin:0;color:#d0e6f9;}
body.standalone.lab-unified-theme .converter-preview-filters :is(input,select){width:100%;min-width:0;}
body.standalone.lab-unified-theme .converter-preview-filters eg-select{width:100%;min-width:0;}
body.standalone.lab-unified-theme .converter-preview-scroll{max-height:600px;overflow:auto;width:100%;border:1px solid #386589;border-radius:11px;scrollbar-color:#3f7bad #092039;}
body.standalone.lab-unified-theme .converter-preview-scroll table{border-collapse:separate;border-spacing:0;min-width:100%;font-size:13px;line-height:1.55;}
body.standalone.lab-unified-theme .converter-preview-scroll th{position:sticky;top:0;z-index:1;padding:11px 13px;text-align:start;color:#e7f6ff;background:#17436b;border-bottom:1px solid #457cac;white-space:nowrap;}
body.standalone.lab-unified-theme .converter-preview-scroll td{padding:9px 13px;color:#d4e9fa;border-bottom:1px solid #243f58;max-width:390px;overflow-wrap:anywhere;white-space:pre-wrap;}
body.standalone.lab-unified-theme .converter-preview-scroll tr:nth-child(even) td{background:#ffffff06;}
body.standalone.lab-unified-theme .converter-preview-scroll tr:hover td{background:#23507d30;}
body.standalone.lab-unified-theme .converter-preview-pagination{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;}
body.standalone.lab-unified-theme .converter-preview-pagination button{min-height:40px;padding:8px 14px;}
body.standalone.lab-unified-theme .converter-preview-pagination span{color:#b7d3ea;font-size:13px;font-variant-numeric:tabular-nums;}
@media(max-width:520px){body.standalone.lab-unified-theme .converter-preview-filters{grid-template-columns:1fr;}body.standalone.lab-unified-theme .converter-preview-pagination{justify-content:center;}}

/* Data quality is measured from actual parsed rows, never inferred from samples. */
.converter-quality{margin:16px 0;padding:16px;border:1px solid #368166;border-radius:14px;background:#0c241d;min-width:0}
.converter-quality[hidden]{display:none!important}
.converter-quality h4{margin:0 0 8px;font-size:17px;color:#b0efd3}
.converter-quality-sample{font-size:13px;color:#bed9cc;line-height:1.7}
.converter-quality-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:9px;margin:12px 0}
.converter-quality-metrics>div{display:grid;gap:3px;padding:11px;border-radius:10px;background:#153a2b;border:1px solid #367658}
.converter-quality-metrics strong{font-size:20px;font-variant-numeric:tabular-nums;color:#8ff5c0}
.converter-quality-metrics small{font-size:12px;color:#c2dacb}
.converter-quality-columns{max-height:240px;overflow:auto;border:1px solid #315743;border-radius:9px}
.converter-quality-columns table{min-width:470px;width:100%;border-collapse:collapse}
.converter-quality-columns th,.converter-quality-columns td{padding:8px;text-align:start;overflow-wrap:anywhere;border-bottom:1px solid #2a4e3b;font-size:12px}
.converter-quality-columns th{position:sticky;top:0;background:#1c4231;color:#d7ffeb}
.converter-preview-export{display:flex;flex-wrap:wrap;gap:8px;padding:7px 0 13px}
.converter-preview-export button{min-height:43px;margin:0}
