*{box-sizing:border-box}body{margin:0;background:#f3f5fa;color:#182841;font:14px 'Segoe UI',Arial,sans-serif}header{height:82px;background:#fff;border-bottom:1px solid #e1e6ef;display:flex;align-items:center;gap:16px;padding:0 4%}.brand{background:#283b81;color:white;font-size:30px;font-weight:800;border-radius:12px;padding:6px 13px}.brand span{color:#b9f17d}header small{display:block;font-size:9px;letter-spacing:2px;margin-top:6px;color:#71809a}.private{margin-left:auto;color:#247159;background:#edf8f1;padding:9px 13px;border-radius:20px;font-size:12px}main{max-width:1700px;margin:auto;padding:34px 4%}.heading,.panelhead,.scope,.pager,.dialogtop{display:flex;align-items:center;justify-content:space-between;gap:16px}.eyebrow{color:#5d6fb0;font-size:10px;letter-spacing:2px;font-weight:700}h1{font-size:34px;letter-spacing:-1.2px;margin:10px 0}h2{font-size:17px;margin:0 0 8px}p{line-height:1.6}.muted,.panel p,.scope,.foot,.method{color:#6a7890}.upload{background:#344c9c;color:white;border-radius:9px;padding:13px 20px;font-weight:600;cursor:pointer;white-space:nowrap}.upload input{display:none}.notice{background:#e9eefb;border:1px solid #d8e1fb;color:#364c83;padding:14px 18px;border-radius:10px;margin:22px 0}.notice.error{background:#ffece9;color:#a12d25}.filters{display:flex;flex-wrap:wrap;gap:12px;padding:20px;background:white;border:1px solid #e2e7f0;border-radius:12px}label{display:flex;flex-direction:column;gap:8px;font-size:11px;color:#596981;font-weight:600}.filters label{flex:1;min-width:135px}.filters .search{flex:1.8;min-width:210px}input,select,button{font:inherit}input,select{height:39px;border:1px solid #dce2ed;border-radius:7px;background:#fff;padding:8px;color:#243550;min-width:0;max-width:100%}button{border:1px solid #dce2ed;background:white;color:#34466b;border-radius:7px;padding:9px 13px;cursor:pointer}button:hover{background:#edf1fc}button:disabled{opacity:.4;cursor:default}.quiet{align-self:end}.scope{font-size:11px;margin:22px 0 14px}.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:17px}.card,.panel{background:white;border:1px solid #e1e6ef;border-radius:12px;padding:23px}.card:nth-child(4){background:#273c7b;color:white}.card small{display:block;color:#71809a;line-height:1.6}.card:nth-child(4) small{color:#d3ddf7}.card strong{font-size:33px;display:block;margin:13px 0 7px;letter-spacing:-1px}.card .label{font-size:12px;font-weight:600}.charts{display:grid;grid-template-columns:1.5fr 1fr;gap:17px;margin:20px 0}.panel p{font-size:11px;margin:0 0 18px}.legend{font-size:10px;color:#445fc0;white-space:nowrap}.legend i{font-style:normal;color:#a5b4df;margin-left:10px}.bars{height:190px;display:flex;align-items:stretch;gap:5px;padding-top:22px;border-bottom:1px solid #e2e7f0}.barcol{flex:1;display:flex;flex-direction:column;justify-content:end;align-items:center;min-width:0;position:relative}.barstack{width:75%;display:flex;flex-direction:column;justify-content:end;height:145px}.barstack b{display:block;background:#4764b9;min-height:0}.barstack i{display:block;background:#a8b9e7}.barcol span{font-size:9px;color:#8290a6;margin:10px 0}.foot{margin-top:15px!important}.breakrow{display:grid;grid-template-columns:145px 1fr 45px;gap:10px;align-items:center;margin:14px 0;font-size:11px}.track{height:7px;background:#f0f2f7;border-radius:9px;overflow:hidden}.track div{height:100%;border-radius:9px}.badge{display:inline-block;border-radius:5px;padding:5px 8px;font-size:10px;font-weight:600;white-space:nowrap}.s0{color:#187568;background:#e6f6ef}.s1{color:#a66b12;background:#fff3d9}.s2{color:#a24a6d;background:#faeaf1}.s3{color:#53658c;background:#edf0f8}.s4{color:#a35e37;background:#fbeee4}.s5{color:#717887;background:#edf0f3}.detail{padding-bottom:12px}.detail input{width:250px}.tablewrap{overflow:auto;max-height:570px;margin-top:18px}table{border-collapse:collapse;width:100%;font-size:11px;text-align:left;white-space:nowrap}th{position:sticky;top:0;background:#f4f6fb;z-index:1}th button{border:0;background:transparent;padding:12px 8px;font-size:10px;font-weight:600;white-space:nowrap}td{padding:14px 9px;border-bottom:1px solid #edf0f6;max-width:290px;overflow:hidden;text-overflow:ellipsis}tbody tr{cursor:pointer}tbody tr:hover{background:#f4f7ff}.pager{font-size:11px;color:#697891;padding-top:15px}.pager div{display:flex;align-items:center;gap:15px}.method{font-size:11px;margin:22px 0}dialog{border:0;border-radius:15px;width:min(1000px,94vw);max-height:90vh;padding:28px;color:#23344f;box-shadow:0 20px 80px #162b5650}dialog::backdrop{background:#12254680}.dialogtop{margin-bottom:20px}.facts{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;background:#f2f5fb;border-radius:10px;padding:18px;margin:18px 0}.facts p{margin:0;font-size:12px;overflow-wrap:anywhere}.history{border-left:2px solid #dae2f4;margin-left:7px;padding-left:22px}.event{padding:15px;border-radius:9px;background:#f5f7fb;margin:12px 0;font-size:12px;overflow-wrap:anywhere}.event.active{background:#eaf0ff;border:1px solid #9cafdc}.event p{margin:8px 0}.event button{font-size:11px}.empty{padding:32px;text-align:center;color:#8390a6}@media(max-width:1000px){.cards{grid-template-columns:repeat(2,1fr)}.charts{grid-template-columns:1fr}.heading{align-items:start}h1{font-size:28px}}@media(max-width:600px){header .muted,.private{display:none}.heading{flex-direction:column}.cards{gap:9px}.card{padding:15px}.card strong{font-size:28px}.scope,.panelhead{align-items:start;flex-direction:column}.facts{grid-template-columns:1fr}main{padding:20px 4%}.panel{padding:16px}.legend{white-space:normal}}
/* Directorio y ficha individual */
.brand-logo{width:74px;height:68px;object-fit:contain;flex-shrink:0}.brand-divider{width:1px;height:32px;background:#dce1ec;margin-right:4px}header{box-shadow:0 2px 12px #1c2b4a05}h1{font-weight:650;letter-spacing:-1.1px}.advisor-directory{margin:22px 0}.advisor-directory .tablewrap{max-height:none}.advisor-directory th{padding:13px 10px;font-size:11px}.advisor-directory td{padding:12px 10px}.person{display:flex;align-items:center;gap:12px}.person small{display:block;margin-top:5px;color:#7a879a;font-family:Consolas,monospace}.avatar{display:inline-flex;align-items:center;justify-content:center;background:#ecedf9;color:#5855a0;border:1px solid #dedff1;width:37px;height:37px;flex-shrink:0;border-radius:10px;font-size:12px;font-weight:700}.avatar.large{width:70px;height:70px;border-radius:17px;font-size:25px;background:#ffffff19;border-color:#ffffff27;color:#fff}.selected-row{background:#eff2ff}.selected-row td:first-child{box-shadow:inset 3px 0 #6f61cb}.advisor-profile{scroll-margin-top:20px;margin:25px 0 32px}.profile-hero{background:linear-gradient(115deg,#222b58,#41447c);color:white;padding:27px 28px;border-radius:14px 14px 0 0;display:flex;justify-content:space-between;align-items:center;gap:20px}.profile-hero h2{font-size:26px;letter-spacing:-.5px;margin:7px 0}.profile-hero p{margin:5px 0;font-size:12px;color:#d2d6ee}.profile-hero .eyebrow{font-size:10px;color:#c5c8ee}.profile-tag{border:1px solid #ffffff30;background:#ffffff0b;border-radius:20px;padding:9px 12px;font-size:10px;white-space:nowrap}.profile-tiles{display:grid;grid-template-columns:repeat(5,1fr);background:#fff;border:1px solid #dfe3ef;border-top:0;border-radius:0 0 14px 14px;overflow:hidden;margin-bottom:18px}.profile-tile{border:0;border-right:1px solid #e9ecf4;border-radius:0;padding:22px;text-align:left;display:flex;flex-direction:column;gap:10px}.profile-tile:last-child{border-right:0}.profile-tile span{font-size:11px;font-weight:600;line-height:1.5;min-height:32px}.profile-tile strong{font-size:30px;font-weight:650;color:#2b3762;letter-spacing:-.7px}.profile-tile small{color:#768198;font-size:10px;line-height:1.5;min-height:30px}.profile-tile em{font-size:10px;font-style:normal;color:#635bc0}.profile-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:18px}.time-panel .eyebrow{font-size:9px;color:#6f659e}.time-panel h2{font-size:18px;margin-bottom:20px}.time-row{display:grid;grid-template-columns:1fr auto;gap:8px;padding:13px 0;border-top:1px solid #edf0f6}.time-row span{font-size:12px}.time-row b{font-size:15px;font-variant-numeric:tabular-nums}.time-row small{grid-column:1/-1;color:#7d8799;font-size:10px}.shared-time{background:#f7f6fc;border-color:#e4e0f2}.shared-time>p:last-child{margin:13px 0 0}.profile-facts{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;border:1px solid #e1e6ef;border-radius:11px;background:white;padding:19px 22px;margin-bottom:18px}.profile-facts small{display:block;color:#7a8799;font-size:10px;margin-bottom:8px}.profile-facts b{font-size:13px}.rankline{margin:17px 0}.rankline>div:first-child{display:flex;justify-content:space-between;gap:15px;margin-bottom:8px;font-size:11px}.rankline span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:90%}.rankline .track{height:5px}.ranked summary{font-size:11px;color:#625ca0;cursor:pointer}.ranked details p{margin:12px 0;display:flex;justify-content:space-between;gap:15px}.daily-panel th{padding:12px 9px;font-size:11px}.daily-panel .tablewrap{max-height:320px}.profile-note{font-size:11px;color:#75829a;line-height:1.8;padding:0 3px}.case-tools{display:flex;gap:12px}.case-tools select{max-width:270px}.detail{scroll-margin-top:20px}.card,.panel{box-shadow:0 3px 12px #243d6003}button:focus-visible,input:focus-visible,select:focus-visible,tr:focus-visible{outline:3px solid #9b95df;outline-offset:2px}[hidden]{display:none!important}@media(max-width:1100px){.profile-tiles{grid-template-columns:repeat(3,1fr)}.profile-hero{align-items:start}.profile-tag{display:none}.profile-facts{grid-template-columns:repeat(2,1fr)}}@media(max-width:700px){.profile-grid{grid-template-columns:1fr}.profile-tiles{grid-template-columns:repeat(2,1fr)}.profile-hero{padding:20px}.profile-hero h2{font-size:20px}.profile-hero .large{width:52px;height:52px;font-size:20px}.profile-facts{gap:20px}.case-tools{flex-direction:column}.case-tools input,.case-tools select{width:100%;max-width:100%}.profile-tile{padding:16px}.brand-logo{width:55px;height:55px}}
/* Distribución horaria de cierres por asesor */
.hourly-panel{margin-bottom:18px}.hourly-panel .eyebrow{font-size:10px;color:#6b62ab}.hourly-panel th{padding:12px 9px;font-size:11px}.hourly-panel summary{cursor:pointer;padding:15px 0;font-size:12px;font-weight:600;color:#4d5690}.hourly-panel details+details{border-top:1px solid #e3e7f1}.hour-chart{display:flex;gap:5px;overflow-x:auto;margin:18px 0 12px;padding:6px 0 10px;min-height:160px}.hour-cell{flex:1;min-width:25px;display:flex;flex-direction:column;align-items:center;justify-content:end;border:0;border-radius:5px;padding:5px 1px;background:#f7f8fc;font-size:10px}.hour-cell strong{font-size:10px;line-height:18px;color:#465581}.hour-cell small{color:#66758e;margin-top:8px}.hour-stack{height:100px;display:flex;flex-direction:column;justify-content:end;width:75%}.hour-stack i{display:block;background:#a8b9e7}.hour-stack b{display:block;background:#4764b9}#clearHour{align-self:end;max-width:160px}.hourly-panel .profile-facts{background:#f8f9fd;margin-top:18px}.hourly-panel .profile-facts b{line-height:1.6}
/* Indicadores operativos principales */
.primary-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:24px}.primary-card{background:#fff;border:1px solid #dfe4f1;border-top:3px solid #6553b0;border-radius:12px;padding:24px;box-shadow:0 4px 16px #2b3c5d05}.primary-card:nth-child(2){border-top-color:#278672}.primary-card:nth-child(3){border-top-color:#4b71bb}.primary-card>span{display:block;font-size:12px;font-weight:650;color:#4b5876}.primary-card strong{display:block;font-size:28px;line-height:1.5;letter-spacing:-.7px;margin:14px 0;color:#283957}.primary-card strong em{font-size:11px;font-style:normal;font-weight:400;display:block;letter-spacing:0;color:#738199}.primary-card small{font-size:11px;color:#738199;line-height:1.8;display:block}.metric-method{font-size:10px;line-height:1.8;color:#75819a;margin:12px 3px 22px}.case-tools{flex-wrap:wrap;justify-content:end}@media(max-width:850px){.primary-metrics{grid-template-columns:1fr}.primary-card{padding:20px}.primary-card strong{font-size:27px}}
.tmo-readable{display:block;margin-top:5px;color:#76829a;font-size:10px;font-weight:400}
/* Vista simple para revisar los tres indicadores principales */
header{height:65px;background:#fff}.brand-logo{width:60px;height:56px}main{max-width:1450px;padding-top:20px}.heading{margin-bottom:16px}.heading>p{margin:0;font-size:14px}.advanced-filters{align-self:end;min-width:130px}.advanced-filters summary,.metric-help summary,.extra-summary>summary,.profile-more>summary{cursor:pointer;font-size:12px;font-weight:600;color:#475a83;padding:12px}.advanced-filters>div{display:flex;flex-wrap:wrap;gap:12px;padding-top:10px}.advanced-filters[open]{flex-basis:100%;order:2}.advanced-filters>div label{min-width:180px}.metric-help{margin:12px 0 20px}.metric-help p{font-size:12px;color:#6a7890;max-width:1000px;padding:0 12px;line-height:1.9}.extra-summary{margin:20px 0;border:1px solid #dfe5ef;border-radius:10px;padding:5px 12px;background:#f9faff}.extra-summary .charts{margin-bottom:10px}.profile-more{margin:18px 0;border:1px solid #e0e5ef;border-radius:10px;padding:10px}.profile-more>summary{padding:10px 5px 16px}.profile-hero{border-radius:12px;margin-bottom:18px;padding:20px}.profile-hero h2{font-size:23px}.primary-card{padding:20px}.primary-card strong{margin:10px 0}.primary-card small{line-height:1.6}.advisor-directory .person small{font-size:10px}.advisor-directory .pager>span{max-width:65%;font-size:10px}.hourly-panel details{margin-top:10px}.profile-note{font-size:10px}.case-tools label{font-size:10px}.tablewrap{margin-top:12px}@media(max-width:700px){.heading{align-items:center;flex-direction:row}.heading>p{font-size:12px}.upload{padding:12px}.advisor-directory .pager{align-items:start;flex-direction:column}}
.saved-file{display:flex;align-items:center;justify-content:space-between;gap:15px;color:#6c7b91;font-size:11px;margin:-10px 2px 20px;line-height:1.6}.saved-file button{font-size:10px;padding:7px 10px;flex-shrink:0}@media(max-width:600px){.saved-file{align-items:start;flex-direction:column}}
/* Gráficos simples: una barra y un número por hora */
.simple-hour-bars{display:grid;grid-template-columns:1fr 1fr;grid-auto-flow:row;gap:8px 28px;margin:18px 0}.simple-hour-row{display:grid;grid-template-columns:44px 1fr 40px;align-items:center;gap:10px;padding:9px 8px;border:0;background:transparent;font-size:12px;text-align:left;border-radius:6px}.simple-hour-row>span:first-child{color:#61718c;font-variant-numeric:tabular-nums}.simple-hour-row>b{text-align:right;color:#304566;font-size:13px}.simple-hour-track{display:block;height:9px;background:#edf0f6;border-radius:4px;overflow:hidden}.simple-hour-track>i{display:block;height:100%;background:#5a73b4;border-radius:4px}.simple-chart-note{font-size:11px!important;color:#71809a!important;line-height:1.8}.hourly-panel>p{max-width:850px}.hourly-panel>details:first-of-type{margin:5px 0 14px}.simple-hours{min-height:100px}.breakrow{grid-template-columns:145px 1fr 48px;font-size:12px;margin:20px 0}.breakrow .track{height:9px}.breakrow .track div{background:#7184b7!important}@media(max-width:700px){.simple-hour-bars{grid-template-columns:1fr;gap:5px}.simple-hour-row{padding:8px 4px}}
/* Rutas locales: una vista para cada indicador */
.kpi-nav{display:flex;gap:6px;border-bottom:1px solid #dce2ee;margin:5px 0 24px;overflow:auto}.kpi-nav a{color:#697991;text-decoration:none;font-size:13px;font-weight:600;white-space:nowrap;padding:13px 22px;border-bottom:3px solid transparent}.kpi-nav a:hover{background:#edf0f8}.kpi-nav a[aria-current="page"]{color:#5248a1;border-color:#6c5ec1;background:#eeedf9;border-radius:7px 7px 0 0}.route-heading h1{font-size:25px;margin:0 0 8px;letter-spacing:-.5px}.route-heading p{font-size:12px;color:#738096;margin:0 0 22px}.route-panel{margin:20px 0}.route-analysis h3{font-size:14px;margin:26px 0 12px}.route-analysis>p{max-width:900px;font-size:12px;line-height:1.8}.route-analysis th{font-size:11px;padding:13px 9px}.route-counts{display:flex;gap:45px;flex-wrap:wrap;margin:25px 0}.route-counts strong{display:block;font-size:26px;color:#34496f}.route-counts span{display:block;color:#7a869b;font-size:11px;margin-top:6px}.fcr-results{display:grid;gap:10px;margin:22px 0}.fcr-results button{display:grid;grid-template-columns:1fr 80px 90px;align-items:center;gap:15px;padding:17px;text-align:left}.fcr-results small{display:block;color:#7a8599;margin-top:7px;font-size:11px}.fcr-results strong{font-size:23px}.fcr-results button>span:last-child{font-size:11px;color:#6158ac}
body[data-route] .primary-metrics{grid-template-columns:1fr;max-width:100%}body[data-route] .primary-card{display:none}body[data-route="tmo"] .primary-card:nth-child(1),body[data-route="fcr"] .primary-card:nth-child(2),body[data-route="cxh"] .primary-card:nth-child(3){display:block}body[data-route] .metric-help{display:none}body[data-route] .advisor-profile{display:none}body[data-route="cxh"] .advisor-profile:not([hidden]),body[data-route="actividad"] .advisor-profile:not([hidden]){display:block}body[data-route="cxh"] .profile-more,body[data-route="cxh"] .profile-note{display:none}body[data-route="actividad"] #advisorHourly{display:none}body[data-route] .extra-summary,body[data-route] #casesSection{display:none}body[data-route="actividad"] .extra-summary,body[data-route="casos"] #casesSection{display:block}body[data-route="casos"] .advisor-directory,body[data-route="casos"] .primary-metrics,body[data-route="actividad"] .primary-metrics{display:none}body[data-route] .advisor-directory th:nth-child(3),body[data-route] .advisor-directory td:nth-child(3),body[data-route] .advisor-directory th:nth-child(4),body[data-route] .advisor-directory td:nth-child(4),body[data-route] .advisor-directory th:nth-child(5),body[data-route] .advisor-directory td:nth-child(5){display:none}body[data-route="tmo"] .advisor-directory th:nth-child(3),body[data-route="tmo"] .advisor-directory td:nth-child(3),body[data-route="fcr"] .advisor-directory th:nth-child(4),body[data-route="fcr"] .advisor-directory td:nth-child(4),body[data-route="cxh"] .advisor-directory th:nth-child(5),body[data-route="cxh"] .advisor-directory td:nth-child(5){display:table-cell}.route-analysis td{max-width:450px}@media(max-width:600px){.kpi-nav a{padding:12px 15px}.route-counts{gap:22px}.fcr-results button{grid-template-columns:1fr 50px}.fcr-results button>span:last-child{grid-column:1/-1}.route-heading h1{font-size:22px}}
/* Identidad TP: violeta y magenta del logo */
:root{--tp-violet:#780096;--tp-magenta:#ec008c;--tp-ink:#291c32;--tp-muted:#78677f;--tp-pale:#f7edf9;--tp-line:#eadfee;--tp-gradient:linear-gradient(110deg,#780096,#ec008c)}
body{background:#faf7fb;color:var(--tp-ink)}header{border-bottom:2px solid #ecd8ed}.muted,.panel p,.scope,.foot,.method,.route-heading p,.profile-note{color:var(--tp-muted)}.upload{background:var(--tp-gradient);box-shadow:0 4px 12px #78009616}.notice{background:#f7edf9;border-color:#ead6ef;color:#690382}.private{background:#f7edf9;color:#780096}.filters,.panel,.card,.primary-card,.profile-facts{border-color:var(--tp-line)}.primary-card,.primary-card:nth-child(2),.primary-card:nth-child(3){border-top-color:var(--tp-violet)}.primary-card:nth-child(2){border-top-color:var(--tp-magenta)}.primary-card strong,.primary-card>span,.route-counts strong,.time-row b,.simple-hour-row>b{color:var(--tp-ink)}button{border-color:#e5d8eb;color:#6c217e}button:hover{background:#f7ebfa}input,select{border-color:#e5dce9;color:var(--tp-ink)}input:focus-visible,select:focus-visible,button:focus-visible,tr:focus-visible{outline-color:#cd76db}.kpi-nav{border-color:var(--tp-line)}.kpi-nav a{color:#7d6686}.kpi-nav a[aria-current="page"]{color:var(--tp-violet);border-color:var(--tp-magenta);background:#f5e9fa}.kpi-nav a:hover{background:#f6edf8}.eyebrow,.profile-tile em,.ranked summary,.metric-help summary,.advanced-filters summary,.extra-summary>summary,.profile-more>summary{color:var(--tp-violet)}.profile-hero{background:var(--tp-gradient)}.profile-hero p,.profile-hero .eyebrow{color:#f9ddf7}.avatar{background:#f6e9fa;color:var(--tp-violet);border-color:#ead2ef}.selected-row,tbody tr:hover{background:#fcf0fa}.selected-row td:first-child{box-shadow:inset 3px 0 var(--tp-magenta)}th{background:#f8f0fa}.card:nth-child(4){background:var(--tp-violet)}.simple-hour-track>i,.rankline .track>div{background:var(--tp-violet)!important}.track,.simple-hour-track{background:#f3eaf6}.breakrow .track div{background:#aa59b8!important}.shared-time{background:#fdf4fa;border-color:#f1d7e9}.profile-tile strong{color:var(--tp-violet)}.extra-summary{border-color:var(--tp-line);background:#fcf8fd}.fcr-results strong{color:var(--tp-violet)}.fcr-results button>span:last-child{color:#a80070}.event.active{background:#f9eafa;border-color:#d2a0dd}.event{background:#faf6fc}
/* Actividad: gráficos de volumen, concentración y casos largos */
body[data-route="actividad"] .advisor-directory,body[data-route="actividad"] .advisor-profile,body[data-route="actividad"] .extra-summary{display:none!important}.activity-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:20px}.activity-summary>div{background:#fff;padding:22px;border:1px solid var(--tp-line);border-radius:12px;position:relative;overflow:hidden}.activity-summary>div:before{content:'';position:absolute;left:0;right:0;top:0;height:3px;background:var(--tp-gradient)}.activity-summary span{display:block;font-size:11px;color:var(--tp-muted)}.activity-summary strong{display:block;font-size:30px;font-weight:650;margin:12px 0 5px;color:var(--tp-violet);letter-spacing:-.7px}.activity-summary small{font-size:10px;color:var(--tp-muted)}.activity-trend{margin-bottom:20px}.activity-trend svg{width:100%;height:auto;min-height:180px;max-height:310px;display:block;margin:20px 0 0}.activity-trend svg text{fill:#8b7892;font:11px 'Segoe UI',sans-serif}.chart-grid{stroke:#eee4f1;stroke-width:1}.trend-started,.trend-closed{fill:none;stroke-width:2.5;stroke-linejoin:round;stroke-linecap:round}.trend-started{stroke:var(--tp-violet)}.trend-closed{stroke:var(--tp-magenta);stroke-dasharray:6 3}.point-started{fill:var(--tp-violet)}.point-closed{fill:var(--tp-magenta)}.activity-legend{display:flex;gap:18px;font-size:11px;white-space:nowrap}.legend-started{color:var(--tp-violet)}.legend-closed{color:#c10075}.activity-chart-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.activity-chart h2,.activity-trend h2{font-size:17px}.activity-chart>p,.activity-trend .panelhead p{font-size:11px;line-height:1.8}.activity-bar{width:100%;display:grid;grid-template-columns:minmax(90px,1.1fr) minmax(80px,1fr) 45px 42px;gap:10px;align-items:center;text-align:left;border:0;padding:12px 6px;border-radius:7px;font-size:11px}.activity-bar>span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#65476e}.activity-bar strong{text-align:right;color:var(--tp-ink)}.activity-bar small{text-align:right;color:#8e7995;font-size:10px}.activity-track{height:9px;background:#f3eaf6;border-radius:4px;overflow:hidden}.activity-track i{display:block;height:100%;background:var(--tp-gradient);border-radius:4px}.chart-hint{font-size:10px!important;color:#8c7694!important;line-height:1.8!important;margin:16px 0 0!important}.activity-chart summary,.activity-trend summary{cursor:pointer;font-size:11px;color:var(--tp-violet);padding:14px 0}.activity-chart details{border-top:1px solid var(--tp-line);margin-top:12px}.activity-trend th{padding:12px 9px;font-size:11px}.participation-strip{height:20px;border-radius:6px;display:flex;background:#e1d5e6;margin:26px 0;overflow:hidden}.participation-strip i{background:var(--tp-violet)}.participation-strip b{background:var(--tp-magenta)}.participation-options{display:grid;gap:8px}.participation-options button{display:grid;grid-template-columns:1fr 50px 55px;gap:10px;text-align:left;border-color:#eee2f2;padding:13px;font-size:12px}.participation-options b,.participation-options small{text-align:right}.participation-options button:first-child{border-left:3px solid var(--tp-violet)}.participation-options button:nth-child(2){border-left:3px solid var(--tp-magenta)}.participation-options small{color:var(--tp-muted)}@media(max-width:950px){.activity-summary{grid-template-columns:repeat(2,1fr)}.activity-chart-grid{grid-template-columns:1fr}}@media(max-width:600px){.activity-summary{gap:10px}.activity-summary>div{padding:17px}.activity-summary strong{font-size:26px}.activity-bar{grid-template-columns:minmax(85px,1fr) minmax(55px,1fr) 35px 35px;gap:7px}.activity-legend{gap:12px}.activity-trend svg{min-height:130px}}
/* Informe BI: matriz, columnas, anillo e histograma */
.visual-type{display:block;font-size:9px;font-weight:700;color:#9a71a6;letter-spacing:1.5px;margin-bottom:9px}.bi-matrix{margin-bottom:20px;padding:20px;border-radius:7px}.bi-matrix-scroll{overflow:auto;max-height:590px;margin-top:17px;border:1px solid #e8ddec;border-radius:4px}.bi-matrix table{width:max-content;min-width:100%;font-size:11px;font-variant-numeric:tabular-nums}.bi-matrix th,.bi-matrix td{min-width:72px;text-align:right;padding:0;height:36px;border-right:1px solid #eee5f2;border-bottom:1px solid #eee5f2;overflow:visible;max-width:none}.bi-matrix thead th{padding:11px 12px;color:#71557e;background:#f5eef8;font-size:10px}.bi-matrix .matrix-name{position:sticky;left:0;z-index:2;min-width:215px;max-width:270px;text-align:left;padding:10px 12px;background:#fff;font-weight:500;white-space:normal;box-shadow:2px 0 5px #78009608}.bi-matrix thead .matrix-name{z-index:4;background:#f5eef8;font-weight:600}.bi-matrix .matrix-name small{display:block;font-size:9px;color:#9d89a4;margin-top:4px}.bi-matrix td button{display:block;width:100%;height:100%;padding:10px 12px;text-align:right;border:0;border-radius:0;background:transparent;color:#4c255b;font-size:11px}.bi-matrix td button:hover{background:#ec008c19;box-shadow:inset 0 0 0 1px #c889d7}.bi-matrix .matrix-total{position:sticky;right:0;z-index:2;background:#f4e8f9;font-weight:700;color:#650080;padding:10px 12px;border-left:2px solid #dfc4e9}.bi-matrix thead .matrix-total{z-index:4}.bi-matrix tfoot{position:sticky;bottom:0;z-index:3}.bi-matrix tfoot td,.bi-matrix tfoot th{padding:11px 12px;background:#f1e5f6;font-weight:700;border-top:2px solid #d7b5e1;color:#650080}.bi-matrix tfoot .matrix-name{background:#f1e5f6;font-weight:700}.bi-matrix .pager{align-items:center}.bi-matrix .pager>span{font-size:10px}.activity-trend,.activity-chart,.activity-summary>div{border-radius:7px}.bi-donut-layout{display:flex;align-items:center;justify-content:space-around;gap:25px;min-height:235px;padding:20px 5px}.bi-donut{width:170px;height:170px;flex-shrink:0;border-radius:50%;padding:28px;display:flex;align-items:center;justify-content:center;box-shadow:inset 0 0 0 1px #78009608}.bi-donut>div{border-radius:50%;background:white;width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center}.bi-donut strong{font-size:24px;color:#650080}.bi-donut small{font-size:10px;color:#8f769a;margin-top:5px}.bi-donut-legend{flex:1;min-width:130px;max-height:210px;overflow:auto}.bi-donut-legend button{width:100%;display:grid;grid-template-columns:10px 1fr auto;align-items:center;gap:9px;border:0;text-align:left;font-size:11px;padding:12px 5px}.bi-donut-legend i{width:8px;height:8px;border-radius:2px}.bi-donut-legend span{overflow:hidden;text-overflow:ellipsis}.bi-donut-legend b{font-size:11px;color:#6a4f76}.bi-histogram{display:grid;grid-template-columns:repeat(7,minmax(45px,1fr));gap:8px;padding:20px 0 5px;overflow:auto}.bi-histogram button{border:0;background:transparent;padding:6px 2px;display:flex;flex-direction:column;align-items:center;gap:8px;min-width:45px}.bi-histogram button>span{height:140px;display:flex;align-items:end;width:75%;border-bottom:1px solid #e6d7ed}.bi-histogram i{display:block;width:100%;background:var(--tp-violet);border-radius:2px 2px 0 0}.bi-histogram button:nth-child(n+5) i{background:var(--tp-magenta)}.bi-histogram button:hover{background:#f9effb}.bi-histogram strong{font-size:11px}.bi-histogram small{font-size:9px;line-height:1.5;min-height:28px;white-space:normal;color:#7a6086;text-align:center}@media(max-width:600px){.bi-donut-layout{flex-direction:column;gap:12px}.bi-donut-legend{width:100%;max-height:none}.bi-matrix .matrix-name{min-width:160px;max-width:180px}.bi-matrix .pager{flex-direction:column;align-items:start}}
/* Página individual de cada caso */
body[data-route="caso"] .primary-metrics,body[data-route="caso"] .advisor-directory,body[data-route="caso"] .advisor-profile,body[data-route="caso"] .extra-summary,body[data-route="caso"] #casesSection{display:none!important}#caseDetail{margin-top:24px}.case-toolbar{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:18px}.case-toolbar>span{font-size:11px;color:var(--tp-muted)}.case-overview h2{font-size:22px;overflow-wrap:anywhere;line-height:1.5}.case-fields{display:grid;grid-template-columns:1fr 1fr;gap:20px 30px;margin:25px 0 5px}.case-fields>div{min-width:0}.case-fields dt{font-size:10px;text-transform:uppercase;letter-spacing:.6px;color:var(--tp-muted);margin-bottom:7px}.case-fields dd{margin:0;font-size:12px;line-height:1.9;overflow-wrap:anywhere;white-space:pre-wrap}.case-detail-grid{display:grid;grid-template-columns:1fr 1.3fr;gap:20px;margin:20px 0}.case-agents{margin:15px 0 0;padding-left:20px}.case-agents li{padding:10px 0;font-size:12px}.case-agents small{display:block;color:var(--tp-muted);font-family:Consolas,monospace;font-size:10px;margin:5px 0}.case-times th{padding:12px 9px;font-size:10px}.case-times tbody th{text-align:left;position:static;background:transparent;font-weight:600}.case-contact,.case-original{margin-bottom:20px}.case-history-list{display:grid;gap:10px;margin-top:20px}.case-history-list a{display:flex;flex-direction:column;align-items:start;gap:9px;background:#fcf8fd;border:1px solid var(--tp-line);border-radius:8px;padding:16px;text-decoration:none;color:var(--tp-ink);overflow-wrap:anywhere;font-size:12px}.case-history-list a[aria-current="page"]{border-color:#c38dd0;background:#f8eefa}.case-history-list a:hover{background:#f4e6f8}.case-history-list small{font-size:11px;line-height:1.7;color:var(--tp-muted)}.case-original label{max-width:450px;margin:18px 0}.case-original h3{font-size:12px;margin:22px 0 12px}.raw-columns{max-height:650px}.raw-columns table{white-space:normal}.raw-columns th,.raw-columns td{padding:12px;vertical-align:top;overflow:visible;text-overflow:clip;max-width:none;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8}.raw-columns tbody th{position:static;background:#fcf8fd;font-weight:500;min-width:200px;width:30%}.raw-columns td:first-child{width:70px;color:var(--tp-muted);font-family:Consolas,monospace}.raw-columns td:last-child{min-width:250px}@media(max-width:800px){.case-detail-grid{grid-template-columns:1fr}.case-fields{grid-template-columns:1fr}.case-toolbar{align-items:start;flex-direction:column}.case-overview h2{font-size:18px}}
/* Empresa propuesta a partir de evidencia no ambigua del CSV */
.company-badge{display:inline-block;width:auto!important;max-width:100%;height:auto!important;text-align:left!important;font-size:9px!important;line-height:1.5!important;padding:4px 7px!important;margin-top:6px;border:1px solid #ead7ef!important;border-radius:5px!important;background:#f7edf9!important;color:#780096!important;white-space:normal;cursor:pointer}.company-conflict{color:#8e4b12!important;background:#fff4e5!important;border-color:#efd6b8!important}.company-unknown{color:#7f7485!important;background:#f3f0f5!important;border-color:#e7e0eb!important}.company-filter{max-width:340px;margin:18px 0 12px}.company-filter select{font-size:11px}.company-cases{display:grid;gap:10px;margin:18px 0}.company-cases a{color:#780096;font-size:11px;overflow-wrap:anywhere}.profile-tag .company-badge{margin:0;background:#fff!important}.case-agents .company-badge{margin-right:7px}.bi-matrix .company-badge{font-size:8px!important;margin-top:5px}#companyDialog p{font-size:12px;color:#73617c;line-height:1.9}#companyDialog h3{font-size:14px;margin-top:25px}
/* Ruta FCR con Excel propio */
body[data-route="fcr"] main>.heading,body[data-route="fcr"] main>#notice,body[data-route="fcr"] main>.saved-file,body[data-route="fcr"] main>.filters,body[data-route="fcr"] .primary-metrics,body[data-route="fcr"] .advisor-directory{display:none!important}.fcr-source{background:#fff;border:1px solid var(--tp-line);border-radius:10px;padding:22px;margin-bottom:20px}.fcr-source .notice{margin:18px 0 12px}.fcr-source .panelhead p{font-size:12px;color:var(--tp-muted);line-height:1.8;max-width:760px}.fcr-source-actions{display:flex;justify-content:space-between;align-items:center;gap:15px;font-size:11px;color:var(--tp-muted)}.fcr-source-actions button{font-size:10px}.fcr-metadata{margin-top:16px;font-size:11px;color:var(--tp-muted);line-height:1.9}.fcr-metadata summary{cursor:pointer;color:var(--tp-violet)}.fcr-metadata p{white-space:pre-wrap;overflow-wrap:anywhere}.fcr-own-filters{margin:18px 0}.fcr-own-filters label{min-width:145px}.fcr-own-filters select{max-width:270px}.fcr-own-filters button{align-self:end}.fcr-scope{font-size:11px;color:var(--tp-muted);line-height:1.8}.fcr-kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:20px 0}.fcr-kpi{padding:22px;background:#fff;border:1px solid var(--tp-line);border-top:3px solid var(--tp-violet);border-radius:9px}.fcr-kpi:nth-child(2){border-top-color:var(--tp-magenta)}.fcr-kpi>span{font-size:12px;color:#6f5279;font-weight:600}.fcr-kpi strong{display:block;font-size:32px;color:var(--tp-violet);letter-spacing:-.6px;margin:14px 0}.fcr-kpi p{font-size:11px;color:var(--tp-muted);line-height:1.8}.fcr-kpi p b{font-weight:600;color:var(--tp-ink)}.fcr-kpi small{font-size:10px;color:var(--tp-muted)}.fcr-kpi>div{display:flex;flex-wrap:wrap;gap:7px;margin-top:18px}.fcr-kpi button{font-size:10px;padding:8px}.fcr-import-matrix,.fcr-records{margin:20px 0}.fcr-import-matrix th,.fcr-records th{padding:12px 9px;font-size:10px}.fcr-import-matrix td small{display:block;font-size:9px;color:var(--tp-muted);margin-top:5px}.fcr-import-matrix tfoot{font-weight:700;background:#f6eaf9}.fcr-import-matrix td:nth-child(n+3),.fcr-import-matrix th:nth-child(n+3){text-align:right}.fcr-import-matrix .tablewrap{max-height:650px}.fcr-records .tablewrap{max-height:600px}.fcr-records th button{padding:0;text-align:left}.fcr-records td{max-width:260px}.fcr-records>p,.fcr-import-matrix>p{font-size:11px;color:var(--tp-muted);line-height:1.8}#fcrRecordDialog{width:min(1150px,96vw)}#fcrRecordDialog h2{overflow-wrap:anywhere}#fcrRecordDialog p{font-size:12px;color:var(--tp-muted);line-height:1.8}#fcrRecordDialog .fcr-kpi{padding:15px}#fcrRecordDialog .fcr-kpi strong{font-size:24px}@media(max-width:950px){.fcr-kpis{grid-template-columns:1fr}.fcr-source .panelhead{align-items:start;flex-direction:column}.fcr-own-filters select{max-width:100%}}@media(max-width:600px){.fcr-source{padding:16px}.fcr-source-actions{align-items:start;flex-direction:column}.fcr-kpi strong{font-size:28px}}
/* Paleta solicitada: violeta intenso, blanco y lavanda */
:root{--tp-violet:#5c4dff;--tp-magenta:#a398ff;--tp-ink:#24223f;--tp-muted:#777590;--tp-pale:#f1efff;--tp-line:#e6e3fa;--tp-gradient:linear-gradient(110deg,#5c4dff,#8174ff)}
body{background:#f7f7fd;color:var(--tp-ink)}header{border-bottom:1px solid #e8e5fb;background:#fff}.private{background:#f0edff;color:#5c4dff}.upload{background:#5c4dff;box-shadow:0 4px 14px #5c4dff1c;color:#fff}.upload:hover{background:#5141ed}.notice{background:#f0edff;border-color:#ded8ff;color:#5548b7}.notice.error{background:#fff1ee;border-color:#f1d6d0;color:#a14738}.card,.panel,.primary-card,.filters,.profile-facts,.fcr-source,.fcr-kpi{border-color:#e6e3f6;box-shadow:0 2px 12px #30276303}.muted,.panel p,.scope,.foot,.method,.route-heading p,.profile-note,.saved-file,.fcr-scope,.fcr-source-actions{color:#777590}button{color:#5347c9;border-color:#dfdbf6;background:#fff}button:hover{background:#f2efff}button:focus-visible,input:focus-visible,select:focus-visible,tr:focus-visible{outline-color:#a297ff}input,select{border-color:#e1ddf2;color:#353149;background:#fff}.kpi-nav{border-color:#e7e3fa}.kpi-nav a{color:#7d789a}.kpi-nav a[aria-current="page"]{color:#5c4dff;border-color:#5c4dff;background:#eeebff}.kpi-nav a:hover{background:#f3f1ff}.eyebrow,.visual-type,.ranked summary,.metric-help summary,.advanced-filters summary,.extra-summary>summary,.profile-more>summary,.fcr-metadata summary{color:#6b60cf}.primary-card,.primary-card:nth-child(2),.primary-card:nth-child(3){border-top-color:#5c4dff}.primary-card:nth-child(2){border-top-color:#9c91f3}.primary-card strong,.fcr-kpi strong,.activity-summary strong{color:#5143df}.profile-hero{background:linear-gradient(110deg,#5041dc,#7566ff)}.profile-hero p,.profile-hero .eyebrow{color:#e7e1ff}.avatar{background:#eeebff;color:#5c4dff;border-color:#dfd9ff}.selected-row,tbody tr:hover{background:#f4f1ff}.selected-row td:first-child{box-shadow:inset 3px 0 #7467ff}th{background:#f4f2fc;color:#655e84}.card:nth-child(4){background:#5c4dff}.simple-hour-track>i,.rankline .track>div{background:#7568ed!important}.track,.simple-hour-track,.activity-track{background:#efedf8}.breakrow .track div{background:#9c91ee!important}.shared-time{background:#f8f6ff;border-color:#e6dff7}.profile-tile strong{color:#5c4dff}.extra-summary{border-color:#e6e1f6;background:#fbfaff}.fcr-results strong{color:#5c4dff}.fcr-results button>span:last-child{color:#7566d4}.event.active{background:#f1edff;border-color:#c7bfff}.event{background:#f8f7fc}.activity-bar>span:first-child{color:#69617f}.activity-bar small,.chart-hint{color:#8c849f!important}.activity-bar strong{color:#3c3658}.activity-legend .legend-closed{color:#8d80de}.bi-matrix thead th{background:#f1eefb;color:#696083}.bi-matrix .matrix-total{background:#ece8ff;color:#5141cc;border-left-color:#dcd5f9}.bi-matrix tfoot td,.bi-matrix tfoot th,.bi-matrix tfoot .matrix-name{background:#efebff;color:#5141cc;border-top-color:#d2c9f4}.bi-matrix td button{color:#554b80}.bi-matrix td button:hover{background:#5c4dff15;box-shadow:inset 0 0 0 1px #a89ce4}.bi-donut strong{color:#5c4dff}.bi-donut-legend b{color:#6f6588}.bi-histogram button:hover{background:#f4f0fc}.bi-histogram small{color:#82779b}.company-badge{background:#f1edff!important;border-color:#e3dbfb!important;color:#6b58cb!important}.company-unknown{background:#f4f3f8!important;color:#92869f!important;border-color:#e8e3ee!important}.company-conflict{background:#fff7e9!important;color:#98703e!important;border-color:#f0dfbd!important}.company-cases a{color:#6f5cc6}.case-history-list a{background:#fbf9fe;border-color:#e8e1f3}.case-history-list a[aria-current="page"]{background:#f3eeff;border-color:#cfc3ed}.case-history-list a:hover{background:#f5f0ff}.fcr-import-matrix tfoot{background:#f1ecff}.fcr-kpi{border-top-color:#5c4dff}.fcr-kpi:nth-child(2){border-top-color:#a398ff}.fcr-kpi:nth-child(3){border-top-color:#c8c0ff}.fcr-kpi>span{color:#75658d}.fcr-kpi p,.fcr-kpi small{color:#81748f}.activity-summary>div:before{background:var(--tp-gradient)}.activity-track i{background:var(--tp-gradient)}.raw-columns tbody th{background:#faf8fd}
/* Avisos de tabulaciones coincidentes en recontactos */
.tabulation-badge{display:inline-block;border-radius:5px;padding:6px 9px;font-size:10px;font-weight:600;line-height:1.5;white-space:normal;max-width:220px}.tabulation-match{color:#8c570d;background:#fff2d7;border:1px solid #f0d59f}.tabulation-different{color:#6358b1;background:#f0edff;border:1px solid #e0daf7}.tabulation-not_evaluable,.tabulation-no_recontact{color:#827a91;background:#f3f1f7;border:1px solid #e6e1ed}.tabulation-summary{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:14px 17px;border:1px solid #e3dcfa;border-radius:9px;background:#f5f2ff;color:#71658c;font-size:12px;margin:16px 0}.tabulation-summary b{color:#5c4dff}.tabulation-summary button{font-size:11px}.tabulation-comparison{margin:25px 0;border-top:1px solid #e8e3f6;padding-top:6px}.tabulation-comparison h3{font-size:16px;margin:18px 0}.tabulation-comparison th{padding:12px 10px;font-size:10px}.tabulation-comparison td{max-width:none;white-space:pre-wrap;overflow:visible;overflow-wrap:anywhere;vertical-align:top;line-height:1.8}.tabulation-alert{padding:15px 17px;border:1px solid #efd29b;border-left:4px solid #d5a548;border-radius:7px;background:#fff8e9;color:#8a5b1c}.tabulation-alert strong{font-size:14px}.tabulation-alert p{margin:8px 0 0!important;color:#94733f!important;font-size:11px!important}.tab-level-different{background:#fff4ed}.tab-level-missing{background:#f7f5fa}.tabulation-note{font-size:10px!important;color:#8c819a!important;line-height:1.8!important}@media(max-width:650px){.tabulation-summary{align-items:start;flex-direction:column}.tabulation-comparison .tablewrap{max-width:100%}.tabulation-comparison table{min-width:600px}}
/* Biblioteca mensual y perfil del usuario */
.fcr-upload-controls{display:flex;align-items:end;gap:14px;flex-wrap:wrap}.fcr-upload-controls>label:first-child{font-size:10px;min-width:210px}.fcr-upload-controls .upload{align-self:end}.fcr-library{margin:20px 0}.fcr-library .panelhead p{max-width:760px;font-size:11px;line-height:1.8;color:var(--tp-muted)}.library-selectors{display:flex;flex-wrap:wrap;gap:16px;margin:20px 0}.library-selectors label{min-width:190px;flex:1;font-size:11px}.library-selectors label:last-child{flex:2}.library-selectors select{max-width:100%;font-size:12px}.library-table{max-height:420px}.library-table th{padding:12px 10px;font-size:10px}.library-table td{vertical-align:middle;max-width:380px;white-space:normal;overflow:visible;font-size:11px}.library-table small{display:block;margin-top:6px;font-size:10px;color:var(--tp-muted)}.library-table input[type="month"]{max-width:155px;font-size:11px}.library-current{background:#f4f0ff}.library-current td:first-child{box-shadow:inset 3px 0 #7b6cfc}.library-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap;min-width:180px}.library-actions button{font-size:10px;padding:7px 9px}.library-delete-confirm{display:flex;align-items:center;gap:7px;flex-wrap:wrap;background:#fff6e9;color:#946329;padding:9px;border-radius:6px;font-size:10px}.library-storage-note{font-size:10px!important;line-height:1.8!important;color:#8a819a!important;margin:15px 0 0!important}.fcr-user-profile{background:#f9f8ff;border:1px solid #e3dcfb;border-radius:12px;padding:25px;margin:24px 0}.fcr-user-heading{display:flex;justify-content:space-between;align-items:center;gap:20px}.fcr-user-heading h2{font-size:23px;margin:7px 0}.fcr-user-heading p{font-size:11px;color:#8c819d;margin:5px 0}.fcr-user-heading .large{background:#ece7ff;color:#6c5bcd;border-color:#ded5f7}.fcr-user-heading button{font-size:11px}.fcr-profile-period{font-size:11px;color:#8d809d;line-height:1.9;margin:20px 0}.fcr-profile-period b{color:#75648e;text-transform:capitalize}.fcr-coming-grid{display:grid;grid-template-columns:repeat(2,minmax(150px,250px));gap:18px;margin:22px 0 28px}.coming-kpi{min-height:150px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:19px;background:#fff;border:1px dashed #dcd5ed;border-radius:10px;padding:20px;text-align:center}.coming-kpi span{font-size:15px;font-weight:650;color:#75668e}.coming-kpi strong{font-size:12px;letter-spacing:1.5px;color:#b0a5c0;font-weight:600}.fcr-user-profile>h3{font-size:15px;margin:20px 0 5px;color:#75648d}.fcr-user-profile .fcr-kpis{margin-bottom:0}.fcr-profile-empty{font-size:12px;color:#9383a3;padding:15px;background:#f0eafa;border-radius:7px;line-height:1.8}@media(max-width:800px){.fcr-upload-controls{width:100%}.fcr-user-heading{align-items:start;flex-direction:column}.fcr-user-profile{padding:18px}.fcr-coming-grid{grid-template-columns:1fr 1fr}.library-selectors{flex-direction:column}.library-selectors label{min-width:0;width:100%}}@media(max-width:500px){.fcr-user-heading .large{width:50px;height:50px;font-size:20px}.fcr-user-heading h2{font-size:19px}.coming-kpi{min-height:125px;padding:12px}.coming-kpi strong{font-size:10px;letter-spacing:.7px}}
/* Página propia del perfil FCR */
.fcr-profile-breadcrumb{display:flex;align-items:center;gap:18px;margin:0 0 20px}.fcr-profile-breadcrumb>span{font-size:11px;color:#8a809a;overflow-wrap:anywhere}.fcr-profile-breadcrumb button{font-size:12px;white-space:nowrap}.profile-period-selector{margin-bottom:20px}.profile-period-selector h2{font-size:16px}.profile-period-selector>p{font-size:11px;line-height:1.8;color:var(--tp-muted)}.profile-period-selector label{max-width:650px;margin:16px 0;font-size:11px}.profile-period-selector select{width:100%;font-size:12px}.profile-period-selector .notice{margin-bottom:0;font-size:11px}.fcr-profile-page .fcr-user-profile{margin-top:0}.profile-call-details{margin:20px 0}.profile-call-details>summary{cursor:pointer;border:1px solid var(--tp-line);border-radius:8px;background:#fff;padding:17px;font-size:12px;color:#6b5bc7;font-weight:600}.profile-call-details[open]>summary{margin-bottom:18px}.profile-call-details .fcr-records{margin-top:18px}@media(max-width:650px){.fcr-profile-breadcrumb{align-items:start;flex-direction:column;gap:10px}.profile-period-selector{padding:18px}}
/* Marca de agua TP: 70 % desvanecida, detrás del contenido. */
body{isolation:isolate}
body::before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background:url("TP%20logo.svg") center center / min(70vw,720px) auto no-repeat;opacity:.3}
header{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);height:94px;gap:16px}
.header-brands{grid-column:2;display:flex;align-items:center;justify-content:center;gap:24px}
.header-brands .brand-logo{width:64px;height:64px;object-fit:contain}
.personal-pay-logo{display:block;width:140px;height:76px;object-fit:cover;object-position:center}
.brand-divider{height:34px;width:1px;background:#e1ddf2}
header .private{grid-column:3;justify-self:end;margin-left:0;white-space:nowrap}
@media(max-width:600px){header{height:auto;min-height:94px;padding:10px 4%;grid-template-columns:1fr;gap:4px}.header-brands{grid-column:1;gap:20px}header .private{grid-column:1;justify-self:center;font-size:11px;padding:5px 10px}}
.fcr-month-comparison{margin:20px 0;border-top:3px solid #5c4dff}
.comparison-periods{display:flex;align-items:center;gap:24px;background:#f3f1ff;padding:18px;border-radius:12px;margin:16px 0}
.comparison-periods div{display:grid;gap:5px}.comparison-periods span,.comparison-source,.comparison-note{color:#63708d;font-size:13px}
.comparison-file-select{display:grid;gap:8px;max-width:580px;margin:18px 0}.comparison-empty{padding:18px;background:#f5f4fc;border-radius:10px}
.comparison-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:20px 0}
.comparison-card{border:1px solid #ddd9f3;border-radius:12px;padding:20px;background:white}
.comparison-card-title{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}.comparison-card-title span{font-size:12px;border-radius:20px;padding:5px 9px;background:#efedff;color:#4c40b1}
.comparison-improved .comparison-card-title span{background:#e7f5ee;color:#176744}.comparison-worsened .comparison-card-title span{background:#fcebed;color:#a22b43}
.comparison-rates{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:22px}.comparison-rates div{display:grid;gap:8px}.comparison-rates small,.comparison-card>small{color:#63708d}.comparison-rates strong{font-size:23px;color:#283759}
.comparison-delta{font-size:27px;font-weight:700;color:#5c4dff;margin:20px 0 10px}.comparison-improved .comparison-delta{color:#176744}.comparison-worsened .comparison-delta{color:#a22b43}.comparison-reason{font-size:13px;color:#63708d}.comparison-note{line-height:1.5}
@media(max-width:1000px){.comparison-cards{grid-template-columns:1fr}.comparison-periods{gap:14px;flex-wrap:wrap}}

/* Panel ejecutivo */
.fcr-executive{max-width:1450px;margin:auto}.executive-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px}.executive-heading h2{font-size:30px;margin:10px 0 4px;letter-spacing:-.7px}.executive-heading p{margin:0;color:#777590}
.executive-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin-bottom:26px}.executive-kpis .fcr-kpi{padding:28px;border-radius:14px;border-top:4px solid #5c4dff;background:#fff;box-shadow:0 6px 22px #4536b607}.executive-kpis .fcr-kpi strong{font-size:44px;letter-spacing:-1.5px;margin:15px 0}.executive-kpis .fcr-kpi>span{font-size:14px;font-weight:600}.executive-kpis button{font-size:11px;padding:8px 10px}
.executive-filters{margin:26px 0 12px}.executive-filters h2{font-size:21px}.executive-filters>p{color:#777590;font-size:12px}.executive-filters .fcr-own-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:20px;gap:16px;background:#fff;border-radius:12px}.executive-filters label,.executive-filters input,.executive-filters select{min-width:0;width:100%}
.fcr-executive .fcr-import-matrix{margin-top:24px;border-radius:14px}.fcr-executive .fcr-import-matrix>h2{font-size:22px;margin-top:10px}.fcr-executive .fcr-import-matrix>p{font-size:12px;max-width:850px}.fcr-executive .fcr-import-matrix th{white-space:nowrap}.fcr-executive .fcr-import-matrix tbody tr:nth-child(even){background:#faf9fe}.bi-fcr-cell{min-width:130px}.bi-fcr-cell>b{font-size:17px;color:#5143df}.bi-fcr-cell small{display:block;margin-top:5px}.bi-fcr-change{display:block;margin-top:7px;font-size:11px;font-weight:600}.bi-up{color:#176744}.bi-down{color:#a22b43}.bi-neutral,.bi-same{color:#79738b}
.executive-records,.fcr-executive .bi-library{margin:22px 0;background:white;border:1px solid #e4dff5;border-radius:12px}.executive-records>summary,.fcr-executive .bi-library>summary{padding:18px 22px;color:#5347c9;font-weight:600;cursor:pointer}.executive-records .panel,.fcr-executive .bi-library .panel{border:0;box-shadow:none;margin:0}.fcr-executive>.fcr-source{margin-top:30px}
@media(max-width:1000px){.executive-kpis{gap:14px}.executive-kpis .fcr-kpi{padding:20px}.executive-kpis .fcr-kpi strong{font-size:36px}.executive-filters .fcr-own-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.executive-kpis{grid-template-columns:1fr}.executive-heading{align-items:start}.executive-heading h2{font-size:25px}.executive-filters .fcr-own-filters{grid-template-columns:1fr}.executive-kpis .fcr-kpi strong{font-size:42px}}

/* El panel ya incluye su encabezado; se omite la cabecera de ruta repetida. */
body[data-fcr-only="true"] .kpi-nav,body[data-fcr-only="true"] .route-heading{display:none}
.coach-profile-actions{display:flex;flex-wrap:wrap;gap:10px}.coach-profile-actions [data-fcr-coach]{background:#5c4dff;color:white;border-color:#5c4dff}
.team-share{display:flex;flex-wrap:wrap;align-items:center;gap:20px;margin:24px 0}.team-share>div:first-child{flex:1;min-width:240px}.team-share p{font-size:12px;margin-bottom:0}.team-share label{display:grid;gap:8px}.team-share button{background:#5c4dff;color:white;padding:13px 18px}.team-share button:disabled{opacity:.5}.team-share #fcrTeamCopyStatus{flex-basis:100%;font-size:13px;color:#5347c9}.team-share #fcrTeamCopyStatus:empty{display:none}
#fcrCoachDialog{width:min(1000px,94vw);max-height:92vh;border:1px solid #ddd6fa;border-radius:18px;padding:28px;color:#302a49;background:#fff;overflow:auto}#fcrCoachDialog::backdrop{background:#201b4380;backdrop-filter:blur(3px)}#fcrCoachTitle{font-size:28px;margin-top:24px}#fcrCoachBody>p{color:#77718a}
.coach-scores{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:24px 0}.coach-scores article{display:grid;gap:12px;padding:24px;background:#f5f2ff;border:1px solid #e3dcfc;border-radius:14px}.coach-scores strong{font-size:36px;color:#5143df}.coach-scores small{color:#706680}.coach-controls{display:flex;align-items:end;justify-content:space-between;gap:20px;margin:24px 0}.coach-controls label{display:grid;gap:8px}.coach-controls button{background:#5c4dff;color:white;padding:13px 18px}.coach-story{padding:20px 24px;background:#f8f7fc;border-radius:12px;margin:22px 0}.coach-story h3{margin-top:0}.coach-ranking article{display:grid;grid-template-columns:24px minmax(0,1fr) 38px;gap:15px;align-items:start;padding:18px 0;border-bottom:1px solid #ece8f6}.coach-ranking b{overflow-wrap:anywhere;font-size:14px}.coach-ranking strong{font-size:24px;color:#5143df}.coach-ranking small{color:#77718a}.coach-bar{height:7px;background:#f0edf9;border-radius:6px;overflow:hidden;margin:10px 0}.coach-bar i{display:block;height:100%;background:#8b7df5}.coach-footnote{font-size:12px;margin-top:24px}.coach-copy-fallback{width:100%;min-height:260px;margin-top:12px;padding:15px;font:14px 'Segoe UI',sans-serif;line-height:1.6}
@media(max-width:650px){#fcrCoachDialog{padding:20px}.coach-scores{grid-template-columns:1fr}.coach-scores article{padding:18px}.coach-controls{align-items:stretch;flex-direction:column}.coach-scores strong{font-size:32px}}
