.scores-home{--score-muted:var(--mut,#74838c);--score-line:var(--line,#dde7eb);--score-accent:var(--acc,#1d5b92);color:var(--ink,#1b2529)}
.scores-home *,.scores-history-dialog *{box-sizing:border-box}
.scores-home button,.scores-history-dialog button{font:inherit;cursor:pointer}
.scores-home button:focus-visible,.scores-history-dialog :focus-visible{outline:3px solid #3873a8;outline-offset:3px}
.scores-page-heading,.scores-panel-heading,.scores-section-heading,.scores-area-head,.scores-area-note,.scores-area-foot{display:flex;align-items:center;justify-content:space-between;gap:1rem}
.scores-page-heading{margin-bottom:1.375rem;flex-wrap:wrap}.scores-page-heading h1{font-size:1.5rem;margin:0 0 .25rem}.scores-page-heading p,.scores-section-heading p{font-size:.8125rem;color:var(--score-muted);margin:.25rem 0 0}
.scores-button{padding:.625rem .875rem;border:1px solid var(--score-line);background:white;border-radius:.5rem;color:var(--score-accent);font-weight:600!important}.scores-button:hover{background:#edf3f8}
.scores-overview{display:grid;grid-template-columns:minmax(14.375rem,.72fr) minmax(17.5rem,1fr) minmax(0,1.52fr);gap:1rem;margin-bottom:1.625rem;align-items:stretch}
.scores-panel,.scores-area,.scores-person{background:var(--sur,#fff);border:1px solid var(--score-line);border-radius:.875rem;box-shadow:0 2px 3px #23404b04}.scores-panel{padding:1.375rem}.scores-panel h2,.scores-section-heading h2{font-size:1rem;margin:0;font-weight:650}.scores-panel-heading>span{font-size:.75rem;color:var(--score-muted)}
.scores-today{border-top:4px solid var(--score-accent)}.scores-status{display:inline-flex;align-items:center;white-space:nowrap;color:#395771;background:#eaf0f5;border-radius:3.125rem;padding:.25rem .5625rem;font-size:.6875rem;font-weight:600}.scores-status.is-muted{background:#f0f3f4;color:var(--score-muted)}
.scores-main-value{font-size:clamp(2.5rem,5vw,3.875rem);font-weight:650;letter-spacing:-.05em;line-height:1.2;display:block;margin:1.25rem 0 .375rem;font-variant-numeric:tabular-nums}.scores-today.danger .scores-main-value,.scores-history-summary strong.danger{color:#b04335}.scores-today.warning .scores-main-value,.scores-history-summary strong.warning{color:#a56a15}.scores-today.good .scores-main-value,.scores-today.excellent .scores-main-value,.scores-history-summary strong.good,.scores-history-summary strong.excellent{color:var(--score-accent,#1d5b92)}.scores-today.unknown .scores-main-value{color:#84949e}
.scores-coverage{font-size:.75rem;color:var(--score-muted,#74838c);margin:0 0 .75rem}.scores-no-data{font-size:.8125rem;color:var(--score-muted);max-width:40ch}.scores-today-counts{display:flex;flex-wrap:wrap;gap:1.25rem;padding-top:1rem;border-top:1px solid var(--score-line);margin-top:1.25rem}.scores-today-counts span{display:grid;gap:.25rem;font-size:.6875rem;color:var(--score-muted)}.scores-today-counts b{font-size:1.3125rem;color:var(--ink);font-weight:600}.scores-point-totals{display:flex;flex-wrap:wrap;gap:.4375rem 1.125rem;font-size:.6875rem;margin-top:.9375rem;color:var(--score-muted,#74838c)}.scores-point-totals b{color:var(--ink,#283d43);white-space:nowrap}.scores-xp{font-size:.75rem;color:var(--score-muted);margin:1rem 0 0}.scores-xp b{color:var(--score-accent)}.scores-update{display:grid;gap:.1875rem;color:var(--score-muted);font-size:.625rem;margin-top:.875rem}.scores-critical-alert{font-size:.75rem;padding:.625rem;border:1px solid #f4cabc;border-radius:.4375rem;background:#fff3ee;color:#963d2e;margin-bottom:0}
.scores-chart{margin-top:1.25rem;position:relative;min-width:0}.scores-chart-plot{height:12.625rem;position:relative;padding-left:1.625rem}.scores-chart-grid{position:absolute;inset:.75rem 0 1.6875rem;display:flex;flex-direction:column;justify-content:space-between;pointer-events:none;font-size:.625rem;color:var(--score-muted,#74838c)}.scores-chart-grid span{width:100%;position:relative}.scores-chart-grid span:after{content:"";height:1px;position:absolute;top:50%;left:1.6875rem;right:0;background:var(--score-line,#dde7eb)}.scores-chart-columns{height:100%;display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:.375rem;position:relative}.scores-chart-column{border:0;border-radius:.375rem;background:transparent;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;padding:0 .25rem;min-width:0;color:var(--score-muted,#74838c);position:relative}.scores-chart-column:hover,.scores-chart-column:focus-visible,.scores-chart-column.is-selected{background:#edf2f6}.scores-chart-column.is-today{background:#14767308}.scores-chart-value{font-size:.625rem;height:1.125rem;font-weight:600;color:var(--ink,#283d43);line-height:1.125rem}.scores-chart-track{display:flex;align-items:flex-end;justify-content:center;width:100%;height:9.8125rem;position:relative}.scores-chart-bar{width:100%;max-width:2rem;min-width:.3125rem;border-radius:.25rem .25rem 0 0;background:#1d5b92;display:block}.scores-chart-bar.danger{background:#d88570}.scores-chart-bar.warning{background:#d4ad66}.scores-chart-bar.good{background:#6788a5}.scores-chart-bar.excellent{background:#1d5b92}.scores-chart-gap{align-self:center;color:#9aa8ad}.scores-chart-date{font-size:.625rem;white-space:nowrap;height:1.6875rem;padding-top:.5rem;line-height:1.125rem}.scores-chart-column.is-today .scores-chart-date{font-weight:700;color:var(--score-accent,#1d5b92)}
.scores-chart-help{font-size:.6875rem;color:var(--score-muted,#74838c);line-height:1.5;margin:.75rem 0 0}.scores-chart-tooltip{position:fixed;z-index:10000;width:max-content;max-width:min(20rem,calc(100vw - 1.5rem));box-sizing:border-box;font-size:.75rem;line-height:1.55;background:#172e42;color:#fff;padding:.75rem .875rem;margin:0;border:1px solid #ffffff20;border-radius:.625rem;box-shadow:0 8px 28px #173d4233;pointer-events:none;overflow-wrap:anywhere}
.scores-chart-tooltip[hidden]{display:none!important}
.scores-section-heading{align-items:baseline;flex-wrap:wrap;margin-bottom:.875rem}.scores-areas{margin:1.5rem 0}.scores-area-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.scores-area{padding:1.125rem;min-width:0;display:flex;flex-direction:column}.scores-area-head{align-items:flex-start;gap:.5rem}.scores-area-title{border:0;padding:0;background:transparent;font-size:.875rem!important;font-weight:650!important;line-height:1.5;text-align:left;color:#355761}.scores-area-title:hover{color:var(--score-accent)}.scores-area-title span{font-size:.75rem;color:var(--score-muted);margin-left:.1875rem}.scores-area-owner{font-size:.625rem;color:var(--score-muted);margin:.3125rem 0 0}.scores-area-note{align-items:flex-end;margin-top:1.25rem;margin-bottom:.5625rem}.scores-area-note>div{display:flex;flex-direction:column;gap:.1875rem}.scores-area-note>div>span{font-size:.6875rem;color:var(--score-muted)}.scores-area-note strong{font-size:1.875rem;letter-spacing:-.025em;font-weight:600;font-variant-numeric:tabular-nums;color:var(--score-accent)}.scores-area.danger .scores-area-note strong{color:#b04335}.scores-area.warning .scores-area-note strong{color:#a56a15}.scores-area.unknown .scores-area-note strong{color:#8b999f}.scores-text-button{border:0;background:transparent;padding:.25rem 0;color:var(--score-accent);font-size:.625rem!important;font-weight:600!important;text-align:right}.scores-text-button:hover{text-decoration:underline}.scores-area-counts{display:flex;gap:.375rem .75rem;flex-wrap:wrap;font-size:.625rem;color:var(--score-muted);min-height:1.875rem}.scores-area-counts b{font-size:.75rem;color:#49636b}.scores-compliance{font-size:.625rem;color:#586f77;line-height:1.45;padding:.375rem .5rem;background:#f2f4f6;border-radius:.3125rem;margin:.5rem 0 0}
.scores-chart-mini{margin-top:.875rem}.scores-chart-mini .scores-chart-plot{height:6.25rem;padding-left:0}.scores-chart-mini .scores-chart-grid{display:none}.scores-chart-mini .scores-chart-track{height:4.1875rem}.scores-chart-mini .scores-chart-columns{gap:.1875rem}.scores-chart-mini .scores-chart-column{padding:0 2px}.scores-chart-mini .scores-chart-value{font-size:.5rem;height:.8125rem;line-height:.8125rem}.scores-chart-mini .scores-chart-date{font-size:.5rem;height:1.25rem;padding-top:.1875rem;line-height:1.0625rem}.scores-chart-mini .scores-chart-bar{max-width:1.375rem;border-radius:.1875rem .1875rem 0 0}.scores-chart-mini .scores-chart-tooltip{font-size:.625rem}.scores-area-foot{border-top:1px solid var(--score-line);padding-top:.75rem;margin-top:.8125rem;font-size:.625rem;color:var(--score-muted);align-items:start;flex:1}.scores-area-foot small{white-space:nowrap;font-size:.625rem;padding-top:.1875rem}.scores-worst{padding:0;border:0;background:none;text-align:left;line-height:1.55;color:#6b7d83;font-size:.625rem!important}.scores-worst b{color:#49636b}.scores-worst:hover{color:var(--score-accent);text-decoration:underline}
.scores-team{margin:1.5rem 0}.scores-team-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(11.25rem,1fr));gap:.75rem}.scores-person{display:grid;grid-template-columns:1fr auto;gap:.4375rem;padding:1rem;text-align:left}.scores-person span{font-size:.8125rem;font-weight:600}.scores-person b{font-size:1.4375rem;color:var(--score-accent)}.scores-person.danger b{color:#b04335}.scores-person small{grid-column:1/-1;font-size:.625rem;color:var(--score-muted)}.scores-person:hover{border-color:var(--score-accent)}.scores-empty{color:var(--score-muted,#74838c);font-size:.8125rem;padding:2.125rem;text-align:center;border:1px dashed var(--score-line,#dde7eb);border-radius:.625rem;grid-column:1/-1}
.scores-reward-bands{margin-top:1.625rem}.scores-reward-bands>div{display:grid;grid-template-columns:repeat(4,1fr);gap:.875rem;margin-top:1rem}.scores-reward-bands span{display:flex;flex-direction:column;gap:.3125rem;color:var(--score-muted);font-size:.6875rem;border-left:3px solid #dce3ea;padding-left:.8125rem}.scores-reward-bands span:first-child{border-color:var(--score-accent)}.scores-reward-bands b{color:#3d5367;font-size:.875rem}.scores-reward-bands>p{font-size:.6875rem;color:var(--score-muted);margin:1rem 0 0}
.scores-history-dialog{--score-line:var(--line,#dde7eb);--score-accent:var(--acc,#1d5b92);--score-muted:var(--mut,#74838c);width:min(82.5rem,calc(100vw - 3rem));height:min(53.75rem,calc(100dvh - 3rem));max-width:none;max-height:none;padding:0;border:1px solid var(--score-line);border-radius:1rem;background:#f5f8f9;color:var(--ink,#243b42);overflow:auto;box-shadow:0 24px 100px #193c4b40}.scores-history-dialog::backdrop{background:#18343f65;backdrop-filter:blur(2px)}.scores-history-heading{position:sticky;top:0;z-index:3;background:white;padding:1.375rem 1.625rem;display:flex;justify-content:space-between;align-items:center;gap:1.25rem;border-bottom:1px solid var(--score-line)}.scores-history-heading p{font-size:.6875rem;color:var(--score-muted);margin:0 0 .3125rem}.scores-history-heading h2{font-size:1.25rem;margin:0}.scores-close{border:1px solid var(--score-line);border-radius:.5625rem;background:white;padding:.5rem;width:2.375rem;height:2.375rem;font-size:1.375rem!important;line-height:1}.scores-history-date{display:flex;align-items:center;justify-content:space-between;gap:1.125rem;padding:1.25rem 1.625rem 0}
/* Atalhos de dia: evita abrir o calendário só para andar um dia. */
.scores-history-picker{display:flex;align-items:flex-end;gap:.75rem;flex-wrap:wrap}
.scores-history-date label,.scores-ledger-toolbar label{display:flex;flex-direction:column;gap:.375rem;font-size:.6875rem;color:var(--score-muted)}.scores-history-date input,.scores-ledger-toolbar input,.scores-ledger-toolbar select{padding:.5625rem .75rem;border:1px solid var(--score-line);border-radius:.5rem;background:#fff;color:var(--ink);font:inherit;font-size:.8125rem;min-height:2.375rem}.scores-history-date p{font-size:.6875rem;color:var(--score-muted);max-width:58ch}.scores-history-dialog [data-score-history-content]{padding:1.125rem 1.625rem 1.5rem}.scores-history-summary{padding:1.125rem;border:1px solid var(--score-line);border-radius:.625rem;background:white;margin-bottom:1rem}.scores-history-summary>div:first-child{display:flex;align-items:center;gap:.875rem}.scores-history-summary>div:first-child>span:first-child{font-size:.75rem}.scores-history-summary strong{font-size:1.625rem;font-weight:650}.scores-history-summary>p{font-size:.6875rem;color:var(--score-muted);margin:.5rem 0 0}.scores-history-summary .scores-point-totals b{font-size:.75rem}.scores-ledger-toolbar{display:flex;align-items:flex-end;gap:.75rem;margin-bottom:.75rem}.scores-ledger-toolbar label:first-child{flex:1}.scores-ledger-toolbar label:nth-child(2){width:11.25rem}.scores-ledger-toolbar>span{font-size:.6875rem;white-space:nowrap;padding-bottom:.625rem;color:var(--score-muted)}
.scores-ledger-explanation{font-size:.6875rem;color:var(--score-muted);line-height:1.5;margin:0 0 .75rem}.scores-ledger-table{overflow:auto;background:white;border:1px solid var(--score-line);border-radius:.625rem}.scores-ledger-table table{border-collapse:collapse;min-width:68.75rem;width:100%;font-size:.6875rem}.scores-ledger-table thead{background:#edf1f5}.scores-ledger-table th{padding:.75rem .625rem;text-align:left;text-transform:none;font-size:.625rem;color:#617a84;white-space:nowrap}.scores-ledger-table td{padding:.8125rem .625rem;border-top:1px solid var(--score-line);vertical-align:top}.scores-ledger-table td:first-child{min-width:11.25rem;max-width:16.25rem}.scores-ledger-table td small{display:block;color:var(--score-muted);font-size:.625rem;line-height:1.5;margin-top:.25rem}.scores-ledger-state{font-size:.625rem;display:block;color:#495d6e;margin-top:.25rem}.scores-ledger-table .scores-numeric{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.scores-ledger-table .scores-earned{color:#247758}.scores-ledger-table .scores-deducted{color:#b04335}.scores-ledger-table .scores-provisional{color:#9c681d}/* Fundo so em valor diferente de zero: verde = soma, vermelho = tira, ambar = ainda em apuracao. */
.scores-ledger-table td.is-up{background:#eef8f1}
.scores-ledger-table td.is-down{background:#fdefec}
.scores-ledger-table td.is-warn{background:#fdf6e7}
.scores-ledger-table td.scores-balance.is-up{color:#247758}
.scores-ledger-table td.scores-balance.is-down{color:#b04335}
.scores-ledger-table tr.scores-ledger-group td{background:#f3f6f8;border-top:1px solid var(--score-line);padding:.5625rem .625rem;font-size:.6875rem;color:#495d6e}
.scores-ledger-table tr.scores-ledger-group td>b{color:var(--ink);font-size:.75rem;margin-right:.625rem}
.scores-ledger-table tr.scores-ledger-group td>span{margin-right:.875rem}
.scores-ledger-table tr.scores-ledger-group td>span b{color:var(--ink)}
.scores-ledger-table .scores-evidence{max-width:16.25rem;min-width:8.75rem;overflow-wrap:anywhere;line-height:1.6}.scores-ledger-table .scores-incomplete{color:#a05c2c}.scores-missing{color:var(--score-muted)}.scores-ledger-pagination{display:flex;justify-content:space-between;align-items:center;gap:.75rem;padding-top:.875rem;font-size:.6875rem;color:var(--score-muted)}.scores-ledger-pagination>div{display:flex;gap:.5rem}.scores-ledger-pagination button,.scores-history-error button{padding:.5rem .75rem;background:#fff;border:1px solid var(--score-line);border-radius:.4375rem;color:var(--score-accent)}.scores-ledger-pagination button:disabled{opacity:.45;cursor:default}.scores-history-loading{padding:3.75rem 1.5rem;text-align:center;font-size:.8125rem;color:var(--score-muted)}.scores-history-loading span{display:block;height:.1875rem;background:linear-gradient(90deg,#e2e9f0 0%,#1d5b92 45%,#e2e9f0 100%);background-size:200% 100%;animation:scores-loading 1.2s linear infinite;max-width:16.25rem;margin:0 auto 1.25rem;border-radius:.1875rem}.scores-history-error{padding:2.375rem;text-align:center;font-size:.8125rem;color:#9c4138}.scores-history-error button{margin-left:.625rem}@keyframes scores-loading{to{background-position:-200% 0}}
@media(min-width:1500px){.scores-area-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1280px){.scores-overview{grid-template-columns:minmax(13.75rem,1fr) minmax(12.5rem,1fr)}.scores-evolution{grid-column:1/-1}}@media(max-width:1100px){.scores-area-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.scores-chart-columns{gap:.1875rem}.scores-chart-column{padding:0 2px}}
@media(max-width:760px){.scores-overview{grid-template-columns:1fr}.scores-main-value{font-size:3rem}.scores-panel{padding:1.125rem}.scores-page-heading h1{font-size:1.375rem}.scores-area-grid{gap:.75rem}.scores-area{padding:.875rem}.scores-area-head{flex-wrap:wrap}.scores-area-title{font-size:.8125rem!important}.scores-area-note{gap:.5rem}.scores-area-note strong{font-size:1.5625rem}.scores-area-note .scores-text-button{max-width:5rem}.scores-history-dialog{width:calc(100vw - 1.25rem);height:calc(100dvh - 1.25rem);border-radius:.75rem}.scores-history-heading{padding:1rem}.scores-history-heading h2{font-size:1.0625rem}.scores-history-date{padding:1rem 1rem 0;align-items:flex-start}.scores-history-date p{font-size:.625rem}.scores-history-dialog [data-score-history-content]{padding:1rem}.scores-ledger-toolbar{flex-wrap:wrap}.scores-ledger-toolbar label:first-child{flex:1 1 100%}.scores-ledger-toolbar label:nth-child(2){flex:1}.scores-reward-bands>div{grid-template-columns:1fr 1fr}.scores-panel-heading{gap:.5rem}.scores-panel-heading>span{font-size:.625rem}}
@media(max-width:450px){.scores-area-grid{grid-template-columns:1fr}.scores-area-head{flex-wrap:nowrap}.scores-area-note .scores-text-button{max-width:none}.scores-chart-date{font-size:.5625rem}.scores-chart-column{padding:0 1px}.scores-history-date{flex-direction:column;gap:.25rem}.scores-history-summary>div:first-child{gap:.5625rem;flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){.scores-history-loading span{animation:none}}
@media print{.scores-home button,.scores-chart-tooltip,.scores-history-dialog button,.scores-history-date input{print-color-adjust:exact}.scores-chart-help,.scores-history-date,.scores-ledger-toolbar,.scores-ledger-pagination{display:none}.scores-area{break-inside:avoid}.scores-history-dialog{position:static;width:100%;height:auto;border:0;box-shadow:none;overflow:visible}.scores-ledger-table{overflow:visible}.scores-history-heading{position:static}}

/* Separate the guidance from the operational cards on every scored page. */
.conversation-guidance.score-guidance{margin-top:2rem}

/* Cartao do Inbox na home, entre a nota do dia e a evolucao. Compacto de proposito:
   se ele crescer, empurra a altura da linha inteira e sobra vazio embaixo do grafico. */
.scores-inbox{border-top:4px solid #8aa6b4;display:flex;flex-direction:column;padding:1.125rem}
.scores-inbox-topo{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.5rem .875rem;margin-top:.75rem}
.scores-inbox-topo>strong{font-size:1.6875rem;line-height:1;font-variant-numeric:tabular-nums}
.scores-inbox .scores-today-counts{gap:.5rem .75rem;margin:0;padding:0;border:0}
.scores-inbox .scores-today-counts b{font-size:.9375rem}
.scores-inbox .scores-today-counts span{font-size:.6562rem}
.scores-inbox .scores-button{margin-top:auto;align-self:flex-start;padding:.4375rem .6875rem;font-size:.75rem}
.scores-status.is-alert{color:#8f2f25;background:#fbeeec}
.scores-composicao{margin:.5rem 0 0;font-size:.75rem;line-height:1.5;color:var(--score-muted,#5b6b6e)}

/* Lista das conversas mais criticas dentro do cartao do Inbox. */
.scores-inbox-lista{margin:.75rem 0 .875rem;border-top:1px solid var(--score-line);padding-top:.625rem}
.scores-inbox-lista h3{margin:0 0 .375rem;font-size:.625rem;font-weight:600;color:var(--score-muted);text-transform:uppercase;letter-spacing:.05em}
.scores-inbox-lista ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.25rem}
.scores-inbox-lista button{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:.5rem;width:100%;padding:.375rem .5625rem;border:1px solid var(--score-line);border-radius:.5rem;background:white;font:inherit;text-align:left;cursor:pointer}
.scores-inbox-lista button:hover{border-color:#94aec5;background:#f7f9fb}
.scores-inbox-quem{font-size:.7812rem;font-weight:600;color:var(--ink,#1b2529);display:flex;align-items:center;gap:.375rem;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.scores-inbox-ponto{width:.375rem;height:.375rem;border-radius:50%;background:#b34137;flex:none}
.scores-inbox-tempo{font-size:.6875rem;color:var(--score-muted);font-variant-numeric:tabular-nums;white-space:nowrap}
.scores-inbox-tempo.vencido{color:#8f2f25;font-weight:600}
.scores-inbox-selo{justify-self:end;padding:2px .5rem;border-radius:1.25rem;font-size:.6562rem;font-weight:600;background:#eef1f3;color:#5b6b6e;white-space:nowrap}
.scores-inbox-selo.urgente{background:#fbeeec;color:#8f2f25}
.scores-inbox-selo.moderado{background:#fdf2e3;color:#8a5a15}
.scores-inbox-selo.normal{background:#eaf0f5;color:#2e4e6b}
.scores-inbox-selo.leve{background:#eef1f3;color:#5b6b6e}

/* Inbox vazio: o cartao continua do tamanho dos vizinhos, com a comemoracao no meio. */
.scores-inbox-vazio{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.5rem;margin:.875rem 0;padding:.875rem .5rem;border-top:1px solid var(--score-line);color:var(--score-accent);text-align:center}
.scores-inbox-vazio p{margin:0;font-size:.7812rem;line-height:1.5;color:var(--score-muted);max-width:22ch}
.scores-inbox-palmas{color:var(--score-accent);flex:none}

/* Notas por grupo: um cartao por grupo, com os indicadores recolhidos dentro. */
.scores-grupo{border:1px solid var(--score-line);border-radius:.875rem;background:var(--sur,#fff);padding:1rem 1.125rem;margin-bottom:.75rem}
.scores-grupo-head{display:flex;align-items:center;justify-content:space-between;gap:.875rem;flex-wrap:wrap}
.scores-grupo-head h3{margin:0;font-size:.9375rem;font-weight:650}
.scores-grupo-head small{display:block;margin-top:.1875rem;font-size:.7188rem;color:var(--score-muted)}
.scores-grupo-head strong{font-size:1.625rem;font-variant-numeric:tabular-nums}
.scores-grupo.excellent .scores-grupo-head strong,.scores-grupo.good .scores-grupo-head strong{color:#1f6b4c}
.scores-grupo.warning .scores-grupo-head strong{color:#8a5a15}
.scores-grupo.danger .scores-grupo-head strong{color:#b34137}
.scores-grupo-itens{margin-top:.75rem}
.scores-grupo-itens>summary{display:inline-block;padding:.3125rem .6875rem;border:1px solid var(--score-line);border-radius:.5rem;font-size:.75rem;color:var(--score-muted);cursor:pointer;list-style:none}
.scores-grupo-itens>summary::-webkit-details-marker{display:none}
.scores-grupo-itens>summary:hover{border-color:#94aec5;color:var(--score-accent)}
.scores-grupo-itens[open]>summary{margin-bottom:.875rem;color:var(--score-accent);font-weight:600}

/* Visão de equipe: mesma linguagem visual dos indicadores, detalhes sob demanda. */
.scores-group-grid,.scores-team-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,19.375rem),1fr));gap:1rem;align-items:start}
.scores-group-grid>.scores-grupo{margin:0;min-width:0}
.scores-area-head h3{margin:0;font-size:1rem;line-height:1.5;color:#355761}
.scores-grupo-itens{border-top:1px solid var(--score-line);padding-top:.875rem;margin-top:auto}
.scores-grupo-itens>summary{color:var(--score-accent);font-weight:600;padding:.625rem .875rem}
.scores-grupo-itens .scores-less{display:none}
.scores-grupo-itens[open] .scores-more{display:none}
.scores-grupo-itens[open] .scores-less{display:inline}
.scores-grupo-itens[open]>.scores-area-grid{padding-top:.5rem}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
/* Lista antiga de regras (cartoes), ainda usada pelos estilos de selo. */
.rules-heading{display:flex;justify-content:space-between;gap:1.25rem;align-items:center;margin-bottom:1.25rem}
.rules-heading h1{margin:0 0 .5rem}.rules-heading p{margin:0;color:var(--mut)}
.rules-toolbar{display:grid;grid-template-columns:2fr 1fr 1fr;gap:.875rem;background:white;border:1px solid var(--line);border-radius:.75rem;padding:1.125rem;margin-bottom:.875rem}
.rules-toolbar label{display:flex;flex-direction:column;gap:.4375rem;font-size:.75rem;color:var(--mut)}
.rules-toolbar input,.rules-toolbar select{width:100%;min-height:2.625rem;border:1px solid var(--line);border-radius:.5rem;padding:.5rem .75rem;background:white;color:var(--ink);font:inherit}
.rules-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,20rem),1fr));gap:.875rem}
.rule-card{padding:1.25rem;background:white;border:1px solid var(--line);border-radius:.75rem;display:flex;flex-direction:column;gap:1rem}
.rule-card header{display:flex;gap:.75rem;align-items:flex-start;justify-content:space-between}.rule-card h2{font-size:1rem;margin:0}.rule-card p{margin:0;font-size:.8125rem}.rule-card footer{display:flex;align-items:center;justify-content:space-between;gap:.75rem;margin-top:auto}.rule-card footer small{color:var(--mut)}
.rule-owners{display:flex;flex-wrap:wrap;gap:.375rem}.rule-owners span{padding:.3125rem .5625rem;background:#eff2f5;border-radius:.375rem;color:#355761;font-size:.75rem}
.rule-state{font-size:.6875rem;color:#275075;background:#edf7f3;border-radius:.375rem;padding:.25rem .5rem;white-space:nowrap}.rule-state.pending{color:#926820;background:#fff6e6}
.rules-dialog{width:min(50rem,calc(100vw - 1.5rem));max-height:90dvh;padding:0;border:1px solid var(--line);border-radius:.875rem;color:var(--ink);background:white}.rules-dialog::backdrop{background:#18343f65}.rules-dialog>header{position:sticky;top:0;display:flex;justify-content:space-between;align-items:center;padding:1rem 1.375rem;background:white;border-bottom:1px solid var(--line);z-index:1}.rules-dialog>header button{border:0;background:none;font-size:1.625rem;cursor:pointer}.rules-dialog .pane{border:0;box-shadow:none;margin:0;padding:1.375rem}.rules-dialog textarea{box-sizing:border-box;width:100%}.rules-dialog button:focus-visible,.rules-toolbar :focus-visible,.rule-card button:focus-visible{outline:3px solid #3873a8;outline-offset:3px}
#rules-status{margin:.75rem 0;color:var(--mut);font-size:.8125rem}
@media(max-width:700px){.rules-toolbar{grid-template-columns:1fr}.rule-card header{flex-wrap:wrap}.scores-group-grid,.scores-team-grid{grid-template-columns:1fr}}

#rules-module{--score-line:var(--line,#dde7eb);--score-accent:var(--acc,#1d5b92)}
.scores-overview:not(:has(.scores-inbox)){grid-template-columns:minmax(14.375rem,.72fr) minmax(0,2.5fr)}
@media(max-width:760px){.scores-overview:not(:has(.scores-inbox)){grid-template-columns:1fr}}

.scores-heading-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:.625rem}
@media(max-width:760px){.scores-heading-actions{justify-content:flex-start;width:100%}.scores-heading-actions .scores-button{white-space:normal;text-align:left}}

/* Celular: a tela abre so com o essencial para quem vai mandar pendencia do telefone.
   Nota de hoje, Inbox e evolucao; equipe, grupos e faixas ficam para o desktop. */
.scores-inbox-acoes{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:auto}
.scores-inbox-nova{display:none}
@media(max-width:760px){
 .scores-home .scores-team,
 .scores-home .scores-areas,
 .scores-home .scores-reward-bands,
 .scores-home .scores-page-heading [data-abrir-grupos]{display:none}
 .scores-home .scores-inbox-nova{display:inline-flex;border-color:var(--score-accent);background:var(--score-accent);color:#fff}
 .scores-home .scores-composicao{font-size:.7188rem}
 .scores-overview{gap:.75rem}
}
/* Area consolidada (Inbox): a nota de cada pessoa por tras da media. */
/* Area consolidada: a nota de cada pessoa aparece no historico do dia, nao no cartao. */
.scores-history-pessoas{margin:0 0 1rem}
.scores-history-pessoas>span{display:block;font-size:.6875rem;color:var(--score-muted);margin-bottom:.5rem}
.scores-history-pessoas ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(11.875rem,1fr));gap:.5rem}
.scores-history-pessoas li{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:2px .625rem;padding:.5625rem .75rem;border:1px solid var(--score-line);border-radius:.5625rem;background:#fff}
.scores-history-pessoas b{font-size:.7812rem;font-weight:600}
.scores-history-pessoas i{font-style:normal;font-size:.8125rem;font-weight:700;text-align:right}
.scores-history-pessoas small{grid-column:1;font-size:.6562rem;color:var(--score-muted)}
.scores-history-pessoas i.excellent,.scores-history-pessoas i.good{color:#1f7a55}
.scores-history-pessoas i.warning{color:#9b710f}
.scores-history-pessoas i.danger{color:#b04335}
.scores-history-pessoas i.unknown{color:var(--score-muted)}

/* Organizar grupos e pesos: a linha do indicador abre o painel de regras logo abaixo,
   e a barra de salvar fica fixa no rodape para o erro nunca cair fora da tela. */
.rules-toolbar.quatro{grid-template-columns:2fr 1fr 1fr 1fr}
.ind-item{display:flex;flex-direction:column}
.ind-item.aberto>.grupos-linha{border-radius:.625rem .625rem 0 0;border-bottom-color:transparent}
.ind-selos{display:flex;flex-wrap:wrap;gap:.375rem;margin-top:.375rem}
.ind-selo{font-size:.6875rem;color:var(--mut);background:#f1f4f5;border-radius:.375rem;padding:.25rem .5rem}
.ind-aviso{display:block;margin-top:.375rem;font-size:.6875rem;line-height:1.45;color:#926820}
.ind-vazio{font-size:.7188rem;color:var(--mut);padding-bottom:.625rem}
.ind-regras{border:1px solid var(--line);border-top:0;border-radius:0 0 .625rem .625rem;background:var(--sur);padding:.25rem 1rem 1.125rem;display:flex;flex-direction:column;gap:1rem}
.ind-regras label{display:flex;flex-direction:column;gap:.375rem;font-size:.75rem;color:var(--mut)}
.ind-regras textarea{box-sizing:border-box;width:100%;border:1px solid var(--line);border-radius:.5rem;padding:.625rem .75rem;font:inherit;font-size:.7812rem;line-height:1.5;color:var(--ink);background:white;resize:vertical}
.ind-regras .sub{margin:0;font-size:.7188rem;color:var(--mut)}
.ind-instrucoes summary{cursor:pointer;font-size:.7812rem;color:var(--acc);padding:.25rem 0}
.ind-instrucoes p{margin:.375rem 0 .625rem}
.ind-barra{position:sticky;bottom:0;display:flex;align-items:center;gap:.875rem;justify-content:flex-end;padding:.875rem 1rem;margin-top:1rem;background:white;border:1px solid var(--line);border-radius:.75rem;box-shadow:0 -4px 14px #0f2a3312}
.ind-resumo{font-size:.75rem;color:var(--mut)}
#ind-status{margin:0 0 .375rem;font-size:.75rem;color:var(--mut)}
@media(max-width:700px){.rules-toolbar.quatro{grid-template-columns:1fr}}

/* Organizar grupos e pesos · um desenho so para filtro e para seletor do cartao.
   O Safari ignora min-height e padding de <select> nativo: os filtros do topo saiam com 20px
   de altura, ao lado de seletores de 38px nos cartoes. Com appearance:none e a seta desenhada
   aqui, os dois ficam iguais em qualquer navegador. */
.rules-toolbar{align-items:end}
.rules-toolbar label{gap:.3125rem;font-size:.6875rem}
.rules-toolbar input,.rules-toolbar select,.grupos-linha input,.grupos-linha select{box-sizing:border-box;width:100%;height:2.375rem;min-height:2.375rem;padding:0 .625rem;border:1px solid var(--line);border-radius:.5rem;background-color:white;color:var(--ink);font:inherit;font-size:.7812rem}
.rules-toolbar select,.grupos-linha select{-webkit-appearance:none;appearance:none;padding-right:1.875rem;cursor:pointer;
 background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7c85' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
 background-repeat:no-repeat;background-position:right 10px center;background-size:.75rem}
.rules-toolbar input:focus,.rules-toolbar select:focus,.grupos-linha input:focus,.grupos-linha select:focus{outline:2px solid color-mix(in srgb,var(--acc) 35%,transparent);outline-offset:0;border-color:var(--acc)}
/* O cartao e o indicador inteiro: nome, seletores, liga/desliga e dias. Antes a linha dos dias
   ficava fora da borda e parecia pertencer ao indicador de baixo. */
.ind-item{border:1px solid var(--line);border-radius:.625rem;background:var(--sur);overflow:hidden}
.ind-item>.grupos-linha{border:0;border-radius:0;background:transparent}
.ind-item.aberto>.grupos-linha{border-radius:0}
.ind-item>.ind-agenda{margin:0;padding:.625rem 1rem;border-top:1px solid var(--line);background:#fafbfc}
.ind-item>.ind-regras{border:0;border-top:1px solid var(--line);border-radius:0;padding-top:.875rem}
.ind-dias-ajuda{font-size:.6875rem;color:var(--mut)}
.ind-dia:disabled{opacity:.45;cursor:default}
.ind-dia:disabled:hover{border-color:var(--line);color:var(--mut)}
.ind-item.desligado{background:#f6f7f8}
.ind-item.desligado .grupos-nome b{color:var(--mut)}
/* Interruptor: liga e desliga o indicador da nota com um clique. */
.ind-switch{position:relative;display:inline-flex;align-items:center;gap:.5625rem;font-size:.7812rem;font-weight:600;color:var(--ink);cursor:pointer;user-select:none}
.ind-switch input{position:absolute;opacity:0;width:1px;height:1px;margin:0}
.ind-switch-trilho{position:relative;flex:none;width:2.25rem;height:1.25rem;border-radius:62.4375rem;background:#c5cfd4;transition:background .15s}
.ind-switch-trilho::after{content:'';position:absolute;top:2px;left:2px;width:1rem;height:1rem;border-radius:50%;background:white;box-shadow:0 1px 2px #0003;transition:transform .15s}
.ind-switch input:checked+.ind-switch-trilho{background:var(--acc)}
.ind-switch input:checked+.ind-switch-trilho::after{transform:translateX(16px)}
.ind-switch input:focus-visible+.ind-switch-trilho{outline:2px solid var(--acc);outline-offset:2px}
.ind-item.desligado .ind-switch{color:var(--mut)}

/* Hoje da direcao com To-do: nota e inbox encolhem, o to-do fica com o espaco maior e a
   evolucao desce para a linha de baixo, inteira. */
.scores-overview.com-todo{grid-template-columns:minmax(11.875rem,.55fr) minmax(13.125rem,.65fr) minmax(0,1.8fr)}
.scores-overview.com-todo .scores-todo{grid-column:1/-1}
.scores-overview.com-todo .scores-main-value{font-size:clamp(2.125rem,3.6vw,3rem);margin:.75rem 0 .25rem}
@media(max-width:1280px){.scores-overview.com-todo{grid-template-columns:minmax(12.5rem,1fr) minmax(12.5rem,1fr)}.scores-overview.com-todo .scores-evolution{grid-column:1/-1}}
@media(max-width:760px){.scores-overview.com-todo{grid-template-columns:1fr}}
.scores-todo{display:flex;flex-direction:column;gap:.625rem;border-top:4px solid #7c6fb5;min-width:0}
.todo-cabeca{display:flex;justify-content:space-between;align-items:flex-start;gap:.625rem}
.todo-nota{text-align:right}.todo-nota strong{display:block;font-size:1.625rem;line-height:1;font-variant-numeric:tabular-nums}.todo-nota small{font-size:.6875rem;color:var(--score-muted,#74838c)}
.todo-rapido{display:flex;gap:.375rem}
.todo-rapido input{flex:1;min-width:0;height:2.375rem;padding:0 .75rem;border:1px solid var(--line);border-radius:.5rem;font:inherit;font-size:.8125rem}
.todo-rapido select{height:2.375rem;padding:0 .5rem;border:1px solid var(--line);border-radius:.5rem;background:white;font:inherit;font-size:.75rem}
.todo-mais{width:2.375rem;height:2.375rem;border:1px solid var(--line);border-radius:.5rem;background:white;font-size:1.125rem;cursor:pointer;color:var(--acc)}
.todo-lista{max-height:20.625rem;overflow:auto;margin:0 -.25rem;padding:0 .25rem}
.todo-grupo h4{display:flex;gap:.375rem;align-items:baseline;margin:.625rem 0 .25rem;font-size:.6875rem;letter-spacing:.06em;text-transform:uppercase;color:var(--score-muted,#74838c)}
.todo-grupo h4 small{font-weight:600}
.todo-grupo.atrasadas h4{color:#b34137}
.todo-grupo ul,.todo-feitas{list-style:none;margin:0;padding:0}
.todo-item{display:flex;align-items:flex-start;gap:.5625rem;padding:.375rem .25rem;border-bottom:1px solid #eef2f4}
.todo-check{flex:none;width:1.25rem;height:1.25rem;margin-top:1px;border:2px solid #9fb4bd;border-radius:50%;background:white;color:white;font-size:.75rem;line-height:1;cursor:pointer}
.todo-check:hover{border-color:var(--acc)}
.todo-item.feita .todo-check{border-color:#2f8f6b;background:#2f8f6b}
.todo-corpo{flex:1;min-width:0;padding:0;border:0;background:none;font:inherit;text-align:left;cursor:pointer;color:var(--ink)}
.todo-titulo{display:block;font-size:.8438rem;line-height:1.35}
.todo-item.feita .todo-titulo{text-decoration:line-through;color:var(--score-muted,#74838c)}
.todo-meta{display:flex;flex-wrap:wrap;gap:.25rem .5rem;margin-top:2px;font-size:.6875rem;color:var(--score-muted,#74838c)}
.todo-item.atrasada .todo-prazo{color:#b34137;font-weight:600}
.todo-peso{padding:0 .375rem;border-radius:6.1875rem;background:#f0edf9;color:#5a4d99;font-weight:600}
.todo-mencao{color:var(--acc);font-weight:600}
.todo-origem{padding:0 .375rem;border-radius:6.1875rem;background:#eef2f5;color:#395771}
.todo-vazio{margin:.5rem 0;color:var(--score-muted,#74838c);font-size:.8125rem}
.todo-ver-feitas{margin-top:.5rem;padding:0;border:0;background:none;color:var(--acc);font:inherit;font-size:.75rem;font-weight:600;cursor:pointer}
.todo-dialog-linha{display:grid;grid-template-columns:1fr 1fr 6.875rem;gap:.75rem}
.todo-dialog .mencao-linha{margin-top:.25rem}
.todo-excluir{margin-right:auto;color:#8f2f25}

/* To-do embaixo, na largura toda: os grupos lado a lado em vez de uma coluna comprida. */
.scores-todo .todo-lista{max-height:none;display:grid;grid-template-columns:repeat(auto-fit,minmax(17.5rem,1fr));gap:.25rem 1.5rem;align-items:start}
.scores-todo .todo-lista>.todo-vazio,.scores-todo .todo-lista>.todo-ver-feitas,.scores-todo .todo-lista>.todo-feitas{grid-column:1/-1}
.scores-todo .todo-rapido{max-width:45rem}

/* Ver mais do grupo: os cartoes abrem num pop-up; a grade da Hoje nao muda. */
.scores-grupo-itens>.scores-area-grid{display:none}
.scores-grupo-dialog{width:min(77.5rem,calc(100vw - 2.5rem));max-height:88vh;padding:0;border:1px solid var(--score-line,#dde6ea);border-radius:1rem;background:#f6f8f9;color:inherit;overflow:auto}
.scores-grupo-dialog::backdrop{background:#182f3659}
.scores-grupo-dialog>header{position:sticky;top:0;z-index:2;display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;padding:1.125rem 1.375rem;border-bottom:1px solid var(--score-line,#dde6ea);background:white}
.scores-grupo-dialog>header small{color:var(--score-muted,#74838c);font-size:.75rem}
.scores-grupo-dialog>header h2{margin:2px 0 0;font-size:1.25rem}
.scores-grupo-dialog>header button{width:2.125rem;height:2.125rem;border:1px solid var(--score-line,#dde6ea);border-radius:.5rem;background:white;font-size:1.125rem;cursor:pointer}
.scores-grupo-dialog-corpo{padding:1.125rem 1.375rem}
.scores-grupo-dialog-corpo>.scores-area-grid{display:grid}

/* Historico da nota, versao limpa: data e nota na mesma linha; busca e filtro logo abaixo;
   tabela de uma linha por caso; detalhes num pop-up por cima. */
.scores-history-date{align-items:stretch;padding:1rem 1.625rem 0}
.scores-history-resumo{flex:1;min-width:0;display:flex}
.scores-history-resumo .scores-history-summary{flex:1;margin:0;padding:.75rem 1.125rem;display:flex;flex-wrap:wrap;align-items:center;gap:.375rem 1.125rem}
.scores-history-resumo .scores-history-summary>p{margin:0}
.scores-history-resumo .scores-point-totals{display:flex;gap:.875rem;margin:0}
.scores-history-dialog [data-score-history-content]{padding:.875rem 1.625rem 1.5rem}
.scores-ledger-toolbar{align-items:flex-end}
.scores-ledger-toolbar input,.scores-ledger-toolbar select{height:2.375rem;min-height:2.375rem;padding:0 .75rem;appearance:none;-webkit-appearance:none}
.scores-ledger-toolbar select{padding-right:1.875rem;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%2374838c' stroke-width='1.5' fill='none'/%3E%3C/svg%3E") no-repeat right 12px center}
.scores-ledger-toolbar label:nth-child(2){width:13.75rem}
.scores-ledger-table table.scores-ledger-compacta{min-width:40rem;font-size:.7812rem}
.scores-ledger-compacta td{padding:.625rem .75rem!important;vertical-align:middle!important}
.scores-ledger-compacta td:first-child{max-width:none!important}
.scores-ledger-compacta td:first-child strong{font-weight:600}
.scores-ledger-compacta td:first-child small{display:inline!important;margin:0 0 0 .5rem!important}
.scores-ledger-compacta .scores-ledger-state{display:inline;margin:0;font-size:.75rem}
.scores-ledger-compacta td small.scores-incomplete{display:inline;margin-left:.375rem}
.scores-ledger-compacta .scores-numeric b{font-size:.8125rem}
.scores-ledger-compacta .scores-numeric b.is-up{color:#247758}.scores-ledger-compacta .scores-numeric b.is-down{color:#b04335}
.scores-ledger-compacta .scores-numeric small{display:block;margin:2px 0 0!important}
.scores-ledger-compacta small.is-down{color:#b04335!important}.scores-ledger-compacta small.is-warn{color:#9c681d!important}
.scores-ledger-linha{cursor:pointer}
.scores-ledger-linha:hover td,.scores-ledger-linha:focus-visible td{background:#f3f6f9}
.scores-ledger-acao{width:1%;text-align:right}
.scores-ledger-acao button{border:1px solid var(--score-line);border-radius:.5rem;background:#fff;padding:.375rem .75rem;font-size:.75rem;color:var(--score-accent);white-space:nowrap}
.scores-history-guia>summary{cursor:pointer;list-style:none;display:flex;align-items:center;gap:.5rem}
.scores-history-guia>summary::-webkit-details-marker{display:none}
.scores-history-guia>summary h3{margin:0!important}
.scores-history-guia>summary::after{content:'Ver ↓';font-size:.75rem;color:var(--score-accent)}
.scores-history-guia[open]>summary{margin-bottom:.625rem}
.scores-history-guia[open]>summary::after{content:'Esconder ↑'}
.scores-detalhe-dialog{width:min(38.75rem,calc(100vw - 2rem));max-height:86vh;padding:0;border:1px solid var(--score-line);border-radius:.875rem;background:#fff;color:var(--ink,#243b42);overflow:auto;box-shadow:0 20px 80px #193c4b50}
.scores-detalhe-dialog::backdrop{background:#18343f40}
.scores-detalhe-dialog>header{position:sticky;top:0;background:#fff;display:flex;justify-content:space-between;align-items:flex-start;gap:.875rem;padding:1.125rem 1.25rem;border-bottom:1px solid var(--score-line)}
.scores-detalhe-dialog>header small{font-size:.7188rem;color:var(--score-muted)}
.scores-detalhe-dialog>header h2{font-size:1.125rem;margin:.1875rem 0 0}
.scores-detalhe-dialog>header p{font-size:.75rem;color:var(--score-muted);margin:.25rem 0 0}
.scores-detalhe-corpo{padding:1rem 1.25rem 1.25rem}
.scores-detalhe-pontos{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.5rem;margin:0}
.scores-detalhe-pontos>div{border:1px solid var(--score-line);border-radius:.625rem;padding:.625rem;background:#fafbfc}
.scores-detalhe-pontos dt{font-size:.6562rem;color:var(--score-muted)}
.scores-detalhe-pontos dd{margin:.25rem 0 0;font-size:.9375rem;font-weight:600;font-variant-numeric:tabular-nums}
.scores-detalhe-pontos .is-up{background:#eef8f1}.scores-detalhe-pontos .is-down{background:#fdefec}.scores-detalhe-pontos .is-warn{background:#fdf6e7}
.scores-detalhe-nota{font-size:.7812rem;color:var(--score-muted);margin:.625rem 0 0}
.scores-detalhe-lista{display:grid;gap:.75rem;margin:1rem 0 0}
.scores-detalhe-lista dt{font-size:.6875rem;font-weight:600;color:#495d6e}
.scores-detalhe-lista dd{margin:.1875rem 0 0;font-size:.8125rem;line-height:1.55;overflow-wrap:anywhere}
@media(max-width:760px){.scores-history-date{flex-direction:column}.scores-detalhe-pontos{grid-template-columns:repeat(2,minmax(0,1fr))}.scores-ledger-toolbar{flex-wrap:wrap}.scores-ledger-toolbar label:nth-child(2){width:100%}}

/* Hoje da gestao: nota geral (30 dias) com a nota de hoje destacada; To-do como cartao pequeno
   entre o Inbox e a Evolucao, que fica mais estreita. */
.scores-hoje-destaque{display:flex;align-items:center;gap:.625rem;flex-wrap:wrap;margin:.625rem 0 .375rem;padding:.625rem .75rem;border-radius:.625rem;background:#f3f6f8;border:1px solid var(--score-line,#dde7eb)}
.scores-hoje-destaque span{font-size:.75rem;color:var(--score-muted,#74838c)}
.scores-hoje-destaque strong{font-size:1.375rem;font-weight:700}
.scores-hoje-destaque.danger strong{color:#b04335}.scores-hoje-destaque.warning strong{color:#9b710f}.scores-hoje-destaque.good strong,.scores-hoje-destaque.excellent strong{color:#1f7a55}
.scores-overview.com-todo{grid-template-columns:minmax(11.875rem,.62fr) minmax(12.5rem,.62fr) minmax(13.75rem,.7fr) minmax(0,1.3fr)!important}
.scores-overview.com-todo .scores-todo{grid-column:auto!important;display:flex;flex-direction:column;min-height:0}
.scores-todo .todo-cabeca{margin-bottom:.5rem}
.scores-todo .todo-cabeca .todo-nota strong{font-size:1.125rem}
.scores-todo .todo-rapido{max-width:none!important;display:grid;grid-template-columns:1fr auto;gap:.375rem}
.scores-todo .todo-rapido select{display:none}
.scores-todo .todo-rapido input{min-width:0;height:2.125rem;font-size:.7812rem}
.scores-todo .todo-mais{height:2.125rem;width:2.125rem}
.scores-todo .todo-lista{display:block!important;max-height:16.25rem;overflow:auto;margin-top:.5rem}
.scores-todo .todo-grupo h4{font-size:.6875rem;margin:.5rem 0 .25rem}
.scores-todo .todo-item{padding:.3125rem 0}
.scores-todo .todo-titulo{font-size:.7812rem}
@media(max-width:1280px){.scores-overview.com-todo{grid-template-columns:minmax(12.5rem,1fr) minmax(12.5rem,1fr)!important}.scores-overview.com-todo .scores-evolution{grid-column:1/-1}}
@media(max-width:760px){.scores-overview.com-todo{grid-template-columns:1fr!important}}

/* Detalhe do caso: por que ganhou ou perdeu pontos. */
.scores-motivo{margin-top:.875rem;padding:.75rem .875rem;border:1px solid var(--score-line,#dde7eb);border-radius:.625rem;background:#fafbfc}
.scores-motivo h4{margin:0 0 .5rem;font-size:.7812rem}
.scores-motivo ul{list-style:none;margin:0;padding:0;display:grid;gap:.375rem}
.scores-motivo li{display:grid;grid-template-columns:auto 1fr auto;gap:.25rem .625rem;align-items:baseline;font-size:.75rem}
.scores-motivo li b{white-space:nowrap}
.scores-motivo li span{color:#5f6f76}
.scores-motivo li em{font-style:normal;font-weight:700;white-space:nowrap}
.scores-motivo li.faixa-ate5 em{color:#1f7a55}.scores-motivo li.faixa-ate30 em{color:#3d6b52}.scores-motivo li.faixa-ate60 em,.scores-motivo li.faixa-ate120 em{color:#9c681d}.scores-motivo li.faixa-mais2h em{color:#b04335}
.scores-motivo p{margin:.5rem 0 0;font-size:.7188rem;color:#6b7b83}
@media(max-width:560px){.scores-motivo li{grid-template-columns:1fr}}

/* Detalhe do caso: numeros alinhados, rotulo e valor em duas colunas, IA e comentarios em destaque. */
.scores-detalhe-pontos>div{display:flex;flex-direction:column;justify-content:space-between;min-height:4.25rem}
.scores-detalhe-lista>div{display:grid;grid-template-columns:8.125rem 1fr;gap:.625rem;align-items:baseline;padding:.5rem 0;border-top:1px solid var(--score-line,#e3eaed)}
.scores-detalhe-lista>div:first-child{border-top:0}
.scores-detalhe-lista dd{margin:0!important}
.scores-detalhe-ia{margin-top:.875rem;padding:.625rem .75rem;border-left:3px solid #7b6fd0;border-radius:.5rem;background:#f4f2fd}
.scores-detalhe-ia span{display:block;font-size:.6875rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#5b4fb0}
.scores-detalhe-ia p{margin:.25rem 0 0;font-size:.8125rem;line-height:1.5}
.scores-detalhe-comentarios{margin-top:.75rem;padding:.625rem .75rem;border:1px solid var(--score-line,#dde7eb);border-radius:.625rem;background:#fafbfc}
.scores-detalhe-comentarios h4{margin:0 0 .375rem;font-size:.7812rem}
.scores-detalhe-comentarios ul{list-style:none;margin:0;padding:0;display:grid;gap:.5rem}
.scores-detalhe-comentarios li b{font-size:.7812rem}
.scores-detalhe-comentarios li small{margin-left:.375rem;font-size:.6875rem;color:var(--score-muted,#74838c)}
.scores-detalhe-comentarios li p{margin:2px 0 0;font-size:.8125rem;line-height:1.45;white-space:pre-wrap}
@media(max-width:560px){.scores-detalhe-lista>div{grid-template-columns:1fr}}
/* Coluna de tempo de resposta no historico. */
.scores-ledger-resposta{white-space:nowrap}
.resp-media{display:inline-block;min-width:1.875rem;margin-right:.375rem;font-size:.8125rem}
.resp-media.bom{color:#1f7a55}.resp-media.ok{color:#3d6b52}.resp-media.atencao{color:#9c681d}.resp-media.ruim{color:#b04335}
.resp-chips{display:inline-flex;flex-wrap:wrap;gap:.1875rem;vertical-align:middle}
.resp-chip{font-style:normal;font-size:.6562rem;padding:2px .375rem;border-radius:62.4375rem;background:#eef2f4;color:#46606a}
.resp-chip.bom{background:#e3f4ea;color:#1f6b45}.resp-chip.atencao{background:#fcf0dc;color:#8c5f18}.resp-chip.ruim{background:#fbe3de;color:#8f2f20}
.rules-abas-grupo{margin:.25rem 0 .875rem}.rules-abas-grupo span{margin-left:.375rem;font-size:.6875rem;color:var(--mut)}
/* Hoje sem notas (v1.31.0): Inbox e, para a direcao, o to-do lado a lado. */
.hoje-simples{display:grid;grid-template-columns:minmax(0,35rem);gap:1rem;margin-bottom:1.625rem;align-items:start}
.hoje-simples.com-todo{grid-template-columns:minmax(17.5rem,1fr) minmax(0,1.6fr)}
@media(max-width:760px){.hoje-simples,.hoje-simples.com-todo{grid-template-columns:1fr}}
/* Indicadores da pessoa na Hoje (0577): mesmo progresso do topo do /base. */
.scores-meus-ind{max-width:35rem;margin-bottom:1.625rem}
.scores-meus-ind ul{list-style:none;margin:0;padding:0;display:grid;gap:.625rem}
.scores-meus-ind li{border:1px solid var(--line,#e3e6ea);border-radius:.625rem;padding:.625rem .75rem;display:grid;gap:.5rem}
.scores-meus-ind .mi-topo{display:flex;align-items:center;justify-content:space-between;gap:.625rem}
.scores-meus-ind .mi-topo a{text-decoration:none;white-space:nowrap;padding:.25rem .625rem;font-size:.8125rem}
.scores-meus-ind .mi-nums{display:flex;align-items:center;gap:1rem;font-size:.8125rem;color:var(--muted,#667085)}
.scores-meus-ind .mi-nums span b{color:var(--ink,#1f2933);margin-right:.25rem}
.scores-meus-ind .mi-barra{flex:1;min-width:3.75rem;height:.375rem;border-radius:.1875rem;background:#e6e9ee;overflow:hidden}
.scores-meus-ind .mi-barra i{display:block;height:100%;background:#2f6fb3}
.scores-meus-ind .mi-pct{color:var(--ink,#1f2933)}
/* Tarefas (0600): abas Minhas / Deleguei, responsável na adição rápida e menu de escolha. */
.scores-todo .tf-rapido{grid-template-columns:1fr auto auto!important}
.tf-abas{display:inline-flex;padding:.1875rem;border:1px solid var(--line);border-radius:.5625rem;background:var(--bg,#f4f5f7)}
.tf-abas button{display:inline-flex;align-items:center;gap:.375rem;padding:.25rem .6875rem;border:0;border-radius:.4375rem;background:transparent;font:inherit;font-size:.75rem;color:var(--mut,#667085);cursor:pointer}
.tf-abas button span{min-width:1.125rem;padding:0 .375rem;border-radius:6.1875rem;background:#e6eef7;color:#1d4f91;font-size:.6875rem;font-weight:600;line-height:1.125rem;text-align:center}
.tf-abas button.on{background:var(--sur,#fff);color:var(--ink);font-weight:600;box-shadow:0 1px 2px rgba(0,0,0,.08)}
.tf-resp{display:inline-flex;align-items:center;justify-content:space-between;gap:.5rem;box-sizing:border-box;height:2.125rem;min-width:7rem;padding:0 .625rem 0 .75rem;border:1px solid var(--line);border-radius:.5rem;background:white;font:inherit;font-size:.7812rem;line-height:1;color:var(--ink);cursor:pointer;white-space:nowrap}
.tf-resp:hover{background:#f6f7f9}
.tf-resp span{color:var(--mut,#667085);font-size:.6875rem;line-height:1}
.scores-todo .tf-rapido{align-items:center}
.scores-todo .tf-rapido .todo-mais{box-sizing:border-box;height:2.125rem}
.tf-rodape{margin-top:auto;padding-top:.75rem}
.tf-rodape .scores-button{padding:.4375rem .6875rem;font-size:.75rem}
.tf-menu{position:fixed;z-index:1000;min-width:11.25rem;max-height:17.5rem;overflow:auto;padding:.25rem;border:1px solid var(--line,#e3e6ea);border-radius:.625rem;background:var(--sur,#fff);box-shadow:0 8px 24px rgba(16,24,40,.14);display:grid}
.tf-menu button{padding:.4375rem .625rem;border:0;border-radius:.4375rem;background:none;font:inherit;font-size:.8125rem;text-align:left;color:var(--ink);cursor:pointer}
.tf-menu button:hover{background:#f2f5f7}
.tf-menu button.on{font-weight:700;color:var(--acc)}
.tf-quem b{font-weight:600;color:var(--ink)}
.todo-item.atrasada .todo-prazo{font-weight:700}
.tf-dialog-linha{grid-template-columns:1fr 1fr!important}
/* Painel do Hoje (0720/0730): grade de 3 colunas, cards da mesma altura em cada linha, todos com
   o mesmo cabecalho, a mesma borda e o botao embaixo. */
.hoje-painel{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:1rem;align-items:stretch;margin-bottom:1.625rem;max-width:90rem}
.hoje-cel{display:flex;min-width:0}.hoje-cel.s2{grid-column:span 2}.hoje-cel.s3{grid-column:span 3}.hoje-cel.s4{grid-column:span 4}.hoje-cel.s5{grid-column:span 5}.hoje-cel.s6{grid-column:1/-1}
.hoje-cel>.scores-panel{flex:1;margin:0!important;min-width:0;max-width:none!important;display:flex;flex-direction:column;gap:.75rem;padding:1.25rem 1.375rem;border:1px solid var(--score-line)!important;border-radius:.875rem;box-shadow:0 1px 2px #23404b0d}
.hoje-cel>.scores-panel .scores-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:.625rem;min-height:1.75rem;margin:0}
.hoje-cel>.scores-panel h2{font-size:1rem;font-weight:650}
.hoje-cel>.scores-panel>.scores-button,.hoje-cel .hoje-acao,.hoje-cel .scores-inbox .scores-button{margin-top:auto;align-self:flex-start;text-decoration:none;padding:.4375rem .75rem;font-size:.8125rem}
@media(max-width:1180px){.hoje-painel{grid-template-columns:repeat(2,minmax(0,1fr))}.hoje-cel[class*=" s"]{grid-column:auto!important}.hoje-cel.s7,.hoje-cel.s8,.hoje-cel.s12{grid-column:1/-1!important}}
@media(max-width:760px){.hoje-painel{grid-template-columns:1fr}.hoje-cel[class*=" s"]{grid-column:auto!important}}
.hoje-ao-vivo{font-size:.7188rem;color:var(--score-muted);white-space:nowrap}
.hoje-vazio{margin:.25rem 0;color:var(--score-muted);font-size:.8125rem}
.hoje-nota{margin:0;color:var(--score-muted);font-size:.7812rem;line-height:1.45}
.hoje-nota b{color:var(--ink,#1b2529)}
/* WhatsApp: numeros a esquerda, grafico de barras por tempo de espera a direita */
.wpp-corpo{display:grid;grid-template-columns:minmax(10.625rem,13.75rem) 1fr;gap:1.5rem;align-items:end}
.wpp-kpis{display:flex;flex-direction:column;gap:.625rem}
.wpp-total{display:flex;flex-direction:column}
.wpp-total b{font-size:2.125rem;line-height:1;font-weight:750}
.wpp-total span{color:var(--score-muted);font-size:.7812rem;margin-top:.25rem}
.wpp-faixa{display:grid;grid-template-columns:.625rem auto 1fr;align-items:baseline;gap:.5rem;font-size:.7812rem;color:var(--score-muted)}
.wpp-faixa i{width:.625rem;height:.625rem;border-radius:.1875rem;background:#5f86a9;align-self:center}
.wpp-faixa.tarde i{background:#12395c}
.wpp-faixa b{font-size:1.125rem;color:var(--ink,#1b2529)}
.wpp-faixa.tarde span{color:var(--ink,#1b2529);font-weight:650}
.wpp-grafico{display:flex;flex-direction:column;gap:.375rem;min-width:0}
.wpp-barras{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:.375rem;height:6.875rem;align-items:end;border-bottom:1px solid var(--score-line)}
.wpp-col{position:relative;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;height:100%;padding-top:1.125rem;cursor:default}
.wpp-col i{display:block;width:70%;max-width:2.375rem;background:#5f86a9;border-radius:.25rem .25rem 0 0;transition:filter .15s}
.wpp-col.tarde i{background:#12395c}
.wpp-col:hover i{filter:brightness(1.15)}
.wpp-col .wpp-n{font-size:.75rem;font-weight:700;color:var(--ink,#1b2529);margin-bottom:.1875rem}
.wpp-col .wpp-n.zero{color:var(--score-muted);font-weight:500}
.wpp-col small{position:absolute;top:100%;margin-top:.375rem;font-size:.6562rem;line-height:1.2;color:var(--score-muted);text-align:center;width:100%}
.wpp-col:nth-child(5){border-left:1px dashed #9aa9b0}
.wpp-eixo{display:grid;grid-template-columns:4fr 3fr;margin-top:1.875rem;font-size:.6875rem;color:var(--score-muted)}
.wpp-eixo span:last-child{border-left:1px dashed #9aa9b0;padding-left:.5rem;color:var(--ink,#1b2529);font-weight:650}
@media(max-width:760px){.wpp-corpo{grid-template-columns:1fr}.wpp-barras{height:8.75rem}.wpp-col small{font-size:.5938rem}.wpp-eixo{margin-top:3.125rem}}
/* Indicadores, Tarefas e Treinamentos: listas no mesmo desenho, linha fina entre os itens */
.hoje-cel .scores-meus-ind ul{gap:0}
.hoje-cel .scores-meus-ind li{border:0;border-top:1px solid var(--score-line);border-radius:0;padding:.625rem 0}
.hoje-cel .scores-meus-ind li:first-child{border-top:0;padding-top:2px}
.hoje-cel .scores-meus-ind .mi-nums{flex-wrap:wrap}
.hoje-notas-grade{display:flex;flex-wrap:wrap;gap:.5rem 1.625rem}
.hoje-notas-grade span{display:flex;flex-direction:column;font-size:.7188rem;color:var(--score-muted)}
.hoje-notas-grade b{font-size:1.75rem;line-height:1.1;font-weight:750;color:var(--ink,#1b2529)}
.hoje-lista{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;max-height:18.75rem;overflow:auto}
.hoje-lista li{display:flex;flex-direction:column;gap:2px;padding:.5rem 0;border-top:1px solid var(--score-line)}
.hoje-lista li:first-child{border-top:0;padding-top:0}
.hoje-cel.s3 .hoje-lista,.hoje-cel.s2 .hoje-lista{display:grid;grid-template-columns:repeat(auto-fill,minmax(16.25rem,1fr));column-gap:1.75rem}
.hoje-cel.s3 .hoje-lista li,.hoje-cel.s2 .hoje-lista li{border-top:1px solid var(--score-line);padding-top:.5rem}
.hoje-lista-titulo{font-size:.8125rem;font-weight:600}
.hoje-lista-titulo small{font-weight:500;color:var(--score-muted);font-size:.6875rem;margin-left:.25rem}
.hoje-lista-sub{font-size:.75rem;color:var(--score-muted)}
.hoje-lista-sub b{color:var(--ink,#1b2529)}
.hoje-ok{font-weight:700;color:var(--score-accent)}
.hoje-cel .mi-hist,.scores-meus-ind .mi-hist{display:flex;flex-wrap:wrap;gap:.25rem 1.125rem;font-size:.75rem;color:var(--score-muted)}
.scores-meus-ind .mi-hist b{color:var(--ink,#1b2529)}
/* Notas por dia dentro do card do WhatsApp (0760) */
.notas-dia{border-top:1px solid var(--score-line);padding-top:.875rem;display:flex;flex-direction:column;gap:.625rem}
.notas-dia-cab{display:flex;justify-content:space-between;align-items:center;gap:.625rem;flex-wrap:wrap}
.notas-dia-cab h3{margin:0;font-size:.875rem;font-weight:650}
.notas-leg{display:flex;align-items:center;gap:.375rem;font-size:.7188rem;color:var(--score-muted)}
.notas-leg i{display:inline-block;width:.875rem;height:.1875rem;border-radius:2px;margin-left:.5rem}
.notas-leg i.nq,.notas-graf .nq{background:#1d5b92;fill:#1d5b92}.notas-leg i.nt{background:#8a6fc4}.notas-graf .nt{fill:#8a6fc4}
.notas-dia-corpo{display:grid;grid-template-columns:minmax(10.625rem,13.75rem) 1fr;gap:1.5rem;align-items:center}
.notas-dia-kpis{display:flex;flex-direction:column;gap:.625rem}
.notas-dia-kpis>div{display:grid;grid-template-columns:auto auto;gap:0 .875rem;font-size:.75rem;color:var(--score-muted)}
.notas-dia-kpis small{grid-column:1/-1;font-size:.6875rem;text-transform:uppercase;letter-spacing:.04em;font-weight:650}
.notas-dia-kpis b{font-size:1.25rem;color:var(--ink,#1b2529);font-weight:750;margin-right:.1875rem}
.notas-dia-kpis em{grid-column:1/-1;font-style:normal;font-size:.6875rem}
.notas-graf{width:100%;height:auto;overflow:visible}
.notas-graf .ng line{stroke:var(--score-line);stroke-width:1}
.notas-graf text{font-size:.625rem;fill:var(--score-muted)}
.notas-graf path{fill:none;stroke-width:2;stroke-linejoin:round;stroke-linecap:round}
.notas-graf .lq{stroke:#1d5b92}.notas-graf .lt{stroke:#8a6fc4}
.notas-graf circle{stroke:var(--sur,#fff);stroke-width:2}
@media(max-width:760px){.notas-dia-corpo{grid-template-columns:1fr}}
/* Treinamentos em faixa baixa */
.hoje-treinos{padding:1rem 1.375rem!important}
.treino-faixa{display:grid;grid-template-columns:minmax(13.75rem,1fr) minmax(0,1.6fr) auto;gap:1.5rem;align-items:center}
.treino-tit{display:flex;flex-direction:column;gap:.375rem}
.treino-tit span{font-size:.7812rem;color:var(--score-muted)}.treino-tit b{color:var(--ink,#1b2529)}
.treino-barra{display:block;height:.375rem;border-radius:.1875rem;background:var(--score-line);overflow:hidden;max-width:16.25rem}
.treino-barra i{display:block;height:100%;background:var(--score-accent);border-radius:.1875rem}
.treino-prox{display:flex;flex-direction:column;gap:2px;font-size:.7812rem;color:var(--score-muted);border-left:1px solid var(--score-line);padding-left:1.25rem}
.treino-prox small{font-size:.6875rem;text-transform:uppercase;letter-spacing:.04em;font-weight:650}
.treino-prox b{font-size:.875rem;color:var(--ink,#1b2529)}
.hoje-treinos .hoje-acao{margin-top:0!important}
@media(max-width:760px){.treino-faixa{grid-template-columns:1fr;gap:.75rem}.treino-prox{border-left:0;padding-left:0}}
/* Tarefas e Indicadores maiores */
.hoje-cel .scores-todo .todo-lista{max-height:26.25rem!important}
.hoje-cel .scores-todo,.hoje-cel .scores-meus-ind,.hoje-cel .hoje-tarefas{min-height:18.75rem}
.notas-dia-kpis .hoje-nota b{font-size:inherit;font-weight:700;margin:0}
.hoje-cel.s6 .scores-meus-ind{min-height:0}
@media(max-width:760px){.hoje-cel .scores-todo,.hoje-cel .scores-meus-ind,.hoje-cel .hoje-tarefas{min-height:0}.notas-dia-corpo{overflow-x:auto}.notas-graf{min-width:30rem}}
.scores-meus-ind .mi-revisao .mi-nums span{font-size:.7812rem}
/* v1.55.1: WhatsApp mais baixo, Treinamentos em card ao lado, Indicadores em mini-cards */
.hoje-wpp{gap:.625rem!important}
.wpp-corpo{gap:1.125rem}.wpp-eixo{margin-top:1.625rem}
.hoje-cel:not(.s12) .treino-faixa{grid-template-columns:1fr;gap:.875rem;height:100%;align-content:start}
.hoje-cel:not(.s12) .treino-prox{border-left:0;padding-left:0;border-top:1px solid var(--score-line);padding-top:.75rem}
.hoje-cel:not(.s12) .hoje-treinos{padding:1.25rem 1.375rem!important}
.hoje-cel:not(.s12) .hoje-treinos .hoje-acao{margin-top:auto!important}
.hoje-cel:not(.s12) .treino-barra{max-width:none}
.hoje-cel .scores-meus-ind ul.mi-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(10.625rem,1fr));gap:.625rem}
.hoje-cel .scores-meus-ind li.mi-card,.hoje-cel .scores-meus-ind li.mi-card:first-child{border:1px solid var(--score-line);border-radius:.625rem;padding:.75rem;display:flex;flex-direction:column;gap:.375rem;background:#fafbfc}
.mi-card .mi-topo{align-items:flex-start!important}
.mi-card .mi-topo b{font-size:.8125rem;line-height:1.3}
.mi-card .mi-topo a{padding:.1875rem .5625rem!important;font-size:.75rem!important}
.mi-big{display:flex;flex-direction:column}
.mi-big b{font-size:1.625rem;line-height:1.05;font-weight:750;color:var(--ink,#1b2529)}
.mi-big span{font-size:.7188rem;color:var(--score-muted);line-height:1.3}
.mi-linha{display:flex;align-items:center;gap:.5rem}
.mi-card .mi-barra{flex:1;height:.375rem;border-radius:.1875rem;background:#e6e9ee;overflow:hidden}
.mi-card .mi-barra i{display:block;height:100%;background:var(--score-accent,#1d5b92)}
.mi-card .mi-pct{font-size:.75rem;color:var(--ink,#1b2529)}
.mi-rodape{font-size:.75rem;color:var(--score-muted)}.mi-rodape b{color:var(--ink,#1b2529)}
.mi-card .mi-hist{font-size:.7188rem;gap:2px .75rem}
.treino-lista{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;max-height:14.375rem;overflow:auto;border-top:1px solid var(--score-line)}
.treino-lista li{display:flex;justify-content:space-between;gap:.625rem;padding:.4375rem 0;border-bottom:1px solid var(--score-line);font-size:.7812rem}
.treino-lista li span{color:var(--ink,#1b2529)}.treino-lista small{color:var(--score-muted);font-size:.6875rem;margin-left:.25rem}
.treino-lista em{font-style:normal;color:var(--ink,#1b2529);font-weight:650;white-space:nowrap}
.treino-lista li.feito em{color:var(--score-muted);font-weight:500}
.hoje-cel.s12 .treino-lista{display:none}
.notas-dia-corpo{grid-template-columns:1fr!important;gap:.5rem!important}
.notas-dia-kpis{flex-direction:row!important;flex-wrap:wrap;align-items:flex-end;gap:.5rem 1.75rem!important}
.notas-dia-kpis b{font-size:1.125rem!important}
.notas-dia-kpis>.hoje-nota{flex:1;min-width:12.5rem}
.notas-dia-kpis .hoje-nota b{font-size:inherit!important}
@media(max-width:760px){.wpp-eixo{margin-top:3.125rem}.notas-dia-corpo{overflow-x:visible}.notas-graf{min-width:0}}
/* WhatsApp FGH (v1.57.7): grade 3 x 2 de blocos iguais; titulo, numero e detalhe sempre na mesma linha */
.wpp-blocos{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.625rem}
.wpp-bloco{display:grid;grid-template-rows:auto auto 1fr;gap:.25rem;padding:.75rem .875rem;border:1px solid var(--score-line);border-radius:.625rem;background:#fafbfc;text-decoration:none;color:var(--ink,#1b2529);min-width:0}
a.wpp-bloco:hover{border-color:#9aa9b0}
.wpp-bloco>small{font-size:.6875rem;text-transform:uppercase;letter-spacing:.05em;font-weight:650;color:var(--score-muted);line-height:1.3;min-height:2.6em}
.wpp-bloco>b{font-size:1.875rem;line-height:1;font-weight:750;font-variant-numeric:tabular-nums}
.wpp-bloco>span{font-size:.7188rem;color:var(--score-muted);line-height:1.35}.wpp-bloco>span b{color:var(--ink,#1b2529)}
.wpp-bloco.zero>b{color:var(--score-muted);font-weight:600}
.wpp-notas{grid-template-rows:auto auto auto}
.wpp-notas>div{display:flex;align-items:baseline;justify-content:space-between;gap:.5rem}
.wpp-notas>div span{display:flex;align-items:baseline;gap:.375rem;font-size:.7188rem;color:var(--score-muted)}
.wpp-notas>div span b{font-size:1.5rem;line-height:1.1;font-weight:750;color:var(--ink,#1b2529);font-variant-numeric:tabular-nums}
.wpp-notas em{font-style:normal;font-size:.6875rem;color:var(--score-muted);white-space:nowrap}.wpp-notas em b{color:var(--ink,#1b2529)}
@media(max-width:760px){.wpp-blocos{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* Indicadores empilhados, um embaixo do outro, todos com barra (v1.57.6) */
.hoje-cel .scores-meus-ind ul.mi-cards{grid-template-columns:1fr!important}
/* 1020: link de volta para a conversa do Atendimento, na tarefa e no caso do Inbox */
.todo-item .tf-link{flex:none;align-self:center;font-size:.7812rem;color:#1d5b92;text-decoration:none;padding:2px .375rem;border-radius:.375rem}
.todo-item .tf-link:hover{background:#e5ecf3}
a.conversation-details-button{display:inline-block;text-decoration:none}
/* Indicadores do Hoje em linhas baixas (16/10) */
.hoje-cel .scores-meus-ind ul.mi-cards{display:flex!important;flex-direction:column;gap:0!important}
.hoje-cel .scores-meus-ind li.mi-card,.hoje-cel .scores-meus-ind li.mi-card:first-child{display:grid;grid-template-columns:3.2em minmax(0,1fr) auto;align-items:center;gap:.75rem;padding:.625rem 2px;border:0;border-top:1px solid var(--score-line);border-radius:0;background:none}
.hoje-cel .scores-meus-ind li.mi-card:first-child{border-top:0}
.mi-card .mi-n{font-size:1.625rem;line-height:1;font-weight:750;color:var(--ink,#1b2529);text-align:right;font-variant-numeric:tabular-nums}
.mi-card .mi-n.zero{color:var(--score-muted);font-weight:600}
.mi-card .mi-meio{display:flex;flex-direction:column;gap:.1875rem;min-width:0}
.mi-card .mi-nome{font-size:.8125rem;font-weight:650;color:var(--ink,#1b2529);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mi-card .mi-sub{font-size:.7188rem;color:var(--score-muted);line-height:1.35}.mi-card .mi-sub b{color:var(--ink,#1b2529)}
.mi-card .mi-barra{display:block;flex:none;height:.25rem;border-radius:2px;background:#e6e9ee;overflow:hidden;margin-top:2px}
.mi-card .mi-barra i{display:block;height:100%;background:var(--score-accent,#1d5b92)}
.mi-card .mi-abrir{font-size:.75rem;font-weight:600;color:var(--score-accent,#1d5b92);text-decoration:none;padding:.25rem .625rem;border:1px solid var(--score-line);border-radius:62.4375rem;white-space:nowrap}
.mi-card .mi-abrir:hover{border-color:#9aa9b0}
/* Hoje 16/10: WhatsApp com cinco blocos baixos numa linha e as notas dos ultimos 7 dias embaixo */
.hoje-wpp .wpp-blocos{grid-template-columns:repeat(5,minmax(0,1fr));gap:.5rem}
.hoje-wpp .wpp-bloco{padding:.5625rem .6875rem;gap:.1875rem;grid-template-rows:auto auto auto}
.hoje-wpp .wpp-bloco>small{font-size:.6562rem;line-height:1.3;height:2.7em;overflow:hidden}
.hoje-wpp .wpp-bloco>b{font-size:1.5rem}
.hoje-wpp .wpp-bloco>span{font-size:.6875rem}
.wpp-notas7{display:grid;grid-template-columns:minmax(11.875rem,15rem) 1fr;gap:1.125rem;align-items:center;border-top:1px solid var(--score-line);padding-top:.75rem}
.wpp-notas7-num{display:flex;flex-direction:column;gap:.375rem}
.wpp-notas7-num>small{font-size:.6562rem;text-transform:uppercase;letter-spacing:.05em;font-weight:650;color:var(--score-muted)}
.wpp-notas7-num>div{display:flex;align-items:baseline;gap:.5rem}
.wpp-notas7-num>div>b{font-size:1.5rem;line-height:1;font-weight:750;font-variant-numeric:tabular-nums;color:var(--ink,#1b2529)}
.wpp-notas7-num>div>span{font-size:.75rem;color:var(--ink,#1b2529);font-weight:600}
.wpp-notas7-num>div>span i{display:inline-block;width:.75rem;height:.1875rem;border-radius:2px;margin-right:.375rem;vertical-align:middle}
.wpp-notas7-num i.nq{background:#1d5b92}.wpp-notas7-num i.nt{background:#8a6fc4}
.wpp-notas7-num em{display:block;font-style:normal;font-weight:500;font-size:.6875rem;color:var(--score-muted)}
.wpp-notas7-num p{margin:0;font-size:.6875rem;color:var(--score-muted)}
@media(max-width:1180px){.hoje-wpp .wpp-blocos{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.hoje-wpp .wpp-blocos{grid-template-columns:repeat(2,minmax(0,1fr))}.wpp-notas7{grid-template-columns:1fr}}
.hoje-cel .hoje-treinos .treino-lista{max-height:9.375rem}
/* Treinamentos do Hoje (16/10): pontos, progresso, proximo com play e so os que faltam */
.tr-card{gap:.625rem!important}
.tr-pontos{font-size:.75rem;color:var(--score-muted);padding:.1875rem .625rem;border:1px solid var(--score-line);border-radius:62.4375rem;background:#f3f6f8}
.tr-pontos b{font-size:.875rem;color:var(--score-accent,#1d5b92);font-weight:750}
.tr-prog{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:.625rem;font-size:.75rem;color:var(--score-muted)}
.tr-prog b{color:var(--ink,#1b2529)}
.tr-barra{height:.3125rem;border-radius:.1875rem;background:#e6e9ee;overflow:hidden}.tr-barra i{display:block;height:100%;background:var(--score-accent,#1d5b92)}
.tr-prox{display:flex;align-items:center;gap:.75rem;padding:.625rem .75rem;border:1px solid var(--score-line);border-radius:.625rem;background:#fafbfc}
.tr-prox>div{display:flex;flex-direction:column;gap:1px;min-width:0}
.tr-prox small{font-size:.6562rem;text-transform:uppercase;letter-spacing:.05em;font-weight:650;color:var(--score-muted)}
.tr-prox b{font-size:.8438rem;color:var(--ink,#1b2529)}
.tr-prox span{font-size:.7188rem;color:var(--score-muted)}
.tr-play{flex:none;display:inline-flex;align-items:center;justify-content:center;width:1.625rem;height:1.625rem;border-radius:50%;background:var(--score-accent,#1d5b92);color:#fff}
.tr-play svg{width:.75rem;height:.75rem;fill:currentColor;margin-left:2px}
.tr-play.grande{width:2.25rem;height:2.25rem}.tr-play.grande svg{width:.9375rem;height:.9375rem}
.tr-play:hover{filter:brightness(1.12)}
.tr-lista{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}
.tr-lista li{display:flex;align-items:center;gap:.625rem;padding:.375rem 0;border-top:1px solid var(--score-line);font-size:.7812rem;color:var(--ink,#1b2529)}
.tr-lista li:first-child{border-top:0}
.tr-lista small{font-size:.6875rem;color:var(--score-muted);margin-left:.25rem}
.tr-todos{margin-top:auto;font-size:.7812rem;font-weight:600;color:var(--score-accent,#1d5b92);text-decoration:none}
.tr-todos:hover{text-decoration:underline}
/* WhatsApp FGH 16/10 b: tres cards, botao no topo, notas 7 dias em barras */
.hoje-wpp .wpp-abrir{padding:.3125rem .75rem!important;font-size:.7812rem!important;text-decoration:none}
.wpp-cs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.625rem}
.wpp-c{display:flex;flex-direction:column;gap:2px;padding:.625rem .875rem;border:1px solid var(--score-line);border-radius:.625rem;background:#fafbfc;min-width:0}
.wpp-c>small{font-size:.6562rem;text-transform:uppercase;letter-spacing:.05em;font-weight:650;color:var(--score-muted);margin-bottom:.25rem}
.wpp-c>p{margin:auto 0 0;padding-top:.25rem;font-size:.6875rem;color:var(--score-muted)}.wpp-c>p b{color:var(--ink,#1b2529)}
.wpp-l{display:grid;grid-template-columns:auto 1fr;align-items:baseline;gap:.5rem;text-decoration:none;color:var(--ink,#1b2529);padding:1px 0}
.wpp-l>b{font-size:1.375rem;line-height:1.15;font-weight:750;text-align:right;min-width:1.3em;font-variant-numeric:tabular-nums}
.wpp-l>span{font-size:.7812rem;font-weight:600}
.wpp-l:hover>span{text-decoration:underline}
.wpp-l.zero>b,.wpp-l.zero>span{color:var(--score-muted);font-weight:500}
.wpp-n7{display:grid;grid-template-columns:12.5rem 1fr;gap:1.25rem;align-items:center;border-top:1px solid var(--score-line);padding-top:.75rem}
.n7-num{display:flex;flex-direction:column;gap:.625rem}
.n7-num>small{font-size:.6562rem;text-transform:uppercase;letter-spacing:.05em;font-weight:650;color:var(--score-muted)}
.n7-num>p{margin:0;font-size:.6875rem;color:var(--score-muted)}
.n7-k{display:flex;gap:.625rem;align-items:stretch}
.n7-k>i{width:.25rem;border-radius:2px;flex:none}
.n7-k>div{display:grid;grid-template-columns:auto 1fr;column-gap:.5rem;align-items:baseline}
.n7-k span{grid-column:1/-1;font-size:.7188rem;font-weight:600;color:var(--ink,#1b2529)}
.n7-k b{font-size:1.625rem;line-height:1.1;font-weight:750;font-variant-numeric:tabular-nums;color:var(--ink,#1b2529)}
.n7-k em{font-style:normal;font-size:.6875rem;color:var(--score-muted)}.n7-k em b{font-size:.6875rem;font-weight:700}
.n7-num i.bq,.n7-graf rect.bq{background:#1d5b92;fill:#1d5b92}
.n7-num i.bt,.n7-graf rect.bt{background:#8a6fc4;fill:#8a6fc4}
.n7-graf{width:100%;height:auto;overflow:visible}
.n7-graf .ng line{stroke:var(--score-line);stroke-width:1}
.n7-graf text{font-size:.5938rem;fill:var(--score-muted)}
.n7-graf .nb text{font-size:.5625rem;fill:var(--ink,#1b2529);font-weight:600}
.n7-graf .nb:hover rect{filter:brightness(1.15)}
.n7-graf text.nx{font-size:.625rem}
@media(max-width:760px){.wpp-cs{grid-template-columns:1fr}.wpp-n7{grid-template-columns:1fr}}
/* 20/10 (pedido do Guilherme): no Hoje o título fica menor, sem a data embaixo, e os cards sobem. */
.scores-page-heading.hoje-cab{margin-bottom:.625rem}.scores-page-heading.hoje-cab h1{font-size:1.125rem;margin:0}
/* 20/10: numero e rotulo nunca colam; as linhas de um card alinham pelo maior numero (subgrid) */
.wpp-c{display:grid;grid-template-columns:auto 1fr;align-content:start;column-gap:.5rem}
.wpp-c>small,.wpp-c>p{grid-column:1/-1}.wpp-c>p{align-self:end}
.wpp-c>.wpp-l{grid-column:1/-1;grid-template-columns:subgrid}
/* Pontos de hoje (2470): você à esquerda (pontos, posição, cumprido, 7 dias), ranking do dia à direita. */
.hoje-pontos .pt-grade{display:grid;grid-template-columns:minmax(15rem,1fr) 2fr;gap:1.5rem;align-items:start}
.pt-eu{display:flex;flex-direction:column;gap:.625rem}
.pt-eu p{margin:0;font-size:.7812rem;color:var(--score-muted)}
.pt-eu p.pt-perdas{color:#b3261e}
.pt-num{display:flex;align-items:baseline;gap:.5rem}
.pt-num b{font-size:2.125rem;line-height:1;font-weight:750;color:var(--score-accent,#1d5b92)}
.pt-num span{font-size:.8125rem;color:var(--score-muted)}
.pt-pos{font-size:.8125rem;color:var(--score-muted)}
.pt-pos b{font-size:1.125rem;color:var(--ink,#1b2529)}
.pt-dias{display:grid;grid-template-columns:repeat(7,1fr);gap:.375rem;height:5.75rem;margin-top:.25rem}
.pt-dia{display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:.1875rem;min-width:0}
.pt-dia b{font-size:.6562rem;font-weight:600;color:var(--score-muted)}
.pt-dia i{display:block;width:70%;max-width:1.375rem;background:#c9d8e6;border-radius:.25rem .25rem 2px 2px}
.pt-dia.atual i{background:var(--score-accent,#1d5b92)}
.pt-dia span{font-size:.6562rem;color:var(--score-muted)}
.pt-cab{display:flex;justify-content:space-between;font-size:.6875rem;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--score-muted);padding:0 .25rem .375rem;border-bottom:1px solid var(--score-line)}
.pt-rank{list-style:none;margin:0;padding:0;max-height:18.125rem;overflow:auto}
.pt-rank li{display:grid;grid-template-columns:2rem minmax(4.375rem,8.75rem) 1fr 3.25rem 2.75rem;align-items:center;gap:.625rem;padding:.4375rem .25rem;border-bottom:1px solid var(--score-line);font-size:.8125rem}
.pt-rank li.eu{background:#eef4fa;border-radius:.375rem;font-weight:600}
.pt-k{color:var(--score-muted);font-variant-numeric:tabular-nums}
.pt-n{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pt-b{height:.5rem;background:#eef1f4;border-radius:6.1875rem;overflow:hidden}
.pt-b i{display:block;height:100%;background:var(--score-accent,#1d5b92);border-radius:6.1875rem}
.pt-rank b{text-align:right;font-variant-numeric:tabular-nums}
.pt-rank small{text-align:right;color:var(--score-muted);font-variant-numeric:tabular-nums}
@media (max-width:760px){.hoje-pontos .pt-grade{grid-template-columns:1fr}.pt-rank li{grid-template-columns:1.75rem minmax(3.75rem,1fr) 1fr 2.75rem 2.5rem;gap:.375rem}}
