/* Example report blocks, from the Rails example report layout. */
/* Summary block: same card language as the Option B proof card */
.example-report .summary{
  background:#fff;
  color:#14183a;
  border-radius:16px;
  padding:24px;
  box-shadow:9px 9px 0 #a71176;
  border:1px solid #e3e1db;
}
.summary-head{
  display:flex;
  justify-content:space-between;
  gap:16px;
  align-items:flex-start;
}
.summary-head h2{
  margin:0;
  font-size:1.6rem;
  line-height:1.15;
  letter-spacing:-.01em;
  color:#14183a;
}
.summary-head .maker{color:#5a5856;margin:6px 0 0}
.summary-head img{width:144px;height:144px;flex:0 0 144px}
.summary-grade{
  margin:12px 0 0;
  font-size:1.05rem;
  font-weight:500;
}
.summary-list{
  list-style:none;
  margin:0;
  padding:16px 0 0;
  border-top:1px solid #e3e1db;
  display:grid;
  gap:10px;
}
.summary-list li{
  display:grid;
  grid-template-columns:minmax(8.5rem,12rem) minmax(0,1fr);
  gap:12px 16px;
  align-items:start;
}
.summary-list .label{
  margin:0;
  color:#5a5856;
  font-size:.92rem;
}
.summary-list .value{
  margin:0;
  color:#14183a;
  overflow-wrap:anywhere;
}
.summary-list .mono,
.where,
.ticket-text,
.source-block code{
  font-family:"JetBrains Mono",ui-monospace,monospace;
  font-weight:400;
}
.summary-list .mono{font-size:.82rem;line-height:1.55}

/* Finding */
.finding-meta{margin:0 0 8px;color:#14183a}
.finding-meta .code-badge{margin-right:8px;vertical-align:middle}
.where{font-size:.9rem;overflow-wrap:anywhere}
.source-block{
  background:#f3f2ee;
  border-radius:12px;
  margin:12px 0 16px;
  padding:12px 14px;
}
.source-block .source-label{
  margin:0 0 8px;
  color:#5a5856;
  font-size:.92rem;
}
.source-block pre{
  margin:0;
  white-space:pre-wrap;
  overflow-wrap:anywhere;
}
.source-block code{
  font-size:.82rem;
  line-height:1.6;
  color:#14183a;
}

/* Ticket text box */
.ticket{
  margin:16px 0 0;
  background:#f7f6f2;
  border:2px solid #14183a;
  border-radius:12px;
  padding:16px 18px;
}
.ticket .ticket-label{
  margin:0 0 10px;
  font-weight:500;
  color:#14183a;
}
.ticket-text{
  margin:0;
  font-size:.88rem;
  line-height:1.55;
  color:#14183a;
  overflow-wrap:anywhere;
}

/* Checks table */
.table-scroll{overflow-x:auto;margin:16px 0 0;-webkit-overflow-scrolling:touch}
.checks-table{
  width:100%;
  border-collapse:collapse;
  font-size:.95rem;
  color:#14183a;
}
.checks-table th{
  text-align:left;
  font-family:"Bricolage Grotesque",sans-serif;
  font-weight:800;
  letter-spacing:-.01em;
  padding:0 16px 10px 0;
  border-bottom:2px solid #14183a;
  vertical-align:bottom;
}
.checks-table td{
  padding:12px 16px 12px 0;
  border-bottom:1px solid #e3e1db;
  vertical-align:top;
}
.checks-table td:last-child{overflow-wrap:break-word}
.checks-table th:last-child,
.checks-table td:last-child{padding-right:0}
.checks-table td:first-child{font-weight:500;white-space:nowrap}
.checks-table td:nth-child(2){white-space:nowrap;width:6.5rem}

@media (max-width:859px){
  .summary-head img{width:128px;height:128px;flex-basis:128px}
}
@media (max-width:820px){
  .pv-hero{padding:24px 0 104px}
  .pv-sheet{margin-top:-80px;width:calc(100% - 16px)}
  .pv-panel{border-radius:18px;padding:22px 0 36px}
  .pv-panel .wrap{width:calc(100% - 32px)}
}
@media (max-width:600px){
  .summary{padding:18px}
  .summary-head{flex-wrap:wrap}
  .summary-head img{width:96px;height:96px;flex-basis:96px}
  .summary-list li{grid-template-columns:1fr;gap:2px}
  .checks-table td:first-child,
  .checks-table td:nth-child(2){white-space:normal;overflow-wrap:normal;hyphens:none}
}

.summary-caveat,.summary-action{margin:8px 0 0;color:#14183a;max-width:36em}
.summary-head .summary-caveat,.summary-head .summary-action{margin-top:8px}

.example-report .muted-end{margin-top:36px;padding-top:16px;border-top:1px solid #e3e1db;color:#5a5856}
.example-report h2{margin:44px 0 12px}
.example-report .summary h2{margin:0}
