/* Bibliosophe : typographie système, espaces stables, aucun actif décoratif bloquant. */
:root{--bs-ink:#203b34;--bs-green:#183d35;--bs-paper:#faf8f2;--bs-muted:#52645d;--bs-line:#d8dfd4;--bs-gold:#d5b66c;--bs-white:#fff;--bs-radius:12px;color-scheme:light}
*,*::before,*::after{box-sizing:border-box}
html{scroll-padding-top:1rem;font-size:100%;background:var(--bs-paper)}
body.bibliosophe{margin:0;background:var(--bs-paper);color:var(--bs-ink);font:1.125rem/1.65 Georgia,'Times New Roman',serif;-webkit-font-smoothing:antialiased}
.bibliosophe :where(h1,h2,h3,h4,h5,h6,p,li,label,legend,figcaption,summary,blockquote){color:inherit}
.bibliosophe h1,.bibliosophe h2,.bibliosophe h3{font-family:Georgia,'Times New Roman',serif;font-weight:600;line-height:1.22;text-wrap:balance}
.bibliosophe h1{font-size:clamp(1.85rem,4.5vw,2.75rem);margin:.5rem 0 1rem;letter-spacing:-.025em}
.bibliosophe h2{font-size:clamp(1.4rem,3vw,1.9rem);margin:2rem 0 .75rem}
.bibliosophe h3{font-size:1.25rem;margin:1.6rem 0 .6rem}
.bibliosophe p{margin:0 0 1rem}
.bibliosophe a{color:#175648;text-decoration-thickness:1px;text-underline-offset:3px}
.bibliosophe a:hover{color:#0e322b;text-decoration-thickness:2px}
.bibliosophe :focus-visible{outline:3px solid #9a6014;outline-offset:4px}
.bibliosophe img{height:auto;max-width:100%;display:block}
.bibliosophe figure{display:block;width:100%;max-width:100%;min-width:0;margin:1.5rem 0}
.bs-entry figure>a{display:block;max-width:100%}
.bibliosophe figcaption{font-size:.9rem;color:var(--bs-muted)}
.bibliosophe ul,.bibliosophe ol{padding-left:1.4rem;margin:0 0 1.2rem}
.bibliosophe li{margin:.35rem 0}
.bibliosophe hr{border:0;border-top:1px solid var(--bs-line);margin:2rem 0}
.bibliosophe table{border-collapse:collapse;width:100%;font-size:1rem}
.bibliosophe th,.bibliosophe td{border:1px solid var(--bs-line);padding:.65rem;text-align:left}
.bibliosophe blockquote{margin:1.5rem 0;padding:.75rem 1.25rem;border-left:3px solid #bd9a50;background:#f0f0e5}
.bs-skip{position:absolute;z-index:100000;left:1rem;top:-10rem;background:#fff;padding:.7rem 1rem;color:var(--bs-ink)}
.bs-skip:focus{top:.75rem}
.bs-header{background:var(--bs-green);color:var(--bs-paper);border-bottom:3px solid var(--bs-gold)}
.bs-header :focus-visible{outline-color:#e3c97e}
.bs-header-inner{max-width:1200px;margin:0 auto;padding:.9rem 1.5rem;display:flex;align-items:center;justify-content:space-between;gap:1.25rem;min-height:88px}
.bibliosophe .bs-brand{display:flex;align-items:center;gap:.75rem;color:var(--bs-paper);text-decoration:none;flex-shrink:0}
.bs-brand img{width:48px;height:48px;object-fit:contain}
.bs-brand strong{display:block;font-size:1.6rem;line-height:1.15;letter-spacing:.015em}
.bs-brand small{display:block;font-size:.77rem;line-height:1.5;margin-top:.2rem;color:#e4e8df}
.bs-menu{font:600 .95rem/1.5 system-ui,-apple-system,'Segoe UI',sans-serif}
.bs-desktop-nav{display:flex;gap:.15rem;font:600 .95rem/1.5 system-ui,-apple-system,'Segoe UI',sans-serif}
.bs-desktop-nav a{display:block;padding:.6rem .75rem;color:var(--bs-paper);text-decoration:none;white-space:nowrap;border-radius:4px}
.bs-desktop-nav a:hover{background:#2c5246;color:#fff}
.bs-menu summary{padding:.5rem .75rem;border:1px solid #79978d;border-radius:6px;cursor:pointer;min-height:44px}
.bs-menu nav a{display:block;padding:.6rem .75rem;color:var(--bs-paper);text-decoration:none;white-space:nowrap;border-radius:4px}
.bs-menu nav a:hover,.bs-menu nav a[aria-current]{background:#2c5246;color:#fff}
.bs-main{min-height:60vh}
.bs-article{max-width:960px;margin:0 auto;padding:1.5rem 2rem 3rem}
.bs-article-header{margin:0 0 1.25rem}
.bs-breadcrumb{font:.78rem/1.5 system-ui,-apple-system,'Segoe UI',sans-serif;color:var(--bs-muted);margin-bottom:.75rem;overflow-wrap:anywhere}
.bs-breadcrumb a{color:var(--bs-muted)}
.bs-entry{overflow-wrap:break-word}
.bs-entry>p,.bs-entry>ul,.bs-entry>ol{max-width:78ch}
.bs-entry .aligncenter{margin-left:auto;margin-right:auto}
.bs-entry .wp-block-image img{max-width:min(100%,500px);width:100%;height:auto;margin-left:auto;margin-right:auto;object-fit:contain}
.bibliosophe .bs-entry .wp-block-image figure{display:block;width:100%;max-width:100%;min-width:0}
.bs-entry img[src*="-carte"]{aspect-ratio:1/2;object-fit:contain}
.bs-entry .wp-block-image img.tarot-card{max-width:240px;width:100%;height:auto;aspect-ratio:1/2;object-fit:contain}
.bs-entry .wp-block-columns{display:flex;gap:1.5rem;align-items:flex-start}
.bs-entry .wp-block-column{min-width:0;flex:1}
.bs-entry input,.bs-entry select,.bs-entry textarea,.bs-entry button,.search-form input,.search-form button{max-width:100%;font:inherit}
.bs-entry input:not([type=checkbox]):not([type=radio]):not([type=submit]),.bs-entry select,.bs-entry textarea,.search-form input{border:1px solid #81978c;border-radius:6px;background:#fff;color:var(--bs-ink);padding:.65rem .75rem;min-height:44px}
.bs-entry button,.bs-entry input[type=submit],.search-form button,.bibliosophe .wp-block-button__link{background:var(--bs-green);color:#fff;border:1px solid var(--bs-green);border-radius:7px;padding:.7rem 1rem;cursor:pointer;min-height:44px;font:600 1rem/1.4 system-ui,-apple-system,'Segoe UI',sans-serif;text-decoration:none;display:inline-block}
.bs-entry button:hover,.bs-entry input[type=submit]:hover{background:#2b5648}
.bibliosophe .bs-entry a.wp-block-button__link{color:#fff!important;background:var(--bs-green)}
.bibliosophe .bs-entry a.wp-block-button__link:hover{color:#fff!important;background:#2b5648}
.bs-entry textarea{width:100%;min-height:140px}
.bs-entry label{display:block;font:600 .95rem/1.5 system-ui,-apple-system,'Segoe UI',sans-serif;margin-bottom:.4rem}
.bs-entry .screen-reader-text,.bs-sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.bs-entry .biblio-combinaisons{background:#edf2e9;color:var(--bs-ink);border:1px solid #cbd9c7;border-radius:var(--bs-radius);padding:1.25rem;margin:1rem 0 1.5rem;font-family:Georgia,'Times New Roman',serif}
.bs-entry .biblio-combinaisons h2{margin:0 0 .5rem;font-size:1.4rem;color:var(--bs-ink)}
.bs-entry .biblio-combinaisons p{font-size:1rem;line-height:1.5;margin-bottom:.85rem;color:var(--bs-ink)}
.bs-entry .biblio-card-fields{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
.bs-entry .biblio-card-fields label{margin:0 0 .35rem}
.bs-entry .biblio-card-fields select{width:100%;font:1rem/1.3 system-ui,-apple-system,'Segoe UI',sans-serif;background:#fff;color:var(--bs-ink)}
.bs-entry .biblio-form-actions{display:flex;flex-wrap:wrap;gap:.65rem;margin-top:1rem}
.bs-entry .biblio-form-actions button{font-size:.95rem}
.bs-entry .biblio-form-actions .biblio-swap{background:transparent;border-color:#557263;color:#203b34}
.bs-entry .biblio-form-note{margin:.75rem 0 0;font-size:.875rem;line-height:1.45}
.bs-entry .biblio-form-status{margin:.8rem 0 0;font:600 1rem/1.5 system-ui,sans-serif;color:#8c2618}
.bs-entry .biblio-reading{font:inherit;max-width:none;padding:0;color:var(--bs-ink)}
.bs-entry .biblio-reading p,.bs-entry .biblio-reading li{color:var(--bs-ink)}
.bs-entry .biblio-example{background:#edf2e9;border-left:3px solid #668d65;padding:1rem 1.25rem;color:var(--bs-ink)}
.bs-entry .biblio-example p{color:var(--bs-ink)}
.bs-entry .biblio-reading a{color:#175648}
.bs-entry .ez-toc-container{font-size:.95rem;max-width:100%}
.bs-toc{border:1px solid var(--bs-line);border-radius:8px;padding:.6rem 1rem;margin:1rem 0 1.5rem;font: .95rem/1.6 system-ui,sans-serif}
.bs-toc summary{cursor:pointer;font-weight:600;min-height:30px}
.bs-toc ol{margin-top:.6rem}
.bs-engine-page .ez-toc-container{display:none!important}
.bs-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin:1.5rem 0}
.bibliosophe .bs-link-card{padding:1.25rem;border:1px solid var(--bs-line);border-radius:var(--bs-radius);background:#fff;color:var(--bs-ink)}
.bs-link-card h2{font-size:1.25rem;margin:0 0 .5rem}
.bs-link-card p{font-size:1rem;line-height:1.6;margin:0}
.bs-eyebrow{font:600 .8rem/1.5 system-ui,sans-serif;text-transform:uppercase;letter-spacing:.13em;color:#6b5a32}
.bs-draw{border:1px solid #cbd9c7;border-radius:var(--bs-radius);background:#edf2e9;padding:1.25rem;margin:1rem 0 1.5rem}
.bs-draw form{margin:.75rem 0}
.bs-draw-result{margin-top:1.5rem;padding-top:1.25rem;border-top:1px solid #bdcfb8}
.bs-draw-result h2{margin-top:.5rem}
.bs-draw-answer{display:inline-block;padding:.35rem .75rem;border:1px solid #63845d;border-radius:6px;background:#fff;font:600 1.1rem/1.5 system-ui,sans-serif;color:var(--bs-green)}
.bs-footer{border-top:1px solid var(--bs-line);background:#eef0e7;color:var(--bs-ink);font: .95rem/1.6 system-ui,-apple-system,'Segoe UI',sans-serif}
.bs-footer-inner{max-width:1120px;margin:0 auto;padding:2rem 1.5rem;display:grid;grid-template-columns:1fr 1fr;gap:2rem}
.bibliosophe .bs-footer-brand{font:600 1.4rem/1.4 Georgia,serif;color:var(--bs-green);text-decoration:none}
.bs-footer-inner p{max-width:42ch;margin:.5rem 0 0;font-size:.9rem}
.bs-footer nav{display:grid;grid-template-columns:1fr 1fr;align-content:start;gap:.65rem 1rem}
.bs-footer nav a{color:var(--bs-green)}
.bs-footer-note{max-width:1120px;margin:0 auto!important;padding:0 1.5rem 1.5rem;color:var(--bs-muted);font-size:.8rem}
.bibliosophe [hidden]{display:none!important}
@media(min-width:800px){.bs-menu{display:none}}
@media(max-width:799px){.bs-desktop-nav{display:none}}
@media(max-width:799px){.bs-header-inner{min-height:72px;padding:.65rem 1rem;gap:.5rem;position:relative}.bs-brand img{width:40px;height:40px}.bs-brand strong{font-size:1.3rem}.bs-brand small{font-size:.64rem}.bs-menu nav{position:absolute;left:0;right:0;top:100%;background:var(--bs-green);padding:.75rem 1rem;z-index:100;border-bottom:2px solid var(--bs-gold)}.bs-menu[open] nav{display:grid}.bs-article{padding:1rem 1rem 2.5rem}.bs-article-header{margin-bottom:.75rem}.bs-breadcrumb{font-size:.72rem}.bibliosophe h1{margin:.35rem 0 .75rem}.bs-entry .biblio-combinaisons{padding:1rem;margin:.75rem 0 1.25rem}.bs-entry .biblio-card-fields{grid-template-columns:1fr;gap:.75rem}.bs-entry .biblio-form-note{font-size:.8rem}.bs-card-grid{grid-template-columns:1fr}.bs-footer-inner{grid-template-columns:1fr;gap:1.25rem}.bs-footer nav{grid-template-columns:1fr 1fr}}
@media(max-width:359px){.bs-brand small{display:none}.bs-brand img{width:34px;height:34px}.bs-brand strong{font-size:1.15rem}.bs-header-inner{min-height:64px}.bs-article{padding-left:.8rem;padding-right:.8rem}.bs-entry .biblio-form-actions{display:grid}.bs-entry .biblio-form-actions button{width:100%}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important}}
@media(max-width:699px){.bs-entry .wp-block-columns{display:block}.bs-entry .wp-block-column{width:100%}}

/* Parcours et références communes — lot P2a. */
.bs-paths{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin:1.2rem 0}
.bs-paths>section{background:#edf2e9;border:1px solid #cbd9c7;border-radius:10px;padding:1.15rem;min-width:0}
.bs-paths h3{margin-top:0}.bs-paths p{font-size:1rem;line-height:1.6}
.bs-entry a.bs-button{display:inline-block;background:#183d35;color:#fff;padding:.7rem .9rem;border-radius:7px;font:600 1rem/1.4 system-ui,sans-serif;text-decoration:none;min-height:44px}
.bs-entry a.bs-button:hover{background:#2b5648;color:#fff}
.bs-link-columns{columns:2;column-gap:2rem}.bs-link-columns li{break-inside:avoid;margin-bottom:.65rem}
.bs-association-group{border-bottom:1px solid #cbd9c7;padding:.8rem 0}
.bs-association-group summary{cursor:pointer;font-weight:bold;min-height:44px;padding:.45rem 0}
.bs-hub-form{background:#edf2e9;border:1px solid #cbd9c7;border-radius:10px;padding:1rem;margin:1rem 0 1.5rem}
.bs-hub-form select{width:100%;max-width:35rem;margin:.25rem .5rem .75rem 0}
.bs-positions dt{font-weight:bold;margin-top:.75rem}.bs-positions dd{margin:.2rem 0 .8rem}
.bs-engine-page .biblio-reading:first-child>p{font-size:1rem;line-height:1.5;margin-bottom:.5rem}
.bs-entry .biblio-combinaisons #biblio-form-help{font-size:.85rem;margin-top:.8rem;margin-bottom:.35rem}
@media(max-width:799px){.bs-paths{grid-template-columns:1fr}.bs-link-columns{columns:1}}
@media(max-width:359px){.bs-engine-page h1{font-size:1.65rem}}

/* Index natif des 78 cartes. Les liens restent visibles sans JavaScript. */
.bs-card-search{background:#edf2e9;border:1px solid #cbd9c7;border-radius:10px;padding:1rem;margin:1rem 0}
.bs-card-search-ready .bs-card-search[hidden]{display:block!important}
.bs-card-search input{width:100%}.bs-card-search p{font-size:.9rem;margin:.5rem 0 0}
.bs-card-index-nav ul{display:flex;flex-wrap:wrap;gap:.4rem 1.5rem;list-style:none;padding:0}
.bs-card-index-nav a{display:inline-block;min-height:44px;padding:.5rem 0}
.bs-card-index-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;list-style:none!important;padding:0!important}
.bs-card-index-list>li{border:1px solid #d8dfd4;border-radius:8px;padding:1rem;background:#fff;min-width:0;margin:0}
.bs-card-index-list h3{margin:0 0 .4rem}.bs-card-index-list p{font-size:.95rem;line-height:1.5;margin:.4rem 0}
.bs-card-index-rank{font-family:system-ui,sans-serif;color:var(--bs-muted)}
@media(max-width:599px){.bs-card-index-list{grid-template-columns:1fr}}

/* Associations : contextes natifs et exemple toujours identifié comme fictif. */
.bs-duo-example{background:#edf2e9;border:1px solid #cbd9c7;border-radius:10px;padding:1.25rem;margin:1.5rem 0}
.bs-duo-example h2{margin-top:0}.bs-duo-example p:last-child{margin-bottom:0}
.bs-duo-context{border-bottom:1px solid #cbd9c7;padding:.6rem 0}
.bs-duo-context summary{cursor:pointer;font-weight:bold;min-height:44px;padding:.45rem 0}
.bs-duo-context p{margin:.5rem 0}
