/* The sample call review. The page is the capability-page pattern (platform.css); its one authored object is the report,
   drawn as a window in the dashboard's own light material (moments.css): white, 16px corners, the moment bar, the app's
   chips, ui-stat tiles and ui-turn quotes. The report is still: no sequence plays, so reduced motion changes nothing. */
.stage--sample { background: #eef1f5; color: #39414d; }
.sr-object { margin: 64px auto 0; }
.moment--report { width: min(100%, 1000px); font-size: 14px; }
.moment--report .moment__bar { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
.moment--report .moment__meta { max-width: none; }
.report__stamp { justify-self: center; padding: 3px 10px; border-radius: 999px; background: #eef1f5; color: #39414d; font-size: 11.5px; font-weight: 560; letter-spacing: .01em; white-space: nowrap; }

/* Cover: the scope of the review, as a real report states it. */
.report__cover { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.25fr); gap: 24px 56px; padding: 36px 38px 34px; border-bottom: 1px solid var(--ui-line); }
.report__title h2 { font-size: 34px; font-weight: 470; line-height: 1.08; letter-spacing: -.032em; color: var(--ui-ink); }
.report__title p { margin-top: 10px; font-size: 14.5px; line-height: 1.5; color: var(--ui-2); }
.report__title .report__for { margin-top: 26px; padding-top: 16px; border-top: 1px solid var(--ui-line); max-width: 34ch; font-size: 15px; line-height: 1.5; color: var(--ui-ink); text-wrap: pretty; }
.report__for span { display: block; margin-bottom: 4px; font-size: 11.5px; font-weight: 560; letter-spacing: .02em; color: var(--ui-2); }
.report__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 28px; align-content: start; margin: 0; }
.report__facts > div { min-width: 0; }
.report__facts .report__wide { grid-column: 1 / -1; }
.report__facts dt { font-size: 11.5px; font-weight: 560; letter-spacing: .02em; color: var(--ui-2); }
.report__facts dd { margin: 4px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--ui-ink); text-wrap: pretty; }

/* Sections: one rhythm, each head carrying its synthetic tag so no crop of the report loses it. */
.report__section { padding: 32px 38px 34px; border-bottom: 1px solid var(--ui-line); }
.report__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.report__head h3 { font-size: 19px; font-weight: 520; line-height: 1.25; letter-spacing: -.018em; color: var(--ui-ink); }
.report__tag { flex: none; }
.report__intro { margin: 6px 0 0; max-width: 72ch; font-size: 13.5px; line-height: 1.55; color: var(--ui-2); }
.report__counts { margin-top: 18px; }
.report__counts .ui-stat { padding: 14px 16px; }
.report__counts .ui-stat strong { margin-top: 6px; font-size: 30px; font-weight: 520; font-variant-numeric: tabular-nums; }
.report__counts .ui-stat small { margin-top: 2px; font-size: 12px; line-height: 1.45; }

/* Moments worth hearing: the call on the left, the quote at its second on the right. */
.report-moments { margin: 20px 0 0; padding: 0; list-style: none; }
.report-moment { display: grid; grid-template-columns: 148px minmax(0, 1fr); gap: 22px; padding: 20px 0; border-top: 1px solid var(--ui-line); }
.report-moment:first-child { padding-top: 6px; border-top: 0; }
.report-moment:last-child { padding-bottom: 0; }
.report-moment__call { padding-top: 8px; }
.report-moment__call strong { display: block; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.report-moment__call small { display: block; margin-top: 3px; font-size: 12px; line-height: 1.4; color: var(--ui-2); }
.report-moment .ui-turn { grid-template-columns: 44px minmax(0, 1fr); padding: 10px 12px; font-size: 14.5px; line-height: 1.5; }
.report-moment .ui-turn span { font-variant-numeric: tabular-nums; }
.report-moment__why { margin: 10px 0 0 12px; max-width: 70ch; font-size: 13.5px; line-height: 1.6; color: #3b4250; }
.report-moment__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 12px 0 0 12px; }
.report-moment__open { display: inline-flex; align-items: center; gap: 7px; margin-left: auto; font-size: 12px; color: var(--ui-2); font-variant-numeric: tabular-nums; }
.report-moment__open .ui-play { width: 20px; height: 20px; }
.report-moment__open .ui-play::after { left: 8px; top: 5px; border-left-width: 6px; border-top-width: 5px; border-bottom-width: 5px; }

/* Tables: hairlines between rows only, tabular numerals, captions that say what the rows are. */
.report-table { width: 100%; margin-top: 16px; border-collapse: collapse; font-size: 13.5px; line-height: 1.45; }
.report-table caption { caption-side: top; padding: 0 0 12px; text-align: left; font-size: 12.5px; line-height: 1.5; color: var(--ui-2); }
.report-table th, .report-table td { padding: 12px 14px 12px 0; border-top: 1px solid var(--ui-line); text-align: left; vertical-align: top; }
.report-table thead th { padding-top: 0; padding-bottom: 8px; border-top: 0; font-size: 11.5px; font-weight: 560; letter-spacing: .02em; color: var(--ui-2); }
.report-table tbody th { font-weight: 560; white-space: nowrap; font-variant-numeric: tabular-nums; }
.report-table small { display: block; margin-top: 3px; font-size: 12px; font-weight: 400; line-height: 1.4; color: var(--ui-2); white-space: normal; }
.report-table .chip { vertical-align: baseline; }
.report-by { display: block; margin-bottom: 2px; font-size: 12px; color: var(--ui-2); font-variant-numeric: tabular-nums; }
.report-table--promises td:nth-child(3) { white-space: nowrap; }
.report-table--checks td { width: 76px; padding-right: 0; text-align: right; font-variant-numeric: tabular-nums; }
.report-table--checks thead th:not(:first-child) { padding-right: 0; text-align: right; }
.report-table--checks tbody th { position: relative; padding-left: 26px; white-space: normal; font-weight: 500; }
.report-num { position: absolute; left: 0; color: #a72135; font-weight: 600; font-variant-numeric: tabular-nums; }

/* Checklist results by call: a compact matrix, two columns of calls on wide screens. */
.report-sub { margin: 30px 0 0; font-size: 14px; font-weight: 560; color: var(--ui-ink); }
.report-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 44px; margin-top: 10px; }
.report-matrix { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.report-matrix th, .report-matrix td { padding: 4px 0; border-top: 1px solid var(--ui-line); text-align: center; }
.report-matrix thead th { padding-bottom: 7px; border-top: 0; font-size: 11.5px; font-weight: 560; color: var(--ui-2); font-variant-numeric: tabular-nums; }
.report-matrix thead th:first-child, .report-matrix tbody th { text-align: left; }
.report-matrix tbody th { font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.report-matrix tbody th small { margin-left: 10px; font-size: 12px; font-weight: 400; color: var(--ui-2); }
.mk { width: 32px; }
.report-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin: 16px 0 0; font-size: 12px; color: var(--ui-2); }
.report-legend span { display: inline-flex; align-items: center; gap: 7px; }
.report-legend .mk-box--na { box-shadow: inset 0 0 0 1px #d7dce4; }

/* What could not be assessed, and what a pilot would be measured against. */
.report-list { margin: 14px 0 0; padding: 0; list-style: none; }
.report-list li { padding: 11px 0; border-top: 1px solid var(--ui-line); font-size: 13.5px; line-height: 1.6; color: #3b4250; }
.report-list li:first-child { border-top: 0; padding-top: 4px; }
.report-list strong { font-weight: 600; color: var(--ui-ink); }
.report-criteria { display: grid; gap: 12px; margin: 16px 0 0; padding: 0; list-style: none; counter-reset: criterion; }
.report-criteria li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; align-items: baseline; font-size: 14.5px; line-height: 1.55; counter-increment: criterion; }
.report-criteria li::before { content: counter(criterion); display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #ece9fb; color: #4b3fb8; font-size: 12px; font-weight: 600; transform: translateY(-1px); }
.report__note { margin: 14px 0 0 38px; font-size: 12.5px; color: var(--ui-2); }
.report__foot { padding: 20px 38px 22px; background: #fafbfc; font-size: 12.5px; line-height: 1.6; color: #5b6472; }
.report__foot p + p { margin-top: 4px; }
.report__foot strong { font-weight: 600; color: var(--ui-ink); }

.sr-again { margin-top: 44px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }

@media (max-width: 900px) {
  .report__cover { grid-template-columns: 1fr; }
  .report__title .report__for { max-width: none; }
  .report-grid { grid-template-columns: 1fr; }
  .report-grid .report-matrix + .report-matrix { margin-top: 18px; }
}
@media (max-width: 700px) {
  .sr-object { margin-top: 48px; }
  .moment--report .moment__bar { grid-template-columns: auto 1fr; }
  .moment--report .report__stamp { justify-self: end; }
  .report__cover { padding: 26px 20px 24px; }
  .report__title h2 { font-size: 28px; }
  .report__facts { gap: 14px 20px; }
  .report__section { padding: 26px 20px 28px; }
  .report__head h3 { font-size: 17.5px; }
  .report-moment { grid-template-columns: 1fr; gap: 10px; }
  .report-moment__call { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; padding-top: 0; }
  .report-moment__call small { margin-top: 0; }
  .report-moment .ui-turn { grid-template-columns: 40px minmax(0, 1fr); font-size: 14px; }
  .report-moment__why, .report-moment__meta { margin-left: 0; }
  .report-moment__open { margin-left: 0; }
  /* The promises table becomes one block per promise; the roles keep it a table for assistive technology. */
  .report-table--promises thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .report-table--promises, .report-table--promises tbody, .report-table--promises tr, .report-table--promises th, .report-table--promises td { display: block; }
  .report-table--promises caption { display: block; }
  .report-table--promises tbody tr { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 0 16px; padding: 14px 0; border-top: 1px solid var(--ui-line); }
  .report-table--promises tbody th, .report-table--promises td[data-label="Promise"] { grid-column: 1 / -1; }
  .report-table--promises tbody th, .report-table--promises tbody td, .report-table--promises td:nth-child(3) { padding: 0; border: 0; white-space: normal; }
  .report-table--promises tbody th small { display: inline; margin-left: 8px; }
  .report-table--promises td[data-label]::before { content: attr(data-label); display: block; margin-top: 10px; font-size: 11.5px; font-weight: 560; letter-spacing: .02em; color: var(--ui-2); }
  .report-table--promises td[data-label="Promise"]::before { display: none; }
  .report-table--promises td[data-label="Promise"] { margin-top: 6px; }
  .report-table--checks td { width: 48px; padding-left: 6px; }
  .report-table--checks thead th { white-space: normal; line-height: 1.25; vertical-align: bottom; }
  .report-table--checks thead th:not(:first-child) { padding-left: 6px; }
  .report-table--checks .report-applied { display: none; }
  .report__note { margin-left: 0; }
  .report__foot { padding: 18px 20px 20px; }
}
@media (max-width: 380px) {
  .report__cover, .report__section { padding-inline: 16px; }
  .report__foot { padding-inline: 16px; }
  .report-matrix tbody th small { display: none; }
  .mk { width: 28px; }
  .mk-box { width: 20px; height: 20px; border-radius: 6px; }
  .report-table--checks td { width: 42px; }
  .report__facts { grid-template-columns: 1fr; }
  .report__facts .report__wide { grid-column: auto; }
}
