/* Parity viewer (/tracker-parity). Uses tokens from site.css and verdicts from lab.css. */
.sketch-note { margin-top: 18px; padding: 10px 14px; border-radius: 8px; background: var(--warn-bg, #F6ECD9); color: var(--warn, #8A5A12); font-size: 0.92rem; }
.tp-pick { display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 8px 0 28px; }
.tp-group { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.tp-group > span { font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--slate); margin-right: 4px; }
.tp-tab { font: inherit; font-size: 0.92rem; padding: 7px 13px; border-radius: 999px; border: 1px solid #A9AEB8; background: #fff; color: var(--ink); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.tp-tab:hover { border-color: var(--ink); }
.tp-tab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.tp-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex: none; }
.tp-dot.approved { background: #C08A2E; }
.tp-case { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.tp-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 20px; align-items: flex-start; }
.tp-head h2 { margin: 0; font-size: 1.45rem; }
.tp-id { font-family: var(--mono); color: var(--slate); font-size: 0.9rem; }
.tp-what { margin: 10px 0 0; color: var(--slate); }
.tp-finding { margin: 18px 0 0; padding: 14px 16px; background: #EEF5F2; border-radius: 8px; }
.tp-finding.approved { background: var(--warn-bg); }
.tp-approved { margin: 10px 0 0; padding-left: 1.2em; }
.tp-approved code { font-family: var(--mono); font-size: 0.85rem; font-weight: 600; }
.tp-h { margin: 30px 0 10px; font-size: 1.05rem; }
.tp-pair { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
@media (max-width: 860px) { .tp-pair { grid-template-columns: 1fr; } }
.tp-side { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; min-width: 0; background: var(--paper); }
.tp-side h4 { margin: 0 0 8px; font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--slate); }
.tp-side h4 small { text-transform: none; letter-spacing: 0; font-weight: 400; }
.tp-steps { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.tp-steps td { padding: 5px 8px 5px 0; vertical-align: top; border-top: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.tp-steps tr:first-child td { border-top: 0; }
.tp-code { font-family: var(--mono); font-size: 0.82rem; }
.tp-bad { color: #A33A2B; font-weight: 600; }
.tp-table { margin: 0 0 12px; overflow-x: auto; }
.tp-table b { display: block; font-family: var(--mono); font-size: 0.82rem; margin: 6px 0 4px; }
.tp-table table { border-collapse: collapse; font-size: 0.82rem; width: 100%; }
.tp-table td { padding: 3px 8px 3px 0; border-top: 1px solid var(--line); vertical-align: top; overflow-wrap: anywhere; }
.tp-table td:first-child { font-family: var(--mono); color: var(--slate); white-space: nowrap; }
.tp-table .old { color: var(--slate); text-decoration: line-through; }
.tp-table tr.diff td { background: #FFF3D6; }
.tp-op { font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--green); margin-left: 6px; }
.tp-mail { border: 1px solid var(--line); border-radius: 8px; background: #fff; padding: 10px 12px; margin-bottom: 10px; font-size: 0.85rem; }
.tp-mail dl { margin: 0 0 6px; display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; }
.tp-mail dt { color: var(--slate); }
.tp-mail dd { margin: 0; overflow-wrap: anywhere; }
.tp-mail pre { margin: 0; font-family: var(--mono); font-size: 0.74rem; white-space: pre-wrap; color: var(--slate); max-height: 9em; overflow: auto; }
.tp-mail.diff { border-color: #C08A2E; }
.tp-none { color: var(--slate); font-size: 0.88rem; margin: 0; }
.tp-shot { aspect-ratio: 16 / 10; border: 1px dashed #A9AEB8; border-radius: 8px; display: flex; align-items: center; justify-content: center; text-align: center; padding: 16px; color: var(--slate); font-size: 0.88rem; background: #fff; }
.tp-case table { min-width: 0; }
.tp-case th, .tp-case td { white-space: normal; }
@media (max-width: 600px) { .tp-case { padding: 18px 14px; } .tp-side { padding: 12px; } }
.tp-shot-img { margin: 0; }
.tp-shot-img img { display: block; width: 100%; height: auto; border: 1px solid #D5D9E0; border-radius: 8px; background: #fff; }
.tp-shot-img figcaption { margin-top: 8px; font-size: 0.85rem; color: var(--slate); }
