/* ==========================================================================
   Reportes: reporte de campañas vs. reporte de negocio, con notas manuscritas.
   ========================================================================== */

.report-sec .h2 {
  max-width: 20ch;
}
.report {
  margin-top: clamp(40px, 5vw, 64px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  overflow: hidden;
}
.r-q {
  padding: clamp(24px, 3.4vw, 44px);
  background: var(--sunk);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.r-q small {
  font-size: 0.8125rem;
  color: var(--ink-3);
}
.r-q h3 {
  font-size: clamp(1.375rem, 1.1rem + 1vw, 1.875rem);
  letter-spacing: -0.02em;
  margin-top: 6px;
}
.answer {
  margin-top: auto;
  display: grid;
}
.answer > div {
  grid-area: 1/1;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  transition:
    opacity 260ms var(--ease-out),
    filter 260ms var(--ease-out),
    transform 300ms var(--ease-out);
}
.answer .i {
  font-size: 22px;
  margin-top: 2px;
}
.answer p {
  font: 600 1.0625rem/1.4 var(--f-display);
}
.answer .no .i {
  color: var(--coral);
}
.answer .yes .i {
  color: var(--mint);
}
.seg {
  position: relative;
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  padding: 4px;
  border-radius: 999px;
  background: var(--sunk);
  isolation: isolate;
}
.seg::before {
  content: '';
  position: absolute;
  z-index: -1;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc(50% - 4px);
  border-radius: 999px;
  background: var(--surface);
  box-shadow:
    0 1px 2px rgba(36, 40, 77, 0.12),
    0 4px 12px -4px rgba(36, 40, 77, 0.2);
  transition: transform 320ms var(--ease-out);
}
.seg[data-v='biz']::before {
  transform: translateX(100%);
}
.seg button {
  border: 0;
  background: transparent;
  color: var(--ink-3);
  font: 500 0.9375rem/1 var(--f-body);
  padding: 12px 18px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 200ms ease;
}
.seg button[aria-pressed='true'] {
  color: var(--ink);
}
.r-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 28px 0 8px;
  font-size: 0.8125rem;
  color: var(--ink-3);
}
.rows {
  display: grid;
}
.rows ul {
  grid-area: 1/1;
  list-style: none;
  margin: 0;
  padding: 0;
  transition:
    opacity 260ms var(--ease-out),
    filter 260ms var(--ease-out),
    transform 300ms var(--ease-out);
}
.rows li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.rows li:last-child {
  border-bottom: 0;
}
.rows li span {
  color: var(--ink-2);
}
.rows li b {
  font: 700 1.25rem/1 var(--f-display);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.rows li em {
  font-style: normal;
  font-size: 0.8125rem;
  color: var(--ink-3);
  margin-left: 8px;
  font-family: var(--f-body);
  font-weight: 500;
}
.rows li em.up {
  color: var(--mint);
}
.report + .note {
  margin-top: 14px;
}
.hand {
  color: var(--coral);
  font: 600 clamp(1.375rem, 1.15rem + 0.7vw, 1.75rem)/1 var(--f-hand);
  pointer-events: none;
  display: flex;
  align-items: flex-start;
  gap: 4px;
}
.hand svg {
  width: 56px;
  height: 48px;
  flex: none;
  overflow: visible;
}
.hand path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 120;
  stroke-dashoffset: 120;
  transition: stroke-dashoffset 480ms var(--ease-out);
}
.hand span {
  display: inline-block;
  white-space: nowrap;
  padding: 0.1em 0.1em 0.2em 0;
  transform: rotate(-3deg);
  clip-path: inset(-20% 100% -30% 0);
  transition: clip-path 1100ms cubic-bezier(0.45, 0.05, 0.4, 1);
}
.hand.show span {
  clip-path: inset(-20% -6% -30% -2%);
}
.hand.show path {
  stroke-dashoffset: 0;
  transition-delay: 1000ms;
}
.hand.show path + path {
  transition-delay: 1400ms;
  transition-duration: 240ms;
}
.hand.gone {
  opacity: 0;
  transition: opacity 200ms ease;
}
.hand1 {
  left: calc(clamp(24px, 3.4vw, 44px) + 228px);
}
.hand2 {
  margin-top: auto;
  padding-left: 20px;
}
.hand2 + .answer {
  margin-top: 0;
}
.hand2 span {
  margin-top: 8px;
}
.hand2 svg {
  width: 64px;
  height: 56px;
}
@media (max-width: 640px) {
  .hand1 {
    left: clamp(24px, 3.4vw, 44px);
  }
  .hand1 svg {
    order: 2;
    margin-top: 14px;
  }
}
.r-main {
  position: relative;
  padding: clamp(24px, 3.4vw, 44px);
  padding-top: clamp(24px, 3.4vw, 44px);
}
.hand1 {
  position: relative;
  top: auto !important;
  left: auto !important;
  margin: 12px 0 -10px;
  align-items: flex-end;
  gap: 2px;
  max-width: 100%;
}
.hand1 span {
  white-space: normal;
}
.hand1 svg {
  order: 0 !important;
  margin-top: 0 !important;
  width: 52px;
  height: 46px;
}
@media (max-width: 640px) {
  .hand {
    font-size: 1.25rem;
  }
  .seg {
    display: grid;
    width: 100%;
  }
}
@media (max-width: 960px) {
  .report {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 640px) {
  .seg button {
    padding: 11px 12px;
    font-size: 0.875rem;
  }
}
