/* Bracket Check pages. Uses the design tokens from site.css. */
.checker-form { max-width: 46rem; }
.field { margin: 0 0 1.25rem; }
.field label { display: block; font-weight: 600; margin-bottom: .25rem; }
.hint { color: var(--muted); font-size: .88rem; margin: 0 0 .5rem; }
.checker-form textarea, .checker-form input[type=text], .checker-form input[type=url] {
  width: 100%; padding: .7rem .8rem; border: 1.5px solid var(--line); border-radius: 10px;
  background: var(--surface); color: var(--text); font: 400 .95rem/1.5 var(--font-body);
}
.checker-form textarea { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .88rem; min-height: 14rem; resize: vertical; }
.or { text-align: center; color: var(--muted); margin: 0 0 1rem; max-width: 46rem; }
.notice--error { background: var(--accent-soft); border: 1px solid var(--accent); color: var(--text); margin-bottom: 1.25rem; }
.notice--warn { background: var(--surface-2); border-left: 3px solid var(--accent); border-radius: 0 10px 10px 0; margin: 0 0 .75rem; }
.notice--disclaimer { background: var(--surface-2); margin-bottom: 1rem; }
.checker-notes, .result-foot { margin-top: 2rem; }
.fine { font-size: .85rem; color: var(--muted); }
.badge-row { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); margin: 1rem 0; }
.badge { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: .9rem 1rem; box-shadow: var(--shadow); }
.badge__label { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.badge__value { display: block; font: 600 clamp(1.5rem, 5vw, 2.2rem)/1.2 var(--font-display); }
.badge--floor { border-color: var(--accent); }
.evidence, .plans, .combos, .cardlist { padding-left: 0; list-style: none; }
.evidence__item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.1rem; margin-bottom: .75rem; }
.evidence__item h3 { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-bottom: .35rem; }
.cardlist { display: flex; flex-wrap: wrap; gap: .35rem .5rem; margin: .5rem 0 0; }
.cardlist li { background: var(--surface-2); border-radius: 999px; padding: .1rem .7rem; font-size: .9rem; }
.tag { font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.plans li { background: var(--accent-soft); border-radius: 10px; padding: .6rem .9rem; margin-bottom: .5rem; }
.combos li { padding: .6rem 0; border-bottom: 1px solid var(--line); }
.facts { display: grid; gap: .5rem 1.5rem; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); margin: 0; }
.facts div { border-bottom: 1px solid var(--line); padding-bottom: .4rem; }
.facts dt { font-size: .8rem; color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.stats-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); align-items: start; }
.histogram { margin: 0; }
.histogram svg { width: 100%; height: auto; max-height: 14rem; }
.histogram .bar { fill: var(--accent); }
.histogram text { fill: var(--text); font: 600 9px var(--font-body); }
.histogram .bar-l { fill: var(--muted); font-weight: 400; }
.histogram figcaption { font-size: .85rem; color: var(--muted); text-align: center; }
.cuts { margin-top: 1rem; }
.callout { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; background: var(--accent-soft); border: 1px solid var(--accent); border-radius: var(--radius); padding: 1.1rem 1.3rem; margin: 0 0 2rem; }
.callout h2 { font-size: 1.25rem; margin: 0 0 .15rem; }
.callout p { margin: 0; color: var(--muted); }
.share { margin-top: 2rem; }
.share__row { display: flex; flex-wrap: wrap; gap: .5rem; }
.share__row input { flex: 1 1 16rem; min-width: 0; font: inherit; padding: .5rem .7rem; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--text); }
.share__embed textarea { width: 100%; font: .85rem/1.4 ui-monospace, monospace; padding: .5rem .7rem; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--text); margin-bottom: .5rem; }
.card-body { margin: 0; padding: .75rem; }
.rcard { max-width: 26rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: .8rem 1rem; }
.rcard__deck { font-weight: 600; margin: 0; }
.rcard .badge-row { margin: .5rem 0; }
.rcard .fine { margin: 0; }
