:root {
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #182b23;
  background: #f4f6f3;
  font-synthesis: none;
  --green: #246b50;
  --dark: #142e23;
  --muted: #465a4e;
  --line: #e3e9e3;
  --soft: #ecf5ee;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-width: 320px;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  transition:
    background 0.16s,
    border-color 0.16s,
    box-shadow 0.16s;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
  opacity: 0.45;
}
a {
  color: var(--green);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
:focus-visible {
  outline: 3px solid #92c5a6;
  outline-offset: 3px;
}
.topbar {
  height: 82px;
  max-width: 1280px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
  border-bottom: 1px solid var(--line);
}
.brand {
  font-size: 27px;
  font-weight: 800;
  letter-spacing: -1.7px;
  color: var(--dark);
}
.brand span {
  font-weight: 450;
}
.brand i {
  color: #6ab189;
  font-style: normal;
}
.topnote {
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 1.8px;
  color: var(--muted);
}
.shell {
  max-width: 1200px;
  margin: auto;
  padding: 44px 40px 20px;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 0 36px;
}
.eyebrow {
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 2px;
  color: var(--green);
  margin-bottom: 12px;
}
h1 {
  font-size: clamp(26px, 3vw, 37px);
  font-weight: 650;
  letter-spacing: -1.35px;
  margin: 0 0 12px;
  line-height: 1.17;
}
p {
  line-height: 1.6;
  color: var(--muted);
  font-size: 14px;
}
.page-heading p {
  margin: 0;
}
.private-badge {
  font-size: 11px;
  color: var(--green);
  background: #e7f0e8;
  padding: 9px 13px;
  border-radius: 30px;
  white-space: nowrap;
}
.workspace {
  display: grid;
  grid-template-columns: 228px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}
.sidebar {
  position: sticky;
  top: 26px;
  padding-top: 12px;
}
.side-title {
  display: block;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 700;
  color: #8c9890;
  margin: 0 0 18px 12px;
}
.sidebar nav {
  display: grid;
  gap: 7px;
}
.sidebar nav button {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px 12px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #76827a;
  text-align: left;
  min-height: 49px;
}
.sidebar nav button > span {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border: 1px solid #dbe4dc;
  border-radius: 50%;
  font-size: 11px;
  background: #fff;
}
.sidebar nav button strong {
  font-size: 13px;
  font-weight: 550;
}
.sidebar nav button i {
  margin-left: auto;
  font-style: normal;
  font-size: 12px;
}
.sidebar nav button.active {
  background: var(--dark);
  color: #fff;
  box-shadow: 0 6px 15px #102c2310;
}
.sidebar nav button.active > span {
  background: #385c47;
  border-color: #385c47;
  color: #d4eadb;
}
.side-note {
  margin: 32px 12px;
  padding-top: 23px;
  border-top: 1px solid #dfe6de;
}
.side-note strong {
  font-size: 13px;
}
.side-note p {
  font-size: 12px;
  line-height: 1.7;
  margin: 8px 0;
}
.panel {
  background: white;
  border: 1px solid #e5ebe4;
  border-radius: 22px;
  padding: 38px 42px;
  box-shadow: 0 8px 32px #172c2204;
  min-width: 0;
}
fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
fieldset:disabled .choice {
  opacity: 0.6;
}
.panel-heading {
  margin-bottom: 30px;
}
.panel-heading > span {
  font-size: 11px;
  color: #83a18f;
  font-weight: 600;
}
.panel-heading h2 {
  font-size: 27px;
  line-height: 1.2;
  letter-spacing: -0.85px;
  font-weight: 600;
  margin: 11px 0;
}
.panel-heading p {
  max-width: 540px;
  margin: 0;
}
.field {
  display: grid;
  gap: 9px;
  margin-bottom: 24px;
  min-width: 0;
}
.field > span {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
}
.field b,
h3 b {
  color: #639477;
  font-weight: 500;
}
.field small,
.help {
  font-size: 12px;
  color: #7a877f;
  line-height: 1.6;
  font-weight: 400;
}
.field span small {
  font-weight: 400;
}
input,
textarea,
select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #dfe6de;
  border-radius: 10px;
  background: #fcfdfb;
  color: #25392d;
  min-height: 46px;
  font-size: 14px;
}
input::placeholder,
textarea::placeholder {
  color: #9ba69d;
  font-size: 13px;
}
input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: #72a886;
  box-shadow: 0 0 0 3px #d8eadd80;
}
textarea {
  min-height: 90px;
  resize: vertical;
}
.two-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 18px;
}
.choices {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
}
.choice {
  border: 1px solid #e1e7df;
  background: #fff;
  border-radius: 10px;
  padding: 11px 15px;
  color: #657369;
  font-size: 13px;
  min-height: 42px;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 8px;
}
.choice:hover:not(:disabled) {
  background: #f5f9f3;
  border-color: #b1c5b5;
}
.choice.selected {
  background: #edf5ed;
  border-color: #88b495;
  color: #24573b;
  font-weight: 600;
}
.choice i {
  font-style: normal;
  font-size: 11px;
}
.invalid input {
  border-color: #c88e81;
}
.field-error {
  display: block;
  color: #a54a36 !important;
  font-size: 12px;
  margin: 8px 0;
}
.service {
  background: #f9fbf7;
  border: 1px solid #e4ebe0;
  border-radius: 14px;
  padding: 20px 22px;
  margin: 0 0 15px;
}
.service .field:last-child {
  margin-bottom: 0;
}
.service-photos {
  border-top: 1px solid #e4ebe0;
  margin-top: 20px;
  padding-top: 18px;
}
.service-photos > .field {
  margin-bottom: 14px;
}
.service-photos .choices {
  gap: 9px;
}
.service-photos .dropzone {
  padding: 18px 14px;
}
.service-dropzone {
  margin-top: 12px;
}
.service-photo-grid {
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
}
.service-photo-retained {
  font-size: 12px;
  margin: 12px 0;
}
.section-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 13px;
}
.section-label h3 {
  font-size: 14px;
  font-weight: 600;
  margin: 0;
}
.section-label > span {
  font-size: 11px;
  color: #859188;
}
.text-button {
  border: 0;
  background: none;
  padding: 3px 0;
  color: var(--green);
  font-size: 12px;
}
.add-button {
  display: block;
  width: 100%;
  padding: 12px;
  border: 1px dashed #b8cdbd;
  border-radius: 10px;
  background: #fff;
  color: #4f795a;
  font-size: 13px;
  min-height: 45px;
}
.add-button:hover:not(:disabled) {
  background: #f4f9f2;
}
.divider {
  height: 1px;
  background: var(--line);
  margin: 30px 0;
}
.address-note {
  display: grid;
  gap: 8px;
  border-left: 3px solid #96bda3;
  background: #f4f8f1;
  padding: 15px 18px;
  border-radius: 0 10px 10px 0;
  margin-bottom: 25px;
}
.address-note span {
  font-size: 10px;
  color: #779380;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.address-note strong {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.6;
}
.town-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.town-row > span {
  font-size: 11px;
  color: #8a9a8d;
  min-width: 16px;
}
.town-row button {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 7px;
  background: #f2f5ef;
  font-size: 20px;
  color: #859187;
}
.upload-section {
  margin: 0 0 24px;
  min-width: 0;
}
.dropzone {
  position: relative;
  display: grid;
  text-align: center;
  justify-items: center;
  gap: 8px;
  background: #f8fbf5;
  border: 1px dashed #b3cbb7;
  border-radius: 13px;
  padding: 25px 14px;
  overflow: hidden;
  cursor: pointer;
}
.dropzone:hover {
  background: #f0f7eb;
}
.dropzone strong {
  font-size: 13px;
  font-weight: 600;
}
.dropzone small {
  font-size: 11px;
  color: #829487;
  line-height: 1.6;
}
.upload-icon {
  width: 32px;
  height: 32px;
  background: white;
  border: 1px solid #dce8d8;
  border-radius: 9px;
  display: grid;
  place-items: center;
  color: #628369;
  font-size: 20px;
}
.dropzone input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  height: 100%;
}
.dropzone:focus-within {
  outline: 3px solid #92c5a6;
  outline-offset: 3px;
}
.file-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
  margin-top: 12px;
}
.file-card {
  border: 1px solid #e2e9df;
  border-radius: 12px;
  overflow: hidden;
  min-width: 0;
  background: white;
}
.file-card > img,
.file-card > iframe {
  width: 100%;
  height: 125px;
  object-fit: cover;
  display: block;
  border: 0;
  background: #f1f5ef;
}
.file-icon {
  height: 125px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #f1f5ef;
  color: #819983;
  font-size: 13px;
  padding: 12px;
  text-align: center;
}
.file-icon small {
  font-size: 11px;
}
.file-info {
  padding: 10px 12px;
  display: grid;
  gap: 4px;
}
.file-info strong {
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.file-info small {
  font-size: 10px;
  color: #8b978d;
}
.file-actions {
  padding: 0 12px 11px;
  display: flex;
  justify-content: space-between;
  gap: 7px;
  font-size: 11px;
}
.file-actions button {
  background: none;
  border: 0;
  color: #9a7468;
  font-size: 11px;
  padding: 0;
}
.file-actions span {
  color: #8e998e;
  font-size: 10px;
}
.uploads {
  gap: 18px;
}
.uploads .file-grid {
  grid-template-columns: 1fr;
}
.finish-card {
  margin-top: 32px;
  padding: 32px 24px;
  background: #f3f8ef;
  border-radius: 16px;
  text-align: center;
}
.finish-icon {
  display: grid;
  place-items: center;
  margin: auto auto 14px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #dcebd6;
  color: #548262;
  font-size: 18px;
}
.finish-card h3 {
  font-weight: 600;
  font-size: 19px;
  margin: 0 0 12px;
  letter-spacing: -0.4px;
}
.finish-card p {
  max-width: 400px;
  margin: 0 auto 22px;
  font-size: 13px;
}
.recap {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.recap span {
  font-size: 11px;
  background: white;
  color: #788775;
  border: 1px solid #e0eadb;
  border-radius: 6px;
  padding: 6px 10px;
}
.actions {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid var(--line);
  padding-top: 25px;
  margin-top: 32px;
}
.primary,
.secondary {
  border-radius: 10px;
  padding: 12px 18px;
  font-size: 13px;
  min-height: 45px;
  font-weight: 550;
}
.primary {
  background: var(--green);
  color: white;
  border: 1px solid var(--green);
}
.primary:hover:not(:disabled) {
  background: #1a533c;
}
.secondary {
  color: #778478;
  background: #fff;
  border: 1px solid #e3e8df;
}
.save-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 20px;
}
.save {
  display: flex;
  gap: 7px;
  align-items: center;
  border: 0;
  background: none;
  font-size: 10px;
  color: #8c998c;
  padding: 0;
}
.save i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #81ae87;
}
.save.error {
  color: #ac6651;
}
.save.error i {
  background: #ac6651;
}
.error-box {
  background: #fbf1e9;
  border: 1px solid #f0d7c8;
  border-radius: 10px;
  padding: 12px 15px;
  color: #9b5e44;
  font-size: 13px;
  margin-top: 20px;
  line-height: 1.6;
}
.success-banner {
  background: #eaf5e6;
  border: 1px solid #b9d7b0;
  color: #51714b;
  padding: 15px;
  border-radius: 10px;
  font-size: 13px;
  margin-bottom: 24px;
}
.mobile-progress {
  display: none;
}
footer {
  font-size: 11px;
  color: #81917f;
  margin: 28px 0;
  text-align: center;
}
footer span {
  color: #a0aa9b;
  margin-left: 8px;
}
.login {
  max-width: 540px;
  margin: 80px auto;
}
.login h1 {
  font-size: 30px;
}
.login .primary {
  width: 100%;
}
.login form {
  margin-top: 25px;
}
.modal-back {
  position: fixed;
  inset: 0;
  background: #132b2355;
  display: grid;
  place-items: center;
  padding: 20px;
  z-index: 10;
}
.modal {
  max-width: 520px;
  width: 100%;
}
.modal h2 {
  margin: 0;
}
.search {
  max-width: 440px;
  margin-bottom: 25px;
}
.table-wrap {
  overflow: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 13px;
  text-align: left;
}
th {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #8a978b;
  padding: 10px 16px;
}
td {
  padding: 20px 16px;
  border-top: 1px solid var(--line);
}
td small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 11px;
}
.badge {
  display: inline-block;
  background: #f0f5ea;
  color: #739169;
  border-radius: 6px;
  padding: 6px 9px;
  font-size: 11px;
}
.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.readout {
  white-space: pre-wrap;
  font: 13px / 1.8 inherit;
  margin-top: 30px;
  overflow-wrap: anywhere;
}
.admin-link-box {
  margin-top: 26px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f8faf6;
}
.admin-link-box > label {
  display: block;
  margin-bottom: 9px;
  color: var(--ink, #263b2d);
  font-weight: 700;
}
.admin-link-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 8px;
}
.admin-link-controls input {
  min-width: 0;
  font-size: 14px;
}
.admin-link-box > small,
.admin-last-update {
  display: block;
  margin-top: 10px;
  color: var(--muted, #617165);
  font-size: 13px;
  line-height: 1.5;
}
.admin-last-update {
  margin-top: 18px;
}
.danger-action {
  border-color: #d8b6aa;
  color: #8c3828;
}
.admin-file-grid {
  margin-top: 14px;
}
.admin-invite-option {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0 20px;
  color: #344b3a;
}
.admin-invite-option input {
  width: 20px;
  height: 20px;
  accent-color: #739169;
}
@media (max-width: 850px) {
  .workspace {
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 20px;
  }
  .shell {
    padding: 30px 24px;
  }
  .panel {
    padding: 28px;
  }
  .sidebar nav button {
    padding: 11px 9px;
  }
  .sidebar nav button strong {
    font-size: 12px;
  }
  .topbar {
    padding: 0 24px;
  }
  .page-heading {
    gap: 16px;
  }
}
@media (max-width: 650px) {
  .topbar {
    height: 65px;
    padding: 0 20px;
  }
  .brand {
    font-size: 24px;
  }
  .topnote {
    font-size: 8px;
    letter-spacing: 1px;
  }
  .shell {
    padding: 26px 16px 8px;
  }
  .page-heading {
    align-items: start;
    margin-bottom: 23px;
  }
  .page-heading h1 {
    font-size: 27px;
  }
  .page-heading p {
    font-size: 12px;
  }
  .private-badge {
    display: none;
  }
  .workspace {
    display: block;
  }
  .sidebar {
    position: static;
    padding: 0;
    margin-bottom: 18px;
  }
  .side-title,
  .side-note {
    display: none;
  }
  .sidebar nav {
    display: flex;
    gap: 6px;
  }
  .sidebar nav button {
    justify-content: center;
    flex: 1;
    padding: 7px 0;
    border-radius: 9px;
    min-height: 39px;
  }
  .sidebar nav button strong,
  .sidebar nav button i {
    display: none;
  }
  .sidebar nav button > span {
    width: 24px;
    height: 24px;
  }
  .panel {
    padding: 25px 20px;
    border-radius: 17px;
  }
  .panel-heading h2 {
    font-size: 24px;
  }
  .panel-heading p {
    font-size: 13px;
  }
  .panel-heading {
    margin-bottom: 24px;
  }
  .two-cols {
    grid-template-columns: 1fr;
  }
  .mobile-progress {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    color: #9aa88f;
    font-size: 10px;
  }
  .mobile-progress > div {
    height: 3px;
    width: 80px;
    background: #e7eedf;
    border-radius: 4px;
    overflow: hidden;
  }
  .mobile-progress i {
    height: 3px;
    display: block;
    background: #8caf7e;
  }
  .choice {
    font-size: 12px;
    padding: 10px 12px;
    min-height: 43px;
  }
  .field {
    margin-bottom: 22px;
  }
  .actions {
    margin-top: 25px;
  }
  .primary,
  .secondary {
    padding: 12px 14px;
    font-size: 12px;
  }
  .save-line {
    flex-wrap: wrap;
  }
  .service {
    padding: 17px;
  }
  .finish-card {
    padding: 24px 18px;
  }
  .login {
    margin: 50px 16px;
  }
  .file-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .admin-link-controls {
    grid-template-columns: 1fr 1fr;
  }
  .admin-link-controls input {
    grid-column: 1 / -1;
  }
  .uploads .file-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  footer {
    font-size: 10px;
  }
}

/* Saisie et commandes adaptées au téléphone. */
@media(max-width:650px){
 input,textarea,select{font-size:16px}
 .sidebar nav button,.choice{min-height:44px}
 .town-row button{width:44px;height:44px;flex-shrink:0}
 .text-button{min-height:44px;display:inline-flex;align-items:center}
 .file-actions{flex-wrap:wrap;align-items:center;padding:0 8px 6px;gap:0 8px}
 .file-actions a,.file-actions button{min-height:44px;min-width:44px;display:inline-flex;align-items:center;justify-content:center;font-size:12px}
 textarea[data-field="additionalInfo"]{min-height:160px}
 .save{min-height:44px;text-align:left;line-height:1.5}
 .save-line{align-items:center}
}

/* Lisibilité renforcée sur ordinateur et téléphone. */
p,.page-heading p,.panel-heading p{font-size:16px;color:#465a4e;line-height:1.65}
.field>span{font-size:15px;line-height:1.55}
.field small,.help,.side-note p,.finish-card p{font-size:14px;color:#465a4e;line-height:1.65}
input,textarea,select{font-size:16px;border-color:#c3cec3}
input::placeholder,textarea::placeholder{font-size:15px;color:#617165;opacity:1}
.choice{font-size:15px;color:#465a4e;line-height:1.45}
.choice.selected{color:#24573b}
.sidebar nav button:not(.active){color:#465a4e}
.sidebar nav button strong{font-size:14px}
.side-title,.topnote,.eyebrow,.panel-heading>span{font-size:12px;color:#465a4e}
.section-label>span,.address-note span,.town-row>span,.dropzone small,.file-info small,.file-actions span,.mobile-progress,.save,footer,footer span{font-size:13px;color:#465a4e}
.dropzone strong,.address-note strong,.recap span,.secondary,.add-button{font-size:15px;color:#465a4e}
.recap span{font-size:13px}
.primary{font-size:15px}
.file-info strong{font-size:13px}
.field-error{font-size:14px}
@media(max-width:650px){
 .panel{padding:25px 18px}
 .primary,.secondary{font-size:14px}
 .file-actions a,.file-actions button{font-size:13px}
 .page-heading p,.panel-heading p{font-size:16px}
 .choice{font-size:15px}
 .mobile-progress{font-size:12px}
}
.field{align-content:start}

.two-cols>.field{align-content:start;justify-content:stretch}
.two-cols>.field>input{height:46px;min-height:46px}
.field[data-error="positioning"] .choice{font-size:13px;line-height:normal;padding:11px 15px}
