/* Fonds Social v111 — participation and navigation. Scoped to preserve existing screens. */
#root .fs-part {
  color: #17344d;
  font-size: 1rem;
  line-height: 1.5;
  min-width: 0;
}
#root .fs-part h1 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 0.6rem;
}
#root .fs-part h2 {
  font-size: 1.2rem;
  margin: 0 0 0.65rem;
}
#root .fs-part h3 {
  font-size: 1.1rem;
  margin: 0.6rem 0;
}
#root .fs-part p {
  margin: 0.6rem 0 1rem;
}
#root .fs-part label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.94rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
#root
  .fs-part
  :is(
    input:not([type="checkbox"]):not([type="radio"]):not([type="color"]),
    textarea,
    select
  ) {
  width: 100%;
  min-width: 0;
  border: 1px solid #bac9d4;
  border-radius: 8px;
  background: #fff;
  color: #16364e;
  font: inherit;
  padding: 0.65rem 0.75rem;
  box-sizing: border-box;
  min-height: 42px;
}
#root .fs-part textarea {
  resize: vertical;
}
#root .fs-part input[type="color"] {
  height: 38px;
  width: 54px;
  border: 1px solid #bac9d4;
  border-radius: 6px;
  padding: 3px;
  background: #fff;
}
#root .fs-part input:is([type="checkbox"], [type="radio"]) {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  accent-color: #0b2847;
  margin: 0;
}
#root .fs-part fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
#root .fs-part .fs-part-check {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.6rem;
  margin: 0.5rem 0;
  font-weight: 500;
}
#root .fs-part button {
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid #bccbd6;
  border-radius: 8px;
  background: #fff;
  color: #153852;
  padding: 0.6rem 0.85rem;
  cursor: pointer;
  min-height: 40px;
}
#root .fs-part button:hover {
  background: #edf3f7;
}
#root .fs-part .fs-part-primary {
  background: #0b2847;
  border-color: #0b2847;
  color: #fff;
}
#root .fs-part .fs-part-primary:hover {
  background: #194768;
}
#root .fs-part :disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
#root .fs-part :focus-visible,
#root .fs-home-links button:focus-visible {
  outline: 3px solid #297abc;
  outline-offset: 3px;
}
#root .fs-part .fs-part-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
  margin: 1rem 0 0;
}
#root .fs-part .fs-part-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
#root .fs-part .fs-part-heading p {
  margin-bottom: 0;
}
#root .fs-part .fs-part-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: center;
}
#root .fs-part .fs-part-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 310px), 1fr));
  gap: 1rem;
  margin: 1rem 0;
}
#root .fs-part .fs-part-card,
#root .fs-part .fs-part-empty,
#root .fs-part .fs-part-proposal-form {
  background: #fff;
  border: 1px solid #d6e0e7;
  padding: 1.25rem;
  border-radius: 12px;
  min-width: 0;
  overflow-wrap: anywhere;
}
#root .fs-part .fs-part-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.8rem;
  gap: 0.7rem;
}
#root .fs-part .fs-part-status {
  display: inline-flex;
  border-radius: 5px;
  background: #e8f0f6;
  color: #1e4e70;
  padding: 0.25rem 0.6rem;
  font-size: 0.85rem;
  font-weight: 600;
}
#root .fs-part .fs-part-preline {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
#root .fs-part .fs-part-muted {
  color: #52697b;
  font-size: 0.9rem;
  font-weight: 400;
}
#root .fs-part .fs-part-error {
  background: #fff0ef;
  color: #92271d;
  border-left: 4px solid #b83429;
  padding: 0.8rem 1rem;
  border-radius: 6px;
}
#root .fs-part .fs-part-success {
  background: #e9f6ef;
  color: #17613c;
  padding: 0.8rem 1rem;
  border-radius: 6px;
}
#root .fs-part .fs-part-question,
#root .fs-part .fs-part-editor-question {
  border: 1px solid #d4dfe8;
  padding: 1rem;
  border-radius: 10px;
  margin: 1rem 0;
}
#root .fs-part .fs-part-question legend,
#root .fs-part .fs-part-editor-question legend {
  font-weight: 650;
  padding: 0 0.4rem;
  max-width: 100%;
  overflow-wrap: anywhere;
}
#root .fs-part .fs-part-preview {
  margin-top: 1.2rem;
  padding: 1rem;
  background: #f2f6f9;
  border-radius: 10px;
}
#root .fs-part .fs-part-table {
  overflow: auto;
  max-height: 65vh;
  margin-top: 1rem;
  border: 1px solid #ccd9e3;
  border-radius: 8px;
}
#root .fs-part table {
  border-collapse: collapse;
  min-width: 100%;
  font-size: 0.9rem;
}
#root .fs-part :is(th, td) {
  padding: 0.7rem;
  text-align: left;
  min-width: 170px;
  max-width: 340px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  border-bottom: 1px solid #dce5ec;
  vertical-align: top;
}
#root .fs-part th {
  position: sticky;
  top: 0;
  background: #0b2847;
  color: white;
  font-weight: 600;
}
#root .fs-part td small {
  display: block;
  color: #52697b;
}
#root .fs-part .fs-proposals-inbox {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #d2dde6;
}
#root .fs-part .fs-marker-row {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) 70px 110px 105px;
  gap: 0.8rem;
  align-items: center;
  border-bottom: 1px solid #e2e9ef;
  padding: 0.8rem 0;
}
#root .fs-part .fs-marker-row label {
  margin: 0;
  font-size: 0.85rem;
}
#root .fs-part .fs-marker-preview {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem;
  border-radius: 7px;
  min-width: 0;
  font-weight: 600;
}
#root .fs-part .fs-part-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
#root .fs-part-dialog {
  width: min(820px, calc(100vw - 32px));
  max-height: 90dvh;
  overflow: auto;
  padding: 1.25rem;
  box-sizing: border-box;
}
#root .fs-part-results-dialog {
  width: min(1200px, calc(100vw - 32px));
}
#root [data-fs-marked="true"] {
  background: var(--fs-marker-color) !important;
  color: var(--fs-marker-ink) !important;
  border-color: var(--fs-marker-color) !important;
}
#root [data-fs-marked="true"] > :is(span, strong, div, i, small),
#root [data-fs-marked="true"] > div > :is(strong, small) {
  color: inherit !important;
}
#root .fs-manual-badge {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  box-sizing: border-box;
  border-radius: 20px;
  background: #b62e38 !important;
  color: #fff !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  margin-left: 6px;
  box-shadow: 0 0 0 1px #ffffff88;
}
#root .fs-collaborators-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
#root .fs-collaborators-tabs [aria-selected="true"] {
  box-shadow: inset 0 -3px 0 currentColor;
}
#root .fs-home-links {
  margin: 1rem 0;
}
#root .fs-home-link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}
#root .fs-home-link-grid button {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-align: left;
  background: white;
  border: 1px solid #d4e0e9;
  border-radius: 12px;
  padding: 1rem;
  color: #123750;
  min-width: 0;
  min-height: 80px;
  cursor: pointer;
  font: inherit;
  box-shadow: 0 3px 12px #0b284708;
}
#root .fs-home-link-grid button:hover {
  border-color: #64859d;
  background: #f1f6fa;
}
#root .fs-home-link-grid strong {
  font-size: 1rem;
  line-height: 1.3;
  flex: 1;
  overflow-wrap: anywhere;
}
#root .fs-home-link-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 38px;
  height: 38px;
  border-radius: 10px;
  background: #e9f1f7;
  color: #13476c;
  font-size: 1.3rem;
}
#root .fs-home-requests-link {
  margin: 0 0 1.2rem;
  text-align: right;
}
#root .fs-home-requests-link button {
  background: none;
  border: 0;
  color: #194f73;
  font: inherit;
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (min-width: 1025px) {
  #root .sidebar {
    padding-top: 16px;
    padding-bottom: 12px;
  }
  #root .sidebar .side-brand {
    margin-bottom: 16px;
  }
  #root .sidebar .nav-group {
    margin-bottom: 10px;
  }
  #root .sidebar .nav-group > p {
    margin: 8px 0 5px;
    padding-top: 0;
    padding-bottom: 0;
    font-size: 11px;
    line-height: 1.25;
  }
  #root .sidebar .nav-group button,
  #root .sidebar .fs-admin-sidebar-groups > button {
    min-height: 40px !important;
    height: auto !important;
    padding: 9px 10px !important;
    margin-top: 1px !important;
    margin-bottom: 1px !important;
    gap: 8px;
    line-height: 1.3 !important;
  }
  #root .sidebar .fs-subnav button {
    min-height: 32px !important;
    padding: 6px 10px !important;
    font-size: 12px !important;
  }
  #root .sidebar .fs-admin-sidebar-groups {
    gap: 2px;
  }
  #root .sidebar .side-help {
    padding: 10px;
    margin-top: 12px;
  }
  #root .sidebar .logout {
    min-height: 32px;
    padding-top: 6px;
    padding-bottom: 6px;
  }
}
@media (max-width: 760px) {
  #root .fs-home-link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
  }
  #root .fs-home-link-grid button {
    padding: 0.8rem;
    gap: 0.5rem;
    flex-wrap: wrap;
    min-height: 95px;
  }
  #root .fs-home-link-grid strong {
    font-size: 0.93rem;
  }
  #root .fs-home-link-icon {
    flex-basis: 30px;
    height: 30px;
  }
  #root .fs-part .fs-part-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  #root .fs-part .fs-part-two {
    grid-template-columns: 1fr;
    gap: 0;
  }
  #root .fs-part .fs-marker-row {
    grid-template-columns: 65px minmax(90px, 1fr) 100px;
    gap: 0.6rem;
  }
  #root .fs-part .fs-marker-preview {
    grid-column: 1/-1;
  }
  #root .fs-collaborators-tabs > button {
    flex: 1 1 calc(50% - 0.5rem);
    font-size: 0.9rem !important;
    min-width: 0;
  }
}
@media (max-width: 380px) {
  #root .fs-home-link-grid {
    grid-template-columns: 1fr;
  }
}
@media (min-width: 1025px) {
  #root .sidebar .nav-group button > span:first-child:not(.fs-manual-badge) {
    width: 22px;
    height: 22px;
    min-height: 0;
    flex: 0 0 22px;
    line-height: 22px;
    border-radius: 7px;
  }
  #root .sidebar .fs-subnav button > span:not(.fs-manual-badge) {
    width: auto;
    height: auto;
    min-height: 0;
    flex: 1;
    padding: 2px 6px;
    line-height: 1.3;
  }
  #root .sidebar .fs-subnav {
    gap: 2px;
    margin-top: 3px;
    margin-bottom: 5px;
  }
}
#root .fs-mobile-five .fs-manual-badge {
  position: absolute;
  top: 1px;
  right: 10%;
  height: 18px;
  min-width: 18px;
  font-size: 10px !important;
}
#root .fs-mobile-five button {
  position: relative;
}
#root [data-fs-marked="true"] .fs-manual-badge {
  color: #fff !important;
}
