/* Cartes douces: floating white icon rail, rounded white cards with soft
   shadows on #f3f2f8, Nunito, pills, rings and donuts. Every rule is scoped
   to html.t-douce or uses dc- classes only this look renders. */
.t-douce {
  --bg: #f3f2f8;
  --card: #ffffff;
  --ink: #1f1d2e;
  --sub: #5d5a73;
  --violet: #5b4fe0;
  --violet-d: #4a3fc7;
  --violet-l: #ecebfd;
  --soft: #f8f7fc;
  --shadow: 0 1px 2px rgba(20, 20, 60, 0.06), 0 8px 24px rgba(20, 20, 60, 0.06);
}
.t-douce body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
}
.t-douce a {
  color: var(--violet-d);
  font-weight: 700;
}
.t-douce a:hover {
  color: #3a30a8;
}
.t-douce :focus-visible {
  outline: 3px solid var(--violet);
  outline-offset: 3px;
}
.num {
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}
.dc-sub {
  color: var(--sub);
  font-size: 13px;
}
.dc-small {
  font-size: 12px;
}
.dc-tiny {
  font-size: 11px;
}
.dc-b {
  font-weight: 700;
}
.dc-bb {
  font-weight: 800;
}
.dc-ink {
  color: var(--ink);
}
.dc-big {
  font-size: 38px;
  line-height: 1;
}
.dc-big-sm {
  font-size: 30px;
}
.dc-huge {
  font-size: 44px;
  line-height: 1.05;
}
.dc-push {
  margin-left: auto;
}
.dc-wrap {
  flex-wrap: wrap;
}
.dc-stretch {
  align-self: stretch;
}
.dc-mb24 {
  margin-bottom: 24px;
}
.dc-stack-6,
.dc-stack-8,
.dc-stack-10,
.dc-stack-12,
.dc-stack-14,
.dc-stack-16,
.dc-stack-24 {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.dc-stack-6 {
  gap: 6px;
}
.dc-stack-8 {
  gap: 8px;
}
.dc-stack-10 {
  gap: 10px;
}
.dc-stack-12 {
  gap: 12px;
}
.dc-stack-14 {
  gap: 14px;
}
.dc-stack-16 {
  gap: 16px;
}
.dc-stack-24 {
  gap: 24px;
}
.dc-row10,
.dc-row12 {
  display: flex;
  align-items: center;
}
.dc-row10 {
  gap: 10px;
}
.dc-row12 {
  gap: 12px;
}
.dc-row24 {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
}
.dc-row-base {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

/* ── Shell ────────────────────────────────────────────────────────────── */
.t-douce .app {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 24px;
  padding: 20px;
  min-height: 100vh;
}
.t-douce #main {
  flex: 1 1 640px;
  min-width: 0;
  padding: 6px 4px 24px 0;
}
.dc-rail {
  flex: 0 0 84px;
  width: 84px;
  align-self: flex-start;
  position: sticky;
  top: 20px;
  z-index: 20;
  background: var(--card);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 16px 0 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.dc-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-bottom: 12px;
  text-decoration: none;
  color: var(--sub) !important;
  font-size: 10px;
  font-weight: 800 !important;
  letter-spacing: 0.08em;
}
.dc-logo .m {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  background: linear-gradient(140deg, #5b4fe0, #8a7df2);
  color: #ffffff;
  font-size: 22px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 14px rgba(91, 79, 224, 0.3);
}
.dc-ri {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  width: 72px;
  padding: 5px 0 6px;
  text-decoration: none;
  color: var(--sub) !important;
  font-size: 11px;
  font-weight: 700 !important;
  border-radius: 18px;
  text-align: center;
}
a.dc-ri:hover {
  color: var(--ink) !important;
}
a.dc-ri:hover .dc-ic {
  background: var(--bg);
}
.dc-ic {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.dc-ri.is-on {
  color: var(--violet-d) !important;
  font-weight: 800 !important;
}
.dc-ri.is-on .dc-ic,
a.dc-ri.is-on:hover .dc-ic {
  background: var(--violet);
  color: #ffffff;
  box-shadow: 0 6px 14px rgba(91, 79, 224, 0.35);
}
.dc-bdg {
  position: absolute;
  top: -3px;
  right: -7px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: #b3432a;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 2px #ffffff;
}
.dc-userbox {
  position: relative;
  margin-top: 14px;
}
.dc-user {
  border: 0;
  padding: 2px;
  background: transparent;
  border-radius: 50%;
  display: flex;
}
.dc-av {
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  flex: none;
}
.t-douce .umenu {
  left: calc(100% + 14px);
  bottom: -6px;
  background: var(--card);
  border-radius: 20px;
  box-shadow: 0 2px 6px rgba(20, 20, 60, 0.1), 0 16px 40px rgba(20, 20, 60, 0.16);
  padding: 14px;
}
.t-douce .umenu-who span,
.t-douce .umenu-theme legend {
  color: var(--sub);
}
.t-douce .umenu-theme legend {
  font-weight: 800;
}
.t-douce .umenu-radio {
  font-weight: 700;
  border-radius: 12px;
  padding: 0 6px;
}
.t-douce .umenu-radio:hover {
  background: var(--soft);
}
.t-douce .umenu-radio input {
  accent-color: var(--violet);
}
.t-douce .umenu-item {
  border-radius: 12px;
  font-weight: 700;
  color: var(--ink) !important;
}
.t-douce .umenu-item:hover {
  background: var(--violet-l);
}

/* ── Page header, cards, chips, buttons ───────────────────────────────── */
.dc-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 16px 24px;
  margin-bottom: 24px;
}
.dc-head-main {
  flex: 1 1 380px;
  min-width: 0;
}
.dc-over {
  color: var(--sub);
  font-size: 14px;
  font-weight: 700;
}
.dc-overlink {
  color: var(--sub) !important;
}
.dc-h1 {
  margin: 2px 0 0;
  font-size: 34px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.dc-lead {
  margin-top: 8px;
  font-size: 15px;
  color: var(--sub);
}
.dc-card {
  background: var(--card);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 22px 24px;
  min-width: 0;
}
.dc-ct {
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
}
.dc-mini {
  font-size: 13px;
  font-weight: 800;
  color: var(--sub);
}
.dc-cardhead {
  display: flex;
  align-items: baseline;
  gap: 10px 12px;
}
.dc-cardhead.dc-wrap {
  align-items: center;
}
.dc-soft {
  background: var(--soft);
  border-radius: 16px;
}
.dc-pad {
  padding: 14px 18px;
  border-radius: 18px;
}
.dc-pad-s {
  padding: 10px 14px;
}
.dc-pink {
  background: #fdece6;
}
.dc-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  align-items: center;
}
.dc-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 4px 11px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  white-space: nowrap;
  text-decoration: none;
}
.dc-chip-grey {
  background: var(--bg);
  color: var(--sub);
}
.dc-chip-white {
  background: #ffffff;
  color: var(--ink) !important;
  box-shadow: 0 1px 2px rgba(20, 20, 60, 0.08);
}
.dc-chip-muted {
  color: var(--sub) !important;
}
.dc-chip-sm {
  align-self: flex-start;
  padding: 2px 9px;
}
.dc-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  flex: none;
}
.dc-btn {
  border: 0;
  border-radius: 999px;
  min-height: 44px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 800 !important;
  text-decoration: none;
  white-space: nowrap;
}
.dc-btn:disabled {
  opacity: 0.45;
}
.dc-btn-p {
  background: var(--violet);
  color: #ffffff !important;
  box-shadow: 0 6px 16px rgba(91, 79, 224, 0.3);
}
.dc-btn-p:hover:not(:disabled) {
  background: #4c40d0;
}
.dc-btn-s {
  background: var(--violet-l);
  color: var(--violet-d) !important;
}
.dc-btn-s:hover:not(:disabled) {
  background: #dfdcfb;
}
.dc-btn-white {
  background: #ffffff;
  box-shadow: var(--shadow);
}
.dc-btn-white:hover:not(:disabled) {
  background: var(--violet-l);
}
.dc-btn-g {
  background: var(--bg);
  color: var(--ink) !important;
}
.dc-btn-g:hover:not(:disabled) {
  background: #e8e6f1;
}
.dc-btn-sm {
  min-height: 40px;
  padding: 0 16px;
  font-size: 13px;
}
.dc-full {
  width: 100%;
}
.dc-more {
  align-self: center;
}
.dc-seg {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 2px;
  padding: 4px;
  background: var(--bg);
  border-radius: 999px;
}
.dc-seg button {
  border: 0;
  border-radius: 999px;
  padding: 0 16px;
  min-height: 38px;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--sub);
}
.dc-seg button.is-on {
  background: #ffffff;
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(20, 20, 60, 0.08), 0 4px 10px rgba(20, 20, 60, 0.08);
}
.dc-seg button:not(.is-on):hover {
  color: var(--ink);
}
.dc-seg-card {
  background: #ffffff;
  box-shadow: var(--shadow);
  align-self: flex-start;
}
.dc-seg-card button.is-on {
  background: var(--violet);
  color: #ffffff;
  box-shadow: none;
}
.dc-seg-lg button {
  min-height: 42px;
}
.dc-count {
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  background: var(--violet-l);
  color: var(--violet-d);
}
.dc-seg-card button.is-on .dc-count {
  background: #ffffff;
}
.dc-search {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--card);
  border-radius: 999px;
  padding: 0 20px;
  min-height: 48px;
  box-shadow: var(--shadow);
  color: var(--sub);
  flex: 0 1 340px;
  min-width: 220px;
}
.dc-search:focus-within {
  box-shadow: 0 0 0 3px var(--violet);
}
.dc-search input {
  border: 0;
  outline: none;
  background: transparent;
  font-size: 14px;
  color: var(--ink);
  flex: 1;
  min-width: 0;
  min-height: 44px;
}
.dc-search input::placeholder {
  color: var(--sub);
}
.dc-search input:focus-visible {
  outline: none;
}
.dc-search-big {
  flex: none;
  max-width: 620px;
  background: var(--bg);
  box-shadow: none;
  min-height: 56px;
}
.t-douce .combo-list {
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 2px 6px rgba(20, 20, 60, 0.1), 0 16px 40px rgba(20, 20, 60, 0.16);
  color: var(--ink);
}
.t-douce .combo-list [role="option"] {
  border-radius: 12px;
}
.t-douce .combo-list [role="option"][aria-selected="true"],
.t-douce .combo-list [role="option"][data-id]:hover {
  background: var(--violet-l);
}
.t-douce .combo-name {
  font-weight: 800;
}
.t-douce .combo-meta,
.t-douce .combo-list [aria-disabled="true"] {
  color: var(--sub);
}
.dc-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 10px 14px;
  margin: -8px 0 22px;
}
.dc-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.dc-field > span {
  font-size: 12px;
  font-weight: 800;
  color: var(--sub);
  padding-left: 14px;
}
.dc-field select {
  min-height: 40px;
  border: 0;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: var(--shadow);
  padding: 0 32px 0 14px;
  font-weight: 700;
  font-size: 13px;
  color: var(--ink);
  max-width: 260px;
}
.dc-settings .dc-field select {
  background: var(--bg);
  box-shadow: none;
  min-height: 46px;
}
.dc-state {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  color: var(--sub);
  font-weight: 700;
}
.dc-state.is-error {
  background: #fdf3dc;
  color: var(--ink);
}
.dc-state-ic {
  color: #8a5a12;
  display: inline-flex;
}
.dc-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  padding: 40px 24px;
}
.dc-empty strong {
  font-size: 16px;
  font-weight: 800;
}
.dc-note {
  flex: 1 1 100%;
  font-size: 13px;
  font-weight: 700;
  color: var(--sub);
}
.dc-why {
  line-height: 1.6;
}
.dc-acts ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}
.dc-acts li {
  font-size: 13px;
  line-height: 1.5;
}
.dc-legend {
  flex: 1 1 160px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.dc-legrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}
.dc-sq {
  width: 12px;
  height: 12px;
  border-radius: 4px;
  flex: none;
}
.dc-legend-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  font-size: 12px;
  color: var(--sub);
  font-weight: 700;
}
.dc-legend-row > span {
  display: flex;
  align-items: center;
  gap: 7px;
}
.dc-legend-foot {
  margin-top: 20px;
}
.dc-k {
  width: 11px;
  height: 11px;
  display: inline-block;
  flex: none;
}
.dc-k-dash {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px dashed #b7791f;
}
.dc-line {
  width: 16px;
  height: 4px;
  border-radius: 2px;
  display: inline-block;
}
.dc-line-dash {
  background: repeating-linear-gradient(90deg, #e8603c 0 4px, transparent 4px 7px);
}
.dc-warnbox {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: 18px;
  background: #fdf3dc;
  font-size: 13px;
  line-height: 1.5;
}

/* ── Boîte de tri ─────────────────────────────────────────────────────── */
.dc-tri {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
}
.dc-queue {
  flex: 1 1 360px;
  max-width: 440px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.dc-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.dc-qc {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  text-align: left;
  border: 0;
  border-radius: 24px;
  padding: 16px 16px 16px 18px;
  background: #ffffff;
  color: inherit;
  box-shadow: var(--shadow);
  transition: transform 0.15s, box-shadow 0.15s;
}
.dc-qc:hover {
  transform: translateY(-2px);
}
.dc-qc.is-on {
  box-shadow: 0 0 0 2px var(--violet), 0 12px 28px rgba(91, 79, 224, 0.18);
}
.dc-qc-av {
  align-self: flex-start;
}
.dc-qc-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.dc-qc-top {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.dc-qc-top strong {
  flex: 1;
  min-width: 0;
  font-size: 15px;
  font-weight: 800;
}
.dc-qc-top .dc-sub {
  white-space: nowrap;
  font-weight: 600;
}
.dc-qc-reason {
  font-size: 13px;
  color: var(--sub);
  line-height: 1.4;
}
.dc-ring-n {
  font-size: 16px;
}
.dc-detail {
  flex: 999 1 520px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.dc-dhead {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 20px;
  padding: 24px;
}
.dc-dhead-main {
  flex: 1 1 260px;
  min-width: 0;
}
.dc-name {
  margin: 8px 0 2px;
  font-size: 26px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.015em;
}
.dc-title {
  margin-top: 6px;
  font-weight: 700;
}
.dc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.dc-cols {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;
}
.dc-col {
  flex: 1 1 300px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.dc-donutrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}
.dc-tiles {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.dc-tile {
  flex: 1 1 190px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
}
.dc-tile .ring .num {
  font-size: 14px;
}
.dc-tile-t {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.dc-tile-t strong {
  font-weight: 800;
}
.dc-lanes {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.dc-lane {
  display: flex;
  align-items: center;
  gap: 12px;
}
.dc-lane-chip {
  width: 100px;
  justify-content: center;
  flex: none;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dc-track {
  position: relative;
  flex: 1;
  height: 30px;
  border-radius: 999px;
  background: var(--bg);
}
.dc-mk {
  position: absolute;
  top: 50%;
  width: 16px;
  height: 16px;
  margin: -8px 0 0 -8px;
  border-radius: 50%;
  box-shadow: 0 0 0 3px #ffffff;
}
.dc-axis {
  display: flex;
  justify-content: space-between;
  padding-left: 112px;
  font-size: 12px;
}
.dc-events {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}
.dc-events li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 11px 14px;
  font-size: 13px;
  line-height: 1.45;
}
.dc-events li > span:last-child {
  padding-top: 3px;
  min-width: 0;
}

/* ── Pick a company ───────────────────────────────────────────────────── */
.dc-pick {
  max-width: 860px;
}
.dc-quick {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 10px;
}
.dc-quick-a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  color: var(--ink) !important;
  text-decoration: none;
  min-height: 56px;
}
.dc-quick-a:hover {
  background: var(--violet-l);
}
.dc-quick-a strong {
  display: block;
  font-weight: 800;
}
.dc-quick-a .dc-sub {
  display: block;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ── Fiche entreprise ─────────────────────────────────────────────────── */
.dc-grid3 {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
}
.dc-grid3 > .dc-col {
  flex: 1 1 290px;
  gap: 24px;
}
.dc-grid3 > .dc-col-wide {
  flex: 2 1 520px;
}
.dc-oppcard {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  padding: 26px 24px;
}
.dc-opptitle {
  font-size: 15px;
  font-weight: 700;
}
.dc-oppbtns {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-self: stretch;
  margin-top: 4px;
}
.dc-oppcard .dc-note {
  flex: none;
}
.dc-kpis {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.dc-kpi {
  flex: 1 1 130px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.dc-kv {
  font-size: 30px;
  line-height: 1.1;
}
.dc-kv-of {
  font-size: 18px;
  color: var(--sub);
}
.dc-fchip {
  border: 0;
  border-radius: 999px;
  min-height: 34px;
  padding: 0 13px;
  font-size: 12px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  color: var(--sub);
  box-shadow: inset 0 0 0 1.5px #dcdaea;
}
.dc-fchip.is-on {
  box-shadow: none;
}
.dc-tl {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.dc-tlrow {
  display: flex;
  align-items: center;
  gap: 12px;
}
.dc-tlname {
  width: 78px;
  flex: none;
  font-size: 12px;
  font-weight: 800;
  color: var(--sub);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dc-tltrack {
  position: relative;
  flex: 1;
  height: 34px;
  border-radius: 999px;
  background: var(--bg);
}
.dc-mkb {
  position: absolute;
  top: 50%;
  width: 26px;
  height: 26px;
  margin: -13px 0 0 -13px;
  padding: 0;
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dc-mkb span {
  display: block;
  transition: transform 0.15s;
}
.dc-mkb:hover span {
  transform: scale(1.15);
}
.dc-tlaxis {
  position: relative;
  flex: 1;
  height: 16px;
}
.dc-tlaxis span {
  position: absolute;
  font-size: 11px;
  font-weight: 700;
  transform: translateX(-50%);
  white-space: nowrap;
}
.dc-evpanel {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 20px;
  background: var(--violet-l);
}
.dc-evbody {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.dc-evbody .tl-title {
  font-size: 15px;
  line-height: 1.45;
}
.dc-evbody .tl-desc {
  font-size: 13px;
  color: var(--sub);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.dc-seats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.dc-seat {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px dashed #b7791f;
}
.dc-seat.is-used {
  background: var(--violet);
  border: 0;
}
.dc-seat.is-unk {
  border: 2px dashed #b9b6cc;
}
.dc-seat-26 {
  width: 26px;
  height: 26px;
}

/* ── Renouvellements ──────────────────────────────────────────────────── */
.dc-settings {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 18px 28px;
  margin-bottom: 24px;
  padding: 18px 24px;
}
.dc-ctl {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.dc-ctl > span {
  font-size: 12px;
  font-weight: 800;
  color: var(--sub);
}
.dc-ctl .dc-field > span {
  padding-left: 0;
}
.dc-rangebox {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg);
  border-radius: 999px;
  padding: 0 16px;
  min-height: 46px;
}
.dc-rng {
  width: 190px;
  accent-color: var(--violet);
  height: 28px;
  margin: 0;
}
.dc-thr {
  min-width: 48px;
  font-size: 16px;
  color: #8a5a12;
}
.dc-sumrow {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.dc-health {
  flex: 2 1 400px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 28px;
}
.dc-health .dc-legend {
  flex: 1 1 200px;
}
.dc-health .dc-legrow {
  font-size: 14px;
}
.dc-bigstat {
  flex: 1 1 200px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  justify-content: center;
}
.dc-amber {
  background: #fdf3dc;
}
.dc-rgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}
.dc-rcard {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.15s;
}
.dc-rcard:hover {
  transform: translateY(-2px);
}
.dc-rcard-t {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.dc-lk {
  color: var(--ink) !important;
  text-decoration: none;
  font-weight: 800 !important;
  font-size: 15px;
  line-height: 1.25;
}
.dc-lk:hover {
  color: var(--violet-d) !important;
  text-decoration: underline;
}
.dc-rzone {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 12px;
  border-radius: 18px;
  background: var(--soft);
}
.dc-rzone.is-under {
  background: #fdf3dc;
}
.dc-rzone .ring .num {
  font-size: 14px;
}
.dc-rzone-t {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.dc-spark {
  width: 100%;
  height: 34px;
  display: block;
}
.dc-duetrack {
  position: relative;
  height: 12px;
  border-radius: 999px;
  background: var(--bg);
}
.dc-duetrack > span {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  border-radius: 999px;
  background: var(--violet-l);
}
.dc-duetrack > i {
  position: absolute;
  top: 50%;
  width: 16px;
  height: 16px;
  margin: -8px 0 0 -8px;
  border-radius: 50%;
  box-shadow: 0 0 0 3px #ffffff;
}
.dc-duelabels {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 700;
}

/* ── Explorateur d'usage ──────────────────────────────────────────────── */
.dc-heatcard {
  flex: 2 1 580px;
}
.dc-side300 {
  flex: 1 1 300px;
}
.hm-dc {
  gap: 6px;
}
.hm-dc .hm-row {
  gap: 6px;
}
.t-douce .hm-wk {
  font-size: 11px;
  font-weight: 700;
  color: var(--sub);
}
.hm-dc .hm-name {
  justify-content: center;
  padding: 4px 6px;
  display: block;
  text-align: center;
}
.hm-dc .hm-cell {
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  transition: transform 0.12s;
}
.hm-dc .hm-cell.is-zero {
  box-shadow: inset 0 0 0 1.5px #e3e1ee;
}
.hm-dc .hm-cell:hover {
  transform: scale(1.08);
}
.hm-dc .hm-cell.is-on {
  box-shadow: 0 0 0 3px #ffffff, 0 0 0 5px var(--ink);
}
.hm-dc .hm-tot {
  justify-content: center;
}
.hm-dc .hm-tot .num {
  font-size: 13px;
  min-width: 18px;
}
.hm-dc .hm-act .hm-c {
  font-size: 13px;
}
.hm-dc .hm-act {
  margin-top: 4px;
}
.hm-dc .hm-act > span:first-child {
  text-align: center;
}
.t-douce .hm-sw {
  width: 20px;
  height: 14px;
  border-radius: 5px;
}
.dc-readout {
  flex: 1 1 300px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--violet-l);
  font-size: 13px;
  font-weight: 600;
}
.dc-bullet {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 12px;
  border-radius: 18px;
  background: var(--soft);
}
.dc-bullet.is-sel {
  background: var(--violet-l);
  box-shadow: inset 0 0 0 2px #c9c4f7;
}
.dc-bullet .ring .num {
  font-size: 14px;
}
.dc-bullet-t {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.dc-bullet-t strong {
  font-weight: 800;
  font-size: 15px;
}
.dc-fxrow {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
}
.dc-fxchart {
  flex: 3 1 520px;
  min-width: 0;
}
.dc-fxstats {
  flex: 1 1 240px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ── Cockpit ──────────────────────────────────────────────────────────── */
.dc-pipe {
  flex: 3 1 600px;
}
.dc-runs-scroll {
  overflow-x: auto;
}
.dc-runs {
  display: grid;
  gap: 6px;
  min-width: 420px;
}
.dc-run {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  border: 0;
  background: transparent;
  padding: 6px 0 0;
  color: inherit;
  min-width: 0;
  height: 118px;
}
.dc-cap {
  width: 100%;
  max-width: 30px;
  border-radius: 999px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 7px;
  transition: transform 0.15s;
  height: 78px;
  background: #0f9488;
  color: #ffffff;
}
.dc-run.st-error .dc-cap {
  height: 40px;
  background: #fdece6;
  color: #b3432a;
  box-shadow: inset 0 0 0 2px #e8603c;
}
.dc-run.st-running .dc-cap {
  height: 58px;
  background: var(--violet-l);
  color: var(--violet-d);
  box-shadow: inset 0 0 0 2px var(--violet);
}
.dc-run:hover .dc-cap {
  transform: translateY(-3px);
}
.dc-run.is-on .dc-cap {
  box-shadow: 0 0 0 3px #ffffff, 0 0 0 5px var(--violet);
}
.dc-run-d {
  font-size: 11px;
  color: var(--sub);
}
.dc-run.is-on .dc-run-d {
  color: var(--violet-d);
}
.dc-runsel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  padding: 14px 18px;
  border-radius: 20px;
}
.dc-bilan {
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}
.dc-bilan .dc-ct {
  align-self: flex-start;
}
.dc-bilan .dc-sub {
  text-align: left;
}
.dc-grow3 {
  flex: 3 1 520px;
}
.dc-grow2 {
  flex: 2 1 380px;
}
.dc-tilegrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
}
.dc-tilestat {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 14px;
}
.dc-tilestat.is-warn {
  background: #fdf3dc;
}
.dc-src {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr) 76px;
  gap: 12px;
  align-items: center;
  padding: 8px 12px;
  border-radius: 16px;
}
.dc-src.is-dead {
  background: #fdf3dc;
}
.dc-src-n {
  font-size: 13px;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dc-src.is-dead .dc-src-n {
  color: #8a5a12;
}
.dc-src-bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 28px;
}
.dc-src-bars span {
  flex: 1;
  border-radius: 5px;
}
.dc-src .dc-chip {
  justify-self: end;
}

/* ── Sign-in and toast ────────────────────────────────────────────────── */
.t-douce .login {
  background: rgba(31, 29, 46, 0.45);
}
.t-douce .login-card {
  background: #ffffff;
  border-radius: 28px;
  box-shadow: 0 2px 6px rgba(20, 20, 60, 0.1), 0 24px 60px rgba(20, 20, 60, 0.2);
  padding: 30px;
}
.t-douce .login-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.t-douce .login-word {
  font-size: 22px;
  font-weight: 800;
}
.t-douce .login-word span {
  color: var(--violet);
}
.t-douce .login-hub {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #ffffff;
  background: linear-gradient(140deg, #5b4fe0, #8a7df2);
  border-radius: 999px;
  padding: 3px 9px;
}
.t-douce .login-card h1 {
  font-size: 26px;
  font-weight: 800;
}
.t-douce .login-lead,
.t-douce .login-note {
  color: var(--sub);
}
.t-douce .login-ms,
.t-douce .login-submit {
  background: var(--violet);
  color: #ffffff;
  border-radius: 999px;
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(91, 79, 224, 0.3);
}
.t-douce .login-ms:hover,
.t-douce .login-submit:hover {
  background: #4c40d0;
}
.t-douce .login-toggle {
  color: var(--sub);
  font-weight: 700;
}
.t-douce .login-pwd label {
  font-size: 12px;
  font-weight: 800;
  color: var(--sub);
}
.t-douce .login-pwd input {
  border: 0;
  border-radius: 14px;
  background: var(--bg);
}
.t-douce .login-err {
  color: #9b2c1f;
}
.t-douce .toast {
  background: var(--ink);
  color: #ffffff;
  border-radius: 999px;
  padding: 6px 6px 6px 10px;
  box-shadow: 0 10px 24px rgba(20, 20, 60, 0.18);
  font-weight: 600;
}
.t-douce .toast-ic {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #0f9488;
  color: #ffffff;
}
.t-douce .toast.err .toast-ic {
  background: #e8603c;
}
.t-douce .toast-msg {
  padding-right: 10px;
}
.t-douce .toast-undo {
  border-radius: 999px;
  padding: 0 16px;
  background: #3a3754;
  color: #e6e3ff;
  font-weight: 800;
}

/* ── Narrow screens ───────────────────────────────────────────────────── */
@media (max-width: 760px) {
  .t-douce .app {
    padding: 12px;
    gap: 16px;
  }
  .t-douce #main {
    flex-basis: 100%;
    padding: 0;
  }
  .dc-rail {
    flex: 1 1 100%;
    width: auto;
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    padding: 10px 8px;
  }
  .dc-logo {
    margin: 0 8px 0 0;
  }
  .dc-ri {
    width: 64px;
  }
  .dc-userbox {
    margin: 0 0 0 8px;
    align-self: center;
  }
  .t-douce .umenu {
    left: auto;
    right: 0;
    bottom: auto;
    top: calc(100% + 10px);
  }
  .dc-h1 {
    font-size: 28px;
  }
  .dc-search {
    flex: 1 1 100%;
    min-width: 0;
  }
  .dc-axis {
    padding-left: 0;
  }
  .dc-lane-chip {
    width: 84px;
  }
  .dc-settings .dc-push {
    margin-left: 0;
  }
  .dc-quick {
    grid-template-columns: 1fr;
  }
  .dc-card {
    padding: 18px;
  }
  .dc-tlaxis span:nth-child(even) {
    display: none;
  }
}

/* ── Helpers added with batch 2 ───────────────────────────────────────── */
.dc-stack-0,
.dc-stack-18 {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.dc-stack-18 {
  gap: 18px;
}
.dc-row18 {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: flex-start;
}
.dc-row-start {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.dc-small13 {
  font-size: 13px;
}
.dc-center {
  justify-content: center;
}
.dc-segn {
  font-size: 12px;
  color: var(--sub);
}
.dc-seg button.is-on .dc-segn {
  color: var(--violet-d);
}
.dc-linkbtn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: transparent;
  color: var(--violet-d);
  font-size: 13px;
  font-weight: 800;
  padding: 0 6px;
  min-height: 36px;
}
.dc-linkbtn:hover {
  text-decoration: underline;
}
.dc-btn-ghost {
  background: transparent;
  color: var(--violet-d) !important;
  padding: 0 12px;
}
.dc-btn-ghost:hover {
  background: var(--violet-l);
}

/* Switch (e-mail, alerts). */
.dc-sw {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 0;
  border-radius: 20px;
  padding: 14px 16px;
  min-height: 64px;
  background: var(--soft);
  color: var(--ink);
  text-align: left;
}
.dc-sw-t {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.25;
}
.dc-sw-t strong {
  font-size: 14px;
  font-weight: 800;
}
.dc-sw-st {
  font-size: 12px;
  font-weight: 700;
  color: var(--sub);
}
.dc-sw.is-on:not(.is-off) .dc-sw-st {
  color: var(--violet-d);
}
.dc-sw-track {
  flex: none;
  width: 52px;
  height: 32px;
  border-radius: 999px;
  background: #8f8ca6;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 3px;
  transition: background 0.2s;
}
.dc-sw-track span {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 2px 5px rgba(20, 20, 60, 0.25);
}
.dc-sw.is-on .dc-sw-track {
  background: var(--violet);
  justify-content: flex-end;
}
.dc-sw.is-off {
  cursor: default;
}
.dc-sw.is-off .dc-sw-track {
  background: #d9d7e6;
}
.dc-sw.is-off.is-on .dc-sw-track {
  background: #b9b3f0;
}

/* ── Boîte de tri: Reporter ───────────────────────────────────────────── */
.snz {
  position: relative;
  display: inline-flex;
}
.dc-pop {
  position: absolute;
  z-index: 30;
  top: calc(100% + 8px);
  right: 0;
  min-width: 260px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 2px 6px rgba(20, 20, 60, 0.1), 0 16px 40px rgba(20, 20, 60, 0.16);
}
.dc-pop-h {
  padding: 4px 10px 6px;
  font-size: 12px;
  font-weight: 800;
  color: var(--sub);
}
.dc-pop button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: var(--ink);
  padding: 0 12px;
  min-height: 44px;
  font-weight: 800;
  text-align: left;
}
.dc-pop button:hover {
  background: var(--violet-l);
}

/* ── Ma journée ───────────────────────────────────────────────────────── */
.dc-mail {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}
.dc-mail .dc-sw {
  gap: 14px;
  min-height: 52px;
  padding: 6px 8px 6px 20px;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: var(--shadow);
}
.dc-jgrid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
}
.dc-jtasks {
  flex: 2 1 480px;
}
.dc-jcol {
  flex: 1 1 280px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.dc-jlist {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.dc-task {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 12px 12px 14px;
  border-radius: 18px;
  transition: background 0.15s;
}
.dc-task:hover {
  background: #f1f0f8;
}
.dc-tickbox {
  position: relative;
  width: 28px;
  height: 28px;
  flex: none;
}
.dc-tick {
  appearance: none;
  -webkit-appearance: none;
  display: block;
  margin: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2.5px solid #8f8ca6;
  background: #ffffff;
  cursor: pointer;
}
.dc-tick:checked {
  background: #0f9488;
  border-color: #0f9488;
}
.dc-tickbox svg {
  position: absolute;
  left: 6px;
  top: 6px;
  color: #ffffff;
  pointer-events: none;
  opacity: 0;
}
.dc-tick:checked + svg {
  opacity: 1;
}
.dc-jcat {
  min-width: 84px;
  justify-content: center;
  flex: none;
}
.dc-jtxt {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  cursor: pointer;
}
.dc-jtxt strong {
  font-size: 15px;
  font-weight: 800;
}
.dc-jtxt > span:not(.sr-only) {
  font-size: 13px;
  line-height: 1.4;
  color: var(--sub);
}
.dc-task.is-done .dc-jcat,
.dc-task.is-done .dc-jtxt,
.dc-task.is-done > .dc-chip {
  opacity: 0.6;
}
.dc-task.is-done .dc-jtxt {
  text-decoration: line-through;
}
.dc-jgo {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  color: var(--sub) !important;
}
.dc-jgo:hover {
  background: var(--violet-l);
  color: var(--violet-d) !important;
}
.dc-jprog {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}
.dc-jprog .dc-ct {
  align-self: flex-start;
}
.dc-jringn {
  font-size: 44px;
  line-height: 1;
}
.dc-jringn span {
  font-size: 22px;
  color: var(--sub);
}
.dc-jline {
  font-size: 15px;
  font-weight: 700;
}
.dc-funbar {
  height: 14px;
  border-radius: 999px;
  background: var(--bg);
}
.dc-funbar span {
  display: block;
  height: 14px;
  border-radius: 999px;
}
.dc-ruler {
  position: relative;
  height: 56px;
  margin: 4px 6px 0;
}
.dc-ruler-track,
.dc-ruler-fill {
  position: absolute;
  left: 0;
  top: 18px;
  height: 12px;
  border-radius: 999px;
}
.dc-ruler-track {
  right: 0;
  background: var(--bg);
}
.dc-ruler-fill {
  background: var(--violet-l);
}
.dc-rmark {
  position: absolute;
  top: 8px;
  width: 32px;
  height: 32px;
  margin-left: -16px;
  font-size: 11px;
  box-shadow: 0 0 0 3px #ffffff;
}
.dc-rl {
  position: absolute;
  bottom: 0;
  font-size: 11px;
  font-weight: 700;
}
.dc-rrow {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 18px;
  color: var(--ink) !important;
  text-decoration: none;
}
.dc-rrow:hover {
  background: var(--violet-l);
}
.dc-rrow-t {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.dc-rrow-t strong {
  font-weight: 800;
}
.dc-rrow-t .dc-sub {
  font-weight: 600;
}
.dc-rrow-r {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}
.dc-jflex p {
  font-size: 14px;
  line-height: 1.5;
}

/* ── Suivi ────────────────────────────────────────────────────────────── */
.dc-reps {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 5px;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: var(--shadow);
}
.dc-rep {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
}
.dc-rep.is-on {
  box-shadow: 0 0 0 3px #ffffff, 0 0 0 5px var(--violet);
}
.dc-rep-team {
  width: auto;
  gap: 10px;
  padding: 0 16px 0 8px;
  background: transparent;
  color: var(--sub);
}
.dc-rep-team.is-on {
  background: var(--violet-l);
  color: var(--violet-d);
  box-shadow: none;
}
.dc-stk {
  display: flex;
}
.dc-stk .dc-av {
  box-shadow: 0 0 0 2px #ffffff;
}
.dc-convbar {
  display: flex;
  gap: 6px;
  height: 20px;
}
.dc-convbar span {
  min-width: 20px;
  border-radius: 999px;
}
.dc-convtiles {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.dc-convtile {
  flex: 1 1 150px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
}
.dc-board {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 24px;
}
.dc-kcol {
  flex: 1 1 220px;
  min-width: 0;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 10px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.6);
}
.dc-kcolh {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 8px 0 16px;
  border-radius: 999px;
}
.dc-kcolh h2 {
  flex: 1;
  font-size: 14px;
  font-weight: 800;
}
.dc-kn {
  min-width: 28px;
  height: 28px;
  padding: 0 6px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  background: #ffffff;
  color: var(--ink);
}
.dc-kc {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(20, 20, 60, 0.06), 0 6px 16px rgba(20, 20, 60, 0.06);
  transition: transform 0.15s;
}
.dc-kc:hover {
  transform: translateY(-2px);
}
.dc-kname {
  font-size: 14px !important;
  line-height: 1.3;
}
.dc-kwhy {
  font-size: 13px;
  line-height: 1.4;
  color: var(--sub);
}
.dc-kfoot {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}
.dc-rb {
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  text-decoration: none;
}
.dc-rb-back {
  background: var(--bg);
  color: var(--ink) !important;
}
.dc-rb-fwd {
  background: var(--violet);
  color: #ffffff !important;
}
.dc-rb-drop {
  background: #fdece6;
  color: #b3432a !important;
}
.dc-rb:disabled {
  opacity: 0.35;
  cursor: default;
}
.dc-kempty {
  padding: 22px 14px;
  border-radius: 20px;
  text-align: center;
  font-size: 13px;
  color: var(--sub);
  background: rgba(255, 255, 255, 0.7);
}
.dc-knote {
  margin-top: auto;
  text-align: center;
}
.dc-dropform {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.dc-dropform input {
  min-height: 44px;
  border: 0;
  border-radius: 14px;
  background: var(--bg);
  padding: 0 12px;
  font-size: 14px;
  color: var(--ink);
}
.dc-ferr {
  color: #9b2c1f;
  font-size: 12px;
  font-weight: 700;
}
.dc-droplist {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.dc-droplist li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  padding: 10px 14px;
}
.dc-dropt {
  flex: 1 1 220px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* ── Demander ─────────────────────────────────────────────────────────── */
.dc-askgrid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
}
.dc-askmain {
  flex: 3 1 600px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.dc-askaside {
  flex: 1 1 260px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.dc-ask {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 8px 8px 10px;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(20, 20, 60, 0.06), 0 12px 32px rgba(91, 79, 224, 0.12);
}
.dc-ask:focus-within {
  box-shadow: 0 0 0 3px var(--violet), 0 12px 32px rgba(91, 79, 224, 0.12);
}
.dc-ask input {
  flex: 1;
  min-width: 0;
  min-height: 44px;
  border: 0;
  outline: none;
  background: transparent;
  padding: 12px 4px;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
}
.dc-ask input::placeholder {
  color: var(--sub);
  font-weight: 600;
}
.dc-ask input:focus-visible {
  outline: none;
}
.dc-ask-ic {
  width: 46px;
  height: 46px;
  background: linear-gradient(140deg, #5b4fe0, #8a7df2);
  color: #ffffff;
}
.dc-askgo {
  min-height: 50px;
  padding: 0 24px;
}
.dc-asksug {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.dc-asksug > .dc-sub {
  margin-right: 4px;
}
.dc-sg {
  min-height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: #ffffff;
  color: var(--ink);
  box-shadow: var(--shadow);
  font-size: 13px;
  font-weight: 700;
  text-align: left;
}
.dc-sg.is-on {
  background: var(--violet);
  color: #ffffff;
  box-shadow: none;
}
.dc-askparams {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 10px 14px;
}
.dc-pfield label {
  font-size: 12px;
  font-weight: 800;
  color: var(--sub);
  padding-left: 14px;
}
.dc-pfield input,
.dc-pfield select {
  min-height: 40px;
  border: 0;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: var(--shadow);
  padding: 0 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}
.dc-intro {
  padding: 18px 22px;
}
.dc-anssent {
  flex: 1;
  font-size: 19px;
  line-height: 1.5;
}
.dc-ansbig {
  font-size: 30px;
  line-height: 1.1;
  color: var(--violet);
}
.dc-ansacts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding-left: 56px;
}
.dc-rot {
  display: inline-flex;
  transition: transform 0.2s;
}
.dc-rot.is-on {
  transform: rotate(180deg);
}
.dc-how {
  box-shadow: 0 0 0 2px #dcd9fb, 0 8px 24px rgba(20, 20, 60, 0.06);
}
.dc-howrule {
  font-size: 15px;
  line-height: 1.6;
}
.dc-code {
  margin: 0;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--bg);
  color: var(--ink);
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 13px;
  line-height: 1.7;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.dc-anschart {
  flex: 1 1 340px;
}
.dc-anstab {
  flex: 1.3 1 380px;
}
.dc-abar {
  position: relative;
  height: 14px;
  border-radius: 999px;
  background: var(--bg);
}
.dc-abar span {
  display: block;
  height: 14px;
  border-radius: 999px;
}
.dc-abar i {
  position: absolute;
  top: -4px;
  bottom: -4px;
  width: 3px;
  margin-left: -1px;
  border-radius: 2px;
  background: var(--ink);
}
.dc-atablewrap {
  overflow-x: auto;
}
.dc-atable {
  width: 100%;
  min-width: 360px;
  border-collapse: separate;
  border-spacing: 0 8px;
}
.dc-atable thead th {
  padding: 0 14px;
  text-align: left;
  font-size: 12px;
  font-weight: 800;
  color: var(--sub);
}
.dc-atable tbody th,
.dc-atable tbody td {
  padding: 10px 14px;
  text-align: left;
  font-size: 13px;
  background: var(--soft);
}
.dc-atable tbody th {
  font-weight: 800;
  border-radius: 14px 0 0 14px;
}
.dc-atable tbody td:last-child {
  border-radius: 0 14px 14px 0;
}
.dc-atable .num-cell {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.dc-oos {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #fdf3dc;
  box-shadow: none;
  line-height: 1.6;
}
.dc-oos-t {
  font-size: 16px;
  font-weight: 800;
}
.dc-sv {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 48px;
  padding: 8px 14px;
  border: 0;
  border-radius: 16px;
  background: var(--soft);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  text-align: left;
}
.dc-sv:hover {
  background: var(--violet-l);
}
.dc-sv.is-on {
  background: var(--violet-l);
  box-shadow: inset 0 0 0 2px #c9c4f7;
}
.dc-sv-ic {
  width: 30px;
  height: 30px;
  background: var(--violet-l);
  color: var(--violet-d);
}
.dc-sv.is-on .dc-sv-ic {
  background: #ffffff;
}

/* ── Cockpit: alert switches ──────────────────────────────────────────── */
.dc-swgrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 12px;
}
.dc-would {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
}

/* ── E-mail preview dialog ────────────────────────────────────────────── */
.t-douce .mail-dlg {
  background: #ffffff;
  color: var(--ink);
  border-radius: 24px;
  box-shadow: 0 2px 6px rgba(20, 20, 60, 0.1), 0 24px 60px rgba(20, 20, 60, 0.2);
}
.t-douce .mail-dlg::backdrop {
  background: rgba(31, 29, 46, 0.45);
}
.t-douce .mail-head h2 {
  font-weight: 800;
}
.t-douce .mail-x {
  border-radius: 50%;
}
.t-douce .mail-x:hover {
  background: var(--violet-l);
}
.t-douce .mail-body iframe {
  border-radius: 16px;
  box-shadow: inset 0 0 0 1px #e6e4f0;
}
.t-douce .mail-note {
  color: var(--sub);
  font-weight: 700;
}

@media (max-width: 760px) {
  .dc-mail {
    align-items: flex-start;
  }
  .dc-task {
    flex-wrap: wrap;
  }
  .dc-jtxt {
    flex-basis: calc(100% - 100px);
    order: 3;
  }
  .dc-jcat {
    min-width: 0;
  }
  .dc-jgo {
    margin-left: auto;
  }
  .dc-ask {
    border-radius: 28px;
    flex-wrap: wrap;
  }
  .dc-ask input {
    font-size: 16px;
  }
  .dc-askgo {
    width: 100%;
  }
  .dc-ansacts {
    padding-left: 0;
  }
  .dc-kcol {
    min-height: 0;
  }
}
