:root{--bg:#f6f5ef;--paper:#fffcf5;--ink:#263e35;--muted:#596b5e;--border:#d0d8cb;--line:#d0d8cb;--sage:#e2e9da;--green:#355b47;--focus:#9a642d;--red:#a13f38;--blue:#365d91;--link:#355b47}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:15px/1.5 Arial,Helvetica,sans-serif}a{color:var(--green);text-underline-offset:4px}button,input,select{font:inherit;color:inherit}button,summary{cursor:pointer}button,input,select{min-height:44px}button,a,input,select,summary{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,[tabindex]:focus-visible{outline:3px solid var(--focus);outline-offset:3px}button{border:1px solid var(--line);background:var(--paper);border-radius:6px;padding:10px 14px;font-weight:600}button:hover{background:#edf0e5;border-color:#9bae8c}button.primary{background:var(--green);color:white;border-color:var(--green)}button.primary:hover{background:#263e35}button.danger{background:#263e35;color:white;border-color:#263e35}input,select{width:100%;border:1px solid #b5c0b0;border-radius:6px;background:#fffefb;padding:10px 12px;min-width:0}input::placeholder{color:#83907f}input[aria-invalid=true]{border-color:#ad5343;background:#fff8f4}[hidden]{display:none!important}.skip-link{position:absolute;top:-100px;left:16px;z-index:99;background:var(--paper);padding:12px}.skip-link:focus{top:12px}.site-header{max-width:1440px;margin:auto;padding:22px 32px;display:flex;align-items:center;justify-content:space-between;gap:24px;border-bottom:1px solid #dedfd3}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;font-size:30px;line-height:1.07;font-weight:700;letter-spacing:.025em}.brand img{display:block;flex-shrink:0}.site-header nav{display:flex;gap:26px}.site-header nav a{font-size:13px;text-decoration:none;min-height:44px;display:flex;align-items:center}.site-header nav a:hover{text-decoration:underline}.container{max-width:1240px;margin:auto;padding:28px 32px 18px}.page-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:23px}.back{font-size:13px;text-decoration:none}.back:hover{text-decoration:underline}.intro{display:flex;justify-content:space-between;align-items:center;gap:32px;margin-bottom:29px}.eyebrow{margin:0 0 7px;font-size:10px;font-weight:700;letter-spacing:.16em;color:var(--muted)}h1{font-family:Georgia,'Times New Roman',serif;font-size:46px;font-weight:400;line-height:1.1;letter-spacing:-1.2px;margin:0 0 12px}h1 em{font-style:normal;color:#5b7054}.intro-copy{max-width:680px;color:var(--muted);margin:0;font-size:15px}.local-note{font-size:11px;color:var(--muted);display:flex;gap:7px;align-items:center;white-space:nowrap}.status-dot{width:6px;height:6px;border-radius:50%;background:#68825d}.panel,.card{background:var(--paper);border:1px solid var(--line);border-radius:12px;padding:23px 25px}.section-line{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:17px}h2{font-size:17px;font-weight:600;margin:0}h3{font-size:14px;margin:0 0 11px;font-weight:600}.step{font-size:10px;color:var(--muted);display:inline-flex;align-items:center;justify-content:center;width:25px;height:25px;border:1px solid var(--line);border-radius:50%;margin-right:8px;vertical-align:2px}.subheading{font-size:14px;margin:0 0 14px}label{display:block;font-size:12px;font-weight:600;margin-bottom:7px}label .unit{font-weight:400;color:var(--muted)}.hint,.small{color:var(--muted);font-size:11px;line-height:1.6;margin:7px 0 0}.mutedText{color:var(--muted)}.toolbar{display:flex;flex-wrap:wrap;gap:9px;margin-top:18px}.toolbar button{font-size:12px}.pill{display:inline-block;border:1px solid var(--line);border-radius:30px;background:#eef1e6;padding:5px 9px;margin:0 5px 7px 0;font-size:10px;color:var(--muted)}.pill strong{font-weight:600;color:var(--ink)}.pill .mono{font-size:11px}.row{display:grid;grid-template-columns:1fr 1fr;gap:16px}.row.three{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.ok,.warn{padding:17px 19px;border-radius:8px;margin-top:13px;color:var(--ink);font-size:13px;line-height:1.65;border:1px solid #c5d4b8;background:#eef3e6}.warn{border-color:#d6bf89;background:#f8f1df}.ok strong,.warn strong{font-weight:600}.ok ul,.warn ul{padding-left:0}.ok li+li,.warn li+li{margin-top:5px}.mono{font-family:Arial,Helvetica,sans-serif;font-variant-numeric:tabular-nums}details.panel{padding:17px 22px}summary{font-size:12px;font-weight:600}details>summary{min-height:22px}details[open]>summary{margin-bottom:16px}.definitions{margin-top:24px}.definitions ul{columns:2;column-gap:35px;margin:16px 0 0;padding-left:18px;font-size:12px;color:var(--muted);line-height:1.7}.definitions li{break-inside:avoid;margin-bottom:9px}.definitions strong{color:var(--ink)}.footer{display:flex;justify-content:space-between;align-items:start;gap:24px;margin-top:27px;border-top:1px solid var(--line);padding:19px 0;font-size:11px;color:var(--muted)}.footer>span{font-weight:600}.footer p{margin:0;text-align:right;line-height:1.7}.empty-state{border:1px dashed #bcc9b2;border-radius:10px;background:#eef1e6;color:var(--muted);padding:26px 22px;text-align:center}.empty-state strong{color:var(--green);font-size:17px;font-weight:500;display:block;margin-bottom:7px}.empty-state p{font-size:12px;line-height:1.7;margin:0 auto;max-width:320px}.tool-links{display:flex;gap:18px;flex-wrap:wrap;font-size:11px}.tool-links a{text-decoration:none}.tool-links a:hover{text-decoration:underline}
/* Reflex input matrix: each condition names both stimulus and probe. */
.reflex-workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.92fr);gap:24px;align-items:start}.input-stack{display:flex;flex-direction:column;gap:20px}.matrixGrid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:19px}.matrixCell{border:1px solid var(--line);border-radius:9px;padding:17px;background:#fffdf8}.matrixTitle{font-size:13px;font-weight:600;margin:0 0 5px}.matrixCell .small{margin:0 0 15px;font-size:10px}.matrixCell label{font-size:10px;font-weight:400;color:var(--muted);margin-bottom:5px}.matrixCell select{font-size:12px;padding:10px 8px}.ear-tag{font-size:9px;font-weight:600;padding:3px 6px;border-radius:4px;display:inline-block;margin-right:6px;vertical-align:1px}.ear-tag.right{background:#f8eeea;color:var(--red)}.ear-tag.left{background:#edf1f7;color:var(--blue)}.matrixCell[data-result=present]{border-color:#9ab488;background:#f1f5ea}.matrixCell[data-result=absent]{border-color:#d4b370;background:#fcf7e9}.matrixCell[data-result=unknown]{background:#fffdf8}.inline-counter{font-size:10px;color:var(--muted);white-space:nowrap;border:1px solid var(--line);border-radius:30px;padding:5px 9px}.reflex-actions{display:grid;grid-template-columns:auto auto 1fr;align-items:center;gap:9px}.reflex-actions #btnExampleCentral{justify-self:end;font-size:11px;font-weight:400;background:transparent;border:0;text-decoration:underline;text-underline-offset:3px;padding:8px 0}.context-intro{font-size:12px;color:var(--muted);margin:-4px 0 20px}.context-ear-heads{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:12px}.context-ear-heads span{border-bottom:1px solid var(--line);padding-bottom:9px;font-size:12px;font-weight:600}.context-ear-heads span:first-child{color:var(--red)}.context-ear-heads span:last-child{color:var(--blue)}.reflex-context .row{margin-bottom:17px}.reflex-context .row label{font-size:11px}.reflex-context select,.reflex-context input{font-size:12px}.reflex-context .equipment{border-top:1px solid var(--line);padding-top:19px}.reflex-context .equipment .row{grid-template-columns:1fr;margin-bottom:0}.results-panel{padding:23px 22px}.result-state{font-size:10px;color:var(--muted);max-width:170px;text-align:right}.result-state.changed{color:#8c6335}.result-state::before{content:'○';margin-right:5px}.result-state.ready::before{content:'✓'}.result-state.changed::before{content:'!'}#summary:not(:empty){margin-bottom:13px}#summary .pill{font-size:10px;overflow-wrap:anywhere;max-width:100%}#results .ok,#results .warn{font-size:12px;padding:15px 17px}.clinical-note{border-top:1px solid var(--line);padding-top:17px;color:var(--muted);font-size:11px;margin:19px 0 0;line-height:1.65}.clinical-note strong{color:var(--ink)}.pathwayWrap{margin:18px 0 6px;padding:17px 0 0;border-top:1px solid var(--line)}.pathwayWrap h3{font-size:12px;margin:0 0 5px}.pathwayWrap>.hint{font-size:10px;margin:0 0 15px}.pathwayGrid{display:grid;grid-template-columns:1fr 1.1fr 1fr;grid-template-rows:auto auto;gap:9px;position:relative;align-items:stretch}.node{border:1px solid var(--line);border-radius:7px;padding:12px 9px;display:flex;flex-direction:column;justify-content:center;min-height:86px;position:relative}.nodeTitle{font-size:11px;font-weight:600}.nodeSub{font-size:9px;color:var(--muted);margin-top:3px}.nodeState{font-size:9px;font-weight:600;margin-top:8px;line-height:1.3}.state-green{background:#e9f0e1;border-color:#a9bf96}.state-orange{background:#f8efd9;border-color:#d4b77c}.state-grey{background:#f1f2eb;border-color:var(--line)}#nodeStimR{grid-column:1;grid-row:1}#nodeStimL{grid-column:1;grid-row:2}#nodeCentral{grid-column:2;grid-row:1/3;text-align:center;border-style:dashed}#nodeProbeR{grid-column:3;grid-row:1}#nodeProbeL{grid-column:3;grid-row:2}.domain-labels{display:grid;grid-template-columns:1fr 1.1fr 1fr;gap:9px;margin-bottom:8px;font-size:9px;color:var(--muted);text-align:center}.legend{margin:14px 0 0;display:flex;gap:8px 13px;flex-wrap:wrap}.legendItem{display:flex;align-items:center;gap:6px;font-size:9px;color:var(--muted)}.dot{width:7px;height:7px;border-radius:50%;background:#a9b09f}.dot.green{background:#78965e}.dot.orange{background:#c09244}.dot.grey{background:#a9b09f}
/* Stenger: compact setup beside the active presentation and response log. */
.stenger-workspace{display:grid;grid-template-columns:minmax(300px,.72fr) minmax(0,1.28fr);gap:24px;align-items:start}.setup-panel{padding:23px}.setup-panel .row{margin-top:18px}.setup-panel .row.three{margin-top:20px}.setup-panel select,.setup-panel input{font-size:13px}.setup-panel .row.three label{font-size:11px}.setup-panel .row.three .hint{font-size:10px}.threshold-inputs{border-top:1px solid var(--line);padding-top:19px;margin-top:23px}.threshold-inputs .row{margin-top:0;grid-template-columns:1fr}.threshold-inputs .row>div+div{margin-top:3px}.threshold-inputs input{font-size:20px;font-variant-numeric:tabular-nums}.setup-panel .hint{font-size:11px}.limits{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:14px 0;margin-top:22px}.limits summary{font-size:11px;color:var(--muted)}.limits .row{gap:12px;margin:16px 0 0}.limits label{font-size:10px}.limits input{font-size:13px}.limits .hint{font-size:10px}.setup-panel .toolbar{margin-top:21px}.setup-panel .toolbar button{flex:1}.start-rule{font-size:11px;color:var(--muted);line-height:1.7;margin:19px 0 0;padding-top:16px;border-top:1px solid var(--line)}.start-rule span{display:block}.setup-note{padding:19px 22px;margin-top:18px}.setup-note p{font-size:11px;color:var(--muted);margin:0;line-height:1.7}.setup-note strong{color:var(--ink)}.run-empty{min-height:330px;display:flex;flex-direction:column;justify-content:center;background:#f0f2e8;border:1px solid var(--line);border-radius:12px;padding:35px;text-align:center}.run-empty .empty-symbol{border:1px solid #b7c5aa;border-radius:50%;width:44px;height:44px;display:flex;justify-content:center;align-items:center;font-size:20px;color:#718667;margin:0 auto 19px}.run-empty h2{font:28px/1.2 Georgia,serif;font-weight:400;margin:0 0 13px}.run-empty p{font-size:12px;color:var(--muted);line-height:1.7;max-width:340px;margin:0 auto}.run-empty ol{display:flex;justify-content:center;gap:23px;list-style:none;padding:0;margin:30px 0 0;font-size:11px;color:var(--muted)}.run-empty ol span{display:block;border:1px solid #bccab1;border-radius:50%;width:24px;height:24px;line-height:23px;font-size:10px;margin:0 auto 7px}.run-panel{scroll-margin-top:20px;padding:23px}.run-panel .section-line{margin-bottom:16px}.run-active-label{font-size:10px;color:var(--green)}.run-meta{margin-bottom:11px}.run-meta .pill{font-size:10px;padding:5px 8px}.presentation-card{background:#e9eee0;border:1px solid #c3d1b7;border-radius:10px;padding:22px;margin-top:9px}.presentation-card .eyebrow{font-size:9px;margin-bottom:17px}.levels{display:grid;grid-template-columns:1fr 1fr;gap:18px}.level-box+ .level-box{border-left:1px solid #c3d1b7;padding-left:22px}.level-label{display:block;color:var(--muted);font-size:11px;margin-bottom:4px}.level-number{font-size:48px;line-height:1.05;font-variant-numeric:tabular-nums;letter-spacing:-1.5px;font-weight:500}.level-number small{font-size:12px;letter-spacing:0;margin-left:5px;color:var(--muted)}.level-role{font-size:10px;color:var(--muted);display:block;margin-top:5px}.presentation-card .hint{margin-top:17px;font-size:11px}.response-toolbar{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:19px}.response-toolbar button{min-height:53px;font-size:13px}.response-toolbar #btnResponded{border-color:#a9be98;background:#fffdf7;color:var(--green)}.response-toolbar #btnResponded:hover{background:#f4f7ed}.response-label{display:block;font-size:10px;color:var(--muted);margin-top:17px}#interpretation{margin-top:18px;font-size:12px}#interpretation .card{padding:15px 18px;border-radius:8px;font-size:12px;background:#f4f5ec}#interpretation .ok,#interpretation .warn{padding:16px 18px;font-size:12px}#interpretation .mutedText{font-size:11px;line-height:1.6}.history-section{margin-top:24px;border-top:1px solid var(--line);padding-top:19px}.history-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.history-heading h3{font-size:12px;margin:0}.history-heading span{font-size:10px;color:var(--muted)}.history{max-height:220px;overflow:auto;border:1px solid var(--line);border-radius:7px;padding:10px 13px;background:#fffdf8;font-size:11px}.historyRow{display:flex;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px solid #e1e5d9;line-height:1.5}.historyRow:last-child{border-bottom:0}.historyRow strong{font-weight:600;white-space:nowrap}.history-actions{justify-content:flex-end}.history-actions button{font-size:11px}.alerts:empty{display:none}.alerts{margin:0 0 18px}.alerts .ok,.alerts .warn{margin:0 0 12px}.reference-note{font-size:11px;color:var(--muted);line-height:1.75;margin:0}
@media(max-width:1080px){.container{padding:25px 24px}.panel,.card{padding:21px}.reflex-workspace,.stenger-workspace{gap:18px}.matrixCell{padding:13px}.reflex-actions{grid-template-columns:1fr auto}.reflex-actions #btnExampleCentral{grid-column:1/-1;justify-self:start;text-align:left}.run-panel,.setup-panel{padding:21px}.presentation-card{padding:19px}.level-number{font-size:42px}.nodeTitle{font-size:10px}.nodeSub,.nodeState{font-size:9px}.node{padding:10px 7px}}
@media(max-width:870px){.reflex-workspace,.stenger-workspace{grid-template-columns:1fr}.intro{gap:20px}h1{font-size:41px}.site-header{padding:18px 24px}.brand{font-size:25px}.site-header nav{gap:17px}.intro .local-note{display:none}.setup-panel .threshold-inputs .row{grid-template-columns:1fr 1fr}.threshold-inputs .row>div+div{margin-top:0}.setup-panel .row.three{gap:18px}.setup-panel .toolbar button{flex:0 1 auto}.limits .row{grid-template-columns:1fr 1fr}.setup-note{margin-top:16px}.run-empty{min-height:260px}.reflex-actions{grid-template-columns:auto auto 1fr}.reflex-actions #btnExampleCentral{grid-column:auto;justify-self:end}.matrixCell{padding:17px}.reflex-context .equipment .row{grid-template-columns:1fr 1fr}.nodeTitle{font-size:12px}.nodeSub,.nodeState{font-size:10px}.node{padding:14px 12px}.pathwayGrid .node{min-height:88px}.reflex-context .equipment .row .hint{font-size:10px}.result-state{max-width:220px}}
@media(max-width:620px){.site-header{flex-wrap:wrap;padding:15px 18px;gap:8px}.brand{font-size:26px}.brand img{width:74px;height:74px}.site-header nav{gap:24px;width:100%}.site-header nav a{font-size:12px;min-height:36px}.container{padding:21px 16px 10px}.page-top{margin-bottom:20px}.intro{display:block;margin-bottom:24px}h1{font-size:37px;letter-spacing:-.8px}.intro-copy{font-size:14px}.eyebrow{font-size:9px}.panel,.card{padding:19px 16px}.section-line h2{font-size:15px}.step{width:23px;height:23px;font-size:9px;margin-right:6px}.reflex-workspace,.stenger-workspace{gap:20px}.matrixGrid{gap:9px;margin-top:15px}.matrixCell{padding:13px 10px}.matrixTitle{font-size:12px}.matrixCell .small{font-size:9px;margin-bottom:12px}.matrixCell select{font-size:11px;padding:9px 4px}.ear-tag{font-size:8px;padding:3px 4px;margin-right:3px}.matrixCell .matrixTitle .ear-tag{display:block;width:max-content;margin-bottom:6px}.inline-counter{font-size:9px;padding:4px 7px}.reflex-actions{grid-template-columns:1fr auto}.reflex-actions #btnExampleCentral{grid-column:1/-1;justify-self:start;font-size:10px}.reflex-context .row{gap:11px;margin-bottom:15px}.reflex-context select,.reflex-context input{font-size:11px;padding:10px 6px}.reflex-context label{font-size:10px}.context-ear-heads{gap:11px}.reflex-context .equipment .row{grid-template-columns:1fr}.context-intro{font-size:11px;margin-bottom:16px}.nodeTitle{font-size:10px}.nodeSub,.nodeState{font-size:9px}.node{padding:11px 7px}.domain-labels{font-size:8px}.pathwayGrid{gap:7px}.legendItem{font-size:9px}.result-state{max-width:125px;font-size:9px}#results .ok,#results .warn{font-size:11px;padding:14px}.ok,.warn{font-size:12px}.definitions{margin-top:20px}.definitions ul{columns:1;font-size:11px}.tool-links{gap:13px;font-size:10px}.footer{display:block;margin-top:23px}.footer p{text-align:left;margin-top:9px}.setup-panel .row.three{grid-template-columns:1fr 1fr;gap:14px}.setup-panel .row.three>div:last-child{grid-column:1/-1}.setup-panel .row.three>div:last-child select{max-width:180px}.setup-panel .threshold-inputs .row{grid-template-columns:1fr;gap:16px}.setup-panel .toolbar button{flex:1}.setup-panel label{font-size:11px}.setup-panel input,.setup-panel select{font-size:13px}.setup-panel .threshold-inputs input{font-size:20px}.run-panel{padding:19px 16px}.presentation-card{padding:18px 15px}.level-number{font-size:40px}.level-number small{display:block;font-size:11px;margin:6px 0 0}.level-box+ .level-box{padding-left:16px}.levels{gap:15px}.level-label{font-size:10px}.response-toolbar button{font-size:12px}.run-empty{padding:28px 20px}.run-empty h2{font-size:25px}.run-empty ol{gap:21px}.history{font-size:10px;padding:8px 10px}.historyRow{flex-wrap:wrap;gap:4px}.historyRow>div:first-child{flex-basis:100%}.historyRow>div:last-child{margin-left:auto}.history-actions{justify-content:start}.history-actions button{flex:1}.history-heading h3{font-size:11px}#interpretation .ok,#interpretation .warn,#interpretation .card{font-size:11px;padding:14px 15px}.limits .row{grid-template-columns:1fr 1fr}.setup-note{padding:17px 18px}.setup-note p{font-size:10px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}
@media print{body{background:white;color:black;font-size:11pt}.site-header,.skip-link,.page-top,.tool-links,.toolbar,.response-toolbar,.run-empty,.history-actions,.intro .local-note{display:none}.container{max-width:none;padding:0}.intro{margin-bottom:15px}h1{font-size:26pt}.reflex-workspace,.stenger-workspace{display:block}.panel,.card{background:white;border-color:#aaa;margin-bottom:12px;padding:15px;break-inside:avoid}.ok,.warn,.presentation-card{background:white;border-color:#aaa}.history{max-height:none;overflow:visible}.definitions ul{columns:1}.footer{display:block}.footer p{text-align:left}.input-stack{display:block}.matrixGrid{grid-template-columns:1fr 1fr}.node{break-inside:avoid}.level-number{font-size:30pt}}
