
/* Antigüedad de saldos: intensidad creciente, con etiquetas explícitas. */
#homeView.executive-home .executive-receivable{display:flex;flex-direction:column;gap:4px;width:100%;min-width:0;box-sizing:border-box;}
#homeView.executive-home .executive-receivable-amount{display:flex;align-items:baseline;justify-content:space-between;gap:8px;font-size:clamp(14px,1.13vw,18px);font-weight:850;line-height:1.3;letter-spacing:-.2px;color:#376e96;overflow-wrap:anywhere;}
#homeView.executive-home .executive-receivable:not(.executive-receivable--overdue){padding:5px 0 8px;}
#homeView.executive-home .executive-receivable:not(.executive-receivable--overdue) .executive-receivable-amount{font-size:clamp(18px,1.45vw,23px);}
#homeView.executive-home .executive-receivable--overdue{padding:10px 12px;border:1px solid var(--debt-border);border-left:4px solid var(--debt-accent);border-radius:9px;background:var(--debt-bg);gap:5px;}
#homeView.executive-home .executive-receivable--soft{--debt-bg:#fff8f6;--debt-border:#eedbd6;--debt-accent:#d7a99d;--debt-ink:#956354;--debt-chip:#f5e7e1;}
#homeView.executive-home .executive-receivable--medium{--debt-bg:#fff0ec;--debt-border:#f0c6bc;--debt-accent:#d86b55;--debt-ink:#ae4433;--debt-chip:#f9dcd3;}
#homeView.executive-home .executive-receivable--strong{--debt-bg:#ffe8e8;--debt-border:#eeb1b4;--debt-accent:#bc3040;--debt-ink:#982333;--debt-chip:#f8cdd2;}
#homeView.executive-home .executive-receivable--overdue .executive-payment-caption{font-size:11px;font-weight:700;color:var(--debt-ink);}
#homeView.executive-home .executive-receivable--overdue .executive-receivable-amount{color:var(--debt-ink);}
#homeView.executive-home .executive-receivable-share{flex-shrink:0;padding:3px 8px;border-radius:6px;background:var(--debt-chip);font-size:12px;font-weight:800;letter-spacing:0;white-space:nowrap;}
#homeView.executive-home .executive-receivable-date{font-size:10px;line-height:1.4;color:#887666;margin-top:4px;}
#homeView.executive-home .executive-kpi-card--payments .executive-kpi-foot{margin-top:0;}
@media(max-width:380px){#homeView.executive-home .executive-receivable--overdue{padding:9px;}#homeView.executive-home .executive-receivable-share{padding:3px 5px;}}

/* Resumen de cobranzas: saldo y plazo juntos, distribución por antigüedad. */
#homeView.executive-home #homeKpiPayments{gap:8px;}
#homeView.executive-home #homeKpiPayments .executive-payment-relation{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;margin-top:2px;}
#homeView.executive-home #homeKpiPayments .executive-payment-ratio{font-size:15px;padding:4px 8px;border-radius:6px;background:#edf4f8;line-height:1.2;white-space:nowrap;}
#homeView.executive-home .executive-receivable-summary{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;width:100%;box-sizing:border-box;padding:14px 12px;background:#f0f6fa;border:1px solid #dce8ef;border-radius:10px;margin:2px 0 3px;}
#homeView.executive-home .executive-receivable-total,#homeView.executive-home .executive-receivable-average{display:flex;flex-direction:column;gap:6px;min-width:0;}
#homeView.executive-home .executive-receivable-summary .executive-payment-caption{color:#60798a;font-size:10px;}
#homeView.executive-home .executive-receivable-total .executive-receivable-amount{font-size:clamp(19px,1.4vw,23px);display:block;white-space:nowrap;overflow-wrap:normal;letter-spacing:-.5px;}
#homeView.executive-home .executive-receivable-average{border-left:1px solid #d1e1eb;padding-left:12px;text-align:right;}
#homeView.executive-home .executive-receivable-average-value{font-size:20px;font-weight:800;color:#376e96;line-height:1.3;white-space:nowrap;letter-spacing:-.4px;}
#homeView.executive-home .executive-aging-heading{font-size:10px;font-weight:700;color:#8a7868;margin-top:2px;}
#homeView.executive-home .executive-aging-mix{display:flex;width:100%;height:5px;gap:2px;border-radius:5px;overflow:hidden;background:#f1e9e4;margin-bottom:4px;}
#homeView.executive-home .executive-aging-mix span{width:0;min-width:0;}
#homeView.executive-home #homeReceivablesBar0{background:#d7a99d;}
#homeView.executive-home #homeReceivablesBar30{background:#d86b55;}
#homeView.executive-home #homeReceivablesBar60{background:#bc3040;}
#homeView.executive-home #homeKpiPayments .executive-receivable-amount,#homeView.executive-home .executive-receivable-average-value,#homeView.executive-home .executive-receivable-share{font-variant-numeric:tabular-nums;}
#homeView.executive-home #homeKpiPayments .executive-receivable--overdue{padding:9px 11px;gap:4px;}
#homeView.executive-home #homeKpiPayments .executive-receivable-date{margin-top:2px;}
@media(max-width:380px){
#homeView.executive-home .executive-receivable-summary{padding:12px 9px;gap:8px;}
#homeView.executive-home .executive-receivable-total .executive-receivable-amount{font-size:17px;}
#homeView.executive-home .executive-receivable-average{padding-left:8px;}
#homeView.executive-home .executive-receivable-average-value{font-size:18px;}
#homeView.executive-home .executive-receivable-summary .executive-payment-caption{font-size:9px;}
}

#homeView.executive-home #homeKpiPayments .executive-payments-top{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:12px;width:100%;}
#homeView.executive-home #homeKpiPayments .executive-payments-col{display:flex;flex-direction:column;align-items:flex-start;gap:8px;min-width:0;}
#homeView.executive-home #homeKpiPayments .executive-payment-relation{width:auto;max-width:115px;display:flex;flex-direction:column;align-items:flex-end;gap:6px;text-align:right;margin:0 0 1px;}
#homeView.executive-home #homeKpiPayments .executive-payment-relation .executive-payment-caption{font-size:10px;max-width:110px;}
#homeView.executive-home #homeKpiPayments .executive-payment-ratio{font-size:20px;padding:5px 8px;}
#homeView.executive-home #homeKpiPayments .executive-payment-divider{margin:1px 0;}
@media(max-width:380px){
#homeView.executive-home #homeKpiPayments .executive-payments-top{gap:8px;}
#homeView.executive-home #homeKpiPayments .executive-payment-relation{max-width:95px;}
#homeView.executive-home #homeKpiPayments .executive-payment-ratio{font-size:18px;}
}

#homeView.executive-home #homeKpiPayments .executive-receivable--overdue{display:grid;grid-template-columns:95px minmax(0,1fr);align-items:center;column-gap:10px;padding:10px 11px;}
#homeView.executive-home #homeKpiPayments .executive-receivable--overdue .executive-receivable-amount{font-size:16px;}
@media(max-width:380px){
#homeView.executive-home #homeKpiPayments .executive-receivable--overdue{grid-template-columns:82px minmax(0,1fr);column-gap:7px;padding:10px 8px;}
#homeView.executive-home #homeKpiPayments .executive-receivable--overdue .executive-payment-caption{font-size:10px;}
#homeView.executive-home #homeKpiPayments .executive-receivable--overdue .executive-receivable-amount{font-size:14px;gap:5px;}
#homeView.executive-home #homeKpiPayments .executive-receivable-share{font-size:11px;padding:3px 5px;}
}

/* Ventas: comparación del mismo corte y estado real de pedidos. */
#homeView.executive-home #homeKpiSales{gap:9px;}
#homeView.executive-home #homeKpiSales .executive-sales-top{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:end;width:100%;}
#homeView.executive-home #homeKpiSales .executive-sales-main{display:flex;flex-direction:column;align-items:flex-start;min-width:0;gap:8px;}
#homeView.executive-home #homeKpiSales .executive-sales-comparison{display:flex;flex-direction:column;align-items:flex-end;gap:6px;text-align:right;padding-bottom:1px;}
#homeView.executive-home #homeKpiSales .executive-sales-comparison .executive-sales-detail-label{font-size:10px;}
#homeView.executive-home #homeKpiSales .executive-sales-change{padding:5px 8px;border-radius:6px;font-size:18px;font-weight:800;white-space:nowrap;line-height:1.3;}
#homeView.executive-home #homeKpiSales .executive-sales-change.is-neutral{background:#f0ede8;color:#897766;font-size:11px;}
#homeView.executive-home #homeKpiSales .executive-sales-change.is-up{background:#e8f4ec;color:#32724e;}
#homeView.executive-home #homeKpiSales .executive-sales-change.is-down{background:#fcebea;color:#b34943;}
#homeView.executive-home #homeKpiSales .executive-sales-forecast{display:flex;flex-direction:column;gap:5px;width:100%;box-sizing:border-box;background:#f0f6f0;border:1px solid #dce9de;border-radius:10px;padding:12px;margin-top:3px;}
#homeView.executive-home #homeKpiSales .executive-sales-forecast[hidden]{display:none;}
#homeView.executive-home #homeKpiSales .executive-sales-forecast .executive-sales-detail-label{color:#65846d;}
#homeView.executive-home #homeKpiSales .executive-sales-forecast-value{color:#347653;font-size:22px;font-weight:850;line-height:1.2;letter-spacing:-.4px;}
#homeView.executive-home #homeKpiSales .executive-sales-forecast-note{color:#78907c;font-size:10px;line-height:1.3;}
#homeView.executive-home #homeKpiSales .executive-orders-top{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;width:100%;align-items:center;}
#homeView.executive-home #homeKpiSales .executive-ready-dispatch{display:flex;flex-direction:column;align-items:flex-end;gap:4px;border-left:1px solid #e1e8de;padding-left:12px;text-align:right;}
#homeView.executive-home #homeKpiSales .executive-ready-dispatch .executive-sales-detail-label{font-size:10px;color:#65846d;}
#homeView.executive-home #homeKpiSales .executive-ready-count{font-size:19px;font-weight:850;color:#347653;line-height:1.2;}
#homeView.executive-home #homeKpiSales .executive-ready-note{font-size:9px;color:#879781;}
#homeView.executive-home #homeKpiSales .executive-orders-mix{display:flex;width:100%;height:6px;background:#f1e8dc;border-radius:6px;overflow:hidden;gap:2px;margin:3px 0 1px;}
#homeView.executive-home #homeDeliverableBar{background:#6eaa87;width:0;}
#homeView.executive-home #homeNotDeliverableBar{background:#d7b78c;width:0;}
#homeView.executive-home #homeKpiSales .executive-sales-detail--deliver,#homeView.executive-home #homeKpiSales .executive-sales-detail--remaining{display:grid;grid-template-columns:123px minmax(0,1fr);align-items:center;gap:8px;box-sizing:border-box;border-radius:8px;padding:8px 10px;}
#homeView.executive-home #homeKpiSales .executive-sales-detail--deliver{background:#f0f7f1;}
#homeView.executive-home #homeKpiSales .executive-sales-detail--remaining{background:#faf4eb;}
#homeView.executive-home #homeKpiSales .executive-sales-detail--remaining .executive-sales-detail-amount{color:#9b754b;}
#homeView.executive-home #homeKpiSales .executive-sales-deliver-row{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;}
#homeView.executive-home #homeKpiSales .executive-sales-detail--deliver .executive-sales-detail-amount,#homeView.executive-home #homeKpiSales .executive-sales-detail--remaining .executive-sales-detail-amount{font-size:16px;white-space:nowrap;}
#homeView.executive-home #homeKpiSales .executive-sales-detail--remaining .executive-sales-percent{background:#f2e4d1;color:#9b754b;border-color:#e8d6bc;}
#homeView.executive-home #homeKpiSales .executive-sales-detail-label{display:flex;align-items:center;gap:6px;}
#homeView.executive-home #homeKpiSales .executive-orders-dot{width:5px;height:5px;flex-shrink:0;border-radius:50%;}
#homeView.executive-home #homeKpiSales .executive-orders-dot.is-ready{background:#6eaa87;}
#homeView.executive-home #homeKpiSales .executive-orders-dot.is-waiting{background:#cba56f;}
#homeView.executive-home #homeKpiSales .executive-sales-detail-amount,#homeView.executive-home #homeKpiSales .executive-ready-count,#homeView.executive-home #homeKpiSales .executive-sales-forecast-value,#homeView.executive-home #homeKpiSales .executive-sales-change{font-variant-numeric:tabular-nums;}
#homeView.executive-home #homeOrdersDate{margin-top:auto;}
@media(max-width:420px){
#homeView.executive-home #homeKpiSales .executive-sales-detail--deliver,#homeView.executive-home #homeKpiSales .executive-sales-detail--remaining{grid-template-columns:105px minmax(0,1fr);padding:8px;gap:6px;}
#homeView.executive-home #homeKpiSales .executive-sales-detail--deliver .executive-sales-detail-amount,#homeView.executive-home #homeKpiSales .executive-sales-detail--remaining .executive-sales-detail-amount{font-size:14px;}
#homeView.executive-home #homeKpiSales .executive-sales-percent{font-size:10px;padding:3px 5px;}
#homeView.executive-home #homeKpiSales .executive-sales-detail-label{font-size:10px;}
#homeView.executive-home #homeKpiSales .executive-sales-deliver-row{gap:5px;}
#homeView.executive-home #homeKpiSales .executive-sales-change{font-size:16px;}
}

#homeView.executive-home #homeKpiSales .executive-ready-value{font-size:16px;font-weight:800;line-height:1.2;color:#347653;font-variant-numeric:tabular-nums;white-space:nowrap;}
@media(max-width:380px){#homeView.executive-home #homeKpiSales .executive-ready-value{font-size:14px;}}

/* Inicio directo y cotización fija en la calculadora. */
#calcView .home-fx-controller{
 position:relative;z-index:4;display:flex;align-items:center;gap:12px;
 width:350px;max-width:100%;min-height:70px;box-sizing:border-box;
 padding:11px 12px;background:linear-gradient(135deg,#fcfdfb,#f7faf6);
 border:1px solid #d7e3d9;border-radius:14px;
 box-shadow:0 3px 14px rgba(49,82,63,.045);
}
#calcView .home-fx-mark{
 display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;
 border-radius:11px;background:#e6f0e9;color:#3e7756;
 font-size:13px;letter-spacing:-.25px;font-weight:900;
}
#calcView .home-fx-reading{
 display:flex;flex-direction:column;justify-content:center;gap:3px;flex:1;min-width:0;
}
#calcView .home-fx-caption{
 font-size:9px;font-weight:900;letter-spacing:1.05px;color:#718674;line-height:1.2;
}
#calcView .home-fx-amount{
 display:flex;align-items:baseline;gap:7px;min-width:0;line-height:1.1;
}
#calcView .home-fx-amount strong{
 color:#314a3c;font-size:22px;font-weight:900;letter-spacing:-.7px;
 white-space:nowrap;font-variant-numeric:tabular-nums;
}
#calcView .home-fx-amount>span{
 font-size:9px;font-weight:750;color:#7b8c80;white-space:nowrap;
}
#calcView .home-fx-reading small{
 font-size:9.5px;line-height:1.3;color:#748579;white-space:normal;
}
#calcView .home-fx-edit{
 flex:none;display:inline-flex;align-items:center;justify-content:center;gap:6px;
 min-height:35px;padding:8px 10px;background:#fff;border:1px solid #cfded2;
 border-radius:9px;color:#476a52;font-size:11px;font-weight:850;line-height:1;
 cursor:pointer;transition:background .16s,border-color .16s,color .16s;
}
#calcView .home-fx-edit svg{display:block;width:14px;height:14px;flex:none;}
#calcView .home-fx-edit:hover,
#calcView .home-fx-edit[aria-expanded="true"]{
 color:#285c3d;background:#eaf3ed;border-color:#8cb59b;
}
#calcView .home-fx-edit:focus-visible,
#calcView .home-fx-editor button:focus-visible,
#calcView .home-fx-input-wrap input:focus-visible{
 outline:2px solid #397e54;outline-offset:2px;
}
#calcView .home-fx-editor{
 position:absolute;z-index:20;top:calc(100% + 9px);right:0;
 display:flex;flex-direction:column;gap:12px;
 width:min(342px,calc(100vw - 28px));box-sizing:border-box;
 padding:19px;border:1px solid #d7e2d9;border-radius:14px;
 background:#fffefa;box-shadow:0 18px 38px rgba(39,58,46,.16),0 3px 9px rgba(39,58,46,.05);
 color:#425047;text-align:left;
}
#calcView .home-fx-editor[hidden]{display:none!important;}
#calcView .home-fx-editor-heading{
 display:flex;flex-direction:column;gap:4px;padding-bottom:12px;border-bottom:1px solid #e8eee6;
}
#calcView .home-fx-editor-heading strong{
 font-size:15px;font-weight:850;color:#324e3b;line-height:1.3;
}
#calcView .home-fx-editor-heading span{
 font-size:11px;color:#7b887d;line-height:1.5;
}
#calcView .home-fx-editor label{
 display:block;font-size:11px;font-weight:800;color:#526756;
}
#calcView .home-fx-input-wrap{
 display:flex;align-items:center;gap:9px;min-height:46px;
 box-sizing:border-box;padding:0 12px;border:1px solid #c9dacc;
 border-radius:9px;background:#fff;
}
#calcView .home-fx-input-wrap>span{
 font-size:17px;color:#6a816e;font-weight:900;
}
#calcView .home-fx-input-wrap input{
 width:100%;min-width:0;min-height:43px;box-sizing:border-box;
 padding:8px 0;background:transparent;color:#2c4635;border:0;
 border-radius:0;font-size:20px;font-weight:850;font-variant-numeric:tabular-nums;
}
#calcView .home-fx-input-wrap input:focus{outline:none;}
#calcView .home-fx-input-wrap:focus-within{
 border-color:#55916d;box-shadow:0 0 0 3px rgba(85,145,109,.12);
}
#calcView .home-fx-error{
 display:block;min-height:0;font-size:11px;line-height:1.4;color:#a63e35;
}
#calcView .home-fx-error:empty{display:none;}
#calcView .home-fx-editor-actions{
 display:flex;align-items:center;justify-content:flex-end;gap:9px;
}
#calcView .home-fx-editor-actions button{
 min-height:37px;border-radius:9px;padding:9px 13px;
 font-size:11px;font-weight:850;cursor:pointer;line-height:1.2;
}
#calcView .home-fx-cancel{
 background:#fff;border:1px solid #d9e1d9;color:#627466;
}
#calcView .home-fx-cancel:hover{background:#f4f7f2;}
#calcView .home-fx-save{
 background:#3d7554;border:1px solid #3d7554;color:#fff;
}
#calcView .home-fx-save:hover{background:#2f6244;border-color:#2f6244;}
#calcView .home-fx-save:disabled{opacity:.65;cursor:wait;}
@media(max-width:960px){
 #calcView .executive-section-head{align-items:flex-start;flex-wrap:wrap;}
 #calcView .home-overview-tools{width:100%;justify-content:space-between;}
}
@media(max-width:580px){
 #calcView .home-overview-tools{gap:8px;}
 #calcView .home-fx-controller{flex:1 1 100%;width:100%;padding:10px 11px;}
 #calcView .home-fx-amount strong{font-size:21px;}
 #calcView .home-fx-editor{width:100%;max-width:none;padding:16px;}
 #calcView .executive-refresh{margin-left:auto;}
}



#homeView.executive-home{padding-top:18px;}
#homeView.executive-home .home-panel-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 12px;padding:0;}
#homeView.executive-home .home-panel-head h1{margin:0;font-size:23px;font-weight:850;letter-spacing:-.6px;color:#514337;line-height:1.2;}
#homeView.executive-home .home-panel-head .executive-refresh{margin:0;min-height:36px;padding:8px 12px;font-size:11px;}
#homeView.executive-home .executive-overview{margin:0;}
#homeView.executive-home .executive-kpi-groups{gap:18px;}
#homeView.executive-home .executive-kpi-group-heading{padding:0;margin-bottom:8px;border:0;}
#homeView.executive-home .executive-kpi-group-title h3{font-size:12px;font-weight:750;letter-spacing:.1px;margin:0;color:#837465;}
#homeView.executive-home .executive-modules{margin-top:20px;}
#calcView .calc-fx-bar{position:sticky;top:85px;z-index:46;border-bottom:1px solid #e1e7de;background:#f9faf6;box-shadow:0 3px 12px rgba(60,70,50,.04);}
#calcView .calc-fx-bar-inner{max-width:1570px;margin:0 auto;padding:7px 28px;display:flex;align-items:center;justify-content:space-between;gap:18px;}
#calcView .calc-fx-bar-label{color:#8a7868;font-size:11px;font-weight:700;}
#calcView .home-fx-controller{width:auto;min-height:0;padding:0;gap:12px;border:0;box-shadow:none;background:none;flex-wrap:nowrap;}
#calcView .home-fx-mark{width:31px;height:31px;flex-basis:31px;border-radius:8px;font-size:11px;}
#calcView .home-fx-reading{display:grid;grid-template-columns:auto auto;column-gap:12px;row-gap:2px;align-items:center;}
#calcView .home-fx-caption{font-size:8px;grid-column:1;grid-row:1;}
#calcView .home-fx-amount{grid-column:1;grid-row:2/4;}
#calcView .home-fx-amount strong{font-size:21px;}
#calcView #homeFxDate{grid-column:2;grid-row:1/3;font-size:9px;}
#calcView .home-fx-source{grid-column:2;grid-row:3;font-size:9px;color:#3f6b4c;}
#calcView .home-fx-source[hidden]{display:none!important;}
#calcView .home-fx-edit{min-height:32px;padding:7px 9px;}
@media(max-width:780px){
#homeView.executive-home{padding-top:13px;}
#homeView.executive-home .home-panel-head h1{font-size:21px;}
#homeView.executive-home .executive-kpi-groups{gap:16px;}
#calcView .calc-fx-bar-inner{padding:7px 15px;}
#calcView .calc-fx-bar-label{display:none;}
#calcView .home-fx-controller{flex:1 1 100%;width:100%;padding:0;gap:9px;}
#calcView .home-fx-reading{column-gap:8px;flex:1;}
#calcView .home-fx-caption{letter-spacing:.6px;}
#calcView .home-fx-amount strong{font-size:19px;}
#calcView .home-fx-amount>span{font-size:8px;}
}

/* Clientes y actividad: crecimiento del mes y cartera para contactar. */
#homeView.executive-home #homeKpiClients{gap:9px;}
#homeView.executive-home .executive-clients-active{display:flex;align-items:center;justify-content:space-between;gap:14px;width:100%;}
#homeView.executive-home .executive-clients-active>span:first-child{display:flex;flex-direction:column;gap:5px;}
#homeView.executive-home .executive-clients-active-label{font-size:10px;color:#819077;}
#homeView.executive-home #homeKpiClients #homeClientsNumber{font-size:32px;color:#496c42;line-height:1.1;}
#homeView.executive-home #homeClientsPercent{padding:6px 9px;background:#edf4e8;border:1px solid #dbe8d0;border-radius:7px;font-size:18px;color:#4e7646;line-height:1.2;font-weight:850;white-space:nowrap;}
#homeView.executive-home #homeKpiClients .executive-kpi-base{font-size:10px;color:#8b8072;}
#homeView.executive-home .executive-client-divider{width:100%;height:1px;background:#ebe1d8;margin:1px 0;}
#homeView.executive-home .executive-client-heading{font-size:10px;color:#8a7868;font-weight:750;margin-top:2px;}
#homeView.executive-home .executive-client-month-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;width:100%;}
#homeView.executive-home .executive-client-month-card{display:flex;flex-direction:column;gap:5px;padding:10px 12px;border:1px solid #dce8dc;border-radius:9px;background:#f0f7f0;min-width:0;}
#homeView.executive-home .executive-client-month-card>span:first-child{font-size:11px;font-weight:750;color:#5c8161;}
#homeView.executive-home .executive-client-count{font-size:26px;color:#39734b;font-weight:850;line-height:1.15;font-variant-numeric:tabular-nums;}
#homeView.executive-home .executive-client-month-card small{font-size:9px;line-height:1.3;color:#809483;}
#homeView.executive-home .executive-client-month-card.is-recovered{background:#eef6f5;border-color:#d9e8e4;}
#homeView.executive-home .executive-client-month-card.is-recovered>span:first-child{color:#54817c;}
#homeView.executive-home .executive-client-month-card.is-recovered .executive-client-count{color:#39776e;}
#homeView.executive-home .executive-client-history-note{font-size:9px;color:#948777;margin-top:-2px;line-height:1.3;}
#homeView.executive-home .executive-client-mix{display:flex;gap:2px;width:100%;height:5px;border-radius:5px;overflow:hidden;background:#eee8df;}
#homeView.executive-home #homeClientsActiveBar{width:0;background:#83ab77;}
#homeView.executive-home #homeClientsContactBar{width:0;background:#d8b474;}
#homeView.executive-home #homeClientsInactiveBar{width:0;background:#d8c8b9;}
#homeView.executive-home .executive-client-contact{display:flex;justify-content:space-between;align-items:center;width:100%;box-sizing:border-box;gap:12px;padding:10px 12px;background:#fbf4e6;border:1px solid #ecdfc4;border-radius:9px;}
#homeView.executive-home .executive-client-contact>span:first-child{display:flex;flex-direction:column;gap:5px;}
#homeView.executive-home .executive-client-contact-title{font-size:11px;color:#9c7740;font-weight:750;}
#homeView.executive-home .executive-client-contact small{font-size:9px;color:#a48d6b;}
#homeView.executive-home .executive-client-contact-number{font-size:24px;color:#aa8041;font-weight:850;font-variant-numeric:tabular-nums;}
#homeView.executive-home .executive-client-inactive{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:2px 1px;font-size:10px;color:#998777;}
#homeView.executive-home #homeClientsInactive{font-size:13px;font-weight:750;font-variant-numeric:tabular-nums;}
#homeView.executive-home #homeKpiClients .executive-kpi-foot{margin-top:auto;}
@media(max-width:380px){
#homeView.executive-home .executive-client-month-card{padding:10px;}
#homeView.executive-home .executive-client-month-card small{font-size:8px;}
}

/* Accesos comerciales separados y listados orientados al seguimiento. */
#homeView.executive-home #homeClients .executive-access-subtitle,#homeView.executive-home #homeSales.executive-access-card .executive-access-subtitle{line-height:1.4;}
#homeView.executive-home #homeSales.executive-access-card{border-color:#cbdfe9!important;border-left:4px solid #789eaf!important;background:#fbfdff!important;}
#homeView.executive-home #homeSales.executive-access-card .home-card-icon{background:#e7f0f6!important;border-color:#ccdee8!important;color:#507e97!important;}
#homeView.executive-home #homeSales.executive-access-card .executive-access-arrow{background:#527f98!important;border-color:#527f98!important;color:white!important;}
#homeView.executive-home #homeSales.executive-access-card:is(:hover,:focus-visible){background:#eaf3f8!important;border-color:#87adc1!important;}
#homeView.executive-home #homeSales.executive-access-card:is(:hover,:focus-visible) .executive-access-copy strong{color:#315e78!important;}
.commercial-eyebrow{font-size:9px;color:#7c8f78;letter-spacing:1.2px;font-weight:850;}
#salesView .commercial-eyebrow{color:#648496;}
#salesView .page-intro,#clientsView .page-intro{margin-bottom:20px;align-items:center;}
#salesView .page-intro h1,#clientsView .page-intro h1{font-size:28px;color:#4b4037;margin:5px 0 7px;line-height:1.2;}
#salesView .page-intro p,#clientsView .page-intro p{font-size:12px;line-height:1.5;color:#948271;max-width:750px;}
#clientsView .client-roster-panel{padding:22px 24px;border-top:3px solid #92b29a;}
#clientsView .client-roster-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;}
#clientsView .client-roster-head h2{margin:6px 0;font-size:23px;color:#405644;letter-spacing:-.5px;}
#clientsView .client-roster-head p{margin:0;color:#8b7c6d;font-size:12px;line-height:1.5;}
.commercial-source-date{font-size:10px;color:#a08e7b;white-space:nowrap;padding-top:5px;}
#clientsView .client-roster-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:20px 0;}
#clientsView .client-roster-tabs button{position:relative;text-align:left;border:1px solid #e2dbd1;border-radius:11px;padding:15px 17px;background:#faf8f3;display:flex;flex-direction:column;gap:6px;color:#837461;transition:background .15s,border-color .15s;}
#clientsView .client-roster-tabs button>span{font-size:12px;font-weight:750;}
#clientsView .client-roster-tabs button strong{font-size:30px;line-height:1.1;font-variant-numeric:tabular-nums;}
#clientsView .client-roster-tabs button small{font-size:10px;line-height:1.4;}
#clientsView #clientRosterContact{background:#fbf6e9;color:#9c7a43;border-color:#eadabd;}
#clientsView #clientRosterNew{background:#eef6ef;color:#467a53;border-color:#d3e4d5;}
#clientsView #clientRosterRecovered{background:#edf5f6;color:#4d7d85;border-color:#d2e3e5;}
#clientsView .client-roster-tabs button[aria-selected="true"]{box-shadow:inset 0 0 0 2px currentColor;}
#clientsView .client-roster-tabs button[aria-selected="true"]::after{content:"Ver listado";position:absolute;right:15px;top:16px;font-size:9px;font-weight:750;opacity:.75;}
#clientsView .client-roster-tabs button:focus-visible{outline:3px solid #afc7b3;outline-offset:3px;}
#clientsView .client-roster-toolbar{display:grid;grid-template-columns:minmax(240px,1.5fr) minmax(160px,1fr) minmax(170px,1fr);gap:12px;padding:15px;background:#f8f6f1;border:1px solid #eee6dc;border-radius:10px;}
#clientsView .client-roster-toolbar label{display:flex;flex-direction:column;gap:7px;font-size:10px;font-weight:750;color:#8b7967;}
#clientsView .client-roster-toolbar input,#clientsView .client-roster-toolbar select{min-height:40px;padding:9px 11px;width:100%;min-width:0;border:1px solid #dcd4c7;border-radius:7px;background:#fffefa;color:#5e5146;outline-color:#85a98f;}
#clientsView .client-roster-result{font-size:11px;color:#998674;margin:15px 0 0;}
#clientsView .client-roster-scroll{margin-top:10px;max-height:650px;}
#clientsView .client-roster-table{min-width:750px;}
#clientsView .client-roster-table th{background:#6c8573;padding:12px 14px;}
#clientsView .client-roster-table td{padding:13px 14px;font-size:12px;}
#clientsView .client-roster-table td:first-child{text-align:left;}
#clientsView .client-roster-table tbody tr:nth-child(even){background:#f7f9f4;}
#clientsView .client-roster-table tbody tr:hover{background:#eef4ed;}
#clientsView .client-roster-name strong{font-size:12px;font-weight:750;color:#405344;display:block;}
#clientsView .client-roster-name small{display:block;font-size:9px;color:#9b8c7a;margin-top:5px;}
#clientsView .roster-days{display:inline-flex;padding:4px 8px;background:#f4ead4;color:#9b7841;font-weight:750;border-radius:6px;min-width:36px;justify-content:center;}
#clientsView .roster-amount{font-weight:750;color:#49775a;white-space:nowrap;}
#clientsView .client-roster-open{display:inline-flex;padding:7px 10px;border:1px solid #d5e1d4;border-radius:7px;font-weight:750;font-size:10px;text-decoration:none;color:#4b7754;background:#f5faf3;white-space:nowrap;}
#clientsView .client-roster-open:hover{background:#dfedde;}
#clientsView .client-roster-empty{text-align:center;padding:26px 12px;color:#95846f;font-size:12px;line-height:1.6;}
#clientsView .client-overview-disclosure{padding:0;}
#clientsView .client-overview-disclosure>summary{display:flex;align-items:center;gap:14px;padding:19px 24px;cursor:pointer;color:#52674f;font-size:14px;font-weight:750;list-style:none;}
#clientsView .client-overview-disclosure>summary small{font-size:11px;font-weight:400;color:#9a8875;flex:1;}
#clientsView .client-overview-disclosure>.clients-summary-panel{border:0;border-top:1px solid #eee6da;border-radius:0;margin:0;padding:20px 24px;}
#salesView .clients-sales-panel{border-top:3px solid #91b1c3;padding:23px 25px;}
#salesView .clients-sales-panel>.section-header h2{color:#476d82;}
#salesView .clients-sales-kpi{border-color:#d7e3e9;background:#f2f7fa;}
#salesView .clients-sales-kpi strong{color:#426f88;}
#salesView .clients-sales-kpi:nth-child(3){background:#f1f7f0;border-color:#d7e5d5;}
#salesView .clients-sales-kpi:nth-child(3) strong{color:#4c7b53;}
#salesView .clients-sales-kpi:nth-child(4){background:#f7f4ee;}
#salesView .clients-table th{background:#668294;}
#salesView .clients-sales-upload{border-color:#e1e6e9;background:#fafcfd;}
@media(max-width:780px){
#clientsView .client-roster-panel{padding:17px 14px;}
#clientsView .client-roster-head{flex-direction:column;gap:7px;}
#clientsView .client-roster-head h2{font-size:21px;}
#clientsView .client-roster-tabs{gap:7px;}
#clientsView .client-roster-tabs button{padding:13px 10px;}
#clientsView .client-roster-tabs button strong{font-size:25px;}
#clientsView .client-roster-tabs button small{font-size:9px;}
#clientsView .client-roster-tabs button[aria-selected="true"]::after{display:none;}
#clientsView .client-roster-toolbar{grid-template-columns:repeat(2,minmax(0,1fr));padding:12px;}
#clientsView .client-roster-search{grid-column:1/-1;}
#clientsView .client-overview-disclosure>summary{padding:17px 14px;flex-wrap:wrap;}
#clientsView .client-overview-disclosure>summary small{flex-basis:70%;}
#salesView .clients-sales-panel{padding:19px 14px;}
}
