.menix-agent-section {
  --agent-ink: #17191c;
  --agent-muted: #626a75;
  --agent-line: #e0e3e7;
  --agent-gold: #efbc5e;
  padding: 112px 24px;
  background: #fff;
  color: var(--agent-ink);
  scroll-margin-top: 96px;
}
.agent-inner { max-width: 1180px; margin-inline: auto; }
.agent-intro { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(0,.75fr); align-items: end; gap: 64px; margin-bottom: 44px; }
.agent-eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 20px; font-size: 13px; font-weight: 600; color: var(--agent-muted); }
.agent-eyebrow::before { content: ''; width: 26px; height: 2px; background: var(--agent-gold); }
.agent-heading { margin: 0; font-family: var(--font-default); font-size: clamp(40px,5.2vw,68px); font-weight: 800; line-height: 1.19; letter-spacing: -.035em; }
.agent-heading span { color: #8c929a; }
.agent-intro-aside { padding-bottom: 8px; }
.agent-description { margin: 0 0 24px; max-width: 380px; color: var(--agent-muted); font-size: 17px; line-height: 1.9; }
.agent-open-app { display: inline-flex; align-items: center; justify-content: center; gap: 22px; min-height: 48px; padding: 12px 20px; border-radius: 12px; background: var(--agent-ink); color: #fff; font-size: 14px; font-weight: 600; transition: background 180ms ease; }
.agent-open-app:hover { color: #fff; background: #33383f; }
.agent-open-app svg { width: 18px; height: 18px; }
.agent-studio { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr); background: #f2f3f5; border: 1px solid var(--agent-line); border-radius: 32px; overflow: hidden; isolation: isolate; }
.agent-workspace { min-width: 0; padding: 40px; position: relative; z-index: 2; }
.agent-workspace-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 24px; }
.agent-workspace-heading p { margin: 0; font-size: 14px; font-weight: 600; }
.agent-wordmark { direction: ltr; font-family: Arial,sans-serif; font-size: 10px; font-weight: 600; letter-spacing: .14em; color: var(--agent-muted); }
.agent-tablist { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); padding: 5px; gap: 5px; border: 1px solid #dde1e6; border-radius: 14px; background: #e8ebef; margin-bottom: 22px; }
.agent-tab { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 8px; border: 0; border-radius: 10px; background: transparent; font: inherit; font-size: 13px; font-weight: 500; color: #626a75; cursor: pointer; transition: color 180ms ease,background 180ms ease,box-shadow 180ms ease; }
.agent-tab[aria-selected="true"] { color: var(--agent-ink); background: #fff; box-shadow: 0 2px 5px #151b2410; }
.agent-tab:hover { color: var(--agent-ink); }
.agent-tab-number { font-size: 10px; font-weight: 400; color: var(--agent-muted); }
.agent-panels { display: grid; }
.agent-panel { grid-area: 1 / 1; min-height: 344px; padding: 26px; background: #fff; border: 1px solid #e4e7eb; border-radius: 20px; box-shadow: 0 8px 24px #1b253106; }
.menix-agent-section .agent-panel[hidden] { display: block !important; visibility: hidden; pointer-events: none; }
.agent-preview-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.agent-preview-heading h3 { margin: 6px 0 0; font-size: 21px; line-height: 1.5; font-weight: 600; }
.agent-preview-label { margin: 0; font-size: 12px; color: #6b7480; }
.agent-preview-icon { display: grid; place-items: center; flex: 0 0 42px; width: 42px; height: 42px; border: 1px solid #e3e7ed; border-radius: 12px; color: #4e5764; background: #f8f9fa; }
.agent-preview-icon svg { width: 21px; height: 21px; }
.agent-data-list { margin: 0; display: grid; gap: 0; }
.agent-data-list > div { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding-block: 13px; border-bottom: 1px solid #edf0f3; }
.agent-data-list dt { font-size: 13px; color: #6b7480; }
.agent-data-list dd { margin: 0; font-size: 14px; font-weight: 500; text-align: left; }
.agent-data-list .agent-pending { color: #786442; font-size: 12px; font-weight: 400; }
.agent-panel-description { margin: 22px 0 0; font-size: 14px; line-height: 1.8; color: var(--agent-muted); }
.agent-analysis-chart { display: block; width: 100%; height: 106px; padding: 10px 0; }
.agent-insights { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 10px 0 0; }
.agent-insights li { padding: 7px 10px; border-radius: 7px; background: #f3f5f7; font-size: 12px; color: #58616e; }
.agent-example-note { margin: 16px 0 0; text-align: center; font-size: 12px; color: var(--agent-muted); }
.agent-visual { position: relative; display: grid; place-items: center; min-width: 0; min-height: 580px; padding: 32px 24px 48px; }
.agent-visual::before { content: ''; position: absolute; width: min(90%,440px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle,#fff 0%,#ffffff8a 47%,#ffffff00 72%); pointer-events: none; }
.agent-scene-wordmark { position: absolute; top: 46%; left: 50%; transform: translate(-50%,-50%); direction: ltr; font-family: Arial,sans-serif; font-size: clamp(76px,10vw,130px); font-weight: 700; line-height: 1; letter-spacing: -.065em; color: transparent; -webkit-text-stroke: 1px #d2d7de; opacity: .6; user-select: none; pointer-events: none; }
.agent-robot-frame { position: relative; z-index: 1; width: min(100%,480px); aspect-ratio: 1; }
.agent-visual-note { position: absolute; bottom: 26px; inset-inline: 16px; margin: 0; text-align: center; font-size: 12px; line-height: 20px; color: var(--agent-muted); }
.menix-agent-section :is(a,button,[tabindex]):focus-visible { outline: 2px solid #6b7480; outline-offset: 4px; }

@media (max-width: 1023px) {
  .menix-agent-section { padding-block: 80px; }
  .agent-intro { gap: 32px; }
  .agent-heading { font-size: 48px; }
  .agent-description { font-size: 15px; }
  .agent-workspace { padding: 28px; }
  .agent-visual { min-height: 540px; padding-inline: 12px; }
  .agent-panel { padding: 22px; }
  .agent-tab-number { display: none; }
}
@media (max-width: 767px) {
  .agent-intro { grid-template-columns: 1fr; gap: 24px; margin-bottom: 32px; }
  .agent-heading { font-size: clamp(36px,7vw,48px); }
  .agent-eyebrow { margin-bottom: 14px; }
  .agent-intro-aside { padding: 0; }
  .agent-description { max-width: 520px; margin-bottom: 18px; }
  .agent-studio { display: flex; flex-direction: column; border-radius: 24px; }
  .agent-visual { order: -1; min-height: 390px; padding: 12px 18px 44px; }
  .agent-robot-frame { max-width: 340px; }
  .agent-scene-wordmark { font-size: 100px; }
  .agent-workspace { padding: 10px 24px 28px; }
  .agent-workspace-heading { margin-bottom: 16px; }
}
@media (max-width: 479px) {
  .menix-agent-section { padding: 64px 16px; }
  .agent-heading { font-size: 36px; }
  .agent-workspace { padding: 8px 16px 22px; }
  .agent-visual { min-height: 350px; }
  .agent-visual-note { bottom: 20px; }
  .agent-tab { font-size: 12px; }
  .agent-panel { min-height: 336px; padding: 20px 16px; border-radius: 16px; }
  .agent-preview-heading h3 { font-size: 19px; }
  .agent-data-list > div { gap: 12px; }
  .agent-data-list dd { font-size: 12px; }
  .agent-workspace-heading p { font-size: 13px; }
  .agent-wordmark { font-size: 9px; letter-spacing: .08em; }
}
@media (prefers-reduced-motion: reduce) {
  .agent-tab, .agent-open-app { transition: none; }
}
