/* Analyst entry: real app screens and the basic three-selection flow. */
#analyst-mode { scroll-margin-top: 100px; }
#analyst-mode .analyst-entry { padding: 14px 0 32px; }
#analyst-mode .analyst-entry-heading { max-width: 720px; }
#analyst-mode .analyst-entry-heading h3 { margin: 0 0 18px; font-size: clamp(1.6rem, 3vw, 2.35rem); line-height: 1.45; letter-spacing: -.02em; }
#analyst-mode p { color: var(--muted); line-height: 1.9; }
#analyst-mode .analyst-entry-heading > p:last-child { margin: 0; }
.analyst-entry-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding: 0; margin: 30px 0 14px; list-style: none; }
.analyst-entry-steps li { display: flex; align-items: baseline; gap: 12px; border-top: 1px solid var(--line); padding-top: 16px; }
.analyst-step-number { color: var(--accent-ink); font-size: .8rem; font-variant-numeric: tabular-nums; }
.analyst-entry-steps strong { display: block; color: var(--ink); font-size: 1.05rem; }
.analyst-entry-steps div > span { display: block; color: var(--muted); font-size: .82rem; margin-top: 5px; }
#analyst-mode .analyst-entry-note { font-size: .83rem; margin: 12px 0 0; }
.analyst-device-gallery { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .28fr); align-items: center; gap: clamp(22px, 4vw, 52px); margin: 34px 0 24px; }
#analyst-mode figure { margin: 0; min-width: 0; }
#analyst-mode .screenshot-excerpt { display: block; overflow: hidden; border-radius: 16px; border: 1px solid var(--line); background: #fff; box-shadow: 0 12px 36px rgba(25, 46, 44, .07); }
#analyst-mode img { display: block; width: 100%; height: auto; }
#analyst-mode figcaption { display: flex; flex-wrap: wrap; gap: 6px 12px; margin-top: 14px; color: var(--muted); font-size: .78rem; line-height: 1.6; }
#analyst-mode figcaption strong { color: var(--ink); font-size: .85rem; font-weight: 600; }
#analyst-mode .analyst-scout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; align-items: center; padding: 32px 0; border-top: 1px solid var(--line); }
#analyst-mode .analyst-scout h3 { margin: 0 0 14px; }
#analyst-mode .analyst-scout p:last-child { margin-bottom: 0; }
@media (max-width: 640px) {
  .analyst-entry-steps { gap: 10px; margin-top: 24px; }
  .analyst-entry-steps li { flex-direction: column; gap: 6px; }
  .analyst-entry-steps strong { font-size: .95rem; }
  .analyst-entry-steps div > span { font-size: .75rem; }
  .analyst-device-gallery { grid-template-columns: minmax(0, 1fr); gap: 28px; margin-top: 26px; }
  .analyst-device-iphone { width: min(72%, 240px); justify-self: center; }
  #analyst-mode .screenshot-excerpt { border-radius: 12px; }
  #analyst-mode .analyst-scout { grid-template-columns: minmax(0, 1fr); gap: 22px; }
}

.analyst-entry-link { display: inline-block; margin-top: 14px; color: var(--accent-ink); font-size: .85rem; line-height: 1.7; text-decoration: underline; text-underline-offset: 4px; }
.analyst-entry-link:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
