/* Desempenho da equipe · tema premium all-black, sem dependências externas */
.team-page{color:var(--text,#f5f5f8);max-width:1550px;margin:0 auto;display:grid;gap:20px;min-width:0;padding-bottom:24px}
.team-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-wrap:wrap}
.team-header h2{font-size:clamp(23px,2.4vw,31px);line-height:1.2;margin:5px 0 7px;letter-spacing:-.04em}
.team-header p,.team-panel-head p{font-size:13px;color:#92929e;margin:0;line-height:1.55}
.team-overline,.team-caption{font-size:10px;letter-spacing:.15em;color:#a99cef;font-weight:760}
.team-updated{font-size:11px;color:#9797a5;margin-top:10px}
.team-controls{padding:15px;background:#111115;border:1px solid #26262e;border-radius:16px;display:flex;gap:13px;align-items:end;justify-content:space-between;flex-wrap:wrap}
.team-quick{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.team-quick .team-caption{margin-right:8px}
.team-chip{border-radius:9px;padding:9px 13px;background:#1c1c24;color:#cccbd4;border:1px solid #33333e;font-size:12px;font-weight:650;cursor:pointer}
.team-chip.selected,.team-chip:hover{background:#29203e;color:#eee5ff;border-color:#67518f}
.team-date-form{display:flex;gap:8px;align-items:end;flex-wrap:wrap}.team-date-form label{font-size:11px;color:#a8a7b3;display:grid;gap:4px}.team-date-form input,.team-select{background:#1c1c23;color:#eee;border:1px solid #393944;border-radius:9px;padding:9px 10px;min-height:37px;font-size:12px;color-scheme:dark;min-width:0}
.team-button{background:#6f51ce;border:1px solid #7c61e6;border-radius:9px;padding:9px 16px;color:#fff;font-weight:680;font-size:12px;min-height:37px;cursor:pointer}
.team-button:disabled{opacity:.6;cursor:not-allowed}
.team-section-title{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:-10px;flex-wrap:wrap}.team-section-title h3{font-size:16px;letter-spacing:-.02em;margin:0}.team-section-title>span{font-size:12px;color:#a6a5b0}
.team-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}
.team-kpi{padding:17px 16px;border:1px solid #292931;border-radius:14px;background:#131318;min-width:0;display:grid;gap:8px}.team-kpi.is-highlight{border-color:#493565;background:linear-gradient(125deg,#241932,#14131a)}
.team-kpi span{font-size:12px;color:#aaa8b5}.team-kpi strong{font-size:clamp(17px,2vw,24px);font-weight:760;letter-spacing:-.035em;white-space:normal;overflow-wrap:anywhere}.team-kpi small{font-size:11px;color:#8f8b9e;line-height:1.5}
.team-layout{display:grid;grid-template-columns:minmax(310px,.9fr) minmax(340px,1.1fr);gap:14px;align-items:start;min-width:0}.team-profile-area{min-width:0;display:grid;gap:14px}
.team-panel{background:#141418;border:1px solid #292932;border-radius:15px;padding:17px;min-width:0;overflow:hidden}.team-panel-head{display:flex;align-items:start;justify-content:space-between;gap:13px;flex-wrap:wrap;margin-bottom:15px}.team-panel h3{font-size:15px;margin:0 0 5px;letter-spacing:-.02em}
.team-select{max-width:100%;font-size:11px}.team-ranking{display:grid;gap:4px;max-height:750px;overflow-y:auto;scrollbar-width:thin}
.team-rank-row{display:flex;text-align:left;align-items:start;gap:10px;padding:12px 9px;color:#eee;background:none;border:1px solid transparent;border-radius:10px;min-width:0;cursor:pointer}.team-rank-row:hover,.team-rank-row.active{background:#201d28;border-color:#433550}
.team-rank-index{flex:0 0 21px;font-size:12px;color:#9b93ae;padding-top:2px;font-variant-numeric:tabular-nums}.team-rank-main{min-width:0;display:grid;gap:8px;flex:1}.team-rank-meta{display:flex;justify-content:space-between;gap:8px;align-items:start;font-size:12px;min-width:0}.team-rank-meta strong{font-weight:650;overflow-wrap:anywhere}.team-rank-meta b{white-space:nowrap;font-variant-numeric:tabular-nums}.team-rank-meta em{font-size:10px;font-style:normal;color:#d5baff;background:#3a284e;border-radius:6px;padding:2px 5px;margin-left:3px}
.team-bar-track{height:6px;background:#30283a;border-radius:15px;overflow:hidden;display:block}.team-bar-fill{background:linear-gradient(90deg,#8364f3,#bd98ff);height:100%;border-radius:15px;display:block;transition:width .2s}
.team-rank-bottom{font-size:11px;color:#938fa0}.team-seller-numbers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.team-seller-numbers .team-kpi{padding:11px 12px}.team-seller-numbers .team-kpi strong{font-size:19px}
.team-trend-bars{display:flex;gap:6px;overflow-x:auto;padding:11px 0 3px;align-items:end;height:185px;min-width:0}.team-trend-column{height:100%;flex:1 0 40px;display:flex;min-width:40px;flex-direction:column;align-items:center;justify-content:end;gap:6px;text-align:center}.team-trend-column strong{font-size:9px;color:#b4acc1;white-space:nowrap}.team-trend-track{height:128px;width:100%;display:flex;align-items:end;justify-content:center;border-bottom:1px solid #3b3548}.team-trend-track span{display:block;background:linear-gradient(180deg,#9b78ff,#46397a);max-width:28px;width:74%;border-radius:5px 5px 0 0;min-height:3px}.team-trend-column small{font-size:10px;color:#9c96a8;white-space:nowrap}
.team-products{display:grid}.team-products-head,.team-product-row{display:grid;grid-template-columns:minmax(0,1fr) 58px minmax(92px,115px);gap:8px;align-items:center}.team-products-head{color:#9e96ad;font-size:10px;letter-spacing:.06em;padding:0 4px 10px}.team-product-row{padding:11px 4px;border-top:1px solid #282632;font-size:12px}.team-product-row span{overflow-wrap:anywhere}.team-product-row strong{text-align:center;font-weight:600}.team-product-row b{text-align:right;font-variant-numeric:tabular-nums;font-weight:600}
.team-footnote,.team-info{font-size:11px;color:#92919d;line-height:1.55}.team-info,.team-warning,.team-error{padding:12px 15px;border:1px solid #544166;background:#201927;color:#d8c5ed;border-radius:12px;font-size:12px;line-height:1.55}.team-error{border-color:#6c3645;background:#29151e;color:#ffa6b7}
.team-empty{padding:32px 13px;font-size:12px;text-align:center;color:#a9a4b3}.team-loading{border:1px solid #34303e;border-radius:12px;background:#15141a}
@media(max-width:1100px){.team-layout{grid-template-columns:1fr}.team-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.team-ranking{max-height:460px}}
@media(max-width:570px){.team-page{gap:16px}.team-kpis{gap:8px}.team-kpi{padding:13px 11px;gap:6px}.team-kpi strong{font-size:18px}.team-kpi span{font-size:11px}.team-kpi small{font-size:10px}.team-panel{padding:12px}.team-layout{display:grid;grid-template-columns:minmax(0,1fr)}.team-controls{padding:12px}.team-date-form{width:100%}.team-date-form label{flex:1;min-width:0}.team-date-form input{width:100%;min-width:0}.team-date-form button{align-self:end}.team-seller-numbers .team-kpi strong{font-size:16px}.team-ranking{max-height:360px}.team-rank-meta{font-size:11px}.team-panel-head{gap:8px}.team-products-head,.team-product-row{grid-template-columns:minmax(0,1fr) 38px 95px;font-size:11px}}
/* Hoje: indicadores e discriminação das vendas sem mudar de página. */
.team-today-section{display:grid;gap:14px;min-width:0}
.team-tab-strip{display:flex;gap:7px;border-bottom:1px solid #30303b;padding-bottom:11px;flex-wrap:wrap}
.team-tab{font:inherit;font-size:12px;font-weight:650;padding:9px 12px;border:1px solid #33323e;background:#19191f;color:#bcb8c7;border-radius:9px;cursor:pointer}
.team-tab:hover,.team-tab.active{background:#33234f;border-color:#7755b5;color:#fff}
.team-today-scroll,.team-today-sales{max-height:510px;overflow:auto;scrollbar-width:thin;min-width:0}
.team-today-product-head,.team-today-product-row{display:grid;grid-template-columns:minmax(0,1fr) 54px 122px;align-items:center;gap:10px}
.team-today-product-head{padding:10px 8px;color:#9c98aa;font-size:10px;font-weight:600;letter-spacing:.04em}
.team-today-product-row{padding:13px 8px;border-top:1px solid #2b2835;font-size:12px;min-width:0}
.team-today-product-row>div{min-width:0;display:grid;gap:5px}
.team-today-product-row>div>strong{font-size:12px;overflow-wrap:anywhere}
.team-today-product-row small{font-size:11px;color:#a19bae;line-height:1.4;overflow-wrap:anywhere}
.team-today-product-row>b{text-align:center;font-variant-numeric:tabular-nums}
.team-today-product-row>strong{text-align:right;font-variant-numeric:tabular-nums}
.team-today-sales{display:grid;gap:9px}
.team-sale-card{border:1px solid #32303b;background:#18171f;border-radius:11px;padding:12px;display:grid;gap:8px}
.team-sale-head{display:flex;justify-content:space-between;gap:10px;align-items:start}
.team-sale-head>div{display:grid;gap:5px}.team-sale-head strong,.team-sale-head b{font-size:13px;font-variant-numeric:tabular-nums}.team-sale-head small{font-size:11px;color:#aaa4b8}
.team-sale-item{border-top:1px solid #302c3a;display:flex;justify-content:space-between;gap:12px;padding-top:8px;font-size:12px}
.team-sale-item span{overflow-wrap:anywhere;min-width:0}.team-sale-item small{color:#aaa4b8}.team-sale-item b{white-space:nowrap;font-variant-numeric:tabular-nums}
/* Comparação mensal: valores explícitos acima de cada barra e meses legíveis. */
.team-month-controls{display:flex;gap:9px;align-items:end;flex-wrap:wrap}
.team-month-controls label{display:grid;gap:5px;color:#a8a5b3;font-size:10px}
.team-months-summary{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:2px 0 15px}
.team-months-summary>span{border:1px solid #383342;border-radius:9px;background:#1c1a25;padding:9px 11px;color:#d5cfdf;font-size:12px;line-height:1.5}
.team-months-summary strong{color:#c9b2fc;margin-right:5px}
.team-month-scroll{overflow-x:auto;scrollbar-width:thin;max-width:100%;padding:8px 0 12px}
.team-month-chart{display:flex;gap:10px;min-width:max-content;align-items:stretch;height:272px}
.team-month-col{width:110px;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;min-width:100px;gap:8px;text-align:center}
.team-month-col>strong{font-size:11px;letter-spacing:-.02em;color:#e1dce9;white-space:nowrap;font-variant-numeric:tabular-nums}
.team-month-col>b{font-size:12px;font-weight:670;color:#cdc4dc}
.team-month-col>small{font-size:10px;color:#aba2bd;white-space:nowrap}
.team-month-track{height:176px;border-bottom:1px solid #51485c;width:100%;display:flex;align-items:end;justify-content:center;background:repeating-linear-gradient(to top,transparent 0,transparent 43px,rgba(255,255,255,.035) 44px)}
.team-month-track span{display:block;width:60%;max-width:68px;min-height:0;border-radius:7px 7px 0 0;background:linear-gradient(180deg,#aa8afb,#6750bc);transition:height .2s}
.team-month-col.is-current .team-month-track span{background:linear-gradient(180deg,#d5b4ff,#8461dd)}
.team-month-col.is-current>b{color:#dfc3ff}
.team-month-note{color:#a29caa;line-height:1.55;font-size:11px;margin:11px 0 0}
@media(max-width:570px){.team-month-chart{height:246px}.team-month-col{width:90px;min-width:86px}.team-month-track{height:150px}.team-month-col>strong{font-size:10px}.team-today-product-head,.team-today-product-row{grid-template-columns:minmax(0,1fr) 34px 95px;gap:6px}.team-today-product-row{padding:11px 3px}.team-today-product-row small{font-size:10px}.team-month-controls{width:100%}.team-month-controls label{flex:1}.team-month-controls select{width:100%}}

/* Datas lado a lado, limitadas pela largura disponível em todos os celulares. */
.team-page .team-date-form{min-width:0;max-width:100%}
.team-page .team-date-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;flex:1 1 240px;min-width:0;max-width:100%}
.team-page .team-date-pair label{display:grid;gap:5px;min-width:0;max-width:100%;width:100%}
.team-page .team-date-pair input[type=date]{display:block;min-width:0;max-width:100%;width:100%;box-sizing:border-box;padding:0 4px;font-size:clamp(11px,3vw,13px);-webkit-appearance:none;appearance:none}
@media(max-width:570px){
 .team-page .team-date-form{display:grid;grid-template-columns:minmax(0,1fr);width:100%;gap:9px}
 .team-page .team-date-pair{grid-column:1;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;gap:8px}
 .team-page .team-date-pair label{width:100%}
 .team-page .team-date-pair input[type=date]{font-size:12px;padding:0 3px}
 .team-page .team-date-form .team-button{grid-column:1;width:100%}
}
