/* Flujo comercial V8.16.3 */
.std-plan-choice{display:grid;gap:10px;padding:4px 0 8px}
.std-plan-choice label{display:flex;align-items:center;gap:12px;padding:13px;border:1px solid #d7e4ee;border-radius:12px;background:#f8fbfd;cursor:pointer}
.std-plan-choice input{width:17px;height:17px}
.std-plan-choice span{display:flex;flex-direction:column;gap:3px}.std-plan-choice b{color:#0e2d60}.std-plan-choice small{color:#64748b}
.std-flow-shell{padding:18px;min-height:100%;background:#eef5fb}
.std-flow-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px;margin-bottom:16px;background:#fff;border:1px solid #d7e4ee;border-radius:16px;box-shadow:0 8px 24px rgba(15,45,80,.05)}
.std-flow-heading h2{margin:0;color:#0e2d60;font-size:23px}.std-flow-heading p{margin:4px 0 0;color:#64748b;font-size:13px}.std-flow-heading>span{padding:7px 11px;border-radius:999px;background:#e5f6fd;color:#047da7;font-weight:800;font-size:12px}
.std-flow-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:15px}
.std-flow-card{padding:16px;background:#fff;border:1px solid #dce7ef;border-radius:15px;box-shadow:0 5px 16px rgba(15,45,80,.05)}
.std-flow-card-head{display:flex;align-items:center;gap:11px}.std-flow-avatar{width:42px;height:42px;display:grid;place-items:center;flex:0 0 42px;border-radius:12px;background:linear-gradient(135deg,#0b78a5,#13b7d5);color:#fff;font-weight:850}
.std-flow-card h3{margin:0;color:#102d58;font-size:15px}.std-flow-card p{margin:3px 0 0;color:#718195;font-size:11px}
.std-plan-badges{display:flex;flex-wrap:wrap;gap:6px;margin:13px 0}.std-plan-badge{padding:5px 8px;border-radius:999px;font-size:10px;font-weight:800}.std-plan-badge.tradicional{background:#e5f4ff;color:#0879a5}.std-plan-badge.representacion{background:#e5faf5;color:#14806b}.std-plan-badge.empty{background:#f2f4f7;color:#697586}
.std-flow-meta{display:flex;justify-content:space-between;gap:8px;padding:9px 0;border-top:1px solid #edf2f6;color:#64748b;font-size:11px}
.std-flow-actions{display:grid;grid-template-columns:1fr 1.2fr;gap:8px;margin-top:9px}.std-flow-actions button{min-height:38px;border:1px solid #cbdbe6;border-radius:9px;background:#fff;color:#31576d;font-weight:800;cursor:pointer}.std-flow-actions button.primary{border:0;background:#078db6;color:#fff}.std-flow-actions button.full{grid-column:1/-1}.std-flow-actions button:disabled{opacity:.4;cursor:not-allowed}
.std-flow-empty{grid-column:1/-1;padding:50px;text-align:center;border:1px dashed #cbdbe6;border-radius:16px;background:#fff;color:#718195}

.std-config-shell{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:18px;background:#eef5fb;min-height:100%}
.std-config-card{padding:20px;background:#fff;border:1px solid #d7e4ee;border-radius:16px;box-shadow:0 7px 22px rgba(15,45,80,.05)}.std-config-card h2{margin:0;color:#0e2d60;font-size:18px}.std-config-card p{margin:5px 0 15px;color:#64748b;font-size:12px}.std-config-card.danger-zone{grid-column:1/-1}
.std-status-chips{display:flex;flex-wrap:wrap;gap:7px}.std-status-chips>span{display:flex;align-items:center;gap:6px;padding:6px 9px;background:#edf7fb;border:1px solid #d3e8f1;border-radius:999px;color:#31576d;font-size:11px;font-weight:750}.std-status-chips button{width:20px;height:20px;padding:0;border:0;border-radius:50%;background:#fff;color:#7b8b99;cursor:pointer}.std-status-chips button:disabled{opacity:.25}
.std-config-add{display:flex;gap:8px;margin-top:14px}.std-config-add input{flex:1;min-height:40px;border:1px solid #cbdbe6;border-radius:9px;padding:8px 10px}.std-config-add button,.std-config-card>button{border:0;border-radius:9px;padding:10px 14px;background:#078db6;color:#fff;font-weight:800;cursor:pointer}
.std-field-options{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin-bottom:15px}.std-field-options label{display:flex;align-items:center;gap:8px;padding:10px;border:1px solid #e0e9f0;border-radius:9px;color:#31576d;font-size:12px}.std-field-options input{width:16px;height:16px}

.std-filter-builder{margin:0 0 14px;padding:14px;background:#fff;border:1px solid #d7e4ee;border-radius:14px;box-shadow:0 5px 16px rgba(15,45,80,.04)}
.std-filter-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px}.std-filter-head>div:first-child{display:flex;flex-direction:column}.std-filter-head b{color:#102d58;font-size:14px}.std-filter-head span{color:#718195;font-size:10px}.std-filter-head>div:last-child{display:flex;gap:7px}.std-filter-head button{border:1px solid #cbdbe6;border-radius:8px;padding:8px 10px;background:#f8fbfd;color:#31576d;font-weight:750;cursor:pointer}
#stdFilterRows{display:grid;gap:7px}.std-filter-row{display:grid;grid-template-columns:1fr .85fr 1.4fr 34px;gap:7px}.std-filter-row select,.std-filter-row input{min-width:0;min-height:37px;border:1px solid #cbdbe6;border-radius:8px;padding:7px 9px;background:#fff;color:#29495e}.std-filter-row button{border:0;border-radius:8px;background:#fff0f0;color:#b33a3a;font-size:18px;cursor:pointer}
.std-direct-proposal{color:#087ca5!important;border-color:#bcddea!important}

.std-contract-fallback{position:fixed;inset:0;z-index:10050;display:none;padding:24px;background:rgba(4,28,55,.62);backdrop-filter:blur(3px)}.std-contract-fallback.open{display:flex}.std-contract-fallback-card{width:100%;height:100%;display:flex;flex-direction:column;background:#fff;border-radius:16px;overflow:hidden}.std-contract-fallback-card header{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;border-bottom:1px solid #d7e4ee}.std-contract-fallback-card h2{margin:0;color:#102d58}.std-contract-fallback-card button{border:0;background:transparent;font-size:27px;cursor:pointer}.std-contract-fallback-card iframe{flex:1;border:0;width:100%}

@media(max-width:850px){.std-config-shell{grid-template-columns:1fr}.std-filter-row{grid-template-columns:1fr}.std-filter-row button{min-height:34px}.std-flow-heading{align-items:flex-start;flex-direction:column}}
.leadDocumentFlow8150,[data-flow-request]{display:none!important}

/* Refinamientos V8.16.6 */
.std-flow-title-with-icon{display:flex;align-items:center;gap:12px;min-width:0}
.std-flow-title-with-icon .advisorPageIcon{flex:0 0 42px;width:42px;height:42px;border-radius:12px;background:#e9f5fc;color:#087ca5;display:grid;place-items:center}
.std-flow-title-with-icon .advisorPageIcon svg{width:21px;height:21px}
#advisorTitle{display:flex;align-items:center;gap:10px}
#advisorTitle .std-module-icon{width:40px;height:40px;border-radius:12px;background:#e9f5fc;color:#087ca5;display:grid;place-items:center;flex:0 0 40px}
#advisorTitle .std-module-icon svg{width:21px;height:21px}
.std-proposal-tabs{display:flex;gap:8px;margin:0 0 16px;flex-wrap:wrap}
.std-proposal-tabs button{border:1px solid #cbdbe6;border-radius:10px;background:#fff;color:#31576d;padding:9px 14px;font-weight:800;cursor:pointer}
.std-proposal-tabs button.active{background:#078db6;color:#fff;border-color:#078db6}
.std-proposal-tabs b{display:inline-grid;place-items:center;min-width:22px;height:22px;padding:0 6px;margin-left:5px;border-radius:999px;background:rgba(255,255,255,.22);font-size:11px}
#stdContractSignedUpload{display:none!important}
