#demo-guide, .demo-nav, .demo-shell, .demo-modal-notice {
  font-family: "Source Sans 3", system-ui, sans-serif;
}
#demo-guide {
  position: sticky;
  inset-block-start: 0;
  z-index: 100;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .4rem 1.5rem;
  padding: .65rem clamp(.85rem, 4vw, 3rem);
  background: #173e35;
  color: white;
  line-height: 1.35;
  font-size: .94rem;
}
#demo-guide div, .demo-start, .demo-nav { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; }
#demo-guide div:empty, #demo-guide output:empty { display: none; }
#demo-guide output { flex-basis: 100%; }
#demo-guide button, .demo-start button {
  font: inherit;
  cursor: pointer;
  border: 1px solid #a4c6b9;
  border-radius: .4rem;
  color: white;
  background: transparent;
  padding: .32rem .7rem;
}
.demo-tagline{font-weight:400}.demo-wordmark{letter-spacing:-.025em}
#demo-guide button:hover, #demo-guide button:focus-visible { background: #2d5b50; }
.demo-nav {
  gap: .4rem 1.3rem;
  padding: .6rem clamp(.85rem, 4vw, 3rem);
  background: #e9f1ec;
}
.demo-nav {display:block;}
.demo-paths,.demo-other>div{display:flex;gap:.25rem .9rem;flex-wrap:wrap;align-items:center}
.demo-paths a,.demo-other a,.demo-other summary{min-height:40px;display:inline-flex;align-items:center}
.demo-paths a{font-weight:650}
.demo-other summary{display:list-item;cursor:pointer;padding-block:.35rem;min-height:34px}
.demo-task-hint{margin:0;padding:.65rem clamp(.85rem,4vw,3rem);background:#f5f2e6;border-bottom:1px solid #c4d3c7;color:#203f35;font:1rem/1.45 system-ui,sans-serif}
body:has(#demo-guide) #manage-link,body:has(#demo-guide) #manage,body:has(#demo-guide) a[hidden]{display:none!important}
body:has(#demo-guide) .pkg-intro{display:block}
@media(max-width:480px){#demo-guide{position:static;padding:.6rem .85rem}.demo-nav{padding-block:.15rem}.demo-paths{align-items:stretch}.demo-paths a{min-height:44px}.demo-other summary{min-height:40px}}
.demo-nav a, .demo-main a { color: #1a4d3c; text-underline-offset: .18em; }
.demo-shell { margin: 0; color: #203f35; background: #f8f7f1; }
.demo-main { max-width: 41rem; margin: 8vh auto; padding: 0 1.3rem; }
.demo-main h1 { font: 500 clamp(2.3rem, 7vw, 4rem)/1.06 Georgia, serif; }
.demo-main p { font-size: 1.12rem; line-height: 1.55; }
.demo-start { gap: .75rem; margin: 1.6rem 0; }
.demo-start button { background: #235641; padding: .65rem 1.4rem; }
.demo-modal-notice { color: #235641; font-weight: bold; }
/* Keep unavailable modules out of the audited core pages. The HTTP allowlist is authoritative. */
body:has(#demo-guide) :is(a[href*="paiement.html"], a[href*="terrain.html"], a[href*="compte.html"],
  a[href*="pilotage.html"], a[href*="avis.html"], #billing, #field, #calendar, #add-source,
  #edit-property, #add-property, #first-property, #source-list .tools, #photos details,
  [data-action="logout"], #profile-form, a[href="#profile"]) { display: none !important; }
@media print {
  body > #demo-guide { display: block !important; position: static; color: black; background: white; }
  #demo-guide div, #demo-guide output, .demo-nav { display: none !important; }
}
