/* Laboratory shares Cohesion's continuous navy surface; no paper panel. */
.jc-root{
 --jc-text:var(--text,#f6f9fc);--jc-muted:#acbfce;
 --jc-surface:var(--panel,#081a2c);--jc-control:var(--card2,#0a2238);
 --jc-line:#31516a;--jc-accent:var(--cyan2,#55e7f5);
 --jc-action:#b9dce5;--jc-action-text:var(--bg,#06111d);
 --jc-warning:#edc184;--jc-warning-bg:#30271b;
 --jc-danger:#ffb4ab;--jc-danger-bg:#321f27;
 color-scheme:dark;
}
.jc-root{max-width:1100px;margin:auto;width:100%;color:var(--jc-text)}.jc-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:16px}.jc-card{background:var(--jc-control);border:1px solid var(--jc-line);border-radius:16px;padding:22px;min-width:0}.jc-card h2,.jc-card h3{margin:0 0 14px}.jc-meta{color:var(--jc-muted);font-size:.88rem;line-height:1.5}.jc-actions{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0}.jc-root button,.jc-root select,.jc-root input{min-height:48px}.jc-root button{touch-action:manipulation}.jc-form{display:grid;gap:18px;max-width:650px;margin:auto}.jc-field{display:grid;gap:8px;font-size:.95rem}.jc-field input,.jc-field select,.jc-field textarea{border:1px solid var(--jc-line);border-radius:9px;padding:12px;background:var(--jc-control);color:var(--jc-text);width:100%;box-sizing:border-box;font:inherit}.jc-field textarea{min-height:88px}.jc-reading{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px}.jc-reading label{grid-column:1/-1}.jc-reading input{min-width:0}.jc-photo{display:block;max-width:100%;max-height:260px;object-fit:contain;border-radius:10px;margin:12px auto}.jc-check{display:flex;align-items:center;gap:12px;line-height:1.4}.jc-check input{width:24px;height:24px;flex-shrink:0}.jc-result{border-left:5px solid #555;background:var(--jc-surface);padding:18px;border-radius:10px;line-height:1.5}.jc-result.REVIEW{border-color:var(--jc-warning);background:var(--jc-warning-bg)}.jc-result.CRITICAL{border-color:var(--jc-danger);background:var(--jc-danger-bg)}.jc-result h3{margin-top:0}.jc-warning{color:var(--jc-danger)}.jc-table-wrap{overflow:auto}.jc-root table{width:100%;border-collapse:collapse;font-size:.9rem}.jc-root td,.jc-root th{padding:12px 8px;border-bottom:1px solid var(--jc-line);text-align:left;white-space:nowrap}.jc-chart{width:100%;height:auto;display:block}.jc-chart circle:focus{stroke:var(--jc-accent);stroke-width:4;outline:none}.jc-live{min-height:24px;line-height:1.4}.jc-form details{border:1px solid var(--jc-line);border-radius:10px;padding:14px}.jc-form summary{cursor:pointer;min-height:36px}.jc-root fieldset{border:1px solid var(--jc-line);border-radius:10px;padding:16px;margin:10px 0}.jc-root legend{padding:0 8px}.jc-root hr{border:0;border-top:1px solid var(--jc-line);margin:24px 0}.jc-root a{color:inherit;text-decoration:underline}.jc-root button:focus-visible,.jc-root input:focus-visible,.jc-root select:focus-visible{outline:3px solid var(--jc-accent);outline-offset:2px}.jc-root .primary{background:var(--jc-action);color:var(--jc-action-text)}.jc-root button:disabled{opacity:.55}.jc-steps{font-size:.8rem;letter-spacing:.08em;color:var(--jc-muted);text-transform:uppercase}@media(max-width:600px){.jc-card{padding:16px}.jc-grid{grid-template-columns:1fr}.jc-actions button{flex:1 1 140px}.jc-reading{grid-template-columns:1fr}.jc-root h2{font-size:1.3rem}.jc-root{padding-bottom:24px}}

.hc-operations .jc-root{display:grid;grid-template-columns:minmax(0,1fr);gap:16px}.hc-operations .jc-root .hc-op-button{background:var(--jc-control);color:var(--jc-text);border:1px solid var(--jc-line);box-shadow:none}.hc-operations .jc-root .hc-op-button.primary{background:var(--jc-action);color:var(--jc-action-text);border-color:var(--jc-action)}.jc-result details{margin:12px 0}.jc-result summary{cursor:pointer;min-height:44px;display:flex;align-items:center;text-decoration:underline}.jc-result details p{font-size:.9rem}.jc-chart{max-width:700px;margin:auto}

/* Guided laboratory: one continuous surface and one active measurement. */
.hc-operations .jc-root.jf-root{background:transparent;border-radius:0;gap:0;padding:0;color:var(--jc-text)}
.jf-shell{width:100%;max-width:920px;margin:auto;padding:16px 0;box-sizing:border-box}
.jf-heading{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:0 0 24px;border-bottom:1px solid var(--jc-line)}
.jf-section-title{font-size:.8rem;font-weight:650;color:var(--jc-muted)}.jf-pool{font-size:.85rem;font-weight:650;text-align:right}
.jf-track{display:flex;list-style:none;padding:25px 0 20px;margin:0;overflow-x:auto;scrollbar-width:thin;gap:0}
.jf-track li{position:relative;flex:1 0 76px;display:flex;align-items:center;flex-direction:column;gap:7px;font-size:.7rem;color:var(--jc-muted);text-align:center}
.jf-track li:not(:last-child):after{content:'›';position:absolute;left:calc(50% + 18px);right:calc(-50% + 18px);top:0;height:30px;border-bottom:1px solid var(--jc-line);line-height:29px;color:var(--jc-muted);transform:translateY(-14px);padding-top:14px;z-index:0}
.jf-dot{display:grid;place-items:center;width:32px;height:32px;background:var(--jc-surface);border-radius:50%;font-size:.85rem;font-weight:650;z-index:1}
.jf-track .current{color:var(--jc-text);font-weight:700}.jf-track .current .jf-dot{background:var(--jc-action);color:var(--jc-action-text);box-shadow:0 0 0 5px var(--jc-line)}
.jf-track .done .jf-dot{background:var(--jc-surface);color:var(--jc-text)}.jf-track .exception .jf-dot{background:var(--jc-warning-bg);color:var(--jc-warning)}
.jf-stage{max-width:530px;margin:24px auto 12px;display:grid;gap:18px}.jf-stage h2{font-size:1.8rem;letter-spacing:-.04em;line-height:1.15;margin:0}.jf-eyebrow{font-size:.72rem;letter-spacing:.065em;text-transform:uppercase;color:var(--jc-muted);font-weight:650}.jf-lead{color:var(--jc-muted);line-height:1.5;margin:0 0 6px;font-size:.95rem}
.jf-field{display:grid;gap:8px;color:var(--jc-muted);font-size:.84rem;min-width:0}.jf-field input,.jf-field select,.jf-field textarea{width:100%;min-width:0;border:1px solid var(--jc-line);border-radius:12px;box-sizing:border-box;padding:14px;background:var(--jc-control);color:var(--jc-text);font:inherit;font-size:1rem}.jf-field textarea{min-height:88px;resize:vertical}.jf-field .jf-reading{font-size:2.25rem;letter-spacing:-.04em;padding:20px;font-weight:600;min-height:92px}
.jf-root button{font:inherit;border:0;border-radius:12px;padding:14px 18px;cursor:pointer;line-height:1.25;box-shadow:none;white-space:normal}.jf-root .jf-primary{background:var(--jc-action);color:var(--jc-action-text);font-weight:650;min-height:56px;width:100%}.jf-root .jf-primary:disabled{background:var(--jc-surface);color:var(--jc-muted);opacity:.6;cursor:default}.jf-root .jf-secondary{border:1px solid var(--jc-line);color:var(--jc-text);background:transparent}.jf-root .jf-quiet{background:transparent;color:var(--jc-muted);font-size:.85rem}.jf-method{display:flex;padding:4px;border-radius:12px;background:var(--jc-surface);gap:4px}.jf-method button{flex:1;background:transparent;color:var(--jc-muted)}.jf-method button[aria-pressed=true]{background:var(--jc-control);color:var(--jc-text);box-shadow:0 1px 3px #00000012}
.jf-check{display:flex;align-items:center;gap:12px;line-height:1.5;font-size:.9rem;color:var(--jc-text)}.jf-check input{width:22px;height:22px;min-height:22px;flex-shrink:0;accent-color:var(--jc-accent)}
.jf-stage details{border-top:1px solid var(--jc-line);padding:14px 0;font-size:.9rem;color:var(--jc-muted);line-height:1.6}.jf-stage details summary{cursor:pointer;min-height:28px}.jf-stage details[open]>*:not(summary){margin-top:14px}.jf-stage details .jf-field{margin-top:14px}
.jf-live:empty{display:none}.jf-live{margin:0;line-height:1.5;font-size:.9rem}.jf-error{color:var(--jc-danger)}.jf-critical{border-left:4px solid var(--jc-danger);background:var(--jc-danger-bg);padding:14px;color:var(--jc-danger);border-radius:8px;line-height:1.45}.jf-meta{font-size:.8rem;color:var(--jc-muted);line-height:1.5;margin:0}.jf-photo{display:block;max-width:100%;max-height:220px;margin:14px auto;border-radius:12px;object-fit:contain}.jf-review-line{display:flex;gap:12px;align-items:center;justify-content:space-between;border-bottom:1px solid var(--jc-line);padding:12px 0}.jf-review-line small{font-size:.75rem;color:var(--jc-muted)}.jf-review-line .jf-meta{display:block;margin-bottom:5px}.jf-root [hidden]{display:none!important}.jf-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:20px 0}.jf-metric small{display:block;color:var(--jc-muted);font-size:.76rem}.jf-metric strong{display:block;font-size:1.35rem;font-weight:600;margin:5px 0}.jf-record summary{cursor:pointer;min-height:44px;display:flex;align-items:center}.jc-chart{background:transparent;border-radius:0}.jf-nav{display:flex;gap:8px;flex-wrap:wrap}.jf-nav button{flex:1}
@media(max-width:600px){.jf-shell{padding:12px 0}.jf-heading{padding-bottom:16px}.jf-stage{margin-top:20px;gap:16px}.jf-stage h2{font-size:1.65rem}.jf-track{margin-right:-8px;padding-right:8px}.jf-track li{flex-basis:67px;font-size:.66rem}.jf-section-title{max-width:130px;line-height:1.4}.jf-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.jf-field .jf-reading{font-size:2rem}}
@media(prefers-reduced-motion:no-preference){.jf-stage{animation:jf-arrive .18s ease-out}@keyframes jf-arrive{from{opacity:.5;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}}
.hc-operations .jc-root{background:transparent;border-radius:0;padding:0;box-sizing:border-box;color:var(--jc-text)}.hc-operations .jc-root .jc-card{background:transparent;border:0;border-bottom:1px solid var(--jc-line);border-radius:0}.hc-operations .jc-root .jc-grid .jc-card{border:1px solid var(--jc-line);border-radius:16px;background:var(--jc-control)}.hc-operations .jc-root.jf-root{padding:0}.jc-root .jc-result{background:var(--jc-surface)}.jc-root .jc-result.REVIEW{background:var(--jc-warning-bg)}.jc-root .jc-result.CRITICAL{background:var(--jc-danger-bg)}

/* The guided entry is the laboratory home, not a secondary capture page. */
.jf-intro-route{display:flex;list-style:none;gap:0;margin:26px 0 0;padding:0}.jf-intro-route li{position:relative;flex:1;display:flex;align-items:center;gap:8px;color:var(--jc-muted);font-size:.8rem;padding-right:20px;line-height:1.3}.jf-intro-route li:not(:last-child):after{content:'›';position:absolute;right:8px;font-size:1.3rem;color:var(--jc-muted)}.jf-intro-route li:first-child{color:var(--jc-text);font-weight:650}.jf-intro-route li:first-child .jf-dot{background:var(--jc-action);color:var(--jc-action-text)}.jf-intro-route .jf-dot{flex-shrink:0}.jf-next-place{margin:0;text-align:center;font-size:.8rem;color:var(--jc-muted)}@media(max-width:600px){.jf-intro-route li{display:flex;flex-direction:column;text-align:center;gap:8px;font-size:.7rem;padding-right:0}.jf-intro-route li:not(:last-child):after{right:0;top:4px}.jf-stage>details{font-size:.85rem}}

/* Chart attributes also follow the shell; measured critical points stay distinct. */
.jc-root .jc-chart text{fill:var(--jc-muted)}
.jc-root .jc-chart line{stroke:var(--jc-line)}
.jc-root .jc-chart rect{fill:#173943;stroke:var(--jc-muted)}
.jc-root .jc-chart polyline{stroke:var(--jc-muted)}
.jc-root .jc-chart circle[fill="#222"]{fill:var(--jc-accent)}
.jc-root .jc-chart circle[fill="#a02222"]{fill:var(--jc-danger)}
.jc-root .jc-chart circle:focus{stroke:var(--jc-text)}
.jc-root input::placeholder,.jc-root textarea::placeholder{color:var(--jc-muted);opacity:1}
.jc-root input:focus-visible,.jc-root textarea:focus-visible,.jc-root select:focus-visible,.jc-root button:focus-visible{outline:2px solid var(--jc-accent);outline-offset:3px}
.jc-root .jf-method button[aria-pressed=true]{box-shadow:inset 0 0 0 1px var(--jc-line)}
.jc-root .jf-track .current,.jc-root .jf-intro-route li:first-child{color:var(--jc-accent)}
.jc-root .jf-track .done .jf-dot{color:var(--jc-accent)}
.jc-root input[type=checkbox]{accent-color:var(--jc-accent)}
.hc-operations:has(.jc-root)>.hc-op-toolbar .hc-op-button{background:var(--card2,#0a2238);border-color:#31516a;color:var(--text,#f6f9fc)}

/* Several readings share each advanced block; reuse the wizard's existing spacing. */
.jc-root .ja-fields{display:grid;gap:18px;min-width:0}
.jc-root .ja-fields .jf-diagnostic{display:grid;gap:8px;min-width:0}
/* Existing numbered track becomes touch navigation, with all five points visible. */
.jf-root .jf-track li{flex:1 1 0;min-width:0}
.jf-root .jf-track button{display:flex;flex-direction:column;align-items:center;gap:7px;width:100%;padding:5px 2px;font-size:.7rem;position:relative;z-index:1;color:inherit}
.jf-root .jf-track-label{overflow-wrap:anywhere}
.jf-root a.jf-primary{display:flex;align-items:center;justify-content:center;box-sizing:border-box;padding:14px 18px;border-radius:12px;text-decoration:none;touch-action:manipulation}
