/* coverage-check — the sqx.com coverage check. The site's own tokens, form
   and table rules (/site.css) carry the look; this file lays the page out:
   one centred column for the form, the results at the page's full measure. */
.ccx {
  max-width: var(--max, 1360px);
  margin: 0 auto;
  padding: 48px var(--gutter, 40px) 72px;
}
.ccx-head, .ccx-form { max-width: var(--read, 640px); margin-left: auto; margin-right: auto; }
.ccx-lede { color: var(--sqx-body); font-size: var(--fs-lead); }

.ccx-form { margin-top: 28px; }
.ccx-form textarea { max-width: none; min-height: 180px; font-family: var(--mono); font-size: var(--fs-ui); resize: vertical; }
.ccx-form input[type="file"] { max-width: none; min-height: 0; padding: 10px 0; border: 0; }
.ccx-form input[type="file"]:focus { box-shadow: none; }
.ccx-hint, .ccx-privacy { margin: 4px 0 0; color: var(--sqx-grey); font-size: var(--fs-small); }
.ccx-send { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 0 18px; margin-top: 8px; }
.ccx-email { flex: 1 1 260px; }
.ccx-email input { max-width: none; }
.ccx-send button { flex: 0 0 auto; }
.ccx-privacy { margin-top: 18px; }
.ccx-error { margin: 16px 0 0; color: #A4262C; font-weight: var(--fw-medium); }
/* the honeypot: off screen for people, still in the form for bots */
.ccx-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.ccx-results { margin-top: 64px; }
.ccx-headline { font-size: var(--fs-lead); color: var(--sqx-ink); }
.ccx-counts { display: flex; flex-wrap: wrap; gap: 16px 40px; margin: 18px 0 0; }
.ccx-counts div { display: flex; flex-direction: column; gap: 2px; }
.ccx-counts div, .ccx-counts dt, .ccx-counts dd { margin: 0; }
.ccx-counts dt {
  font-size: 12px;
  font-weight: var(--fw-bold);
  letter-spacing: var(--tracking-caps, 0.08em);
  text-transform: uppercase;
  color: var(--sqx-grey);
}
.ccx-counts dd { color: var(--sqx-ink); font-size: var(--fs-h4); font-weight: var(--fw-medium); font-variant-numeric: tabular-nums; }
.ccx-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 8px; }
.ccx-actions button.site-btn { background: none; font-family: var(--font-sans); cursor: pointer; }

.ccx-table-wrap { margin-top: 16px; }
.ccx-table { width: 100%; border-collapse: collapse; font-size: var(--fs-ui); }
.ccx-table :is(th, td) { padding: 10px 12px 10px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--sqx-line-soft); }
.ccx-table .ccx-id { font-family: var(--mono); font-size: 0.92em; white-space: nowrap; }
.ccx-table .ccx-status { white-space: nowrap; font-weight: var(--fw-medium); }
.ccx-covered .ccx-status { color: #1B6B3A; }
.ccx-not_covered .ccx-status { color: var(--sqx-ink); }
.ccx-invalid .ccx-status { color: #A4262C; }
.ccx-more { margin-top: 20px; }
.ccx-more button.site-btn { background: none; font-family: var(--font-sans); cursor: pointer; }
.ccx-noscript { max-width: var(--read, 640px); margin: 0 auto 48px; padding: 0 var(--gutter, 40px); }

/* A phone has no room for five columns: each row becomes a short block, its
   columns named by the header's words. */
@media (max-width: 760px) {
  .ccx { padding-top: 32px; }
  .ccx-send button { width: 100%; }
  .ccx-table thead { position: absolute; left: -10000px; }
  .ccx-table, .ccx-table tbody, .ccx-table tr, .ccx-table td { display: block; }
  .ccx-table tr { padding: 12px 0; border-bottom: 1px solid var(--sqx-line-soft); }
  .ccx-table td { padding: 2px 0; border: 0; }
  .ccx-table td:empty { display: none; }
  .ccx-table td::before {
    display: inline-block;
    min-width: 9.5em;
    color: var(--sqx-grey);
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: var(--fw-bold);
    letter-spacing: var(--tracking-caps, 0.08em);
    text-transform: uppercase;
  }
  .ccx-table td:nth-child(1)::before { content: "Entered"; }
  .ccx-table td:nth-child(2)::before { content: "Identifier"; }
  .ccx-table td:nth-child(3)::before { content: "Coverage"; }
  .ccx-table td:nth-child(4)::before { content: "Products"; }
  .ccx-table td:nth-child(5)::before { content: "Note"; }
}
