/* © 2026 Blixild, blixild.com */
/* The tap test page: the frame for the two points, the readings and the swing. The drop box, progress bar and status
   line are the OCR converter's (ocr-converter.css). */
.tt-frame{display:block;width:100%;height:auto;border:1px solid var(--line);background:#111;cursor:crosshair;
  touch-action:manipulation}
#tt-pickhint{margin:0 0 12px;font-size:16px}
#tt-filminfo{margin-top:10px}
.tt-controls{display:flex;align-items:flex-end;gap:16px;flex-wrap:wrap;margin-top:18px}
.tt-controls label{display:block;font-size:14px;letter-spacing:.02em;margin-bottom:6px}
.tt-controls input{width:12ch}
#tt-message:not(:empty){margin-top:14px;color:#8A3B2E}
#tt-opening:not(:empty){margin-top:14px}
.tt-run{margin-top:18px}
.tt-bar{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:8px 0 14px}
.tt-bar>div{display:flex;flex-direction:column} /* a label on two lines keeps its value level with the others */
.tt-bar .lab{display:block;font-size:14px;letter-spacing:.02em;color:var(--ink)}
.tt-bar b{display:block;font-family:var(--sans);font-weight:800;font-size:30px;letter-spacing:-.02em;color:var(--ink);
  margin-top:auto;padding-top:6px;white-space:nowrap} /* five decimals above 100 Hz keep their unit beside them */
.tt-bar b small{font-size:.5em;font-weight:600;letter-spacing:0;margin-left:4px}
#tt-warnings{margin:12px 0 0;padding-left:20px;color:#8A3B2E}
#tt-warnings li{margin-bottom:6px}
.tt-chart{margin-top:22px}
.tt-chart svg{display:block;width:100%;height:auto}
.tt-chart .axis text{font-family:var(--sans);font-size:12px;fill:var(--muted)}
.tt-chart .grid{stroke:var(--line);stroke-width:1}
.tt-chart .zero{stroke:#9AA59D;stroke-width:1}
.tt-chart .floor{stroke:#9AA59D;stroke-width:1;stroke-dasharray:3 4}
.tt-chart .swing{fill:none;stroke:var(--signal);stroke-width:1.3}
.tt-chart .peak{fill:#C07A1A}
.tt-chart .fit{fill:none;stroke:#C07A1A;stroke-width:1.4;stroke-dasharray:6 4}
.tt-chart .reading{fill:var(--signal)}
.tt-chart .quiet{fill:#B9C2BB}
.tt-chart .mark{stroke:#C07A1A;stroke-width:1.5}
.tt-mode{border:0;padding:0;margin:18px 0 0}
.tt-mode legend{font-size:14px;letter-spacing:.02em;margin-bottom:8px;padding:0}
.tt-mode{min-width:0}
.tt-mode label,.tt-outline{display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:8px;align-items:baseline;margin:4px 0;
  font-size:16px} /* the text wraps on a phone, beside its button */
.tt-outline{margin-top:10px}
.tt-compare{margin-top:26px}
#tt-compare-out:not(:empty){margin-top:10px}
#tt-compare-out[data-kind="near"]{color:#8A3B2E}
@media (max-width:620px){
  .tt-bar{grid-template-columns:repeat(2,minmax(0,1fr))}
  .tt-bar b{font-size:24px}
  #tt-read,#tt-clear,#tt-stop,#tt-sample{min-height:44px}
}
