/* GutSentry: a field guide to signals, evidence and people. No external fonts. */
:root{--ink:#183e3a;--muted:#566862;--paper:#f7f6ef;--pale:#e8eddf;--line:#d9ded2;--rust:#a64d2b;--mint:#d4e6c0;--md-primary-fg-color:#183e3a;--md-accent-fg-color:#a64d2b;--md-typeset-a-color:#27635a}
[data-md-color-scheme=default]{--md-default-bg-color:var(--paper);--md-default-fg-color:var(--ink);--md-code-bg-color:#ebeee5}
html{scroll-padding-top:5rem;scroll-behavior:smooth}body{font-family:"Segoe UI",Arial,sans-serif;color:var(--ink)}
.md-header{background:var(--paper);color:var(--ink);box-shadow:none;border-bottom:1px solid var(--line)}
.md-header__title{font-weight:750;letter-spacing:-.025em}.md-header__button.md-logo img{width:1.7rem;height:1.7rem}
.md-tabs{background:var(--paper);color:var(--ink);border-bottom:1px solid var(--line)}
.md-tabs__link{font-size:.68rem;letter-spacing:.04em;color:var(--ink);opacity:1}.md-tabs__item--active{border-bottom:3px solid var(--rust)}
.md-search__form{background:#e9ede4;border-radius:5px}.md-search__input::placeholder{color:#52655e}
.md-grid{max-width:1320px}.md-main__inner{margin-top:1.6rem}.md-content__inner{max-width:100%;padding-bottom:1rem}
.md-sidebar{width:11rem}.md-nav{font-size:.66rem}.md-nav__item .md-nav__link--active{color:var(--rust);font-weight:700}
.md-nav--secondary{border-left:1px solid var(--line);padding-left:.75rem}.md-nav--secondary .md-nav__link{line-height:1.45}
.md-typeset{font-size:.84rem;line-height:1.78}.md-typeset p{margin:1em 0}.md-typeset h1{font-family:Georgia,"Times New Roman",serif;font-weight:400;color:var(--ink);font-size:2.8em;letter-spacing:-.045em;line-height:1.14;margin:0 0 .7em}
.md-typeset h2{font-family:Georgia,"Times New Roman",serif;font-weight:400;font-size:1.85em;line-height:1.25;letter-spacing:-.025em;border:0;padding:0;margin-top:2.3em;color:var(--ink)}
.md-typeset h3{font-weight:650;font-size:1.18em;line-height:1.4}.md-typeset h4{font-size:1em;line-height:1.5}
.md-typeset a:not(.md-button):hover{text-decoration:underline;text-underline-offset:.2em}
.eyebrow,.chapter-heading{font-size:.59rem;font-weight:650;letter-spacing:.15em;text-transform:uppercase;color:var(--rust)}
.chapter-heading{display:flex;justify-content:space-between;gap:1rem;margin:0 0 1.4rem}.reading-time{color:var(--muted);letter-spacing:.04em;font-weight:400;white-space:nowrap}
.md-typeset .lead{font-size:1.2em;line-height:1.65;color:var(--muted);max-width:760px}
.md-typeset .page-deck{font-size:1.07em;line-height:1.75;color:var(--muted);border-left:3px solid var(--rust);padding:.2rem 0 .2rem 1rem;margin:1.2rem 0 1.6rem}
.md-typeset .admonition,.md-typeset details{box-shadow:none;border-radius:4px}.md-typeset .admonition{font-size:.77rem;background:#fbfcf7}
.md-typeset table:not([class]){font-size:.72rem;border-radius:3px;display:table;line-height:1.65}.md-typeset table:not([class]) th{background:#e5ebdf;color:var(--ink)}.md-typeset table:not([class]) tr:nth-child(even){background:#f0f2e9}
.md-typeset img.wide-figure{border-radius:4px;box-shadow:none;padding:.5rem;background:white}
.md-typeset img.hp-photo{border-radius:4px;max-height:560px}.md-typeset img{height:auto}
.md-typeset .md-button{border-radius:3px;padding:.65em 1.35em;font-size:.72rem;font-weight:650;border-width:1px;transition:background .2s,color .2s}.md-typeset .md-button--primary{background:var(--ink);border-color:var(--ink);color:white}.md-typeset .md-button--primary:hover{background:#2e5c4d;color:white;border-color:#2e5c4d}
.card-grid{gap:1rem}.info-card{border-radius:4px;box-shadow:none;background:#fafbf5;border-color:var(--line);padding:1.25rem}.info-card:hover{box-shadow:none;border-color:var(--rust);transform:translateY(-2px)}.info-card strong{color:var(--ink);font-family:Georgia,serif;font-weight:400;font-size:1.35rem}.info-card>span:last-child{color:var(--muted)}.card-kicker{color:var(--rust);font-size:.57rem}
.chapter-end{border-top:1px solid var(--line);margin-top:3rem;padding:1.5rem 0 .5rem}.chapter-end p{font:1.2rem/1.4 Georgia,serif}.chapter-end a{display:inline-block;margin-right:1.2rem;font-size:.67rem}.chapter-end a span{color:var(--rust)}
.md-footer{background:#183e3a}.md-footer-meta{background:#12312e}.md-footer__title{font-size:.77rem}.md-copyright{line-height:1.7}
/* Homepage: editorial cover, then distinct reading routes. */
.gs-home{margin-top:-1rem}.gs-hero{display:grid;grid-template-columns:1.1fr 1fr;gap:1.5rem;align-items:center;min-height:580px;padding:2rem 0 1.6rem}
.gs-hero .eyebrow{display:flex;align-items:center;gap:.6rem}.status-dot{width:7px;height:7px;border-radius:50%;background:var(--rust);display:inline-block}
.md-typeset .gs-hero h1{font-size:clamp(3rem,5.6vw,5.4rem);line-height:1.02;margin:.8rem 0 1.2rem;letter-spacing:-.065em}.gs-hero h1 em{font-weight:400;color:#6b8064}.gs-hero .hero-copy{font-size:.91rem;line-height:1.75;max-width:470px;color:var(--muted)}
.gs-hero .hero-actions{margin:1.7rem 0 1rem}.hero-note{font-size:.58rem!important;letter-spacing:.04em;color:var(--muted);max-width:440px}.gs-hero figure{margin:0}.gs-hero img{width:100%;display:block}.gs-hero figcaption{font-size:.55rem;text-align:right;color:var(--muted)}
.gs-index{display:flex;justify-content:space-between;gap:1rem;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:.75rem 0;font-size:.59rem;text-transform:uppercase;letter-spacing:.11em;margin-bottom:3rem}.gs-index span{color:var(--muted)}
.section-heading{display:flex;align-items:end;justify-content:space-between;gap:1.5rem;margin:2.3rem 0 1.4rem}.section-heading h2{margin:.4rem 0 0!important;font-size:2.3rem!important;max-width:650px}.section-heading p{max-width:320px;font-size:.75rem;color:var(--muted);line-height:1.65}
.route-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.1rem}.route-card{color:var(--ink)!important;background:#e8eddf;padding:1.5rem;min-height:235px;display:flex;flex-direction:column;justify-content:space-between;text-decoration:none!important;border:1px solid transparent;border-radius:4px}.route-card:nth-child(2){background:#f0e4d8}.route-card:nth-child(3){background:#e1ebe7}.route-card:hover{border-color:var(--ink)}.route-card .route-number{font-size:.59rem;letter-spacing:.1em;color:var(--muted)}.route-card h3{font:1.7rem/1.18 Georgia,serif;margin:1rem 0 .7rem}.route-card p{font-size:.73rem;line-height:1.65;margin:0}.route-card .route-arrow{margin-top:1.2rem;font-size:.65rem;font-weight:650}
.dark-panel{background:var(--ink);color:var(--paper);border-radius:5px;padding:2.5rem;margin:3.5rem 0;display:grid;grid-template-columns:1fr 1.15fr;gap:2.5rem}.dark-panel .eyebrow{color:#dfb58f}.dark-panel h2{color:var(--paper);font:2.15rem/1.16 Georgia,serif;margin:.65rem 0 1rem!important}.dark-panel p{color:#d6e1d3;font-size:.81rem}.dark-panel a{color:#e8be98!important}.signal-track{display:grid;grid-template-columns:1fr;align-content:center;gap:.7rem}.signal-step{display:flex;gap:1rem;border-top:1px solid #557168;padding:.9rem 0}.signal-step b{font:1.8rem Georgia,serif;color:#afc69d}.signal-step strong{display:block;font-size:.85rem}.signal-step span{display:block;color:#c7d6c9;font-size:.68rem;line-height:1.7;margin-top:.15rem}
.community-feature{display:grid;grid-template-columns:1.1fr 1fr;gap:2.4rem;margin:2rem 0 3.5rem;align-items:center}.community-feature>img{width:100%;height:360px;object-fit:cover;border-radius:4px}.community-feature h2{font-size:2.3rem;margin:.5rem 0 1rem}.community-feature p{color:var(--muted);font-size:.8rem}.stat-strip{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--line);padding-top:1rem;gap:1rem}.stat-strip strong{display:block;font:1.9rem Georgia,serif}.stat-strip span{font-size:.58rem;color:var(--muted);display:block;line-height:1.5;margin-top:.3rem}
.evidence-row{display:grid;grid-template-columns:120px 1fr auto;gap:1rem;padding:1.2rem 0;border-bottom:1px solid var(--line);align-items:start}.evidence-row strong{display:block;font-weight:600}.evidence-row p{font-size:.74rem;color:var(--muted);margin:.3rem 0!important}.evidence-row a{font-size:.7rem}.status-tag{font-size:.53rem;letter-spacing:.07em;text-transform:uppercase;border:1px solid #b5c8ac;background:#ecf2e5;color:#315537;border-radius:3px;padding:.2rem .35rem;display:inline-block;width:max-content}.status-tag.pending{border-color:#d4b394;background:#f5eadd;color:#814627}
/* Accessible learning stations. The text and truth table remain without JS. */
.learning-station{padding:1.6rem;border:1px solid var(--line);background:#edf1e6;border-radius:5px;margin:1.5rem 0}.learning-station h3{font:1.4rem Georgia,serif;margin:0 0 .6rem}.learning-station p{font-size:.78rem}.station-label{font-size:.58rem;text-transform:uppercase;letter-spacing:.1em;color:var(--rust);margin-bottom:1rem}.switch-row{display:flex;flex-wrap:wrap;gap:.7rem;margin:1.2rem 0}.switch-row button,.quiz-choices button{appearance:none;border:1px solid #6b8479;background:#fbfcf6;color:var(--ink);font:600 .73rem "Segoe UI",sans-serif;padding:.75rem 1rem;border-radius:4px;cursor:pointer}.switch-row button[aria-pressed=true]{background:var(--ink);color:white}.switch-row button:focus-visible,.quiz-choices button:focus-visible{outline:3px solid var(--rust);outline-offset:3px}.signal-result{border-left:4px solid #85987d;background:#fff;padding:.8rem 1rem;font-size:.8rem}.signal-result[data-active=true]{border-color:var(--rust);background:#fbf0e6}.station-explainer{font-size:.69rem!important;color:var(--muted)}
.weight-control{display:grid;gap:.5rem;font-size:.75rem;margin:1.2rem 0}.weight-control input{width:100%;accent-color:var(--ink);cursor:pointer;min-height:30px}.weight-labels{display:flex;justify-content:space-between;font-size:.65rem}.variant-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:.6rem;margin:1rem 0}.variant-card{background:#fafbf7;border:1px solid #cbd4c3;border-radius:4px;padding:.8rem;font-size:.68rem}.variant-card[data-winner=true]{outline:2px solid var(--rust);background:#fcf0e2}.variant-card strong{font:1.25rem Georgia,serif;display:block}.variant-card span{display:block;line-height:1.7}.variant-card .variant-score{font-weight:650;margin-top:.5rem;color:#814627}.quiz-choices{display:grid;gap:.6rem}.quiz-feedback{min-height:3rem;margin-top:1rem;font-size:.76rem}
.timeline{border-left:1px solid #a8ba9c;padding-left:1.2rem;margin:1.6rem 0}.timeline article{position:relative;padding:0 0 1.8rem}.timeline article:before{content:"";position:absolute;width:9px;height:9px;background:var(--rust);border-radius:50%;left:-1.45rem;top:.3rem}.timeline time{font-size:.62rem;color:var(--rust);letter-spacing:.06em}.timeline h3{margin:.3rem 0}.timeline p{margin:.35rem 0;font-size:.78rem;color:var(--muted)}
.photo-pair{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin:1.5rem 0}.photo-pair figure{margin:0}.photo-pair img{width:100%;height:240px;object-fit:contain;background:#e8eddf;border-radius:4px}.photo-pair figcaption{font-size:.62rem;color:var(--muted);line-height:1.6;text-align:left;padding-top:.5rem}
.md-typeset .person-card{border-radius:4px;background:#fafbf5}.md-typeset .person-card summary{background:#fafbf5}.person-name{font-family:Georgia,serif;font-size:1.2rem;font-weight:400}.person-hint{color:var(--rust)}
:focus-visible{outline:3px solid var(--rust);outline-offset:3px}.js-only[hidden]{display:none!important}
@media(min-width:1220px){body:has(.gs-home) .md-content{max-width:1200px;margin:auto}body:has(.gs-home) .md-content__inner{margin:0 1.2rem}}
@media(max-width:1000px){.gs-hero{min-height:0}.gs-hero h1{font-size:3.8rem!important}.route-grid{gap:.7rem}.dark-panel{gap:1.5rem;padding:1.7rem}.community-feature{gap:1.5rem}.section-heading h2{font-size:2rem!important}}
@media(max-width:760px){.gs-hero{grid-template-columns:1fr;padding-top:1rem;gap:0}.gs-hero h1{font-size:3.6rem!important;max-width:590px}.gs-hero figure{max-width:450px;margin:0 auto}.gs-hero .hero-copy{max-width:100%}.gs-index{flex-wrap:wrap;font-size:.52rem;gap:.6rem;margin-bottom:2rem}.route-grid{grid-template-columns:1fr}.route-card{min-height:170px}.route-card h3{font-size:1.6rem}.dark-panel,.community-feature{grid-template-columns:1fr;gap:1.4rem}.dark-panel{margin:2rem 0;padding:1.5rem}.community-feature>img{height:280px}.section-heading{display:block}.section-heading p{max-width:100%}.variant-grid{grid-template-columns:repeat(2,1fr)}.evidence-row{grid-template-columns:1fr;gap:.5rem}.photo-pair{grid-template-columns:1fr}.md-typeset h1{font-size:2.3em}.chapter-heading{flex-wrap:wrap;gap:.5rem}.chapter-end a{display:block;margin:.7rem 0}.gs-hero figcaption{text-align:center}.md-typeset{font-size:.8rem}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}*,*:before,*:after{animation:none!important;transition:none!important}}
@media print{.md-header,.md-tabs,.md-sidebar,.md-footer,.chapter-end,.md-content__button{display:none!important}.md-content{margin:0!important}.md-typeset{font-size:10pt}.gs-hero{min-height:0}.dark-panel{background:white;color:black;border:1px solid #999}.dark-panel h2,.dark-panel p,.dark-panel span{color:black}.report-table{overflow:visible}a{color:inherit!important}.learning-station{break-inside:avoid}}

/* Reading navigation: quiet, persistent context rather than a second document. */
.md-sidebar__scrollwrap{scrollbar-width:thin;scrollbar-color:#b4bfb0 transparent;overscroll-behavior-y:auto}
.md-nav__link{transition:color 160ms ease,background-color 160ms ease}
.md-nav--secondary .md-nav__link{padding:.18rem .45rem;margin-left:-.45rem;border-radius:3px}
.md-nav--secondary .md-nav__link--active{background:#e8eddf;color:var(--ink);box-shadow:inset 2px 0 var(--rust)}
@media(min-width:76.25em){
 .md-sidebar--primary{position:sticky;align-self:flex-start}
 .md-sidebar--primary .md-nav__link{padding:.16rem .4rem;margin-left:-.4rem;border-radius:3px}
 .md-sidebar--primary .md-nav__link--active{background:#e8eddf;box-shadow:inset 2px 0 var(--rust)}
}
@media(prefers-reduced-motion:no-preference){
 .md-content__inner{animation:chapter-arrive 260ms cubic-bezier(.2,.7,.2,1) both}
 @keyframes chapter-arrive{from{opacity:.35;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
}

/* Generated illustrations share a quiet caption system with clear provenance. */
.md-typeset .editorial-figure{margin:1.8rem 0 2.4rem;width:100%;max-width:none;text-align:left}
.editorial-figure img{display:block;width:100%;height:auto;border-radius:6px;border:1px solid var(--line);background:var(--paper)}
.md-typeset .editorial-figure figcaption{max-width:none;margin:.7rem 0 0;text-align:left;font-style:normal;display:grid;grid-template-columns:1fr 2fr;gap:1.2rem;line-height:1.6}
.editorial-figure figcaption strong{font-family:Georgia,serif;font-size:.9rem;font-weight:400;color:var(--ink)}
.editorial-figure figcaption span{font-size:.62rem;color:var(--muted)}
@media(max-width:600px){.md-typeset .editorial-figure figcaption{grid-template-columns:1fr;gap:.25rem}.md-typeset .editorial-figure{margin:1.3rem 0 1.8rem}}

/* Small diagrams remain real text: selectable, accessible and responsive. */
.md-typeset .route-icon{width:48px;height:48px;margin:0 0 1rem;align-self:flex-start}
.md-typeset .section-icon{width:36px;height:36px;margin:0 0 .4rem;align-self:flex-start}
.visual-flow{margin:2rem 0;padding:1.3rem;background:#eef1e7;border:1px solid var(--line);border-radius:6px}
.flow-heading{display:flex;flex-direction:column;gap:.4rem;margin-bottom:1.2rem}
.flow-heading>strong{font:1.25rem/1.35 Georgia,serif;font-weight:400}
.md-typeset .visual-flow ol.flow-grid{display:flex;gap:1.2rem;margin:0;padding:0;list-style:none}
.md-typeset .visual-flow ol.flow-grid>li{position:relative;flex:1;min-width:0;margin:0;padding:.8rem;background:var(--paper);border:1px solid var(--line);border-radius:4px}
.flow-grid>li:not(:last-child):after{content:'→';position:absolute;right:-1.12rem;top:2rem;color:var(--rust);font-size:1rem}
.flow-symbol{display:flex;align-items:center;justify-content:space-between;gap:.5rem}
.flow-symbol img{width:40px;height:40px}.flow-symbol span{font:.65rem Georgia,serif;color:var(--rust)}
.md-typeset .flow-grid h3{font-size:.77rem;line-height:1.4;margin:.7rem 0 .35rem}
.md-typeset .flow-grid p{font-size:.65rem;line-height:1.65;color:var(--muted);margin:0}
.md-typeset .flow-note{font-size:.61rem;line-height:1.6;color:var(--muted);margin:1rem 0 0}
@media(max-width:1000px){.md-typeset .visual-flow ol.flow-grid{flex-direction:column;gap:1.25rem}.flow-grid>li:not(:last-child):after{content:'↓';right:50%;top:auto;bottom:-1.3rem}.md-typeset .visual-flow ol.flow-grid>li{padding:1rem}.flow-symbol{justify-content:flex-start;gap:.8rem}}
