/* User journey map: what this page adds to /cloud-console/project-info/console.css. Loaded by this page only. The on-this-page
   list, the persona panels two to a row on wide screens, the journeys' small screenshots, and the moments' messages. */
.toc { margin: 0 0 var(--space-5); }
.toc ol { display: flex; flex-wrap: wrap; gap: var(--space-2); list-style: none; margin: 0; padding: 0; }
.toc li { margin: 0; min-width: 0; }
.toc a {
  display: inline-flex; align-items: center; min-height: 32px; padding: 0 var(--space-3); border: 1px solid var(--line);
  border-radius: 999px; background: var(--surface); color: var(--ink); font-size: var(--text-sm); font-weight: 500;
}
.toc a:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }

/* Personas */
.personas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4); margin: var(--space-3) 0 var(--space-5); }
.personas > .panel { margin: 0; min-width: 0; }
.panel > h3:first-child { margin-top: 0; }
.facts { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: var(--space-1) var(--space-3); margin: 0 0 var(--space-3); }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; min-width: 0; }
.panel .table-frame { margin-bottom: 0; }
.persona-link { margin: var(--space-3) 0 0; font-size: var(--text-sm); }

/* Journeys */
.journey td { min-width: 180px; }
.journey td.phase { min-width: 0; font-weight: 600; }
.journey td.screen { min-width: 0; width: 184px; }
.thumb { display: block; width: 168px; max-width: 100%; }
.thumb img {
  display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top;
  border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--surface);
}
.thumb-name { display: block; margin-top: var(--space-1); font-size: var(--text-sm); }
.also { display: block; margin-top: var(--space-1); font-size: var(--text-sm); color: var(--muted); }
.feel { color: var(--muted); }
.said-list { margin: 0; padding-left: 1.1em; }
.said-list li + li { margin-top: var(--space-1); }

/* Moments that matter */
.state ul { margin: var(--space-2) 0 0; padding-left: 1.1em; }
.state .form-message, .state .notice { margin: var(--space-2) 0 0; }

@media (max-width: 1023px) {
  .personas { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .facts { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .facts dd + dt { margin-top: var(--space-2); }
  .journey td { min-width: 0; }
  .journey td.screen { width: auto; }
  .thumb { width: 240px; }
  .toc a { min-height: 44px; }
}
@media (pointer: coarse) {
  .toc a { min-height: 44px; }
}

/* Taps of 44px on phones and touch screens: the breadcrumbs, the mark in the top bar, and the links in the tables */
@media (max-width: 640px), (pointer: coarse) {
  .crumbs a, .topbar .brand, .also a, .persona-link a { display: inline-flex; align-items: center; min-height: 44px; }
}
