#flujo-exportadores{color:#101010;--pcr-blue:#2563eb;--pcr-green:#10b981}
#flujo-exportadores button,#flujo-exportadores input,#flujo-exportadores select{font:inherit}
#flujo-exportadores button{cursor:pointer;border:1px solid #d5dde5;border-radius:9px;padding:10px 15px;background:white;color:#101010}
#flujo-exportadores button:disabled{opacity:.5;cursor:default}
#flujo-exportadores button.primary{background:#2563eb;color:white;border-color:#2563eb}
#flujo-exportadores :focus-visible{outline:3px solid #10b981;outline-offset:3px}
#flujo-exportadores .fce-positive{color:#047857;font-weight:700}
#flujo-exportadores [data-fce-alias]{max-width:340px;min-height:40px;border:1px solid #cbd5e1;border-radius:8px;background:white}
#flujo-exportadores [data-fce=detail]{overflow-wrap:anywhere}
.fce-actions,.fce-tabs{display:flex;gap:10px;flex-wrap:wrap}.fce-inputs{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:18px}.fce-master{margin-top:18px}.fce-master input{display:block;margin:12px 0;max-width:620px}
#flujo-exportadores summary{cursor:pointer;font-weight:600}.fce-tabs{margin-bottom:18px}
.fce-kpis-primary,.fce-kpis-secondary{display:grid;gap:12px;margin:18px 0}.fce-kpis-primary{grid-template-columns:repeat(6,minmax(0,1fr))}.fce-kpis-secondary{grid-template-columns:repeat(5,minmax(0,1fr))}
#flujo-exportadores .fce-kpis-primary .pcr-kpi{background:#2563eb;border-color:#2563eb;color:white;padding:18px 14px;min-width:0}
#flujo-exportadores .fce-kpis-primary .pcr-kpi small,#flujo-exportadores .fce-kpis-primary .pcr-kpi strong,#flujo-exportadores .fce-kpis-primary .pcr-kpi span{color:white}
#flujo-exportadores .fce-kpis-primary .fce-kpi-green{background:#047857;border-color:#047857}
#flujo-exportadores .fce-kpis-primary .pcr-kpi strong,#flujo-exportadores .fce-kpis-secondary .pcr-kpi strong{font-size:clamp(17px,1.6vw,24px);white-space:nowrap}
#flujo-exportadores .fce-kpis-secondary .pcr-kpi{padding:16px;min-width:0}
#flujo-exportadores .fce-report-scroll{max-height:62vh;overflow:auto;border:1px solid #dce3eb;border-radius:9px}
#flujo-exportadores .fce-complete-table{border-collapse:separate;border-spacing:0;min-width:3000px}
#flujo-exportadores .fce-complete-table th{position:sticky;top:0;background:#0f172a;color:white;z-index:2;min-width:145px;font-size:12px;white-space:normal}
#flujo-exportadores .fce-complete-table th:first-child{z-index:4;left:0;min-width:230px}
#flujo-exportadores .fce-complete-table tbody td:first-child{position:sticky;left:0;background:#fff;z-index:1;box-shadow:2px 0 2px #0f172a0a}
#flujo-exportadores .fce-complete-table tfoot td{position:sticky;bottom:0;background:#0f172a;color:#fff;font-weight:700;z-index:2}
#flujo-exportadores .fce-complete-table tfoot td:first-child{left:0;z-index:4}
#flujo-exportadores .fce-potential{background:#e4f5ec;color:#047857;font-weight:600}#flujo-exportadores .fce-financing{background:#fff1d9}
#flujo-exportadores .fce-summary-table{min-width:1320px;width:100%;table-layout:fixed;font-size:12px}
#flujo-exportadores .fce-summary-table th{min-width:0;padding:12px 8px;font-size:11px}
#flujo-exportadores .fce-summary-table td{padding:12px 8px}
#flujo-exportadores .fce-summary-table th:first-child{min-width:0;width:190px}
#flujo-exportadores .fce-summary-table th:nth-child(7){width:175px}
#flujo-exportadores .fce-summary-table th:last-child{width:120px}
#flujo-exportadores .fce-summary-table td:first-child button{padding:0;background:none;border:0;text-align:left;font-weight:600;color:#2563eb;white-space:normal;overflow-wrap:anywhere}
#flujo-exportadores button.fce-metric{display:block;text-align:left;cursor:pointer;transition:box-shadow .15s ease,transform .15s ease}
#flujo-exportadores button.fce-metric[aria-expanded=true]{outline:3px solid #10b981;outline-offset:2px}
#flujo-exportadores button.fce-metric:hover{box-shadow:0 6px 18px #0f172a24;transform:translateY(-2px)}
#flujo-exportadores .fce-metric-hint{display:block;margin-top:10px;text-decoration:underline;font-size:11px}
#flujo-exportadores .fce-metric-detail{border-top:3px solid #10b981;scroll-margin-top:20px}
#flujo-exportadores dialog.fce-metric-detail{position:fixed;inset:0;margin:auto;width:min(1100px,92vw);max-width:92vw;max-height:85vh;overflow:auto;padding:0 24px 24px;border:1px solid #cbd5e1;border-top:4px solid #10b981;border-radius:14px;box-shadow:0 24px 80px #0005;box-sizing:border-box}
#flujo-exportadores dialog.fce-metric-detail::backdrop{background:#0f172a99;backdrop-filter:blur(3px)}
#flujo-exportadores .fce-dialog-head{position:sticky;top:0;z-index:3;background:white;padding:20px 0 16px;margin:0;border-bottom:1px solid #e2e8f0}
#flujo-exportadores .fce-dialog-head h2{margin:0;font-size:24px;color:#0f172a}
.fce-metric-summary{display:flex;gap:16px;align-items:baseline;flex-wrap:wrap;margin:22px 0 12px}.fce-metric-summary strong{font-size:30px;color:#2563eb}.fce-metric-summary span{color:#64748b;font-size:14px}
#flujo-exportadores .fce-capsule-table{width:100%;border-collapse:collapse;font-size:13px}
#flujo-exportadores .fce-capsule-table th{background:#0f172a;color:white;padding:12px;text-align:left;position:sticky;top:0}
#flujo-exportadores .fce-capsule-table td{padding:12px;border-bottom:1px solid #e2e8f0}
#flujo-exportadores .fce-capsule-table tfoot{font-weight:700;background:#e4f5ec}
#flujo-exportadores .fce-capsule-table td:first-child button{border:0;background:none;color:#2563eb;padding:0;text-align:left;font-weight:600}
@media(prefers-reduced-motion:reduce){#flujo-exportadores button.fce-metric{transition:none}#flujo-exportadores button.fce-metric:hover{transform:none}}
@media(max-width:1250px){.fce-kpis-primary{grid-template-columns:repeat(3,minmax(0,1fr))}.fce-kpis-secondary{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.fce-inputs{grid-template-columns:1fr}.fce-kpis-primary,.fce-kpis-secondary{grid-template-columns:repeat(2,minmax(0,1fr))}#flujo-exportadores .fce-complete-table th:first-child{min-width:150px}.fce-actions{width:100%}}
@media(prefers-reduced-motion:no-preference){#flujo-exportadores .pcr-kpis{animation:fce-appear .3s ease-out}@keyframes fce-appear{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}}
