/* Componentes herdam tema, fontes e controles da central. */
.connection-products{margin-top:1.5rem;padding-top:1.25rem;border-top:1px solid var(--line)}.connection-products .table-scroll{margin-block:1rem}.connection-products td{max-width:25rem;overflow-wrap:anywhere}#link-form{margin-block:1rem;padding-top:1rem;border-top:1px solid var(--line)}#model-dialog{width:min(48rem,calc(100vw - 2rem))}.model-fields{padding-left:1.25rem;overflow-wrap:anywhere}#link-product,#link-model,#model-root .wide{min-width:0}#model-rows .business-actions{flex-wrap:wrap}@media(max-width:640px){.connection-products .btn{white-space:normal}#model-rows td{overflow-wrap:anywhere}}

#rec-editor{max-width:58rem}

/* Catálogo completo cabe no desktop; no celular a rolagem fica dentro da tabela. */
#link-catalog table{table-layout:fixed;min-width:48rem;white-space:normal}
#link-catalog th,#link-catalog td{white-space:normal;overflow-wrap:anywhere;padding:.75rem .65rem;vertical-align:top}
#link-catalog th:nth-child(1){width:13%}#link-catalog th:nth-child(2){width:28%}#link-catalog th:nth-child(3){width:23%}#link-catalog th:nth-child(4){width:21%}#link-catalog th:nth-child(5){width:15%}
#link-catalog .text-btn{white-space:normal;text-align:left;max-width:100%;overflow-wrap:anywhere}

/* Amostra aprovada: prévia contida no modal, texto seguro e fonte escalável. */
.model-sample{border-top:1px solid var(--line);padding-top:1rem;overflow-wrap:anywhere}.model-sample .compact-field{margin-block:1rem}.model-sample .table-scroll{max-width:100%;margin-block:1rem}.model-sample td{min-width:8rem;max-width:24rem;white-space:pre-wrap;overflow-wrap:anywhere}.model-sample th{white-space:normal;overflow-wrap:anywhere}.form-grid .model-confirm{display:flex;align-items:flex-start;gap:.65rem;font-weight:400}.form-grid .model-confirm input[type=checkbox]{width:1.25rem;min-width:1.25rem;height:1.25rem;min-height:1.25rem;margin-top:.2rem}.model-sample li{margin-block:.4rem}#model-file{overflow:hidden}#model-analysis-status{margin-top:.6rem}
