/* Motor Age · subpáginas
   ======================
   Execução, Aprovações e Rotinas usam a casca comum dos motores, mas ganham
   uma gramática operacional própria: trilha cheia para trabalho liberado,
   tracejado para espera, vermelho para bloqueio e verde para entrega. */

html.mix-agesub-doc-route,
html.mix-agesub-doc-route body { background: #fdfdfb !important; }

.mix-age-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  opacity: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.mix-agesub-page {
  --agesub-ink: #16033a;
  --agesub-muted: #625b73;
  --agesub-violet: #7839ee;
  --agesub-violet-deep: #5d22c8;
  --agesub-blue: #3238f2;
  --agesub-success: #16865a;
  --agesub-success-soft: #e8f7f0;
  --agesub-danger: #b8343f;
  --agesub-danger-soft: #fff0f1;
  --agesub-border: #ece9f8;
  --agesub-paper: #fdfdfb;
  --agesub-cream: #f7f4fb;
  --agesub-dark: #160d2b;
  --agesub-dark-soft: #21153d;
  --agesub-shadow: 0 28px 76px rgba(31, 13, 65, .13);
  color: var(--agesub-ink);
  background: var(--agesub-paper);
  margin-top: calc(-1 * var(--motor-header-bleed));
  overflow: clip;
}

.mix-agesub-page *,
.mix-agesub-page *::before,
.mix-agesub-page *::after { box-sizing: border-box; }

.mix-agesub-page :is(section, article, aside, div, figure, ol, ul, dl, table) { min-width: 0; }

.mix-agesub-page :is(p, h1, h2, h3, b, strong, span, dd, dt, th, td) {
  overflow-wrap: anywhere;
}

.mix-agesub-page :is(a, button) {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.mix-agesub-page button {
  min-width: 44px;
  min-height: 44px;
  border: 0;
  font: inherit;
  cursor: pointer;
}

.mix-agesub-page > section,
.mix-agesub-page > nav {
  position: relative;
  scroll-margin-top: calc(var(--motor-header-bleed) + 28px);
}

.mix-agesub-page > section {
  padding: clamp(88px, 9vw, 132px) 0;
  border-bottom: 1px solid var(--agesub-border);
}

/* ── 1. Hero · tese e cascata ─────────────────────────────────────────── */

.mix-agesub-hero {
  min-height: min(900px, 100dvh);
  display: grid;
  align-items: center;
  padding-top: calc(var(--motor-header-bleed) + clamp(64px, 8vw, 112px)) !important;
  background:
    radial-gradient(circle at 84% 22%, rgba(50, 56, 242, .11), transparent 28%),
    radial-gradient(circle at 65% 65%, rgba(120, 57, 238, .1), transparent 34%),
    linear-gradient(180deg, #fbfaff 0%, #fff 78%);
}

.mix-agesub-hero::before {
  position: absolute;
  inset: var(--motor-header-bleed) 0 auto;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(120, 57, 238, .25), transparent);
}

.mix-agesub-hero > .mix-motor-inner {
  display: grid;
  grid-template-columns: minmax(360px, .82fr) minmax(520px, 1.18fr);
  gap: clamp(52px, 7vw, 108px);
  align-items: center;
}

.mix-agesub-hero-copy { position: relative; z-index: 2; }

.mix-agesub-hero h1 {
  max-width: 720px;
  margin: 28px 0 0;
  font: 700 clamp(56px, 6vw, 88px)/.94 var(--motor-display);
  letter-spacing: -.062em;
  text-wrap: balance;
}

.mix-agesub-lead {
  max-width: 650px;
  margin: 30px 0 0;
  color: var(--agesub-muted);
  font-size: clamp(17px, 1.32vw, 20px);
  line-height: 1.7;
}

.mix-agesub-hero-visual {
  position: relative;
  min-height: 500px;
  display: grid;
  align-items: center;
  padding: clamp(30px, 4vw, 54px);
  overflow: hidden;
  border: 1px solid rgba(120, 57, 238, .2);
  border-radius: 36px;
  background:
    linear-gradient(rgba(120, 57, 238, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 57, 238, .045) 1px, transparent 1px),
    rgba(255, 255, 255, .95);
  background-size: 28px 28px;
  box-shadow: var(--agesub-shadow);
}

.mix-agesub-hero-visual::before,
.mix-agesub-hero-visual::after {
  position: absolute;
  width: 260px;
  height: 260px;
  content: "";
  border: 1px solid rgba(120, 57, 238, .11);
  border-radius: 50%;
}

.mix-agesub-hero-visual::before { top: -120px; right: -68px; }
.mix-agesub-hero-visual::after { bottom: -164px; left: -70px; }

.mix-agesub-cascade {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mix-agesub-cascade::before {
  position: absolute;
  z-index: -1;
  top: 23%;
  right: 18%;
  bottom: 23%;
  left: 18%;
  content: "";
  border: 2px dashed rgba(120, 57, 238, .28);
  border-radius: 44%;
  transform: rotate(-8deg);
}

.mix-agesub-cascade li {
  position: relative;
  min-height: 142px;
  display: grid;
  align-content: space-between;
  padding: 22px;
  border: 1px solid rgba(22, 3, 58, .13);
  border-radius: 23px 8px 23px 8px;
  background: #fff;
  box-shadow: 0 18px 38px rgba(36, 15, 71, .1);
  transition: transform 260ms cubic-bezier(.2, .8, .2, 1), border-color 180ms ease;
}

.mix-agesub-cascade li:nth-child(2) { transform: translateY(34px); border-radius: 8px 23px 8px 23px; }
.mix-agesub-cascade li:nth-child(3) { transform: translateY(-8px); border-radius: 24px; }
.mix-agesub-cascade li:nth-child(4) {
  color: #fff;
  border-color: transparent;
  border-radius: 8px 24px 24px;
  background: linear-gradient(135deg, var(--agesub-violet), var(--agesub-blue));
  transform: translateY(26px);
}

.mix-agesub-cascade li::after {
  position: absolute;
  right: -14px;
  bottom: -14px;
  width: 28px;
  height: 28px;
  content: "";
  border: 7px solid #fff;
  border-radius: 50%;
  background: var(--agesub-success);
  box-shadow: 0 0 0 1px rgba(22, 134, 90, .24);
}

.mix-agesub-cascade li:not(:last-child)::after { background: var(--agesub-violet); }

.mix-agesub-cascade li > span {
  color: var(--agesub-violet);
  font: 800 12px/1 var(--motor-display);
  letter-spacing: .12em;
}

.mix-agesub-cascade li:last-child > span { color: rgba(255, 255, 255, .72); }

.mix-agesub-cascade li > strong {
  font: 700 clamp(20px, 1.8vw, 27px)/1.06 var(--motor-display);
  letter-spacing: -.035em;
  text-transform: lowercase;
}

/* ── 2. Navegação irmã ─────────────────────────────────────────────────
   A faixa usa o componente comum `.mix-motor-chapter-nav`, definido na
   casca dos motores a partir do padrão visual do Conecta. */

/* ── 3. Cinco capítulos em zigue-zague ───────────────────────────────── */

.mix-agesub-chapters {
  background:
    linear-gradient(180deg, rgba(120, 57, 238, .028), transparent 24%),
    var(--agesub-paper);
}

.mix-agesub-steps {
  display: grid;
  gap: clamp(72px, 9vw, 128px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.mix-agesub-step {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(42px, 7vw, 104px);
  align-items: center;
}

.mix-agesub-step[data-agesub-side="right"] .mix-agesub-step-body { grid-column: 2; }
.mix-agesub-step[data-agesub-side="right"] .mix-agesub-figure { grid-column: 1; grid-row: 1; }
/* A moldura compartilhada para em 480px. Sem encostá-la na borda externa do
   zigue-zague, ela cola na coluna de texto e deixa a faixa de fora vazia. */
.mix-agesub-step[data-agesub-side="left"] .mix-agesub-figure { justify-self: end; }
.mix-agesub-step[data-agesub-side="right"] .mix-agesub-figure { justify-self: start; }

.mix-agesub-step-body { position: relative; z-index: 1; }

/* Só os resets do que a classe carregava antes; a tipografia do nome do passo
   é a compartilhada (`.mix-motor-step-eyebrow`, motor-page.css). */
.mix-agesub-step-index {
  width: auto;
  height: auto;
  display: block;
  background: none;
}

.mix-agesub-step h3 {
  max-width: 620px;
  margin: 0;
  font: 700 clamp(34px, 3.7vw, 54px)/1.02 var(--motor-display);
  letter-spacing: -.046em;
  text-wrap: balance;
}

.mix-agesub-step-body > p:not(.mix-agesub-step-index) {
  max-width: 610px;
  margin: 22px 0 0;
  color: var(--agesub-muted);
  font-size: clamp(16px, 1.25vw, 18px);
  line-height: 1.7;
}

.mix-agesub-figure {
  min-height: 360px;
}

/* ── 4. Comparação ────────────────────────────────────────────────────── */

.mix-agesub-why { background: var(--agesub-cream); }

.mix-agesub-why-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.mix-agesub-why-side {
  min-height: 360px;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--agesub-border);
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--motor-elev-1);
}

.mix-agesub-why-side:last-child {
  color: #fff;
  border-color: transparent;
  background:
    radial-gradient(circle at 88% 8%, rgba(120, 57, 238, .48), transparent 42%),
    var(--agesub-dark);
  box-shadow: 0 24px 60px rgba(22, 13, 43, .2);
}

.mix-agesub-why-side > small {
  color: var(--agesub-violet);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
}

.mix-agesub-why-side:last-child > small { color: #c8b5ff; }

.mix-agesub-why-side ul {
  display: grid;
  gap: 0;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.mix-agesub-why-side li {
  display: grid;
  grid-template-columns: minmax(120px, .32fr) minmax(0, 1fr);
  gap: 22px;
  padding: 22px 0;
  border-top: 1px solid var(--agesub-border);
}

.mix-agesub-why-side:last-child li { border-color: rgba(255, 255, 255, .14); }

.mix-agesub-why-side li b { font-size: 14px; line-height: 1.45; }
.mix-agesub-why-side li span { color: var(--agesub-muted); font-size: 15px; line-height: 1.55; }
.mix-agesub-why-side:last-child li span { color: rgba(255, 255, 255, .68); }

/* ── 5. Vitrines operacionais ─────────────────────────────────────────── */

.mix-agesub-showcase {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, .12) !important;
  background:
    radial-gradient(circle at 88% 6%, rgba(120, 57, 238, .45), transparent 34%),
    radial-gradient(circle at 12% 88%, rgba(50, 56, 242, .18), transparent 30%),
    var(--agesub-dark);
}

.mix-agesub-showcase .mix-motor-section-head > p { color: #c9b7ff; }
.mix-agesub-showcase .mix-motor-section-head h2 { color: #fff; }

.mix-agesub-showcase-bar {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--agesub-border);
}

.mix-agesub-showcase-bar > div { display: grid; gap: 5px; }

.mix-agesub-showcase-bar small,
.mix-agesub-showcase-bar span {
  color: var(--agesub-violet);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
}

.mix-agesub-showcase-bar strong { font: 700 21px/1.1 var(--motor-display); }

.mix-agesub-showcase-bar > span {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border: 1px solid rgba(120, 57, 238, .2);
  border-radius: 999px;
  background: #f2edff;
}

.mix-agesub-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13px !important;
  font-weight: 750 !important;
  line-height: 1.2;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.mix-agesub-button--primary {
  color: #fff;
  background: var(--agesub-violet);
  box-shadow: 0 10px 28px rgba(120, 57, 238, .25);
}

.mix-agesub-button--primary:hover { background: var(--agesub-violet-deep); }

.mix-agesub-button--quiet {
  color: rgba(255, 255, 255, .8);
  border: 1px solid rgba(255, 255, 255, .18) !important;
  background: rgba(255, 255, 255, .06);
}

.mix-agesub-button--quiet:hover { color: #fff; border-color: rgba(255, 255, 255, .34) !important; }

/* Execução */

.mix-agesub-execution {
  overflow: hidden;
  color: var(--agesub-ink);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 30px;
  background: #fbfaff;
  box-shadow: 0 32px 80px rgba(0, 0, 0, .25);
}

.mix-agesub-execution-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 10px 24px 24px;
}

.mix-agesub-execution-meta > div {
  min-height: 112px;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 22px;
  border-right: 1px solid var(--agesub-border);
  border-bottom: 1px solid var(--agesub-border);
}

.mix-agesub-execution-meta > div:nth-child(3n) { border-right: 0; }
.mix-agesub-execution-meta > div:nth-last-child(-n + 3) { border-bottom: 0; }

.mix-agesub-execution-meta dt,
.mix-agesub-approval dt {
  color: var(--agesub-muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.mix-agesub-execution-meta dd,
.mix-agesub-approval dd {
  margin: 0;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.5;
}

.mix-agesub-state-track {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0;
  padding: 28px 24px;
  border-block: 1px solid var(--agesub-border);
  list-style: none;
  background: #fff;
}

.mix-agesub-state-track li {
  position: relative;
  min-height: 150px;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 0 18px;
}

.mix-agesub-state-track li::before {
  position: absolute;
  z-index: 0;
  top: 17px;
  right: 0;
  left: 0;
  height: 2px;
  content: "";
  background: repeating-linear-gradient(90deg, rgba(120, 57, 238, .24) 0 5px, transparent 5px 10px);
}

.mix-agesub-state-track li:first-child::before { left: 50%; }
.mix-agesub-state-track li:last-child::before { right: 50%; }

.mix-agesub-state-track li i {
  position: relative;
  z-index: 1;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--agesub-violet);
  border: 1px solid rgba(120, 57, 238, .26);
  border-radius: 50%;
  background: #fff;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
}

.mix-agesub-state-track li b { margin-top: 8px; font: 700 16px/1.15 var(--motor-display); }
.mix-agesub-state-track li span { color: var(--agesub-muted); font-size: 13px; line-height: 1.5; }

.mix-agesub-state-track li[data-execution-status="complete"] i {
  color: #fff;
  border-color: var(--agesub-success);
  background: var(--agesub-success);
}

.mix-agesub-state-track li[data-execution-status="current"] i {
  color: #fff;
  border-color: var(--agesub-violet);
  background: var(--agesub-violet);
  box-shadow: 0 0 0 7px rgba(120, 57, 238, .12);
}

.mix-agesub-execution-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px;
}

.mix-agesub-dependencies { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }

.mix-agesub-dependencies small {
  width: 100%;
  margin-bottom: 4px;
  color: var(--agesub-muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
}

.mix-agesub-dependencies span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid var(--agesub-border);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.mix-agesub-dependencies .is-done { color: #0d6b47; border-color: rgba(22, 134, 90, .22); background: var(--agesub-success-soft); }
.mix-agesub-dependencies .is-waiting { color: #9b2f38; border-style: dashed; border-color: rgba(184, 52, 63, .32); background: var(--agesub-danger-soft); }

/* Aprovação */

.mix-agesub-approval {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
  overflow: hidden;
  color: var(--agesub-ink);
  border: 1px solid var(--agesub-border);
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 32px 80px rgba(0, 0, 0, .25);
}

.mix-agesub-approval-request { min-width: 0; }

.mix-agesub-before-after {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 28px 24px;
}

.mix-agesub-before-after p {
  min-height: 116px;
  display: grid;
  align-content: center;
  gap: 10px;
  margin: 0;
  padding: 22px;
  border: 1px solid var(--agesub-border);
  border-radius: 20px;
  background: #f9f8fd;
}

.mix-agesub-before-after p:last-of-type { border-color: rgba(120, 57, 238, .24); background: #f2edff; }

.mix-agesub-before-after span { color: var(--agesub-muted); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.mix-agesub-before-after b { font: 700 clamp(18px, 1.7vw, 24px)/1.15 var(--motor-display); }
.mix-agesub-before-after i { color: var(--agesub-violet); font-size: 22px; font-style: normal; }

.mix-agesub-approval-request dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 24px;
  border-block: 1px solid var(--agesub-border);
}

.mix-agesub-approval-request dl > div { display: grid; align-content: start; gap: 10px; padding: 22px 18px; border-right: 1px solid var(--agesub-border); }
.mix-agesub-approval-request dl > div:last-child { border-right: 0; }

.mix-agesub-evidence {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 24px;
}

.mix-agesub-evidence > small { width: 100%; color: var(--agesub-muted); font-size: 11px; font-weight: 800; letter-spacing: .1em; }

.mix-agesub-evidence .mix-motor-chip {
  color: var(--agesub-violet-deep);
  border-color: rgba(120, 57, 238, .18);
  background: #f7f3ff;
}

.mix-agesub-approval-console {
  display: grid;
  align-content: start;
  padding: clamp(28px, 3vw, 42px);
  color: #fff;
  background:
    radial-gradient(circle at 100% 0%, rgba(120, 57, 238, .56), transparent 42%),
    var(--agesub-dark-soft);
}

.mix-agesub-approval-console > small { color: #c8b5ff; font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.mix-agesub-approval-console > strong { margin-top: 12px; font: 700 24px/1.15 var(--motor-display); }

.mix-agesub-decisions { display: grid; gap: 10px; margin-top: 30px; }

.mix-agesub-decision {
  min-height: 58px !important;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 10px 15px !important;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .18) !important;
  border-radius: 16px;
  background: rgba(255, 255, 255, .06);
  text-align: left;
  transition: background-color 180ms ease, border-color 180ms ease;
}

.mix-agesub-decision:hover { border-color: rgba(255, 255, 255, .36) !important; background: rgba(255, 255, 255, .11); }
.mix-agesub-decision span { font-size: 14px; font-weight: 750; }
.mix-agesub-decision small { color: rgba(255, 255, 255, .55); font-size: 11px; }
.mix-agesub-decision[aria-pressed="true"] { border-color: #fff !important; background: var(--agesub-violet); }
.mix-agesub-decision[data-approval-action="rejected"][aria-pressed="true"] { background: var(--agesub-danger); }
.mix-agesub-decision[data-approval-action="approved"][aria-pressed="true"] { background: var(--agesub-success); }

.mix-agesub-approval-console > p {
  min-height: 48px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, .76);
  font-size: 14px;
  line-height: 1.55;
}

.mix-agesub-approval-console ol { display: grid; gap: 0; margin: 18px 0 0; padding: 0; list-style: none; }
.mix-agesub-approval-console li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 12px; padding: 13px 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.mix-agesub-approval-console time { color: #c8b5ff; font-size: 11px; font-weight: 750; }
.mix-agesub-approval-console li span { color: rgba(255, 255, 255, .7); font-size: 12px; line-height: 1.4; }

/* Rotinas */

.mix-agesub-showcase[data-agesub-kind="routine"] {
  background:
    radial-gradient(circle at 78% 2%, rgba(133, 93, 255, .34), transparent 30%),
    radial-gradient(circle at 4% 96%, rgba(50, 56, 242, .16), transparent 30%),
    #100923;
}

.mix-agesub-showcase[data-agesub-kind="routine"] > .mix-motor-inner {
  display: grid;
  grid-template-columns: minmax(290px, .68fr) minmax(620px, 1.32fr);
  gap: clamp(46px, 6vw, 86px);
  align-items: center;
}

.mix-agesub-routine-copy .mix-motor-section-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin: 0;
}

.mix-agesub-routine-copy .mix-motor-section-head > p { padding-top: 0; }
.mix-agesub-routine-copy .mix-motor-section-head h2 { font-size: clamp(48px, 4.9vw, 74px); }

.mix-agesub-routine-points {
  display: grid;
  gap: 17px;
  margin: 38px 0 0;
  padding: 0;
  list-style: none;
}

.mix-agesub-routine-points li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 13px;
  align-items: start;
  color: rgba(255, 255, 255, .7);
  font-size: 15px;
  line-height: 1.55;
}

.mix-agesub-routine-points svg {
  width: 19px;
  height: 19px;
  margin-top: 2px;
  fill: none;
  stroke: #a98cff;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.mix-agesub-schedule {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 24px;
  background: rgba(255, 255, 255, .055);
  box-shadow: 0 36px 90px rgba(0, 0, 0, .32);
  isolation: isolate;
}

.mix-agesub-schedule::before {
  position: absolute;
  z-index: -1;
  top: -36%;
  right: 0;
  width: 76%;
  aspect-ratio: 1;
  content: "";
  border-radius: 50%;
  background: radial-gradient(circle, rgba(120, 57, 238, .18), transparent 68%);
  pointer-events: none;
}

.mix-agesub-schedule-head {
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, .11);
}

.mix-agesub-schedule-head > div:first-child { display: grid; gap: 7px; }
.mix-agesub-schedule-head small { color: #c8b5ff; font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.mix-agesub-schedule-head strong { font: 700 21px/1.1 var(--motor-display); }

.mix-agesub-cycle-speed {
  width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, .54);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.mix-agesub-cycle-speed::before {
  width: 6px;
  height: 6px;
  content: "";
  border-radius: 50%;
  background: #9b7cff;
  box-shadow: 0 0 12px rgba(155, 124, 255, .9);
}

.mix-agesub-routine-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.mix-agesub-routine-actions .mix-agesub-button { min-height: 44px !important; padding: 0 14px !important; font-size: 11px; }

.mix-agesub-schedule-board {
  position: relative;
  padding: 0 24px 16px;
  overflow: hidden;
}

.mix-agesub-hours {
  display: grid;
  grid-template-columns: 138px minmax(0, 1fr);
  align-items: end;
  min-height: 58px;
  color: rgba(255, 255, 255, .56);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.mix-agesub-hours > i { padding: 0 16px 13px 0; font-size: 9px; font-style: normal; font-weight: 800; letter-spacing: .1em; }
.mix-agesub-hours > div { display: grid; grid-template-columns: repeat(7, 1fr); padding-bottom: 13px; }
.mix-agesub-hours span { font-size: 9px; font-weight: 700; text-align: center; }

.mix-agesub-schedule-board > ol { margin: 0; padding: 0; list-style: none; }

.mix-agesub-schedule-board > ol > li {
  position: relative;
  min-height: 102px;
  display: grid;
  grid-template-columns: 138px minmax(0, 1fr);
  align-items: stretch;
  border-bottom: 1px solid rgba(255, 255, 255, .09);
  transition: background-color 240ms ease;
}

.mix-agesub-schedule-board > ol > li:last-child { border-bottom: 0; }
.mix-agesub-schedule-board > ol > li[data-routine-state="active"] { background: rgba(143, 105, 255, .035); }

.mix-agesub-lane-label {
  position: relative;
  z-index: 5;
  display: grid;
  align-content: center;
  gap: 5px;
  padding-right: 14px;
}

.mix-agesub-lane-label b { color: rgba(255, 255, 255, .62); font: 700 15px/1.1 var(--motor-display); transition: color 220ms ease; }
.mix-agesub-lane-label span { color: #d0c7e7; font-size: 11px; line-height: 1.35; }
.mix-agesub-lane-label small { color: rgba(200, 181, 255, .66); font-size: 8px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.mix-agesub-schedule-board > ol > li[data-routine-state="active"] .mix-agesub-lane-label b { color: #cbbcff; }

.mix-agesub-lane-grid {
  position: relative;
  min-width: 0;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .055) 0 1px, transparent 1px calc(100% / 6));
}

.mix-agesub-track-line {
  position: absolute;
  top: 57px;
  right: 0;
  left: 0;
  height: 1px;
  background: rgba(255, 255, 255, .25);
}

.mix-agesub-lane-grid > :is(.mix-agesub-routine-task, .mix-agesub-heartbeat) {
  position: absolute;
  left: var(--routine-start);
}

.mix-agesub-heartbeat {
  z-index: 3;
  top: 48px;
  width: 9px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, .34);
  border-radius: 999px;
  background: #201836;
  transform: translateX(-50%);
  transition: width 220ms ease, height 220ms ease, top 220ms ease, border-color 220ms ease, background-color 220ms ease, box-shadow 220ms ease;
}

.mix-agesub-heartbeat[data-routine-state="past"] { border-color: rgba(182, 158, 255, .52); background: rgba(120, 57, 238, .24); }
.mix-agesub-heartbeat[data-routine-edge="start"] { left: 0; transform: none; }
.mix-agesub-heartbeat[data-routine-edge="end"] { right: 0; left: auto; transform: none; }

.mix-agesub-heartbeat[data-routine-state="active"] {
  top: 46px;
  width: 11px;
  height: 22px;
  border-color: #c8b5ff;
  background: #7839ee;
  box-shadow: 0 0 0 7px rgba(120, 57, 238, .2), 0 0 22px rgba(143, 105, 255, .92);
}

.mix-agesub-heartbeat[data-routine-kind="event"] { border-color: rgba(255, 170, 96, .72); }
.mix-agesub-heartbeat[data-routine-kind="event"][data-routine-state="active"] { border-color: #ffd0a6; background: #e47b34; box-shadow: 0 0 0 7px rgba(228, 123, 52, .18), 0 0 22px rgba(228, 123, 52, .75); }

.mix-agesub-routine-task {
  z-index: 4;
  top: 8px;
  width: min(170px, calc(100% - 4px));
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 7px;
  align-items: center;
  padding: 7px 9px;
  color: #e8e0ff;
  border: 1px solid rgba(183, 158, 255, .28);
  border-radius: 8px;
  background: rgba(120, 57, 238, .14);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 5px);
  transition: opacity 180ms ease, transform 240ms cubic-bezier(.22, 1, .36, 1), border-color 180ms ease, background-color 180ms ease;
}

.mix-agesub-routine-task[data-routine-state="active"] {
  border-color: rgba(191, 169, 255, .55);
  background: rgba(120, 57, 238, .28);
  opacity: 1;
  transform: translate(-50%, 0);
}
.mix-agesub-routine-task[data-routine-zone="start"] { transform: translate(0, 5px); }
.mix-agesub-routine-task[data-routine-zone="start"][data-routine-state="active"] { transform: translate(0, 0); }
.mix-agesub-routine-task[data-routine-zone="end"] { transform: translate(-100%, 5px); }
.mix-agesub-routine-task[data-routine-zone="end"][data-routine-state="active"] { transform: translate(-100%, 0); }
.mix-agesub-routine-task[data-routine-edge="start"] { left: 0; transform: translate(0, 5px); }
.mix-agesub-routine-task[data-routine-edge="start"][data-routine-state="active"] { transform: translate(0, 0); }
.mix-agesub-routine-task[data-routine-edge="end"] { right: 0; left: auto; transform: translate(0, 5px); }
.mix-agesub-routine-task[data-routine-edge="end"][data-routine-state="active"] { transform: translate(0, 0); }
.mix-agesub-routine-task strong { min-width: 0; font-size: 11px; line-height: 1.25; }
.mix-agesub-routine-task time { color: #d4c5ff; font-size: 10px; font-weight: 800; }

.mix-agesub-heartbeat[data-routine-kind="event"] + .mix-agesub-routine-task[data-routine-state="active"] {
  color: #fff1e4;
  border-color: rgba(255, 184, 123, .58);
  background: rgba(228, 123, 52, .3);
}

.mix-agesub-now-line {
  position: absolute;
  z-index: 4;
  top: 58px;
  right: 24px;
  bottom: 16px;
  left: calc(24px + 138px);
  pointer-events: none;
}

.mix-agesub-now-line::after {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--routine-now);
  width: 1px;
  content: "";
  background: rgba(209, 195, 255, .9);
  box-shadow: 0 0 14px rgba(166, 135, 255, .62);
}

.mix-agesub-now-line b {
  position: absolute;
  top: -27px;
  left: clamp(28px, var(--routine-now), calc(100% - 28px));
  padding: 5px 7px;
  color: #fff;
  border: 1px solid rgba(202, 184, 255, .42);
  border-radius: 6px;
  background: #6f3ed4;
  font-size: 8px;
  letter-spacing: .08em;
  white-space: nowrap;
  transform: translateX(-50%);
}

.mix-agesub-schedule figcaption {
  padding: 18px 28px 24px;
  color: rgba(255, 255, 255, .64);
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: 13px;
  line-height: 1.55;
}

.mix-agesub-schedule[data-routine-motion="running"] .mix-agesub-heartbeat {
  will-change: width, height, border-color, background-color, box-shadow;
}

.mix-agesub-schedule.is-retrying .mix-agesub-routine-task {
  animation: agesub-retry 420ms ease-out both;
}

@keyframes agesub-retry {
  0% { filter: saturate(.35) brightness(.72); }
  100% { filter: saturate(1) brightness(1); }
}

/* ── 6–8. Catálogo, fontes e histórico ───────────────────────────────── */

.mix-agesub-catalog { background: #fff; }

.mix-agesub-table-scroll {
  overflow: hidden;
  border: 1px solid var(--agesub-border);
  border-radius: 26px;
  background: #fff;
  box-shadow: var(--motor-elev-1);
}

.mix-agesub-catalog-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.mix-agesub-catalog-table thead { color: #fff; background: var(--agesub-dark); }

.mix-agesub-catalog-table thead th {
  padding: 18px 22px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-align: left;
  text-transform: uppercase;
}

.mix-agesub-catalog-table tbody tr { border-bottom: 1px solid var(--agesub-border); }
.mix-agesub-catalog-table tbody tr:last-child { border-bottom: 0; }

.mix-agesub-catalog-table tbody :is(th, td) {
  padding: 22px;
  color: var(--agesub-muted);
  font-size: 14px;
  line-height: 1.55;
  text-align: left;
  vertical-align: top;
}

.mix-agesub-catalog-table tbody th { color: var(--agesub-ink); font-size: 15px; font-weight: 750; }
.mix-agesub-catalog-table tbody tr:hover { background: #faf8ff; }

.mix-agesub-sources {
  background:
    radial-gradient(circle at 88% 18%, rgba(120, 57, 238, .12), transparent 30%),
    var(--agesub-cream);
}

.mix-agesub-source-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mix-agesub-source-list li {
  position: relative;
  min-height: 220px;
  display: grid;
  align-content: end;
  gap: 14px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--agesub-border);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--motor-elev-1);
}

.mix-agesub-source-list li::before {
  display: none;
}

.mix-agesub-source-logo {
  position: absolute;
  top: 24px;
  left: 28px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(120, 57, 238, .16);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(34, 13, 70, .08);
}

.mix-agesub-source-logo :is(img, svg) { width: 30px; height: 30px; object-fit: contain; }
.mix-agesub-source-logo svg {
  color: var(--agesub-violet);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mix-agesub-source-list b { font: 700 22px/1.1 var(--motor-display); letter-spacing: -.025em; }
.mix-agesub-source-list span { color: var(--agesub-muted); font-size: 14px; line-height: 1.55; }

.mix-agesub-history { background: #fff; }

.mix-agesub-timeline {
  position: relative;
  max-width: 940px;
  display: grid;
  gap: 0;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.mix-agesub-timeline::before {
  position: absolute;
  top: 14px;
  bottom: 14px;
  left: 96px;
  width: 2px;
  content: "";
  background: linear-gradient(var(--agesub-violet), var(--agesub-blue), var(--agesub-success));
}

.mix-agesub-timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 38px;
  align-items: start;
  min-height: 96px;
}

.mix-agesub-timeline li::before {
  position: absolute;
  z-index: 1;
  top: 6px;
  left: 90px;
  width: 14px;
  height: 14px;
  content: "";
  border: 4px solid #fff;
  border-radius: 50%;
  background: var(--agesub-violet);
  box-shadow: 0 0 0 2px rgba(120, 57, 238, .24);
}

.mix-agesub-timeline li:last-child::before { background: var(--agesub-success); }
.mix-agesub-timeline time { padding-top: 4px; color: var(--agesub-violet); font-size: 12px; font-weight: 800; letter-spacing: .05em; text-align: right; }
.mix-agesub-timeline li span { min-height: 60px; padding: 0 0 28px; color: var(--agesub-ink); font-size: clamp(16px, 1.4vw, 19px); line-height: 1.5; }

/* ── 9–10. Sequência e passagem ───────────────────────────────────────── */

.mix-agesub-motors { background: var(--agesub-cream); }
.mix-agesub-motors .mix-motor-seq-item { min-height: 238px; }
.mix-agesub-motors .mix-motor-seq-item > i {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: -24px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--agesub-violet);
  border: 1px solid rgba(120, 57, 238, .2);
  border-radius: 50%;
  background: var(--agesub-cream);
  font-size: 14px;
  font-style: normal;
  font-weight: 800;
  transform: translateY(-50%);
}

.mix-agesub-motors .mix-motor-seq-item:last-child > i { top: 20px; right: 20px; transform: none; }

.mix-agesub-handoff {
  min-height: 620px;
  display: grid;
  align-items: center;
  color: #fff;
  border-bottom: 0 !important;
  background:
    radial-gradient(circle at 78% 26%, rgba(120, 57, 238, .58), transparent 32%),
    linear-gradient(135deg, #160d2b, #1c1142 62%, #2228a6);
}

.mix-agesub-handoff > .mix-motor-inner { position: relative; }

.mix-agesub-handoff .mix-motor-eyebrow {
  color: #d5c8ff;
  border-color: rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .07);
}

.mix-agesub-handoff h2 {
  max-width: 990px;
  margin: 30px 0 0;
  font: 700 clamp(46px, 6vw, 82px)/.96 var(--motor-display);
  letter-spacing: -.055em;
  text-wrap: balance;
}

.mix-agesub-handoff-body {
  max-width: 720px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, .7);
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.65;
}

.mix-agesub-handoff .mix-motor-cta--secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .08);
}

.mix-agesub-handoff .mix-motor-cta--secondary:hover { color: #fff; border-color: rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .14); }

/* Entrada: uma única coreografia curta, interrompível. */

.mix-agesub-chapters:not(.is-in) .mix-agesub-step,
.mix-agesub-why:not(.is-in) .mix-agesub-why-side,
.mix-agesub-sources:not(.is-in) .mix-agesub-source-list li {
  opacity: 0;
  transform: translateY(24px);
}

.mix-agesub-step,
.mix-agesub-why-side,
.mix-agesub-source-list li {
  transition: opacity 360ms ease-out, transform 360ms ease-out;
}

.mix-agesub-step:nth-child(2),
.mix-agesub-why-side:nth-child(2),
.mix-agesub-source-list li:nth-child(2) { transition-delay: 45ms; }
.mix-agesub-step:nth-child(3),
.mix-agesub-source-list li:nth-child(3) { transition-delay: 90ms; }
.mix-agesub-step:nth-child(4),
.mix-agesub-source-list li:nth-child(4) { transition-delay: 135ms; }
.mix-agesub-step:nth-child(5) { transition-delay: 180ms; }

/* ── Responsividade ───────────────────────────────────────────────────── */

@media (max-width: 1120px) {
  .mix-agesub-hero > .mix-motor-inner { grid-template-columns: 1fr; gap: 52px; }
  .mix-agesub-hero-copy { max-width: 820px; }
  .mix-agesub-hero-visual { min-height: 450px; }
  .mix-agesub-step { grid-template-columns: minmax(280px, .9fr) minmax(360px, 1.1fr); gap: 48px; }
  .mix-agesub-source-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mix-agesub-approval { grid-template-columns: 1fr; }
  .mix-agesub-approval-console { min-height: 0; }
  .mix-agesub-showcase[data-agesub-kind="routine"] > .mix-motor-inner { grid-template-columns: 1fr; gap: 46px; }
  .mix-agesub-routine-copy { max-width: 820px; }
  .mix-agesub-routine-copy .mix-motor-section-head h2 { font-size: clamp(48px, 7vw, 70px); }
  .mix-agesub-hours,
  .mix-agesub-schedule-board > ol > li { grid-template-columns: 158px minmax(0, 1fr); }
  .mix-agesub-now-line { left: calc(24px + 158px); }
}

@media (max-width: 860px) {
  .mix-agesub-hero { min-height: auto; }
  .mix-agesub-hero h1 { font-size: clamp(48px, 9.5vw, 70px); }
  .mix-agesub-step,
  .mix-agesub-step[data-agesub-side="right"] {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .mix-agesub-step[data-agesub-side="left"] .mix-agesub-figure,
  .mix-agesub-step[data-agesub-side="right"] .mix-agesub-figure { justify-self: center; }
  .mix-agesub-step[data-agesub-side="right"] .mix-agesub-step-body,
  .mix-agesub-step[data-agesub-side="right"] .mix-agesub-figure { grid-column: 1; grid-row: auto; }
  .mix-agesub-step[data-agesub-side="right"] .mix-agesub-step-body { order: 0; }
  .mix-agesub-step[data-agesub-side="right"] .mix-agesub-figure { order: 1; }
  .mix-agesub-why-grid { grid-template-columns: 1fr; }
  .mix-agesub-execution-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mix-agesub-execution-meta > div:nth-child(3n) { border-right: 1px solid var(--agesub-border); }
  .mix-agesub-execution-meta > div:nth-child(2n) { border-right: 0; }
  .mix-agesub-execution-meta > div:nth-last-child(-n + 3) { border-bottom: 1px solid var(--agesub-border); }
  .mix-agesub-execution-meta > div:nth-last-child(-n + 2) { border-bottom: 0; }
  .mix-agesub-state-track { grid-template-columns: 1fr; gap: 0; }
  .mix-agesub-state-track li { min-height: 118px; grid-template-columns: 42px minmax(0, 1fr); column-gap: 16px; padding: 0; }
  .mix-agesub-state-track li i { grid-row: 1 / span 2; }
  .mix-agesub-state-track li b { margin-top: 7px; }
  .mix-agesub-state-track li span { grid-column: 2; }
  .mix-agesub-state-track li::before { top: 0; bottom: 0; left: 17px !important; right: auto !important; width: 2px; height: auto; background: repeating-linear-gradient(180deg, rgba(120, 57, 238, .24) 0 5px, transparent 5px 10px); }
  .mix-agesub-state-track li:first-child::before { top: 18px; }
  .mix-agesub-state-track li:last-child::before { bottom: calc(100% - 18px); }
  .mix-agesub-approval-request dl { grid-template-columns: 1fr; }
  .mix-agesub-approval-request dl > div { border-right: 0; border-bottom: 1px solid var(--agesub-border); }
  .mix-agesub-approval-request dl > div:last-child { border-bottom: 0; }
  .mix-agesub-hours,
  .mix-agesub-schedule-board > ol > li { grid-template-columns: 142px minmax(0, 1fr); }
  .mix-agesub-now-line { left: calc(24px + 142px); }
  .mix-agesub-schedule-head { align-items: flex-start; flex-direction: column; }
  .mix-agesub-routine-actions { justify-content: flex-start; }
  .mix-agesub-motors .mix-motor-seq-item > i { top: auto; right: 50%; bottom: -30px; transform: translateX(50%); }
  .mix-agesub-motors .mix-motor-seq-item:last-child > i { top: 20px; right: 20px; bottom: auto; transform: none; }
}

@media (max-width: 600px) {
  .mix-agesub-page > section { padding: 76px 0; }
  .mix-agesub-page :is(p, li, dd, td) { font-size: max(16px, 1em); }
  .mix-agesub-page :is(small, dt, th, figcaption, time, .mix-motor-chip) { font-size: max(12px, 1em); }
  .mix-agesub-hero { padding-top: calc(var(--motor-header-bleed) + 48px) !important; }
  .mix-agesub-hero h1 { margin-top: 22px; font-size: clamp(42px, 13vw, 58px); }
  .mix-agesub-lead { margin-top: 24px; font-size: 17px !important; }
  .mix-agesub-hero .mix-motor-actions { display: grid; }
  .mix-agesub-hero .mix-motor-cta { width: 100%; }
  .mix-agesub-hero-visual { min-height: 0; padding: 22px; border-radius: 26px; }
  .mix-agesub-cascade { grid-template-columns: 1fr; gap: 12px; }
  .mix-agesub-cascade::before { top: 12%; right: 50%; bottom: 12%; left: auto; width: 2px; border: 0; border-left: 2px dashed rgba(120, 57, 238, .28); border-radius: 0; transform: none; }
  .mix-agesub-cascade li,
  .mix-agesub-cascade li:nth-child(n) { min-height: 96px; padding: 18px; transform: none; }
  .mix-agesub-cascade li::after { right: 16px; bottom: -8px; width: 20px; height: 20px; border-width: 5px; }
  .mix-agesub-steps { gap: 82px; }
  .mix-agesub-step[data-agesub-side="right"] .mix-agesub-step-body { order: 2; }
  .mix-agesub-step[data-agesub-side="right"] .mix-agesub-figure { order: 1; }
  .mix-agesub-step h3 { font-size: clamp(32px, 10vw, 43px); }
  .mix-agesub-step-body > p:not(.mix-agesub-step-index) { font-size: 16px; }
  .mix-agesub-why-side { min-height: 0; padding: 24px; }
  .mix-agesub-why-side li { grid-template-columns: 1fr; gap: 8px; }
  .mix-agesub-why-side li span,
  .mix-agesub-state-track li span,
  .mix-agesub-source-list span { font-size: 16px; }
  .mix-agesub-showcase .mix-motor-section-head h2 { font-size: clamp(35px, 10vw, 46px); }
  .mix-agesub-routine-copy .mix-motor-section-head h2 { font-size: clamp(39px, 11.5vw, 52px); }
  .mix-agesub-routine-points { gap: 14px; margin-top: 28px; }
  .mix-agesub-routine-points li { font-size: 16px; }
  .mix-agesub-showcase-bar { align-items: flex-start; flex-direction: column; }
  .mix-agesub-execution-meta { grid-template-columns: 1fr; padding: 8px 18px 20px; }
  .mix-agesub-execution-meta > div:nth-child(n) { min-height: 0; padding: 18px 6px; border-right: 0; border-bottom: 1px solid var(--agesub-border); }
  .mix-agesub-execution-meta > div:last-child { border-bottom: 0; }
  .mix-agesub-execution-foot { align-items: stretch; flex-direction: column; padding: 20px; }
  .mix-agesub-execution-foot .mix-agesub-button { width: 100%; }
  .mix-agesub-before-after { grid-template-columns: 1fr; padding: 20px; }
  .mix-agesub-before-after i { transform: rotate(90deg); text-align: center; }
  .mix-agesub-before-after p { min-height: 96px; }
  .mix-agesub-approval-request dl { margin: 0 20px; }
  .mix-agesub-approval-request dl > div { padding-inline: 0; }
  .mix-agesub-evidence { padding: 20px; }
  .mix-agesub-approval-console { padding: 24px; }
  .mix-agesub-decision span { font-size: 14px !important; }
  .mix-agesub-schedule { border-radius: 20px; }
  .mix-agesub-schedule-head { min-height: 0; padding: 20px; }
  .mix-agesub-schedule-head strong { font-size: 20px; }
  .mix-agesub-cycle-speed { font-size: 12px; }
  .mix-agesub-routine-actions { width: 100%; display: grid; grid-template-columns: 1fr 1fr; }
  .mix-agesub-routine-actions .mix-agesub-button { width: 100%; }
  .mix-agesub-routine-actions .mix-agesub-button--primary { grid-column: 1 / -1; }
  .mix-agesub-schedule-board { display: block; padding: 0 14px 12px; }
  .mix-agesub-hours { min-height: 48px; display: grid; grid-template-columns: 100px minmax(0, 1fr); border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .mix-agesub-hours > i { display: block; padding: 0 8px 12px 0; font-size: 12px !important; }
  .mix-agesub-hours > div { display: grid; padding-bottom: 12px; }
  .mix-agesub-hours span { font-size: 12px; }
  .mix-agesub-now-line {
    position: absolute;
    top: 48px;
    right: 14px;
    bottom: 12px;
    left: calc(14px + 100px);
    width: auto;
    min-height: 0;
    display: block;
    padding: 0;
    background: none;
  }
  .mix-agesub-now-line b { top: -24px; font-size: 8px !important; }
  .mix-agesub-schedule-board > ol { display: block; }
  .mix-agesub-schedule-board > ol > li { min-height: 98px; display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 0; padding: 0; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .09); border-radius: 0; background: none; }
  .mix-agesub-lane-label { gap: 5px; padding: 0 8px 0 0; }
  .mix-agesub-lane-label b { overflow: hidden; font-size: 12px !important; text-overflow: ellipsis; white-space: nowrap; }
  .mix-agesub-lane-label span { display: block; color: #d0c7e7; font-size: 12px !important; line-height: 1.25; }
  .mix-agesub-lane-label small { display: none; }
  .mix-agesub-lane-grid { min-height: 98px; display: block; padding: 0; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px calc(100% / 6)); }
  .mix-agesub-track-line { top: 57px; }
  .mix-agesub-routine-task { max-width: 148px; padding: 6px 7px; }
  .mix-agesub-routine-task strong { font-size: 12px !important; }
  .mix-agesub-routine-task time { font-size: 12px !important; }
  .mix-agesub-schedule figcaption { padding: 16px 20px 20px; font-size: 12px !important; }
  .mix-agesub-table-scroll { overflow: visible; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
  .mix-agesub-catalog-table,
  .mix-agesub-catalog-table tbody,
  .mix-agesub-catalog-table tr,
  .mix-agesub-catalog-table :is(th, td) { display: block; width: 100%; }
  .mix-agesub-catalog-table { table-layout: auto; }
  .mix-agesub-catalog-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .mix-agesub-catalog-table tbody { display: grid; gap: 12px; }
  .mix-agesub-catalog-table tbody tr { padding: 18px; border: 1px solid var(--agesub-border); border-radius: 18px; background: #fff; box-shadow: var(--motor-elev-1); }
  .mix-agesub-catalog-table tbody :is(th, td) { padding: 8px 0; font-size: 16px; }
  .mix-agesub-catalog-table tbody :is(th, td)::before { display: block; margin-bottom: 5px; content: attr(data-label); color: var(--agesub-violet); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
  .mix-agesub-source-list { grid-template-columns: 1fr; }
  .mix-agesub-source-list li { min-height: 190px; }
  .mix-agesub-timeline::before { left: 64px; }
  .mix-agesub-timeline li { grid-template-columns: 48px minmax(0, 1fr); gap: 32px; }
  .mix-agesub-timeline li::before { left: 58px; }
  .mix-agesub-timeline time { font-size: 12px !important; }
  .mix-agesub-timeline li span { font-size: 16px !important; }
  .mix-agesub-handoff { min-height: 580px; }
  .mix-agesub-handoff h2 { font-size: clamp(42px, 12vw, 58px); }
  .mix-agesub-handoff .mix-motor-actions { display: grid; }
  .mix-agesub-handoff .mix-motor-cta { width: 100%; }
  .mix-agesub-showcase-bar > span,
  .mix-agesub-state-track li i,
  .mix-agesub-before-after span,
  .mix-agesub-hours > i,
  .mix-agesub-now-line b,
  .mix-agesub-motors .mix-motor-seq-item > span { font-size: 12px !important; }
  .mix-agesub-approval-console li span,
  .mix-agesub-schedule figcaption { font-size: 16px !important; }
}

@media (prefers-reduced-motion: reduce) {
  .mix-agesub-page *,
  .mix-agesub-page *::before,
  .mix-agesub-page *::after {
    scroll-behavior: auto !important;
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    transition-delay: 0ms !important;
  }

  .mix-agesub-chapters:not(.is-in) .mix-agesub-step,
  .mix-agesub-why:not(.is-in) .mix-agesub-why-side,
  .mix-agesub-sources:not(.is-in) .mix-agesub-source-list li {
    opacity: 1;
    transform: none;
  }
}

/* Repaginação semântica · trabalho, decisão e rotina. */
.mix-agesub-hero-visual[data-illustration-artifact]::before,
.mix-agesub-hero-visual[data-illustration-artifact]::after,
.mix-agesub-hero-visual[data-illustration-artifact] .mix-agesub-cascade::before {
  display: none;
}

.mix-agesub-hero-visual[data-age-hero-motion="running"] .mix-agesub-cascade li {
  opacity: .68;
}

.mix-agesub-hero-visual[data-age-hero-motion="running"]
.mix-agesub-cascade li[data-age-hero-active="true"] {
  opacity: 1;
}

.mix-agesub-cascade li > strong {
  transform: translateY(2px);
  transition: transform 260ms cubic-bezier(.2, .8, .2, 1);
}

.mix-agesub-cascade li[data-age-hero-active="true"] > strong {
  transform: translateY(-2px);
}

.mix-agesub-hero-visual[data-illustration-artifact="action-item-cascade"] {
  background:
    linear-gradient(rgba(120, 57, 238, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 57, 238, .055) 1px, transparent 1px),
    #fbfaff;
  background-size: 32px 32px;
}

.mix-agesub-hero-visual[data-illustration-artifact="action-item-cascade"]
.mix-agesub-cascade {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 18px;
  border: 1px solid rgba(120, 57, 238, .2);
  border-radius: 18px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 16px 34px rgba(34, 13, 70, .1);
}

.mix-agesub-hero-visual[data-illustration-artifact="action-item-cascade"]
.mix-agesub-cascade li,
.mix-agesub-hero-visual[data-illustration-artifact="action-item-cascade"]
.mix-agesub-cascade li:nth-child(n) {
  min-height: 98px;
  align-content: start;
  gap: 9px;
  padding: 15px 16px;
  border-left: 4px solid var(--agesub-violet);
  border-radius: 7px;
  box-shadow: none;
  transform: none;
}

.mix-agesub-hero-visual[data-illustration-artifact="action-item-cascade"]
.mix-agesub-cascade li:first-child,
.mix-agesub-hero-visual[data-illustration-artifact="action-item-cascade"]
.mix-agesub-cascade li:last-child {
  grid-column: 1 / -1;
  min-height: 86px;
}

.mix-agesub-hero-visual[data-illustration-artifact="action-item-cascade"]
.mix-agesub-cascade li:last-child {
  border-left-color: var(--agesub-success);
  background: var(--agesub-success-soft);
  color: var(--agesub-ink);
}

.mix-agesub-hero-visual[data-illustration-artifact="action-item-cascade"]
.mix-agesub-cascade li:last-child > span {
  color: #126b49;
}

.mix-agesub-hero-visual[data-illustration-artifact="action-item-cascade"]
.mix-agesub-cascade li::after { display: none; }

.mix-agesub-hero-visual[data-illustration-artifact="routine-agenda"] {
  background:
    repeating-linear-gradient(90deg, rgba(120, 57, 238, .055) 0 1px, transparent 1px 16.666%),
    linear-gradient(160deg, #fff, #f5f1fb);
}

.mix-agesub-hero-visual[data-illustration-artifact="routine-agenda"]
.mix-agesub-cascade {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.mix-agesub-hero-visual[data-illustration-artifact="routine-agenda"]
.mix-agesub-cascade li,
.mix-agesub-hero-visual[data-illustration-artifact="routine-agenda"]
.mix-agesub-cascade li:nth-child(n) {
  min-height: 218px;
  align-content: start;
  gap: 16px;
  padding: 18px 13px;
  border-top: 4px solid var(--agesub-violet);
  border-radius: 7px;
  box-shadow: 0 10px 20px rgba(34, 13, 70, .08);
  transform: none;
}

.mix-agesub-hero-visual[data-illustration-artifact="routine-agenda"]
.mix-agesub-cascade li:last-child {
  border-top-color: var(--agesub-success);
}

.mix-agesub-hero-visual[data-illustration-artifact="routine-agenda"]
.mix-agesub-cascade li > strong {
  overflow-wrap: normal;
  font-size: clamp(16px, 1.4vw, 19px);
  word-break: normal;
}

.mix-agesub-hero-visual[data-illustration-artifact="routine-agenda"]
.mix-agesub-cascade li:last-child .mix-agesub-cascade-detail {
  color: #fff;
}

.mix-agesub-hero-visual[data-illustration-artifact="routine-agenda"]
.mix-agesub-cascade li::after { display: none; }

.mix-agesub-hero-visual[data-illustration-artifact="routine-agenda"]
.mix-agesub-cascade li:not(:first-child)::before {
  position: absolute;
  top: 50%;
  left: -9px;
  bottom: auto;
  width: 10px;
  height: 2px;
  content: "";
  border: 0;
  border-radius: 0;
  background: var(--agesub-violet);
  box-shadow: none;
  transform: translateY(-50%);
}

.mix-agesub-execution {
  border-left: 4px solid var(--agesub-violet);
  background: linear-gradient(165deg, #fff 0%, #fbf9ff 100%);
  box-shadow: var(--motor-elev-1);
}

.mix-agesub-execution-meta > div {
  background: rgba(247, 243, 255, .46);
}

.mix-agesub-state-track li[data-execution-status="complete"] {
  border-color: rgba(22, 134, 90, .28);
  background: var(--agesub-success-soft);
}

.mix-agesub-state-track li[data-execution-status="current"] {
  border-color: rgba(120, 57, 238, .42);
  background: #f4efff;
}

.mix-agesub-state-track li[data-execution-status="waiting"] {
  border-style: dashed;
}

.mix-agesub-approval {
  box-shadow: var(--motor-elev-1);
}

.mix-agesub-decision {
  border-left: 3px solid rgba(255, 255, 255, .24);
}

.mix-agesub-decision[data-approval-action="approved"] { border-left-color: #5ed2a2; }
.mix-agesub-decision[data-approval-action="rejected"] { border-left-color: #ff8e99; }
.mix-agesub-decision[data-approval-action="adjustment"] { border-left-style: dashed; }

.mix-agesub-schedule {
  box-shadow: 0 18px 42px rgba(24, 10, 48, .16);
}

.mix-agesub-schedule-board > ol > li[data-routine-state="active"] {
  box-shadow: inset 3px 0 0 #a98aff;
}

.mix-agesub-routine-task[data-routine-state="future"] {
  border-style: dashed;
}

.mix-agesub-routine-task[data-routine-state="active"] {
  border-color: #bca7ff;
  box-shadow: 0 8px 18px rgba(12, 5, 28, .26);
}

@media (max-width: 600px) {
  .mix-agesub-hero-visual[data-illustration-artifact="action-item-cascade"]
  .mix-agesub-cascade,
  .mix-agesub-hero-visual[data-illustration-artifact="routine-agenda"]
  .mix-agesub-cascade {
    grid-template-columns: 1fr;
    padding: 12px;
  }

  .mix-agesub-hero-visual[data-illustration-artifact="action-item-cascade"]
  .mix-agesub-cascade li:first-child,
  .mix-agesub-hero-visual[data-illustration-artifact="action-item-cascade"]
  .mix-agesub-cascade li:last-child {
    grid-column: auto;
  }

  .mix-agesub-hero-visual[data-illustration-artifact="routine-agenda"]
  .mix-agesub-cascade li,
  .mix-agesub-hero-visual[data-illustration-artifact="routine-agenda"]
  .mix-agesub-cascade li:nth-child(n) {
    min-height: 112px;
  }

  .mix-agesub-hero-visual[data-illustration-artifact="routine-agenda"]
  .mix-agesub-cascade li:not(:first-child)::before {
    top: -13px;
    right: auto;
    bottom: auto;
    left: 50%;
    width: 2px;
    height: 13px;
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .mix-agesub-hero-visual[data-illustration-artifact] .mix-agesub-cascade li {
    opacity: 1 !important;
  }

  .mix-agesub-hero-visual[data-illustration-artifact] .mix-agesub-cascade li > strong {
    transform: none !important;
  }
}

/* Calibração · aprovações humanas. Quatro cartões formam uma única decisão;
   cada aresta nasce na borda de um cartão e termina no próximo. */
.mix-agesub-hero-visual[data-illustration-artifact="human-approval"] {
  min-height: 390px;
  padding: 34px 28px;
  background: linear-gradient(150deg, #fff, #f5f1fa);
  box-shadow: 0 24px 54px rgba(31, 13, 65, .11);
}

.mix-agesub-hero-visual[data-illustration-artifact="human-approval"]::before,
.mix-agesub-hero-visual[data-illustration-artifact="human-approval"]::after {
  display: none;
}

.mix-agesub-hero-visual[data-illustration-artifact="human-approval"]
.mix-agesub-cascade {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.mix-agesub-hero-visual[data-illustration-artifact="human-approval"]
.mix-agesub-cascade::before { display: none; }

.mix-agesub-hero-visual[data-illustration-artifact="human-approval"]
.mix-agesub-cascade li,
.mix-agesub-hero-visual[data-illustration-artifact="human-approval"]
.mix-agesub-cascade li:nth-child(n) {
  min-height: 194px;
  align-content: start;
  gap: 19px;
  padding: 18px 14px;
  border-radius: 16px 5px 16px 5px;
  transform: none;
}

.mix-agesub-hero-visual[data-illustration-artifact="human-approval"]
.mix-agesub-cascade li[data-age-artifact="2"] {
  border-color: rgba(184, 52, 63, .48);
  background: var(--agesub-danger-soft);
}

.mix-agesub-hero-visual[data-illustration-artifact="human-approval"]
.mix-agesub-cascade li[data-age-artifact="3"] {
  border-color: rgba(120, 57, 238, .34);
  background: #f5f0ff;
}

.mix-agesub-hero-visual[data-illustration-artifact="human-approval"]
.mix-agesub-cascade li:last-child {
  color: #fff;
  background: var(--agesub-violet);
}

.mix-agesub-hero-visual[data-illustration-artifact="human-approval"]
.mix-agesub-cascade li::after { display: none; }

.mix-agesub-hero-visual[data-illustration-artifact="human-approval"]
.mix-agesub-cascade li:not(:first-child)::before {
  position: absolute;
  top: 50%;
  left: -13px;
  bottom: auto;
  width: 13px;
  height: 2px;
  content: "";
  border: 0;
  border-radius: 0;
  background: var(--agesub-violet);
  box-shadow: none;
  transform: translateY(-50%);
}

.mix-agesub-hero-visual[data-illustration-artifact="human-approval"]
.mix-agesub-cascade li > strong {
  font-size: clamp(16px, 1.42vw, 20px);
  line-height: 1.1;
}

.mix-agesub-cascade-detail {
  display: block;
  color: #5d566d;
  font: 700 10px/1.45 "DM Mono", ui-monospace, monospace;
}

.mix-agesub-hero-visual[data-illustration-artifact="human-approval"]
.mix-agesub-cascade li[data-age-artifact="2"] .mix-agesub-cascade-detail {
  color: var(--agesub-danger);
}

.mix-agesub-hero-visual[data-illustration-artifact="human-approval"]
.mix-agesub-cascade li:last-child .mix-agesub-cascade-detail {
  color: #fff;
}

@media (max-width: 600px) {
  .mix-agesub-hero-visual[data-illustration-artifact="human-approval"] {
    min-height: 0;
    padding: 22px;
  }

  .mix-agesub-hero-visual[data-illustration-artifact="human-approval"]
  .mix-agesub-cascade { grid-template-columns: 1fr; gap: 12px; }

  .mix-agesub-hero-visual[data-illustration-artifact="human-approval"]
  .mix-agesub-cascade li,
  .mix-agesub-hero-visual[data-illustration-artifact="human-approval"]
  .mix-agesub-cascade li:nth-child(n) {
    min-height: 112px;
    gap: 11px;
    padding: 17px;
  }

  .mix-agesub-hero-visual[data-illustration-artifact="human-approval"]
  .mix-agesub-cascade li:not(:first-child)::before {
    top: -12px;
    right: auto;
    bottom: auto;
    left: 50%;
    width: 2px;
    height: 12px;
    transform: translateX(-50%);
  }
}
