/* Styles propres au graphique. Les coordonnées sont dans le HTML. */
.rr-page {
  margin: 0;
  background: #fff;
  color: #28332d;
  font-family: Calibri, "Carlito", "Segoe UI", Arial, sans-serif;
}
.rr-main { max-width: 1260px; margin: 0 auto; padding: 30px 24px 0; }
.rr-heading { text-align: center; }
.rr-heading h1 {
  max-width: 1060px;
  margin: 0 auto 12px;
  color: #df6b18;
  font-size: clamp(21px, 2.2vw, 30px);
  font-weight: 600;
  line-height: 1.2;
  text-transform: uppercase;
}
.rr-date { margin: 0; color: #38463f; font-size: 15px; line-height: 1.5; }
.rr-date span { color: #66716b; font-size: 14px; }
.rr-figure { margin: 24px 0 0; }
.rr-figure figcaption { color: #626d66; text-align: center; font-size: 14px; }
.rr-scroll { overflow-x: auto; overscroll-behavior-x: contain; margin-top: 14px; }
.rr-scroll:focus-visible { outline: 2px solid #496048; outline-offset: 2px; }
#rr-graphique { display: block; width: 100%; min-width: 880px; height: auto; font-family: inherit; }
.rr-grid { fill: none; stroke: #d6d9d5; stroke-width: 1; }
.rr-axis { fill: none; stroke: #f47721; stroke-width: 2.8; }
.rr-diagonal { fill: none; stroke: #aaa8a8; stroke-width: 2.5; }
.rr-axis-title { fill: #ee701b; font-size: 23px; font-weight: 400; }
.rr-axis-label { fill: #db6011; font-size: 15px; }
.rr-liquide { --rr-fill: #7b9e60; --rr-stroke: #6f9355; }
.rr-moins-liquide { --rr-fill: #cda841; --rr-stroke: #c99b29; }
.rr-peu-liquide { --rr-fill: #db8045; --rr-stroke: #d5712f; }
.rr-pas-liquide { --rr-fill: #db3934; --rr-stroke: #c8211e; }
.rr-contour { --rr-fill: #fff; --rr-stroke: #295524; }
.rr-bubble { cursor: pointer; outline: none; }
.rr-bubble-shape { fill: var(--rr-fill); stroke: var(--rr-stroke); stroke-width: 1.2; }
.rr-outlined .rr-bubble-shape { stroke: #295524; stroke-width: 4.5; }
.rr-bubble-label { fill: white; font-size: 12px; font-weight: 700; pointer-events: none; }
.rr-focus-ring { fill: none; stroke: #192f42; stroke-width: 2; stroke-dasharray: 3 3; opacity: 0; }
.rr-bubble:hover .rr-focus-ring,
.rr-bubble:focus-visible .rr-focus-ring,
.rr-bubble.is-selected .rr-focus-ring { opacity: 1; }
.rr-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  margin: 0 auto;
  padding: 14px 0 16px;
  border-top: 1px solid #edf0eb;
  border-bottom: 1px solid #edf0eb;
}
.rr-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 0;
  border: 0;
  background: transparent;
  color: #354333;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
  text-align: left;
}
.rr-legend-dot { width: 29px; height: 24px; flex: 0 0 29px; border: 1px solid var(--rr-stroke); border-radius: 50%; background: var(--rr-fill); box-sizing: border-box; }
.rr-contour .rr-legend-dot { border-width: 4px; }
.rr-legend-item:hover span:last-child,
.rr-legend-item.is-selected span:last-child { text-decoration: underline; }
.rr-legend-item:focus-visible { outline: 2px solid #192f42; outline-offset: 5px; border-radius: 2px; }
.rr-note { max-width: 1080px; margin: 21px auto 0; color: #5a645e; font-size: 14px; line-height: 1.6; }
.rr-footer { padding: 27px 16px; color: #737b75; text-align: center; font-size: 12px; letter-spacing: 0.04em; }
.rr-detail {
  position: fixed;
  z-index: 10002;
  box-sizing: border-box;
  width: 350px;
  max-width: calc(100vw - 24px);
  max-height: calc(100dvh - 100px);
  overflow-y: auto;
  padding: 23px;
  border: 1px solid #dbc3a0;
  border-radius: 10px;
  background: #fffbf2;
  box-shadow: 0 12px 40px rgb(45 42 27 / 18%);
  outline: none;
}
.rr-detail[hidden], .rr-error[hidden] { display: none; }
.rr-detail-category { margin: 0 35px 7px 0; color: #7b612d; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.rr-detail h2 { margin: 0 16px 12px 0; color: #2f372f; font-size: 21px; line-height: 1.2; }
.rr-detail p:last-child { margin: 0; color: #4c574e; font-size: 15px; line-height: 1.5; }
.rr-detail-close { position: absolute; top: 7px; right: 7px; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #625944; font: inherit; font-size: 26px; cursor: pointer; }
.rr-detail-close:hover { background: #f1e6d3; }
.rr-detail-close:focus-visible { outline: 2px solid #192f42; outline-offset: 1px; }
.rr-error { padding: 16px; color: #982323; background: #fff0ec; border: 1px solid #d58978; }
.rr-mobile-hint { display: none; }
@media (max-width: 927px) {
  .rr-main { padding: 24px 16px 0; }
  .rr-mobile-hint { display: block; margin: 10px 0 0; color: #778075; text-align: center; font-size: 12px; }
  .rr-legend { gap: 4px 18px; justify-content: flex-start; }
}
@media (max-width: 600px) {
  .rr-detail { width: calc(100vw - 24px); max-height: 60dvh; }
}
@media print {
  #previ-navigation, .rr-detail, .rr-mobile-hint, .rr-figure figcaption { display: none !important; }
  .rr-main { padding: 0; }
  .rr-scroll { overflow: visible; }
  #rr-graphique { min-width: 0; }
  .rr-page { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
}
