/* Then the report: the report Sam writes after the demo interview, rebuilt as one tall card. */
#report .report-card { padding: 34px 38px 34px; }
#report .report-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 40px; padding-bottom: 24px; box-shadow: inset 0 -1px 0 var(--line); }
#report .report-head-a { min-width: 0; }
#report .report-title { margin: 8px 0 0; font-family: var(--display); font-size: 34px; font-weight: 700; letter-spacing: -.03em; line-height: 1.1; color: var(--text); }
#report .report-meta { margin-top: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 0; font-size: 14px; color: var(--text-2); }
#report .report-meta > span + span:not(:nth-child(2))::before { content: "·"; margin: 0 9px; color: var(--text-3); }
#report .report-diff {
  margin-right: 12px; height: 24px; padding: 0 10px; border-radius: 8px; display: inline-flex; align-items: center;
  font-size: 13px; font-weight: 600; color: var(--green); background: color-mix(in srgb, var(--green) 14%, transparent);
}

#report .report-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr); gap: 0 48px; padding-top: 26px; }

/* overall signal */
#report .report-signal { flex: none; text-align: right; }
#report .report-hire { margin-top: 4px; font-family: var(--display); font-size: 60px; font-weight: 750; letter-spacing: -.045em; line-height: 1; color: var(--text); }
#report .report-scale { margin-top: 10px; font-size: 12.5px; color: var(--text-3); }
#report .report-scale b { color: var(--text); font-weight: 600; }
#report .report-sum { margin: 0; font-size: 16.5px; line-height: 1.5; color: var(--text); max-width: 30em; text-wrap: pretty; }
#report .report-tags { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
#report .report-tag { height: 28px; padding: 0 11px; border-radius: 8px; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; }
#report .report-tag b { font-weight: 600; color: var(--text); }
#report .report-tag.good { color: var(--green); background: color-mix(in srgb, var(--green) 12%, transparent); }
#report .report-tag.bad { color: var(--red); background: color-mix(in srgb, var(--red) 12%, transparent); }

/* rubric */
#report .report-skills-cap { margin-top: 26px; }
#report .report-rubric { list-style: none; margin: 8px 0 0; padding: 0; }
#report .report-item { box-shadow: inset 0 -1px 0 var(--line); }
#report .report-item:last-child { box-shadow: none; }
#report .report-row {
  width: 100%; min-height: 48px; display: grid; grid-template-columns: 158px minmax(0, 1fr) 40px 14px; align-items: center; gap: 14px;
  text-align: left; border-radius: 10px; -webkit-tap-highlight-color: transparent;
}
#report .report-name { font-size: 15px; font-weight: 600; color: var(--text); }
#report .report-bar { position: relative; height: 8px; border-radius: 4px; background: var(--line); overflow: hidden; }
/* five steps marked on the track */
#report .report-bar::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(90deg, transparent 0 calc(20% - 2px), var(--panel) calc(20% - 2px) 20%);
  opacity: .9;
}
#report .report-bar i {
  display: block; height: 100%; width: 0; border-radius: 4px;
  background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 55%, var(--cyan)));
  transition: width 1.1s cubic-bezier(.2, .7, .2, 1);
}
#report .report-score { font-family: var(--mono); font-size: 14px; color: var(--text-3); text-align: right; }
#report .report-score b { font-weight: 700; color: var(--text); }
#report .report-item[data-score="4"] .report-score b, #report .report-item[data-score="5"] .report-score b { color: var(--green); }
#report .report-item[data-score="2"] .report-score b, #report .report-item[data-score="1"] .report-score b { color: var(--red); }
#report .report-chev { width: 12px; height: 12px; color: var(--text-3); transition: transform .35s; }
#report .report-row[aria-expanded="true"] .report-chev { transform: rotate(90deg); color: var(--text); }
#report .report-ev { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s cubic-bezier(.2, .7, .2, 1); }
#report .report-ev > div { overflow: hidden; min-height: 0; }
#report .report-item.open .report-ev { grid-template-rows: 1fr; }
#report .report-ev p { margin: 0; padding: 2px 0 6px; font-size: 14.5px; line-height: 1.5; color: var(--text-2); max-width: 34em; }
#report .report-ev .report-at { display: inline-flex; margin-bottom: 14px; }
#report q { quotes: "\201C" "\201D"; color: var(--text); }
#report q.sam { color: var(--accent-text); }

/* the app's small "phase ▸ time" line */
#report .report-at { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--text-3); }
#report .report-ts {
  font-family: var(--mono); font-size: 12px; font-weight: 600; color: var(--accent-text);
  padding: 2px 6px; border-radius: 5px; background: color-mix(in srgb, var(--accent) 13%, transparent);
}

/* strengths and where to focus */
#report .report-list h4 { margin: 0 0 10px; display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 650; color: var(--text); }
#report .report-list h4 svg { width: 17px; height: 17px; }
#report .report-ic-g { fill: var(--green); } #report .report-ic-p { stroke: var(--panel); } #report .report-ic-a { stroke: var(--accent-text); }
#report .report-focus { margin-top: 20px; }
#report .report-box { padding: 12px 14px; border-radius: 12px; background: color-mix(in srgb, var(--panel) 70%, transparent); box-shadow: inset 0 0 0 1px var(--line); }
#report .report-box + .report-box { margin-top: 8px; }
#report .report-box-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
#report .report-box b { display: block; font-size: 14.5px; font-weight: 600; color: var(--text); }
#report .report-box p { margin: 4px 0 0; font-size: 13.5px; line-height: 1.45; color: var(--text-2); }
#report .report-num { display: flex; gap: 12px; }
#report .report-num > div { flex: 1; min-width: 0; }
#report .report-n {
  flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; margin-top: -1px;
  font-size: 12px; font-weight: 700; color: var(--accent-text); background: color-mix(in srgb, var(--accent) 15%, transparent);
}
#report .report-box p.report-fix { color: var(--text); font-weight: 500; }
#report .report-box p.report-fix::before { content: "\21B3"; margin-right: 6px; color: var(--accent-text); }

/* how the time went */
#report .report-time { margin-top: 24px; }
#report .report-time-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 14px; }
#report .report-time-sum { font-size: 13px; color: var(--text-2); }
#report .report-tl { margin-top: 14px; display: grid; grid-template-columns: 62px minmax(0, 1fr); align-items: center; gap: 8px 10px; }
#report .report-tl-k { font-size: 12.5px; color: var(--text-3); }
#report .report-tl-row { display: flex; gap: 3px; height: 26px; min-width: 0; }
#report .report-tl-row > span {
  flex: 1 1 0; min-width: 0; overflow: hidden; white-space: nowrap; border-radius: 6px;
  display: flex; align-items: center; padding: 0 7px; font-size: 12.5px; font-weight: 600;
}
#report .report-plan > span { color: var(--text); background: color-mix(in srgb, var(--raised) 80%, transparent); box-shadow: inset 0 0 0 1px var(--line); }
#report .report-plan em { font-style: normal; font-weight: 500; color: var(--text-3); margin-left: 4px; }
#report .report-plan > span.sm { padding: 0; justify-content: center; }
#report .report-act > span {
  color: var(--text); background: color-mix(in srgb, var(--text-3) 34%, transparent);
  transform-origin: left center; transform: scaleX(0); opacity: 0; transition: transform .5s cubic-bezier(.2, .7, .2, 1), opacity .3s;
}
#report .report-act > span.over { flex-basis: 10px; color: #1b1300; background: var(--amber); justify-content: center; padding: 0; font-size: 12px; }
#report .report-act > span.left { background: repeating-linear-gradient(135deg, var(--line) 0 2px, transparent 2px 5px); }
#report .piece.in .report-act > span { transform: none; opacity: 1; }
#report .report-tests { position: relative; }
#report .report-run {
  position: absolute; top: 2px; transform: translateX(-50%); height: 22px; padding: 0 7px; border-radius: 6px;
  display: inline-flex; align-items: center; font-family: var(--mono); font-size: 12px; font-weight: 600;
}
#report .report-run.bad { color: var(--red); background: color-mix(in srgb, var(--red) 14%, transparent); }
#report .report-run.good { color: var(--green); background: color-mix(in srgb, var(--green) 14%, transparent); }

/* phone: one column; the strengths go, the timeline keeps planned against actual */
@container piece (max-width: 600px) {
  #report .report-card { padding: 22px 18px 22px; }
  #report .report-head { padding-bottom: 18px; }
  #report .report-title { font-size: 25px; }
  #report .report-meta { font-size: 13px; }
  #report .report-meta > span:nth-child(5), #report .report-meta > span:nth-child(6) { display: none; }
  #report .report-grid { display: block; padding-top: 20px; }
  #report .report-head { display: block; }
  #report .report-signal { text-align: left; margin-top: 18px; padding-top: 16px; box-shadow: inset 0 1px 0 var(--line); }
  #report .report-hire { font-size: 44px; }
  #report .report-scale { font-size: 12px; }
  #report .report-sum { display: none; }
  #report .report-tags, #report .report-head-a > .app-caps, #report .report-tl > :nth-child(5), #report .report-tl > :nth-child(6) { display: none; }
  #report .report-skills-cap { margin-top: 0; }
  #report .report-grid { padding-top: 18px; }
  #report .report-row { grid-template-columns: minmax(0, 1fr) 64px 34px 12px; gap: 10px; min-height: 48px; }
  #report .report-name { font-size: 14.5px; }
  #report .report-strengths { display: none; }
  #report .report-item:nth-child(n+4) { display: none; }
  #report .report-focus { margin-top: 18px; }
  #report .report-focus .report-at { display: none; }
  #report .report-time { margin-top: 14px; padding-top: 18px; box-shadow: inset 0 1px 0 var(--line); }
  #report .report-time-sum { display: none; }
  #report .report-tl { grid-template-columns: 52px minmax(0, 1fr); }
  #report .report-plan em { display: none; }
  #report .report-tl-row > span { padding: 0 4px; font-size: 12px; justify-content: center; }
  #report .report-tl-row > span.nm { color: transparent; }
}
@media (prefers-reduced-motion: reduce) {
  #report .report-bar i, #report .report-act > span, #report .report-ev, #report .report-chev { transition: none; }
}
/* the report's own glow, top right behind the signal, as in the app */
#report .report-card::before { background: radial-gradient(46% 40% at 88% 0%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 72%), radial-gradient(40% 40% at 0% 100%, color-mix(in srgb, var(--cyan) 7%, transparent), transparent 70%); }
