/* Seller Ecom - Shopee — Desempenho dos anuncios (migracao 080). Mesmo padrao visual da tela Desempenho do Mercado Livre (ml-desempenho.css):
   azul #10243e, bordas #365573, destaque dourado #d6a52b. Tudo sob #shopee-performance (nao afeta outras telas); no fim, o bloco
   "Resultado dos impulsos" da tela Impulsionar (#sbPerfSection). */
#shopee-performance .spd-head h1 svg{fill:#ee4d2d}
#shopee-performance h1{margin:0 0 18px}
/* 03/11 (dono): filtro global no CANTO SUPERIOR DIREITO, na linha do titulo (padrao das telas). O .spd-head nao era flex e o slot
   do filtro global (.sefg-head-slot, v44-global-filter.js) caia embaixo do titulo, a esquerda. No celular quebra a linha (regra do filtro). */
#shopee-performance > .spd-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:0 0 18px}
#shopee-performance > .spd-head > h1{margin:0;min-width:0}
#shopee-performance .spd-notice{background:rgba(214,165,43,.10);border:1px solid rgba(214,165,43,.45);color:#e8d9ad;border-radius:12px;padding:12px 16px;font-size:13px;line-height:1.5;margin:0 0 18px}
#shopee-performance .spd-notice b{color:#f0cc69}
#shopee-performance .spd-toolbar{display:grid;grid-template-columns:220px 200px minmax(200px,1fr) 220px auto;gap:14px;align-items:end;margin-bottom:18px}
#shopee-performance .spd-toolbar label{display:block;color:#a9b8cc;font-size:11px;font-weight:800;text-transform:uppercase;margin:0 0 7px 2px}
#shopee-performance .spd-toolbar select,#shopee-performance .spd-toolbar input[type=search]{width:100%;height:46px;box-sizing:border-box;border-radius:12px;background:#10243e;border:1px solid #365573;color:#fff;padding:0 14px;font-size:14px;font-weight:600;outline:none}
#shopee-performance .spd-toolbar select:hover,#shopee-performance .spd-toolbar input[type=search]:focus{border-color:#d6a52b}
/* Botao "Produtos" (abre a janela de varios produtos; a janela usa as classes .stock-product-* do Estoque) */
#shopee-performance .spd-product-toggle{width:100%;height:46px;box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;gap:10px;border-radius:12px;background:#10243e;border:1px solid #365573;color:#fff;padding:0 14px;font-size:14px;font-weight:600;cursor:pointer;text-align:left}
#shopee-performance .spd-product-toggle span:first-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#shopee-performance .spd-product-toggle:hover,#shopee-performance .spd-product-toggle:focus-visible{border-color:#d6a52b;outline:none}
#shopee-performance .spd-product-toggle.spd-has-selection{border-color:#d6a52b;color:#f0cc69}
#spdProductPicker .spd-product-picker-info{display:flex;justify-content:space-between;gap:10px;color:#aebdd1;font-size:12px;font-weight:700}
#spdProductPicker #spdProductPickerCount{color:#f0cc69}
#shopee-performance .spd-toolbar .spd-check{display:flex;align-items:center;gap:8px;height:46px;margin:0;text-transform:none;font-size:13px;font-weight:700;color:#d8e2ee;cursor:pointer;white-space:nowrap}
#shopee-performance .spd-kpis{display:grid;grid-template-columns:repeat(6,1fr);gap:14px;margin:0 0 18px}
#shopee-performance .spd-kpi{background:#10243e;border:1px solid #2e435b;border-radius:14px;padding:15px 18px}
#shopee-performance .spd-kpi span{display:block;color:#aebed1;font-size:11px;font-weight:700;text-transform:uppercase}
#shopee-performance .spd-kpi strong{display:block;color:#fff;font-size:22px;margin-top:6px}
#shopee-performance .spd-section .section-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px 14px}
#shopee-performance .spd-hint{color:#9eacbd;font-size:11px}
#shopee-performance .spd-table{width:100%;table-layout:fixed;min-width:1180px}
#shopee-performance .spd-table th:nth-child(1){width:22%}#shopee-performance .spd-table th:nth-child(2){width:9%}#shopee-performance .spd-table th:nth-child(3){width:11%}
#shopee-performance .spd-table th:nth-child(n+4){width:7%}#shopee-performance .spd-table th:nth-child(11){width:12%}
#shopee-performance .spd-table th[data-spd-sort]{cursor:pointer}
#shopee-performance .spd-table th.spd-sorted{color:#f0cc69}
#shopee-performance .spd-table td small{display:block;font-size:10px;color:#94a2b4;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#shopee-performance .spd-product{display:flex;align-items:center;gap:10px;min-width:0}
#shopee-performance .spd-product img{width:48px;height:48px;border-radius:7px;object-fit:contain;background:#fff;flex:none}
#shopee-performance .spd-product-info{min-width:0}
#shopee-performance .spd-product-name{font-weight:800;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#shopee-performance .spd-product-name a{color:#fff;text-decoration:none}#shopee-performance .spd-product-name a:hover{text-decoration:underline}
#shopee-performance .spd-product-meta{font-size:10px;color:#94a2b4;margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#shopee-performance .spd-pos{font-weight:900;font-size:16px;color:#f0cc69}
#shopee-performance .spd-out{font-weight:700;color:#c3ccd8}
#shopee-performance .spd-muted{color:#8291a5;font-size:12px}
#shopee-performance .spd-last{color:#718096!important;font-size:9px!important}
#shopee-performance .spd-delta{display:block;font-size:11px;margin-bottom:3px}
#shopee-performance .spd-up{color:#5fd49b}#shopee-performance .spd-down{color:#ff7373}#shopee-performance .spd-flat{color:#aab4c2}
#shopee-performance .spd-trend{color:#7cc4ff}
#shopee-performance .spd-spark{display:block}
#shopee-performance .spd-empty{text-align:center!important;color:#93a1b3!important;padding:34px!important}
#shopee-performance .spd-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 4px 2px;color:#9eacbd;font-size:12px}
#shopee-performance .spd-pagination{display:flex;align-items:center;gap:9px}
#shopee-performance .spd-pagination button{height:34px;border:1px solid #3b5068;background:#10243e;color:#d8e2ee;border-radius:8px;padding:0 12px;cursor:pointer}
#shopee-performance .spd-pagination button:disabled{opacity:.4;cursor:default}
@media(max-width:1200px){#shopee-performance .spd-toolbar{grid-template-columns:1fr 1fr}#shopee-performance .spd-kpis{grid-template-columns:repeat(3,1fr)}}
@media(max-width:640px){#shopee-performance .spd-toolbar{grid-template-columns:1fr}#shopee-performance .spd-kpis{grid-template-columns:1fr 1fr}#shopee-performance .spd-footer{flex-direction:column;align-items:flex-start}}
@media(max-width:640px){#spdProductPicker{padding:10px}#spdProductPicker .stock-product-dialog{max-height:92vh;padding:12px}#spdProductPicker .stock-product-options{min-height:180px}#spdProductPicker .stock-product-dialog-actions{flex-wrap:wrap}#spdProductPicker .stock-product-dialog-actions>div{display:flex;gap:8px;flex:1 1 100%}#spdProductPicker .stock-product-dialog-actions>div button{flex:1;margin:0;padding:0 8px;white-space:nowrap;font-size:13px}#spdProductPicker .stock-product-dialog-actions .primary{flex:1 1 100%}}
#shopee-performance .spd-kpi small{display:block;font-size:11px;margin-top:4px;color:#aab4c2}
#shopee-performance .spd-rank{font-weight:900;font-size:16px;color:#f0cc69}
#shopee-performance .spd-health{background:#10243e;border:1px solid #2e435b;border-radius:14px;padding:12px 16px;margin:0 0 18px;color:#d8e2ee;font-size:12px;display:flex;flex-wrap:wrap;gap:8px 18px}
#shopee-performance .spd-health b{color:#f0cc69}
#shopee-performance .spd-health .spd-bad{color:#ff7373}#shopee-performance .spd-health .spd-ok{color:#5fd49b}
#sbPerfSection .sbp-head{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
#sbPerfSection .sbp-period{flex:0 0 220px;max-width:100%}
#sbPerfSection .sbp-up{color:#5fd49b}#sbPerfSection .sbp-down{color:#ff7373}#sbPerfSection .sbp-muted{color:#8291a5;font-size:12px}
#sbPerfSection td small{display:block;font-size:10px;color:#94a2b4;margin-top:2px}
