/* Shared colours and typography; the matrix retains its broad table layout. */
#hypothesen .hypothesis-card{background:#fffdf8;color:#302823;border:1px solid #c6bdb1}
#hypothesen .hypothesis-summary{background:#eee8df}
#hypothesen .hypothesis-summary h3{color:#302823;font-size:24px;line-height:1.4}
#hypothesen #hypNumber,#hypothesen .confidence strong{color:#9a2f34}
#hypothesen :is(.hypothesis-summary p,.evidence-item p,.hypothesis-bottom p){color:#62594f;font-size:13px;line-height:1.85}
#hypothesen :is(.confidence small,.evidence-item span,.hypothesis-bottom small){color:#62594f}
#hypothesen .hyp-btn{font:700 13px/1.65 Manrope,Arial,sans-serif;color:#302823;background:#f8f4ed;border-color:#c6bdb1}
#hypothesen .hyp-btn.active{background:#222120;color:#fffaf3;border-color:#222120}
#hypothesen .hyp-btn.active .hyp-nav-number{color:#e5bc4b}
#hypothesen .hyp-btn:hover:not(.active){background:#eee7dc;color:#302823}
#hypothesen .hyp-btn:focus-visible{outline:3px solid #a66e00;outline-offset:2px}
.foundation-card:not(#hypothesen) .learning-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);border:1px solid #c6bdb1;background:#f8f4ed;color:#302823;align-items:stretch}
.foundation-card:not(#hypothesen) .learning-nav{display:flex;flex-direction:column;gap:0;list-style:none;padding:0;margin:0;min-width:0;background:#f8f4ed}
.foundation-card:not(#hypothesen) .learning-nav .hyp-btn,.foundation-card:not(#hypothesen) .learning-nav li{display:flex;align-items:center;gap:18px;width:100%;padding:20px;text-align:left;border:0;border-bottom:1px solid #d3c9bd;background:transparent;color:#302823;border-radius:0;min-height:78px;font:inherit}
.foundation-card:not(#hypothesen) .learning-nav .hyp-btn:last-child,.foundation-card:not(#hypothesen) .learning-nav li:last-child{border-bottom:0}
.foundation-card:not(#hypothesen) .learning-nav :is(.hyp-nav-number,b){flex:0 0 28px;font:500 14px/1.5 'DM Mono',monospace;color:#9a2f34}
.foundation-card:not(#hypothesen) .learning-nav :is(strong,small){display:block}
.foundation-card:not(#hypothesen) .learning-nav strong{font-size:13px;line-height:1.65;font-weight:750}
.foundation-card:not(#hypothesen) .learning-nav small{font:12px/1.7 Manrope,Arial,sans-serif;color:#62594f;margin-top:4px}
.foundation-card:not(#hypothesen) .learning-nav .hyp-btn.active,.foundation-card:not(#hypothesen) .learning-nav li.active{background:#222120;color:#fffaf3}
.foundation-card:not(#hypothesen) .learning-nav :is(.hyp-btn.active,li.active) :is(.hyp-nav-number,b){color:#e5bc4b}
.foundation-card:not(#hypothesen) .learning-nav :is(.hyp-btn.active,li.active) small{color:#ded4c8}
.foundation-card:not(#hypothesen) .learning-nav .hyp-btn:hover:not(.active){background:#eee7dc;color:#302823}
.foundation-card:not(#hypothesen) .learning-nav :is(button,li):focus-visible,.foundation-card:not(#hypothesen) .learning-panel:focus-visible{outline:3px solid #a66e00;outline-offset:-3px}
.foundation-card:not(#hypothesen) .learning-panel{min-width:0;border:0;border-left:1px solid #c6bdb1;border-radius:0;background:#fffdf8;color:#302823;box-shadow:none}
.foundation-card:not(#hypothesen) .hypothesis-card.learning-panel{border-top:0}
.foundation-card:not(#hypothesen) .hypothesis-summary{display:flex;flex-direction:column;align-items:stretch;gap:14px;padding:34px 38px 24px;background:transparent;border-bottom:0}
.foundation-card:not(#hypothesen) .learning-panel :is(#hypNumber,.num){font:500 64px/1 'DM Mono',monospace;color:#9a2f34;display:block;margin:0 0 8px}
.foundation-card:not(#hypothesen) .learning-panel :is(#hypTitle,h3){font-size:27px;line-height:1.3;font-weight:800;letter-spacing:-.035em;color:#302823;margin:0 0 14px}
.foundation-card:not(#hypothesen) .learning-panel :is(#hypDesc,.method-panel p){font-size:14px;line-height:1.85;color:#62594f;margin:0}
.foundation-card:not(#hypothesen) .hypothesis-summary .confidence{border:0;padding:10px 0 0;display:flex;gap:12px;align-items:center}
.foundation-card:not(#hypothesen) .hypothesis-summary .confidence small{margin:0;font:10px/1.7 'DM Mono',monospace;color:#62594f}
.foundation-card:not(#hypothesen) .hypothesis-summary .confidence strong{font-size:11px;line-height:1.7;color:#9a2f34}
.foundation-card:not(#hypothesen) .evidence-grid{display:block;padding:0 38px}
.foundation-card:not(#hypothesen) .evidence-item{padding:14px 0;border:0;border-top:1px solid #d3c9bd}
.foundation-card:not(#hypothesen) .evidence-item span{font:10px/1.7 'DM Mono',monospace;color:#62594f}
.foundation-card:not(#hypothesen) .evidence-item h4{font-size:14px;line-height:1.6;min-height:0;margin:5px 0;color:#302823}
.foundation-card:not(#hypothesen) .evidence-item p{font-size:13px;line-height:1.8;margin:0;color:#62594f}
.foundation-card:not(#hypothesen) .hypothesis-bottom{display:block;padding:8px 38px 28px;border-top:0}
.foundation-card:not(#hypothesen) .hypothesis-bottom>div{padding:16px 0;border:0;border-top:1px solid #d3c9bd}
.foundation-card:not(#hypothesen) .hypothesis-bottom>div+div{border-left:0;border-color:#d3c9bd}
.foundation-card:not(#hypothesen) .hypothesis-bottom small{font:10px/1.7 'DM Mono',monospace;color:#62594f}
.foundation-card:not(#hypothesen) .hypothesis-bottom p{font-size:13px;line-height:1.8;color:#40362e;margin:6px 0 0}
.foundation-card:not(#hypothesen) .method-panel.learning-panel{padding:38px}
.foundation-card:not(#hypothesen) .method-panel.learning-panel p,.foundation-card:not(#hypothesen) .method-panel.learning-panel .checklist li{font-size:13px;line-height:1.85;color:#62594f}
@media(max-width:900px){
 .foundation-card:not(#hypothesen) .learning-layout{grid-template-columns:minmax(0,1fr)}
 .foundation-card:not(#hypothesen) .learning-panel{border-left:0;border-top:1px solid #c6bdb1}
 .foundation-card:not(#hypothesen) .hypothesis-card.learning-panel{border-top:1px solid #c6bdb1}
 .foundation-card:not(#hypothesen) .learning-nav .hyp-btn,.foundation-card:not(#hypothesen) .learning-nav li{padding:16px;gap:12px;min-height:72px}
 .foundation-card:not(#hypothesen) .hypothesis-summary{padding:24px 20px 18px}
 .foundation-card:not(#hypothesen) .learning-panel :is(#hypNumber,.num){font-size:52px}
 .foundation-card:not(#hypothesen) .learning-panel :is(#hypTitle,h3){font-size:23px}
 .foundation-card:not(#hypothesen) .evidence-grid{padding:0 20px}
 .foundation-card:not(#hypothesen) .hypothesis-bottom{padding:8px 20px 20px}
 .foundation-card:not(#hypothesen) .method-panel.learning-panel{padding:24px 20px}
}
