.employee-sales-panel:not(.is-top-manager-performance) .company-competition-launch { display:none!important; }
.company-competition-launch { border:1px solid #e4ae36!important;border-radius:12px!important;background:linear-gradient(120deg,#ffc84b24,#d9951520)!important;color:inherit!important;cursor:pointer;padding:10px 14px!important;text-align:left;max-width:290px; }
.company-competition-launch span { display:block;font-size:10px;line-height:1.4;opacity:.85; }
.company-competition-launch strong { display:block;font-size:14px;line-height:1.4; }
html body .employee-sales-panel.is-top-manager-performance .employee-sales-title { display:grid!important;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:4px 18px; }
html body .employee-sales-panel.is-top-manager-performance .employee-sales-title h2 { grid-column:1;grid-row:1; }
html body .employee-sales-panel.is-top-manager-performance .employee-sales-title p { grid-column:1;grid-row:2; }
html body .employee-sales-panel.is-top-manager-performance .company-competition-launch { grid-column:2;grid-row:1 / 3; }
@media(min-width:701px) {
 html body :is(#dashboardSection,#employeeSalesOverlay) .employee-sales-panel.is-top-manager-performance .employee-sales-head { grid-template-columns:42px minmax(0,1fr)!important; }
 html body .employee-sales-panel.is-top-manager-performance #employeePerformancePeriodControls { grid-column:1 / -1; }
}
.company-competition-dialog { --cc-paper:#0c1b2c;--cc-text:#eaf2ff;--cc-line:#29425e;box-sizing:border-box;width:min(900px,94vw);max-height:90dvh;overflow:auto;background:var(--cc-paper);color:var(--cc-text);border:1px solid var(--cc-line);border-radius:20px;padding:24px;box-shadow:0 20px 80px #0008; }
html[data-theme="light"] .company-competition-dialog { --cc-paper:#fff;--cc-text:#142543;--cc-line:#dbe7f6; }
.company-competition-dialog::backdrop { background:#05132699; }
.company-competition-dialog header { display:flex;justify-content:space-between;gap:12px;align-items:start; }
.company-competition-dialog h2 { margin:0;font-size:26px; }
.company-competition-dialog p { font-size:13px;line-height:1.5; }
.company-competition-dialog button,.company-competition-dialog select { background:var(--cc-paper);color:var(--cc-text);border:1px solid var(--cc-line);border-radius:9px;padding:10px;font:inherit;cursor:pointer; }
.cc-filters { display:flex;flex-wrap:wrap;gap:12px;align-items:end;padding:16px 0;border-bottom:1px solid var(--cc-line); }
.cc-filters label { display:flex;flex-direction:column;gap:6px;font-size:12px;min-width:0; }
.cc-filters label[hidden] { display:none; }
.cc-filters select { max-width:100%;font-size:13px; }
.cc-row { border:1px solid var(--cc-line);border-radius:12px;margin-top:10px;padding:12px; }
.cc-row summary { display:grid;grid-template-columns:minmax(40px,max-content) minmax(0,1fr) auto;align-items:center;gap:12px;cursor:pointer; }
.cc-row summary small { display:block;font-size:11px;opacity:.7;margin-top:4px; }
.cc-place { border-radius:9px;background:#1584ff22;padding:8px;text-align:center;white-space:nowrap;word-break:normal;overflow-wrap:normal;box-sizing:border-box;min-width:40px;font-variant-numeric:tabular-nums; }
.cc-leaders { border-color:#d9a842;background:linear-gradient(120deg,#ffc84b14,#d9951508); }
.cc-leaders > header { align-items:center;justify-content:flex-start;margin-bottom:12px; }
.cc-leaders > header .cc-place { background:#ffbe3433; }
.cc-leaders > .cc-leader-line { display:flex;align-items:flex-start;gap:18px;border-top:0;margin-top:0; }
.cc-leader-people { display:flex;align-items:flex-start;gap:16px;flex:1;min-width:0;overflow-x:auto; }
.cc-leader-person { padding:0;flex:1 0 220px;min-width:0; }
.cc-leader-person summary { grid-template-columns:52px minmax(0,1fr);min-height:52px; }
.cc-leader-person > div { padding-top:8px; }
.cc-leader-separator { line-height:52px;opacity:.5; }
.cc-shared-points { white-space:nowrap;line-height:52px; }
@media(max-width:700px) { .cc-leaders > .cc-leader-line { gap:10px; } .cc-leader-person { flex-basis:190px; } }
.cc-avatar { position:relative;display:grid;place-items:center;width:52px;height:52px;border-radius:50%;overflow:hidden;background:#1584ff22;font-weight:700; }
.cc-avatar img { position:absolute;width:100%;height:100%;object-fit:cover;inset:0; }
.cc-row > div { border-top:1px solid var(--cc-line);margin-top:12px; }
.cc-row p { display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px; }
.cc-warning { padding:12px;border:1px solid #d9a842;border-radius:10px; }
.company-competition-dialog :is(button,select,summary):focus-visible,.company-competition-launch:focus-visible { outline:2px solid #228bff;outline-offset:3px; }
@media(max-width:700px) {
 html body .employee-sales-panel.is-top-manager-performance .employee-sales-title { grid-template-columns:minmax(0,1fr); }
 html body .employee-sales-panel.is-top-manager-performance .company-competition-launch { grid-column:1;grid-row:3;width:100%;max-width:none;margin-top:6px; }
 .company-competition-dialog { padding:16px;width:96vw; }
 .cc-filters label { flex:1 1 140px; }
 .cc-filters label:last-of-type { flex-basis:100%; }
}
html body #companyCompetitionDialog :is(button,select) { background:var(--cc-paper)!important;color:var(--cc-text)!important;border:1px solid var(--cc-line)!important;box-shadow:none!important;opacity:1!important;-webkit-text-fill-color:var(--cc-text)!important;min-width:0;box-sizing:border-box; }
html body .employee-sales-panel.is-top-manager-performance .company-competition-launch { background:linear-gradient(120deg,#ffc84b24,#d9951520)!important;border-color:#d5a23a!important; }
@media(max-width:700px) { .cc-filters select { width:100%; } }
