/* Lot 3 bis — Objectifs stratégiques (atelier) */
.desk-so-toolbar{
  display:flex;flex-wrap:wrap;gap:12px;align-items:flex-end;margin-bottom:14px
}
.desk-so-toolbar .desk-field{margin:0;min-width:160px}
.desk-so-form{
  margin-top:16px;padding:14px 16px;border:1px solid #3a3f4e;border-radius:12px;
  background:rgba(255,255,255,.03);display:flex;flex-direction:column;gap:10px
}
.desk-so-form .desk-field textarea{min-height:72px;resize:vertical}
.desk-so-form-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:4px}
.desk-so-row{cursor:pointer}
.desk-so-row.on{background:rgba(233,234,240,.08)}
/* Les td restent table-cell : -webkit-box ou flex sur un td casse la grille. */
#desk-so-tbl{table-layout:fixed;width:100%;min-width:1380px}
#desk-so-tbl th{white-space:normal;vertical-align:bottom}
#desk-so-tbl th:nth-child(2){width:7.5rem}
#desk-so-tbl th:nth-child(3){width:9.5rem}
#desk-so-tbl th:nth-child(4){width:240px}
#desk-so-tbl th:nth-child(5){width:280px}
#desk-so-tbl th:nth-child(6){width:7.5rem}
#desk-so-tbl th:nth-child(7){width:6rem}
#desk-so-tbl th:nth-child(8){width:7.5rem}
#desk-so-tbl th:nth-child(9){width:7.5rem}
#desk-so-tbl th:nth-child(10){width:8rem}
.desk-so-row td.desk-so-title,
.desk-so-row td.desk-so-desc{
  display:table-cell;vertical-align:top;white-space:normal;min-width:180px;overflow:hidden
}
.desk-so-row td.desk-so-title{max-width:240px;width:240px}
.desk-so-row td.desk-so-desc{max-width:280px;width:280px}
.desk-so-clamp{
  display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;
  overflow:hidden;white-space:normal;overflow-wrap:anywhere;word-break:break-word;
  line-height:1.35;max-width:100%
}
.desk-so-pill{font-size:11px;font-weight:600;padding:2px 8px;border-radius:999px;background:#3a3f4e;color:#c5c9d6;white-space:nowrap}
.desk-so-pill.arch{background:#2a2e38;color:#9aa0ad}
.desk-so-pill.clos{background:#1e3a2f;color:#8fd4b0}
.desk-so-err.desk-hint{color:#f3a6a0}
.desk-so-tabs{display:flex;gap:6px;flex-wrap:wrap;width:100%;margin-bottom:4px}
.desk-so-tab{
  border:1px solid #3a3f4e;background:rgba(255,255,255,.04);color:#c5c9d6;
  border-radius:999px;padding:6px 12px;font-size:12px;font-weight:600;cursor:pointer
}
.desk-so-tab.on{background:#2b3a55;color:#e9eaf0;border-color:#5a6f98}
.desk-so-tab-badge{display:inline-block;margin-left:6px;min-width:18px;padding:0 5px;border-radius:999px;background:#c45b52;color:#fff;font-size:11px;text-align:center}
.desk-so-exp-th{width:28px}
.desk-so-exp-cell{width:28px;text-align:center}
.desk-so-exp{border:none;background:transparent;color:#c5c9d6;cursor:pointer;font-size:14px;line-height:1;padding:2px 4px}
.desk-so-exp.open{transform:rotate(90deg)}
.desk-so-exp.ph{display:inline-block;width:14px}
.desk-so-to-row{background:rgba(255,255,255,.02)}
.desk-so-to-row td{font-size:12px;color:#b5bac8;white-space:normal;overflow-wrap:anywhere;vertical-align:top}
.desk-so-to-indent{width:28px}
.desk-so-to-empty{font-size:12px;color:#8a8f9c;padding:8px 12px}
.desk-so-pill.ok{background:#1e3a2f;color:#8fd4b0}
.desk-so-pill.wait{background:#3d3420;color:#e8c97a}
.desk-so-pill.bad{background:#3a2020;color:#f3a6a0}
.desk-so-pending-wrap{display:flex;flex-direction:column;gap:12px;margin-top:8px}
.desk-so-pending{border:1px solid #3a3f4e;border-radius:12px;padding:12px 14px;background:rgba(255,255,255,.03);cursor:pointer}
.desk-so-pending.on{border-color:#5a6f98;background:rgba(90,111,152,.12)}
.desk-so-pending h4{margin:0 0 6px;font-size:14px}
.desk-so-pending-meta{margin:0 0 8px;font-size:12px;color:#9aa0ad}
.desk-so-pending-dl{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:8px 12px;margin:0}
.desk-so-pending-dl dt{font-size:10px;text-transform:uppercase;letter-spacing:.04em;color:#8a8f9c;margin:0}
.desk-so-pending-dl dd{margin:2px 0 0;font-size:13px}
.desk-so-pending-actions{margin-top:4px;padding-top:10px;border-top:1px solid #3a3f4e}
.desk-so-form-actions .desk-btn.danger{
  border-color:#c45b52;background:#3a2020;color:#f3a6a0
}
.desk-so-hist{margin-top:8px}
.desk-so-hist .desk-btn.small{height:28px;font-size:12px;padding:0 8px}