/* Pages publiques du plugin : compléments au système de design (assets/shared/oav-design.css,
   généré depuis la page locale et cantonné à .oav-root). */

/* Le thème du site ne doit pas déborder dans les pages : fond, police, boutons. */
.oav-root { background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 15px; line-height: 1.5; padding-block: 8px 24px; border-radius: 8px; }
.oav-root * { box-sizing: border-box; }
.oav-root button, .oav-root select, .oav-root input { font-family: inherit; text-transform: none; letter-spacing: normal; box-shadow: none; }
.oav-root a { text-decoration: none; }
.oav-root h1, .oav-root h2, .oav-root h3, .oav-root h4 { margin: 0; letter-spacing: normal; text-transform: none; font-family: var(--font-body); }
.oav-root .head h1, .oav-root .sec-head h2, .oav-root .camp .b { font-family: var(--font-cond); }
.oav-root table { margin: 0; border: 0; }
.oav-root .wrap { max-width: 1240px; }

/* Les barres collantes de la page locale ne le sont pas dans une page de site (en-têtes fixes). */
.oav-root .rcontrols { position: static; }

.oav-back { padding-block: 8px 0; }
.oav-filters { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: end; padding-block: 12px; }
.oav-filters select, .oav-filters input[type="date"] { min-width: 120px; }
.oav-check { display: flex; align-items: center; gap: 8px; font-size: 14px; padding-bottom: 6px; cursor: pointer; }
.oav-check input { width: 17px; height: 17px; accent-color: var(--ink); }
.oav-root .clist { margin-top: 8px; }

/* Présentation du projet ([oav_presentation]) : texte de lecture. */
.oav-doc .wrap { max-width: 860px; display: grid; gap: 14px; padding-block: 16px; }
.oav-doc h1, .oav-doc h2 { font-family: var(--font-cond); font-weight: 600; text-wrap: balance; }
.oav-doc h1 { font-size: 30px; }
.oav-doc h2 { font-size: 22px; margin-top: 14px; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.oav-doc h3 { font-size: 17px; margin-top: 6px; }
.oav-doc p, .oav-doc ul, .oav-doc ol { margin: 0; font-size: 16px; line-height: 1.6; max-width: 72ch; }
.oav-doc ul, .oav-doc ol { padding-left: 1.3em; display: grid; gap: 6px; }
.oav-doc a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.oav-doc code { font-family: var(--font-mono); font-size: 0.9em; background: var(--surface-2); padding: 1px 5px; border-radius: 4px; }
.oav-doc table { background: var(--surface); border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--ring); }
.oav-doc td { white-space: normal; font-size: 14px; }
.oav-doc em { color: var(--ink-2); }
/* Figures wider than the text column (diagrams drawn at 1352 px), centred on it. */
.oav-doc .oav-figure { width: min(1240px, calc(100vw - 32px)); margin: 6px calc(50% - min(620px, 50vw - 16px)); }
.oav-doc .oav-figure img { display: block; width: 100%; height: auto; border-radius: var(--r); }
