/* Módulo: fca. Substituível junto com index.js. */
.fca-section-title{display:flex;align-items:end;justify-content:space-between;gap:15px;margin-bottom:9px}
.fca-section-title h3{margin:4px 0 0;color:var(--text-1);font-size:21px}
.fca-section-title>span{color:var(--text-3);font-size:11px;font-weight:700}
.fca-empty{min-height:120px;display:grid;place-items:center;color:var(--text-3);font-size:11px}
.weekly-head{display:flex;align-items:end;justify-content:space-between;gap:20px;padding:3px 56px 16px 0;margin-bottom:14px;border-bottom:1px solid var(--line)}
.weekly-head h2{margin:5px 0 4px;color:var(--text-1);font-size:var(--page-title-size);letter-spacing:-.04em}
.weekly-head p{margin:0;color:var(--muted);font-size:13px;line-height:1.5}
.weekly-week-actions{display:flex;align-items:center;gap:8px}
.weekly-week-actions>div{min-width:220px;text-align:center}
.weekly-week-actions span{display:block;color:var(--text-3);font-size:11px;font-weight:800;letter-spacing:.06em}
.weekly-week-actions strong{display:block;margin-top:4px;color:var(--text-1);font-size:13px}
.weekly-week-actions .toolbar-action{width:38px;padding:0;justify-content:center}
.weekly-task-manager-head{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:8px}
.weekly-task-manager-head h3{margin:3px 0 2px;color:var(--text-1);font-size:17px}
.weekly-task-manager-head p{margin:0;color:var(--text-3);font-size:11px;line-height:1.4}
.weekly-task-count{color:var(--text-3);font-size:11px;font-weight:850}
.weekly-assigned-list{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.weekly-assigned-task{min-width:210px;max-width:330px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:7px;padding:7px 8px;border:1px solid var(--line);border-radius:9px;background:var(--surface)}
.weekly-assigned-task>span{width:27px;height:27px;display:grid;place-items:center;border-radius:8px;background:#eef7fd;color:var(--blue)}
.weekly-assigned-task>span svg{width:13px}
.weekly-assigned-task div{min-width:0}
.weekly-assigned-task strong{display:block;overflow:hidden;color:var(--text-1);font-size:11px;text-overflow:ellipsis;white-space:nowrap}
.weekly-assigned-task small{display:block;margin-top:2px;color:var(--text-3);font-size:10.5px}
.weekly-assigned-task button{width:28px;height:28px;display:grid;place-items:center;border:0;border-radius:8px;background:#fff3f3;color:#ba5252}
.weekly-assigned-task button svg{width:12px}
.weekly-assigned-empty,.weekly-task-empty,.weekly-report-no-tasks{padding:11px 2px;color:var(--text-3);font-size:11px}
.weekly-task-empty{display:flex;align-items:center;gap:7px}
.weekly-task-empty svg{width:15px;color:var(--text-3)}
.weekly-task-state.not-assigned{background:var(--surface-2);color:#b1bbc4}
@media (max-width:820px){.weekly-task-manager-head{display:grid}.weekly-assigned-task{max-width:none;min-width:100%}}
.weekly-performance-identity{display:grid;grid-template-columns:1.2fr 1fr .8fr;gap:0;padding:13px 16px;border-bottom:1px solid var(--line);background:linear-gradient(90deg,#f8fbfd,#fff)}
.weekly-performance-identity>div{padding:2px 13px;border-right:1px solid var(--line)}
.weekly-performance-identity>div:last-child{border-right:0}
.weekly-performance-identity span{display:block;color:var(--text-3);font-size:11px;font-weight:800;letter-spacing:.055em}
.weekly-performance-identity strong{display:block;margin-top:5px;color:var(--text-1);font-size:14px}
.weekly-task-table{display:grid;gap:7px;padding:8px 0}
.weekly-task-row{display:grid;grid-template-columns:minmax(280px,1.6fr) repeat(5,minmax(70px,.42fr));align-items:center;min-height:58px;border:1px solid var(--line);border-radius:12px;background:var(--surface);overflow:hidden}
.weekly-task-row.header{min-height:42px;border:0;border-radius:12px;background:linear-gradient(90deg,var(--navy),#183b61);color:#fff}
.weekly-task-row>strong{padding:0 16px;color:var(--text-1);font-size:12px}
.weekly-task-row.header>strong{color:#fff;text-align:center;font-size:11px;letter-spacing:.035em}
.weekly-task-row.header>span{color:#fff;font-size:11px;font-weight:800;text-align:center}
.weekly-task-row>*:not(:first-child){height:100%;display:grid;place-items:center;border-left:1px solid var(--line)}
.weekly-task-row:nth-child(odd):not(.header){background:var(--surface-2)}
.weekly-task-toggle{width:28px;height:28px;display:grid!important;place-items:center!important;border:1.5px solid #9fb0bf!important;border-radius:7px;background:var(--surface);color:#9aabb9;transition:.15s}
.weekly-task-toggle:hover{border-color:var(--blue)!important;color:var(--blue);transform:translateY(-1px)}
.weekly-task-toggle.done{border-color:#36a36f!important;background:#ecf8f2;color:#168357}
.weekly-task-toggle svg,.weekly-task-state svg{width:15px}
.weekly-task-state{width:27px;height:27px!important;display:grid!important;place-items:center!important;border-radius:50%;border:0!important}
.weekly-task-state.done{background:#eaf8f1;color:#168357}
.weekly-task-state.missed{background:#fff0ec;color:#cf5b33}
.weekly-task-state.pending{background:#fff7e8;color:#a87416}
.weekly-task-state.future{background:var(--surface-2);color:var(--text-3)}
.weekly-challenge-title{margin-bottom:7px;padding:11px 16px;border-radius:12px;background:linear-gradient(90deg,var(--orange),#1248BD);color:#fff;font-size:14px;font-weight:900;text-align:center;letter-spacing:.03em}
.weekly-challenge-table{display:grid;gap:7px}
.weekly-challenge-row{display:grid;grid-template-columns:.8fr repeat(3,1fr);align-items:center;min-height:50px;border:1px solid var(--line);border-radius:12px;background:var(--surface);overflow:hidden}
.weekly-challenge-row.header{min-height:42px;border:0;background:linear-gradient(90deg,var(--navy),#183b61);color:#fff}
.weekly-challenge-row>*{height:100%;display:grid;align-items:center;padding:0 16px;border-right:1px solid var(--line)}
.weekly-challenge-row>*:last-child{border-right:0}
.weekly-challenge-row.header>*{font-size:11px;font-weight:800;text-align:center;justify-content:center;color:#fff}
.weekly-challenge-row>strong{color:var(--text-1);font-size:12px}
.weekly-challenge-row>span{color:var(--text-2);font-size:12px;font-weight:700}
.weekly-challenge-row:nth-child(odd):not(.header):not(.total){background:var(--surface-2)}
.weekly-challenge-row.today{box-shadow:inset 4px 0 0 var(--orange);background:#FFFFFF!important}
.weekly-challenge-row.total{background:#F3F7FE}
.weekly-challenge-row.total strong,.weekly-challenge-row.total span{font-weight:900}
.weekly-performance-foot{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:10px 14px;color:var(--text-3);font-size:10.5px}
.weekly-performance-foot span{display:flex;align-items:center;gap:6px}
.weekly-performance-foot svg{width:14px;color:var(--blue)}
.weekly-manager-report-section{margin-bottom:20px}
.weekly-report-list{display:grid;border-top:2px solid var(--orange);background:var(--surface)}
.weekly-report-card{width:100%;display:grid;grid-template-columns:minmax(160px,1fr) 110px 100px 130px 130px auto;align-items:center;gap:12px;padding:12px 14px;border:0;border-bottom:1px solid var(--line);background:var(--surface);color:var(--text-2);text-align:left}
.weekly-report-card:hover{background:var(--surface-2)}
.weekly-report-card>span strong{display:block;color:var(--text-1);font-size:13px}
.weekly-report-card>span small{display:block;margin-top:4px}
.weekly-report-task.missed strong{color:#cf5b33}
.weekly-report-card>svg{width:15px;color:var(--text-3)}
.weekly-report-modal{width:min(100%,720px)}
.weekly-report-summary{display:grid;grid-template-columns:repeat(4,1fr);margin-top:13px;border:1px solid var(--line);border-radius:12px;overflow:hidden}
.weekly-report-summary>div{padding:11px 12px;border-right:1px solid var(--line)}
.weekly-report-summary>div:last-child{border-right:0}
.weekly-report-summary span{display:block;color:var(--text-3);font-size:11px;font-weight:800;text-transform:uppercase}
.weekly-report-summary strong{display:block;margin-top:5px;color:var(--text-1);font-size:14px}
.weekly-report-task-list{display:grid;gap:7px;margin-top:12px}
.weekly-report-task-list>div{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;padding:10px 11px;border:1px solid var(--line);border-radius:10px}
.weekly-report-task-list>div>span{width:28px;height:28px;display:grid;place-items:center;border-radius:50%}
.weekly-report-task-list>div.done>span{background:#eaf8f1;color:#168357}
.weekly-report-task-list>div.missed>span{background:#fff0ec;color:#cf5b33}
.weekly-report-task-list svg{width:15px}
.weekly-report-task-list strong{color:var(--text-1);font-size:12.5px}
.weekly-report-task-list small{font-size:11px}
.weekly-report-task-list .done small{color:#168357}
.weekly-report-task-list .missed small{color:#cf5b33}
@media (max-width:1180px){.weekly-head{padding-right:0}.weekly-task-row{grid-template-columns:minmax(230px,1.35fr) repeat(5,minmax(62px,.42fr))}.weekly-report-card{grid-template-columns:1.2fr repeat(4,.75fr) auto}}
@media (max-width:820px){.weekly-head{display:grid;align-items:start}.weekly-week-actions{justify-content:space-between}.weekly-performance-identity,.weekly-task-table,.weekly-challenge-title,.weekly-challenge-table,.weekly-performance-foot{min-width:760px}.weekly-report-list{overflow:auto}.weekly-report-card{min-width:760px}.weekly-report-summary{grid-template-columns:1fr 1fr}.weekly-report-summary>div:nth-child(2){border-right:0}.weekly-report-summary>div:nth-child(-n+2){border-bottom:1px solid var(--line)}}

.weekly-seller-overview{padding:16px 0 14px;border-bottom:1px solid var(--line)}
.weekly-seller-overview-main{display:grid;grid-template-columns:minmax(240px,.8fr) minmax(0,1.2fr);align-items:end;gap:18px;margin-bottom:13px}
.weekly-seller-overview-main .section-kicker{grid-column:1/-1}
.weekly-seller-overview-main h3{margin:0;color:var(--text-1);font-size:24px;letter-spacing:-.035em}
.weekly-seller-overview-main p{margin:0;color:var(--text-2);font-size:12.5px;line-height:1.5;text-align:right}
.weekly-seller-overview-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-block:1px solid var(--line);background:rgba(255,255,255,.45)}
.weekly-seller-overview-metrics>div{min-height:70px;display:grid;align-content:center;padding:11px 14px;border-right:1px solid var(--line)}
.weekly-seller-overview-metrics>div:last-child{border-right:0}
.weekly-seller-overview-metrics span{color:var(--text-3);font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}
.weekly-seller-overview-metrics strong{margin-top:5px;color:var(--text-1);font-size:17px;line-height:1.05}
.weekly-seller-progress{height:7px;margin-top:10px;border-radius:999px;background:var(--line);overflow:hidden}
.weekly-seller-progress>span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--orange),var(--blue),var(--navy))}
.weekly-today-focus{display:grid;grid-template-columns:auto minmax(0,1fr) minmax(330px,.85fr);align-items:center;gap:15px;margin:16px 0 18px;padding:16px 18px;border-radius:16px;background:linear-gradient(125deg,#122945 0%,#17375d 58%,#134FD0 150%);color:#fff;box-shadow:0 10px 28px rgba(18,41,69,.08)}
.weekly-today-focus.ahead{background:linear-gradient(125deg,#122945 0%,#17375d 60%,#25845f 150%)}
.weekly-today-focus.waiting,.weekly-today-focus.neutral{background:linear-gradient(125deg,#122945 0%,#17375d 60%,#3e99dd 150%)}
.weekly-today-focus-icon{width:48px;height:48px;display:grid;place-items:center;border-radius:14px;background:rgba(255,255,255,.12)}
.weekly-today-focus-icon svg{width:21px;color:#fff}
.weekly-today-focus-copy>span{display:block;color:rgba(255,255,255,.72);font-size:11px;font-weight:800;letter-spacing:.07em}
.weekly-today-focus-copy h3{margin:5px 0 6px;color:#fff;font-size:20px;line-height:1.15;letter-spacing:-.02em}
.weekly-today-focus-copy p{margin:0;color:rgba(255,255,255,.76);font-size:11.5px;line-height:1.5}
.weekly-today-focus-values{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-left:1px solid rgba(255,255,255,.16)}
.weekly-today-focus-values>div{display:grid;align-content:center;min-height:58px;padding:8px 13px;border-right:1px solid rgba(255,255,255,.12)}
.weekly-today-focus-values>div:last-child{border-right:0}
.weekly-today-focus-values span{color:rgba(255,255,255,.72);font-size:11px;font-weight:800;letter-spacing:.05em;text-transform:uppercase}
.weekly-today-focus-values strong{margin-top:5px;color:#fff;font-size:14px;line-height:1.08}
.weekly-integrated-section{margin-top:18px;padding-top:2px;border-top:2px solid var(--navy)}
.weekly-integrated-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;padding:11px 2px 10px;border-bottom:1px solid var(--line)}
.weekly-integrated-heading h3{margin:4px 0 0;color:var(--text-1);font-size:21px}
.weekly-integrated-heading p{margin:0;max-width:520px;color:var(--text-3);font-size:11px;line-height:1.45;text-align:right}
.weekly-task-table-integrated{background:transparent}
.weekly-task-table-integrated .weekly-task-row:not(.header){background:var(--surface)}
.weekly-task-table-integrated .weekly-task-row:nth-child(odd):not(.header){background:var(--surface-2)}
.weekly-task-table-integrated .weekly-task-cell{height:100%;display:grid;place-items:center;border-left:1px solid var(--line)}
.weekly-task-table-integrated .weekly-task-cell.current-day{background:#FCFDFF;box-shadow:inset 2px 0 0 rgba(19,79,208,.18),inset -2px 0 0 rgba(19,79,208,.08)}
.weekly-task-table-integrated .header .current-day{background:#17375d;color:#fff;box-shadow:inset 0 -3px 0 var(--orange)}
.weekly-task-table-integrated .weekly-task-cell>.weekly-task-toggle,.weekly-task-table-integrated .weekly-task-cell>.weekly-task-state{border-left:0!important}
.weekly-challenge-integrated{border-top-color:var(--orange)}
.weekly-challenge-integrated .weekly-challenge-title{margin-top:0;border-radius:12px;background:linear-gradient(90deg,var(--orange),#1248BD)}
.weekly-challenge-integrated .weekly-challenge-table{border-bottom:1px solid var(--line)}
.weekly-performance-foot-integrated{padding-inline:2px;background:transparent}
@media (max-width:1180px){.weekly-today-focus{grid-template-columns:auto 1fr}.weekly-today-focus-values{grid-column:1/-1;border-left:0;border-top:1px solid rgba(255,255,255,.16);padding-top:8px}.weekly-seller-overview-main{grid-template-columns:1fr}.weekly-seller-overview-main p{text-align:left}.weekly-seller-overview-metrics{grid-template-columns:repeat(2,1fr)}.weekly-seller-overview-metrics>div:nth-child(2){border-right:0}.weekly-seller-overview-metrics>div:nth-child(-n+2){border-bottom:1px solid var(--line)}}
@media (max-width:820px){.weekly-seller-overview-metrics{grid-template-columns:1fr 1fr}.weekly-today-focus{grid-template-columns:1fr}.weekly-today-focus-icon{width:42px;height:42px}.weekly-today-focus-values{grid-template-columns:1fr}.weekly-today-focus-values>div{border-right:0;border-bottom:1px solid rgba(255,255,255,.12)}.weekly-today-focus-values>div:last-child{border-bottom:0}.weekly-integrated-heading{display:grid}.weekly-integrated-heading p{text-align:left}.weekly-task-table-integrated,.weekly-challenge-integrated .weekly-challenge-table,.weekly-challenge-integrated .weekly-challenge-title,.weekly-performance-foot-integrated{min-width:760px}.weekly-integrated-section{overflow-x:auto}}
.weekly-manager-board-integrated{background:transparent}
.weekly-performance-identity-integrated{grid-template-columns:1.35fr 1.1fr .9fr .9fr .9fr;padding:0;border-block:1px solid var(--line);background:transparent}
.weekly-performance-identity-integrated>div{min-height:72px;display:grid;align-content:center;padding:11px 14px}
.weekly-performance-identity-integrated>div:first-child{padding-left:2px}
.weekly-performance-identity-integrated>div:last-child{padding-right:2px}
.weekly-performance-identity-integrated strong{font-size:15px}
.weekly-performance-identity-integrated>div:first-child strong{font-size:18px;letter-spacing:-.02em}
.weekly-manager-progress{height:6px;margin:10px 0 5px;border-radius:999px;background:var(--line);overflow:hidden}
.weekly-manager-progress>span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--orange),var(--blue),var(--navy))}
.weekly-manager-integrated-section{margin-top:16px}
.weekly-report-card .weekly-report-seller{line-height:1.15;color:var(--text-1)!important;letter-spacing:-.015em}
.weekly-report-card .weekly-report-date small{font-size:11px}
@media (max-width:1180px){.weekly-performance-identity-integrated{grid-template-columns:repeat(3,1fr)}.weekly-performance-identity-integrated>div:nth-child(3){border-right:0}.weekly-performance-identity-integrated>div:nth-child(-n+3){border-bottom:1px solid var(--line)}}
@media (max-width:820px){.weekly-performance-identity-integrated{min-width:760px}}

@media (max-width:900px){.weekly-head,.weekly-manager-report-section,.weekly-seller-overview,.weekly-today-focus,.weekly-integrated-section{width:100%;max-width:100%;min-width:0}}
@media (max-width:760px){.weekly-week-actions>div{min-width:0;flex:1}.weekly-seller-overview-main{display:block!important}.weekly-seller-overview-main .section-kicker{display:block;margin-bottom:5px}.weekly-seller-overview-main h3{font-size:20px}.weekly-seller-overview-main p{margin-top:5px;text-align:left;font-size:11px}.weekly-seller-overview-metrics{grid-template-columns:1fr 1fr!important}.weekly-seller-overview-metrics>div{min-height:62px;padding:9px 10px}.weekly-seller-overview-metrics span{font-size:10.5px}.weekly-seller-overview-metrics strong{font-size:14px}.weekly-today-focus{grid-template-columns:1fr!important;padding:13px!important;margin:12px 0!important;border-radius:13px}.weekly-today-focus-icon{display:none}.weekly-today-focus-copy h3{font-size:17px}.weekly-today-focus-copy p{font-size:11px}.weekly-today-focus-values{grid-template-columns:repeat(3,minmax(0,1fr))!important;border-top:1px solid rgba(255,255,255,.16)!important;padding-top:6px!important}.weekly-today-focus-values>div{min-height:50px;padding:7px 8px!important;border-bottom:0!important;border-right:1px solid rgba(255,255,255,.12)!important}.weekly-today-focus-values>div:last-child{border-right:0!important}.weekly-today-focus-values span{font-size:10.5px}.weekly-today-focus-values strong{font-size:11px}.weekly-integrated-section{overflow:visible!important}.weekly-task-table,.weekly-task-table-integrated,.weekly-challenge-table,.weekly-challenge-integrated .weekly-challenge-table,.weekly-challenge-title,.weekly-challenge-integrated .weekly-challenge-title,.weekly-performance-foot,.weekly-performance-foot-integrated{min-width:0!important;width:100%!important}.weekly-task-row{grid-template-columns:minmax(104px,1fr) repeat(5,34px)!important;min-height:48px;border-radius:9px}.weekly-task-row.header{min-height:38px}.weekly-task-row>strong{padding:0 8px;font-size:11px;line-height:1.2}.weekly-task-row.header>strong,.weekly-task-row.header>span{font-size:10.5px}.weekly-task-toggle{width:24px;height:24px}.weekly-task-toggle svg,.weekly-task-state svg{width:12px}.weekly-task-state{width:23px;height:23px!important}.weekly-challenge-title{padding:9px 8px;font-size:11px}.weekly-challenge-row{grid-template-columns:60px repeat(3,minmax(0,1fr))!important;min-height:43px;border-radius:9px}.weekly-challenge-row>*{padding:0 6px;font-size:10.5px!important;text-align:center;justify-content:center}.weekly-performance-foot{display:grid!important;gap:6px;padding:9px 2px}.weekly-performance-identity,.weekly-performance-identity-integrated{min-width:0!important;grid-template-columns:1fr 1fr!important}.weekly-performance-identity>div,.weekly-performance-identity-integrated>div{min-width:0!important;border-bottom:1px solid var(--line)}.weekly-report-list{overflow:visible!important}.weekly-report-card{min-width:0!important;grid-template-columns:minmax(0,1fr) auto!important;gap:6px 10px;padding:11px 10px}.weekly-report-card>*:not(.weekly-report-seller):not(svg){display:none!important}.weekly-report-card>svg{grid-column:2}}
@media (max-width:420px){.weekly-task-row{grid-template-columns:minmax(94px,1fr) repeat(5,30px)!important}.weekly-task-row>strong{padding:0 6px;font-size:10.5px}.weekly-today-focus-values{grid-template-columns:1fr!important}.weekly-today-focus-values>div{border-right:0!important;border-bottom:1px solid rgba(255,255,255,.12)!important}.weekly-today-focus-values>div:last-child{border-bottom:0!important}}
.weekly-manager-top-actions{display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:7px;
  flex-wrap:wrap;}
.weekly-manager-top-actions .secondary-action,.weekly-manager-top-actions .primary-action,.weekly-manager-top-actions .toolbar-action{min-height:40px;}
.weekly-manager-context{display:grid;
  grid-template-columns:minmax(220px,.8fr) minmax(190px,.55fr) 1fr;
  align-items:end;
  gap:10px;
  padding:4px 0 13px;
  border-bottom:1px solid var(--line);}
.weekly-manager-context label{display:grid;gap:6px}
.weekly-manager-context span{color:var(--text-3);
  font-size:11px;
  font-weight:850;
  letter-spacing:.055em;}
.weekly-manager-context select,.weekly-manager-context input{width:100%;
  height:40px;
  padding:0 11px;
  border:1px solid var(--line);
  border-radius:9px;
  background:var(--surface);
  color:var(--text-1);
  font-size:11px;
  font-weight:700;
  outline:0;}
.weekly-assigned-section{margin:10px 0 12px;
  padding:9px 0 11px;
  border-bottom:1px solid var(--line);}
.weekly-assigned-section .weekly-task-manager-head{margin-bottom:7px}
@media (max-width:900px){.weekly-manager-top-actions{width:100%;justify-content:flex-start}.weekly-manager-context{grid-template-columns:1fr 1fr}}
@media (max-width:760px){.weekly-manager-top-actions{display:grid;grid-template-columns:1fr 1fr}.weekly-manager-context{grid-template-columns:1fr}}

.weekly-manager-top-actions{position:relative;z-index:2}
.modal-stage.weekly-definition-stage{width:min(1180px,96vw);max-width:96vw;min-width:0}
.weekly-definition-stage,.weekly-definition-stage *{box-sizing:border-box}
.weekly-definition-modal{width:100%;max-width:100%;max-height:min(88dvh,860px);overflow-y:auto;overflow-x:hidden}
.weekly-definition-modal-head p{max-width:720px}
.weekly-definition-modal-form{display:grid;gap:14px;min-width:0}
.weekly-definition-modal-grid{display:grid;grid-template-columns:minmax(330px,.9fr) minmax(0,1.55fr);gap:14px;align-items:start;min-width:0}
.weekly-definition-modal-section{min-width:0;padding:14px;border:1px solid var(--line);border-radius:12px;background:#fbfdff;overflow:hidden}
.weekly-definition-modal-section.seller-selection{padding-bottom:12px}
.weekly-definition-modal-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
.weekly-definition-modal-section-head>div{display:grid;gap:2px;min-width:0}
.weekly-definition-modal-section-head span,.weekly-definition-label{color:var(--text-2);font-size:11px;font-weight:900;letter-spacing:.075em;text-transform:uppercase}
.weekly-definition-modal-section-head strong{color:var(--text-1);font-size:13.5px}
.weekly-seller-picker{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;max-height:190px;overflow-y:auto;overflow-x:hidden;padding:2px}
.weekly-seller-option{position:relative;display:flex;align-items:center;gap:8px;min-width:0;min-height:38px;padding:7px 9px;border:1px solid var(--line);border-radius:9px;background:var(--surface);color:var(--text-2);font-size:11px;font-weight:750;cursor:pointer}
.weekly-seller-option span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.weekly-seller-option:hover{border-color:#bfd3e2;background:#f7fbfe}
.weekly-seller-option input{width:15px;height:15px;flex:0 0 auto}
.weekly-definition-fields{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(145px,.65fr);gap:10px;margin-top:10px;align-items:end;min-width:0}
.weekly-definition-fields.task-fields{grid-template-columns:minmax(160px,.9fr) minmax(0,1.45fr) minmax(135px,.65fr)}
.weekly-definition-fields label{display:grid;gap:5px;min-width:0}
.weekly-definition-fields label>span{color:var(--text-3);font-size:11px;font-weight:850;letter-spacing:.05em}
.weekly-definition-fields input,.weekly-definition-fields select{display:block;width:100%;min-width:0;max-width:100%;height:42px;padding:0 11px;border:1px solid var(--line);border-radius:9px;background:var(--surface);color:var(--text-1);font-size:12.5px;font-weight:700;outline:0}
.weekly-definition-fields input:focus,.weekly-definition-fields select:focus{border-color:#7ab3de;box-shadow:var(--focus)}
.weekly-definition-modal-actions{display:flex;justify-content:flex-end;gap:8px;padding-top:2px}
@media (max-width:1000px){.modal-stage.weekly-definition-stage{width:min(760px,95vw);max-width:95vw}.weekly-definition-modal-grid{grid-template-columns:1fr}.weekly-seller-picker{grid-template-columns:repeat(3,minmax(0,1fr))}.weekly-definition-fields.task-fields{grid-template-columns:minmax(160px,.85fr) minmax(0,1.4fr) minmax(130px,.65fr)}}
@media (max-width:620px){.modal-stage.weekly-definition-stage{width:calc(100vw - 16px);max-width:calc(100vw - 16px)}.weekly-definition-modal{width:100%;max-width:100%}.weekly-seller-picker{grid-template-columns:1fr;max-height:210px}.weekly-definition-fields,.weekly-definition-fields.task-fields{grid-template-columns:1fr}.weekly-definition-modal-actions{display:grid;grid-template-columns:1fr 1fr}}
@media (max-width:900px){.weekly-report-list{max-width:100%;
    touch-action:pan-x pan-y;
    overscroll-behavior-x:contain;}}
.weekly-task-toggle,.weekly-task-state{min-width:40px;min-height:40px;}
@media (max-width:700px){.weekly-task-row{grid-template-columns:minmax(106px,1fr) repeat(5,minmax(38px,.42fr))!important;min-height:52px!important}.weekly-task-row.header{min-height:42px!important}.weekly-task-row>strong{padding:0 7px!important;font-size:11px!important;line-height:1.25!important}.weekly-task-row.header>strong,.weekly-task-row.header>span{font-size:11px!important}.weekly-task-toggle{width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important}.weekly-task-state{width:34px!important;height:34px!important;min-width:34px!important;min-height:34px!important}.weekly-task-toggle svg,.weekly-task-state svg{width:14px!important}.weekly-seller-overview-metrics span,.weekly-today-focus-values span{font-size:11px!important}.weekly-today-focus-values strong{font-size:13px!important}.weekly-challenge-row>*{font-size:11px!important}.weekly-challenge-title{font-size:11px!important}.weekly-task-manager-head p,.weekly-assigned-task small,.weekly-task-count,.weekly-assigned-empty,.weekly-task-empty,.weekly-report-no-tasks{font-size:11px!important}.weekly-assigned-task strong{font-size:11.5px!important}}
@media (max-width:390px){.weekly-task-row{grid-template-columns:minmax(94px,1fr) repeat(5,minmax(36px,.4fr))!important}.weekly-task-row>strong{font-size:11px!important;padding-inline:5px!important}}

/* V44 — histórico agrupado por dia, filtro por vendedor e progresso de tarefas */
.fca-history-tools{display:flex;align-items:center;gap:12px;color:var(--text-3,#66788c);font-size:12.5px;font-weight:700}
.fca-history-filter select{height:40px;min-width:220px;padding:0 34px 0 12px;border:1px solid var(--line,#dfe6ee);border-radius:10px;background:var(--surface,#fff);color:var(--text-1,#1b3350);font-size:13px;font-weight:650}
.weekly-report-group+.weekly-report-group{border-top:6px solid var(--page,#f5f7fa)}
.weekly-report-group-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 14px;background:var(--surface-2,#f4f7fa);border-bottom:1px solid var(--line,#dfe6ee)}
.weekly-report-group-head strong{color:var(--text-1,#1b3350);font-size:13.5px}
.weekly-report-group-head span{color:var(--text-3,#66788c);font-size:12px;font-weight:700}
.weekly-report-card{grid-template-columns:minmax(180px,1.3fr) minmax(150px,200px) 100px 140px 140px auto}
.weekly-report-card>span small{font-size:12px;color:var(--text-3,#66788c)}
.weekly-report-card .weekly-report-seller{font-size:15px!important}
.weekly-report-progress{display:grid;gap:4px}
.weekly-report-progress small{margin-top:0!important}
.weekly-report-bar{display:block;height:6px;border-radius:999px;background:var(--line,#dfe6ee);overflow:hidden}
.weekly-report-bar>span{display:block;height:100%;border-radius:inherit;background:var(--text-3,#66788c)}
.weekly-report-card.is-good .weekly-report-progress strong{color:#168357}.weekly-report-card.is-good .weekly-report-bar>span{background:#249968}
.weekly-report-card.is-mid .weekly-report-progress strong{color:#a86d09}.weekly-report-card.is-mid .weekly-report-bar>span{background:#d48a19}
.weekly-report-card.is-low .weekly-report-progress strong{color:#c2410c}.weekly-report-card.is-low .weekly-report-bar>span{background:#3666CF}
.weekly-report-card.is-none .weekly-report-progress strong{color:var(--text-3,#66788c)}
.weekly-report-task.ok strong{color:var(--text-1,#1b3350)}
.fca-history-more{display:flex;justify-content:center;padding:14px 0 4px}
html[data-theme="dark"] .weekly-report-card.is-good .weekly-report-progress strong{color:#7fd8ae}
html[data-theme="dark"] .weekly-report-card.is-mid .weekly-report-progress strong{color:#f0c27a}
html[data-theme="dark"] .weekly-report-card.is-low .weekly-report-progress strong{color:#ffa07a}
@media (max-width:760px){
  .fca-section-title{flex-wrap:wrap}
  .fca-history-tools{width:100%;justify-content:space-between}
  .fca-history-filter{flex:1}.fca-history-filter select{width:100%;min-width:0}
  .weekly-report-card{grid-template-columns:1fr 1fr!important;gap:10px 14px}
  .weekly-report-card .weekly-report-date{grid-column:1/-1}
  .weekly-report-card>svg{display:none!important}
  .weekly-report-card>span:not(.weekly-report-progress){display:block!important}
  .weekly-report-list .weekly-report-card>.weekly-report-progress{display:grid!important;grid-column:1/-1}
}

/* ===== Performance comercial: abas, visão do time e resumo diário ===== */
.performance-head{margin-bottom:12px}
.fca-tabs{display:flex;gap:8px;margin:0 0 18px;padding:4px;border:1px solid var(--line);border-radius:14px;background:var(--surface);width:max-content;max-width:100%;overflow-x:auto}
.fca-tab{display:flex;align-items:center;gap:10px;padding:9px 16px 9px 12px;border:0;border-radius:10px;background:transparent;color:var(--text-2);cursor:pointer;text-align:left;white-space:nowrap;transition:background .15s,color .15s}
.fca-tab>svg{width:18px;height:18px;flex:none;color:var(--text-3)}
.fca-tab>span{display:grid;gap:1px}
.fca-tab strong{font-size:13.5px;font-weight:700;color:inherit}
.fca-tab small{font-size:11.5px;color:var(--text-3)}
.fca-tab:hover{background:var(--surface-2)}
.fca-tab.active{background:var(--ink,#122945);color:#fff}
.fca-tab.active>svg{color:#447AEE}
.fca-tab.active small{color:rgba(255,255,255,.72)}
@media (max-width:700px){.fca-tabs{width:100%}.fca-tab{flex:1;justify-content:center}.fca-tab small{display:none}}

.team-week{margin-bottom:18px}
.team-week-loading{display:flex;align-items:center;gap:8px;padding:22px 4px;color:var(--text-3);font-size:13px}
.team-week-loading svg{width:16px;height:16px}
.team-week-summary,.fca-daily-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid var(--line);border-radius:14px;background:var(--surface);margin:4px 0 14px;overflow:hidden}
.fca-daily-summary{grid-template-columns:repeat(3,minmax(0,1fr));margin:0 0 18px}
.fca-daily-summary.manager{grid-template-columns:repeat(4,minmax(0,1fr))}
.team-week-summary>div,.fca-daily-summary>div{display:grid;gap:3px;padding:14px 16px;border-right:1px solid var(--line)}
.team-week-summary>div:last-child,.fca-daily-summary>div:last-child{border-right:0}
.team-week-summary span,.fca-daily-summary span{font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--text-3)}
.team-week-summary strong,.fca-daily-summary strong{font-size:20px;color:var(--text-1);letter-spacing:-.02em}
.team-week-summary small,.fca-daily-summary small{font-size:12px;color:var(--muted)}
.team-week-summary .is-alert strong,.fca-daily-summary .is-alert strong{color:#c2410c}
.team-week-table{display:grid;gap:6px}
.team-week-row{display:grid;grid-template-columns:minmax(170px,1.4fr) repeat(2,minmax(110px,1fr)) minmax(150px,1.2fr) minmax(70px,.6fr) minmax(120px,.9fr);align-items:center;gap:12px;padding:11px 16px;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--text-2);font:inherit;font-size:13px;text-align:left}
button.team-week-row{cursor:pointer;transition:border-color .15s,box-shadow .15s}
button.team-week-row:hover{border-color:var(--line-strong)}
.team-week-row.is-selected{border-color:#447AEE;box-shadow:0 0 0 2px rgba(68,122,238,.18)}
.team-week-row.header{padding-block:9px;background:var(--surface-2);font-size:11px;font-weight:700;letter-spacing:.08em;color:var(--text-3)}
.team-week-row strong{color:var(--text-1);font-size:13.5px}
.team-week-pct{display:flex;align-items:center;gap:10px}
.team-week-bar{flex:1;height:6px;border-radius:99px;background:var(--surface-2);overflow:hidden}
.team-week-bar>span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#1248BD,#447AEE)}
.team-week-pct b{min-width:38px;text-align:right;color:var(--text-1);font-size:12.5px}
.team-week-status{justify-self:start;padding:4px 10px;border-radius:99px;font-size:12px;font-weight:700}
.team-week-status.ahead{background:var(--ok-bg,#e8f7ee);color:var(--ok-fg,#15803d)}
.team-week-status.behind{background:var(--bad-bg,#fdecec);color:var(--bad-fg,#b91c1c)}
.team-week-status.none{background:var(--surface-2);color:var(--text-3)}
.weekly-seller-detail{scroll-margin-top:90px}
@media (max-width:900px){
  .team-week-summary,.fca-daily-summary.manager{grid-template-columns:repeat(2,minmax(0,1fr))}
  .team-week-summary>div:nth-child(2n),.fca-daily-summary.manager>div:nth-child(2n){border-right:0}
  .team-week-summary>div:nth-child(-n+2),.fca-daily-summary.manager>div:nth-child(-n+2){border-bottom:1px solid var(--line)}
  .team-week-table{overflow-x:auto}
  .team-week-row{min-width:760px}
}
@media (max-width:600px){.fca-daily-summary{grid-template-columns:1fr}.fca-daily-summary>div{border-right:0;border-bottom:1px solid var(--line)}.fca-daily-summary>div:last-child{border-bottom:0}}
.fca-day-pending{cursor:default}
.fca-day-pending-text{grid-column:2/-1;display:flex;align-items:center;gap:8px;color:var(--text-3);font-size:13px}
.fca-day-pending-text svg{width:16px;height:16px}
.fca-day-pending.open .fca-day-pending-text{color:#c2410c;font-weight:600}
.team-week-more{display:flex;align-items:center;justify-content:center;gap:6px;margin:10px auto 0;padding:8px 14px;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--text-1);font:inherit;font-size:13px;font-weight:600;cursor:pointer}
.team-week-more svg{width:15px;height:15px}
.team-week-more:hover{border-color:var(--line-strong)}
.fca-tab .fca-tab-short{display:none}
@media (max-width:700px){.fca-tab .fca-tab-long{display:none}.fca-tab .fca-tab-short{display:inline}.fca-tab{padding:9px 10px}}
html[data-theme="dark"] #appView .fca-tab.active{background:var(--orange);color:var(--on-accent,#fff);background-image:var(--accent-grad)}
html[data-theme="dark"] #appView .fca-tab.active>svg{color:#fff}

/* Performance no padrão do painel (revisão de design): aba ativa azul-marinho, abas e controles
   na mesma linha, tarefas e faturamento lado a lado em tela larga, letras no tamanho das outras telas. */
#appView .fca-tab.active{background:var(--navy)}
html[data-theme="dark"] #appView .fca-tab.active{background:var(--surface-2);color:var(--text-1);box-shadow:inset 0 0 0 1px var(--accent-line)}
#appView .perf-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px 16px;flex-wrap:wrap;margin:0 0 18px}
#appView .perf-toolbar .fca-tabs{margin:0}
#appView .perf-controls{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
#appView .perf-seller select{height:44px;min-width:220px;padding:0 36px 0 14px;border:1px solid var(--line);border-radius:12px;background:var(--surface);font:inherit;font-size:14px;font-weight:650;color:var(--text-1)}
#appView .perf-controls .weekly-week-actions{display:flex;align-items:center;gap:4px;height:44px;padding:0 4px;border:1px solid var(--line);border-radius:12px;background:var(--surface)}
#appView .perf-controls .weekly-week-actions .toolbar-action{width:34px;height:34px;padding:0;border:0;background:none;display:grid;place-items:center}
#appView .perf-controls .weekly-week-actions>div{display:flex;align-items:baseline;gap:6px;padding:0 6px;white-space:nowrap}
#appView .perf-controls .weekly-week-actions>div span{font-size:11.5px;font-weight:700;color:var(--text-3);letter-spacing:.06em}
#appView .perf-controls .weekly-week-actions>div strong{font-size:14px;color:var(--text-1)}
#appView .weekly-head .weekly-week-actions>div strong{text-transform:none}
#appView .weekly-split{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:18px;align-items:start}
#appView .weekly-split>.weekly-integrated-section{margin:0;min-width:0}
#appView .weekly-split .weekly-task-row{grid-template-columns:minmax(180px,1.6fr) repeat(5,minmax(48px,.42fr))}
#appView .weekly-task-row>strong,#appView .weekly-challenge-row>strong,#appView .weekly-challenge-row>span{font-size:13.5px}
#appView .weekly-task-row.header>strong,#appView .weekly-task-row.header>span,#appView .weekly-challenge-row.header>*{font-size:12px}
#appView .team-week-row{font-size:13.5px}
@media (max-width:1200px){#appView .weekly-split{grid-template-columns:minmax(0,1fr)}}
@media (max-width:700px){#appView .perf-controls{width:100%}#appView .perf-seller{flex:1}#appView .perf-seller select{width:100%;min-width:0}#appView .perf-controls .weekly-week-actions{width:100%;justify-content:space-between}}
