/* Best AI Chart — extra styles for the "A vs B" comparison pages (loaded after styles.css).
   Tokens only: no gradients, no shadows, no glows. Hairlines instead of boxes. 4px grid. */

.compare-page h1 { overflow-wrap: anywhere; }
.compare-page h2 { margin-top: 48px; }

/* short answer: open block between two hairlines, like the tiles on a model page */
.short-answer { margin-top: 32px; padding: 24px 0; border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line); max-width: 72ch; }
.compare-page .short-answer h2 { margin: 0 0 12px; font-size: 22px; }
.short-answer p { font-size: 17px; line-height: 1.5; color: var(--ink-2); margin-top: 8px; }
.short-answer p:first-of-type { margin-top: 0; }
.picks { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.short-answer .pick { font-size: 16px; color: var(--ink); }
.short-answer .pick b { font-weight: 600; }

/* side-by-side table */
.cmp-table { min-width: 440px; }
.cmp-table th[scope="row"] { font-weight: 400; color: var(--ink-2); font-size: 14px; min-width: 144px; }
.cmp-table thead th:not(:first-child) { color: var(--ink); font-weight: 500; font-size: 14px; }
.cmp-table td { font-family: var(--mono); font-size: 14px; font-variant-numeric: tabular-nums; }
.cmp-jobs td { font-family: var(--font); font-size: 15px; }
.cmp-table td.win { font-weight: 600; color: var(--ink); }
.cmp-table td.win::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 2px; background: var(--c-value); vertical-align: 1px; }

/* picker */
.cmp-picker { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; align-items: end; margin-top: 32px; padding: 24px 0; border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line); }
.cmp-field { display: grid; gap: 4px; min-width: 0; font-size: 14px; color: var(--ink-2); }
.cmp-field select { width: 100%; min-width: 0; text-overflow: ellipsis; }
.cmp-vs { font: 500 13px/1 var(--mono); color: var(--muted); text-align: center; }
.cmp-picker .btn { width: 100%; }
@media (min-width: 860px) {
  .cmp-picker { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto; gap: 16px; }
  .cmp-vs { padding-bottom: 14px; }
  .cmp-picker .btn { width: auto; }
}

/* link lists */
.cmp-more { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; margin-top: 40px; }
@media (min-width: 720px) { .cmp-more { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; } }
.cmp-more h3 { font-size: 16px; font-weight: 500; margin-bottom: 8px; }
.cmp-links { list-style: none; margin: 0; padding: 0; }
.cmp-links li { border-top: 1px solid var(--line); }
.cmp-links a { display: block; padding: 8px 0; font-size: 15px; text-decoration: none; overflow-wrap: anywhere; }
.cmp-links a:hover { text-decoration: underline; }
.cmp-groups { display: grid; gap: 32px 40px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.cmp-group { min-width: 0; }
.cmp-group h3 { font-size: 17px; font-weight: 600; padding-bottom: 8px; border-bottom: 1px solid var(--line-strong); overflow-wrap: anywhere; }
.compare-page .actions { margin-top: 32px; }
