.def-table { width: 100%; border-collapse: collapse; margin-top: 1rem; }
.def-table th, .def-table td { text-align: left; padding: .65rem .75rem; border-bottom: 1px solid #e7e5e0; vertical-align: top; }
.def-table th { font-size: .8rem; text-transform: uppercase; letter-spacing: .03em; color: #5f5e5a; }
.def-badge {
  display: inline-block; padding: .15rem .5rem; border-radius: 4px;
  font-size: .75rem; font-weight: 600; background: #eef5fb; color: #0065bd;
  text-decoration: none; vertical-align: middle;
}
.def-badge--link:hover { background: #dceaf7; text-decoration: underline; }
.def-att {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .88rem; font-weight: 600; white-space: nowrap;
}
.def-att__icon { width: 1.05rem; height: 1.05rem; flex-shrink: 0; }
.def-att--onsite { color: #0f7a3f; }
.def-att--remote { color: #0065bd; }
.def-att--unknown { color: #8a8984; }
.def-att__unknown {
  display: inline-flex; align-items: center; justify-content: center;
  width: 1.25rem; height: 1.25rem; border-radius: 50%;
  background: #eceae4; font-size: .75rem; font-weight: 700;
}
.def-badge--hdr { background: #fef6e0; color: #8a6d00; }
.def-badge--pre { background: #f0efe8; color: #5f5e5a; }
.def-badge--ok { background: #e8f6ee; color: #0f7a3f; }
.def-badge--alert { background: #fdecea; color: #a12622; }
.def-badge--warn { background: #fff4e5; color: #9a5b00; }

.ds-form-hidden { display: none !important; }
.ds-wysiwyg-toolbar { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: .5rem; align-items: center; }
.ds-wysiwyg-editor {
  min-height: 240px; white-space: pre-wrap; padding: .75rem 1rem;
  background: #fff; border: 1px solid #e7e5e0; border-radius: 8px; outline: none;
}
.ds-wysiwyg-editor:focus { border-color: #0065bd; box-shadow: 0 0 0 2px rgba(0,101,189,.12); }
.ds-wysiwyg-color-input {
  width: 18px; height: 18px; padding: 0; border: none; background: transparent; vertical-align: middle;
}
.ds-wysiwyg-source-view {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  min-height: 240px;
}
.def-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.def-card {
  background: #fff; border: 1px solid #e7e5e0; border-radius: 8px; padding: 1rem 1.1rem;
}
.def-card h3 { margin: 0 0 .35rem; font-size: 1.05rem; }
.def-card .meta { color: #5f5e5a; font-size: .9rem; }
.def-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }

/* --- Formulaire saisie soutenance --- */
.def-form {
  display: flex; flex-direction: column; gap: 1rem;
  width: 100%; max-width: none; padding-bottom: 5.5rem;
}
.def-form-card {
  background: #fff; border: 1px solid #e7e5e0; border-radius: 12px;
  padding: 1.15rem 1.25rem 1.25rem;
  box-shadow: 0 1px 0 rgba(26,26,24,.04);
}
.def-form-card__head {
  display: flex; flex-wrap: wrap; align-items: flex-start; gap: .75rem 1rem;
  margin-bottom: 1.1rem; padding-bottom: .9rem; border-bottom: 1px solid #f0efe8;
}
.def-form-card__step {
  flex: 0 0 auto; width: 1.85rem; height: 1.85rem; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  background: #0065bd; color: #fff; font-size: .78rem; font-weight: 700;
  letter-spacing: .02em;
}
.def-form-card__title {
  margin: 0 0 .15rem; font-size: 1.12rem; font-weight: 650; color: #1a1a18; line-height: 1.25;
}
.def-form-card__lead { margin: 0; font-size: .88rem; color: #5f5e5a; line-height: 1.35; }
.def-form-card__action { margin-left: auto; align-self: center; }

.def-form-grid { display: grid; gap: .85rem 1.15rem; margin-bottom: .85rem; }
.def-form-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.def-form-grid--zoom { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (min-width: 1100px) {
  .def-form-grid--zoom { grid-template-columns: minmax(0, 2.2fr) repeat(3, minmax(0, 1fr)); }
  .def-form-grid--zoom > .def-form-span-all:first-child { grid-column: 1 / 2; }
}
.def-form-span-all { grid-column: 1 / -1; }
.def-form-block { margin-bottom: .85rem; }
.def-form-field-follow { margin-top: .45rem; }
.def-form-hint {
  margin: .35rem 0 0; font-size: .82rem; color: #6b6a64; line-height: 1.35;
}
.def-form-choice { margin: .25rem 0 .85rem; border: 0; padding: 0; }
.def-form-choice legend { margin-bottom: .45rem; }

.def-seg {
  display: inline-flex; flex-wrap: wrap; gap: 0; padding: .2rem;
  background: #f3f1ea; border: 1px solid #e7e5e0; border-radius: 10px;
}
.def-seg__opt { position: relative; cursor: pointer; margin: 0; }
.def-seg__opt input {
  position: absolute; opacity: 0; width: 1px; height: 1px; overflow: hidden;
}
.def-seg__opt span {
  display: block; padding: .5rem .9rem; border-radius: 8px;
  font-size: .88rem; font-weight: 600; color: #5f5e5a; line-height: 1.2;
  transition: background .12s, color .12s;
}
.def-seg__opt:hover span { color: #1a1a18; }
.def-seg__opt input:checked + span {
  background: #fff; color: #0065bd;
  box-shadow: 0 1px 2px rgba(0,0,0,.06);
}
.def-seg__opt input:focus-visible + span {
  outline: 2px solid #0065bd; outline-offset: 1px;
}

.def-form-check {
  display: flex; gap: .65rem; align-items: flex-start;
  margin: 0 0 .55rem; padding: .7rem .8rem; border-radius: 8px;
  border: 1px solid #ebe9e2; background: #fafaf8; cursor: pointer;
}
.def-form-check input { margin-top: .2rem; flex-shrink: 0; }
.def-form-check strong { display: block; font-size: .92rem; color: #1a1a18; font-weight: 650; }
.def-form-check em {
  display: block; margin-top: .12rem; font-style: normal;
  font-size: .8rem; color: #6b6a64; line-height: 1.35;
}
.def-form-checks { display: flex; flex-direction: column; gap: .45rem; }

.def-form-nested {
  margin-top: .35rem; padding: .9rem 1rem; border-radius: 10px;
  background: #f7f6f2; border: 1px dashed #d8d5cc;
}
.def-form-nested__title {
  margin: 0 0 .65rem; font-size: .82rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .04em; color: #5f5e5a;
}
.def-form-paste {
  margin-bottom: .85rem; padding: .75rem .85rem; border-radius: 8px;
  background: #f0f6fc; border: 1px solid #d5e6f5;
}
.def-form-paste .ds-label { color: #0065bd; }

.def-form-search { position: relative; }
.def-form-search--grow { flex: 1 1 14rem; min-width: 0; }
.def-form-suggest {
  position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + .25rem);
  max-height: 14rem; overflow: auto; margin: 0; padding: .3rem;
  background: #fff; border: 1px solid #e7e5e0; border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
}
.def-form-suggest__item {
  display: flex; flex-direction: column; gap: .1rem; width: 100%;
  text-align: left; border: 0; background: transparent; cursor: pointer;
  padding: .5rem .6rem; border-radius: 6px; color: inherit;
}
.def-form-suggest__item:hover,
.def-form-suggest__item:focus { background: #f0f6fc; outline: none; }
.def-form-suggest__item strong { font-size: .9rem; color: #1a1a18; }
.def-form-suggest__item span { font-size: .78rem; color: #6b6a64; }
.def-form-suggest__empty {
  padding: .55rem .65rem; font-size: .85rem; color: #6b6a64; font-style: italic;
}

.def-form-toolbar {
  display: flex; flex-wrap: wrap; gap: .55rem; align-items: flex-start;
  margin-bottom: .85rem;
}

.def-jury-list { display: flex; flex-direction: column; gap: .55rem; }
.def-jury-row {
  display: grid; gap: .45rem .55rem; align-items: end;
  grid-template-columns: minmax(7rem, .9fr) minmax(5.5rem, .55fr) minmax(8rem, 1.2fr) minmax(8rem, 1.2fr) minmax(6rem, .9fr) minmax(5.5rem, .55fr) auto;
  padding: .7rem .75rem; background: #fafaf8; border: 1px solid #ebe9e2; border-radius: 10px;
}
.def-jury-row__remove { padding-bottom: .15rem; }
.def-jury-row__remove .ds-btn {
  min-width: 2.1rem; padding-left: .45rem; padding-right: .45rem;
  font-size: 1.15rem; line-height: 1; color: #6b6a64;
}

.def-form-bar {
  position: sticky; bottom: 0; z-index: 15;
  display: flex; flex-wrap: wrap; gap: .55rem; align-items: center;
  margin: .25rem -0.25rem 0; padding: .85rem 1rem;
  background: rgba(255,255,255,.92); border: 1px solid #e7e5e0; border-radius: 12px;
  backdrop-filter: blur(8px); box-shadow: 0 -4px 20px rgba(0,0,0,.05);
}

@media (max-width: 900px) {
  .def-form-grid--2,
  .def-form-grid--zoom { grid-template-columns: 1fr; }
  .def-jury-row {
    grid-template-columns: 1fr 1fr;
  }
  .def-jury-row__name,
  .def-jury-row__email,
  .def-jury-row__aff { grid-column: 1 / -1; }
  .def-jury-row__remove { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 560px) {
  .def-form-card__action { margin-left: 0; width: 100%; }
  .def-seg { width: 100%; }
  .def-seg__opt { flex: 1 1 auto; }
  .def-seg__opt span { text-align: center; }
  .def-jury-row { grid-template-columns: 1fr; }
  .def-jury-row__name,
  .def-jury-row__email,
  .def-jury-row__aff { grid-column: auto; }
}
.def-flash { margin: .75rem 0; padding: .75rem 1rem; border-radius: 6px; }
.def-flash--success { background: #e8f6ee; color: #0f7a3f; }
.def-flash--error { background: #fdecea; color: #a12622; }
.def-filters { display: flex; flex-wrap: wrap; gap: .75rem; align-items: end; margin: 1rem 0; }
.def-muted { color: #5f5e5a; }

/* --- Statut préparation --- */
.def-status-pill {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 2.75rem; padding: .28rem .7rem; border-radius: 999px;
  font-size: .78rem; font-weight: 700; letter-spacing: .01em;
  line-height: 1.25; white-space: nowrap;
}
.def-status-pill--ok,
.def-hero__fact .def-status-pill--ok,
.def-agenda-card .def-status-pill--ok { background: #0f7a3f; color: #fff; }
.def-status-pill--warn,
.def-hero__fact .def-status-pill--warn,
.def-agenda-card .def-status-pill--warn { background: #c47f00; color: #fff; }
.def-status-pill--alert,
.def-hero__fact .def-status-pill--alert,
.def-agenda-card .def-status-pill--alert { background: #a12622; color: #fff; }
.def-status-pill--unknown,
.def-hero__fact .def-status-pill--unknown,
.def-agenda-card .def-status-pill--unknown,
.def-status-pill--na,
.def-hero__fact .def-status-pill--na,
.def-agenda-card .def-status-pill--na { background: #eceae4; color: #3f3e3a; border: 1px solid #d4d2cb; }

/* --- Agenda --- */
.def-agenda {
  display: flex; flex-direction: column; gap: .65rem;
}
.def-agenda-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .85rem 1.5rem;
  align-items: center;
  color: inherit;
  background: #fff; border: 1px solid #e7e5e0; border-radius: 10px;
  border-left: 5px solid #8a8984; padding: .85rem 1.1rem;
  transition: border-color .15s, box-shadow .15s;
}
.def-agenda-card:hover { box-shadow: 0 2px 10px rgba(0,0,0,.06); }
.def-agenda-card--ok { border-left-color: #0f7a3f; }
.def-agenda-card--warn { border-left-color: #c47f00; }
.def-agenda-card--alert { border-left-color: #a12622; }
.def-agenda-card--unknown { border-left-color: #8a8984; }

.def-agenda-card__main { min-width: 0; }
.def-agenda-card__meta {
  display: flex; flex-wrap: wrap; gap: .4rem .65rem; align-items: center; margin-bottom: .3rem;
}
.def-agenda-card__meta time {
  color: #1a1a18; font-size: .9rem; font-weight: 600;
}
.def-agenda-card h3 { margin: 0 0 .15rem; font-size: 1.12rem; line-height: 1.25; }
.def-agenda-card__title { color: inherit; text-decoration: none; }
.def-agenda-card__title:hover { color: #0065bd; text-decoration: underline; }
.def-agenda-card__place { margin: 0; color: #5f5e5a; font-size: .9rem; }
.def-agenda-card__ok-msg {
  margin: .4rem 0 0; font-size: .85rem; font-weight: 600; color: #0f7a3f;
}
.def-agenda-card__issues {
  list-style: none; margin: .4rem 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: .2rem .75rem;
}
.def-issue { font-size: .85rem; font-weight: 600; }
.def-issue--alert { color: #a12622; }
.def-issue--warn { color: #9a5b00; }

.def-agenda-card__side {
  display: flex; flex-direction: column; align-items: flex-end; gap: .55rem;
  justify-self: end; min-width: 11rem;
}
.def-agenda-card__media {
  display: flex; flex-wrap: wrap; gap: .35rem; justify-content: flex-end;
}
.def-agenda-stick {
  display: inline-block; padding: .4rem .65rem; font-size: .78rem; font-weight: 700;
  letter-spacing: .02em; border-radius: 2px; line-height: 1.2;
  box-shadow: 2px 3px 0 rgba(0,0,0,.07);
  transform: rotate(-1.5deg);
}
.def-agenda-stick:nth-child(2) { transform: rotate(1.2deg); }
.def-agenda-stick--rec { background: #ffd8b0; color: #7a3b00; }
.def-agenda-stick--tr { background: #ffd6e7; color: #8a2458; }
.def-agenda-stick--done {
  opacity: .5; text-decoration: line-through; transform: none !important;
  box-shadow: none;
}
.def-agenda-card__actions {
  display: flex; flex-wrap: wrap; gap: .35rem; justify-content: flex-end; align-items: center;
}
.def-agenda-card__zoom-miss {
  font-size: .8rem; color: #9a5b00; font-weight: 600; padding: 0 .25rem;
}
.def-agenda-notes {
  display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .55rem;
}
.def-agenda-note {
  position: relative; display: inline-block; max-width: 100%;
}
.def-agenda-note__chip {
  display: inline-block; max-width: 12rem;
  padding: .32rem .55rem; font-size: .75rem; font-weight: 700;
  line-height: 1.25; border-radius: 2px;
  box-shadow: 2px 2px 0 rgba(0,0,0,.07);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  transform: rotate(-1deg); cursor: default;
}
.def-agenda-note:nth-child(2n) .def-agenda-note__chip { transform: rotate(1deg); }
.def-agenda-note--yellow .def-agenda-note__chip { background: #fff3a1; color: #5a5200; }
.def-agenda-note--pink .def-agenda-note__chip { background: #ffd6e7; color: #8a2458; }
.def-agenda-note--blue .def-agenda-note__chip { background: #cfe8ff; color: #145a8a; }
.def-agenda-note--green .def-agenda-note__chip { background: #d4f5c8; color: #2a6b1c; }
.def-agenda-note--orange .def-agenda-note__chip { background: #ffd8b0; color: #7a3b00; }
.def-agenda-note__tip {
  position: absolute; left: 0; bottom: calc(100% + .35rem); z-index: 5;
  min-width: 12rem; max-width: min(22rem, 70vw);
  padding: .55rem .65rem; border-radius: 8px;
  background: #1a1a18; color: #fff; font-size: .82rem; font-weight: 500;
  line-height: 1.4; white-space: pre-wrap; word-break: break-word;
  box-shadow: 0 6px 18px rgba(0,0,0,.18);
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(.2rem); transition: opacity .12s, transform .12s, visibility .12s;
}
.def-agenda-note:hover .def-agenda-note__tip,
.def-agenda-note:focus-within .def-agenda-note__tip {
  opacity: 1; visibility: visible; transform: none;
}

@media (max-width: 720px) {
  .def-agenda-card {
    grid-template-columns: 1fr;
    gap: .75rem;
  }
  .def-agenda-card__side {
    align-items: flex-start; min-width: 0; width: 100%;
    padding-top: .55rem; border-top: 1px dashed #ebe9e2;
  }
  .def-agenda-card__media,
  .def-agenda-card__actions { justify-content: flex-start; }
}

/* --- Panneau préparation fiche --- */
.def-ready {
  background: #fff; border: 1px solid #e7e5e0; border-radius: 10px;
  border-left: 5px solid #8a8984; padding: 1rem 1.15rem;
}
.def-ready--ok { border-left-color: #0f7a3f; background: #f4fbf7; }
.def-ready--warn { border-left-color: #c47f00; background: #fffaf0; }
.def-ready--alert { border-left-color: #a12622; background: #fdf6f5; }
.def-ready__head { display: flex; flex-wrap: wrap; gap: .65rem; align-items: center; margin-bottom: .65rem; }
.def-ready__title { font-size: 1.05rem; }
.def-ready__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .4rem; }
.def-ready__item {
  display: grid; grid-template-columns: 1.1rem 1fr auto; gap: .55rem; align-items: start;
  font-size: .92rem;
}
.def-ready__mark {
  width: .7rem; height: .7rem; border-radius: 50%; margin-top: .35rem; background: #8a8984;
}
.def-ready__item--ok .def-ready__mark { background: #0f7a3f; }
.def-ready__item--warn .def-ready__mark { background: #c47f00; }
.def-ready__item--alert .def-ready__mark { background: #a12622; }
.def-ready__item--na .def-ready__mark { background: #c9c7c2; }
.def-ready__item--unknown .def-ready__mark { background: #8a8984; }
.def-ready__link { font-size: .85rem; white-space: nowrap; }

.def-audit { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .45rem; }
.def-audit__row {
  display: grid; grid-template-columns: minmax(7rem, 11rem) 1fr minmax(5rem, 9rem) auto;
  gap: .5rem .75rem; align-items: baseline; font-size: .88rem;
  padding: .35rem 0; border-bottom: 1px solid #eeebe6;
}
.def-audit__field { font-weight: 600; color: #1a1a18; }
.def-audit__val { color: #3a3935; overflow-wrap: anywhere; }
.def-audit__who { color: #5f5e5a; }
.def-audit__when { color: #8a8984; white-space: nowrap; font-size: .82rem; }
@media (max-width: 720px) {
  .def-audit__row { grid-template-columns: 1fr 1fr; }
  .def-audit__when { grid-column: 1 / -1; }
}

/* --- Fiche soutenance (layout Jour J) --- */
.def-fiche { margin-top: 1.25rem; }
.def-hero {
  background: #fff; border: 1px solid #e7e5e0; border-radius: 12px;
  border-left: 5px solid #8a8984; padding: 1.15rem 1.25rem; margin-bottom: 1rem;
}
.def-hero--ok { border-left-color: #0f7a3f; }
.def-hero--warn { border-left-color: #c47f00; }
.def-hero--alert { border-left-color: #a12622; }
.def-hero__kicker { font-size: .85rem; color: #5f5e5a; margin-bottom: .35rem; }
.def-hero__title { margin: 0 0 .9rem; font-size: 1.55rem; line-height: 1.2; font-weight: 650; }
.def-hero__meta {
  display: flex; flex-wrap: wrap; gap: 1rem 1.75rem; align-items: flex-start;
}
.def-hero__fact { display: flex; flex-direction: column; gap: .15rem; min-width: 8rem; }
.def-hero__fact strong { font-size: 1.05rem; }
.def-hero__fact span { font-size: .88rem; color: #5f5e5a; }
.def-hero__label {
  font-size: .72rem; text-transform: uppercase; letter-spacing: .04em;
  color: #8a8984; font-weight: 600;
}
.def-hero__fact--status { flex-direction: row; align-items: center; gap: .55rem; min-width: auto; }
.def-hero__ready-label { font-size: .9rem; font-weight: 600; }

.def-fiche__grid {
  display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 1rem;
}
.def-fiche__grid--foot { margin-top: 1rem; }
@media (max-width: 760px) {
  .def-fiche__grid { grid-template-columns: 1fr; }
}

.def-panel {
  background: #fff; border: 1px solid #e7e5e0; border-radius: 10px;
  padding: 1rem 1.1rem; margin-bottom: 1rem;
}
.def-panel h2 {
  margin: 0 0 .75rem; font-size: .78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .05em; color: #5f5e5a;
}
.def-panel__sub {
  margin: 1rem 0 .5rem; font-size: .85rem; font-weight: 600; color: #1a1a18;
  text-transform: none; letter-spacing: 0;
}
.def-panel__lead { margin: 0 0 .5rem; font-size: 1rem; font-weight: 500; }
.def-panel__head {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem;
  align-items: center; margin-bottom: .5rem;
}
.def-panel__head h2 { margin: 0; }

.def-dl { margin: 0; }
.def-dl > div {
  display: grid; grid-template-columns: 7rem 1fr; gap: .5rem;
  padding: .35rem 0; border-bottom: 1px solid #f0efe8; font-size: .92rem;
}
.def-dl > div:last-child { border-bottom: 0; }
.def-dl dt { color: #5f5e5a; margin: 0; }
.def-dl dd { margin: 0; font-weight: 500; }

.def-timeline {
  list-style: none; margin: 0; padding: 0;
}
.def-timeline li {
  display: grid; grid-template-columns: 4.5rem 1fr; gap: .75rem;
  padding: .65rem 0; border-bottom: 1px solid #f0efe8; font-size: .95rem;
}
.def-timeline li:last-child { border-bottom: 0; }
.def-timeline__time { font-weight: 700; color: #0065bd; font-size: .88rem; }

.def-table--compact th, .def-table--compact td { padding: .5rem .6rem; font-size: .9rem; }
.def-mail-preview {
  margin: 0; padding: .85rem 1rem; background: #fafaf8; border: 1px solid #e7e5e0;
  border-radius: 8px; white-space: pre-wrap; font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: .88rem; line-height: 1.45; max-height: 22rem; overflow: auto; color: #1a1a18;
}
.def-mail-panel .def-panel__head { margin-bottom: .35rem; }

.def-mail-addrs {
  margin: .75rem 0 0; padding: .75rem .85rem; background: #f7f6f2;
  border: 1px solid #e7e5e0; border-radius: 8px;
}
.def-mail-addrs__head {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline;
  gap: .35rem .75rem; margin-bottom: .55rem;
}
.def-mail-addrs__title {
  margin: 0; font-size: .95rem; font-weight: 700; color: #1a1a18;
}
.def-mail-addrs__list { list-style: none; margin: 0; padding: 0; }
.def-mail-addrs__row {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start;
  gap: .5rem .75rem; padding: .55rem 0; border-top: 1px solid #e7e5e0;
}
.def-mail-addrs__row:first-child { border-top: 0; padding-top: 0; }
.def-mail-addrs__meta { flex: 1 1 12rem; min-width: 0; }
.def-mail-addrs__prefix {
  display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; color: #0065bd; margin-right: .35rem;
}
.def-mail-addrs__label { font-weight: 600; font-size: .9rem; color: #1a1a18; }
.def-mail-addrs__hint {
  display: block; margin-top: .15rem; font-size: .8rem; color: #6b6a64; line-height: 1.35;
}
.def-mail-addrs__value {
  display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; flex: 1 1 16rem;
  justify-content: flex-end; min-width: 0;
}
.def-mail-addrs__emails {
  font-size: .8rem; word-break: break-all; color: #333; background: #fff;
  border: 1px solid #e7e5e0; border-radius: 4px; padding: .25rem .45rem;
  max-width: 100%;
}
.def-mail-addrs__row--empty .def-mail-addrs__value { opacity: .75; }

.def-recv-zones__head { margin-bottom: .85rem; }
.def-recv-zone {
  display: grid; grid-template-columns: 2.5rem 1fr; gap: .55rem; align-items: start;
  margin-bottom: .65rem;
}
.def-recv-zone__label {
  font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: #0065bd; padding-top: .65rem;
}
.def-recv-zone__drop {
  min-height: 3rem; padding: .45rem .55rem; border: 1px dashed #cfcabe; border-radius: 8px;
  background: #fafaf8; transition: border-color .15s, background .15s;
}
.def-recv-zone__drop--filled { border-style: solid; border-color: #e7e5e0; background: #fff; }
.def-recv-zone__drop--over { border-color: #0065bd; background: #f0f6fc; }
.def-recv-zone__placeholder {
  display: none; font-size: .82rem; color: #9a9890; padding: .35rem .15rem;
}
.def-recv-zone__drop:not(.def-recv-zone__drop--filled) .def-recv-zone__placeholder { display: block; }
.def-recv-chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.def-recv-chips--pool { margin-top: .35rem; min-height: 2.2rem; }

.def-chip {
  display: inline-flex; align-items: flex-start; gap: .25rem; max-width: 100%;
  padding: .3rem .35rem .3rem .5rem; border-radius: 999px; border: 1px solid #ddd9cf;
  background: #f3f1ea; cursor: grab; user-select: none;
}
.def-chip--dragging { opacity: .45; }
.def-chip__body { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; padding: .05rem 0; }
.def-chip__name { font-size: .82rem; font-weight: 600; color: #1a1a18; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 14rem; }
.def-chip__email { font-size: .72rem; color: #555; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 14rem; }
.def-chip__label { font-size: .68rem; color: #6b6a64; }
.def-chip__x {
  flex: 0 0 auto; border: 0; background: transparent; color: #6b6a64; cursor: pointer;
  font-size: 1.05rem; line-height: 1; padding: .1rem .25rem; border-radius: 999px;
}
.def-chip__x:hover { background: #e7e5e0; color: #1a1a18; }
.def-recv-chips--pool .def-chip { cursor: pointer; background: #fff; }
.def-recv-chips--pool .def-chip:hover { border-color: #0065bd; }

.def-recv-manual { margin: 1rem 0 .85rem; padding-top: .85rem; border-top: 1px solid #ebe9e2; }
.def-recv-manual__row { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.def-recv-manual__row .ds-input[type="text"] { flex: 1 1 14rem; min-width: 0; }
.def-recv-manual__row select { flex: 0 0 auto; width: auto; min-width: 4.5rem; }

.def-recv-pool {
  margin-top: .35rem; padding: .75rem .85rem; border-radius: 8px;
  background: #f7f6f2; border: 1px solid #e7e5e0;
}
.def-recv-pool__title { margin: 0 0 .15rem; font-size: .95rem; }
.def-recv-pool__target {
  display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .65rem; margin-bottom: .45rem;
}

.def-notes-board--top { margin: 1rem 0 1.25rem; }
.def-notes-board .def-panel__head {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .5rem .75rem;
}
.def-notes-add-panel { margin-top: 1.25rem; }

.def-postits {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(11.5rem, 1fr));
  gap: .85rem; align-items: start;
}
.def-postit {
  position: relative; padding: .85rem .75rem .65rem; border-radius: 2px;
  box-shadow: 2px 3px 0 rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.08);
  min-height: 7rem; transform: rotate(-1deg);
}
.def-postit:nth-child(2n) { transform: rotate(1.2deg); }
.def-postit:nth-child(3n) { transform: rotate(-0.6deg); }
.def-postit--yellow { background: #fff3a1; }
.def-postit--pink { background: #ffd6e7; }
.def-postit--blue { background: #cfe8ff; }
.def-postit--green { background: #d4f5c8; }
.def-postit--orange { background: #ffd8b0; }
.def-postit__dismiss { position: absolute; top: .15rem; right: .15rem; margin: 0; }
.def-postit__x {
  border: 0; background: transparent; color: #6b6a64; cursor: pointer;
  font-size: 1.15rem; line-height: 1; width: 1.5rem; height: 1.5rem; border-radius: 999px;
  padding: 0;
}
.def-postit__x:hover { background: rgba(0,0,0,.08); color: #1a1a18; }
.def-postit__body {
  font-size: .9rem; line-height: 1.4; color: #2a2a22; white-space: pre-wrap; word-break: break-word;
  padding-right: 1.1rem;
}
.def-postit__meta {
  margin-top: .55rem; display: flex; flex-wrap: wrap; gap: .25rem .55rem;
  font-size: .68rem; color: #5f5e55;
}
.def-postit__tag {
  font-weight: 700; text-transform: uppercase; letter-spacing: .03em; color: #444;
}
.def-postit__edit { margin-top: .45rem; font-size: .8rem; }
.def-postit__edit summary { cursor: pointer; color: #555; }
.def-postit__edit[open] summary { margin-bottom: .35rem; }
.def-postit-add { margin: 0; }
.def-postit-add__row {
  display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .5rem; align-items: center;
}
.def-postit-add__row select { max-width: 10rem; }

/* --- Flux calendrier ICS --- */
.def-cal-feed__url {
  display: block; padding: .55rem .7rem; border-radius: 8px;
  background: #f7f6f2; border: 1px solid #e7e5e0;
  font-size: .78rem; word-break: break-all; color: #1a1a18;
}
.def-cal-preview {
  display: flex; flex-direction: column; gap: .75rem;
}
.def-cal-preview__item {
  padding: .85rem 1rem; border-radius: 10px;
  border: 1px solid #e7e5e0; background: #fafaf8;
}
.def-cal-preview__meta {
  display: flex; flex-wrap: wrap; gap: .35rem .65rem; align-items: center;
  margin-bottom: .35rem;
}
.def-cal-preview__title {
  margin: 0 0 .25rem; font-size: 1rem; font-weight: 700; color: #1a1a18;
}
.def-cal-preview__when {
  margin: 0; font-size: .88rem; font-weight: 600; color: #0065bd;
}
.def-cal-preview__loc {
  margin: .2rem 0 0; font-size: .88rem; color: #3a3935;
}
.def-cal-preview__desc {
  margin-top: .55rem; padding-top: .55rem; border-top: 1px dashed #e0ddd6;
  font-size: .86rem; color: #3a3935; line-height: 1.45;
  display: flex; flex-direction: column; gap: .15rem;
  word-break: break-word;
}
.def-cal-preview__url {
  margin: .55rem 0 0; font-size: .84rem;
}

/* --- Zoom (fiche) --- */
.def-panel--zoom { margin-bottom: 1rem; }
.def-zoom-stack {
  display: grid; gap: .85rem; grid-template-columns: 1fr;
}
.def-zoom-stack--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (max-width: 760px) {
  .def-zoom-stack--2 { grid-template-columns: 1fr; }
}
.def-zoom {
  border: 1px solid #d5e6f5; border-radius: 12px; padding: .9rem 1rem;
  background: linear-gradient(160deg, #f3f8fd 0%, #fff 55%);
  height: 100%; box-sizing: border-box;
  display: flex; flex-direction: column;
}
.def-zoom--delib {
  border-color: #e0d5c8; background: linear-gradient(160deg, #faf6f0 0%, #fff 55%);
}
.def-zoom--empty {
  border-style: dashed; border-color: #d8d5cc;
  background: #fafaf8;
}
.def-zoom__head {
  display: flex; gap: .7rem; align-items: flex-start; margin-bottom: .75rem;
}
.def-zoom__brand {
  flex: 0 0 auto; width: 2.35rem; height: 2.35rem; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  background: #0065bd; color: #fff;
}
.def-zoom--delib .def-zoom__brand { background: #6b5a45; }
.def-zoom--empty .def-zoom__brand { background: #c5c2b8; }
.def-zoom__titles { min-width: 0; }
.def-zoom__title {
  margin: 0; font-size: .98rem; font-weight: 700; color: #1a1a18; line-height: 1.25;
}
.def-zoom__hint {
  margin: .15rem 0 0; font-size: .8rem; color: #5f5e5a; line-height: 1.35;
}
.def-zoom__actions {
  display: grid; grid-template-columns: 1fr auto; gap: .45rem; align-items: stretch;
}
.def-zoom__cta {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  box-sizing: border-box; padding: .7rem 1rem;
  border-radius: 10px; background: #0065bd; color: #fff !important;
  font-size: .95rem; font-weight: 700; text-decoration: none;
  transition: background .12s, transform .12s;
}
.def-zoom__cta:hover { background: #00529a; }
.def-zoom__cta:active { transform: translateY(1px); }
.def-zoom--delib .def-zoom__cta { background: #5a4a38; }
.def-zoom--delib .def-zoom__cta:hover { background: #473a2c; }
.def-zoom__copy-link {
  border: 1px solid #c5d9ec; background: #fff; color: #0065bd; cursor: pointer;
  border-radius: 10px; padding: .55rem .85rem; font-size: .82rem; font-weight: 700;
  white-space: nowrap;
}
.def-zoom__copy-link:hover { background: #eef5fb; }
.def-zoom--delib .def-zoom__copy-link {
  border-color: #d8cbb8; color: #5a4a38;
}
.def-zoom--delib .def-zoom__copy-link:hover { background: #f3ebe1; }

.def-zoom__creds {
  list-style: none; margin: .75rem 0 0; padding: 0;
  display: flex; flex-direction: column; gap: .4rem;
}
.def-zoom__creds li {
  display: grid; grid-template-columns: 3.2rem minmax(0, 1fr) auto;
  gap: .45rem; align-items: center;
  padding: .4rem .5rem; border-radius: 8px; background: rgba(255,255,255,.85);
  border: 1px solid #e7e5e0;
}
.def-zoom__cred-label {
  font-size: .68rem; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; color: #8a8984;
}
.def-zoom__cred-value {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: .88rem; color: #1a1a18; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.def-zoom__cred--host .def-zoom__cred-label { color: #9a5b00; }
.def-zoom__copy {
  border: 0; background: #eef5fb; color: #0065bd; cursor: pointer;
  font-size: .75rem; font-weight: 700; padding: .28rem .5rem; border-radius: 6px;
}
.def-zoom__copy:hover { background: #dceaf7; }
.def-zoom--delib .def-zoom__copy { background: #f3ebe1; color: #5a4a38; }
.def-zoom--delib .def-zoom__copy:hover { background: #e8dccf; }
.def-zoom__notes {
  margin: .65rem 0 0; font-size: .85rem; color: #5f5e5a; line-height: 1.4;
}
.def-zoom__missing {
  margin: 0 0 .55rem; font-size: .9rem; color: #6b6a64;
}
.def-ready__list--inline {
  display: grid; gap: .45rem .85rem;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
}

/* --- Admin utilisateurs --- */
.def-users { display: flex; flex-direction: column; gap: 1rem; }
.def-users__legend {
  display: grid; gap: .65rem; grid-template-columns: repeat(4, minmax(0, 1fr));
}
@media (max-width: 960px) {
  .def-users__legend { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.def-users__role-card {
  background: #fff; border: 1px solid #e7e5e0; border-radius: 10px;
  padding: .75rem .9rem; border-left: 4px solid #8a8984;
}
.def-users__role-card--viewer { border-left-color: #8a8984; }
.def-users__role-card--manager { border-left-color: #0065bd; }
.def-users__role-card--it { border-left-color: #6b4f9a; }
.def-users__role-card--admin { border-left-color: #0f7a3f; }
.def-users__role-name {
  display: block; font-size: .82rem; font-weight: 700; letter-spacing: .02em;
  text-transform: uppercase; color: #1a1a18; margin-bottom: .25rem;
}
.def-users__role-card p {
  margin: 0; font-size: .84rem; color: #5f5e5a; line-height: 1.35;
}
.def-users__you {
  font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
  color: #0065bd; background: #eef5fb; border-radius: 999px; padding: .12rem .45rem;
  margin-left: .35rem; vertical-align: middle;
}
.def-logistics {
  margin-top: 1rem;
  padding: .85rem 1rem;
  border-radius: 10px;
  border: 1px solid #e0c56a;
  border-left: 5px solid #c47f00;
  background: linear-gradient(160deg, #fff8e8 0%, #fffdf7 70%);
  box-shadow: 0 1px 0 rgba(196, 127, 0, .08);
}
.def-logistics__title {
  margin: 0 0 .45rem;
  font-size: .78rem; font-weight: 800; letter-spacing: .05em;
  text-transform: uppercase; color: #7a4a00;
}
.def-logistics__body {
  margin: 0; white-space: pre-wrap; font-size: .98rem; font-weight: 550;
  color: #2a2924; line-height: 1.5;
}
.def-logistics--edit .ds-label {
  font-size: .78rem; font-weight: 800; letter-spacing: .05em;
  text-transform: uppercase; color: #7a4a00;
}

.def-quick {
  margin-top: 1rem; padding-top: .85rem; border-top: 1px dashed #e0ddd6;
}
.def-quick__grid {
  display: grid; gap: .55rem .85rem;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}
.def-quick__check { margin: 0; align-items: flex-start; }
.def-quick__check--muted { opacity: .65; }
.def-quick__public { margin: .85rem 0 0; }
.def-quick__actions { margin-top: .75rem; }
.def-quick--logistics { margin-top: 0; padding-top: 0; border-top: 0; }
.def-quick--zoom { margin-top: .55rem; }
.def-quick__zoom-grid {
  display: grid; gap: .55rem; margin-top: .45rem;
  grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr));
}
.def-zoom__edit { margin-top: .75rem; font-size: .88rem; }
.def-zoom__edit > summary {
  cursor: pointer; color: #0065bd; font-weight: 600; list-style: none;
}
.def-zoom__edit > summary::-webkit-details-marker { display: none; }
.def-zoom__edit[open] > summary { margin-bottom: .45rem; }
.def-zoom__notes { white-space: pre-wrap; }

@media (max-width: 860px) {
  .def-users__legend { grid-template-columns: 1fr; }
}
