/* Neuropsych traits profile (NEU-616): the autism traits check's profile in
   the founder's treatment V2 "Report preview", a sibling of the ADHD check's.
   The frame (paper sheet on desktop, ruled running head, result line,
   limits, the chart box, the tail) is the dyscalculia check's V2 markup from
   NEU-489, styled in /shared/neuropsych-dyscheck.css (dc-v2, dc-chart ...).
   This file adds only the total block, the six rows (a dot on a 7 to 35
   track with three zones, the band as plain text), the save actions, the
   attribution under each statement, and the questions-only start trail.
   Tokens come from the check page. Light only, as the site. No chips, no
   pills: bands are plain text. */
/* The check pages carry no :root of their own: the two short names
   neuropsych-dyscheck.css uses come from the theme's font tokens here. */
body.tp-check{--head:var(--font-display);--mono:var(--font-data)}
.tp{--z1:rgba(14,116,144,.2);--z2:var(--chart-z2,#e1e5eb);--z3:var(--chart-z1,#cdd3dc);--rule:rgba(17,24,39,.12)}

/* the total: a count line and a 42 to 210 track with the reference line */
.tp-total{border:1px solid var(--rule);border-radius:10px;padding:10px 12px 12px;background:var(--surface,#fff)}
.tp-total-h{display:flex;justify-content:space-between;align-items:baseline;gap:8px}
.tp .tp-total-h h2{font:700 13.5px/1.2 var(--head);color:var(--text);margin:0}
.tp-total-h span{font:500 10.5px var(--mono);color:var(--text3);white-space:nowrap}
.tp .tp-count{font-size:13px;line-height:1.4;color:var(--text2);margin:8px 0 10px}
.tp-num{font:600 24px/1 var(--mono);letter-spacing:-.02em;color:var(--text);margin-right:2px}
.tp-ttrack{position:relative;height:12px;border-radius:999px;background:var(--z2);margin:0 6px}
.tp-tnear{position:absolute;top:0;bottom:0;background:repeating-linear-gradient(135deg,rgba(17,24,39,.16) 0 2px,transparent 2px 5px)}
.tp-tline{position:absolute;top:-5px;bottom:-5px;width:2px;margin-left:-1px;background:var(--text)}
.tp-dot{position:absolute;top:50%;width:16px;height:16px;margin:-8px 0 0 -8px;border-radius:50%;background:var(--accent,#0f4c5c);box-shadow:0 0 0 3px #fff,0 1px 3px rgba(17,24,39,.35)}
.tp-tscale{position:relative;display:flex;justify-content:space-between;font:500 10.5px/1.2 var(--mono);color:var(--text3);margin:8px 0 0;height:14px}
.tp-tscale .tp-tlab{position:absolute;top:0;transform:translateX(-50%);color:var(--text)}
.tp .tp-words{font-size:12.5px;line-height:1.45;color:var(--text2);margin-top:10px}
.tp .tp-near{font-size:12.5px;line-height:1.45;color:var(--text);margin-top:6px;padding-left:10px;border-left:2px solid var(--text3)}

/* the six rows in three areas (inside the dc-chart box) */
.tp-chart figcaption span{font:500 10.5px var(--mono);color:var(--text3);white-space:nowrap}
.tp .tp-legend{display:flex;flex-wrap:wrap;gap:4px 14px;font:500 11px/1.3 var(--sans);color:var(--text3);margin:0 0 4px}
.tp-legend span{display:inline-flex;align-items:center;gap:5px}
.tp-sw{display:inline-block;width:14px;height:8px}
.tp-sw1{background:var(--z1)}.tp-sw2{background:var(--z2)}.tp-sw3{background:var(--z3)}
.tp-area h3{font:600 11px/1.2 var(--sans);letter-spacing:.1em;text-transform:uppercase;color:var(--text3);margin:12px 0 0}
.tp-area ul{list-style:none;margin:0;padding:0}
.tp-row{padding:9px 0 8px;border-top:1px solid var(--border)}
.tp-area h3{padding-bottom:6px}
.tp-rh{display:flex;justify-content:space-between;align-items:baseline;gap:10px}
.tp-rh b{font:700 13.5px/1.25 var(--head);color:var(--text)}
.tp-n{font:500 12.5px var(--mono);color:var(--text);white-space:nowrap}
.tp-track{position:relative;height:10px;margin:8px 6px 6px;border-radius:999px;background:var(--z1)}
.tp-track.is-empty{background:repeating-linear-gradient(90deg,var(--z2) 0 6px,transparent 6px 10px)}
.tp-z{position:absolute;top:0;bottom:0}
.tp-z1{left:0;background:var(--z1);border-radius:999px 0 0 999px}
.tp-z2{background:var(--z2)}
.tp-z3{background:var(--z3);border-radius:0 999px 999px 0}
.tp-track .tp-dot{width:14px;height:14px;margin:-7px 0 0 -7px}
.tp-row[data-band="like"] .tp-track .tp-dot{background:var(--teal)}
.tp .tp-band{font:600 12.5px/1.35 var(--sans);color:var(--text)}
.tp-row[data-band="like"] .tp-band{font-weight:500;color:var(--text2)}
.tp-row[data-band="unread"] .tp-band{font-weight:500;color:var(--text3)}
.tp-vh{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.tp .tp-est{font-size:11.5px;line-height:1.35;color:var(--text3);margin-top:2px}
.tp .tp-gloss{font-size:11.5px;line-height:1.4;color:var(--text2);margin-top:2px}

/* the actions: save (opt-in), take it again, delete from this device */
.tp-acts .dc-btn-secondary{width:100%}
.tp-acts .dc-btn-secondary[disabled]{opacity:.7;cursor:default}
.tp-save{display:flex;flex-direction:column;gap:4px}
.dc-v2 .tp-acts .tp-consent,.dc-v2 .tp-acts .tp-err{margin:0;text-align:left}
.tp-acts .tp-err{color:var(--red,#dc2626)}
.dc-v2 .tp-acts .tp-saved{margin:0;font-weight:500;color:var(--text)}
.tp-foot a{color:inherit;text-decoration:underline;text-underline-offset:2px}
.tp-deleted p a{display:inline-flex;align-items:center;min-height:44px}

/* the questions: the attribution under every statement, and the prompt line
   keeps its height on statements without one (no jump between screens) */
.tp-qattr{font-size:10.5px;line-height:1.45;text-align:left;margin:14px 0 0}
.tp-qattr a{color:inherit;text-decoration:underline;text-underline-offset:2px}
.tp-check .dc-q-prompt:empty{min-height:20px}
.tp-check .dc-qintro .dc-intro-t{padding-top:22px}
.tp-check .dc-qintro .dc-say{font-size:15px;line-height:1.55;color:var(--text)}

/* the start trail with no task stops: the guide, the dotted way, the profile */
.tp-check .dc-trow{grid-template-columns:30px 1fr 36px}
.tp-check .dc-st-end{grid-column:3}

@media(min-width:760px){
  .tp-total{padding:16px 20px 14px}
  .tp .tp-total-h h2{font-size:16px}
  .tp-total-h span,.tp-chart figcaption span{font-size:12px}
  .tp .tp-count{font-size:15px}
  .tp-num{font-size:32px}
  .tp-ttrack{height:14px}
  .tp .tp-words,.tp .tp-near{font-size:14px}
  .tp .tp-legend{font-size:12px}
  .tp-area h3{font-size:12px;margin-top:16px}
  /* one chart: name and band, the track, the score, row under row */
  .tp-row{display:grid;grid-template-columns:200px minmax(0,1fr) 84px;column-gap:24px;align-items:center;padding:12px 0 10px}
  .tp-rh{display:contents}
  .tp-rh b{grid-column:1;grid-row:1;font-size:15px}
  .tp-n{grid-column:3;grid-row:1/3;text-align:right;font-size:13.5px}
  .tp-track{grid-column:2;grid-row:1/3;margin:0 7px;height:12px}
  .tp .tp-band{grid-column:1;grid-row:2;font-size:13px}
  .tp .tp-est,.tp .tp-gloss{grid-column:1/-1;font-size:12.5px}
  .tp .tp-est{margin-top:6px}
  .tp-acts .dc-btn-secondary{width:auto}
  .dc-v2 .tp-acts{grid-template-columns:1fr 1fr;align-items:start}
  .dc-v2 .tp-acts .tp-save,.dc-v2 .tp-acts #dcReview{grid-column:1/-1}
}
