/* OT3: the reference's revenue highlight, period summary, offers and history using existing data. */
.ci-theme.has-sidebar .intel-onboarding { margin-bottom:20px; padding:20px; border-radius:16px; background:var(--ci-app-glass); box-shadow:var(--ci-app-elevation); backdrop-filter:blur(12px); }
.ci-theme.has-sidebar .intel-onboarding[hidden], .ci-theme.has-sidebar .intel-onboarding-restore[hidden] { display:none; }
.ci-theme.has-sidebar .intel-onboarding__head { display:flex; align-items:center; gap:16px; margin-bottom:20px; }
.ci-theme.has-sidebar .intel-onboarding__head h2 { margin:0; font-size:1.125rem; }
.ci-theme.has-sidebar .intel-onboarding__head > .intel-btn { margin-left:auto; }
.ci-theme.has-sidebar .intel-onboarding__progress { display:flex; align-items:center; gap:12px; color:var(--ci-muted); font-size:.875rem; font-variant-numeric:tabular-nums; }
.ci-theme.has-sidebar .intel-onboarding progress { width:88px; height:6px; border:0; border-radius:999px; overflow:hidden; background:var(--ci-raised); accent-color:var(--ci-cyan); }
.ci-theme.has-sidebar .intel-onboarding progress::-webkit-progress-bar { background:var(--ci-raised); }
.ci-theme.has-sidebar .intel-onboarding progress::-webkit-progress-value { background:var(--ci-cyan); }
.ci-theme.has-sidebar .intel-onboarding progress::-moz-progress-bar { background:var(--ci-cyan); }
.ci-theme.has-sidebar .intel-onboarding__steps { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:20px; margin:0; padding:0; list-style:none; }
.ci-theme.has-sidebar .intel-onboarding__steps li { display:flex; align-items:flex-start; gap:10px; min-width:0; }
.ci-theme.has-sidebar .intel-onboarding__steps li > .msr { color:var(--ci-muted); font-size:22px; flex:none; padding-top:2px; }
.ci-theme.has-sidebar .intel-onboarding__steps [data-state="done"] > .msr { color:var(--ci-success); }
.ci-theme.has-sidebar .intel-onboarding__steps [aria-current="step"] > .msr { color:var(--ci-cyan); }
.ci-theme.has-sidebar .intel-onboarding__text { display:flex; flex-direction:column; align-items:flex-start; gap:8px; min-width:0; }
.ci-theme.has-sidebar .intel-onboarding h3 { font-size:.875rem; font-weight:600; line-height:1.5; margin:0; color:var(--ci-text); }
.ci-theme.has-sidebar .intel-onboarding__status { color:var(--ci-muted); font-size:.75rem; line-height:1.5; }
.ci-theme.has-sidebar .intel-onboarding [aria-current="step"] .intel-onboarding__status { color:var(--ci-cyan); }
.ci-theme.has-sidebar .intel-onboarding .intel-btn { border-radius:999px; min-height:44px; font-size:.75rem; padding:8px 12px; white-space:normal; text-align:center; }
.ci-theme.has-sidebar .intel-onboarding .intel-btn:not(.intel-btn--primary) { background:var(--ci-raised); color:var(--ci-text); border-color:var(--ci-line); }
.ci-theme.has-sidebar .intel-onboarding-restore { display:flex; justify-content:flex-end; }
.ci-theme.has-sidebar .intel-onboarding-restore .intel-btn { color:var(--ci-muted); background:none; border-color:transparent; font-size:.875rem; min-height:44px; }
@media (max-width:1099px) {
  .ci-theme.has-sidebar .intel-onboarding__steps { grid-template-columns:1fr; gap:16px; }
  .ci-theme.has-sidebar .intel-onboarding__text { display:grid; grid-template-columns:minmax(0,1fr) auto; width:100%; }
  .ci-theme.has-sidebar .intel-onboarding__status { grid-column:1; }
  .ci-theme.has-sidebar .intel-onboarding__text > a { grid-column:2; grid-row:1 / span 2; align-self:center; max-width:145px; }
}
@media (max-width:620px) {
  .ci-theme.has-sidebar .intel-onboarding { padding:18px; }
  .ci-theme.has-sidebar .intel-onboarding__head { flex-wrap:wrap; gap:8px 12px; }
  .ci-theme.has-sidebar .intel-onboarding__progress { order:3; width:100%; }
  .ci-theme.has-sidebar .intel-onboarding__text { display:flex; }
  /* OT15 E8: under its step, on one line ("Conectar Mercado Livre" was squeezed to 145 px and centred). */
  .ci-theme.has-sidebar .intel-onboarding__text > a { align-self:flex-start; max-width:none; }
}
.ci-theme.has-sidebar .intel-perf {
  --ci-overview-end:color-mix(in srgb,var(--ci-cyan) 43%,var(--ci-space));
  background:none; border:0; box-shadow:none; padding:0; gap:14px;
  --viz-1:var(--ci-cyan);
}
:root[data-theme="light"] .ci-theme.has-sidebar .intel-perf { --ci-overview-end:var(--ci-cyan); }
.ci-theme.has-sidebar .intel-perf__head { display:contents; }
.ci-theme.has-sidebar .intel-perf__head > h2 { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); }
.ci-theme.has-sidebar .intel-performance-grid { display:grid; grid-template-columns:minmax(0,1.8fr) minmax(310px,1fr); gap:20px; }
.ci-theme.has-sidebar .intel-kpis2 { margin:0; border:0; overflow:visible; }
.ci-theme.has-sidebar .intel-kpis2--hero { display:block; min-width:0; border-radius:16px; background:linear-gradient(115deg,var(--ci-action),var(--ci-overview-end)); color:var(--ci-on-action); }
.ci-theme.has-sidebar .intel-kpi2--revenue { display:flex; flex-direction:column; align-items:flex-start; height:100%; padding:30px; gap:18px; }
.ci-theme.has-sidebar .intel-kpi2--revenue dt { font-size:1rem; color:var(--ci-on-action); font-weight:600; }
.ci-theme.has-sidebar .intel-kpi2--revenue > dd:first-of-type { display:flex; flex-wrap:wrap; gap:16px; align-items:center; }
.ci-theme.has-sidebar .intel-kpi2--revenue dd strong { font-size:3.5rem; color:var(--ci-on-action); letter-spacing:-.035em; font-weight:800; white-space:normal; overflow-wrap:anywhere; line-height:1.12; }
.ci-theme.has-sidebar .intel-kpi2--revenue .intel-delta { padding:6px 10px; border-radius:999px; color:var(--ci-on-action); background:color-mix(in srgb,var(--ci-space) 55%,var(--ci-action)); font-size:.8rem; }
:root[data-theme="light"] .ci-theme.has-sidebar .intel-kpi2--revenue .intel-delta { background:var(--ci-action-hover); }
.ci-theme.has-sidebar .intel-kpi2--revenue .intel-perf__today { margin:0; color:var(--ci-on-action); font-size:.875rem; }
.ci-theme.has-sidebar .intel-kpi2--revenue .intel-btn { border-color:transparent; background:var(--ci-on-action); color:var(--ci-action-hover); min-height:40px; padding:9px 16px; border-radius:999px; }
.ci-theme.has-sidebar .intel-kpi2--revenue .intel-btn:hover { background:color-mix(in srgb,var(--ci-on-action) 90%,var(--ci-cyan)); }
.ci-theme.has-sidebar .intel-today-share { display:grid; gap:7px; width:100%; color:var(--ci-on-action); font-size:.75rem; line-height:1.5; }
.ci-theme.has-sidebar .intel-today-share meter { display:block; width:100%; height:9px; border:0; border-radius:999px; background:color-mix(in srgb,var(--ci-on-action) 22%,transparent); }
.ci-theme.has-sidebar .intel-today-share meter::-webkit-meter-bar { background:color-mix(in srgb,var(--ci-on-action) 22%,transparent); border:0; height:9px; border-radius:999px; }
.ci-theme.has-sidebar .intel-today-share meter::-webkit-meter-optimum-value { background:var(--ci-on-action); border-radius:999px; }
.ci-theme.has-sidebar .intel-today-share meter::-moz-meter-bar { background:var(--ci-on-action); border-radius:999px; }
.ci-theme.has-sidebar .intel-perf-summary { display:grid; align-content:start; gap:18px; padding:20px; border-radius:16px; background:var(--ci-app-glass); box-shadow:var(--ci-app-elevation); min-width:0; }
.ci-theme.has-sidebar .intel-perf-summary .intel-segmented { display:flex; width:100%; }
.ci-theme.has-sidebar .intel-perf-summary .intel-segmented button { flex:1; }
.ci-theme.has-sidebar .intel-kpis2--summary { display:grid; grid-template-columns:1fr; }
.ci-theme.has-sidebar .intel-kpis2--summary .intel-kpi2 { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:3px 12px; padding:12px 0; border:0; border-top:1px solid var(--ci-app-edge); }
.ci-theme.has-sidebar .intel-kpis2--summary .intel-kpi2:first-child { border-top:0; padding-top:0; }
.ci-theme.has-sidebar .intel-kpis2--summary .intel-kpi2:last-child { padding-bottom:0; }
.ci-theme.has-sidebar .intel-kpis2--summary dt { display:flex; align-items:center; gap:8px; color:var(--ci-muted); font-size:.8rem; }
.ci-theme.has-sidebar .intel-kpis2--summary dt .msr { display:grid; place-items:center; width:32px; height:32px; border-radius:9px; background:var(--ci-raised); color:var(--ci-cyan); font-size:18px; }
.ci-theme.has-sidebar .intel-kpis2--summary dd { justify-content:flex-end; align-items:center; }
.ci-theme.has-sidebar .intel-kpis2--summary dd strong { font-size:1rem; white-space:normal; overflow-wrap:anywhere; }
.ci-theme.has-sidebar .intel-kpis2--summary .intel-kpi2__note { grid-column:1/-1; font-size:.75rem; padding-left:40px; justify-content:flex-start; }
.ci-theme.has-sidebar .intel-kpis2--summary .intel-delta { font-size:.75rem; }
.ci-theme.has-sidebar .intel-revenue__slot { background:none; padding:0; box-shadow:none; }
.ci-theme.has-sidebar .intel-revenue__slot:empty { display:none; }
.ci-theme.has-sidebar .intel-revenue-disclosure { padding:12px 0; }
.ci-theme.has-sidebar .intel-revenue-disclosure > summary { width:fit-content; color:var(--ci-cyan); cursor:pointer; font-size:.875rem; font-weight:600; }
.ci-theme.has-sidebar .intel-revenue-disclosure[open] > summary { margin-bottom:14px; }
.ci-theme.has-sidebar .intel-revenue { margin:0; }
.ci-theme.has-sidebar .intel-revenue__axis { font-size:12px; fill:var(--ci-muted); }
.ci-theme.has-sidebar .intel-perf__foot { padding:0 4px; }
.ci-theme.has-sidebar .intel-overview__pair { --viz-1:var(--ci-cyan); }
.ci-theme.has-sidebar .intel-overview__slot { min-width:0; }
.ci-theme.has-sidebar .intel-overview__side { padding:24px; }
.ci-theme.has-sidebar .intel-rank li { grid-template-columns:auto minmax(0,1fr) auto; gap:12px; align-items:start; padding:16px 0; }
.ci-theme.has-sidebar .intel-rank li::before, .ci-theme.has-sidebar .intel-rank__name::before { display:none; }
.ci-theme.has-sidebar .intel-rank li > .msr { display:grid; place-items:center; width:38px; height:38px; border-radius:11px; background:var(--ci-raised); color:var(--ci-cyan); font-size:20px; }
.ci-theme.has-sidebar .intel-rank__name > a, .ci-theme.has-sidebar .intel-rank__name > span:first-child { font-size:.875rem; }
.ci-theme.has-sidebar .intel-rank__value { min-width:0; }
.ci-theme.has-sidebar .intel-rank__value strong { font-size:1rem; }
@media (max-width:900px) {
  .ci-theme.has-sidebar .intel-performance-grid { grid-template-columns:1fr; }
  .ci-theme.has-sidebar .intel-kpi2--revenue { min-height:300px; }
}
@media (max-width:620px) {
  .ci-theme.has-sidebar .intel-kpi2--revenue { padding:24px 20px; gap:16px; min-height:320px; }
  .ci-theme.has-sidebar .intel-kpi2--revenue dd strong { font-size:2.5rem; }
  .ci-theme.has-sidebar .intel-overview__side { padding:18px; }
  .ci-theme.has-sidebar .intel-rank li { grid-template-columns:auto minmax(0,1fr); }
  .ci-theme.has-sidebar .intel-rank__value { grid-column:2; justify-items:start; }
}
@media (prefers-reduced-motion:reduce) {
}
/* OT7: the shape of the numbers while they are read (intel-overview.js performance). */
.intel-perf__skeleton { margin-top:12px; }
.intel-perf__skeleton-row { display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:12px; }
@media (max-width:620px) { .intel-perf__skeleton-row { grid-template-columns:repeat(2, minmax(0,1fr)); } }

/* OT10: the first steps in one line once begun; the whole list behind "Ver todos os passos". */
.ci-theme.has-sidebar .intel-onboarding[data-compact] { padding:14px 18px; }
.ci-theme.has-sidebar .intel-onboarding[data-compact] .intel-onboarding__head { flex-wrap:wrap; margin-bottom:0; }
.ci-theme.has-sidebar .intel-onboarding__next { display:flex; flex-wrap:wrap; gap:4px; margin:0 0 0 8px; color:var(--ci-muted); font-size:.875rem; }
.ci-theme.has-sidebar .intel-onboarding__next strong { color:var(--ci-text); font-weight:600; }
.ci-theme.has-sidebar .intel-onboarding[data-compact] .intel-onboarding__head > .intel-btn--primary { margin-left:auto; }
.ci-theme.has-sidebar .intel-onboarding[data-compact] .intel-onboarding__head > .intel-btn--primary + .intel-btn { margin-left:0; }
.ci-theme.has-sidebar .intel-onboarding__all { margin-top:12px; }
.ci-theme.has-sidebar .intel-onboarding__all > summary { cursor:pointer; color:var(--ci-cyan); font-size:.8125rem; font-weight:600; min-height:32px; display:flex; align-items:center; }
.ci-theme.has-sidebar .intel-onboarding__all[open] > summary { margin-bottom:16px; }
/* OT17 E2: "Convix Agent · hoje", the Agent speaking first: up to three things for today, one button each, what the
   Convix did in the last 24 hours and the question to Convix, in one card on the first screen. */
.ci-theme.has-sidebar .ci-today { position:relative; margin:0 0 20px; padding:20px 24px 18px; border-radius:16px; background:var(--ci-app-glass); box-shadow:var(--ci-app-elevation); overflow:hidden; }
.ci-theme.has-sidebar .ci-today::before { content:""; position:absolute; inset:0 0 auto; height:2px; background:linear-gradient(90deg,var(--ci-cyan),var(--ci-action) 55%,transparent); }
.ci-theme.has-sidebar .ci-today__head { display:flex; align-items:center; gap:8px; color:var(--ci-muted); font-size:.8125rem; font-weight:600; }
.ci-theme.has-sidebar .ci-today__mark { display:grid; place-items:center; width:28px; height:28px; border-radius:9px; background:var(--ci-info-bg); color:var(--ci-cyan); }
.ci-theme.has-sidebar .ci-today__mark .msr { font-size:18px; }
.ci-theme.has-sidebar .ci-today__title { margin:10px 0 4px; color:var(--ci-text); font-size:1.25rem; line-height:1.35; letter-spacing:-.01em; }
.ci-theme.has-sidebar .ci-today__list { display:grid; margin:0; padding:0; list-style:none; }
.ci-theme.has-sidebar .ci-today__list > li { display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:14px; padding:12px 0; border-top:1px solid var(--ci-line); }
.ci-theme.has-sidebar .ci-today__list > li:first-child { border-top:0; }
.ci-theme.has-sidebar .ci-today__list > li > .msr { display:grid; place-items:center; width:38px; height:38px; border-radius:12px; background:var(--ci-info-bg); color:var(--ci-cyan); font-size:20px; }
.ci-theme.has-sidebar .ci-today__list > li[data-tone="danger"] > .msr { background:var(--ci-danger-bg-soft, var(--ci-danger-bg)); color:var(--ci-danger); }
.ci-theme.has-sidebar .ci-today__list > li[data-tone="warning"] > .msr { background:var(--ci-warning-bg); color:var(--ci-warning); }
.ci-theme.has-sidebar .ci-today__list > li[data-tone="success"] > .msr { background:var(--ci-success-bg); color:var(--ci-success); }
.ci-theme.has-sidebar .ci-today__text { display:grid; gap:3px; min-width:0; }
.ci-theme.has-sidebar .ci-today__text strong { color:var(--ci-text); font-size:.9375rem; line-height:1.4; }
.ci-theme.has-sidebar .ci-today__names { color:var(--ci-muted); font-size:.8125rem; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.ci-theme.has-sidebar .ci-today__tags { display:flex; flex-wrap:wrap; align-items:center; gap:6px; }
.ci-theme.has-sidebar .ci-today__tags .intel-gain { margin:0; }
.ci-theme.has-sidebar .ci-today__list .intel-btn { border-radius:999px; min-width:104px; min-height:40px; transition:transform .16s ease, background-color .16s ease, border-color .16s ease; }
.ci-theme.has-sidebar .ci-today__list .intel-btn:hover { transform:translateY(-1px); }
.ci-theme.has-sidebar .ci-today__list .intel-btn:active { transform:scale(.98); }
.ci-theme.has-sidebar .ci-today__recent { display:flex; align-items:flex-start; gap:8px; max-width:none; margin:4px 0 0;padding-top:12px; border-top:1px solid var(--ci-line); color:var(--ci-muted); font-size:.8125rem; line-height:1.5; }
.ci-theme.has-sidebar .ci-today__recent .msr { font-size:17px; color:var(--ci-cyan); }
.ci-theme.has-sidebar .ci-today .intel-ask { margin:14px 0 0; }
.ci-theme.has-sidebar .ci-today__more { margin:12px 0 0; font-size:.875rem; }
.ci-theme.has-sidebar .ci-today__more a { color:var(--ci-cyan); font-weight:600; text-decoration:none; }
.ci-theme.has-sidebar .ci-today__more a::after { content:"\a0→" / ""; }
.ci-theme.has-sidebar .ci-today__more a:hover { text-decoration:underline; }
.ci-theme.has-sidebar .ci-today__more a:focus-visible { outline:2px solid var(--ci-focus); outline-offset:2px; border-radius:4px; }
@media (prefers-reduced-motion:no-preference) {
  .ci-theme.has-sidebar .ci-today { animation:ci-today-rise .45s cubic-bezier(.2,.8,.2,1) both; }
  .ci-theme.has-sidebar .ci-today__list > li { animation:ci-today-item .38s cubic-bezier(.2,.8,.2,1) both; animation-delay:calc(var(--i, 0) * 70ms + 120ms); }
}
@keyframes ci-today-rise { from { opacity:0; transform:translateY(10px); } to { opacity:1; transform:none; } }
@keyframes ci-today-item { from { opacity:0; transform:translateY(6px); } to { opacity:1; transform:none; } }
@media (prefers-reduced-motion:reduce) {
  .ci-theme.has-sidebar .ci-today__list .intel-btn { transition:none; }
  .ci-theme.has-sidebar .ci-today__list .intel-btn:hover, .ci-theme.has-sidebar .ci-today__list .intel-btn:active { transform:none; }
}
@media (max-width:620px) {
  .ci-theme.has-sidebar .ci-today { padding:18px 16px 16px; }
  .ci-theme.has-sidebar .ci-today__title { font-size:1.125rem; }
  .ci-theme.has-sidebar .ci-today__list > li { grid-template-columns:auto minmax(0,1fr); gap:8px 12px; padding:10px 0; }
  .ci-theme.has-sidebar .ci-today__list > li > .msr { width:34px; height:34px; font-size:18px; }
  .ci-theme.has-sidebar .ci-today__list .intel-btn { grid-column:2; justify-self:start; }
  .ci-theme.has-sidebar .intel-onboarding__next { margin-left:0; width:100%; order:4; }
}
