/* ==========================================================================
   Interactive Case Study Modules v2.0 — Luminous Atelier System
   Strictly inherits tokens from style.css (zero mismatched spacing/colors)
   ========================================================================== */

/* Full-width Case Hero Artboards */
.case-artboard {
  position: relative;
  width: 100%;
  min-height: clamp(340px, 38vw, 470px);
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: clamp(32px, 4.8vw, 60px);
}

.case-artboard img {
  width: auto;
  max-width: none;
}

.case-artboard .art-dt__logo,
.case-artboard .art-tx__logo {
  display: block;
  width: auto;
  margin: 0 0 18px;
}

.case-artboard .art-dt__tagline {
  white-space: nowrap;
}

.case-artboard .art-tx__title-blue {
  background: linear-gradient(115deg, #0052d9 0%, #0284c7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.case-artboard--dingtalk {
  background:
    radial-gradient(circle at 76% 24%, rgba(167, 139, 250, 0.22) 0%, transparent 52%),
    linear-gradient(132deg, #ffffff 0%, #eff6ff 48%, #d4e5ff 100%);
}

.case-artboard--dingtalk .case-artboard__orb {
  position: absolute;
  width: clamp(270px, 34vw, 450px);
  height: clamp(270px, 34vw, 450px);
  border-radius: 50%;
  left: 34%;
  top: -12%;
  background: radial-gradient(
    circle at 30% 28%,
    rgba(255, 255, 255, 0.96) 0%,
    rgba(227, 239, 255, 0.84) 48%,
    rgba(195, 218, 255, 0.62) 82%,
    rgba(218, 234, 255, 0.84) 100%
  );
  box-shadow:
    inset -14px -18px 34px rgba(108, 152, 236, 0.2),
    inset 14px 16px 28px rgba(255, 255, 255, 0.94),
    0 24px 56px rgba(34, 96, 224, 0.11);
  pointer-events: none;
}

.case-artboard--dingtalk .case-artboard__content {
  position: relative;
  z-index: 2;
  max-width: 58%;
}

.case-artboard--dingtalk .case-artboard__mascot {
  position: absolute;
  right: clamp(24px, 6vw, 86px);
  bottom: -6%;
  height: 92%;
  width: auto;
  z-index: 3;
  filter: drop-shadow(0 20px 38px rgba(15, 23, 42, 0.18));
  pointer-events: none;
}

.case-artboard--tencent {
  background:
    radial-gradient(circle at 80% 18%, rgba(6, 182, 212, 0.2) 0%, transparent 48%),
    linear-gradient(132deg, #f8fbff 0%, #e7f2ff 52%, #d2e6ff 100%);
}

.case-artboard--tencent .case-artboard__orb {
  position: absolute;
  width: clamp(320px, 42vw, 520px);
  height: clamp(320px, 42vw, 520px);
  border-radius: 50%;
  left: 24%;
  top: -22%;
  background: radial-gradient(
    circle at 35% 30%,
    rgba(255, 255, 255, 0.88) 0%,
    rgba(198, 222, 255, 0.52) 56%,
    rgba(165, 202, 255, 0.24) 100%
  );
  pointer-events: none;
}

.case-artboard--tencent .case-artboard__content {
  position: relative;
  z-index: 2;
  max-width: 44%;
}

.case-artboard--tencent .case-artboard__web {
  position: absolute;
  right: 3%;
  bottom: 4%;
  width: 46%;
  height: auto;
  z-index: 2;
  filter: drop-shadow(0 20px 38px rgba(15, 23, 42, 0.14));
  pointer-events: none;
}

.case-artboard--tencent .case-artboard__mob {
  position: absolute;
  right: 34%;
  bottom: -10%;
  width: 17%;
  height: auto;
  z-index: 3;
  filter: drop-shadow(0 22px 38px rgba(15, 23, 42, 0.2));
  pointer-events: none;
}

/* ==========================================================================
   Modular Surface / Card Primitives (Unified Elevation & Specular Rim)
   ========================================================================== */
.mod-panel {
  position: relative;
  background: var(--glass-card);
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3.2vw, 36px);
  box-shadow: var(--specular-top), var(--shadow-card);
}

.mod-panel + .mod-panel,
.mod-stack > * + * {
  margin-top: var(--space-5);
}

.mod-panel__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--hairline);
}

.mod-panel__kicker {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 6px;
}

.mod-panel__title {
  margin: 0;
  font-size: 18.5px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink-primary);
}

.mod-panel__desc {
  margin: 5px 0 0;
  font-size: 13.5px;
  color: var(--ink-secondary);
  line-height: 1.62;
}

/* Editorial de-boxed section block (Level 0 canvas breathing room) */
.mod-canvas + .mod-canvas {
  margin-top: 52px;
}

.mod-canvas__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

/* Segmented Control Tabs (Calm Restraint) */
.seg-tabs {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px;
  border-radius: var(--radius-pill);
  background: rgba(15, 23, 42, 0.05);
  border: 1px solid var(--hairline);
  flex-wrap: wrap;
}

.seg-tab {
  border: none;
  background: transparent;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-secondary);
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease-out);
}

.seg-tab:hover {
  color: var(--ink-primary);
}

.seg-tab.is-active {
  background: #0f172a;
  color: #ffffff;
  box-shadow: 0 4px 12px -4px rgba(15, 23, 42, 0.32);
}

.tab-pane {
  display: none;
}

.tab-pane.is-active {
  display: block;
  animation: fadeSlideIn 280ms var(--ease-out);
}

@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Unified Status Pills */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.01em;
}

.status-pill--before {
  background: linear-gradient(135deg, #fff1f2 0%, #ffe4e6 100%);
  color: #be123c;
  border: 1px solid #fecdd3;
}

.status-pill--after {
  background: linear-gradient(135deg, #eff6ff 0%, #e0e7ff 100%);
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}

.status-pill--accent {
  background: color-mix(in srgb, var(--page-accent) 9%, white);
  color: var(--page-accent);
  border: 1px solid color-mix(in srgb, var(--page-accent) 22%, white);
}

/* ==========================================================================
   Ecosystem Architecture Diagram (DingTalk)
   ========================================================================== */
.eco-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
  margin-bottom: var(--space-3);
}

.eco-card {
  background: linear-gradient(180deg, #ffffff 0%, #f6f9ff 100%);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  box-shadow: var(--specular-top), var(--shadow-xs);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform var(--dur-fast) var(--ease-out), border-color var(--dur-fast) ease;
}

.eco-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--page-accent) 30%, white);
}

.eco-card__icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--grad-accent);
  color: #ffffff;
  box-shadow: 0 8px 18px -6px color-mix(in srgb, var(--page-accent) 55%, transparent);
}

.eco-card__title {
  margin: 2px 0 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink-primary);
}

.eco-card__desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.62;
  color: var(--ink-secondary);
}

.eco-connectors {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  justify-items: center;
  margin: 6px 0 10px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--page-accent);
}

.eco-base {
  position: relative;
  overflow: hidden;
  background: var(--grad-accent);
  color: #ffffff;
  border-radius: var(--radius-md);
  padding: 22px 26px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  box-shadow: 0 18px 36px -12px color-mix(in srgb, var(--page-accent) 55%, transparent);
}

.eco-base::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  right: -60px;
  top: -120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.24) 0%, transparent 70%);
  pointer-events: none;
}

.eco-base__title {
  margin: 0 0 4px;
  font-size: 17.5px;
  font-weight: 700;
}

.eco-base__desc {
  margin: 0;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.9);
  max-width: 68ch;
}

.eco-base__tag {
  position: relative;
  z-index: 2;
  padding: 7px 15px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 12.5px;
  font-weight: 650;
  white-space: nowrap;
}

/* ==========================================================================
   User Journey Map Matrix
   ========================================================================== */
.journey-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
}

.journey-col {
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--specular-top), var(--shadow-xs);
  transition: transform var(--dur-fast) var(--ease-out),
    border-color var(--dur-fast) ease,
    box-shadow var(--dur-fast) ease;
}

.journey-col:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--page-accent) 34%, white);
  box-shadow: var(--shadow-sm);
}

.journey-col__head {
  padding: 16px 20px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--page-accent) 6%, white) 0%, #ffffff 100%);
  border-bottom: 1px solid var(--hairline);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.journey-col__phase {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink-primary);
}

.journey-col__num {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--page-accent);
}

.journey-col__body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}

.journey-block__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 6px;
}

.journey-block__list {
  margin: 0;
  padding-left: 16px;
  font-size: 13.5px;
  line-height: 1.62;
  color: var(--ink-secondary);
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.journey-block--pain {
  margin-top: auto;
  padding: 13px 15px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #fff1f2 0%, #fff7f7 100%);
  border: 1px solid #fecdd3;
}

.journey-block--pain .journey-block__label {
  color: #be123c;
}

.journey-block--pain .journey-block__list {
  color: #881337;
}

/* ==========================================================================
   Sculptural Obsidian HMW Banner & Goal Triad
   ========================================================================== */
.hmw-banner {
  position: relative;
  padding: 22px 26px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--hairline);
  border-left: 3.5px solid var(--page-accent);
  color: var(--ink-primary);
  margin-bottom: var(--space-5);
  box-shadow: var(--shadow-xs);
}

.hmw-banner__label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--page-accent);
  margin-bottom: 6px;
}

.hmw-banner__quote {
  margin: 0;
  font-size: clamp(16.5px, 1.8vw, 20px);
  font-weight: 650;
  line-height: 1.5;
  letter-spacing: -0.015em;
  color: var(--ink-primary);
}

.causal-chain {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  margin-bottom: var(--space-5);
}

.causal-node {
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
  border: 1px solid var(--hairline);
  font-size: 13.5px;
  line-height: 1.58;
  color: var(--ink-primary);
  font-weight: 550;
  box-shadow: var(--shadow-xs);
}

.causal-arrow {
  color: var(--page-accent);
  font-size: 18px;
  font-weight: 700;
  text-align: center;
}

.goal-triad {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
}

.goal-card {
  padding: 22px;
  border-radius: var(--radius-md);
  border: 1px solid color-mix(in srgb, var(--page-accent) 20%, white);
  background: linear-gradient(
    145deg,
    color-mix(in srgb, var(--page-accent) 7%, white) 0%,
    rgba(255, 255, 255, 0.96) 100%
  );
  box-shadow: var(--specular-top), var(--shadow-xs);
}

.goal-card__num {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--page-accent);
  margin-bottom: 8px;
}

.goal-card__title {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink-primary);
}

.goal-card__desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.62;
  color: var(--ink-secondary);
}

/* ==========================================================================
   Path Compression & Cutout Stage Showcase
   ========================================================================== */
.path-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
}

.path-box {
  padding: 20px 22px;
  border-radius: var(--radius-md);
  border: 1px solid var(--hairline);
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: var(--shadow-xs);
}

.path-box--after {
  background: linear-gradient(145deg, #f2f7ff 0%, #eef2ff 100%);
  border-color: #c7dcff;
}

.path-steps {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}

.path-step {
  padding: 6px 12px;
  border-radius: var(--radius-xs);
  font-size: 12.5px;
  font-weight: 600;
  background: #ffffff;
  border: 1px solid var(--hairline);
  color: var(--ink-primary);
}

.path-box--after .path-step--hi {
  background: var(--grad-accent);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 6px 14px -6px color-mix(in srgb, var(--page-accent) 60%, transparent);
}

.path-sep {
  color: var(--ink-muted);
  font-size: 13px;
}

/* Cutout Gallery & Device Frames */
.cutout-grid {
  display: grid;
  gap: var(--space-4);
}

.cutout-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cutout-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cutout-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cutout-grid--asymmetric {
  grid-template-columns: 2fr 1fr;
  align-items: stretch;
}

.cutout-grid--bento-3 {
  grid-template-columns: 1.8fr 1fr 1fr;
  align-items: stretch;
}

.cutout-card {
  background: #ffffff;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xs);
  transition: transform var(--dur-fast) var(--ease-out),
    box-shadow var(--dur-fast) ease,
    border-color var(--dur-fast) ease;
}

.cutout-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--page-accent) 26%, white);
  box-shadow: var(--shadow-sm);
}

.cutout-card__stage {
  position: relative;
  flex: 1;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  background: linear-gradient(180deg, #f6f8fd 0%, #edf1fa 100%);
  cursor: zoom-in;
}

.cutout-card__stage--16x10,
.cutout-card__stage--4x3,
.cutout-card__stage--3x2 {
  flex: 0 0 auto;
  overflow: hidden;
  min-height: 0;
}

.cutout-card__stage--16x10 {
  aspect-ratio: 16 / 10;
  padding: 14px;
}

.cutout-card__stage--4x3 {
  aspect-ratio: 4 / 3;
  padding: 14px;
}

.cutout-card__stage--3x2 {
  aspect-ratio: 3 / 2;
  padding: 16px;
}

.cutout-card__stage--fixed420 {
  height: 420px;
  min-height: 0;
  overflow: hidden;
  padding: 16px;
}

.cutout-card__stage--fixed220 {
  height: 220px;
  min-height: 0;
  overflow: hidden;
  padding: 14px;
}

.cutout-card__stage--cover {
  padding: 0;
  min-height: 0;
  overflow: hidden;
}

.cutout-card__stage--cover img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
}

.cutout-card__stage--16x10 img,
.cutout-card__stage--4x3 img,
.cutout-card__stage--3x2 img,
.cutout-card__stage--fixed420 img,
.cutout-card__stage--fixed220 img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: 100%;
  object-fit: contain;
}

.cutout-card__stage--dark {
  background: var(--grad-obsidian);
}

.cutout-card__stage img {
  max-width: 100%;
  max-height: 440px;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 12px 28px -8px rgba(15, 23, 42, 0.14);
  transition: transform 360ms var(--ease-out);
}

.cutout-card__stage:hover img {
  transform: scale(1.022);
}

.cutout-card__stage--phone img {
  max-height: 400px;
  border-radius: 18px;
}

.cutout-card__meta {
  padding: 12px 16px;
  background: #ffffff;
  border-top: 1px solid var(--hairline);
  font-size: 13px;
  color: var(--ink-secondary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-shrink: 0;
}

.cutout-card__meta strong {
  color: var(--ink-primary);
  font-weight: 650;
}

/* ==========================================================================
   Interactive Playgrounds (DingTalk AI / IM Card / Font / Search)
   ========================================================================== */
.playground-split {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 24px;
  align-items: start;
}

.sim-window {
  background: #ffffff;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.sim-window__bar {
  padding: 13px 18px;
  background: #f8fafd;
  border-bottom: 1px solid var(--hairline);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 650;
  color: var(--ink-primary);
}

.sim-dots {
  display: none;
}

.sim-window__body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* AI Assistant Playground */
.ai-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ai-chip {
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid color-mix(in srgb, var(--page-accent) 26%, white);
  background: color-mix(in srgb, var(--page-accent) 7%, white);
  color: var(--page-accent);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease-out);
}

.ai-chip:hover,
.ai-chip.is-active {
  background: var(--grad-accent);
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 6px 14px -4px color-mix(in srgb, var(--page-accent) 55%, transparent);
}

.ai-bubble {
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  background: linear-gradient(145deg, #f5f9ff 0%, #eef4ff 100%);
  border: 1px solid #d5e4ff;
  font-size: 13.5px;
  line-height: 1.66;
  color: var(--ink-primary);
}

.ai-bubble__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 700;
  color: var(--page-accent);
  margin-bottom: 8px;
}

.ai-bubble ul {
  margin: 8px 0 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

/* DingTalk Native IM Card Playground */
.im-chat-canvas {
  background:
    radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 55%),
    radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 55%),
    #f0f4fb;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.im-card {
  width: 100%;
  max-width: 420px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  box-shadow: 0 18px 42px -12px rgba(15, 23, 42, 0.14);
  overflow: hidden;
}

.im-card__head {
  padding: 16px 18px 12px;
  display: flex;
  align-items: center;
  gap: 11px;
}

.im-card__badge {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--grad-accent);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 6px 14px -4px rgba(22, 104, 255, 0.45);
}

.im-card__meta-title {
  font-size: 14.5px;
  font-weight: 700;
  color: #0f172a;
}

.im-card__meta-sub {
  font-size: 12px;
  color: #64748b;
}

.im-card__summary {
  margin: 0 18px 14px;
  padding: 16px 12px;
  border-radius: 12px;
  background: linear-gradient(108deg, #e786e6 0%, #8c78f8 48%, #2894ff 100%);
  box-shadow: 0 10px 22px -8px rgba(99, 102, 241, 0.38);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  text-align: center;
}

.im-card__summary > div {
  position: relative;
}

.im-card__summary > div + div::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16%;
  bottom: 16%;
  width: 1px;
  background: rgba(255, 255, 255, 0.32);
}

.im-card__stat-num {
  font-size: 16px;
  font-weight: 750;
  color: #ffffff;
}

.im-card__stat-lbl {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 2px;
}

.im-card__perm-bar {
  padding: 12px 18px;
  background: #f8fafd;
  border-top: 1px solid #edf2f7;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.im-card__select {
  font-size: 12.5px;
  font-weight: 600;
  color: #1e293b;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 5px 10px;
  cursor: pointer;
}

.im-card__cta {
  padding: 7px 15px;
  border-radius: 9px;
  border: none;
  background: var(--grad-accent);
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 650;
  cursor: pointer;
  box-shadow: 0 6px 14px -5px rgba(22, 104, 255, 0.5);
  transition: transform var(--dur-fast) ease, box-shadow var(--dur-fast) ease;
}

.im-card__cta:hover {
  transform: translateY(-1px);
}

.im-card__cta--ghost {
  background: #eff6ff;
  color: #1668ff;
  border: 1px solid #bfdbfe;
  box-shadow: none;
}

/* Font Size Live Preview */
.font-demo-transcript {
  padding: 20px 22px;
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, #f8faff 0%, #f1f5fc 100%);
  border: 1px solid var(--hairline);
  transition: all 240ms var(--ease-out);
}

.font-demo-transcript[data-size="sm"] {
  font-size: 13px;
  line-height: 1.62;
}

.font-demo-transcript[data-size="md"] {
  font-size: 16.5px;
  line-height: 1.65;
}

.font-demo-transcript[data-size="lg"] {
  font-size: 21px;
  line-height: 1.55;
}

/* Search Playground */
.search-demo-input-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 11px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  transition: border-color var(--dur-fast) ease, box-shadow var(--dur-fast) ease;
}

.search-demo-input-wrap:focus-within {
  border-color: var(--page-accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--page-accent) 14%, transparent);
}

.search-demo-input {
  border: none;
  outline: none;
  width: 100%;
  font-size: 14px;
  color: var(--ink-primary);
  background: transparent;
}

.kbd-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 7px;
  border-radius: 6px;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #475569;
  white-space: nowrap;
}

.search-demo-results {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.search-demo-item {
  padding: 12px 14px;
  border-radius: 10px;
  background: #f8faff;
  border: 1px solid var(--hairline);
  font-size: 13px;
}

.search-demo-item mark {
  background: #dbeafe;
  color: #1d4ed8;
  padding: 1px 4px;
  border-radius: 4px;
  font-weight: 600;
}

/* ==========================================================================
   Tencent Conference Modules (Process / Swimlane / Matrix / Tree / Bar Chart)
   ========================================================================== */
.stepper-5 {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.step-tile {
  padding: 18px 16px;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, #ffffff 0%, #f6f9ff 100%);
  border: 1px solid var(--hairline);
  box-shadow: var(--specular-top), var(--shadow-xs);
}

.step-tile__num {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--page-accent);
  margin-bottom: 8px;
}

.step-tile__title {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-primary);
}

.step-tile__desc {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.56;
  color: var(--ink-secondary);
}

.challenge-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.challenge-card {
  padding: 20px;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
  border: 1px solid var(--hairline);
  box-shadow: var(--specular-top), var(--shadow-xs);
}

.challenge-card__title {
  margin: 12px 0 8px;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ink-primary);
}

.challenge-card ul {
  margin: 0;
  padding-left: 16px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--ink-secondary);
}

/* Swimlane */
.swimlane {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.swimlane__row {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 15px 18px;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
  border: 1px solid var(--hairline);
}

.swimlane__role {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--page-accent);
}

.swimlane__nodes {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.swimlane__node {
  padding: 6px 12px;
  border-radius: var(--radius-xs);
  background: #ffffff;
  border: 1px solid var(--hairline);
  font-size: 13px;
  font-weight: 550;
  color: var(--ink-primary);
  box-shadow: var(--shadow-xs);
}

/* Comparison Table */
.comp-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
}

.comp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  background: #ffffff;
}

.comp-table th,
.comp-table td {
  padding: 15px 18px;
  text-align: left;
  border-bottom: 1px solid var(--hairline);
  vertical-align: top;
  line-height: 1.62;
}

.comp-table th {
  background: linear-gradient(180deg, #f8faff 0%, #f1f5fc 100%);
  font-weight: 700;
  color: var(--ink-primary);
  font-size: 13px;
}

.comp-table tr:last-child td {
  border-bottom: none;
}

/* Product Architecture Tree */
.ia-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.ia-col {
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  background: #f8faff;
  overflow: hidden;
  box-shadow: var(--shadow-xs);
}

.ia-col__head {
  padding: 12px 14px;
  background: var(--grad-accent);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
}

.ia-col--mobile .ia-col__head {
  background: var(--grad-obsidian);
}

.ia-col__list {
  list-style: none;
  margin: 0;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12.5px;
  color: var(--ink-secondary);
}

.ia-col__list li {
  padding: 8px 10px;
  border-radius: 9px;
  background: #ffffff;
  border: 1px solid var(--hairline);
}

.ia-col__list li strong {
  display: block;
  color: var(--ink-primary);
  font-weight: 650;
  margin-bottom: 2px;
}

/* Interactive Tree Preview Widget */
.tree-preview {
  background: linear-gradient(180deg, #f6f9ff 0%, #eef4ff 100%);
  border: 1px solid #d5e4ff;
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tree-venue {
  background: #ffffff;
  border: 1px solid #d5e4ff;
  border-radius: 12px;
  padding: 14px 16px;
  box-shadow: var(--shadow-xs);
}

.tree-venue__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 700;
  color: var(--page-accent);
  margin-bottom: 8px;
}

.tree-topic {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 12px;
  margin-top: 7px;
  border-radius: 9px;
  background: #f8fafd;
  border: 1px solid var(--hairline);
  font-size: 12.5px;
}

.lock-toggle {
  border: 1px solid var(--hairline-strong);
  background: #ffffff;
  border-radius: var(--radius-pill);
  padding: 4px 11px;
  font-size: 11.5px;
  font-weight: 650;
  cursor: pointer;
  color: var(--ink-secondary);
  white-space: nowrap;
  flex-shrink: 0;
  transition: all var(--dur-fast) ease;
}

.lock-toggle.is-private {
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  border-color: #fdba74;
  color: #c2410c;
}

/* Attendee 6-Screen Horizontal Filmstrip */
.phone-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.phone-mini {
  background: linear-gradient(180deg, #ffffff 0%, #f6f8fd 100%);
  border: 1px solid var(--hairline);
  border-radius: 16px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  cursor: zoom-in;
  box-shadow: var(--shadow-xs);
  transition: transform var(--dur-fast) var(--ease-out),
    box-shadow var(--dur-fast) ease,
    border-color var(--dur-fast) ease;
}

.phone-mini:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--page-accent) 32%, white);
  box-shadow: var(--shadow-sm);
}

.phone-mini img {
  width: 100%;
  height: auto;
  border-radius: 11px;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.09);
}

.phone-mini__label {
  text-align: center;
  font-size: 12px;
  font-weight: 650;
  color: var(--ink-primary);
}

.phone-mini__step {
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  color: var(--page-accent);
}

/* Validation Bar Chart */
.metric-bars {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.metric-bar__head {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 650;
  margin-bottom: 8px;
}

.metric-bar__track {
  height: 16px;
  border-radius: var(--radius-pill);
  background: #edf1f8;
  overflow: hidden;
}

.metric-bar__fill {
  height: 100%;
  border-radius: var(--radius-pill);
  transition: width 700ms var(--ease-out);
}

.metric-bar__fill--ours {
  background: var(--grad-accent);
  box-shadow: 0 0 14px color-mix(in srgb, var(--page-accent) 40%, transparent);
}

.metric-bar__fill--baseline {
  background: linear-gradient(90deg, #cbd5e1 0%, #94a3b8 100%);
}

.kpi-hero {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 28px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, color-mix(in srgb, var(--page-accent) 8%, white) 0%, #ffffff 100%);
  border: 1px solid color-mix(in srgb, var(--page-accent) 22%, white);
  box-shadow: var(--specular-top), var(--shadow-xs);
}

.kpi-hero__num {
  font-size: clamp(36px, 4.4vw, 52px);
  font-weight: 750;
  letter-spacing: -0.035em;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}

/* ==========================================================================
   Remind Hardware & Research Modules
   ========================================================================== */
.loop-diagram {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.loop-node {
  padding: 20px;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, #ffffff 0%, #faf6ff 100%);
  border: 1px solid var(--hairline);
  box-shadow: var(--specular-top), var(--shadow-xs);
}

.loop-node__step {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--page-accent);
  margin-bottom: 7px;
}

.loop-node__title {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-primary);
}

.loop-node__desc {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.58;
  color: var(--ink-secondary);
}

/* OAE Sensing Pipeline */
.pipeline-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.pipe-stage {
  padding: 20px;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, #ffffff 0%, #fdf7fc 100%);
  border: 1px solid var(--hairline);
  border-top: 3px solid var(--page-accent);
  box-shadow: var(--shadow-xs);
}

.pipe-stage__tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--page-accent);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.pipe-stage__title {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 700;
}

.pipe-stage__formula {
  margin: 10px 0 0;
  padding: 8px 10px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--page-accent) 8%, white);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--page-accent);
}

/* Interactive AR Cognitive Load Color Visualizer */
.ar-sim {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 24px;
  align-items: center;
}

.ar-visor-stage {
  position: relative;
  min-height: 310px;
  border-radius: var(--radius-md);
  background: var(--grad-obsidian);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px;
  overflow: hidden;
  color: #ffffff;
  box-shadow: var(--shadow-obsidian);
}

.ar-visor-glow {
  position: absolute;
  width: 300px;
  height: 160px;
  border-radius: 50%;
  filter: blur(46px);
  opacity: 0.78;
  transition: background 500ms ease, transform 500ms ease;
  pointer-events: none;
}

.ar-visor-lens {
  position: relative;
  z-index: 2;
  width: min(370px, 90%);
  height: 122px;
  border-radius: 60px 60px 46px 46px / 34px 34px 56px 56px;
  border: 1.5px solid rgba(255, 255, 255, 0.38);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.04) 100%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow:
    inset 0 1px 18px rgba(255, 255, 255, 0.28),
    0 20px 46px rgba(0, 0, 0, 0.48);
  transition: box-shadow 500ms ease, border-color 500ms ease;
}

.ar-visor-lens__state {
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.ar-visor-lens__cue {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.85);
}

.ar-visor-caption {
  position: relative;
  z-index: 2;
  margin-top: 22px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.74);
  text-align: center;
}

.ar-level-btns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.ar-level-btn {
  padding: 13px 15px;
  border-radius: 13px;
  border: 1px solid var(--hairline);
  background: #ffffff;
  text-align: left;
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease-out);
}

.ar-level-btn:hover {
  border-color: color-mix(in srgb, var(--page-accent) 40%, white);
  transform: translateY(-1px);
}

.ar-level-btn.is-active {
  background: linear-gradient(135deg, color-mix(in srgb, var(--page-accent) 7%, white) 0%, #ffffff 100%);
  border-color: var(--page-accent);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--page-accent) 18%, white);
}

.ar-level-btn__swatch {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 6px;
}

.ar-level-btn__title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink-primary);
}

.ar-level-btn__sub {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  color: var(--ink-secondary);
}

/* SVG Music Mode Bar Chart */
.music-chart-wrap {
  overflow-x: auto;
}

.music-chart-svg {
  width: 100%;
  min-width: 560px;
  height: auto;
  display: block;
}

.chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 14px;
  font-size: 12.5px;
  font-weight: 550;
  color: var(--ink-secondary);
}

.chart-legend__item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.chart-legend__dot {
  width: 10px;
  height: 10px;
  border-radius: 3px;
}

/* ==========================================================================
   Scroll-Driven Diagonal Before / After UI Morph Stage (.scroll-morph-*)
   Pixel-aligned native HTML UI reconstruction with diagonal clip-path wipe
   ========================================================================== */
.wide-stage {
  width: min(calc(100% - 40px), 1240px);
  margin: 0 auto;
}

.scroll-morph-track {
  position: relative;
  height: calc(min(668px, calc(100vh - 84px)) + clamp(380px, 46vh, 480px));
  margin-top: 4px;
}

.scroll-morph-sticky {
  position: sticky;
  top: max(68px, calc(50vh - 334px));
  height: min(668px, calc(100vh - 84px));
  min-height: 588px;
  display: flex;
  align-items: center;
}

.scroll-morph-stage {
  --wipe: 50%;
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.96);
  box-shadow: var(--specular-top), var(--shadow-lg);
  isolation: isolate;
  background: #edf1f7;
}

.morph-layer {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 20px clamp(22px, 3vw, 42px) 62px;
}

/* BEFORE Layer (cool muted architectural slate) */
.morph-layer--before {
  z-index: 1;
  background:
    radial-gradient(ellipse 64% 60% at 14% 18%, rgba(244, 63, 94, 0.065) 0%, transparent 56%),
    radial-gradient(rgba(15, 23, 42, 0.065) 1px, transparent 1px),
    linear-gradient(135deg, #f3f5fa 0%, #e7ecf5 100%);
  background-size: auto, 22px 22px, auto;
}

/* AFTER Layer (luminous cobalt/cyan silk aurora, razor-clean vertical curtain wipe) */
.morph-layer--after {
  z-index: 2;
  background:
    radial-gradient(ellipse 68% 66% at 86% 16%, rgba(56, 189, 248, 0.28) 0%, transparent 56%),
    radial-gradient(ellipse 56% 58% at 54% 94%, rgba(99, 102, 241, 0.22) 0%, transparent 62%),
    linear-gradient(142deg, #eff6ff 0%, #dbeafe 46%, #e0e7ff 100%);
  clip-path: inset(0 0 0 var(--wipe));
  will-change: clip-path;
}

/* Top header strip inside BOTH layers (pixel-identical positioning!) */
.morph-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
  min-height: 34px;
}

.morph-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.morph-badge--before {
  background: rgba(255, 255, 255, 0.88);
  color: #be123c;
  border: 1px solid #fecdd3;
  box-shadow: var(--shadow-xs);
}

.morph-topbar--before {
  justify-content: flex-start;
}

.morph-topbar--after {
  justify-content: flex-end;
}

.morph-badge--after {
  background: var(--grad-accent);
  color: #ffffff;
  box-shadow: 0 8px 20px -6px rgba(0, 127, 255, 0.56);
}

.morph-topbar__hint {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-secondary);
}

/* 3-Column Pixel-Aligned Real Hardware Showcase Grid (Identical in Before & After!) */
.morph-devices {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 234px) minmax(0, 234px) minmax(0, 1fr);
  justify-content: center;
  gap: clamp(20px, 2.5vw, 34px);
  align-items: center;
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;
}

.real-device-unit {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.real-device-unit--desktop {
  width: 100%;
  max-width: 556px;
  justify-self: center;
}

/* --- Photorealistic Titanium iPhone Pro Hardware Frame --- */
.real-iphone {
  position: relative;
  width: min(100%, 222px);
  padding: 7px;
  border-radius: 36px;
  background: linear-gradient(145deg, #475569 0%, #1e293b 28%, #0f172a 72%, #334155 100%);
  box-shadow:
    0 28px 54px -18px rgba(15, 23, 42, 0.36),
    0 10px 20px -10px rgba(15, 23, 42, 0.22),
    inset 0 0 0 1px rgba(255, 255, 255, 0.26),
    inset 0 0 0 2.5px rgba(15, 23, 42, 0.92);
}

.real-iphone--light {
  background: linear-gradient(145deg, #cbd5e1 0%, #94a3b8 30%, #64748b 70%, #e2e8f0 100%);
  box-shadow:
    0 28px 54px -18px rgba(15, 23, 42, 0.28),
    0 10px 20px -10px rgba(15, 23, 42, 0.16),
    inset 0 0 0 1px rgba(255, 255, 255, 0.72),
    inset 0 0 0 3px #111827;
}

/* Subtle metallic hardware side buttons (power & volume) */
.real-iphone::before {
  content: "";
  position: absolute;
  left: -2.5px;
  top: 21%;
  width: 2.5px;
  height: 26px;
  border-radius: 2px 0 0 2px;
  background: linear-gradient(180deg, #64748b, #334155);
  box-shadow: 0 36px 0 #334155;
}

.real-iphone::after {
  content: "";
  position: absolute;
  right: -2.5px;
  top: 25%;
  width: 2.5px;
  height: 44px;
  border-radius: 0 2px 2px 0;
  background: linear-gradient(180deg, #64748b, #334155);
}

.real-iphone__screen {
  position: relative;
  width: 100%;
  aspect-ratio: 750 / 1624;
  border-radius: 29px;
  overflow: hidden;
  background: #171b1e;
  box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.08);
}

.real-iphone--light .real-iphone__screen {
  background: #ffffff;
}

.real-iphone__screen > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
}

/* Precision Keynote Spotlight Ring Over Newly Added Real Modules (After Layer Only) */
.real-spotlight {
  position: absolute;
  pointer-events: none;
  border-radius: 10px;
  border: 1.5px solid rgba(56, 189, 248, 0.92);
  box-shadow:
    0 0 0 3px rgba(0, 127, 255, 0.16),
    0 8px 22px -4px rgba(0, 127, 255, 0.36);
}

.real-spotlight--endcard {
  top: 69.3%;
  left: 3.6%;
  right: 3.6%;
  height: 14.0%;
}

.real-spotlight--calendar {
  top: 24.4%;
  left: 2.8%;
  right: 2.8%;
  height: 21.8%;
  border-color: rgba(0, 127, 255, 0.78);
  box-shadow:
    0 0 0 3px rgba(0, 127, 255, 0.12),
    0 10px 24px -6px rgba(99, 102, 241, 0.32);
}

.real-spotlight--calendar .real-spotlight__tag {
  top: auto;
  bottom: -9px;
  right: 10px;
}

.real-spotlight__tag {
  position: absolute;
  top: -9px;
  right: 8px;
  padding: 1.5px 7px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, #007fff 0%, #4f46e5 100%);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.45;
  box-shadow: 0 4px 10px -2px rgba(0, 127, 255, 0.55);
  white-space: nowrap;
}

/* --- Photorealistic macOS DingTalk Desktop Window --- */
.real-macos {
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow:
    0 28px 54px -20px rgba(15, 23, 42, 0.26),
    0 8px 18px -10px rgba(15, 23, 42, 0.14),
    0 0 0 1px rgba(255, 255, 255, 0.7) inset;
}

.real-macos--after {
  border-color: rgba(0, 127, 255, 0.24);
  box-shadow:
    0 30px 60px -18px rgba(0, 102, 255, 0.24),
    0 8px 20px -10px rgba(15, 23, 42, 0.14),
    0 0 0 1px rgba(255, 255, 255, 0.85) inset;
}

.real-macos__bar {
  height: 28px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  position: relative;
  background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.real-macos__lights {
  display: inline-flex;
  gap: 6px;
}

.real-macos__lights i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: block;
}

.real-macos__lights i:nth-child(1) { background: #ff5f57; box-shadow: inset 0 0 0 0.5px rgba(0,0,0,0.14); }
.real-macos__lights i:nth-child(2) { background: #febc2e; box-shadow: inset 0 0 0 0.5px rgba(0,0,0,0.14); }
.real-macos__lights i:nth-child(3) { background: #28c840; box-shadow: inset 0 0 0 0.5px rgba(0,0,0,0.14); }

.real-macos__title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.real-macos__view {
  position: relative;
  width: 100%;
  aspect-ratio: 673 / 422;
  background: #ffffff;
  overflow: hidden;
}

.real-macos__bg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
}

.real-macos__bg--dim {
  filter: brightness(0.93) saturate(0.82) blur(1.2px);
  transform: scale(1.015);
}

/* Authentic Floating DingTalk Desktop Instant Notification Card (Real 720x508 Pixels) */
.real-desktop-pop {
  position: absolute;
  right: 5.5%;
  bottom: 7.5%;
  width: 68%;
  border-radius: 13px;
  background: #ffffff;
  border: 1.5px solid rgba(0, 127, 255, 0.34);
  box-shadow:
    0 24px 48px -12px rgba(15, 23, 42, 0.34),
    0 0 0 4px rgba(0, 127, 255, 0.1),
    0 4px 12px -4px rgba(0, 127, 255, 0.18);
}

.real-desktop-pop > img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 11.5px;
  user-select: none;
  -webkit-user-drag: none;
}

.real-spotlight__tag--desk {
  top: -10px;
  right: 12px;
  font-size: 9.5px;
  padding: 2px 8px;
}

/* Minimal Crisp Device Caption Below Each Hardware Frame */
.real-device-cap {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 11px;
  border-radius: var(--radius-pill);
  font-size: 11.5px;
  line-height: 1.3;
  white-space: nowrap;
}

.real-device-cap strong {
  font-weight: 700;
}

.real-device-cap--before {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(15, 23, 42, 0.08);
  color: #475569;
}

.real-device-cap--before strong {
  color: #0f172a;
}

.real-device-cap--after {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(0, 127, 255, 0.22);
  color: #1d4ed8;
  box-shadow: 0 4px 12px -6px rgba(0, 127, 255, 0.25);
}

.real-device-cap--after strong {
  color: #0f172a;
}

/* Razor-sharp vertical architectural divider & centered handle over the morph stage */
.scroll-morph-beam {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--wipe);
  width: 2px;
  transform: translateX(-50%);
  z-index: 5;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(0, 127, 255, 0.15) 0%,
    rgba(0, 127, 255, 0.85) 18%,
    rgba(0, 127, 255, 0.95) 50%,
    rgba(99, 102, 241, 0.85) 82%,
    rgba(99, 102, 241, 0.15) 100%
  );
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.65),
    0 0 18px rgba(0, 127, 255, 0.35);
  transition: opacity 0.18s ease;
}

.scroll-morph-handle {
  position: absolute;
  left: var(--wipe);
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 7;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.96);
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: ew-resize;
  box-shadow:
    0 0 0 4px rgba(255, 255, 255, 0.48),
    0 12px 26px -6px rgba(15, 23, 42, 0.42);
  touch-action: none;
  transition: opacity 0.18s ease, transform var(--dur-fast) ease;
}

.scroll-morph-handle:hover {
  transform: translate(-50%, -50%) scale(1.08);
}

/* Bottom Floating Scrollytelling Control Dock (Minimal & Restraint) */
.scroll-morph-dock {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  z-index: 8;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 6px;
  border-radius: var(--radius-pill);
  background: rgba(15, 23, 42, 0.86);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 14px 32px -10px rgba(15, 23, 42, 0.38);
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
}

.scroll-morph-dock__btns {
  display: inline-flex;
  gap: 3px;
}

.scroll-morph-dock__btn {
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.78);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--dur-fast) ease;
}

.scroll-morph-dock__btn:hover {
  color: #ffffff;
}

.scroll-morph-dock__btn.is-active {
  background: #ffffff;
  color: #0f172a;
}

.scroll-morph-dock__divider {
  width: 1px;
  height: 16px;
  background: rgba(255, 255, 255, 0.18);
  margin: 0 2px;
}

.scroll-morph-dock__spec {
  border: none;
  background: transparent;
  color: #93c5fd;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: color var(--dur-fast) ease, background var(--dur-fast) ease;
}

.scroll-morph-dock__spec:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

/* Hidden lightbox trigger store for clean dock-triggered original specs */
.sr-spec-store {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   Clean Editorial Before/After Side-by-Side & Bento Helpers
   ========================================================================== */
.ba-split {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: 24px;
  align-items: stretch;
}

.ba-pane {
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ba-pane--before {
  background: #f3f5f9;
  border: 1px solid var(--hairline);
}

.ba-pane--after {
  background:
    radial-gradient(ellipse 70% 60% at 88% 14%, rgba(56, 189, 248, 0.14) 0%, transparent 56%),
    linear-gradient(150deg, #ffffff 0%, #f1f6ff 100%);
  border: 1px solid rgba(191, 219, 254, 0.85);
  box-shadow: var(--shadow-sm);
}

.ba-pane__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.ba-tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ba-tag--before {
  background: rgba(15, 23, 42, 0.06);
  color: #475569;
}

.ba-tag--after {
  background: rgba(22, 104, 255, 0.1);
  color: var(--page-accent);
}

.ba-pane__note {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-secondary);
}

/* Ch01 Compact Journey + Goal Unified Triad */
.journey-goal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.jg-card {
  background: #ffffff;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-xs);
}

.jg-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--hairline);
}

.jg-card__phase {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-primary);
}

.jg-card__num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-muted);
}

.jg-card__row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.jg-card__lbl {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
}

.jg-card__lbl--pain {
  color: #be123c;
}

.jg-card__lbl--goal {
  color: var(--page-accent);
}

.jg-card__txt {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-secondary);
}

.jg-card__goal {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px dashed var(--hairline);
}

.jg-card__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--page-accent);
}

.jg-card__link:hover {
  text-decoration: underline;
}

/* Ch05 Clean 2-Column Polish Bento + Quiet 3-Step Epilogue */
.bento-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.bento-card {
  background: #ffffff;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow-xs);
}

.bento-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.bento-card__title {
  margin: 0;
  font-size: 16.5px;
  font-weight: 700;
  color: var(--ink-primary);
}

.bento-card__sub {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--ink-secondary);
}

.epilogue-band {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--hairline);
}

.epilogue-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

/* Inline subtle link button for lightbox spec verification */
.spec-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--hairline);
  background: #ffffff;
  color: var(--ink-secondary);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--dur-fast) ease;
}

.spec-link-btn:hover {
  color: var(--page-accent);
  border-color: color-mix(in srgb, var(--page-accent) 32%, white);
}

/* ==========================================================================
   Chapter 03: Unified Real DingTalk Meeting Window + Live AI Assistant Sidebar
   ========================================================================== */
.ch03-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.ch03-toolbar__hint {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-muted);
}

/* Seamless Unified DingTalk Desktop Meeting Window (Left Real Video + Right Live AI Sidebar) */
.dt-meet-window {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 368px;
  border-radius: 16px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow:
    0 32px 68px -24px rgba(15, 23, 42, 0.22),
    0 10px 24px -12px rgba(15, 23, 42, 0.1),
    0 0 0 1px rgba(255, 255, 255, 0.8) inset;
}

.dt-meet-video {
  position: relative;
  background: #ffffff;
  aspect-ratio: 1396 / 1086;
  overflow: hidden;
}

.dt-meet-video > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
}

/* Authentic DingTalk AI Assistant Sidebar */
.dt-ai-sidebar {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  background:
    radial-gradient(ellipse 100% 34% at 60% 0%, rgba(167, 139, 250, 0.16) 0%, rgba(96, 165, 250, 0.1) 42%, transparent 72%),
    #f9fafd;
  border-left: 1px solid #e7eaf0;
}

.dt-ai-sidebar__head {
  height: 46px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.dt-ai-sidebar__brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: #171a1d;
}

.dt-ai-spark {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: linear-gradient(135deg, #7c3aed 0%, #2563eb 55%, #06b6d4 100%);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px -2px rgba(99, 102, 241, 0.45);
}

.dt-ai-sidebar__winbtns {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #64748b;
  font-size: 14px;
  letter-spacing: 1px;
}

.dt-ai-sidebar__body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 6px 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

/* Greeting & 3 Clickable DingTalk Pastel Gradient Prompt Rows */
.dt-ai-welcome {
  background: #ffffff;
  border-radius: 12px;
  padding: 13px 12px 12px;
  border: 1px solid rgba(15, 23, 42, 0.05);
  box-shadow: 0 4px 14px -6px rgba(15, 23, 42, 0.08);
}

.dt-ai-welcome__title {
  font-size: 12.5px;
  font-weight: 600;
  color: #1f2329;
  margin-bottom: 10px;
}

.dt-ai-prompts {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.dt-ai-prompt {
  width: 100%;
  text-align: left;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 9px 11px;
  background: linear-gradient(90deg, #f6f1ff 0%, #eff6ff 100%);
  color: #1f2329;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  cursor: pointer;
  transition: all var(--dur-fast) ease;
}

.dt-ai-prompt:hover {
  border-color: rgba(37, 99, 235, 0.35);
  background: linear-gradient(90deg, #efe7ff 0%, #e4f0ff 100%);
  transform: translateY(-0.5px);
}

.dt-ai-prompt.is-active {
  border-color: rgba(0, 127, 255, 0.52);
  background: linear-gradient(90deg, #ece3ff 0%, #deeeff 100%);
  color: #0b5ed7;
  font-weight: 600;
  box-shadow: 0 4px 12px -6px rgba(0, 127, 255, 0.35);
}

/* Right-aligned DingTalk User Query Bubble */
.dt-ai-user-row {
  display: flex;
  justify-content: flex-end;
}

.dt-ai-user-bubble {
  display: inline-block;
  max-width: 88%;
  padding: 7px 12px;
  border-radius: 10px 10px 3px 10px;
  background: #cce3ff;
  color: #172554;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.4;
}

/* Authentic Inline Permission Notice + Quick Edit Toggle */
.dt-ai-perm-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: 11px;
  line-height: 1.5;
  color: #8c95a3;
  text-align: center;
  padding: 0 2px;
}

.dt-ai-perm-btn {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  border: none;
  background: transparent;
  padding: 1px 4px;
  border-radius: 4px;
  color: #1677ff;
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
  transition: background var(--dur-fast) ease;
}

.dt-ai-perm-btn:hover {
  background: rgba(22, 119, 255, 0.08);
}

/* Authentic DingTalk AI Response Bubble */
.dt-ai-reply {
  background: #ffffff;
  border: 1px solid #e6eaf2;
  border-radius: 11px;
  padding: 12px 13px 10px;
  box-shadow: 0 4px 12px -8px rgba(15, 23, 42, 0.12);
}

.dt-ai-reply.is-fresh {
  animation: dtAiFade 0.24s ease;
}

@keyframes dtAiFade {
  from { opacity: 0.45; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.dt-ai-reply__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  color: #1677ff;
  margin-bottom: 6px;
}

.dt-ai-reply__meta > span:last-child {
  color: #94a3b8;
  font-weight: 500;
}

.dt-ai-reply__lead {
  margin: 0 0 6px;
  font-size: 12.2px;
  line-height: 1.55;
  color: #1f2329;
}

.dt-ai-reply__list {
  margin: 0;
  padding-left: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 11.8px;
  line-height: 1.52;
  color: #374151;
}

.dt-ai-reply__foot {
  margin-top: 9px;
  padding-top: 7px;
  border-top: 1px solid #f1f5f9;
  font-size: 10.5px;
  color: #9ca3af;
}

/* Bottom Authentic DingTalk AI Input Dock */
.dt-ai-sidebar__foot {
  padding: 10px 14px 13px;
  background: #ffffff;
  border-top: 1px solid #eef1f6;
  display: flex;
  flex-direction: column;
  gap: 9px;
  flex-shrink: 0;
}

.dt-ai-quickrow {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.dt-ai-iconbtn {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #475569;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--dur-fast) ease;
}

.dt-ai-iconbtn:hover {
  border-color: #1677ff;
  color: #1677ff;
}

.dt-ai-chip {
  height: 26px;
  padding: 0 10px;
  border-radius: 7px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #334155;
  font-size: 11.5px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--dur-fast) ease;
}

.dt-ai-chip:hover {
  border-color: rgba(22, 119, 255, 0.45);
  color: #1677ff;
}

.dt-ai-chip.is-active {
  background: #eff6ff;
  border-color: #93c5fd;
  color: #0b5ed7;
  font-weight: 600;
}

.dt-ai-inputbar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 6px 4px 13px;
  border-radius: 999px;
  background: #f4f6fa;
  border: 1px solid #e5e9f0;
  transition: border-color var(--dur-fast) ease, background var(--dur-fast) ease;
}

.dt-ai-inputbar:focus-within {
  background: #ffffff;
  border-color: #60a5fa;
  box-shadow: 0 0 0 3px rgba(0, 127, 255, 0.1);
}

.dt-ai-input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  font-size: 12px;
  color: #1f2329;
  outline: none;
}

.dt-ai-input::placeholder {
  color: #9ca3af;
}

.dt-ai-send {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background: #e2e8f0;
  color: #64748b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--dur-fast) ease;
}

.dt-ai-inputbar:focus-within .dt-ai-send,
.dt-ai-send:hover {
  background: #1677ff;
  color: #ffffff;
}

/* TAB 2: Clean Migration Guide Showcase */
.ch03-migrate-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.38fr) minmax(0, 0.82fr);
  gap: 28px;
  align-items: center;
  padding: 24px;
  border-radius: 18px;
  background: linear-gradient(145deg, #ffffff 0%, #f4f7fc 100%);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: var(--shadow-md);
}

.ch03-migrate-shot {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 22px 46px -20px rgba(15, 23, 42, 0.24);
  background: #ffffff;
}

.ch03-migrate-shot > img {
  display: block;
  width: 100%;
  height: auto;
  cursor: zoom-in;
}

.ch03-migrate-notes {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.ch03-migrate-notes h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.35;
  color: var(--ink-primary);
}

.ch03-migrate-notes p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-secondary);
}

.ch03-route-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}

.ch03-route-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 15px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid var(--hairline);
  font-size: 13.5px;
}

.ch03-route-item span {
  color: var(--ink-secondary);
}

.ch03-route-item strong {
  color: #1677ff;
  font-weight: 700;
}

/* TAB 3: Real Before FlashNote vs Subtitle Side-by-Side */
.ch03-before-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.ch03-before-card {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ch03-before-card__frame {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: #ffffff;
  box-shadow: 0 20px 42px -22px rgba(15, 23, 42, 0.22);
}

.ch03-before-card__frame > img {
  display: block;
  width: 100%;
  height: auto;
  cursor: zoom-in;
}

.ch03-before-card__cap {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-secondary);
}

/* Clean 3-Column Architectural Feature Strip Below Ch03 Stage */
.ch03-pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 26px;
  padding: 20px 6px 0;
  border-top: 1px solid var(--hairline);
}

.ch03-pillar {
  display: flex;
  align-items: flex-start;
  gap: 13px;
}

.ch03-pillar__bar {
  width: 3px;
  height: 36px;
  margin-top: 2px;
  border-radius: 99px;
  flex-shrink: 0;
  background: linear-gradient(180deg, #38bdf8 0%, #1677ff 100%);
}

.ch03-pillar h4 {
  margin: 0 0 5px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink-primary);
}

.ch03-pillar p {
  margin: 0;
  font-size: 13px;
  line-height: 1.62;
  color: var(--ink-secondary);
}

/* ==========================================================================
   Chapter 04: Full-Res Before Cards & Authentic DingTalk IM Chat Window
   ========================================================================== */
.ch04-before-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.38fr);
  gap: 20px;
  align-items: stretch;
}

.ch04-before-item {
  margin: 0;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.09);
  box-shadow: 0 18px 40px -24px rgba(15, 23, 42, 0.16);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.ch04-before-item__stage {
  flex: 1;
  min-height: 332px;
  padding: 18px;
  background: #f5f7fb;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.ch04-before-item__stage > img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 330px;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 10px 24px -12px rgba(15, 23, 42, 0.2);
  cursor: zoom-in;
}

.ch04-before-item__stage--perm {
  padding: 12px;
  background: #f2f5fb;
}

.ch04-before-item__stage--perm > img {
  max-height: 342px;
  box-shadow: none;
  border-radius: 8px;
}

.ch04-before-item__cap {
  padding: 15px 18px 17px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  background: #ffffff;
}

.ch04-before-item__cap p {
  margin: 0;
  font-size: 12.8px;
  line-height: 1.58;
  color: var(--ink-secondary);
}

/* TAB 2: Authentic DingTalk Desktop IM Chat Window + 4 Role Switcher */
.ch04-after-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.48fr) minmax(0, 0.92fr);
  gap: 24px;
  align-items: stretch;
}

.dt-im-window {
  border-radius: 16px;
  overflow: visible;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow:
    0 28px 60px -24px rgba(15, 23, 42, 0.2),
    0 8px 20px -12px rgba(15, 23, 42, 0.1);
  display: flex;
  flex-direction: column;
}

.dt-im-window__head {
  padding: 13px 18px;
  border-radius: 16px 16px 0 0;
  background: #ffffff;
  border-bottom: 1px solid #ebeff5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.dt-im-window__group {
  display: flex;
  align-items: center;
  gap: 11px;
}

.dt-im-group-avatar {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, #2563eb 0%, #38bdf8 100%);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dt-im-window__name {
  font-size: 14px;
  font-weight: 700;
  color: #171a1d;
  line-height: 1.3;
}

.dt-im-window__org {
  font-size: 11.5px;
  color: #8c95a3;
}

.dt-im-window__tools {
  display: inline-flex;
  gap: 12px;
  font-size: 12px;
  color: #64748b;
}

.dt-im-chat {
  flex: 1;
  min-height: 448px;
  padding: 22px 24px 18px;
  background:
    radial-gradient(ellipse 68% 58% at 86% 18%, rgba(56, 189, 248, 0.08) 0%, transparent 58%),
    #f3f5f9;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 14px;
}

.dt-im-chat__time {
  text-align: center;
  font-size: 11px;
  color: #94a3b8;
}

.dt-im-msg {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.dt-im-msg.is-right {
  flex-direction: row-reverse;
}

.dt-im-avatar {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px -4px rgba(37, 99, 235, 0.45);
}

.dt-im-card {
  width: min(100%, 416px);
  border-radius: 13px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 14px 32px -14px rgba(15, 23, 42, 0.16);
  padding: 15px 16px 0;
}

.dt-im-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.dt-im-card__brand {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 600;
  color: #1677ff;
}

.dt-im-brand-ic {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: #e8f3ff;
  color: #1677ff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.dt-im-card__link {
  font-size: 12px;
  opacity: 0.55;
}

.dt-im-card__title {
  font-size: 16px;
  font-weight: 700;
  color: #171a1d;
  line-height: 1.35;
  margin-bottom: 4px;
}

.dt-im-card__meta {
  font-size: 11.5px;
  color: #8c95a3;
  margin-bottom: 13px;
}

.dt-im-card__grad {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 18px 8px;
  border-radius: 10px;
  background: linear-gradient(108deg, #e579de 0%, #9979fa 44%, #3787ff 82%, #2ea8ff 100%);
  color: #ffffff;
  text-align: center;
  margin-bottom: 12px;
}

.dt-im-card__grad > div {
  position: relative;
}

.dt-im-card__grad > div + div::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18%;
  bottom: 18%;
  width: 1px;
  background: rgba(255, 255, 255, 0.28);
}

.dt-im-card__num {
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.25;
}

.dt-im-card__num em {
  font-style: normal;
  font-size: 11px;
  font-weight: 500;
  opacity: 0.92;
}

.dt-im-card__lbl {
  font-size: 11.5px;
  opacity: 0.9;
  margin-top: 4px;
}

.dt-im-card__foot {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0 13px;
  border-top: 1px solid #eef1f6;
}

.dt-im-perm-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
}

.dt-im-perm-prefix {
  color: #8c95a3;
}

.dt-im-perm-trigger {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid transparent;
  background: #f4f6fa;
  color: #171a1d;
  font-size: 12.5px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--dur-fast) ease;
}

.dt-im-perm-trigger:hover {
  border-color: #93c5fd;
  background: #eff6ff;
  color: #1677ff;
}

.dt-im-perm-menu {
  position: absolute;
  left: 28px;
  top: calc(100% + 6px);
  z-index: 20;
  min-width: 122px;
  padding: 4px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 18px 36px -10px rgba(15, 23, 42, 0.24);
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.dt-im-perm-menu[hidden] {
  display: none;
}

.dt-im-perm-menu > button {
  border: none;
  background: transparent;
  text-align: left;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 12px;
  color: #334155;
  cursor: pointer;
}

.dt-im-perm-menu > button:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.dt-im-perm-menu > button.is-selected {
  background: #eff6ff;
  color: #1677ff;
  font-weight: 600;
}

.dt-im-perm-muted {
  font-size: 12.5px;
  color: #8c95a3;
}

.dt-im-link-btn {
  border: none;
  background: transparent;
  color: #1677ff;
  font-size: 12.5px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 6px;
  cursor: pointer;
  transition: background var(--dur-fast) ease, color var(--dur-fast) ease;
}

.dt-im-link-btn:hover {
  background: rgba(22, 119, 255, 0.08);
}

.dt-im-link-btn--primary {
  background: #eff6ff;
  border: 1px solid rgba(22, 119, 255, 0.25);
  padding: 4px 11px;
}

.dt-im-link-btn--primary:hover {
  background: #1677ff;
  color: #ffffff;
}

.dt-im-link-btn.is-done,
.dt-im-link-btn:disabled {
  color: #059669;
  background: #ecfdf5;
  border-color: #a7f3d0;
  cursor: default;
}

.dt-im-toast {
  margin-top: auto;
  text-align: center;
  font-size: 12px;
  color: #475569;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(15, 23, 42, 0.06);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  align-self: center;
}

.dt-im-composer {
  padding: 11px 16px;
  border-radius: 0 0 16px 16px;
  background: #ffffff;
  border-top: 1px solid #ebeff5;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dt-im-composer__placeholder {
  font-size: 12px;
  color: #94a3b8;
}

.dt-im-composer__send {
  padding: 5px 14px;
  border-radius: 6px;
  background: #1677ff;
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
}

/* Right 4-Role Switcher Panel */
.ch04-mode-panel {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ch04-mode-panel__head {
  margin-bottom: 2px;
}

.ch04-mode-btn {
  width: 100%;
  text-align: left;
  padding: 15px 17px;
  border-radius: 13px;
  border: 1px solid var(--hairline);
  background: #ffffff;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
  transition: all var(--dur-fast) ease;
}

.ch04-mode-btn strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-primary);
}

.ch04-mode-btn span {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--ink-secondary);
}

.ch04-mode-btn:hover {
  border-color: rgba(22, 119, 255, 0.36);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.ch04-mode-btn.is-active {
  border-color: #1677ff;
  background: linear-gradient(145deg, #ffffff 0%, #eff6ff 100%);
  box-shadow: 0 10px 24px -14px rgba(22, 119, 255, 0.38);
}

.ch04-mode-btn.is-active strong {
  color: #0b5ed7;
}

.ch04-pillars {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-top: 26px;
  padding: 20px 6px 0;
  border-top: 1px solid var(--hairline);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .dt-meet-window,
  .ch03-migrate-stage,
  .ch03-before-grid,
  .ch03-pillars,
  .ch04-before-grid,
  .ch04-after-stage,
  .ch04-pillars {
    grid-template-columns: 1fr;
  }

  .dt-ai-sidebar {
    border-left: none;
    border-top: 1px solid #e7eaf0;
    height: auto;
  }
  .scroll-morph-track {
    height: auto;
  }

  .scroll-morph-sticky {
    position: relative;
    top: auto;
    height: auto;
    min-height: 0;
  }

  .scroll-morph-stage {
    height: auto;
  }

  .morph-layer--before {
    position: relative;
    padding: 20px 18px 24px;
  }

  .morph-layer--after {
    position: relative;
    clip-path: none !important;
    padding: 20px 18px 24px;
    border-top: 2px solid #007fff;
  }

  .morph-devices {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .morph-col-right {
    height: auto;
  }

  .scroll-morph-beam,
  .scroll-morph-handle,
  .scroll-morph-dock {
    display: none;
  }

  .ba-split,
  .journey-goal-grid,
  .bento-2,
  .epilogue-3,
  .cutout-grid--bento-3,
  .eco-grid,
  .journey-grid,
  .goal-triad,
  .cutout-grid--3,
  .cutout-grid--4,
  .challenge-4,
  .loop-diagram,
  .pipeline-flow,
  .stepper-5,
  .ia-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .phone-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .playground-split,
  .ar-sim,
  .cutout-grid--asymmetric {
    grid-template-columns: 1fr;
  }

  .causal-chain {
    grid-template-columns: 1fr;
  }

  .causal-arrow {
    transform: rotate(90deg);
  }
}

@media (max-width: 720px) {
  .case-artboard {
    min-height: 290px;
    flex-direction: column;
    align-items: flex-start;
  }

  .case-artboard--dingtalk .case-artboard__content,
  .case-artboard--tencent .case-artboard__content {
    max-width: 100%;
  }

  .case-artboard .art-dt__tagline {
    white-space: normal;
  }

  .case-artboard--dingtalk .case-artboard__mascot {
    position: relative;
    right: auto;
    bottom: auto;
    height: 180px;
    align-self: flex-end;
    margin-top: 12px;
  }

  .case-artboard--tencent .case-artboard__web {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 16px;
  }

  .case-artboard--tencent .case-artboard__mob {
    display: none;
  }

  .eco-grid,
  .journey-grid,
  .goal-triad,
  .path-compare,
  .cutout-grid--2,
  .cutout-grid--3,
  .cutout-grid--4,
  .challenge-4,
  .stepper-5,
  .ia-grid,
  .loop-diagram,
  .pipeline-flow,
  .phone-strip {
    grid-template-columns: 1fr;
  }

  .swimlane__row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

/* ==========================================================================
   Chapter 05 Pure HTML/CSS Restored DingTalk FlashNote UI (Full-Width Vertical Stack)
   ========================================================================== */
.ch05-bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.ch05-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
}

/* --- Card 1: Full-Width Authentic DingTalk FlashNote Web Detail Window --- */
.dt-fn-win {
  display: flex;
  flex-direction: column;
  border-radius: 14px;
  background: #f5f7fb;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 14px 30px -18px rgba(15, 23, 42, 0.16);
  overflow: hidden;
}

.dt-fn-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  background: #ffffff;
  border-bottom: 1px solid #edf0f5;
}

.dt-fn-topbar__left {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.dt-fn-logo {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: linear-gradient(135deg, #2b85ff 0%, #1664ff 100%);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dt-fn-logo svg {
  display: block;
}

.dt-fn-logo--sm {
  width: 24px;
  height: 24px;
  border-radius: 7px;
}

.dt-fn-topbar__meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.dt-fn-topbar__meta strong {
  font-size: 12.5px;
  font-weight: 700;
  color: #171a1d;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dt-fn-topbar__meta span {
  font-size: 10.5px;
  color: #94a3b8;
  font-variant-numeric: tabular-nums;
}

.dt-fn-topbar__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.dt-fn-toolpill {
  height: 28px;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0 10px;
  border-radius: 7px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 500;
  color: #475569;
  line-height: 1;
  white-space: nowrap;
}

.dt-fn-toolpill--active {
  border-color: rgba(22, 119, 255, 0.35);
  background: #eff6ff;
  color: #1677ff;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--dur-fast) ease;
}

.dt-fn-toolpill--active:hover {
  border-color: #1677ff;
  background: #dbeafe;
}

.dt-fn-aa-ic {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 11px;
  line-height: 1;
}

.dt-fn-aa-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.dt-fn-aa-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 5px);
  z-index: 20;
  min-width: 128px;
  padding: 4px;
  border-radius: 9px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 14px 28px -10px rgba(15, 23, 42, 0.22);
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.dt-fn-aa-menu[hidden] {
  display: none;
}

.dt-fn-aa-menu > button {
  border: none;
  background: transparent;
  text-align: left;
  padding: 6px 9px;
  border-radius: 6px;
  font-size: 11.5px;
  color: #334155;
  cursor: pointer;
}

.dt-fn-aa-menu > button:hover {
  background: #f1f5f9;
}

.dt-fn-aa-menu > button.is-selected {
  background: #eff6ff;
  color: #1677ff;
  font-weight: 600;
}

.dt-fn-sharebtn {
  height: 28px;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border-radius: 7px;
  background: #1677ff;
  color: #ffffff;
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.dt-fn-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 18px 24px 16px;
  gap: 12px;
}

.dt-fn-sheet {
  width: min(100%, 760px);
  min-height: 296px;
  display: flex;
  flex-direction: column;
  padding: 16px 24px 12px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 8px 22px -14px rgba(15, 23, 42, 0.14);
}

.dt-fn-tabs {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 9px;
  margin-bottom: 10px;
  border-bottom: 1px solid #f1f5f9;
  font-size: 11.5px;
  color: #8c95a3;
}

.dt-fn-tabs .is-active {
  color: #1677ff;
  font-weight: 650;
}

.dt-fn-minisearch {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 7px;
  border: 1px solid #eef1f6;
  background: #fafbfd;
  font-size: 11.5px;
  color: #94a3b8;
  margin-bottom: 11px;
}

.dt-fn-sec {
  margin-bottom: 10px;
}

.dt-fn-sec--grow {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin-bottom: 6px;
}

.dt-fn-sec__lbl {
  font-size: 11px;
  font-weight: 700;
  color: #171a1d;
  margin-bottom: 6px;
}

.dt-fn-kw-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.dt-fn-kw {
  padding: 2px 8px;
  border-radius: 5px;
  background: #f1f5f9;
  color: #475569;
  font-size: 11px;
}

.dt-fn-transcript {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dt-fn-utter__head {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 4px;
}

.dt-fn-av {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  color: #ffffff;
  font-size: 9.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: width 0.24s ease, height 0.24s ease, font-size 0.24s ease;
}

.dt-fn-av--blue {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
}

.dt-fn-av--indigo {
  background: linear-gradient(135deg, #6366f1 0%, #4338ca 100%);
}

.dt-fn-speaker {
  font-weight: 600;
  color: #475569;
  transition: font-size 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}

.dt-fn-time {
  color: #94a3b8;
  font-variant-numeric: tabular-nums;
  transition: font-size 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}

.dt-fn-utter__text {
  margin: 0;
  padding-left: 29px;
  color: #171a1d;
  transition:
    font-size 0.24s cubic-bezier(0.22, 1, 0.36, 1),
    line-height 0.24s cubic-bezier(0.22, 1, 0.36, 1),
    padding-left 0.24s ease;
}

/* 3 Authentic DingTalk Live Font Size Tiers */
.dt-fn-transcript[data-size="sm"] .dt-fn-speaker,
.dt-fn-transcript[data-size="sm"] .dt-fn-time {
  font-size: 11px;
}
.dt-fn-transcript[data-size="sm"] .dt-fn-utter__text {
  font-size: 13px;
  line-height: 1.55;
}

.dt-fn-transcript[data-size="md"] .dt-fn-speaker,
.dt-fn-transcript[data-size="md"] .dt-fn-time {
  font-size: 12.5px;
}
.dt-fn-transcript[data-size="md"] .dt-fn-utter__text {
  font-size: 16px;
  line-height: 1.58;
}

.dt-fn-transcript[data-size="lg"] .dt-fn-av {
  width: 26px;
  height: 26px;
  font-size: 10.5px;
}
.dt-fn-transcript[data-size="lg"] .dt-fn-speaker,
.dt-fn-transcript[data-size="lg"] .dt-fn-time {
  font-size: 14.5px;
}
.dt-fn-transcript[data-size="lg"] .dt-fn-utter__text {
  font-size: 20px;
  line-height: 1.48;
  padding-left: 33px;
  font-weight: 500;
}

.dt-fn-powered {
  margin-top: auto;
  padding-top: 8px;
  text-align: center;
  font-size: 10px;
  color: #cbd5e1;
}

.dt-fn-player {
  width: min(100%, 760px);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.dt-fn-skip {
  font-size: 10.5px;
  color: #64748b;
  font-weight: 600;
}

.dt-fn-playbtn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #7c8cf8 0%, #3b82f6 100%);
  color: #ffffff;
  font-size: 10.5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 6px 14px -6px rgba(59, 130, 246, 0.6);
}

.dt-fn-bar {
  flex: 1;
  height: 4px;
  border-radius: 99px;
  background: #e2e8f0;
  overflow: hidden;
}

.dt-fn-bar__fill {
  display: block;
  width: 28%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #60a5fa 0%, #2563eb 100%);
  transition: width 0.3s ease;
}

.dt-fn-dur {
  font-size: 10.5px;
  color: #94a3b8;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* --- Card 2: Full-Width Authentic DingTalk Desktop Workspace + Search Popover --- */
.dt-search-win {
  display: grid;
  grid-template-columns: 176px minmax(0, 1fr);
  border-radius: 14px;
  background: #f8fafd;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 14px 30px -18px rgba(15, 23, 42, 0.16);
  overflow: hidden;
  min-height: 392px;
}

.dt-search-side {
  display: flex;
  flex-direction: column;
  padding: 16px 12px 14px;
  background: #ffffff;
  border-right: 1px solid #edf0f5;
}

.dt-search-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 6px 14px;
}

.dt-search-brand > div > strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #171a1d;
  line-height: 1.2;
}

.dt-search-brand > div > span {
  display: block;
  font-size: 10.5px;
  color: #94a3b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 112px;
}

.dt-search-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dt-search-nav > span {
  padding: 7px 10px;
  border-radius: 8px;
  font-size: 12.5px;
  color: #64748b;
}

.dt-search-nav > span.is-active {
  background: #edf5ff;
  color: #1677ff;
  font-weight: 600;
}

.dt-search-cap {
  margin-top: auto;
  padding: 10px 8px 0;
  border-top: 1px solid #f1f5f9;
  font-size: 11px;
  color: #94a3b8;
}

.dt-search-main {
  display: flex;
  flex-direction: column;
  padding: 16px 20px 18px;
  gap: 12px;
  min-width: 0;
}

.dt-search-top {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.dt-search-box {
  flex: 1 1 320px;
  max-width: 520px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 9px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  transition: border-color var(--dur-fast) ease, box-shadow var(--dur-fast) ease;
}

.dt-search-stage {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(0, 0.88fr);
  gap: 18px;
  align-items: stretch;
}

.dt-search-ctx {
  display: flex;
  flex-direction: column;
  gap: 12px;
  opacity: 0.72;
  pointer-events: none;
}

.dt-search-quickcards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.dt-search-qcard {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 8px;
  border-radius: 9px;
  background: #ffffff;
  border: 1px solid #e8edf5;
}

.dt-search-qcard > div > strong {
  display: block;
  font-size: 11px;
  font-weight: 650;
  color: #1e293b;
  line-height: 1.25;
}

.dt-search-qcard > div > span {
  display: block;
  font-size: 9.5px;
  color: #94a3b8;
}

.dt-search-qic {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  flex-shrink: 0;
}

.dt-search-qic--violet { background: #ede9fe; color: #6d28d9; }
.dt-search-qic--blue { background: #dbeafe; color: #1d4ed8; }
.dt-search-qic--amber { background: #fef3c7; color: #d97706; }

.dt-search-bglist {
  flex: 1;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid #e8edf5;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dt-search-bghead,
.dt-search-bgrow {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) 56px 52px;
  gap: 8px;
  align-items: center;
  font-size: 11px;
}

.dt-search-bghead {
  color: #94a3b8;
  font-size: 10.5px;
  padding-bottom: 6px;
  border-bottom: 1px solid #f1f5f9;
}

.dt-search-bgrow {
  color: #475569;
  padding: 6px 0;
  border-bottom: 1px solid #f8fafc;
}

.dt-search-bgrow > span:first-child {
  font-weight: 550;
  color: #334155;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dt-search-box:focus-within {
  border-color: #1677ff;
  box-shadow: 0 0 0 3px rgba(22, 119, 255, 0.12);
}

.dt-search-input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  font-size: 12.5px;
  color: #171a1d;
}

.dt-search-clear {
  border: none;
  background: #e2e8f0;
  color: #475569;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  font-size: 12px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.dt-search-clear[hidden] {
  display: none;
}

.dt-search-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.dt-search-pill {
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #475569;
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--dur-fast) ease;
}

.dt-search-pill:hover,
.dt-search-pill.is-active {
  border-color: #93c5fd;
  background: #eff6ff;
  color: #1677ff;
  font-weight: 600;
}

.dt-search-popover {
  flex: 1;
  display: flex;
  flex-direction: column;
  border-radius: 11px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 14px 28px -14px rgba(15, 23, 42, 0.18);
  overflow: hidden;
}

.dt-search-popover__head {
  padding: 9px 13px 7px;
  font-size: 11.5px;
  font-weight: 650;
  color: #171a1d;
  border-bottom: 1px solid #f1f5f9;
}

.dt-search-popover__list {
  flex: 1;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dt-search-row {
  width: 100%;
  border: 1px solid transparent;
  background: transparent;
  text-align: left;
  padding: 9px 10px;
  border-radius: 8px;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  cursor: pointer;
  transition: background var(--dur-fast) ease, border-color var(--dur-fast) ease;
}

.dt-search-row:hover,
.dt-search-row.is-selected {
  background: #f3f7ff;
  border-color: rgba(22, 119, 255, 0.22);
}

.dt-search-docic {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.dt-search-docic--amber {
  background: #fef3c7;
  color: #d97706;
}

.dt-search-docic--blue {
  background: #dbeafe;
  color: #1d4ed8;
}

.dt-search-docic--violet {
  background: #ede9fe;
  color: #6d28d9;
}

.dt-search-row__body {
  min-width: 0;
  flex: 1;
}

.dt-search-row__title {
  font-size: 12.5px;
  font-weight: 650;
  color: #171a1d;
  line-height: 1.35;
  margin-bottom: 2px;
}

.dt-search-row__meta {
  font-size: 10.5px;
  color: #94a3b8;
  margin-bottom: 4px;
  font-variant-numeric: tabular-nums;
}

.dt-search-row__snip {
  font-size: 11.5px;
  color: #64748b;
  line-height: 1.48;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dt-search-row mark {
  background: transparent;
  color: #1677ff;
  font-weight: 700;
  padding: 0;
}

.dt-search-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 28px 16px;
  gap: 8px;
}

.dt-search-empty__ic {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #f1f5f9;
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.dt-search-empty p {
  margin: 0;
  font-size: 12px;
  color: #64748b;
}

.dt-search-reset {
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #1677ff;
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 11px;
  border-radius: 6px;
  cursor: pointer;
}

.dt-search-popover__foot {
  padding: 7px 13px;
  background: #fafbfd;
  border-top: 1px solid #f1f5f9;
  font-size: 10.5px;
  color: #94a3b8;
}

@media (max-width: 980px) {
  .dt-search-stage {
    grid-template-columns: 1fr;
  }
  .dt-search-ctx {
    display: none;
  }
}

@media (max-width: 600px) {
  .dt-search-win {
    grid-template-columns: 1fr;
  }
  .dt-search-side {
    display: none;
  }
}

/* ==========================================================================
   Chapter 02 Scannable Journey Strip & Strategy-to-Goals Split
   ========================================================================== */
.jstrip-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 22px;
}

.jstrip-card {
  padding: 18px 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(15, 23, 42, 0.07);
  box-shadow: 0 10px 24px -18px rgba(15, 23, 42, 0.14);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.jstrip-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.jstrip-phase {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
}

.jstrip-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.jstrip-chips > span {
  padding: 3px 9px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #475569;
  font-size: 11.5px;
  font-weight: 500;
}

.jstrip-pain {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px dashed rgba(15, 23, 42, 0.08);
  font-size: 13px;
  line-height: 1.5;
  color: #475569;
}

.jstrip-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ef4444;
  margin-top: 6px;
  flex-shrink: 0;
}

.strategy-split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 20px;
  align-items: stretch;
}

.strategy-logic {
  padding: 22px 24px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 23, 42, 0.07);
  box-shadow: 0 12px 28px -18px rgba(15, 23, 42, 0.14);
  display: flex;
  flex-direction: column;
}

.strategy-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #1677ff;
  margin-bottom: 6px;
}

.strategy-question {
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
}

.strategy-steps {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: auto;
}

.strategy-step {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 10px 13px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.06);
  font-size: 12.5px;
  color: #475569;
}

.strategy-step strong {
  color: #0f172a;
  font-size: 12px;
  white-space: nowrap;
}

.strategy-step--warn {
  background: #fff7f7;
  border-color: rgba(239, 68, 68, 0.16);
}

.strategy-step--warn strong {
  color: #dc2626;
}

.strategy-step--focus {
  background: #eff6ff;
  border-color: rgba(22, 119, 255, 0.22);
}

.strategy-step--focus strong {
  color: #1677ff;
}

.strategy-arrow {
  text-align: center;
  font-size: 11px;
  color: #94a3b8;
  line-height: 1;
}

.strategy-goals {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sgoal-card {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 16px;
  text-decoration: none;
  background: linear-gradient(120deg, #eff6ff 0%, #ffffff 68%);
  border: 1px solid rgba(22, 119, 255, 0.14);
  box-shadow: 0 10px 24px -18px rgba(22, 119, 255, 0.25);
  transition: transform var(--dur-fast) ease, border-color var(--dur-fast) ease, box-shadow var(--dur-fast) ease;
}

.sgoal-card:hover {
  transform: translateY(-2px);
  border-color: rgba(22, 119, 255, 0.42);
  box-shadow: 0 16px 32px -18px rgba(22, 119, 255, 0.34);
}

.sgoal-num {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #1677ff;
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sgoal-body {
  min-width: 0;
  flex: 1;
}

.sgoal-body strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 3px;
}

.sgoal-body span {
  display: block;
  font-size: 12.5px;
  color: #64748b;
}

.sgoal-go {
  font-size: 16px;
  font-weight: 600;
  color: #1677ff;
  transition: transform var(--dur-fast) ease;
}

.sgoal-card:hover .sgoal-go {
  transform: translateX(3px);
}

@media (max-width: 900px) {
  .jstrip-grid,
  .strategy-split {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Chapter 04 Scroll-Driven Auto-Switching Sticky Stage (.scroll-tabs-track)
   ========================================================================== */
.scroll-tabs-track {
  position: relative;
  height: calc(660px + clamp(680px, 84vh, 880px));
}

.scroll-tabs-sticky {
  position: sticky;
  top: max(68px, calc(50vh - 334px));
  z-index: 4;
}

.scroll-tabs-meter {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.scroll-tabs-meter__txt {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 550;
  color: #64748b;
  font-variant-numeric: tabular-nums;
}

.scroll-tabs-meter__rail {
  width: 72px;
  height: 4px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.09);
  overflow: hidden;
  display: inline-block;
}

.scroll-tabs-meter__rail > i {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #3b82f6 0%, #6366f1 100%);
  transition: width 0.12s linear;
}

.scroll-tabs-viewport {
  position: relative;
  height: 588px;
}

.scroll-tab-pane {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 6px;
  opacity: 0;
  transform: translateY(16px) scale(0.992);
  pointer-events: none;
  visibility: hidden;
  transition:
    opacity 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0.42s linear;
}

.scroll-tab-pane.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  visibility: visible;
}

.scroll-tab-pane .dt-meet-window {
  height: 582px;
}

@media (max-width: 1024px) {
  .scroll-tabs-track {
    height: auto;
  }

  .scroll-tabs-sticky {
    position: static;
  }

  .scroll-tabs-meter {
    display: none;
  }

  .scroll-tabs-viewport {
    height: auto;
  }

  .scroll-tab-pane {
    position: static;
    display: none;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    visibility: visible;
  }

  .scroll-tab-pane.is-active {
    display: block;
  }
}

/* ==========================================================================
   Project 02 (Tencent Conference) Choreographed Motion & Tactile Interactions
   ========================================================================== */
[data-theme="tencent"] .case-artboard--tencent {
  --px: 0;
  --py: 0;
  isolation: isolate;
}

.case-artboard__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 98, 254, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 98, 254, 0.045) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(ellipse 75% 75% at 62% 50%, #000 18%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 75% 75% at 62% 50%, #000 18%, transparent 78%);
  pointer-events: none;
  z-index: 1;
}

@keyframes txOrbDrift {
  0%, 100% {
    transform: translate3d(calc(var(--px) * -18px), calc(var(--py) * -14px), 0) scale(1);
  }
  50% {
    transform: translate3d(calc(var(--px) * -18px + 14px), calc(var(--py) * -14px + 10px), 0) scale(1.05);
  }
}

@keyframes txSlideUpFade {
  from {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes txWebEnter {
  from {
    opacity: 0;
    transform: translate3d(34px, 18px, 0) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes txMobEnter {
  from {
    opacity: 0;
    transform: translate3d(0, 38px, 0) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

[data-theme="tencent"] .case-artboard--tencent .case-artboard__orb {
  animation: txOrbDrift 9s ease-in-out infinite;
  will-change: transform;
}

[data-theme="tencent"] .case-artboard--tencent .art-tx__logo {
  animation: txSlideUpFade 0.62s cubic-bezier(0.22, 1, 0.36, 1) 0.04s both;
}

[data-theme="tencent"] .case-artboard--tencent .art-tx__title {
  animation: txSlideUpFade 0.68s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both;
}

[data-theme="tencent"] .case-artboard--tencent .art-tx__sub {
  animation: txSlideUpFade 0.68s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}

[data-theme="tencent"] .case-artboard--tencent .art-tx__pills {
  animation: txSlideUpFade 0.68s cubic-bezier(0.22, 1, 0.36, 1) 0.28s both;
}

[data-theme="tencent"] .case-artboard--tencent .art-tx__pill {
  border: none;
  cursor: pointer;
  font-family: inherit;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.26s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.26s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.26s ease;
}

[data-theme="tencent"] .case-artboard--tencent .art-tx__pill::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 25%, rgba(255, 255, 255, 0.34) 50%, transparent 75%);
  transform: translateX(-130%);
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-theme="tencent"] .case-artboard--tencent .art-tx__pill:hover,
[data-theme="tencent"] .case-artboard--tencent .art-tx__pill.is-focus {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px -8px rgba(15, 98, 254, 0.55);
}

[data-theme="tencent"] .case-artboard--tencent .art-tx__pill:hover::after,
[data-theme="tencent"] .case-artboard--tencent .art-tx__pill.is-focus::after {
  transform: translateX(130%);
}

[data-theme="tencent"] .case-artboard--tencent .case-artboard__web {
  animation: txWebEnter 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.16s both;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), filter 0.35s ease, opacity 0.35s ease;
  will-change: transform;
}

[data-theme="tencent"] .case-artboard--tencent .case-artboard__mob {
  animation: txMobEnter 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), filter 0.35s ease, opacity 0.35s ease;
  will-change: transform;
}

[data-theme="tencent"] .case-artboard--tencent.is-live .case-artboard__web {
  animation: none;
  transform: translate3d(calc(var(--px) * 10px), calc(var(--py) * 8px), 0);
}

[data-theme="tencent"] .case-artboard--tencent.is-live .case-artboard__mob {
  animation: none;
  transform: translate3d(calc(var(--px) * -14px), calc(var(--py) * -10px), 0);
}

[data-theme="tencent"] .case-artboard--tencent[data-focus="web"].is-live .case-artboard__web {
  transform: translate3d(calc(var(--px) * 10px - 8px), calc(var(--py) * 8px - 6px), 0) scale(1.03);
  filter: drop-shadow(0 28px 46px rgba(15, 98, 254, 0.24));
}

[data-theme="tencent"] .case-artboard--tencent[data-focus="web"].is-live .case-artboard__mob {
  opacity: 0.72;
  transform: translate3d(calc(var(--px) * -14px), calc(var(--py) * -10px + 8px), 0) scale(0.97);
}

[data-theme="tencent"] .case-artboard--tencent[data-focus="mob"].is-live .case-artboard__mob {
  transform: translate3d(calc(var(--px) * -14px + 6px), calc(var(--py) * -10px - 12px), 0) scale(1.06);
  filter: drop-shadow(0 30px 50px rgba(15, 98, 254, 0.3));
}

[data-theme="tencent"] .case-artboard--tencent[data-focus="mob"].is-live .case-artboard__web {
  opacity: 0.74;
  transform: translate3d(calc(var(--px) * 10px), calc(var(--py) * 8px + 4px), 0) scale(0.985);
}

[data-theme="tencent"] .case-artboard--tencent[data-focus="both"].is-live .case-artboard__web {
  transform: translate3d(calc(var(--px) * 10px), calc(var(--py) * 8px - 5px), 0) scale(1.02);
}

[data-theme="tencent"] .case-artboard--tencent[data-focus="both"].is-live .case-artboard__mob {
  transform: translate3d(calc(var(--px) * -14px), calc(var(--py) * -10px - 8px), 0) scale(1.03);
}

/* Staggered Reveals & Tactile Hover Choreography across Tencent Modules */
[data-theme="tencent"] .stepper-5 .step-tile,
[data-theme="tencent"] .challenge-4 .challenge-card,
[data-theme="tencent"] .ia-grid .ia-col,
[data-theme="tencent"] .phone-strip .phone-mini {
  transition:
    transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.48s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}

[data-theme="tencent"] .reveal:not(.is-visible) .step-tile,
[data-theme="tencent"] .reveal:not(.is-visible) .challenge-card,
[data-theme="tencent"] .reveal:not(.is-visible) .ia-col,
[data-theme="tencent"] .reveal:not(.is-visible) .phone-mini {
  opacity: 0;
  transform: translateY(18px);
}

[data-theme="tencent"] .reveal.is-visible .step-tile:nth-child(2),
[data-theme="tencent"] .reveal.is-visible .challenge-card:nth-child(2),
[data-theme="tencent"] .reveal.is-visible .ia-col:nth-child(2),
[data-theme="tencent"] .reveal.is-visible .phone-mini:nth-child(2) { transition-delay: 0.06s; }
[data-theme="tencent"] .reveal.is-visible .step-tile:nth-child(3),
[data-theme="tencent"] .reveal.is-visible .challenge-card:nth-child(3),
[data-theme="tencent"] .reveal.is-visible .ia-col:nth-child(3),
[data-theme="tencent"] .reveal.is-visible .phone-mini:nth-child(3) { transition-delay: 0.12s; }
[data-theme="tencent"] .reveal.is-visible .step-tile:nth-child(4),
[data-theme="tencent"] .reveal.is-visible .challenge-card:nth-child(4),
[data-theme="tencent"] .reveal.is-visible .ia-col:nth-child(4),
[data-theme="tencent"] .reveal.is-visible .phone-mini:nth-child(4) { transition-delay: 0.18s; }
[data-theme="tencent"] .reveal.is-visible .step-tile:nth-child(5),
[data-theme="tencent"] .reveal.is-visible .ia-col:nth-child(5),
[data-theme="tencent"] .reveal.is-visible .phone-mini:nth-child(5) { transition-delay: 0.24s; }
[data-theme="tencent"] .reveal.is-visible .phone-mini:nth-child(6) { transition-delay: 0.3s; }

[data-theme="tencent"] .step-tile:hover,
[data-theme="tencent"] .challenge-card:hover,
[data-theme="tencent"] .ia-col:hover {
  transform: translateY(-4px);
  border-color: rgba(15, 98, 254, 0.26);
  box-shadow: 0 16px 32px -18px rgba(15, 98, 254, 0.22);
  transition-delay: 0s !important;
}

[data-theme="tencent"] .swimlane__node {
  transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease, color 0.22s ease;
}

[data-theme="tencent"] .swimlane__node:hover {
  transform: translateY(-2px);
  border-color: rgba(15, 98, 254, 0.35);
  background: #eff6ff;
  color: #0f62fe;
}

/* Interactive Tree Topic Row Feedback */
[data-theme="tencent"] .tree-topic {
  transition: background 0.24s ease, border-color 0.24s ease;
}

[data-theme="tencent"] .tree-topic.is-private-row {
  background: #fff5f5;
  border-color: rgba(239, 68, 68, 0.22);
}

[data-theme="tencent"] .lock-toggle {
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), background 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}

[data-theme="tencent"] .lock-toggle:active {
  transform: scale(0.95);
}

/* 6-Screen Attendee Loop Live Pulse & Hover Float */
[data-theme="tencent"] .phone-mini:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(15, 98, 254, 0.32);
  box-shadow: 0 18px 34px -16px rgba(15, 98, 254, 0.24);
  transition-delay: 0s !important;
}

[data-theme="tencent"] .phone-mini.is-pulse {
  border-color: rgba(15, 98, 254, 0.42);
  box-shadow: 0 14px 28px -14px rgba(15, 98, 254, 0.28);
  transform: translateY(-4px);
}

[data-theme="tencent"] .phone-mini.is-pulse .phone-mini__step {
  background: #0f62fe;
  color: #ffffff;
}

/* Scroll-Triggered Benchmark Bar Race */
[data-tx-benchmark] .metric-bar__fill {
  transition: width 1.15s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-tx-benchmark]:not(.is-animated) .metric-bar__fill {
  width: 0% !important;
}

@media (prefers-reduced-motion: reduce) {
  [data-theme="tencent"] .case-artboard--tencent *,
  [data-theme="tencent"] .reveal .step-tile,
  [data-theme="tencent"] .reveal .challenge-card,
  [data-theme="tencent"] .reveal .ia-col,
  [data-theme="tencent"] .reveal .phone-mini {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Pixel-Faithful Tencent Health Mini-Program Step 02 Interactive Phone */
.tx-mp-stage {
  background: linear-gradient(180deg, #f4f7fc 0%, #eef2f9 100%) !important;
  padding: 14px 16px !important;
}

.tx-mp-phone {
  width: 224px;
  height: 392px;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.09);
  box-shadow: 0 18px 34px -16px rgba(15, 23, 42, 0.22);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  text-align: left;
}

.tx-mp-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 14px 2px;
  font-size: 9px;
  font-weight: 700;
  color: #171a1d;
}

.tx-mp-status__ic {
  font-size: 8px;
  letter-spacing: 1px;
  color: #334155;
}

.tx-mp-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 3px 10px 6px;
}

.tx-mp-nav__back {
  font-size: 16px;
  line-height: 1;
  color: #171a1d;
  width: 34px;
}

.tx-mp-nav strong {
  font-size: 11px;
  font-weight: 700;
  color: #171a1d;
}

.tx-mp-capsule {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 7px;
  border-radius: 99px;
  border: 1px solid #e5e7eb;
  font-size: 8.5px;
  color: #171a1d;
}

.tx-mp-capsule i {
  width: 1px;
  height: 8px;
  background: #e5e7eb;
}

.tx-mp-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 4px 8px 6px;
  border-bottom: 1px solid #f1f5f9;
  text-align: center;
}

.tx-mp-steps > span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.tx-mp-steps i {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #94a3b8;
  font-style: normal;
  font-size: 8.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.tx-mp-steps em {
  font-style: normal;
  font-size: 7.5px;
  color: #94a3b8;
  white-space: nowrap;
}

.tx-mp-steps .is-done i {
  background: #eff6ff;
  color: #0052d9;
}

.tx-mp-steps .is-done em {
  color: #334155;
}

.tx-mp-steps .is-curr i {
  background: #0052d9;
  color: #ffffff;
}

.tx-mp-steps .is-curr em {
  color: #0052d9;
  font-weight: 600;
}

.tx-mp-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  scrollbar-width: none;
}

.tx-mp-scroll::-webkit-scrollbar {
  display: none;
}

.tx-mp-hint {
  font-size: 8px;
  color: #64748b;
  line-height: 1.35;
}

.tx-mp-venue {
  padding: 8px 10px;
  border-radius: 7px;
  background: #0052d9;
  color: #ffffff;
}

.tx-mp-venue__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 8.5px;
  font-weight: 700;
  opacity: 0.94;
  margin-bottom: 2px;
}

.tx-mp-venue__title {
  font-size: 10px;
  font-weight: 600;
  margin-bottom: 5px;
}

.tx-mp-meta {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 7.5px;
  opacity: 0.9;
  line-height: 1.4;
}

.tx-mp-meta--dark {
  color: #475569;
  opacity: 1;
}

.tx-mp-topic {
  margin-left: 14px;
  padding: 8px 9px;
  border-radius: 7px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.tx-mp-topic:hover {
  border-color: #93c5fd;
}

.tx-mp-topic__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 8.5px;
  font-weight: 700;
  color: #171a1d;
  margin-bottom: 2px;
}

.tx-mp-lockbtn {
  border: none;
  background: transparent;
  padding: 2px;
  border-radius: 4px;
  color: #94a3b8;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.18s ease, background 0.18s ease;
}

.tx-mp-lockbtn:hover {
  background: #f1f5f9;
  color: #0052d9;
}

.tx-mp-topic .ic-lock { display: none; }
.tx-mp-topic .ic-unlock { display: block; }
.tx-mp-topic.is-locked .ic-lock { display: block; color: #171a1d; }
.tx-mp-topic.is-locked .ic-unlock { display: none; }

.tx-mp-topic__title {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 9.5px;
  font-weight: 550;
  color: #171a1d;
  margin-bottom: 4px;
}

.tx-mp-inline-lock {
  display: none;
  color: #171a1d;
  flex-shrink: 0;
}

.tx-mp-topic.is-locked .tx-mp-inline-lock {
  display: inline-block;
}

.tx-mp-foot {
  padding: 7px 10px 8px;
  background: #ffffff;
  border-top: 1px solid #f1f5f9;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tx-mp-addbtn {
  width: 100%;
  padding: 5px 8px;
  border-radius: 6px;
  border: 1px solid #0052d9;
  background: #ffffff;
  color: #0052d9;
  font-family: inherit;
  font-size: 9.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s ease;
}

.tx-mp-addbtn:hover {
  background: #eff6ff;
}

.tx-mp-foot__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.tx-mp-btn-ghost,
.tx-mp-btn-primary {
  text-align: center;
  padding: 5px 0;
  border-radius: 6px;
  font-size: 9.5px;
  font-weight: 600;
}

.tx-mp-btn-ghost {
  background: #f2f4fb;
  color: #0052d9;
}

.tx-mp-btn-primary {
  background: #0052d9;
  color: #ffffff;
}

/* ==========================================================================
   Project 04: Meituan Beidou Program — LLM Talent Sourcing Case Modules
   Clean Architectural Editorial System (Zero Cliché / High Contrast)
   ========================================================================== */
body[data-theme="meituan"] .case-hero__kicker::before {
  background: #d97706;
}

body[data-theme="meituan"] .chapter-nav__list a.is-active {
  background: #18181b;
  color: #ffc300;
}

/* Hero Editorial Stage */
.mt-hero-stage {
  position: relative;
  width: 100%;
  min-height: 430px;
  padding: clamp(36px, 4.4vw, 56px);
  background: linear-gradient(135deg, #fffef9 0%, #fef7df 54%, #f8ebc0 100%);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(28px, 3.8vw, 52px);
  overflow: hidden;
  --px: 0;
  --py: 0;
}

.mt-hero-stage__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(17, 24, 39, 0.038) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 24, 39, 0.038) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(ellipse 84% 78% at 54% 48%, #000 32%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 84% 78% at 54% 48%, #000 32%, transparent 100%);
  pointer-events: none;
}

.mt-hero-stage__orb {
  position: absolute;
  width: 48%;
  aspect-ratio: 1;
  top: -22%;
  right: -6%;
  border-radius: 50%;
  background: radial-gradient(
    circle at 42% 42%,
    rgba(255, 195, 0, 0.36) 0%,
    rgba(255, 209, 0, 0.12) 56%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: translate3d(calc(var(--px) * -12px), calc(var(--py) * -10px), 0);
  transition: transform 0.25s ease-out;
  pointer-events: none;
}

.mt-hero-stage__left {
  position: relative;
  z-index: 2;
}

.mt-hero-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}

.mt-hero-brand__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  padding: 0 11px;
  border-radius: 8px;
  background: #ffc300;
  color: #111827;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: inset 0 -1px 0 rgba(17, 24, 39, 0.14);
}

.mt-hero-brand__sep {
  width: 1px;
  height: 14px;
  background: rgba(17, 24, 39, 0.18);
}

.mt-hero-brand__label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 650;
  letter-spacing: 0.08em;
  color: #78350f;
}

.mt-hero-stage__title {
  margin: 0 0 12px;
  font-size: clamp(26px, 2.8vw, 38px);
  font-weight: 760;
  line-height: 1.2;
  letter-spacing: -0.028em;
  color: #111827;
}

.mt-hero-stage__title em {
  font-style: normal;
  color: #92400e;
}

.mt-hero-stage__sub {
  margin: 0 0 22px;
  font-size: 14.5px;
  line-height: 1.68;
  color: #57534e;
  max-width: 440px;
}

.mt-hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mt-hero-pill {
  appearance: none;
  border: 1px solid rgba(17, 24, 39, 0.12);
  background: rgba(255, 255, 255, 0.78);
  color: #1f2937;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 13px;
  border-radius: 9px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.mt-hero-pill:hover,
.mt-hero-pill.is-focus {
  background: #18181b;
  color: #ffc300;
  border-color: #18181b;
  transform: translateY(-1px);
}

.mt-hero-board {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(17, 24, 39, 0.09);
  border-radius: 20px;
  padding: 22px 24px 20px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 24px 48px -18px rgba(120, 53, 15, 0.18);
  transform: translate3d(calc(var(--px) * 7px), calc(var(--py) * 5px), 0);
  transition: transform 0.25s ease-out;
}

.mt-hero-board__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(17, 24, 39, 0.07);
}

.mt-hero-board__title {
  font-size: 12.5px;
  font-weight: 700;
  color: #111827;
}

.mt-hero-board__period {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #78716c;
}

.mt-hero-board__rows {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mt-hero-board__row {
  padding: 10px 12px;
  border-radius: 12px;
  background: #faf9f5;
  border: 1px solid rgba(17, 24, 39, 0.055);
  transition: border-color 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}

.mt-hero-stage[data-focus="persona"] .mt-hero-board__row:not([data-group="persona"]),
.mt-hero-stage[data-focus="funnel"] .mt-hero-board__row:not([data-group="funnel"]),
.mt-hero-stage[data-focus="boundary"] .mt-hero-board__row:not([data-group="boundary"]) {
  opacity: 0.42;
}

.mt-hero-stage[data-focus="persona"] .mt-hero-board__row[data-group="persona"],
.mt-hero-stage[data-focus="funnel"] .mt-hero-board__row[data-group="funnel"],
.mt-hero-stage[data-focus="boundary"] .mt-hero-board__row[data-group="boundary"] {
  background: #fffbeb;
  border-color: rgba(217, 119, 6, 0.35);
}

.mt-hero-board__row-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.mt-hero-board__label {
  font-size: 12px;
  font-weight: 650;
  color: #292524;
}

.mt-hero-board__num {
  font-family: var(--font-mono);
  font-size: 13.5px;
  font-weight: 760;
  color: #111827;
  font-variant-numeric: tabular-nums;
}

.mt-hero-board__bar {
  height: 7px;
  border-radius: 999px;
  background: #ece8dc;
  overflow: hidden;
}

.mt-hero-board__fill {
  height: 100%;
  border-radius: 999px;
  background: #18181b;
}

.mt-hero-board__fill--amber {
  background: linear-gradient(90deg, #d97706 0%, #ffc300 100%);
}

.mt-hero-board__row--handoff {
  background: #ffffff;
  border: 1px dashed rgba(17, 24, 39, 0.18);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.mt-hero-board__handoff-badge {
  font-size: 11px;
  font-weight: 650;
  color: #57534e;
  background: #f5f5f4;
  border: 1px solid rgba(17, 24, 39, 0.08);
  padding: 3px 9px;
  border-radius: 6px;
  white-space: nowrap;
}

/* Chapter 01: Role Boundary & Ownership Pipeline */
.mt-boundary-zones {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: stretch;
}

.mt-zone {
  border-radius: 16px;
  padding: 18px 18px 20px;
}

.mt-zone--owned {
  background: linear-gradient(180deg, #fffdf7 0%, #faf6ea 100%);
  border: 1px solid rgba(217, 119, 6, 0.24);
}

.mt-zone--handoff {
  background: #f8fafc;
  border: 1px dashed rgba(15, 23, 42, 0.18);
  display: grid;
  grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
}

.mt-zone__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.mt-zone--handoff .mt-zone__head {
  margin-bottom: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.mt-zone__badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 700;
  color: #111827;
  line-height: 1.35;
}

.mt-zone__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ffc300;
  box-shadow: 0 0 0 2px rgba(217, 119, 6, 0.22);
  flex-shrink: 0;
}

.mt-zone__dot--muted {
  background: #94a3b8;
  box-shadow: none;
}

.mt-zone__span {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  color: #78716c;
  white-space: nowrap;
}

.mt-stage-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.mt-stage-btn {
  appearance: none;
  text-align: left;
  padding: 14px 12px 15px;
  border-radius: 12px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  background: #ffffff;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 108px;
  font-family: inherit;
  transition: transform 0.2s var(--ease-out), border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.mt-stage-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(217, 119, 6, 0.4);
}

.mt-stage-btn.is-active {
  background: #18181b;
  border-color: #18181b;
  box-shadow: 0 12px 24px -10px rgba(17, 24, 39, 0.34);
}

.mt-stage-btn--handoff {
  min-height: 0;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  padding: 14px 16px;
  background: #ffffff;
  border-style: dashed;
  border-color: rgba(15, 23, 42, 0.18);
}

.mt-stage-btn--handoff.is-active {
  background: #334155;
  border-color: #334155;
  border-style: solid;
}

.mt-stage-btn__idx {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  color: #b45309;
}

.mt-stage-btn.is-active .mt-stage-btn__idx {
  color: #ffc300;
}

.mt-stage-btn--handoff .mt-stage-btn__idx {
  color: #64748b;
  width: 100%;
}

.mt-stage-btn--handoff.is-active .mt-stage-btn__idx {
  color: #e2e8f0;
}

.mt-stage-btn__name {
  font-size: 14px;
  font-weight: 700;
  color: #111827;
  line-height: 1.3;
}

.mt-stage-btn.is-active .mt-stage-btn__name {
  color: #ffffff;
}

.mt-stage-btn__mini {
  font-size: 12px;
  line-height: 1.45;
  color: #64748b;
}

.mt-stage-btn.is-active .mt-stage-btn__mini {
  color: rgba(255, 255, 255, 0.72);
}

.mt-stage-btn--handoff .mt-stage-btn__name {
  font-size: 15px;
}

.mt-stage-btn--handoff .mt-stage-btn__mini {
  flex: 1;
  min-width: 180px;
}

.mt-stage-detail {
  margin-top: 16px;
  padding: 18px 20px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid var(--hairline);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 20px;
  align-items: start;
}

.mt-stage-detail__k {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #92400e;
  margin-bottom: 6px;
}

.mt-stage-detail__v {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--ink-secondary);
}

.mt-stage-detail__v strong {
  color: var(--ink-primary);
}

/* Chapter 02: Target Talent Persona */
.mt-persona-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.mt-persona-card {
  background: #ffffff;
  border: 1px solid var(--hairline);
  border-radius: 18px;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 100%;
  box-shadow: var(--shadow-xs);
  transition: transform 0.25s var(--ease-out), border-color 0.25s ease;
}

.mt-persona-card:hover {
  transform: translateY(-3px);
  border-color: rgba(217, 119, 6, 0.32);
}

.mt-persona-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2px;
}

.mt-persona-card__icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #fef7df;
  border: 1px solid rgba(217, 119, 6, 0.2);
  color: #92400e;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mt-persona-card__num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: #a8a29e;
}

.mt-persona-card__title {
  margin: 0;
  font-size: 17px;
  font-weight: 720;
  line-height: 1.35;
  color: #111827;
  letter-spacing: -0.015em;
}

.mt-persona-card__desc {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.72;
  color: var(--ink-secondary);
  flex: 1;
}

.mt-persona-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px solid rgba(17, 24, 39, 0.06);
}

.mt-persona-chip {
  font-size: 11.5px;
  font-weight: 600;
  color: #44403c;
  background: #f5f5f4;
  border: 1px solid rgba(17, 24, 39, 0.06);
  padding: 4px 9px;
  border-radius: 6px;
}

.mt-criteria-strip {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.mt-criteria-item {
  padding: 16px 16px 18px;
  border-radius: 12px;
  background: #faf9f5;
  border: 1px solid rgba(17, 24, 39, 0.06);
  min-height: 100%;
}

.mt-criteria-item__label {
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.4;
  color: #111827;
  margin-bottom: 8px;
}

.mt-criteria-item__text {
  font-size: 13px;
  line-height: 1.62;
  color: #57534e;
}

/* Chapter 03: Recruitment Funnel & Quantitative Breakdown */
.mt-funnel-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.9fr);
  gap: 22px;
  align-items: start;
}

.mt-funnel-bars {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mt-funnel-row {
  appearance: none;
  width: 100%;
  text-align: left;
  font-family: inherit;
  padding: 18px 20px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid var(--hairline);
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.mt-funnel-row:hover {
  border-color: rgba(217, 119, 6, 0.35);
}

.mt-funnel-row.is-active {
  background: #fffdf7;
  border-color: rgba(217, 119, 6, 0.55);
  box-shadow: 0 10px 26px -14px rgba(120, 53, 15, 0.22);
}

.mt-funnel-row--handoff {
  background: #f8fafc;
  border-style: dashed;
  border-color: rgba(15, 23, 42, 0.2);
}

.mt-funnel-row--handoff.is-active {
  background: #f1f5f9;
  border-style: solid;
  border-color: #475569;
  box-shadow: none;
}

.mt-funnel-row__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}

.mt-funnel-row__title {
  display: inline-flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 8px 10px;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.4;
  color: #111827;
  min-width: 0;
  flex: 1;
}

.mt-funnel-row__step {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 5px;
  background: #f5f5f4;
  color: #57534e;
}

.mt-funnel-row.is-active .mt-funnel-row__step {
  background: #18181b;
  color: #ffc300;
}

.mt-funnel-row__metric {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  flex-shrink: 0;
}

.mt-funnel-row__val {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 780;
  line-height: 1;
  color: #111827;
  font-variant-numeric: tabular-nums;
}

.mt-funnel-row__rate {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 650;
  color: #92400e;
  background: #fef3c7;
  padding: 2px 7px;
  border-radius: 5px;
}

.mt-funnel-row__rate--muted {
  color: #475569;
  background: #e2e8f0;
}

.mt-funnel-track {
  height: 11px;
  border-radius: 999px;
  background: #f3f0e6;
  overflow: hidden;
}

.mt-funnel-fill {
  height: 100%;
  border-radius: 999px;
  width: 0%;
  transition: width 1.05s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-mt-funnel].is-animated .mt-funnel-fill {
  width: var(--bar-w, 0%);
}

.mt-funnel-fill--s1 {
  background: linear-gradient(90deg, #18181b 0%, #3f3f46 100%);
}

.mt-funnel-fill--s2 {
  background: linear-gradient(90deg, #b45309 0%, #f59e0b 100%);
}

.mt-funnel-fill--s3 {
  background: linear-gradient(90deg, #f59e0b 0%, #ffc300 100%);
}

.mt-funnel-row__sub {
  margin-top: 10px;
  font-size: 13px;
  color: #64748b;
  line-height: 1.62;
}

.mt-funnel-aside {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: sticky;
  top: 88px;
}

.mt-funnel-note {
  background: #18181b;
  color: #f8fafc;
  border-radius: 18px;
  padding: 22px 22px 20px;
}

.mt-funnel-note__kicker {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #ffc300;
  margin-bottom: 8px;
}

.mt-funnel-note__title {
  margin: 0 0 10px;
  font-size: 16.5px;
  font-weight: 700;
  color: #ffffff;
}

.mt-funnel-note__desc {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.72;
  color: rgba(248, 250, 252, 0.78);
}

.mt-kpi-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.mt-kpi-mini {
  background: #ffffff;
  border: 1px solid var(--hairline);
  border-radius: 14px;
  padding: 16px;
}

.mt-kpi-mini__val {
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 780;
  color: #111827;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}

.mt-kpi-mini__label {
  margin-top: 4px;
  font-size: 12px;
  color: #64748b;
  line-height: 1.45;
}

/* Chapter 04: Dual-Track Sourcing Workflow + Visual Evidence */
.mt-visual-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.mt-visual-card {
  background: #ffffff;
  border: 1px solid var(--hairline);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
}

.mt-visual-card__stage {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #f5f1e6;
  overflow: hidden;
}

.mt-visual-card__stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 560ms var(--ease-out);
}

.mt-visual-card:hover .mt-visual-card__stage img {
  transform: scale(1.03);
}

.mt-visual-card__meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px 18px;
  border-top: 1px solid var(--hairline);
  min-height: 92px;
}

.mt-visual-card__meta strong {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 3px;
}

.mt-visual-card__meta span {
  font-size: 12px;
  line-height: 1.55;
  color: #64748b;
}

.mt-visual-card__chip {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #92400e;
  background: #fef7df;
  border: 1px solid rgba(217, 119, 6, 0.2);
  padding: 3px 8px;
  border-radius: 6px;
}

/* Interactive Scholar Search Console */
.mod-panel--flush {
  padding: 0;
  overflow: hidden;
}

.mod-panel--flush > .mod-panel__head {
  margin: 0;
  padding: 22px 24px 18px;
}

.mod-panel--flush .mt-scholar {
  margin: 0;
  border: none;
  border-top: 1px solid var(--hairline);
  border-radius: 0;
  box-shadow: none;
}

.mt-scholar {
  margin-bottom: 20px;
  background: #ffffff;
  border: 1px solid var(--hairline);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-xs);
}

.mt-scholar__chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 16px;
  background: #faf9f5;
  border-bottom: 1px solid var(--hairline);
}

.mt-scholar__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #d6d3d1;
}

.mt-scholar__dot:nth-child(1) { background: #f87171; }
.mt-scholar__dot:nth-child(2) { background: #fbbf24; }
.mt-scholar__dot:nth-child(3) { background: #34d399; }

.mt-scholar__url {
  margin-left: 8px;
  flex: 1;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: #78716c;
  background: #ffffff;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 8px;
  padding: 6px 12px;
}

.mt-scholar__body {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 0;
  min-height: 360px;
}

.mt-scholar__side {
  padding: 18px 16px;
  background: #fffdf8;
  border-right: 1px solid var(--hairline);
}

.mt-scholar__side-title {
  font-size: 12px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 12px;
}

.mt-scholar__filters {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.mt-scholar__filter {
  appearance: none;
  text-align: left;
  font-family: inherit;
  border: 1px solid rgba(17, 24, 39, 0.08);
  background: #ffffff;
  border-radius: 10px;
  padding: 10px 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.mt-scholar__filter:hover {
  border-color: rgba(217, 119, 6, 0.35);
}

.mt-scholar__filter.is-active {
  background: #18181b;
  border-color: #18181b;
  color: #ffc300;
}

.mt-scholar__filter-name {
  font-size: 12.5px;
  font-weight: 650;
}

.mt-scholar__filter-count {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  opacity: 0.78;
}

.mt-scholar__main {
  padding: 16px 18px 18px;
  background: #ffffff;
}

.mt-scholar__searchbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(17, 24, 39, 0.12);
  background: #fafaf9;
  margin-bottom: 14px;
}

.mt-scholar__searchbar svg {
  flex-shrink: 0;
  color: #78716c;
}

.mt-scholar__query {
  font-size: 13.5px;
  font-weight: 600;
  color: #111827;
}

.mt-scholar__query em {
  font-style: normal;
  color: #b45309;
  background: #fef3c7;
  padding: 1px 5px;
  border-radius: 4px;
}

.mt-scholar__hint {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: #a8a29e;
}

.mt-scholar__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 420px;
  overflow-y: auto;
  padding-right: 4px;
}

.mt-paper {
  padding: 12px 13px;
  border-radius: 12px;
  border: 1px solid rgba(17, 24, 39, 0.07);
  background: #fafaf9;
  transition: opacity 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.mt-paper.is-hidden {
  display: none;
}

.mt-paper.is-focus {
  background: #fffbeb;
  border-color: rgba(217, 119, 6, 0.38);
}

.mt-paper__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}

.mt-paper__venue {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #92400e;
}

.mt-paper__fit {
  font-size: 10.5px;
  font-weight: 700;
  color: #166534;
  background: #dcfce7;
  padding: 2px 7px;
  border-radius: 5px;
}

.mt-paper__fit--mid {
  color: #92400e;
  background: #fef3c7;
}

.mt-paper__title {
  margin: 0 0 5px;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.45;
  color: #111827;
}

.mt-paper__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  font-size: 11.5px;
  color: #64748b;
}

.mt-paper__meta strong {
  color: #292524;
  font-weight: 650;
}

.mt-paper__actions {
  margin-top: 9px;
  display: flex;
  gap: 7px;
}

.mt-paper__btn {
  appearance: none;
  font-family: inherit;
  font-size: 11px;
  font-weight: 650;
  border-radius: 6px;
  padding: 4px 9px;
  border: 1px solid rgba(17, 24, 39, 0.1);
  background: #ffffff;
  color: #44403c;
  cursor: pointer;
}

.mt-paper__btn--primary {
  background: #18181b;
  border-color: #18181b;
  color: #ffc300;
}

.mt-paper__btn.is-marked {
  background: #fef3c7;
  border-color: rgba(217, 119, 6, 0.4);
  color: #92400e;
}

.mt-track-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.mt-track-card {
  background: #ffffff;
  border: 1px solid var(--hairline);
  border-radius: 18px;
  padding: 28px 28px 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: var(--shadow-xs);
}

.mt-track-card__head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--hairline);
}

.mt-track-card__tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #92400e;
  background: #fef7df;
  border: 1px solid rgba(217, 119, 6, 0.22);
  padding: 4px 10px;
  border-radius: 7px;
}

.mt-track-card__title {
  margin: 0;
  font-size: 18px;
  font-weight: 720;
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: #111827;
}

.mt-track-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mt-track-steps li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 8px 12px;
  font-size: 13.5px;
  line-height: 1.72;
  color: var(--ink-secondary);
}

.mt-track-steps__idx {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: #b45309;
  padding-top: 3px;
}

.mt-track-steps strong {
  color: var(--ink-primary);
}

/* Funnel Strategy Thinking (outreach volume + deadline contingency) */
.mt-think-lead {
  margin: 0 0 18px;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--ink-secondary);
  max-width: 920px;
}

.mt-think-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.mt-think-tab {
  appearance: none;
  text-align: left;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 84px;
  padding: 16px 16px 17px;
  border-radius: 14px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  background: #ffffff;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.mt-think-tab:hover {
  border-color: rgba(217, 119, 6, 0.35);
  transform: translateY(-1px);
}

.mt-think-tab.is-active {
  background: #18181b;
  border-color: #18181b;
}

.mt-think-tab__idx {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 750;
  color: #b45309;
  padding-top: 2px;
}

.mt-think-tab.is-active .mt-think-tab__idx {
  color: #ffc300;
}

.mt-think-tab__txt {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.mt-think-tab__txt strong {
  font-size: 13.5px;
  font-weight: 720;
  color: #111827;
  line-height: 1.35;
}

.mt-think-tab.is-active .mt-think-tab__txt strong {
  color: #ffffff;
}

.mt-think-tab__txt em {
  font-style: normal;
  font-size: 12px;
  line-height: 1.45;
  color: #78716c;
}

.mt-think-tab.is-active .mt-think-tab__txt em {
  color: rgba(255, 255, 255, 0.68);
}

.mt-think-panel[hidden] {
  display: none;
}

.mt-think-panel.is-active {
  padding-top: 4px;
}

.mt-think-split {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(260px, 0.88fr);
  gap: 20px;
  align-items: start;
}

.mt-think-kicker {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.07em;
  color: #92400e;
  margin-bottom: 8px;
}

.mt-think-title {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 730;
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: #111827;
}

.mt-think-desc {
  margin: 0 0 14px;
  font-size: 13.5px;
  line-height: 1.72;
  color: var(--ink-secondary);
}

.mt-think-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mt-think-list li {
  padding: 12px 14px;
  border-radius: 12px;
  background: #faf9f5;
  border: 1px solid rgba(17, 24, 39, 0.06);
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--ink-secondary);
}

.mt-think-list strong {
  color: #111827;
}

.mt-think-list em {
  font-style: normal;
  font-family: var(--font-mono);
  font-weight: 700;
  color: #b45309;
}

.mt-think-calc {
  background: #18181b;
  color: #f8fafc;
  border-radius: 16px;
  padding: 18px 18px 16px;
}

.mt-think-calc__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 11.5px;
  color: rgba(248, 250, 252, 0.72);
}

.mt-think-calc__head span:last-child {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: #ffc300;
}

.mt-think-calc__control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 12.5px;
  color: rgba(248, 250, 252, 0.82);
}

.mt-think-calc__control input[type="range"] {
  width: 100%;
  accent-color: #ffc300;
}

.mt-think-calc__control strong {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 780;
  color: #ffc300;
  min-width: 1.5ch;
  text-align: right;
}

.mt-think-calc__rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mt-think-calc__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 12.5px;
  color: rgba(248, 250, 252, 0.78);
}

.mt-think-calc__row strong {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 750;
  color: #ffffff;
}

.mt-think-calc__row--accent {
  background: rgba(255, 195, 0, 0.12);
  border: 1px solid rgba(255, 195, 0, 0.28);
}

.mt-think-calc__row--accent strong {
  color: #ffc300;
}

.mt-think-calc__note {
  margin: 12px 0 0;
  font-size: 11.5px;
  line-height: 1.6;
  color: rgba(248, 250, 252, 0.58);
}

.mt-think-steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mt-think-step {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #faf9f5;
  border: 1px solid rgba(17, 24, 39, 0.06);
}

.mt-think-step > span {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 750;
  color: #b45309;
  padding-top: 2px;
}

.mt-think-step > p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--ink-secondary);
}

.mt-think-step strong {
  color: #111827;
}

.mt-think-do-dont {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mt-think-do,
.mt-think-dont {
  border-radius: 14px;
  padding: 16px 16px 14px;
  border: 1px solid rgba(17, 24, 39, 0.08);
}

.mt-think-do {
  background: #fffdf7;
  border-color: rgba(217, 119, 6, 0.22);
}

.mt-think-dont {
  background: #f8fafc;
}

.mt-think-do__label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  color: #92400e;
}

.mt-think-dont .mt-think-do__label {
  color: #64748b;
}

.mt-think-do ul,
.mt-think-dont ul {
  margin: 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.mt-think-do li,
.mt-think-dont li {
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-secondary);
}

.mt-think-signal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.mt-think-signal {
  padding: 18px 18px 16px;
  border-radius: 14px;
  background: #faf9f5;
  border: 1px solid rgba(17, 24, 39, 0.06);
}

.mt-think-signal__tag {
  display: inline-flex;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 750;
  letter-spacing: 0.06em;
  color: #92400e;
  background: #fef7df;
  border: 1px solid rgba(217, 119, 6, 0.2);
  padding: 3px 8px;
  border-radius: 6px;
  margin-bottom: 10px;
}

.mt-think-signal__title {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 720;
  color: #111827;
}

.mt-think-signal p {
  margin: 0;
  font-size: 13px;
  line-height: 1.68;
  color: #57534e;
}

.mt-think-footnote {
  margin: 16px 0 0;
  padding: 14px 16px;
  border-radius: 12px;
  background: #18181b;
  color: rgba(248, 250, 252, 0.82);
  font-size: 13.5px;
  line-height: 1.7;
}

.mt-think-footnote strong {
  color: #ffc300;
}

.mt-takeaway-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.mt-takeaway {
  padding: 26px 24px 28px;
  border-radius: 16px;
  background: #faf9f5;
  border: 1px solid rgba(17, 24, 39, 0.07);
  display: flex;
  flex-direction: column;
  gap: 0;
  min-height: 100%;
}

.mt-takeaway__num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: #b45309;
  margin-bottom: 12px;
}

.mt-takeaway__title {
  margin: 0 0 12px;
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.012em;
  color: #111827;
}

.mt-takeaway__desc {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.72;
  color: #57534e;
}

@media (max-width: 1100px) {
  .mt-stage-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .mt-stage-btn:nth-child(4),
  .mt-stage-btn:nth-child(5) {
    grid-column: span 1;
  }

  .mt-zone--handoff {
    grid-template-columns: 1fr;
  }

  .mt-criteria-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .mt-hero-stage,
  .mt-funnel-grid,
  .mt-track-grid,
  .mt-scholar__body,
  .mt-think-tabs,
  .mt-think-split,
  .mt-think-signal-grid {
    grid-template-columns: 1fr;
  }

  .mt-funnel-aside {
    position: static;
  }

  .mt-think-step {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .mt-think-tab {
    min-height: 0;
  }

  .mt-scholar__side {
    border-right: none;
    border-bottom: 1px solid var(--hairline);
  }

  .mt-visual-grid {
    grid-template-columns: 1fr;
  }

  .mt-visual-card__meta {
    min-height: 0;
  }

  .mt-stage-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mt-stage-btn {
    min-height: 0;
  }

  .mt-stage-detail,
  .mt-persona-grid,
  .mt-takeaway-grid {
    grid-template-columns: 1fr;
  }

  .mt-criteria-strip {
    grid-template-columns: 1fr;
  }
}

/* Meituan page vertical rhythm + stacked section headers */
body[data-theme="meituan"] .case-section {
  padding-top: clamp(52px, 6vw, 84px);
  padding-bottom: clamp(52px, 6vw, 84px);
}

body[data-theme="meituan"] .case-section__header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  margin-bottom: 28px;
  max-width: 780px;
}

body[data-theme="meituan"] .case-section__title {
  margin-top: 0;
}

body[data-theme="meituan"] .case-section__desc {
  margin-top: 14px;
  max-width: 720px;
}

body[data-theme="meituan"] .mod-panel + .mod-panel,
body[data-theme="meituan"] .mt-visual-grid + .mod-panel,
body[data-theme="meituan"] .mod-panel + .mt-track-grid,
body[data-theme="meituan"] .mt-track-grid + .mt-takeaway-grid {
  margin-top: 22px;
}

body[data-theme="meituan"] .case-meta__value {
  max-width: 18em;
}

@media (prefers-reduced-motion: reduce) {
  .mt-hero-stage__orb,
  .mt-hero-board {
    transform: none !important;
    transition: none !important;
  }

  .mt-funnel-fill {
    width: var(--bar-w) !important;
    transition: none !important;
  }
}


