/* The practical labs (public/practical/*.js): comic house style, 44 px targets, readable at 360 px. */
.pl { color: #f3e9d3; }
.pl-step { margin-top: 16px; border: 3px solid #100e0b; background: #1b1712; padding: 14px; box-shadow: 4px 4px 0 0 #100e0b; }
.pl-step h3 { font-family: var(--font-display, inherit); font-size: 1.2rem; margin: 0 0 8px; color: #d6a64e; }
.pl-step p { margin: 6px 0; line-height: 1.45; }
.pl-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0; }
.pl button { min-height: 44px; padding: 0 14px; border: 2px solid #100e0b; background: #f3e9d3; color: #100e0b; font: 700 13px/1 ui-monospace, monospace; letter-spacing: .02em; cursor: pointer; box-shadow: 2px 2px 0 0 #100e0b; }
.pl button.on { background: #2fd3bd; }
.pl button.done { outline: 2px solid #2fd3bd; outline-offset: -5px; }
.pl button.pl-go { background: #d6a64e; }
.pl button:disabled { opacity: .45; cursor: not-allowed; }
.pl-k { font: 700 11px ui-monospace, monospace; letter-spacing: .1em; opacity: .7; margin-top: 10px !important; }
.pl-lab { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .pl-lab { grid-template-columns: 1fr 1fr; } }
.pl-bench, .pl-graph { display: block; width: 100%; height: auto; border: 3px solid #100e0b; touch-action: none; }
.pl-graph text { fill: #100e0b; font-family: ui-monospace, monospace; }
.pl-watch { display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 2px 8px; margin: 10px 0; padding: 8px 12px; background: #100e0b; border: 2px solid #2fd3bd; font: 700 28px ui-monospace, monospace; color: #2fd3bd; }
.pl-watch small { font-size: 11px; color: #f3e9d3; opacity: .7; text-transform: uppercase; letter-spacing: .1em; }
.pl-say { min-height: 1.2em; }
.pl-say.ok { color: #7ee2a8; }
.pl-say.no { color: #ff9a76; }
.pl-table { width: 100%; border-collapse: collapse; font: 13px ui-monospace, monospace; display: block; overflow-x: auto; }
.pl-table th, .pl-table td { border: 1px solid #5b5246; padding: 4px; text-align: center; white-space: nowrap; }
.pl-table th { font-size: 11px; }
.pl-table input, .pl-in input { width: 5.2em; min-height: 40px; padding: 0 6px; border: 2px solid #100e0b; background: #f3e9d3; color: #100e0b; font: 15px ui-monospace, monospace; }
.pl-table input.ok { background: #c9f2da; }
.pl-table input.no { background: #ffd2c2; }
.pl-in { display: inline-flex; align-items: center; gap: 6px; margin: 6px 12px 6px 0; font: 700 15px ui-monospace, monospace; }
.pl-tri { font: 13px ui-monospace, monospace; opacity: .85; }
.pl-q { margin: 14px 0; padding-top: 10px; border-top: 1px dashed #5b5246; }
.pl .pl-opt { display: block; width: 100%; margin: 6px 0; padding: 10px 12px; text-align: left; text-transform: none; letter-spacing: 0; font: 15px/1.35 system-ui, sans-serif; }
.pl .pl-opt b { font-family: ui-monospace, monospace; margin-right: 6px; }
.pl .pl-opt.on { background: #2fd3bd; }
.pl .pl-opt.right { background: #7ee2a8; }
.pl .pl-opt.wrong { background: #ff9a76; }
.pl-concl { margin-top: 10px !important; padding: 10px 12px; border-left: 4px solid #d6a64e; font-weight: 700; }
.pl-concl:empty { display: none; }
@media (max-width: 480px) {
  .pl-step { padding: 10px; }
  .pl-table { font-size: 12px; }
  .pl-table th { white-space: normal; font-size: 10px; line-height: 1.2; }
  .pl-table th, .pl-table td { padding: 3px 2px; }
  .pl-table input { width: 3.4em; padding: 0 3px; font-size: 14px; }
}
.pl-task { padding: 8px 10px; background: #100e0b; border-left: 4px solid #2fd3bd; font-weight: 700; }
.pl-tilt { font-weight: 700; min-height: 1.3em; }
.pl-slide { display: grid; gap: 4px; margin: 10px 0; font: 700 13px ui-monospace, monospace; }
.pl-slide input[type=range] { width: 100%; min-height: 44px; accent-color: #d6a64e; }
.pl-readings { margin: 6px 0 10px; padding-left: 18px; font: 13px ui-monospace, monospace; }
.pl-qsv td:first-child { white-space: normal; text-align: left; }
.pl-qsv td:last-child { text-align: left; }
.pl-obs { display: table; }
.pl-obs td { white-space: normal; text-align: left; }
.pl-obs td:first-child { text-align: center; }
.pl-tape { overflow-x: auto; margin: 8px 0; border: 2px solid #5b5246; -webkit-overflow-scrolling: touch; }
.pl-tape svg { display: block; max-width: none; }
[data-lab] [hidden] { display: none !important; }

/* the analogue meters (kit.js meter()): never wider than a hand-held meter looks */
.pl-meter { max-width: 280px; margin: 0 auto; }
.pl-ti-bench { max-width: 190px; margin: 0 auto; }
.pl-ti-zoom { max-width: 190px; margin: 0 auto; }
