/* Dashboard › chats não resolvidos por atendente. D012 2690–2730 visual language (cards #EDEEF1, pills ABERTO/ATEND./AGUARD./TOTAL). */
/* E-D012-HOME: the Dashboard takes the whole useful width, as D012 (the table and the status ring side by side). */
.cc-dash{padding:24px 28px;font-family:Inter,sans-serif;color:#1B1F24;flex:1;min-width:0;overflow:auto;box-sizing:border-box}
/* E-HOME-FECHO item 5 (D012 2690-2693, 3124-3127): Playfair title 27px and the grey 13.5px subtitle; BI content 1080px wide.
   Review homeb-r1 P2-2 (divergence "contraste WCAG AA"): every D012 text colour below 4.5:1 on its real background is darkened
   the least needed in its own hue (apps/web/test/dashboard-contrast.test.cjs): subtitle and PERIODO #98A2B3 -> #647188 on
   #F4F5F7; BI tabs #98A2B3 -> #5F6B7A on #EEF0F2; KPI tones on white: #E5484D -> #E12F35, #128A76 -> #118572,
   #C88A0E -> #9F6D0B, #98A2B3 -> #69778F, #35A03F -> #2D8735. */
.cc-dash__title{font-family:'Playfair Display',serif;font-size:27px;font-weight:700;margin:0}.cc-dash__subtitle{font-size:13.5px;color:#647188;margin:2px 0 20px}
.cc-dash.cc-bi{max-width:1136px}
.cc-dash__notice{font-size:12.5px;color:#5F6B7A}
.cc-dash__error{max-width:720px;padding:14px 16px;border:1px solid #F3D3D3;background:#FDF7F7;border-radius:12px}.cc-dash__error-title{display:block;font-size:14px;font-weight:800}.cc-dash__error-text{font-size:12.5px;color:#5F6B7A;line-height:1.5;margin:4px 0 10px}
.cc-dash__reload{height:34px;padding:0 14px;border:none;border-radius:9px;background:#9E2B2F;color:#fff;font-size:12.5px;font-weight:800;font-family:inherit;cursor:pointer}
.cc-dash__kpis{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px;margin-bottom:22px}
.cc-dash__kpi{background:#fff;border:1px solid #EDEEF1;border-left:4px solid #98A2B3;border-radius:12px;padding:14px 16px;display:flex;flex-direction:column;gap:6px}
/* E-HOME-FECHO item 5 (D012 7171-7177 dashData.kpis, teal theme 7073-7074): each KPI card carries its tone on the left
   border, the label and the 32px value (D012: Aberto #E5484D, Em atendimento --active, Aguardando #C88A0E, Resolvido #35A03F,
   Sem status #98A2B3; each darkened to 4.5:1 on white, see the WCAG note above); "Não resolvidos" is the product's own total. */
.cc-dash__kpi[data-status]{border-left-color:var(--dash-tone)}
.cc-dash__kpi[data-status=open]{--dash-tone:#E12F35}.cc-dash__kpi[data-status=active]{--dash-tone:#118572}.cc-dash__kpi[data-status=wait]{--dash-tone:#9F6D0B}.cc-dash__kpi[data-status=other]{--dash-tone:#69778F}.cc-dash__kpi[data-status=resolved]{--dash-tone:#2D8735}.cc-dash__kpi[data-status=total]{--dash-tone:#1B1F24}
.cc-dash__kpi-label{font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.05em;color:var(--dash-tone,#5F6B7A)}.cc-dash__kpi-value{font-size:32px;font-weight:800;line-height:1.1;color:var(--dash-tone,#1B1F24)}
.cc-dash__card{background:#fff;border:1px solid #EDEEF1;border-radius:12px;padding:18px;overflow-x:auto}.cc-dash__card-title{font-size:15px;font-weight:700;margin:0 0 14px}
.cc-dash__matrix{width:100%;border-collapse:separate;border-spacing:8px 6px;min-width:560px}
.cc-dash__th-name{text-align:left;font-size:11px;font-weight:800;text-transform:uppercase;color:#5F6B7A}
.cc-dash__pill{display:block;text-align:center;font-size:11px;font-weight:800;border-radius:7px;padding:6px 8px;white-space:nowrap}
.cc-dash__th[data-status=open] .cc-dash__pill{background:#C6373C;color:#fff}.cc-dash__th[data-status=active] .cc-dash__pill{background:var(--active-fill,#0E7060);color:#fff}.cc-dash__th[data-status=wait] .cc-dash__pill{background:#F2B01E;color:#7A5A10}.cc-dash__th[data-status=other] .cc-dash__pill{background:#98A2B3;color:#fff}.cc-dash__th[data-status=total] .cc-dash__pill{background:#EEF0F2;color:#5F6B7A}
.cc-dash__name{text-align:left;font-size:12.5px;font-weight:600;max-width:260px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
tr[data-row=nobody] .cc-dash__name{font-weight:800}tr[data-row=unlinked] .cc-dash__name{color:#9E2B2F}tr[data-inactive=true] .cc-dash__name{color:#98A2B3}
.cc-dash__cell{text-align:center;font-size:14px;font-weight:700;border-radius:7px;padding:8px 0;background:#F4F5F7}
.cc-dash__cell[data-status=open]{background:#FDE8E8;color:#9E2B2F}.cc-dash__cell[data-status=active]{background:var(--active-bg,#E1F2EE);color:var(--active-ink,#0E6B5B)}.cc-dash__cell[data-status=wait]{background:#FBEED0;color:#7A5A10}.cc-dash__cell[data-status=total]{font-weight:800}
/* E-D012-HOME (D012 2711-2714): a zero keeps its column's tone, only lighter in weight (the text keeps AA contrast). */
.cc-dash__cell[data-zero=true]{font-weight:500}
.cc-dash__note{font-size:11.5px;color:#5F6B7A;margin:10px 0 0}
.cc-dash__cell-button{all:unset;display:block;width:100%;cursor:pointer;font:inherit;color:inherit;border-radius:7px}.cc-dash__cell-button:hover{text-decoration:underline}.cc-dash__cell-button:focus-visible{outline:2px solid #2557C7;outline-offset:2px}.cc-dash__cell-button[aria-pressed=true]{text-decoration:underline;font-weight:800}
/* D012 2607-2640: side panel with the conversations of one cell. */
.cc-dash[data-panel=open]{display:flex;gap:18px;align-items:flex-start}.cc-dash__main{flex:1;min-width:0}
.cc-dash__panel{position:sticky;top:0;width:392px;flex:none;box-sizing:border-box;max-height:calc(100vh - 133px);background:#fff;border:1px solid #EDEEF1;border-radius:12px;display:flex;flex-direction:column}
.cc-dash__panel-head{display:flex;align-items:flex-start;gap:10px;padding:16px 16px 12px;border-bottom:1px solid #F1F2F4}.cc-dash__panel-titles{flex:1;min-width:0}.cc-dash__panel-title{font-size:15px;font-weight:800;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cc-dash__panel-sub{font-size:11.5px;color:#5F6B7A;margin:3px 0 0}
.cc-dash__panel-close{width:30px;height:30px;border:none;border-radius:8px;background:#F4F5F7;font:inherit;font-size:13px;cursor:pointer}.cc-dash__panel-close:focus-visible{outline:2px solid #2557C7;outline-offset:2px}
.cc-dash__panel-empty{font-size:12.5px;color:#5F6B7A;padding:16px;line-height:1.5}
.cc-dash__drill-list{list-style:none;margin:0;padding:6px 8px;overflow-y:auto;flex:1}
.cc-dash__drill-open{display:flex;align-items:center;gap:10px;padding:9px 8px;border-radius:9px;color:inherit;text-decoration:none}.cc-dash__drill-open:hover{background:#F7F8FA}.cc-dash__drill-open:focus-visible{outline:2px solid #2557C7;outline-offset:1px}
.cc-dash__drill-avatar{width:34px;height:34px;border-radius:50%;background:#EEF0F2;color:#3B4453;font-size:12px;font-weight:800;display:flex;align-items:center;justify-content:center;flex:none}
.cc-dash__drill-body{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.cc-dash__drill-top{display:flex;gap:8px;align-items:baseline}.cc-dash__drill-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:700}
.cc-dash__drill-time{font-size:11px;color:#98A2B3;font-variant-numeric:tabular-nums;flex:none}.cc-dash__drill-preview{font-size:12px;color:#5F6B7A;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cc-dash__drill-unread{min-width:20px;height:20px;padding:0 6px;border-radius:10px;background:#E5484D;color:#fff;font-size:11px;font-weight:800;display:flex;align-items:center;justify-content:center;flex:none}
/* E-DASH-MINI (D012 2611-2660 dashMini): read-only thread summary in the same panel; incoming bubbles white on the left,
   outgoing green on the right, internal notes amber; state chips only where the API reports one. */
.cc-dash__mini-back{width:30px;height:30px;flex:none;border:1px solid #E5E7EB;border-radius:8px;background:#fff;color:#5F6B7A;font:inherit;font-size:14px;cursor:pointer}.cc-dash__mini-back:focus-visible,.cc-dash__mini-go:focus-visible,.cc-dash__mini-return:focus-visible{outline:2px solid #2557C7;outline-offset:2px}
.cc-dash__mini-body{flex:1;min-height:0;overflow-y:auto;padding:14px 15px;background:#F7F8F5}.cc-dash__mini-label{font-size:10px;font-weight:800;letter-spacing:.05em;color:#98A2B3;margin:0 0 9px}
.cc-dash__mini-list{list-style:none;margin:0;padding:0}.cc-dash__mini-row{display:flex;justify-content:flex-start;margin-bottom:8px}.cc-dash__mini-row[data-direction=out],.cc-dash__mini-row[data-direction=note]{justify-content:flex-end}
.cc-dash__mini-bubble{max-width:82%;background:#fff;border-radius:3px 12px 12px 12px;padding:8px 11px;box-shadow:0 1px 1px rgba(0,0,0,.06);display:flex;flex-direction:column;gap:2px}.cc-dash__mini-row[data-direction=out] .cc-dash__mini-bubble{background:#DCF3D2;border-radius:12px 3px 12px 12px}.cc-dash__mini-row[data-direction=note] .cc-dash__mini-bubble{background:#FFF5DF;border:1px dashed #E8C97A;border-radius:12px 3px 12px 12px}
.cc-dash__mini-tag{align-self:flex-start;font-size:9px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:#7A5A10}.cc-dash__mini-author{font-size:10.5px;font-weight:800;color:#276B2F}.cc-dash__mini-text{margin:0;font-size:12.5px;line-height:1.45;color:#1B1F24;white-space:pre-wrap;overflow-wrap:anywhere}
.cc-dash__mini-meta{display:flex;align-items:center;justify-content:flex-end;gap:5px}.cc-dash__mini-time{font-size:10px;color:#8892A0}.cc-dash__mini-state{padding:1px 6px;border-radius:5px;background:#EEF0F2;color:#5F6B7A;font-size:9px;font-weight:800;letter-spacing:.03em}.cc-dash__mini-state[data-state=lida]{background:#E1F2EE;color:#0E6B5B}.cc-dash__mini-state[data-state=falhou]{background:#FDE8E8;color:#9E2B2F}
.cc-dash__mini-notice{font-size:12.5px;color:#5F6B7A;line-height:1.5;margin:0 0 10px}.cc-dash__mini-notice[data-state=forbidden]{color:#9E2B2F}.cc-dash__mini-error{padding:10px 12px;background:#FDF3F3;border:1px solid #F3D3D3;border-radius:10px;margin-bottom:10px}
.cc-dash__mini-note{margin:10px 0 0;padding:9px 11px;background:#fff;border:1px dashed #CBD3DA;border-radius:9px;font-size:11px;color:#5F6B7A;line-height:1.5}
.cc-dash__mini-foot{flex:none;display:flex;align-items:center;gap:9px;padding:12px 15px;border-top:1px solid #EDEEF1;background:#fff;border-radius:0 0 12px 12px}.cc-dash__mini-go{flex:1;height:38px;border:none;border-radius:9px;background:#128A76;color:#fff;font:inherit;font-size:12.5px;font-weight:800;cursor:pointer}.cc-dash__mini-return{height:38px;padding:0 13px;border:1px solid #E0E3E8;border-radius:9px;background:#fff;color:#3B4453;font:inherit;font-size:12.5px;font-weight:700;cursor:pointer}
/* #9 E2 BI (D012 3121-3263): tab strip and the per-funnel closing rows, on the dashboard tokens. */
/* E-HOME-FECHO item 5 (D012 3139-3143 biTabSegs 9209): one segmented strip on #EEF0F2, the open tab white; it scrolls sideways
   inside itself on a narrow screen instead of wrapping (the page never overflows). */
.cc-dash__bi-tabs{display:flex;flex-wrap:nowrap;gap:3px;width:max-content;max-width:100%;overflow-x:auto;box-sizing:border-box;padding:3px;margin:0 0 14px;background:#EEF0F2;border-radius:10px}.cc-dash__bi-tab{flex:none;height:32px;padding:0 13px;border:none;border-radius:8px;background:transparent;font:inherit;font-size:12px;font-weight:800;color:#5F6B7A;white-space:nowrap;cursor:pointer}.cc-dash__bi-tab[aria-selected=true]{background:#fff;color:#2E3B23;box-shadow:0 1px 2px rgba(20,25,35,.12)}.cc-dash__bi-tab:disabled{opacity:.55;cursor:default}
.cc-dash__bi-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;padding:10px 0;border-top:1px solid #F1F2F4;font-size:12.5px}.cc-dash__bi-name{font-weight:800;color:#1B1F24}.cc-dash__bi-seal{font-size:11px;font-weight:800;border-radius:6px;padding:3px 7px;background:#E7F5E9;color:#1E7A2B}.cc-dash__bi-seal[data-closes=false]{background:#FDE8E8;color:#9E2B2F}.cc-dash__bi-eq{color:#3B4453;font-variant-numeric:tabular-nums}
.cc-bi .cc-dash__card+.cc-dash__card{margin-top:16px}.cc-dash__bi-go{display:inline-block;margin-top:14px;font-size:12.5px;font-weight:800;color:#2557C7}
/* #9 E3 BI › Atendimento: period switch, Chatwoot report cards, per-agent table and the source line (dashboard tokens). */
.cc-dash__bi-tab:focus-visible,.cc-dash__bi-period:focus-visible{outline:2px solid #2557C7;outline-offset:2px}
/* Review homeb-r1 P3: the tab strip scrolls (overflow-x), which would cut an outline drawn outside; a tab draws it inside. */
.cc-dash__bi-tab:focus-visible{outline-offset:-2px}
/* E-HOME-FECHO item 5 (D012 3144-3146): "PERÍODO" label; E-D012-HOME: presets as D012 renders them (biPresets 10370, the later
   definition that wins over 9212): 1px #DDE2D7 border, the chosen one filled #2E3B23 with white text. */
.cc-dash__bi-periods{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 14px}.cc-dash__bi-period{height:30px;padding:0 12px;border:1px solid #DDE2D7;border-radius:8px;background:#fff;font:inherit;font-size:11.5px;font-weight:800;color:#5F6B7A;cursor:pointer}.cc-dash__bi-period[aria-pressed=true]{background:#2E3B23;border-color:#2E3B23;color:#fff}
.cc-dash__bi-period-label{font-size:10.5px;font-weight:800;color:#647188;text-transform:uppercase;letter-spacing:.04em}
.cc-dash__bi-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px;margin-bottom:6px}.cc-dash__bi-cards .cc-dash__kpi-value{font-size:24px;font-variant-numeric:tabular-nums}.cc-dash__kpi-value[data-empty=true],.cc-dash__bi-td[data-empty=true]{color:#98A2B3}
.cc-dash__bi-table{width:100%;border-collapse:collapse;min-width:620px;font-size:12.5px}.cc-dash__bi-th,.cc-dash__bi-agent,.cc-dash__bi-td{padding:8px 10px;border-top:1px solid #F1F2F4;text-align:right;font-variant-numeric:tabular-nums}.cc-dash__bi-th{border-top:none;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.03em;color:#5F6B7A}.cc-dash__bi-th:first-child,.cc-dash__bi-agent{text-align:left}.cc-dash__bi-agent{font-weight:600;max-width:260px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cc-bi .cc-dash__bi-cards+.cc-dash__note{margin:0 0 16px}.cc-dash__bi-source{font-size:11.5px;color:#5F6B7A;margin:14px 0 0}
@media (max-width:980px){.cc-dash__kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.cc-dash[data-panel=open]{flex-direction:column}.cc-dash__main{width:100%}.cc-dash__panel{position:static;width:100%;max-height:none}}
@media (max-width:720px){.cc-dash{padding:16px}.cc-dash__kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* E-BI-VISAO (#9, D012 3286-3470): Visão geral — section label, "sem fonte" gate cards, day/week bars and channel rows. */
.cc-dash__bi-section{font-size:11px;font-weight:800;letter-spacing:.06em;color:#98A2B3;text-transform:uppercase;margin:4px 0 10px}.cc-dash__kpi-sub{display:block;font-size:11px;color:#69778F;margin-top:4px}
/* E-D012-HOME (D012 2697-2701): the Dashboard card's line under the number, 11.5px, 2px below it (D012 #98A2B3 darkened to
   #69778F for AA on white, see the WCAG note); the table beside the "Distribuição por status" ring (1.35fr / 1fr), one
   column when the cell panel is open or the screen is narrow. */
.cc-dash__kpis .cc-dash__kpi-sub{font-size:11.5px;margin-top:-4px}
.cc-dash__grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:18px;align-items:start}
.cc-dash[data-panel=open] .cc-dash__grid{grid-template-columns:minmax(0,1fr)}
.cc-dash__card[data-dash=donut] .cc-dash__card-title{margin-bottom:8px}
.cc-dash__donut{display:flex;flex-wrap:wrap;align-items:center;gap:18px}.cc-dash__donut-ring{flex:none;display:block}
.cc-dash__donut-legend{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}.cc-dash__donut-item{display:flex;align-items:center;gap:8px}
.cc-dash__donut-swatch{width:11px;height:11px;border-radius:3px;flex:none;background:#B4BAC2}
.cc-dash__donut-item[data-status=open] .cc-dash__donut-swatch{background:#E5484D}.cc-dash__donut-item[data-status=active] .cc-dash__donut-swatch{background:#128A76}.cc-dash__donut-item[data-status=wait] .cc-dash__donut-swatch{background:#F2B01E}.cc-dash__donut-item[data-status=resolved] .cc-dash__donut-swatch{background:#35A03F}
.cc-dash__donut-label{font-size:12.5px;color:#5F6B7A;min-width:96px}.cc-dash__donut-value{font-size:12.5px;font-weight:700;color:#1B1F24;font-variant-numeric:tabular-nums}
/* Review r1 P3: side by side only from 1400 px (below, the 1.35fr column fell under the table's 560 px minimum and scrolled). */
@media (max-width:1399px){.cc-dash__grid{grid-template-columns:minmax(0,1fr)}}
/* E-D012-HOME (D012 3124-3127): the BI head is the title with its subtitle under it (the Dashboard head keeps its button). */
.cc-bi>.cc-dash__head{display:block}
.cc-dash__bi-gates{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:12px;margin:14px 0 16px}.cc-dash__bi-gate{border:1.5px dashed #C88A0E;background:#FDF9EE;border-radius:12px;padding:11px 14px;margin:0 0 12px}.cc-dash__bi-gates .cc-dash__bi-gate{margin:0}
.cc-dash__bi-gate-tag{display:block;font-size:10.5px;font-weight:800;color:#7A5A10;letter-spacing:.04em}.cc-dash__bi-gate-title{display:block;font-size:13px;color:#1B1F24;margin-top:3px}.cc-dash__bi-gate-text{font-size:12px;color:#5F6B7A;margin:3px 0 0;line-height:1.5}
.cc-dash__bi-bars{list-style:none;margin:8px 0 6px;padding:0;display:flex;align-items:flex-end;gap:6px;height:170px;overflow-x:auto}.cc-dash__bi-bar-item{flex:1 0 26px;min-width:26px;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:4px}
.cc-dash__bi-bar{width:100%;max-width:34px;min-height:2px;border-radius:6px 6px 0 0;background:#128A76}.cc-dash__bi-bar[data-empty=true]{background:#EEF0F2}[data-bi=visao-primeira-resposta] .cc-dash__bi-bar{background:#7C4FBF}
.cc-dash__bi-bar-value{font-size:11px;font-weight:700;color:#3B4453;font-variant-numeric:tabular-nums;white-space:nowrap}.cc-dash__bi-bar-label{font-size:10.5px;color:#98A2B3;white-space:nowrap}
.cc-dash__bi-track{height:12px;background:#EEF0F2;border-radius:7px;overflow:hidden;flex:1;min-width:80px}.cc-dash__bi-fill{height:100%;background:#128A76;border-radius:7px}.cc-dash__bi-big{font-size:28px;font-weight:800;margin:0 0 8px;font-variant-numeric:tabular-nums}
.cc-dash__bi-channel{display:flex;align-items:center;gap:10px;padding:8px 0;border-top:1px solid #F1F2F4;font-size:12.5px}.cc-dash__bi-channel-name{flex:0 1 240px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:700}.cc-dash__bi-channel-value{flex:none;font-weight:800;font-variant-numeric:tabular-nums}
.cc-bi [data-bi^=visao]+[data-bi^=visao]{margin-top:16px}
/* E-META-1R (owner decision 8): the first-response verdict is text first; the colour only repeats it. */
.cc-dash__bi-target{display:inline-block;margin-top:6px;padding:2px 8px;border-radius:999px;font-size:11px;font-weight:800;border:1px solid currentColor}.cc-dash__bi-target[data-verdict=dentro]{color:#0B6B5B;background:#E8F5F2}.cc-dash__bi-target[data-verdict=acima]{color:#9A3412;background:#FFF1E8}
/* E-TAGS fase 2: BI › Demanda, the tag colour next to its name (the name carries the meaning). */
.cc-dash__bi-tag-dot{display:inline-block;width:9px;height:9px;border-radius:50%;margin-right:7px;vertical-align:middle}
/* E-BI-PESSOAS: the caller's own row ("você") and the unassigned row of BI › Pessoas. */
.cc-dash__bi-channel[data-self=true] .cc-dash__bi-channel-name{color:#2557C7}.cc-dash__bi-channel[data-unassigned=true] .cc-dash__bi-channel-name{flex:1 1 auto;color:#5F6B7A;font-weight:600}
/* E-MID (#10): Mídias (D012 isMidias 2777-2830: title, tabs, three-column card grid, kind badge, disabled upload/delete with reason). */
.cc-midias{padding:24px 28px;font-family:Inter,sans-serif;color:#1B1F24;min-width:0;flex:1;overflow:auto;box-sizing:border-box;background:#F4F5F7}
.cc-midias__head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-wrap:wrap;max-width:1040px}.cc-midias__title{font-family:'Playfair Display',serif;font-size:27px;font-weight:700;margin:0}.cc-midias__subtitle{font-size:13.5px;color:#98A2B3;margin:2px 0 0}
.cc-midias__inert{display:flex;flex-direction:column;gap:3px;max-width:320px;min-width:0}.cc-midias__reason{font-size:11px;color:#667085;line-height:1.4;margin:0 0 10px;overflow-wrap:anywhere;max-width:1040px}
.cc-midias__upload,.cc-midias__action--danger{cursor:not-allowed}.cc-midias__upload{height:40px;padding:0 16px;border:1px solid #DCE0E5;border-radius:10px;background:#F1F3F5;color:#98A2B3;font:inherit;font-size:13px;font-weight:700}
.cc-midias__tabs{display:flex;gap:7px;margin:16px 0 12px;flex-wrap:wrap}.cc-midias__tab{padding:6px 13px;border:1px solid #E5E7EB;border-radius:20px;font:inherit;font-size:12.5px;font-weight:700;background:#fff;color:#5F6B7A;cursor:pointer}.cc-midias__tab[aria-pressed=true]{border-color:#1B1F24;background:#1B1F24;color:#fff}
.cc-midias__filters{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:12px}.cc-midias__period,.cc-midias__contact{height:36px;padding:0 10px;border:1px solid #CBD3DA;border-radius:9px;background:#fff;font:inherit;font-size:12.5px;max-width:100%}
.cc-midias__filter-chip{padding:4px 10px;border-radius:999px;background:#E1F2EE;color:#0E6B5B;font-size:11.5px;font-weight:800}
.cc-midias__clear,.cc-midias__page,.cc-midias__more,.cc-midias__guard-back{height:34px;padding:0 13px;border:1px solid #CBD3DA;border-radius:9px;background:#fff;color:#3B4453;font:inherit;font-size:12.5px;font-weight:700;cursor:pointer}.cc-midias__page:disabled{color:#98A2B3;cursor:not-allowed}
.cc-midias__limits,.cc-midias__scan,.cc-midias__notice{font-size:12px;color:#5F6B7A;margin:0 0 10px;max-width:1040px;line-height:1.5;overflow-wrap:anywhere}.cc-midias__scan[data-complete=false]{color:#8A6D00}
.cc-midias__guard{max-width:640px;padding:16px 18px;background:#fff;border:1px solid #F0C9B4;border-radius:12px;margin-bottom:14px}.cc-midias__guard-title{display:block;font-size:13.5px;font-weight:800;color:#C8472B}.cc-midias__guard-text{font-size:12.5px;color:#5F6B7A;margin:4px 0 8px;line-height:1.55}.cc-midias__guard-code{display:block;font-size:10px;font-family:monospace;color:#98A2B3;margin-bottom:9px;overflow-wrap:anywhere}
.cc-midias__grid{list-style:none;margin:0 0 14px;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;max-width:1040px}
.cc-midias__card{background:#fff;border:1px solid #EDEEF1;border-radius:12px;overflow:hidden;min-width:0}.cc-midias__thumb{height:96px;display:grid;place-items:center;background:#EEF0F2;color:#5F6B7A;font-size:13px;font-weight:800;letter-spacing:.04em}
.cc-midias__thumb[data-kind=image]{background:#E1F2EE;color:#0E6B5B}.cc-midias__thumb[data-kind=file]{background:#FDE8E8;color:#9E2B2F}.cc-midias__thumb[data-kind=audio]{background:#E9E4F3;color:#5B3A8C}.cc-midias__thumb[data-kind=video]{background:#E8EEF7;color:#33356B}
.cc-midias__card-body{padding:12px 14px}.cc-midias__badge{display:inline-block;font-size:9.5px;font-weight:800;padding:2px 7px;border-radius:5px;background:#EEF0F2;color:#5F6B7A}
.cc-midias__badge[data-kind=image]{background:#E1F2EE;color:#0E6B5B}.cc-midias__badge[data-kind=file]{background:#FDE8E8;color:#9E2B2F}.cc-midias__badge[data-kind=audio]{background:#E9E4F3;color:#5B3A8C}.cc-midias__badge[data-kind=video]{background:#E8EEF7;color:#33356B}
.cc-midias__card-name{font-size:13px;font-weight:700;margin:5px 0 2px;overflow-wrap:anywhere}.cc-midias__card-meta{font-size:11.5px;color:#98A2B3;margin:0}
.cc-midias__card-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:9px}.cc-midias__action{height:28px;padding:0 10px;border:1px solid #E0E3E8;border-radius:7px;background:#fff;color:#3B4453;font:inherit;font-size:11px;font-weight:800;cursor:pointer}.cc-midias__action--danger{border-color:#E5C1C3;color:#C9A2A4;background:#FBF7F7}
.cc-midias__card-status{font-size:11px;color:#667085;margin:6px 0 0;overflow-wrap:anywhere}.cc-midias__card-status[data-tone=ok]{color:#1F7A34}.cc-midias__card-status[data-tone=alert]{color:#9E2B2F}
.cc-midias__pager{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.cc-midias__page-label{font-size:12.5px;color:#5F6B7A}
.cc-midias__preview{max-width:1040px;margin:14px 0;padding:14px;background:#fff;border:1px solid #EDEEF1;border-radius:12px}.cc-midias__preview-name{font-size:12.5px;font-weight:700;margin:0 0 8px;overflow-wrap:anywhere}.cc-midias__preview-image{display:block;max-width:100%;max-height:60vh;margin-bottom:10px;image-rendering:auto}.cc-midias__button{height:34px;padding:0 13px;border:1px solid #CBD3DA;border-radius:9px;background:#fff;font:inherit;font-size:12.5px;font-weight:700;cursor:pointer}
@media (max-width:900px){.cc-midias__grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:640px){.cc-midias{padding:16px}.cc-midias__grid{grid-template-columns:minmax(0,1fr)}}
/* E-BI-RELATORIOS (#9; D012 3189-3200): BI › Relatórios, one card per report with its CSV/PDF buttons and the table preview. */
.cc-dash__bi-report-head{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:10px}.cc-dash__bi-report-names{min-width:0;flex:1 1 220px}.cc-dash__bi-report-names .cc-dash__card-title{margin:0 0 4px}
.cc-dash__bi-report-actions{display:flex;gap:6px;flex:none}.cc-dash__bi-report-button{height:28px;padding:0 11px;border:1px solid #DCE6E2;border-radius:7px;background:#F6FAF8;color:#0E6B5B;font:inherit;font-size:11.5px;font-weight:800;cursor:pointer}.cc-dash__bi-report-button:disabled{opacity:.5;cursor:not-allowed}
.cc-dash__bi-report-status{font-size:12px;margin:8px 0 0;color:#0E6B5B;overflow-wrap:anywhere}.cc-dash__bi-report-status[data-download=error]{color:#9E2B2F}
.cc-dash__bi-report-meta{display:grid;grid-template-columns:max-content minmax(0,1fr);gap:3px 12px;margin:12px 0;font-size:12px}.cc-dash__bi-report-label{color:#5F6B7A;font-weight:700}.cc-dash__bi-report-value{margin:0;overflow-wrap:anywhere}.cc-dash__bi-report-value[data-complete=false]{color:#9E2B2F;font-weight:700}
.cc-dash__bi-report-scroll{overflow-x:auto;max-width:100%;margin:6px 0}.cc-dash__bi-td[data-kind=text],.cc-dash__bi-th[data-kind=text]{text-align:left}
/* E-HOME-FECHO (#9; D012 3128-3149, 3187-3188): read time + "Atualizar agora", "Limpar filtros", "Exportar relatório", the
   dismissible notice, "90 dias" and "Personalizado" with its two dates (D012 tokens: #EEF0F2 bar, #128A76 export, #FBF7EE notice). */
/* E-HOME-FIX-BAR (review r2 P2): the read-time bar has its own class; .cc-dash__bi-bar is only a chart bar (Visão geral). */
.cc-dash__bi-readbar{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin:0 0 14px;padding:10px 14px;background:#EEF0F2;border:1px solid #DCE0E5;border-radius:10px;font-size:12.5px;color:#5F6B7A}
.cc-dash__bi-fresh{flex:1 1 220px;min-width:0;font-weight:700}
.cc-dash__bi-refresh{min-height:24px;border:none;background:transparent;padding:0;font:inherit;font-size:12.5px;font-weight:700;color:var(--link,#0E7060);text-decoration:underline;cursor:pointer}.cc-dash__bi-refresh:disabled{color:#98A2B3;text-decoration:none;cursor:default}
.cc-dash__bi-clear{height:30px;padding:0 12px;border:1px solid #E0E3E8;border-radius:8px;background:#fff;color:#9E2B2F;font:inherit;font-size:11.5px;font-weight:700;cursor:pointer}
.cc-dash__bi-export{height:32px;padding:0 13px;border:none;border-radius:9px;background:#128A76;color:#fff;font:inherit;font-size:12px;font-weight:700;cursor:pointer}.cc-dash__bi-export:disabled{background:#DCE0E5;color:#5F6B7A;cursor:default}
.cc-dash__bi-aviso{display:flex;align-items:center;gap:9px;margin:0 0 14px;padding:9px 12px;background:#FBF7EE;border:1px solid #EBD9A8;border-radius:10px;font-size:11.5px;color:#7A5A10}.cc-dash__bi-aviso-text{flex:1;min-width:0}
.cc-dash__bi-aviso-close{flex:none;width:24px;height:24px;border:none;border-radius:6px;background:transparent;color:#7A5A10;font:inherit;cursor:pointer}
.cc-dash__bi-custom{display:inline-flex;flex-wrap:wrap;align-items:center;gap:6px;flex-basis:100%}.cc-dash__bi-custom-label{font-size:11.5px;font-weight:700;color:#5F6B7A}
.cc-dash__bi-date{height:32px;padding:0 9px;border:1px solid #CBD3DA;border-radius:9px;background:#fff;font:inherit;font-size:12px;color:#1B1F24;box-sizing:border-box}
.cc-dash__bi-apply{height:32px;padding:0 12px;border:none;border-radius:9px;background:#2557C7;color:#fff;font:inherit;font-size:12px;font-weight:700;cursor:pointer}
.cc-dash__bi-range-error{flex-basis:100%;font-size:11.5px;font-weight:700;color:#9E2B2F}.cc-dash__bi-custom-hint{flex-basis:100%;font-size:11px;color:#98A2B3}
.cc-dash__bi-fixed-note{flex-basis:100%;font-size:11px;color:#5F6B7A}
/* E-BI-RET (#9): the office's return window of "recorrente" in BI › Pessoas (administrator control; attendant read-only). */
.cc-dash__bi-recurrence-form{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:6px 0 0}.cc-dash__bi-recurrence-label,.cc-dash__bi-recurrence-unit{font-size:12px;font-weight:700;color:#5F6B7A}
.cc-dash__bi-recurrence-input{width:88px;height:32px;padding:0 9px;border:1px solid #CBD3DA;border-radius:9px;background:#fff;font:inherit;font-size:12px;color:#1B1F24;box-sizing:border-box}
.cc-dash__bi-recurrence-save{height:32px;padding:0 12px;border:none;border-radius:9px;background:#2557C7;color:#fff;font:inherit;font-size:12px;font-weight:700;cursor:pointer}.cc-dash__bi-recurrence-save:disabled{background:#DCE0E5;color:#5F6B7A;cursor:default}
.cc-dash__bi-recurrence-current{margin:4px 0 0;font-size:12.5px;font-weight:700;color:#1B1F24;overflow-wrap:anywhere}.cc-dash__bi-recurrence-status{margin:6px 0 0;font-size:11.5px;color:#5F6B7A;overflow-wrap:anywhere}.cc-dash__bi-recurrence-status[data-save=error]{color:#9E2B2F;font-weight:700}
.cc-dash__bi-recurrence-input:focus-visible,.cc-dash__bi-recurrence-save:focus-visible{outline:2px solid #2557C7;outline-offset:2px}
.cc-dash__bi-refresh:focus-visible,.cc-dash__bi-clear:focus-visible,.cc-dash__bi-export:focus-visible,.cc-dash__bi-apply:focus-visible,.cc-dash__bi-date:focus-visible,.cc-dash__bi-aviso-close:focus-visible{outline:2px solid #2557C7;outline-offset:2px}
/* E-HOME-FECHO (D-R6; D012 2661-2689): "Recarregar" in the head and the offline banner over the last known reading. */
.cc-dash__head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-wrap:wrap}.cc-dash__head-titles{min-width:0;flex:1 1 280px}
.cc-dash__head-reload{flex:none;height:30px;padding:0 12px;border:1px solid #E5E7EB;border-radius:8px;background:#fff;color:#5F6B7A;font:inherit;font-size:11.5px;font-weight:800;cursor:pointer}.cc-dash__head-reload:disabled{color:#98A2B3;cursor:default}
.cc-dash__stale{display:flex;align-items:center;gap:10px;max-width:720px;padding:10px 13px;margin:0 0 16px;background:#FBF7EE;border:1px solid #EBD9A8;border-radius:10px}.cc-dash__stale-text{flex:1;font-size:11.5px;color:#7A5A10;line-height:1.45}
.cc-dash__stale-retry{flex:none;height:28px;padding:0 11px;border:1px solid #EBD9A8;border-radius:7px;background:#fff;color:#7A5A10;font:inherit;font-size:11px;font-weight:800;cursor:pointer}
.cc-dash__head-reload:focus-visible,.cc-dash__stale-retry:focus-visible,.cc-dash__reload:focus-visible{outline:2px solid #2557C7;outline-offset:2px}
/* E-BIB-1 (#12/#10, F12): the office library (Mídias › Biblioteca do escritório and the composer's D012 "Biblioteca de mídias" panel). */
.cc-library__manager{max-width:1040px;margin:16px 0 18px;padding:14px 16px;background:#fff;border:1px solid #E5E7EB;border-radius:12px;box-sizing:border-box}
.cc-library__title{font-size:15px;font-weight:800;margin:0}.cc-library__subtitle{font-size:12.5px;color:#5F6B7A;margin:2px 0 10px}
.cc-library__upload{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:12px}.cc-library__description{flex:1;min-width:220px;max-width:420px;height:38px;padding:0 12px;border:1px solid #E0E3E8;border-radius:10px;font:inherit;font-size:13px;color:#1B1F24;box-sizing:border-box}
.cc-library__upload-button{height:38px;padding:0 15px;border:none;border-radius:10px;background:#0E6B5B;color:#fff;font:inherit;font-size:12.5px;font-weight:700;cursor:pointer}.cc-library__limit{font-size:11px;color:#5F6B7A}
.cc-library__list,.cc-library__picker-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}.cc-library__row{display:flex;align-items:center;gap:10px;padding:8px;border:1px solid #EEF0F2;border-radius:10px}
.cc-library__badge{flex:none;width:34px;height:30px;border-radius:7px;background:#E1F2EE;color:#0E6B5B;display:grid;place-items:center;font-size:9px;font-weight:800}.cc-library__row-body{flex:1;min-width:0}
.cc-library__name{margin:0;font-size:12.5px;font-weight:700;overflow-wrap:anywhere}.cc-library__meta{margin:0;font-size:11.5px;color:#5F6B7A;overflow-wrap:anywhere}.cc-library__row-actions{display:flex;gap:6px}
.cc-library__action{height:32px;padding:0 12px;border:1px solid #CBD3DA;border-radius:8px;background:#fff;color:#1B1F24;font:inherit;font-size:12px;font-weight:700;cursor:pointer}.cc-library__action--danger{color:#9E2B2F;border-color:#E8B4B6}
.cc-library__notice,.cc-library__status,.cc-library__picker-status,.cc-library__picker-caption{font-size:12px;color:#5F6B7A;margin:8px 0 0}.cc-library__confirm{margin-top:12px;padding:12px;border:1px solid #E8B4B6;border-radius:10px;background:#fff}
.cc-library__confirm-text{font-size:13px;color:#5F6B7A;margin:6px 0 10px}.cc-library__confirm-remove{height:36px;padding:0 16px;border:none;border-radius:10px;background:#B3262B;color:#fff;font:inherit;font-weight:800;cursor:pointer;margin-left:8px}
.cc-library__picker{width:300px;max-width:calc(100vw - 32px);border:1px solid #E5E7EB;border-radius:12px;padding:10px;font-family:Inter,sans-serif}.cc-library__picker-head{display:flex;justify-content:space-between;align-items:center}
.cc-library__picker-title{font-size:11px;font-weight:800;color:#5F6B7A;text-transform:uppercase}.cc-library__pick{display:flex;align-items:center;gap:9px;width:100%;padding:8px;border:none;border-radius:8px;background:#fff;text-align:left;font:inherit;font-size:12.5px;color:#1B1F24;cursor:pointer;flex-wrap:wrap}
.cc-library__pick:hover,.cc-library__pick:focus-visible{background:#F4F5F7}.cc-library__file{font-size:12px}

/* E-BI-RESPONSE-DETAIL: retain chart geometry; native button covers the entire column. */
.cc-dash__bi-bar-open{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:4px;height:100%;width:100%;min-width:26px;padding:0;border:0;background:transparent;color:inherit;font:inherit;cursor:pointer;border-radius:6px}.cc-dash__bi-bar-open:focus-visible{outline:2px solid #1D4ED8;outline-offset:-2px}
.cc-dash__bi-response-detail{box-sizing:border-box;width:360px;max-width:92vw;max-height:85vh;overflow:auto;padding:20px;border:1px solid #EDEEF1;border-radius:15px;background:#fff;color:#1B1F24;box-shadow:0 24px 60px #14192347;font-family:Inter,sans-serif}.cc-dash__bi-response-detail::backdrop{background:#14192357}
.cc-dash__bi-response-rows{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;margin:14px 0;font-size:12.5px}.cc-dash__bi-response-label,.cc-dash__bi-response-value{margin:0;padding:9px 8px;background:#F8F9FA;border-radius:6px;overflow-wrap:anywhere}.cc-dash__bi-response-value{text-align:right;font-weight:700}.cc-dash__bi-response-close{width:100%;min-height:38px;padding:8px 12px;border:0;border-radius:9px;background:#12161C;color:#fff;font:700 13px Inter,sans-serif;cursor:pointer}.cc-dash__bi-response-close:focus-visible{outline:3px solid #1D4ED8;outline-offset:3px}

.cc-dash__bi-response-detail .cc-dash__bi-source{margin:12px 0 14px;line-height:1.45}

/* BI scoped comparisons retain the existing chart and responsive shell. */
.cc-dash__bi-select{max-width:100%;min-height:34px;padding:6px 9px;border:1px solid #CBD3DA;border-radius:8px;background:#fff;color:#1B1F24;font:inherit}.cc-dash__bi-weekdays{display:flex;align-items:center;gap:6px;font-size:12px;color:#344054}.cc-dash__bi-select:focus-visible,.cc-dash__bi-weekdays input:focus-visible{outline:2px solid #1D4ED8;outline-offset:2px}
.cc-dash__bi-comparison-table{width:100%;table-layout:fixed;border-collapse:collapse;font-size:12px}.cc-dash__bi-comparison-table th,.cc-dash__bi-comparison-table td{padding:8px 4px;text-align:left;border-bottom:1px solid #E4E7EC;overflow-wrap:anywhere}.cc-dash__bi-series-title{font-size:12px;line-height:1.5;color:#475467}.cc-dash__bi-bars[data-comparison="B"] .cc-dash__bi-bar{background:#667085}

.cc-dash__bi-comparison-table thead th:first-child{width:34%}.cc-dash__bi-comparison-table thead th:last-child{width:28%}
