/*! tailwindcss v4.1.3 | MIT License | https://tailwindcss.com */
@layer properties {
  @supports (((-webkit-hyphens: none)) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
    *, :before, :after, ::backdrop {
      --tw-border-style: solid;
      --tw-blur: initial;
      --tw-brightness: initial;
      --tw-contrast: initial;
      --tw-grayscale: initial;
      --tw-hue-rotate: initial;
      --tw-invert: initial;
      --tw-opacity: initial;
      --tw-saturate: initial;
      --tw-sepia: initial;
      --tw-drop-shadow: initial;
      --tw-drop-shadow-color: initial;
      --tw-drop-shadow-alpha: 100%;
      --tw-drop-shadow-size: initial;
    }
  }
}

@layer theme {
  :root, :host {
    --font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    --color-gray-100: oklch(.967 .003 264.542);
    --default-font-family: var(--font-sans);
    --default-font-feature-settings: var(--font-sans--font-feature-settings);
    --default-font-variation-settings: var(--font-sans--font-variation-settings);
    --default-mono-font-family: var(--font-mono);
    --default-mono-font-feature-settings: var(--font-mono--font-feature-settings);
    --default-mono-font-variation-settings: var(--font-mono--font-variation-settings);
    --color-primary: oklch(.205 0 0);
    --color-border: oklch(.922 0 0);
  }
}

@layer base {
  *, :after, :before, ::backdrop {
    box-sizing: border-box;
    border: 0 solid;
    margin: 0;
    padding: 0;
  }

  ::file-selector-button {
    box-sizing: border-box;
    border: 0 solid;
    margin: 0;
    padding: 0;
  }

  html, :host {
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    line-height: 1.5;
    font-family: var(--default-font-family, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
    font-feature-settings: var(--default-font-feature-settings, normal);
    font-variation-settings: var(--default-font-variation-settings, normal);
    -webkit-tap-highlight-color: transparent;
  }

  body {
    line-height: inherit;
  }

  hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
  }

  abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
  }

  h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
  }

  a {
    color: inherit;
    -webkit-text-decoration: inherit;
    -webkit-text-decoration: inherit;
    text-decoration: inherit;
  }

  b, strong {
    font-weight: bolder;
  }

  code, kbd, samp, pre {
    font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
    font-feature-settings: var(--default-mono-font-feature-settings, normal);
    font-variation-settings: var(--default-mono-font-variation-settings, normal);
    font-size: 1em;
  }

  small {
    font-size: 80%;
  }

  sub, sup {
    vertical-align: baseline;
    font-size: 75%;
    line-height: 0;
    position: relative;
  }

  sub {
    bottom: -.25em;
  }

  sup {
    top: -.5em;
  }

  table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
  }

  :-moz-focusring {
    outline: auto;
  }

  progress {
    vertical-align: baseline;
  }

  summary {
    display: list-item;
  }

  ol, ul, menu {
    list-style: none;
  }

  img, svg, video, canvas, audio, iframe, embed, object {
    vertical-align: middle;
    display: block;
  }

  img, video {
    max-width: 100%;
    height: auto;
  }

  button, input, select, optgroup, textarea {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    opacity: 1;
    background-color: #0000;
    border-radius: 0;
  }

  ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    opacity: 1;
    background-color: #0000;
    border-radius: 0;
  }

  :where(select:is([multiple], [size])) optgroup {
    font-weight: bolder;
  }

  :where(select:is([multiple], [size])) optgroup option {
    padding-inline-start: 20px;
  }

  ::file-selector-button {
    margin-inline-end: 4px;
  }

  ::placeholder {
    opacity: 1;
    color: currentColor;
  }

  @supports (color: color-mix(in lab, red, red)) {
    ::placeholder {
      color: color-mix(in oklab, currentColor 50%, transparent);
    }
  }

  textarea {
    resize: vertical;
  }

  ::-webkit-search-decoration {
    -webkit-appearance: none;
  }

  ::-webkit-date-and-time-value {
    min-height: 1lh;
    text-align: inherit;
  }

  ::-webkit-datetime-edit {
    display: inline-flex;
  }

  ::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
  }

  ::-webkit-datetime-edit {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-year-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-month-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-day-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-hour-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-minute-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-second-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-millisecond-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-meridiem-field {
    padding-block: 0;
  }

  :-moz-ui-invalid {
    box-shadow: none;
  }

  button, input:where([type="button"], [type="reset"], [type="submit"]) {
    appearance: button;
  }

  ::file-selector-button {
    appearance: button;
  }

  ::-webkit-inner-spin-button {
    height: auto;
  }

  ::-webkit-outer-spin-button {
    height: auto;
  }

  [hidden]:where(:not([hidden="until-found"])) {
    display: none !important;
  }

  * {
    border-color: oklch(.922 0 0);
    outline-color: color-mix(in oklab, oklch(.708 0 0) 50%, transparent);
  }

  body {
    background-color: oklch(1 0 0);
    color: oklch(.145 0 0);
  }
}

@layer utilities {
  .visible {
    visibility: visible;
  }

  .flex {
    display: flex;
  }

  .hidden {
    display: none;
  }

  .inline-block {
    display: inline-block;
  }

  .h-full {
    height: 100%;
  }

  .w-full {
    width: 100%;
  }

  .resize {
    resize: both;
  }

  .items-center {
    align-items: center;
  }

  .justify-center {
    justify-content: center;
  }

  .border {
    border-style: var(--tw-border-style);
    border-width: 1px;
  }

  .bg-gray-100 {
    background-color: var(--color-gray-100);
  }

  .text-center {
    text-align: center;
  }

  .align-middle {
    vertical-align: middle;
  }

  .filter {
    filter: var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, );
  }
}

:root {
  --color-modus-green: #006b54;
  --color-modus-green-light: #00916f;
  --color-modus-green-dark: #004d3d;
  --color-geneve-red: #c8102e;
  --color-geneve-yellow: #fcdd09;
  --color-primary: #006b54;
  --color-primary-hover: #004d3d;
  --color-accent: #c8102e;
  --color-accent-light: #e6385a;
  --color-warning: #fcdd09;
  --color-chart-1: #1b4079;
  --color-chart-2: #4d7c8a;
  --color-chart-3: #7f9c96;
  --color-chart-4: #8fad88;
  --color-chart-5: #cbdf90;
  --color-chart-6: gold;
  --color-chart-7: #ff6b6b;
  --color-chart-8: #4ecdc4;
  --color-status-en-cours: #00916f;
  --color-status-termine: #004d3d;
  --color-status-planifie: #006b54;
  --color-status-idee: #fcdd09;
  --color-status-incertain: #95a5a6;
  --color-status-suspendu: #7f8c8d;
  --color-text-primary: #2c3e50;
  --color-text-secondary: #555;
  --color-text-light: #7f8c8d;
  --color-border: #e0e0e0;
  --color-bg-light: #f5f5f5;
  --color-bg-white: white;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  color: #2c3e50;
  background-color: #f5f5f5;
  font-family: system-ui, -apple-system, sans-serif;
  line-height: 1.6;
}

.app {
  min-height: 100vh;
}

.header {
  background: #fff;
  border-bottom: 1px solid #e0e0e0;
  width: 100%;
}

.header-inner {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
  display: flex;
}

.header-logos {
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 1rem;
  display: flex;
}

.header-logo {
  object-fit: contain;
  opacity: .8;
  width: auto;
  height: 28px;
  transition: opacity .2s;
}

.header-logo:hover {
  opacity: 1;
}

.header-content {
  text-align: left;
  flex: 1;
}

.header h1 {
  color: #2c3e50;
  margin-bottom: .2rem;
  font-size: 1.5rem;
  font-weight: 600;
}

.subtitle {
  color: #7f8c8d;
  font-size: .85rem;
}

.mobile-stats-message {
  text-align: center;
  border: 2px dashed var(--color-border);
  background: #fff;
  border-radius: 12px;
  margin-top: 2rem;
  padding: 2rem;
  display: none;
}

.mobile-stats-message svg {
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.mobile-stats-message h3 {
  color: var(--color-text-primary);
  margin-bottom: .5rem;
  font-size: 1.1rem;
}

.mobile-stats-message p {
  color: var(--color-text-secondary);
  font-size: .95rem;
}

.tabs {
  background: #fff;
  border-bottom: 1px solid #e0e0e0;
  justify-content: center;
  padding: 0 1rem;
  display: flex;
}

.tab {
  cursor: pointer;
  color: #7f8c8d;
  background: none;
  border: none;
  border-bottom: 3px solid #0000;
  padding: .65rem 1.75rem;
  font-size: .95rem;
  transition: all .2s;
}

.tab:hover {
  color: #2c3e50;
}

.tab.active {
  color: #3489db;
  border-bottom-color: #3489db;
}

.main-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.filter-bar {
  background: #fff;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  padding: 1rem;
  box-shadow: 0 1px 3px #0000000d;
}

.filter-toggle-btn {
  display: none;
}

.filter-bar-content {
  flex-direction: column;
  gap: .75rem;
  display: flex;
}

.filter-bar-top {
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem;
  display: flex;
}

.filters {
  flex-wrap: wrap;
  flex: 1;
  gap: .75rem;
  min-width: 0;
  display: flex;
}

.clear-all-btn {
  cursor: pointer;
  color: #2c3e50;
  white-space: nowrap;
  background: #ecf0f1;
  border: none;
  border-radius: 6px;
  flex-shrink: 0;
  height: 36px;
  padding: .5rem 1rem;
  font-size: .85rem;
  transition: all .2s;
}

.multi-select {
  flex: 1;
  min-width: 140px;
  max-width: 200px;
  position: relative;
}

.multi-select-header {
  justify-content: space-between;
  align-items: center;
  gap: .5rem;
  margin-bottom: .4rem;
  display: flex;
}

.multi-select label {
  color: #555;
  margin: 0;
  font-size: .8rem;
  font-weight: 500;
  display: block;
}

.filter-reset-btn {
  color: #95a5a6;
  cursor: pointer;
  opacity: .6;
  background: none;
  border: none;
  border-radius: 3px;
  justify-content: center;
  align-items: center;
  padding: 2px;
  transition: all .2s;
  display: flex;
}

.filter-reset-btn:hover {
  color: #7f8c8d;
  opacity: 1;
  background: #f8f9fa;
}

.multi-select-dropdown {
  position: relative;
}

.multi-select-summary {
  cursor: pointer;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  justify-content: space-between;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1rem;
  font-size: .9rem;
  transition: border-color .2s;
  display: flex;
}

.multi-select-summary:hover {
  border-color: #3489db;
}

.multi-select-summary .chevron {
  color: #95a5a6;
  flex-shrink: 0;
  transition: transform .2s;
}

.multi-select-summary .chevron.open {
  transform: rotate(180deg);
}

.multi-select-options {
  z-index: 10;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  max-height: 300px;
  padding: .5rem;
  position: absolute;
  top: calc(100% + .25rem);
  left: 0;
  right: 0;
  overflow-y: auto;
  box-shadow: 0 4px 12px #0000001a;
}

.multi-select-option {
  cursor: pointer;
  border-radius: 4px;
  align-items: center;
  padding: .5rem;
  font-size: .9rem;
  transition: background .2s;
  display: flex;
}

.multi-select-option:hover {
  background: #f8f9fa;
}

.multi-select-option input {
  cursor: pointer;
  margin-right: .5rem;
}

.multi-select-option span {
  -webkit-user-select: none;
  user-select: none;
}

.simple-select {
  flex: 1;
  min-width: 140px;
  max-width: 200px;
}

.simple-select-header {
  justify-content: space-between;
  align-items: center;
  gap: .5rem;
  margin-bottom: .4rem;
  display: flex;
}

.simple-select label {
  color: #555;
  margin: 0;
  font-size: .8rem;
  font-weight: 500;
}

.simple-select select {
  cursor: pointer;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  width: 100%;
  padding: .6rem .75rem;
  font-size: .9rem;
  transition: border-color .2s;
}

.simple-select select:hover {
  border-color: #3489db;
}

.simple-select select:focus {
  border-color: #3489db;
  outline: none;
  box-shadow: 0 0 0 3px #3489db1a;
}

.search-box {
  flex: 0 180px;
  min-width: 160px;
  position: relative;
}

.search-icon {
  color: #95a5a6;
  pointer-events: none;
  position: absolute;
  top: 50%;
  left: .75rem;
  transform: translateY(-50%);
}

.search-box input {
  border: 1px solid #ddd;
  border-radius: 6px;
  width: 100%;
  height: 36px;
  padding: .6rem 2.5rem;
  font-size: .9rem;
  transition: border-color .2s;
}

.search-clear-btn {
  color: #95a5a6;
  cursor: pointer;
  background: none;
  border: none;
  border-radius: 3px;
  justify-content: center;
  align-items: center;
  padding: 4px;
  transition: all .2s;
  display: flex;
  position: absolute;
  top: 50%;
  right: .75rem;
  transform: translateY(-50%);
}

.search-clear-btn:hover {
  color: #7f8c8d;
  background: #f8f9fa;
}

.projet-grouped-view {
  flex-direction: column;
  gap: 2rem;
  display: flex;
}

.groupe-section {
  background: #fff;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px #00000014;
}

.groupe-header {
  border-bottom: 2px solid #e0e0e0;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  display: flex;
}

.groupe-header h3 {
  color: #2c3e50;
  margin: 0;
  font-size: 1.3rem;
  font-weight: 600;
}

.groupe-count {
  color: #fff;
  background: #3489db;
  border-radius: 20px;
  padding: .4rem .8rem;
  font-size: .9rem;
  font-weight: 600;
}

.groupe-items {
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 1.5rem;
  display: grid;
}

.view-switcher {
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1.5rem;
  display: flex;
}

.view-btn {
  cursor: pointer;
  color: #2c3e50;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  flex: auto;
  justify-content: center;
  align-items: center;
  min-width: 120px;
  height: 38px;
  padding: .5rem 1.25rem;
  font-size: .9rem;
  transition: all .2s;
  display: flex;
}

.view-btn:hover {
  background: #f8f9fa;
}

.view-btn.active {
  color: #fff;
  background: #3489db;
  border-color: #3489db;
}

.results-count {
  color: #7f8c8d;
  margin-bottom: 1rem;
  font-size: .9rem;
}

.projet-list {
  gap: 1.5rem;
  display: grid;
}

.projet-card {
  background: #fff;
  border-radius: 8px;
  padding: 1.5rem;
  transition: box-shadow .2s;
  box-shadow: 0 2px 4px #0000000d;
}

.projet-card:hover {
  box-shadow: 0 4px 12px #0000001a;
}

.projet-card-header {
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
  display: flex;
}

.badge-group {
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  display: flex;
}

.projet-card h3 {
  color: #2c3e50;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
}

.projet-description {
  color: #555;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.projet-meta {
  flex-direction: column;
  gap: .75rem;
  display: flex;
}

.meta-row {
  flex-wrap: wrap;
  gap: .5rem;
  font-size: .9rem;
  display: flex;
}

.meta-label {
  color: #7f8c8d;
  min-width: 100px;
  font-weight: 600;
}

.contact-email {
  color: #3489db;
  font-size: .85rem;
}

.mode-chips {
  flex-wrap: wrap;
  gap: .5rem;
  display: flex;
}

.mode-chip {
  color: #2c3e50;
  cursor: pointer;
  background: #ecf0f1;
  border-radius: 4px;
  padding: .25rem .75rem;
  font-size: .85rem;
  transition: background .2s;
}

.mode-chip:hover {
  background: #d5dbdb;
}

.mode-chip-small {
  color: #2c3e50;
  cursor: pointer;
  background: #ecf0f1;
  border-radius: 4px;
  padding: .2rem .6rem;
  font-size: .75rem;
  transition: background .2s;
}

.mode-chip-small:hover {
  background: #d5dbdb;
}

.enjeux-list {
  color: #555;
  font-size: .9rem;
}

.statut-badge {
  cursor: pointer;
  white-space: nowrap;
  border-radius: 6px;
  padding: .35rem .85rem;
  font-size: .85rem;
  font-weight: 500;
  transition: opacity .2s;
}

.statut-badge:hover {
  opacity: .85;
}

.statut-en-cours {
  background: var(--color-status-en-cours);
  color: #fff;
}

.statut-termine {
  background: var(--color-status-termine);
  color: #fff;
}

.statut-planifie {
  background: var(--color-status-planifie);
  color: #fff;
}

.statut-idee {
  background: var(--color-status-idee);
  color: var(--color-text-primary);
}

.statut-incertain {
  background: var(--color-status-incertain);
  color: #fff;
}

.statut-suspendu {
  background: var(--color-status-suspendu);
  color: #fff;
}

.timeline {
  flex-direction: column;
  gap: 2rem;
  display: flex;
}

.timeline-year-group {
  flex-direction: column;
  gap: 1rem;
  display: flex;
}

.timeline-year-header {
  color: #3489db;
  border-bottom: 2px solid #3489db;
  padding-bottom: .5rem;
  font-size: 1.5rem;
  font-weight: 600;
}

.timeline-items {
  flex-direction: column;
  gap: 1rem;
  padding-left: 1rem;
  display: flex;
}

.timeline-item {
  gap: 1rem;
  display: flex;
  position: relative;
}

.timeline-marker {
  background: #3489db;
  border-radius: 50%;
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  margin-top: .5rem;
}

.timeline-item:before {
  content: "";
  background: #e0e0e0;
  width: 2px;
  position: absolute;
  top: 20px;
  bottom: -20px;
  left: 5px;
}

.timeline-item:last-child:before {
  display: none;
}

.timeline-content {
  cursor: pointer;
  background: #fff;
  border-radius: 8px;
  flex: 1;
  padding: 1rem;
  transition: box-shadow .2s, transform .2s;
  box-shadow: 0 2px 4px #0000000d;
}

.timeline-content:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px #0000001a;
}

.timeline-item-header {
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: .75rem;
  display: flex;
}

.timeline-content h4 {
  color: #2c3e50;
  font-size: 1.1rem;
  font-weight: 600;
}

.timeline-meta {
  color: #7f8c8d;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: .5rem;
  font-size: .9rem;
  display: flex;
}

.timeline-dates {
  font-weight: 500;
}

.timeline-modes {
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: .5rem;
  display: flex;
}

.timeline-porteur {
  color: #555;
  font-size: .9rem;
}

.board {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  display: grid;
}

.board-column {
  background: #f8f9fa;
  border-radius: 8px;
  min-height: 400px;
  padding: 1rem;
}

.board-column-header {
  border-radius: 6px;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding: 1rem;
  display: flex;
}

.board-column-header h3 {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
}

.board-column-header .count {
  color: #fff;
  background: #ffffff4d;
  border-radius: 12px;
  padding: .25rem .6rem;
  font-size: .85rem;
}

.board-cards {
  flex-direction: column;
  gap: 1rem;
  display: flex;
}

.board-card {
  cursor: pointer;
  background: #fff;
  border-radius: 6px;
  padding: 1rem;
  transition: box-shadow .2s;
  box-shadow: 0 2px 4px #0000000d;
}

.board-card:hover {
  box-shadow: 0 4px 8px #0000001a;
}

.board-card h4 {
  color: #2c3e50;
  margin-bottom: .5rem;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
}

.board-card-porteur {
  color: #7f8c8d;
  margin-bottom: .75rem;
  font-size: .85rem;
}

.board-card-meta {
  margin-bottom: .5rem;
}

.board-card-territoire {
  color: #555;
  font-size: .8rem;
}

.board-card-modes {
  flex-wrap: wrap;
  gap: .4rem;
  display: flex;
}

.donnees-list {
  gap: 1.5rem;
  display: grid;
}

.donnee-card {
  background: #fff;
  border-radius: 8px;
  padding: 1.5rem;
  transition: box-shadow .2s;
  box-shadow: 0 2px 4px #0000000d;
}

.donnee-card:hover {
  box-shadow: 0 4px 12px #0000001a;
}

.donnee-card-header {
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: .75rem;
  display: flex;
}

.donnee-card h3 {
  color: #2c3e50;
  font-size: 1.25rem;
  font-weight: 600;
}

.donnee-proprietaire {
  color: #7f8c8d;
  margin-bottom: .75rem;
  font-size: .95rem;
}

.donnee-description {
  color: #555;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.donnee-meta {
  flex-direction: column;
  gap: .75rem;
  display: flex;
}

.type-badge {
  color: #fff;
  cursor: pointer;
  background: #8e44ad;
  border-radius: 6px;
  padding: .35rem .85rem;
  font-size: .85rem;
  font-weight: 500;
  transition: opacity .2s;
}

.type-badge:hover {
  opacity: .85;
}

.outil-badge {
  color: #fff;
  white-space: nowrap;
  background: #e67e22;
  border-radius: 6px;
  padding: .35rem .85rem;
  font-size: .85rem;
  font-weight: 500;
}

.gps-badge {
  color: #fff;
  white-space: nowrap;
  cursor: pointer;
  background: #3498db;
  border-radius: 6px;
  padding: .35rem .85rem;
  font-size: .85rem;
  font-weight: 500;
  transition: opacity .2s;
}

.gps-badge:hover {
  opacity: .85;
}

.sens-badge {
  border-radius: 4px;
  padding: .25rem .75rem;
  font-size: .85rem;
  font-weight: 500;
}

.sens-sensible {
  color: #fff;
  background: #e74c3c;
}

.sens-ouvert {
  color: #fff;
  background: #31c27c;
}

.sens-anonymise {
  color: #fff;
  background: #3498db;
}

.sens-default {
  color: #fff;
  background: #95a5a6;
}

.valorisee-list {
  flex-direction: column;
  gap: .25rem;
  display: flex;
}

.valorisee-item {
  color: #3489db;
  font-size: .9rem;
  font-style: italic;
}

.empty-state {
  text-align: center;
  color: #7f8c8d;
  padding: 3rem;
  font-size: 1.1rem;
}

.modal-overlay {
  z-index: 1000;
  background: #0009;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  display: flex;
  position: fixed;
  inset: 0;
  overflow-y: auto;
}

.modal-content {
  background: #fff;
  border-radius: 12px;
  width: 100%;
  max-width: 800px;
  max-height: 90vh;
  margin: auto;
  position: relative;
  box-shadow: 0 10px 40px #0003;
}

.modal-close {
  cursor: pointer;
  color: #2c3e50;
  z-index: 10;
  background: #f8f9fa;
  border: none;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  transition: background .2s;
  display: flex;
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.modal-close:hover {
  background: #e9ecef;
}

.modal-body {
  max-height: calc(90vh - 4rem);
  padding: 2rem;
  overflow-y: auto;
}

.detail-modal {
  padding-right: 2rem;
}

.detail-header {
  border-bottom: 2px solid #e0e0e0;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  display: flex;
}

.detail-header h2 {
  color: #2c3e50;
  flex: 1;
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.3;
}

.detail-porteur {
  color: #7f8c8d;
  align-items: center;
  margin-top: .5rem;
  font-size: 1.1rem;
  display: flex;
}

.detail-header-badges {
  flex-direction: column;
  align-items: flex-end;
  gap: .5rem;
  display: flex;
}

.detail-sections {
  flex-direction: column;
  gap: 1.5rem;
  display: flex;
}

.detail-section {
  padding: 1rem 0;
}

.detail-section h3 {
  color: #2c3e50;
  margin-bottom: .75rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.detail-section p {
  color: #555;
  white-space: pre-wrap;
  line-height: 1.6;
}

.detail-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  padding: 1rem 0;
  display: grid;
}

.detail-field {
  flex-direction: column;
  gap: .5rem;
  display: flex;
}

.field-label {
  color: #7f8c8d;
  text-transform: uppercase;
  letter-spacing: .5px;
  font-size: .9rem;
  font-weight: 600;
}

.field-tags {
  flex-wrap: wrap;
  gap: .5rem;
  display: flex;
}

.field-tag {
  color: #2c3e50;
  background: #f8f9fa;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  padding: .4rem .8rem;
  font-size: .85rem;
}

.active-filters {
  background: #f8f9fa;
  border-radius: 8px;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
  display: flex;
}

.active-filters-label {
  color: #7f8c8d;
  font-size: .9rem;
  font-weight: 600;
}

.filter-badge {
  color: #fff;
  cursor: pointer;
  background: #3489db;
  border: none;
  border-radius: 20px;
  align-items: center;
  gap: .5rem;
  padding: .4rem .8rem;
  font-size: .85rem;
  transition: all .2s;
  display: flex;
}

.filter-badge:hover {
  background: #2774c2;
  transform: translateY(-1px);
}

.btn-clear-filters {
  cursor: pointer;
  color: #2c3e50;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 20px;
  padding: .4rem 1rem;
  font-size: .85rem;
  transition: all .2s;
}

.btn-clear-filters:hover {
  color: #3489db;
  background: #f8f9fa;
  border-color: #3489db;
}

.toolbar {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
  display: flex;
}

.export-btn {
  background: var(--color-primary);
  color: #fff;
  cursor: pointer;
  border: none;
  border-radius: 6px;
  justify-content: center;
  align-items: center;
  gap: .5rem;
  height: 38px;
  padding: .5rem 1.25rem;
  font-size: .9rem;
  transition: all .2s;
  display: flex;
}

.export-btn:hover {
  background: var(--color-primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px #006b544d;
}

.projet-card, .donnee-card {
  cursor: pointer;
}

.projet-card:hover, .donnee-card:hover {
  transform: translateY(-2px);
}

.porteur-with-logo {
  align-items: center;
  gap: .5rem;
  display: flex;
}

.porteur-logo {
  object-fit: contain;
  flex-shrink: 0;
}

.porteur-logo-small {
  max-width: 60px;
  height: 20px;
}

.porteur-logo-medium {
  max-width: 80px;
  height: 28px;
}

.porteur-logo-large {
  max-width: 120px;
  height: 40px;
}

.porteur-name {
  color: #555;
  font-size: inherit;
}

.footer {
  background: #fff;
  border-top: 1px solid #e0e0e0;
  margin-top: 4rem;
  padding: 2rem 1rem 1rem;
}

.config-toggle-btn {
  background: var(--color-primary);
  color: #fff;
  cursor: pointer;
  z-index: 100;
  border: none;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 56px;
  height: 56px;
  transition: all .2s;
  display: flex;
  position: fixed;
  bottom: 7rem;
  left: 2rem;
  box-shadow: 0 4px 12px #006b5466;
}

.config-toggle-btn:hover {
  background: var(--color-primary-hover);
  transform: scale(1.05);
  box-shadow: 0 6px 16px #006b5480;
}

.config-overlay {
  z-index: 1001;
  background: #0009;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  display: flex;
  position: fixed;
  inset: 0;
}

.config-modal {
  background: #fff;
  border-radius: 12px;
  width: 100%;
  max-width: 600px;
  box-shadow: 0 10px 40px #0003;
}

.config-header {
  border-bottom: 1px solid #e0e0e0;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  display: flex;
}

.config-header h3 {
  color: #2c3e50;
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
}

.config-close-btn {
  cursor: pointer;
  color: #2c3e50;
  background: #f8f9fa;
  border: none;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  transition: background .2s;
  display: flex;
}

.config-close-btn:hover {
  background: #e9ecef;
}

.config-body {
  flex-direction: column;
  gap: 1.5rem;
  padding: 1.5rem;
  display: flex;
}

.config-info {
  color: #555;
  background: #f8f9fa;
  border-radius: 8px;
  padding: 1rem;
  font-size: .9rem;
  line-height: 1.5;
}

.config-info p {
  margin: 0 0 .5rem;
}

.config-info p:last-child {
  margin-bottom: 0;
}

.config-tip {
  color: #3489db;
  margin-top: .5rem;
  font-size: .85rem;
}

.config-field {
  flex-direction: column;
  gap: .5rem;
  display: flex;
}

.config-field label {
  color: #2c3e50;
  font-size: .95rem;
  font-weight: 600;
}

.config-input {
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: .75rem;
  font-size: .9rem;
  transition: border-color .2s;
}

.config-input:focus {
  border-color: #3489db;
  outline: none;
  box-shadow: 0 0 0 3px #3489db1a;
}

.config-actions {
  justify-content: flex-end;
  gap: 1rem;
  padding-top: .5rem;
  display: flex;
}

.config-cancel-btn {
  cursor: pointer;
  color: #2c3e50;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: .75rem 1.5rem;
  font-size: .9rem;
  transition: all .2s;
}

.config-cancel-btn:hover {
  background: #f8f9fa;
  border-color: #3489db;
}

.config-reload-btn {
  cursor: pointer;
  color: #fff;
  background: #3489db;
  border: none;
  border-radius: 6px;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.5rem;
  font-size: .9rem;
  transition: all .2s;
  display: flex;
}

.config-reload-btn:hover:not(:disabled) {
  background: #2774c2;
}

.config-reload-btn:disabled {
  opacity: .6;
  cursor: not-allowed;
}

.spinning {
  animation: 1s linear infinite spin;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.footer-content {
  border-bottom: 1px solid #e9ecef;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 1.5rem;
  display: flex;
}

.footer-section h4 {
  color: #2c3e50;
  margin-bottom: .25rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.footer-tagline {
  color: #7f8c8d;
  font-size: .9rem;
}

.footer-contact {
  flex-direction: column;
  gap: .5rem;
  display: flex;
}

.footer-contact-item {
  color: #555;
  align-items: center;
  gap: .5rem;
  font-size: .85rem;
  display: flex;
}

.footer-contact-item svg {
  color: #95a5a6;
  flex-shrink: 0;
}

.footer-contact-item a {
  color: #3489db;
  text-decoration: none;
  transition: color .2s;
}

.footer-contact-item a:hover {
  color: #2774c2;
  text-decoration: underline;
}

.footer-bottom {
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 1rem;
}

.footer-bottom p {
  color: #95a5a6;
  font-size: .8rem;
}

.info-button {
  background: var(--color-primary);
  color: #fff;
  cursor: pointer;
  z-index: 99;
  border: none;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 56px;
  height: 56px;
  transition: all .2s;
  display: flex;
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  box-shadow: 0 4px 12px #006b5466;
}

.info-button:hover {
  background: var(--color-primary-hover);
  transform: scale(1.05);
  box-shadow: 0 6px 16px #006b5480;
}

.scroll-buttons {
  z-index: 99;
  flex-direction: column;
  gap: .5rem;
  display: flex;
  position: fixed;
  top: 50%;
  right: 2rem;
  transform: translateY(-50%);
}

.scroll-button {
  color: #fff;
  cursor: pointer;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  background: #2c3e50b3;
  border: none;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  transition: all .2s;
  display: flex;
  box-shadow: 0 2px 8px #0003;
}

.scroll-button:hover {
  background: #2c3e50e6;
  transform: scale(1.1);
  box-shadow: 0 4px 12px #0000004d;
}

.scroll-button:active {
  transform: scale(.95);
}

@media (width <= 768px) {
  .scroll-buttons {
    display: none;
  }
}

.info-modal {
  max-width: 700px;
}

.info-modal h2 {
  color: #2c3e50;
  margin-bottom: 1rem;
  font-size: 1.75rem;
  font-weight: 600;
}

.info-modal h3 {
  color: #2c3e50;
  margin: 1.5rem 0 .75rem;
  font-size: 1.15rem;
  font-weight: 600;
}

.info-modal p {
  color: #555;
  margin-bottom: 1rem;
  line-height: 1.7;
}

.info-modal ul {
  color: #555;
  margin: .5rem 0 1rem 1.5rem;
  padding-left: .5rem;
  line-height: 1.7;
}

.info-modal li {
  margin-bottom: .5rem;
}

.info-modal strong {
  color: #2c3e50;
}

.linked-items {
  flex-direction: column;
  gap: .5rem;
  display: flex;
}

.linked-item-btn {
  text-align: left;
  cursor: pointer;
  color: #3489db;
  background: #f8f9fa;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: .75rem 1rem;
  font-size: .95rem;
  font-weight: 500;
  transition: all .2s;
}

.linked-item-btn:hover {
  background: #e9f5ff;
  border-color: #3489db;
  transform: translateX(4px);
}

.collapsible-section {
  margin-bottom: 1.5rem;
}

.collapsible-header {
  cursor: pointer;
  background: #f8f9fa;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 1rem 1.25rem;
  transition: all .2s;
  display: flex;
}

.collapsible-header:hover {
  background: #e9ecef;
  border-color: #3489db;
}

.collapsible-title {
  color: #2c3e50;
  align-items: center;
  gap: .75rem;
  font-size: 1.1rem;
  font-weight: 600;
  display: flex;
}

.collapsible-count {
  color: #7f8c8d;
  margin-left: .5rem;
  font-size: .95rem;
  font-weight: 500;
}

.collapsible-content {
  padding-top: 1rem;
}

.statistics-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
}

.stats-grid {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
  display: grid;
}

.stat-card {
  border: 1px solid var(--color-border);
  text-align: center;
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  transition: all .3s;
}

.stat-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-4px);
  box-shadow: 0 8px 16px #006b5426;
}

.stat-value {
  color: var(--color-primary);
  margin-bottom: .5rem;
  font-size: 3rem;
  font-weight: 700;
}

.stat-label {
  color: var(--color-text-secondary);
  font-size: 1rem;
  font-weight: 500;
}

.stats-section {
  margin-bottom: 4rem;
}

.section-title {
  color: var(--color-text-secondary);
  border-bottom: 1px solid #e0e0e0;
  margin-bottom: 1.5rem;
  padding-bottom: .5rem;
  font-size: 1.3rem;
  font-weight: 500;
}

.partners-cloud {
  border: 1px solid var(--color-border);
  background: #fff;
  border-radius: 12px;
  margin-bottom: 3rem;
  padding: 2.5rem;
  box-shadow: 0 2px 8px #0000000d;
}

.partners-cloud h3 {
  color: var(--color-text-primary);
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
  font-weight: 600;
}

.partners-logos {
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  padding: 1rem;
  display: flex;
}

.partner-logo-item {
  filter: grayscale(20%) opacity(.85);
  cursor: pointer;
  flex: none;
  transition: all .3s;
}

.partner-logo-item:hover {
  filter: grayscale(0%) opacity();
  transform: scale(1.1);
}

.partner-logo-item img {
  object-fit: contain;
  max-width: 110px;
  height: 38px;
  display: block;
}

.charts-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  display: grid;
}

@media (width >= 1200px) {
  .charts-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (width <= 900px) {
  .charts-grid {
    grid-template-columns: 1fr;
  }
}

.chart-card {
  border: 1px solid var(--color-border);
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
}

.chart-card h3 {
  color: var(--color-text-primary);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
  font-weight: 600;
}

.chart-card-wide {
  grid-column: 1 / -1;
}

.board-card {
  cursor: pointer;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  min-height: auto;
  padding: 1rem;
  transition: all .2s;
}

.board-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px #0000001a;
}

.board-card h4 {
  color: #2c3e50;
  margin-bottom: .5rem;
  font-size: .95rem;
  line-height: 1.3;
}

.board-card-porteur {
  margin-top: .5rem;
}

@media (width <= 768px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
  }

  .header-content {
    width: 100%;
  }

  .header-logos {
    justify-content: flex-start;
    gap: .75rem;
    width: 100%;
  }

  .header-logo {
    opacity: .7;
    height: 18px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
  }

  .stat-card {
    padding: 1.25rem 1rem;
  }

  .stat-value {
    font-size: 2rem;
  }

  .stat-label {
    font-size: .85rem;
  }

  .charts-grid {
    display: none;
  }

  .mobile-stats-message {
    display: block;
  }

  .mobile-stats-message svg {
    margin-left: auto;
    margin-right: auto;
  }

  .partners-cloud {
    margin-top: 2rem;
  }

  .modal-overlay {
    align-items: flex-end;
    padding: 0;
  }

  .modal-content {
    border-radius: 12px 12px 0 0;
    flex-direction: column;
    max-width: 100%;
    max-height: 90vh;
    margin: 0;
    display: flex;
  }

  .modal-close {
    background: var(--color-primary);
    color: #fff;
    z-index: 10;
    width: 44px;
    height: 44px;
    margin-top: 1rem;
    margin-left: auto;
    margin-right: 1rem;
    position: sticky;
    top: 1rem;
    right: 1rem;
    box-shadow: 0 2px 8px #0000004d;
  }

  .modal-close:hover {
    background: var(--color-primary-hover);
  }

  .modal-body {
    -webkit-overflow-scrolling: touch;
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
  }

  .config-overlay {
    align-items: flex-end;
    padding: 0;
  }

  .config-modal {
    border-radius: 12px 12px 0 0;
    flex-direction: column;
    max-width: 100%;
    max-height: 90vh;
    margin: 0;
    display: flex;
  }

  .config-header {
    flex-shrink: 0;
    position: relative;
  }

  .config-close-btn {
    background: var(--color-primary);
    color: #fff;
    z-index: 10;
    width: 44px;
    height: 44px;
    position: sticky;
    top: 1rem;
    box-shadow: 0 2px 8px #0000004d;
  }

  .config-close-btn:hover {
    background: var(--color-primary-hover);
  }

  .config-body {
    -webkit-overflow-scrolling: touch;
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
  }

  .detail-modal {
    padding-right: 0;
  }

  .detail-header {
    flex-direction: column;
    gap: 1rem;
    padding-top: .5rem;
  }

  .detail-header-badges {
    flex-direction: row;
    align-items: flex-start;
  }

  .detail-grid {
    grid-template-columns: 1fr;
  }

  .filter-bar {
    padding: 1rem;
  }

  .filter-bar-top {
    flex-direction: column;
    width: 100%;
  }

  .search-box {
    flex: 1;
    width: 100%;
    min-width: 100%;
  }

  .clear-all-btn, .filters {
    width: 100%;
  }

  .multi-select, .simple-select {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
  }

  .multi-select-options {
    max-height: 250px;
  }

  .projet-card-header, .donnee-card-header, .timeline-item-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .board {
    grid-template-columns: 1fr;
  }

  .tabs {
    justify-content: stretch;
  }

  .tab {
    flex: 1;
    padding: .75rem .5rem;
    font-size: .85rem;
  }

  .timeline-items {
    padding-left: 1rem;
  }

  .toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .export-btn {
    display: none;
  }

  .active-filters {
    padding: 1rem;
  }

  .view-switcher {
    flex-wrap: wrap;
  }

  .view-btn {
    flex: auto;
    min-width: 120px;
  }

  .stats-section {
    display: none;
  }

  .filter-toggle-btn {
    cursor: pointer;
    color: #2c3e50;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: .75rem;
    padding: .6rem 1rem;
    font-size: .9rem;
    font-weight: 500;
    transition: all .2s;
    display: flex;
  }

  .filter-toggle-btn:hover {
    background: #f8f9fa;
    border-color: #3489db;
  }

  .filter-bar-content.closed {
    display: none;
  }

  .filter-bar-content.open {
    display: flex;
  }

  .info-button {
    width: 48px;
    height: 48px;
    bottom: 1.5rem;
    left: 1.5rem;
  }

  .config-toggle-btn {
    width: 48px;
    height: 48px;
    bottom: 5.5rem;
    left: 1.5rem;
  }

  .footer {
    z-index: 98;
    margin-bottom: 0;
    position: relative;
  }
}

@property --tw-border-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}

@property --tw-blur {
  syntax: "*";
  inherits: false
}

@property --tw-brightness {
  syntax: "*";
  inherits: false
}

@property --tw-contrast {
  syntax: "*";
  inherits: false
}

@property --tw-grayscale {
  syntax: "*";
  inherits: false
}

@property --tw-hue-rotate {
  syntax: "*";
  inherits: false
}

@property --tw-invert {
  syntax: "*";
  inherits: false
}

@property --tw-opacity {
  syntax: "*";
  inherits: false
}

@property --tw-saturate {
  syntax: "*";
  inherits: false
}

@property --tw-sepia {
  syntax: "*";
  inherits: false
}

@property --tw-drop-shadow {
  syntax: "*";
  inherits: false
}

@property --tw-drop-shadow-color {
  syntax: "*";
  inherits: false
}

@property --tw-drop-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}

@property --tw-drop-shadow-size {
  syntax: "*";
  inherits: false
}
