/*
 * Sample AI readiness report. Loads after the Last Table tokens and components, which bring the hero, sections, table,
 * code and copy button. This file lays out the stat strip, the fix list and the note card, and the print version that
 * the downloadable PDF is made from. Only Last Table variables.
 */

.ars-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--lt-space-4); margin: var(--lt-space-5) 0; }
.ars-actions a:not(.lt-btn) { color: var(--lt-teal); font-weight: 600; }

.ars-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  background: var(--lt-surface-2);
  border: 1px solid var(--lt-line);
  border-radius: var(--lt-radius-card);
}
.ars-stats > div { padding: var(--lt-space-4) var(--lt-space-5); border-left: 1px solid var(--lt-line); }
.ars-stats > div:first-child { border-left: 0; }
.ars-stats dt { font-family: var(--lt-font-mono); font-size: var(--lt-step--1); letter-spacing: 0.08em; text-transform: uppercase; color: var(--lt-text-2); }
.ars-stats dd { margin: var(--lt-space-1) 0 0; font-size: var(--lt-step-4); font-weight: 600; line-height: var(--lt-leading-tight); }

.ars-table .lt-table td,
.ars-table .lt-table th { white-space: normal; vertical-align: top; }
.ars-ok { display: inline-flex; align-items: center; gap: var(--lt-space-2); }
.ars-ok::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: var(--lt-success); }
.ars-note-line { margin: var(--lt-space-3) 0 0; color: var(--lt-text-2); font-size: var(--lt-step--1); max-width: var(--lt-measure); }

.ars-fixes { list-style: none; margin: 0; padding: 0; counter-reset: fix; border-top: 1px solid var(--lt-line); }
.ars-fix {
  counter-increment: fix;
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 3fr) minmax(0, 2fr);
  gap: var(--lt-space-4);
  padding: var(--lt-space-4) 0;
  border-bottom: 1px solid var(--lt-line);
}
.ars-fix::before { content: counter(fix); font-family: var(--lt-font-display); font-size: var(--lt-step-2); color: var(--lt-text-2); }
.ars-fix .lt-h3 { margin: 0 0 var(--lt-space-1); }
.ars-fix p { margin: 0; color: var(--lt-text-2); }
.ars-evidence { display: flex; flex-direction: column; gap: var(--lt-space-1); padding-left: var(--lt-space-4); border-left: 1px solid var(--lt-line); }
.ars-evidence .lt-label { margin: 0; }
.ars-evidence a { font-family: var(--lt-font-mono); font-size: var(--lt-step--1); color: var(--lt-teal); overflow-wrap: anywhere; }

.ars-card {
  margin: var(--lt-space-6) 0;
  background: var(--lt-surface-2);
  border: 1px solid var(--lt-line);
  border-radius: var(--lt-radius-card);
  padding: var(--lt-space-4) var(--lt-space-5);
}
.ars-card .lt-label { margin: 0 0 var(--lt-space-2); }
.ars-card p:last-child { margin: 0; }

@media (max-width: 720px) {
  .ars-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ars-stats > div:nth-child(3) { border-left: 0; }
  .ars-stats > div:nth-child(n + 3) { border-top: 1px solid var(--lt-line); }
  .ars-fix { grid-template-columns: 2rem minmax(0, 1fr); }
  .ars-evidence { grid-column: 2; padding-left: 0; border-left: 0; }
}

/* The PDF is this page printed: no site chrome, no buttons, and sections that do not split mid-row. */
@media print {
  header, footer, nav, .lt-copy, .lt-btn, .ars-actions { display: none !important; }
  .lt-hero { padding-top: 0; }
  .ars-fix, .ars-card, .ars-draft, .lt-table tr { break-inside: avoid; }
  h2 { break-after: avoid; }
}

/* The llms.txt draft is prose for the owner to edit, so it wraps instead of scrolling, below the copy button. */
.ars-draft { margin-bottom: var(--lt-space-6); }
.ars-draft pre { white-space: pre-wrap; overflow-wrap: anywhere; padding-top: var(--lt-space-7); }
