/* Sequences: the sample case's pages (/samples/case, /samples/plan and /samples/suggestions), after style.css,
   samples.css and claims.css. The claims, features, plan, references and summaries are drawn with the case screens'
   own classes from claims.css; this file adds the row of the three pages, the sections they sit in, the searches'
   cards and the list of suggestions. It uses only the colors and sizes style.css defines. Every link a finger presses
   outside a sentence is at least 44 px tall. */

.sample-case { gap: 20px; }

/* The row of the three pages: a link to each, the one shown in navy with a line under it. */
.sample-case-nav ul { display: flex; flex-wrap: wrap; gap: 4px 8px; margin: 0; padding: 0; list-style: none; }
.sample-case-nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 1px solid var(--line);
  border-radius: 999px; background: var(--card); color: var(--brand-link); font-weight: 500; text-decoration: none;
}
.sample-case-nav a:hover { border-color: var(--line-2); text-decoration: underline; }
.sample-case-nav a[aria-current="page"] { border-color: var(--brand-ink); background: var(--brand-ink); color: var(--card); }

/* A section of a page: a card with its heading, its facts and the case screens' blocks. */
.sample-case-section { display: grid; gap: 16px; min-width: 0; padding: 18px; }
@media (min-width: 768px) {
  .sample-case-section { padding: 24px; }
}
.sample-case-about { max-width: 86ch; font-size: 14.5px; line-height: 1.55; color: var(--ink); overflow-wrap: anywhere; }
.sample-case-title { display: block; color: var(--ink); overflow-wrap: anywhere; }
.sample-case-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.sample-case-actions .btn { min-height: 44px; }
.sample-case-log summary { width: auto; }
.sample-case-events { display: grid; gap: 6px; margin: 0; padding-left: 0; list-style: none; font-size: 13.5px; line-height: 1.5; color: var(--ink); overflow-wrap: anywhere; }
.sample-case-events .mono { margin-right: 6px; color: var(--ink-2); }
.sample-case-summaries .summary-seqids { margin-top: -4px; }

/* A search of the run: its facts, its first patents as the sample results list them, and its summary. */
.sample-case-searches { display: grid; gap: 16px; min-width: 0; }
.sample-case-search { display: grid; gap: 12px; min-width: 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.sample-case-refs .refs-name { display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; overflow-wrap: anywhere; }
/* A reference's title shows under its number at every width, in as many lines as it needs. The app's lists cut it
   to one line (style.css, .row-sub) and show it whole in the review pane, which this read-only page does not have. */
.sample-case-refs .row-sub { display: block; font-size: 13px; line-height: 1.4; color: var(--ink-2); white-space: normal; overflow-wrap: anywhere; }
.sample-case-refs .refs-table td { vertical-align: top; }

/* The model's suggestions, each kept or dropped with the check that dropped it. */
.sample-suggestions { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.sample-suggestion { display: grid; gap: 4px; min-width: 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-s); background: var(--card); }
.sample-suggestion[data-outcome="kept"] { border-color: var(--line-2); background: var(--well); }
.sample-suggestion, .sample-case-summaries .summary-pilot { scroll-margin-top: 16px; }
/* A suggestion's checks, in the order the service runs them, each led by its result: Passed in green, Failed in red.
   The word says it; the color only helps the eye. */
.sample-checks { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; font-size: 13px; line-height: 1.5; color: var(--ink); overflow-wrap: anywhere; }
.sample-check-result { margin-right: 4px; font-weight: 600; color: var(--ok); }
.sample-checks li[data-result="failed"] .sample-check-result { color: var(--bad); }
