/* The serial check, /serial-check, and its small box for pick and variety pages (partials/serial_check_box.php).
   17 Nov 2026 (FT1, PR1). Every class starts .sck-. Colours are the site's own variables; the few literal tints
   (the green, amber and red of an answer) are turned dark by tools/build_dark_css.php. */

.sck-head { margin: .4rem 0 1.2rem; max-width: 46rem; }
.sck-kicker { font-size: .8rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.sck-head h1 { color: var(--navy); font-size: clamp(1.6rem, 3.2vw, 2.1rem); font-weight: 800; letter-spacing: -.02em; margin: .25rem 0 .45rem; }
.sck-head p { color: var(--muted); font-size: 1.02rem; }

.sck-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 1.4rem; align-items: start; margin-bottom: 2rem; }
.sck-main { display: flex; flex-direction: column; gap: 1.2rem; min-width: 0; }
.sck-side { display: flex; flex-direction: column; gap: 1.2rem; min-width: 0; }
.sck-card { background: var(--card); border-radius: 16px; box-shadow: var(--shadow); padding: 1.3rem 1.4rem; min-width: 0; }
.sck-side h2, .sck-table-card h2 { font-size: 1.02rem; color: var(--navy); font-weight: 800; margin-bottom: .55rem; }
.sck-side p { font-size: .93rem; }
.sck-side p + p { margin-top: .55rem; }
.sck-muted { color: var(--muted); }
.sck-tips { padding-left: 1.1rem; font-size: .93rem; display: grid; gap: .3rem; }

/* what is free, what is Pro */
.sck-what { display: grid; gap: .45rem; margin-bottom: 1.1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.sck-what p { display: flex; gap: .65rem; align-items: baseline; font-size: .95rem; }
.sck-tagcol { flex: none; width: 3.4rem; text-align: center; }
.sck-tag-free { display: inline-block; background: #e5f3eb; color: var(--green); font-size: .74rem; font-weight: 800; letter-spacing: .08em; padding: .12rem .5rem; border-radius: 5px; text-transform: uppercase; }
.sck-tag-pro { display: inline-block; background: linear-gradient(120deg, #c99a2e, #e7c465); color: #2b2205; font-size: .74rem; font-weight: 800; letter-spacing: .08em; padding: .12rem .5rem; border-radius: 5px; text-transform: uppercase; }

/* the three steps */
.sck-step { margin-top: .2rem; }
.sck-step + .sck-step, .sck-done + .sck-step, .sck-done + .sck-done { margin-top: 1rem; }
.sck-label { display: flex; align-items: center; gap: .5rem; font-weight: 700; color: var(--navy); font-size: 1rem; margin-bottom: .45rem; }
.sck-stepno { flex: none; display: inline-grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--accent-soft); color: var(--accent-strong); font-size: .85rem; font-weight: 800; }
.sck-step-hint { margin: -.2rem 0 .7rem; }
.sck-row { display: flex; gap: .6rem; flex-wrap: wrap; align-items: stretch; }
.sck-row select, .sck-in {
  flex: 1 1 240px; min-width: 0; min-height: 48px; font: inherit; font-size: 1rem; color: var(--ink); background: var(--card);
  border: 1.5px solid #c9d4e5; border-radius: 10px; padding: .55rem .8rem;
}
.sck-in { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 1.25rem; letter-spacing: .04em; min-height: 54px; }
.sck-in[aria-invalid="true"] { border-color: var(--danger); }
.sck-row select:focus-visible, .sck-in:focus-visible { outline: 3px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.sck-row .btn { min-height: 48px; padding-inline: 1.3rem; display: inline-flex; align-items: center; justify-content: center; }
.sck-done { display: flex; align-items: center; gap: .65rem; flex-wrap: wrap; padding: .55rem .7rem; border-radius: 12px; background: var(--thead); font-size: .95rem; }
.sck-done > span:not(.sck-stepno):not(.sck-done-img) { flex: 1 1 12rem; min-width: 0; }
.sck-done-k { color: var(--muted); margin-right: .25rem; }
.sck-done b { color: var(--navy); }
.sck-done a { font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; padding: 0 .3rem; }
.sck-done-img { flex: none; width: 84px; height: 44px; display: grid; place-items: center; }
.sck-done-img img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 3px; }

/* step 2: the notes of a territory */
.sck-group { font-size: .84rem; font-weight: 700; letter-spacing: .04em; color: var(--muted); margin: 1rem 0 .5rem; }
.sck-notes { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .7rem; }
.sck-note { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: var(--ink); background: var(--card);
  border: 1px solid var(--line); border-radius: 12px; overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.sck-note:hover { border-color: var(--accent); box-shadow: var(--shadow-hover); }
.sck-note:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.sck-note-img { display: flex; align-items: center; justify-content: center; height: 92px; background: var(--thead); padding: .4rem; }
.sck-note-img img { max-width: 100%; max-height: 80px; width: auto; height: auto; object-fit: contain; }
.sck-note-img .sck-noimg { max-height: 80px; width: auto; }
.sck-note-body { display: flex; flex-direction: column; gap: .05rem; padding: .45rem .6rem .55rem; font-size: .88rem; }
.sck-note-body b { color: var(--navy); font-size: .95rem; }
.sck-note-body span { color: var(--muted); font-variant-numeric: tabular-nums; }
.sck-note-body .sck-note-pick { color: var(--accent); font-weight: 700; }
.sck-noimg { width: 100%; height: auto; }

/* the answer */
.sck-result:focus { outline: none; }
.sck-res { background: var(--card); border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; }
.sck-res-top { display: flex; gap: .8rem; align-items: center; padding: 1rem 1.4rem; border-bottom: 1px solid var(--line); }
.sck-res-top svg { width: 30px; height: 30px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sck-res-top h2 { font-size: 1.15rem; color: var(--navy); font-weight: 800; }
.sck-res-top p { color: var(--muted); font-size: .92rem; overflow-wrap: anywhere; }
.sck-yours { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: var(--ink); font-weight: 700; }
.sck-res--on .sck-res-top { background: #eef8f2; color: var(--green); }
.sck-res--new .sck-res-top { background: var(--amber-bg); color: var(--amber-ink); }
.sck-res--bad .sck-res-top { background: #fbefec; color: #b23b26; }
.sck-res-body { padding: 1.2rem 1.4rem 1.4rem; display: grid; gap: 1.1rem; }
.sck-record { font-size: 1.02rem; }
.sck-record b, .sck-why b { color: var(--navy); }
.sck-why { font-size: .98rem; }
.sck-maybe { font-size: .93rem; color: var(--muted); }

.sck-vc { display: grid; grid-template-columns: minmax(0, 240px) minmax(0, 1fr); gap: 1.3rem; align-items: start; }
.sck-vc figure { margin: 0; }
.sck-vc figure img { width: 100%; height: auto; border-radius: 8px; box-shadow: 0 2px 10px rgba(30,47,77,.12); }
.sck-vc figcaption { font-size: .84rem; color: var(--muted); margin-top: .45rem; }
.sck-k { font-size: .76rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.sck-vc h3 { font-size: 1.25rem; color: var(--navy); margin: .15rem 0 .65rem; }
.sck-vc h3 a { display: inline-flex; align-items: center; min-height: 44px; }
.sck-vc h3 span { font-weight: 600; color: var(--muted); font-size: 1rem; }
.sck-vc dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: .35rem 1rem; font-size: .95rem; }
.sck-vc dt { color: var(--muted); }
.sck-vc dd { font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.sck-rar { margin-top: .7rem; font-size: .93rem; color: var(--ink); display: flex; gap: .45rem; align-items: baseline; }
.sck-rar-mark { font-weight: 800; color: var(--navy); }
.sck-how { margin-top: .7rem; font-size: .88rem; color: var(--muted); display: flex; gap: .5rem; align-items: baseline; }
.sck-how .sck-tag-free { flex: none; }
.sck-go { margin-top: .8rem; }
.sck-go .btn { min-height: 44px; display: inline-flex; align-items: center; gap: .35rem; }

.sck-minis { list-style: none; display: grid; gap: .55rem; }
.sck-mini { display: flex; gap: .8rem; align-items: flex-start; border: 1px solid var(--line); border-radius: 12px; padding: .6rem .7rem; }
.sck-mini-img { flex: none; width: 96px; height: 52px; display: grid; place-items: center; }
.sck-mini-img img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 3px; }
.sck-mini-body { display: flex; flex-direction: column; gap: .1rem; min-width: 0; font-size: .9rem; }
.sck-mini-h { font-weight: 800; font-size: 1rem; min-height: 44px; display: inline-flex; align-items: center; }
.sck-mini-meta { color: var(--ink); }
.sck-mini-rem { color: var(--muted); overflow-wrap: anywhere; }

/* Pro: the record itself */
.sck-pro { border-top: 1px solid var(--line); padding-top: 1rem; }
.sck-pro h3 { font-size: 1.02rem; color: var(--navy); margin-bottom: .55rem; display: flex; align-items: center; gap: .5rem; }
.sck-chain { list-style: none; display: grid; gap: .4rem; font-size: .93rem; }
.sck-chain li { padding: .45rem .6rem; background: var(--thead); border-radius: 8px; overflow-wrap: anywhere; }
.sck-pro-links { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; margin-top: .7rem; font-weight: 600; }
.sck-pro-links a { min-height: 44px; display: inline-flex; align-items: center; }

/* not on record: tell us */
.sck-tell { border: 1px solid var(--line); border-radius: 14px; padding: 1rem 1.15rem 1.1rem; background: var(--thead); }
.sck-tell h3 { color: var(--navy); font-size: 1.05rem; margin-bottom: .3rem; }
.sck-tell p + p { margin-top: .45rem; }
.sck-tell-acts { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: .75rem !important; }
.sck-tell-acts .btn { min-height: 44px; display: inline-flex; align-items: center; }

/* what the catalogue records for the note */
.sck-table { width: 100%; border-collapse: collapse; font-size: .92rem; margin-top: .7rem; }
.sck-table th { text-align: left; font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: var(--thead); padding: .5rem .6rem; }
.sck-table td { padding: .55rem .6rem; border-top: 1px solid var(--line); vertical-align: top; }
.sck-table td:first-child { white-space: nowrap; font-weight: 700; }
.sck-table tr.sck-hit td { background: var(--amber-bg); }
.sck-kind { font-weight: 400; color: var(--muted); font-size: .84rem; }
.sck-yourtag { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--amber-ink); background: var(--card); border: 1px solid var(--amber-line); border-radius: 5px; padding: 0 .35rem; margin-left: .2rem; }
.sck-back { margin-top: .9rem; font-weight: 600; }

/* the box on a pick or variety page (partials/serial_check_box.php) */
.sck-box .sck-row { margin-top: .3rem; }
.sck-box-lead { color: var(--muted); font-size: .95rem; margin-bottom: .6rem; }
.sck-box-hint { margin-top: .5rem; }
.sck-invite { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: .9rem 1.1rem; }
.sck-invite p { flex: 1 1 16rem; font-size: .95rem; }
.sck-invite b { color: var(--navy); }
.sck-invite .btn { min-height: 44px; display: inline-flex; align-items: center; }

/* reworked 17 Nov 2026 (docs/notes-2026-11-17/lookups.md): the free-account box in place of the number box, the
   "Did you mean ...?" buttons, another note of the territory offered, and the line on specimens under the heading */
.sck-head .sck-head-small { font-size: .93rem; margin-top: .45rem; }
.sck-lock { border: 1px solid var(--line); border-radius: 14px; padding: 1rem 1.15rem 1.1rem; background: var(--thead); }
.sck-lock .sck-label { margin-bottom: .55rem; }
.sck-lock p + p { margin-top: .5rem; }
.sck-lock b { color: var(--navy); }
.sck-retries { display: flex; flex-wrap: wrap; gap: .5rem; }
.sck-retry { display: inline-flex; margin: 0; }
.sck-retry-btn { min-height: 44px; display: inline-flex; align-items: center; gap: .4rem; text-align: left; white-space: normal; }
.sck-offer { border: 1px solid var(--amber-line); background: var(--amber-bg); border-radius: 12px; padding: .8rem 1rem; display: grid; gap: .6rem; }
.sck-offer b { color: var(--navy); }
.sck-box-acts { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; }
.sck-box-acts .btn, .sck-box-acts a { min-height: 44px; display: inline-flex; align-items: center; }

@media (max-width: 960px) { .sck-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) {
  .sck-card { padding: 1.05rem 1rem; }
  .sck-res-top, .sck-res-body { padding-left: 1rem; padding-right: 1rem; }
  .sck-vc { grid-template-columns: minmax(0, 1fr); }
  .sck-vc dl { grid-template-columns: minmax(0, 1fr); gap: .1rem; }
  .sck-vc dd { margin-bottom: .4rem; }
  .sck-row .btn { flex: 1 1 100%; }
  .sck-notes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; }
  .sck-table thead { display: none; }
  .sck-table, .sck-table tbody, .sck-table tr, .sck-table td { display: block; }
  .sck-table tr { border: 1px solid var(--line); border-radius: 12px; padding: .6rem .75rem; margin-top: .55rem; }
  .sck-table td { border: 0; padding: .15rem 0; white-space: normal !important; }
  .sck-table td::before { content: attr(data-h); display: block; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
  .sck-table td:first-child::before { display: none; }
  .sck-table td:first-child a { display: inline-flex; align-items: center; min-height: 44px; }
  .sck-table tr.sck-hit { background: var(--amber-bg); }
  .sck-table tr.sck-hit td { background: transparent; }
}

/* examples of how to type a number of this note, under the entry field: made-up numbers in the note's own form */
.sck-examples { margin: .55rem 0 .15rem; font-size: .93rem; color: var(--ink); }
.sck-ex { display: inline-block; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .92em; font-weight: 600; white-space: nowrap;
  background: var(--thead); color: var(--navy); border: 1px solid var(--line); border-radius: 6px; padding: .05rem .4rem; }
.sck-examples-note { color: var(--muted); font-size: .88rem; white-space: nowrap; }
