.profile-statistics{display:grid;gap:20px;min-width:0;margin-top:28px}.profile-statistics>header h2{margin:5px 0 6px;font-size:clamp(27px,3vw,38px)}.profile-statistics>header p,.profile-evolution header p,.profile-history header p,.profile-state-summary header p{margin:4px 0 0;color:#8d9aa2;line-height:1.5}

.profile-kpis{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:11px}.profile-kpi{position:relative;min-width:0;min-height:116px;overflow:hidden;padding:16px;border:1px solid #29404c;border-radius:13px;background:linear-gradient(145deg,#12232d,#0d1b23);box-shadow:0 10px 24px rgba(0,0,0,.16)}.profile-kpi::after{content:"";position:absolute;inset:auto -28px -46px auto;width:100px;height:100px;border-radius:50%;background:currentColor;opacity:.07}.profile-kpi-icon{display:grid;place-items:center;width:29px;height:29px;margin-bottom:13px;border:1px solid currentColor;border-radius:9px;background:rgba(255,255,255,.06);font-size:13px;font-weight:950}.profile-kpi small{display:block;color:#9eabb2;font-size:12px;font-weight:800;line-height:1.35}.profile-kpi strong{display:block;margin-top:6px;color:#f5f8f9;font-size:clamp(17px,1.75vw,25px);line-height:1.15;overflow-wrap:anywhere}.profile-kpi.tone-positive{border-color:#276846;background:linear-gradient(145deg,rgba(35,116,72,.48),#0c2118);color:#5ee995}.profile-kpi.tone-negative{border-color:#7b3939;background:linear-gradient(145deg,rgba(135,48,48,.46),#251112);color:#ff7777}.profile-kpi.tone-pending{border-color:#7b661e;background:linear-gradient(145deg,rgba(133,104,22,.48),#241d0a);color:#ffd84d}.profile-kpi.tone-void{border-color:#315f85;background:linear-gradient(145deg,rgba(42,96,139,.5),#0d1c2c);color:#73c2ff}.profile-kpi.tone-neutral{color:#95a9b5}.profile-kpi:nth-child(11) strong,.profile-kpi:nth-child(12) strong{font-size:clamp(14px,1.25vw,18px)}

.profile-insights-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(290px,.8fr);gap:14px;min-width:0}.profile-evolution,.profile-state-summary,.profile-history{min-width:0;border-color:#263c48!important;background:linear-gradient(145deg,#0f1e27,#0a171e)!important;color:#edf3f5;box-shadow:0 16px 38px rgba(0,0,0,.17)}.profile-evolution,.profile-state-summary,.profile-history{padding:18px}.profile-evolution>header,.profile-history>header,.profile-state-summary>header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:14px}.profile-evolution>header>div:first-child,.profile-history>header>div:first-child,.profile-state-summary>header>div:first-child{display:flex;align-items:flex-start;gap:10px}.profile-evolution h3,.profile-history h3,.profile-state-summary h3{margin:0;font-size:20px}.profile-section-icon{display:grid;flex:0 0 auto;place-items:center;width:34px;height:34px;border:1px solid #34505e;border-radius:10px;background:#162a35;color:#5be687;font-size:15px;font-weight:950}
.profile-segmented,.profile-filter-group{display:flex;flex-wrap:wrap;gap:5px}.profile-segmented button,.profile-filter-group button{min-height:36px;padding:0 11px;border:1px solid #314752;border-radius:8px;background:#14242d;color:#aeb9bf;font:inherit;font-size:12px;font-weight:850;cursor:pointer}.profile-segmented button:hover,.profile-filter-group button:hover{border-color:#55707d;color:#fff}.profile-segmented button.active,.profile-filter-group button.active{border-color:#b99300;background:#ffd21c;color:#111;box-shadow:0 5px 14px rgba(255,210,28,.12)}
.profile-chart{display:block;width:100%;height:auto;max-height:230px;min-height:160px;overflow:visible;border:1px solid #203641;border-radius:11px;background:linear-gradient(180deg,#09151c,#0d1d25)}.profile-chart polyline{fill:none;stroke:#55dc82;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 3px 5px rgba(44,211,104,.2))}.profile-chart circle{fill:#071219;stroke:#ffd21c;stroke-width:3}.profile-chart-zero{stroke:#46606c;stroke-width:1;stroke-dasharray:5 5}.profile-chart-empty{display:grid;min-height:170px;place-items:center;padding:18px;border:1px dashed #314b57;border-radius:11px;background:#0a171e;color:#82929a;text-align:center}.profile-evolution details{margin-top:10px}.profile-evolution summary{color:#b8c5cb;cursor:pointer;font-size:12px;font-weight:850}.profile-evolution details table{color:#d9e2e6}

.profile-state-summary{display:grid;align-content:start}.profile-state-visual{display:grid;grid-template-columns:132px minmax(0,1fr);align-items:center;gap:18px;margin-top:7px}.profile-state-donut{display:grid;place-content:center;width:132px;aspect-ratio:1;border-radius:50%;background:radial-gradient(circle at center,#0d1b23 0 51%,transparent 52%),conic-gradient(#52dc82 0 var(--won-end),#ff6b6b var(--won-end) var(--lost-end),#62b8f4 var(--lost-end) var(--void-end),#ffd34a var(--void-end) 100%);box-shadow:inset 0 0 20px rgba(0,0,0,.25)}.profile-state-donut strong,.profile-state-donut span{display:block;text-align:center}.profile-state-donut strong{font-size:30px}.profile-state-donut span{color:#87959c;font-size:12px;font-weight:850;text-transform:uppercase}.profile-state-visual ul{display:grid;gap:8px;margin:0;padding:0;list-style:none}.profile-state-visual li{display:flex;align-items:center;justify-content:space-between;gap:8px;padding-bottom:7px;border-bottom:1px solid #21343e;color:#aab6bc;font-size:12px;font-weight:800}.profile-state-visual li b{font-size:14px}.profile-state-visual .state-won b{color:#5ee995}.profile-state-visual .state-lost b{color:#ff7777}.profile-state-visual .state-void b{color:#73c2ff}.profile-state-visual .state-pending b{color:#ffd84d}.profile-state-foot{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:18px}.profile-state-foot>div{padding:11px;border:1px solid #263c47;border-radius:9px;background:#0b1820}.profile-state-foot small{display:block;color:#7f8f97;font-size:12px;font-weight:850;text-transform:uppercase}.profile-state-foot strong{display:block;margin-top:4px;font-size:16px}

.profile-history>header{align-items:center}.profile-history-search{display:flex;align-items:center;gap:8px;width:min(330px,100%);min-height:42px;padding:0 12px;border:1px solid #314954;border-radius:10px;background:#09171e;color:#7f929b}.profile-history-search:focus-within{border-color:#61dc88;box-shadow:0 0 0 3px rgba(82,220,130,.1)}.profile-history-search input{width:100%;border:0;outline:0;background:transparent;color:#edf3f5;font:inherit;font-size:12px}.profile-history-search input::placeholder{color:#6f8088}.profile-filter-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px;padding:10px;border:1px solid #263c47;border-radius:11px;background:#0a171e}.profile-filter-group button{display:inline-flex;align-items:center;gap:6px}.profile-filter-group button.status-won.active{border-color:#39845a;background:#245d3e;color:#dff9e8}.profile-filter-group button.status-lost.active{border-color:#974949;background:#713131;color:#ffe7e7}.profile-filter-group button.status-void.active{border-color:#39749d;background:#255676;color:#e2f4ff}.profile-filter-group button.status-pending.active{border-color:#a88924;background:#725b18;color:#fff4c1}.profile-period-filter{justify-content:flex-end}
.profile-history .table-wrap{border:1px solid #263b46;border-radius:11px;background:#0a171e}.profile-history-table{width:100%;border-collapse:collapse;color:#dce5e8;font-size:12px}.profile-history-table th,.profile-history-table td{padding:12px 10px;border-bottom:1px solid #20333d;text-align:left;vertical-align:top}.profile-history-table tr:last-child td{border-bottom:0}.profile-history-table th{background:#10212a;color:#82929a;font-size:12px;letter-spacing:.04em;text-transform:uppercase}.profile-history-table tbody tr{transition:background .15s ease}.profile-history-table tbody tr:hover{background:#10232c}.profile-history-table td:nth-child(2),.profile-history-table td:nth-child(3){min-width:165px}.profile-history-empty{text-align:center!important;color:#778991}.profile-status{display:inline-block;padding:5px 8px;border-radius:999px;background:#283941;color:#b9c3c8;font-size:12px;font-weight:900;white-space:nowrap}.profile-status.status-won{background:#183d29;color:#67e894}.profile-status.status-lost{background:#4b2222;color:#ff9090}.profile-status.status-void,.profile-status.status-partial_void{background:#18384d;color:#83cbfa}.profile-status.status-pending{background:#4a3d15;color:#ffe273}.profile-history-more{display:flex;align-items:center;justify-content:center;gap:12px;padding-top:15px}.profile-history-more button{min-height:40px;padding:0 16px;border:1px solid #3a5c4a;border-radius:9px;background:#173528;color:#dff8e7;font:inherit;font-size:12px;font-weight:900;cursor:pointer}.profile-history-more button:hover{border-color:#58d783;background:#1e4934}.profile-history-more button span{margin-left:5px;color:#61e58c}.profile-history-more small{color:#74858d;font-size:12px}

.analysis-first-half-general{margin-bottom:18px}.analysis-first-half-general .analysis-general-market-head{align-items:flex-start}
/* La acción sigue siendo inequívoca, pero deja de dominar las tablas estadísticas. */
.hs-select-market{min-width:0!important;min-height:30px!important;padding:3px 7px!important;font-size:12px!important;letter-spacing:0!important}.deep-table .deep-table-action-col{width:80px!important}

@media(max-width:1180px){.profile-kpis{grid-template-columns:repeat(4,minmax(0,1fr))}.profile-insights-grid{grid-template-columns:minmax(0,1.5fr) minmax(270px,.8fr)}}
@media(max-width:900px){.profile-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.profile-insights-grid{grid-template-columns:1fr}.profile-state-summary{grid-template-columns:minmax(0,1fr) auto;gap:20px}.profile-state-summary>header{grid-column:1/-1}.profile-state-foot{align-self:center}.profile-filter-bar{align-items:flex-start;flex-direction:column}.profile-period-filter{justify-content:flex-start}}
@media(max-width:760px){.profile-statistics{gap:15px}.profile-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.profile-kpi{min-height:106px;padding:13px}.profile-evolution>header,.profile-history>header{display:grid}.profile-chart{min-height:145px}.profile-state-summary{display:grid;grid-template-columns:1fr}.profile-state-visual{grid-template-columns:118px minmax(0,1fr)}.profile-state-donut{width:118px}.profile-state-foot{margin-top:4px}.profile-history-search{width:100%}.profile-history .table-wrap{overflow:visible;border:0;background:transparent}.profile-history-table,.profile-history-table tbody,.profile-history-table tr,.profile-history-table td{display:block;width:100%}.profile-history-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}.profile-history-table tr{margin-bottom:9px;padding:9px;border:1px solid #29404b;border-radius:10px;background:#0a171e}.profile-history-table td{display:grid;grid-template-columns:minmax(86px,.38fr) minmax(0,1fr);gap:8px;min-width:0!important;padding:6px;border:0;overflow-wrap:anywhere}.profile-history-table td::before{content:attr(data-label);color:#73858e;font-size:12px;font-weight:900;text-transform:uppercase}.profile-history-empty{display:block!important}.profile-history-empty::before{content:none!important}.profile-filter-group{width:100%}.profile-filter-group button{flex:1 1 auto;justify-content:center}.profile-history-more{flex-direction:column}.profile-history-more small{order:-1}}
@media(max-width:390px){.profile-statistics{margin-top:20px}.profile-kpis{gap:7px}.profile-kpi strong{font-size:17px}.profile-kpi:nth-child(11) strong,.profile-kpi:nth-child(12) strong{font-size:14px}.profile-evolution,.profile-state-summary,.profile-history{padding:13px}.profile-segmented{display:grid;grid-template-columns:1fr 1fr;width:100%}.profile-filter-bar{padding:8px}.profile-filter-group button{padding:0 8px;font-size:12px}.profile-period-filter{display:grid;grid-template-columns:repeat(2,1fr)}.profile-state-visual{gap:12px}.profile-state-donut{width:108px}.profile-state-foot{grid-template-columns:1fr 1fr}}
