/* Dessin technique: dark ink sidebar with a lime marker, paper work area,
   hairline rules, IBM Plex Sans and Mono, priority as black, outlined or
   dashed tags. Every rule is scoped to html.t-technique. */
.t-technique {
  --paper: #f4f4f0;
  --panel: #fbfbf9;
  --ink: #14171a;
  --text: #16191c;
  --muted: #555b61;
  --soft: #3a4046;
  --rule: #c9ccc6;
  --rule2: #dcded9;
  --blue: #2b86ff;
  --link: #1a5fc4;
  --lime: #80ff00;
  --warn: #a35a00;
  --sel: #e2eaf6;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}
.t-technique body {
  background: var(--paper);
  color: var(--text);
  font-family: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}
.t-technique a {
  color: var(--link);
}
.t-technique a:hover {
  color: #0f3f86;
}
.t-technique :focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}
.t-technique .mono {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
}
.t-technique .lbl {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.t-technique .lbl a {
  color: var(--muted);
}
.tq-muted {
  color: var(--muted);
}
.tq-small {
  font-size: 11px;
}
.tq-small2 {
  font-size: 13px;
  color: var(--soft);
}
.tq-light {
  font-weight: 400;
}
.tq-unit {
  font-size: 13px;
}
.tq-b {
  font-weight: 600;
}
.tq-warn {
  color: var(--warn) !important;
  font-weight: 600;
}
.tq-blue {
  color: var(--link);
}
.tq-push {
  margin-left: auto;
}
.tq-wrap {
  flex-wrap: wrap;
}
.tq-clamp2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Shell ────────────────────────────────────────────────────────────── */
.t-technique .app {
  display: flex;
  flex-wrap: wrap;
  min-height: 100vh;
}
.t-technique #main {
  flex: 999 1 560px;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.tq-nav {
  flex: 1 1 200px;
  max-width: 228px;
  background: var(--ink);
  color: #e9ece8;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 20px 14px;
  position: sticky;
  top: 0;
  height: 100vh;
  align-self: flex-start;
  z-index: 20;
}
.tq-logo {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 0 8px;
  text-decoration: none;
}
.tq-word {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #ffffff;
}
.tq-word span {
  color: var(--blue);
}
.tq-hub {
  font-size: 11px;
  color: var(--lime);
}
.tq-search {
  background: #1f2428;
  border: 1px solid #343a40;
  border-radius: 3px;
  padding: 0 10px;
  color: #aab1b7;
}
.tq-search:focus-within {
  border-color: var(--blue);
}
.tq-search input {
  min-height: 36px;
  font-size: 13px;
  color: #e9ece8;
}
.tq-search input::placeholder {
  color: #aab1b7;
}
.tq-search input:focus-visible {
  outline: none;
}
.tq-search .combo-list {
  width: 320px;
}
.tq-links {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
}
.tq-link,
.t-technique a.tq-link {
  color: #aab1b7;
}
.tq-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  min-height: 36px;
  text-decoration: none;
}
.t-technique a.tq-link:hover {
  color: #ffffff;
  background: #1c2125;
}
.t-technique a.tq-link.is-on,
.t-technique a.tq-link.is-on:hover {
  color: #ffffff;
  background: #22282d;
}
.tq-mark {
  width: 6px;
  height: 6px;
  border: 1px solid #5a6168;
  flex: none;
}
.tq-link.is-on .tq-mark {
  background: var(--lime);
  border-color: var(--lime);
}
.tq-count {
  font-size: 12px;
  color: var(--lime);
}
.tq-userbox {
  position: relative;
  border-top: 1px solid #2c3237;
  padding-top: 12px;
}
.tq-user {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  border: 0;
  background: transparent;
  color: #ffffff;
  padding: 4px 8px;
  text-align: left;
  min-height: 44px;
}
.tq-user:hover {
  background: #1c2125;
}
.tq-user-name {
  font-size: 13px;
}
.tq-user-role {
  font-size: 11px;
  color: #8d959c;
}
.t-technique .umenu {
  bottom: calc(100% + 8px);
  left: 0;
  width: 100%;
  min-width: 200px;
  background: var(--panel);
  color: var(--text);
  border: 1px solid var(--ink);
  box-shadow: 4px 4px 0 rgba(20, 23, 26, 0.18);
}
.t-technique .umenu-who span,
.t-technique .umenu-theme legend {
  font-family: var(--mono);
  color: var(--muted);
  letter-spacing: 0.04em;
}
.t-technique .umenu-theme legend {
  text-transform: uppercase;
  font-weight: 400;
  font-size: 11px;
}
.t-technique .umenu-theme {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.t-technique .umenu-radio input {
  accent-color: var(--ink);
}
.t-technique .umenu-item {
  color: var(--text);
}
.t-technique .umenu-item:hover {
  background: var(--sel);
}

/* Search results and the big search box. */
.t-technique .combo-list {
  background: var(--panel);
  border: 1px solid var(--ink);
  box-shadow: 4px 4px 0 rgba(20, 23, 26, 0.12);
  color: var(--text);
}
.t-technique .combo-list [role="option"][aria-selected="true"],
.t-technique .combo-list [role="option"][data-id]:hover {
  background: var(--sel);
}
.t-technique .combo-meta {
  font-family: var(--mono);
  color: var(--muted);
}
.t-technique .combo-list [aria-disabled="true"] {
  color: var(--muted);
}
.tq-bigsearch {
  max-width: 560px;
  border: 1px solid var(--ink);
  background: var(--panel);
  padding: 0 14px;
  color: var(--muted);
}
.tq-bigsearch:focus-within {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}
.tq-bigsearch input {
  min-height: 46px;
  font-size: 15px;
  color: var(--text);
}
.tq-bigsearch input:focus-visible {
  outline: none;
}

/* ── Page pieces ──────────────────────────────────────────────────────── */
.tq-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  border-bottom: 1px solid var(--rule);
}
.tq-meta {
  margin-left: auto;
  font-size: 11px;
  color: var(--muted);
}
.tq-page {
  padding: 22px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.tq-pagehead {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 14px 16px;
}
.tq-pagehead.tq-wrap {
  align-items: center;
}
.tq-h1 {
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.tq-h1-sm {
  font-size: 24px;
  letter-spacing: -0.015em;
  margin-right: 6px;
}
.tq-subline {
  margin-top: 8px;
  font-size: 12px;
}
.tq-lead {
  color: var(--soft);
  max-width: 640px;
}
.tq-h {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
}
.tq-hr {
  flex: 1 1 20px;
  height: 1px;
  background: var(--rule);
}
.tq-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.tq-state {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  padding: 24px 20px;
  color: var(--muted);
  border: 1px solid var(--rule);
  background: var(--panel);
}
.tq-state.is-error {
  border-color: var(--warn);
  color: var(--text);
  background: #fbf3e8;
}
.tq-empty {
  padding: 40px 24px;
  color: var(--muted);
  text-align: center;
}
.tq-nocur {
  margin: auto;
  color: var(--muted);
}
.tq-note {
  font-size: 12px;
  color: var(--soft);
}
.tq-why {
  line-height: 1.55;
  max-width: 760px;
}

/* Buttons and toggles. */
.tq-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--ink);
  border-radius: 2px;
  background: transparent;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.t-technique a.tq-btn {
  color: var(--ink);
}
.tq-btn:hover:not(:disabled) {
  background: #e9eae5;
}
.tq-btn:disabled {
  opacity: 0.5;
}
.tq-btn-sm {
  min-height: 34px;
  font-size: 13px;
}
.tq-btn-p {
  border-color: var(--ink);
  background: var(--ink);
  color: #ffffff;
  font-weight: 600;
  padding: 0 16px;
}
.tq-btn-p:hover:not(:disabled) {
  background: #2a2f34;
}
.tq-sq {
  width: 8px;
  height: 8px;
  background: var(--lime);
  flex: none;
}
.tq-btn-dark {
  border-color: #5a6168;
  color: #e9ece8;
  min-height: 38px;
  font-size: 13px;
}
.tq-btn-dark:hover:not(:disabled) {
  background: #22282d;
}
.tq-btn-lime {
  border-color: var(--lime);
  background: var(--lime);
  color: var(--ink);
  font-weight: 600;
  min-height: 38px;
  font-size: 13px;
}
.tq-btn-lime:hover:not(:disabled) {
  background: #9dff3d;
}
.tq-seg {
  display: inline-flex;
  flex-wrap: wrap;
  border: 1px solid var(--ink);
}
.tq-seg button {
  border: 0;
  border-right: 1px solid var(--rule);
  background: transparent;
  color: var(--ink);
  padding: 7px 12px;
  min-height: 34px;
  font-size: 11px;
  letter-spacing: 0.04em;
}
.tq-seg.mono button {
  font-family: var(--mono);
}
.tq-seg button:last-child {
  border-right: 0;
}
.tq-seg button.is-on {
  background: var(--ink);
  color: #ffffff;
}
.tq-seg button:not(.is-on):hover {
  background: #e9eae5;
}
.tq-more {
  border: 0;
  border-bottom: 1px solid var(--rule2);
  background: transparent;
  color: var(--link);
  padding: 12px 20px;
  min-height: 44px;
  text-align: left;
  font-family: var(--mono);
  font-size: 12px;
}
.tq-more:hover {
  background: #eceee9;
}

/* Priority tags: black, outlined, dashed. */
.tq-prio {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  padding: 2px 7px;
  line-height: 1.35;
  white-space: nowrap;
}
.tq-prio.sm {
  font-size: 10px;
  padding: 2px 6px;
}
.tq-prio.p-haute {
  background: var(--ink);
  color: #ffffff;
  border: 1px solid var(--ink);
}
.tq-prio.p-moyenne {
  color: var(--ink);
  border: 1px solid var(--ink);
}
.tq-prio.p-faible {
  color: var(--muted);
  border: 1px dashed #6b7177;
}
.tq-prio.p-aucune {
  color: var(--muted);
  border: 1px dotted #8d939a;
}
.tq-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tq-tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.02em;
  padding: 3px 8px;
  border: 1px solid var(--ink);
  background: var(--panel);
}
.tq-tag.is-warn {
  border-color: var(--warn);
  color: var(--warn);
  font-weight: 600;
}
.tq-boxed {
  font-size: 11px;
  padding: 2px 6px;
  border: 1px solid var(--ink);
}
.tq-code {
  font-size: 11px;
  border: 1px solid var(--rule);
  padding: 1px 5px;
  color: var(--soft);
}

/* Fields. */
.tq-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 10px 16px;
  padding: 10px 28px 12px;
  border-bottom: 1px solid var(--rule);
}
.tq-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.tq-field select {
  min-height: 34px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--panel);
  color: var(--text);
  padding: 0 28px 0 8px;
  font-size: 13px;
  max-width: 240px;
}
.tq-range {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}
.tq-range input {
  width: 160px;
  accent-color: var(--ink);
}
.tq-range .tq-b {
  width: 42px;
}

/* ── Boîte de tri ─────────────────────────────────────────────────────── */
.tq-tri {
  display: flex;
  flex-wrap: wrap;
  flex: 1;
  min-height: 0;
}
.tq-queue {
  flex: 1 1 340px;
  max-width: 420px;
  border-right: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.tq-tabs {
  display: flex;
  border-bottom: 1px solid var(--rule);
}
.tq-tabs button {
  flex: 1;
  border: 0;
  border-right: 1px solid #d9dbd6;
  background: transparent;
  color: var(--ink);
  padding: 12px 8px;
  min-height: 44px;
  font-size: 13px;
}
.tq-tabs button:last-child {
  border-right: 0;
}
.tq-tabs button.is-on {
  background: var(--ink);
  color: #ffffff;
}
.tq-list {
  display: flex;
  flex-direction: column;
}
.tq-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  text-align: left;
  border: 0;
  border-bottom: 1px solid var(--rule2);
  padding: 14px 20px;
  background: transparent;
  color: inherit;
}
.tq-row:hover {
  background: #eceee9;
}
.tq-row.is-on {
  background: var(--sel);
  box-shadow: inset 3px 0 0 var(--ink);
}
.tq-row-top {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}
.tq-row-top strong {
  flex: 1;
  font-weight: 600;
  min-width: 0;
}
.tq-row-reason {
  color: var(--soft);
  line-height: 1.4;
}
.tq-detail {
  flex: 999 1 480px;
  min-width: 0;
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.tq-dhead {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 16px;
}
.tq-dhead > .grow {
  flex: 1 1 280px;
}
.tq-dmeta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 12px;
}
.tq-name {
  margin-top: 8px;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.2;
}
.tq-title {
  margin-top: 8px;
  font-weight: 500;
}
.tq-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tq-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tq-sbar {
  display: flex;
  height: 22px;
  border: 1px solid var(--ink);
  background: repeating-linear-gradient(135deg, #d9dbd6 0 1px, transparent 1px 6px);
}
.tq-sbar span {
  height: 100%;
  border-right: 1px solid var(--paper);
}
.tq-sbar span:last-child {
  border-right: 0;
}
.tq-scale {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--muted);
}
.tq-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-size: 13px;
}
.tq-legend > span {
  display: flex;
  align-items: center;
  gap: 8px;
}
.tq-sw {
  width: 10px;
  height: 10px;
  border: 1px solid var(--ink);
  flex: none;
}
.tq-tagrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}
.tq-acts {
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-top: 1px dashed #d3d6d0;
  padding-top: 8px;
}
.tq-acts ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.tq-acts li {
  font-size: 13px;
  line-height: 1.45;
}
.tq-cols {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}
.tq-col3 {
  flex: 3 1 360px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tq-col2 {
  flex: 2 1 240px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tq-lane {
  display: flex;
  align-items: center;
  gap: 12px;
}
.tq-lane-name {
  width: 76px;
  flex: none;
  font-size: 11px;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tq-track {
  position: relative;
  flex: 1;
  height: 26px;
  border-bottom: 1px solid var(--rule);
}
.tq-dia {
  position: absolute;
  top: 6px;
  width: 12px;
  height: 12px;
  margin-left: -6px;
  background: var(--ink);
  transform: rotate(45deg);
}
.tq-axis {
  flex: 1;
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--muted);
}
.tq-events {
  display: flex;
  flex-direction: column;
}
.tq-events li {
  display: flex;
  gap: 12px;
  font-size: 13px;
  padding: 6px 0;
  border-top: 1px dashed #d3d6d0;
}
.tq-events li > .mono {
  width: 64px;
  flex: none;
  font-size: 11px;
}
.tq-parc {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.tq-parc-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
}
.tq-parc-top strong {
  font-weight: 600;
}
.tq-bar {
  position: relative;
  height: 14px;
  background: #e3e5e0;
  border: 1px solid #b8bcb6;
}
.tq-bar > span {
  display: block;
  height: 100%;
}
.tq-bar > i {
  position: absolute;
  top: -4px;
  bottom: -4px;
  width: 2px;
  margin-left: -1px;
  background: var(--warn);
}
.tq-bar-12 {
  height: 12px;
}
.tq-bar-16 {
  height: 16px;
}

/* ── Pick a company ───────────────────────────────────────────────────── */
.tq-pick {
  max-width: 820px;
}
.tq-quick {
  display: flex;
  flex-direction: column;
}
.tq-quick a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 6px;
  min-height: 44px;
  border-bottom: 1px solid var(--rule2);
  color: var(--text);
  text-decoration: none;
}
.tq-quick a:hover {
  background: #eceee9;
}

/* ── Fiche entreprise ─────────────────────────────────────────────────── */
.tq-kpis {
  display: grid;
  border: 1px solid var(--ink);
  background: var(--panel);
}
.tq-kpis-5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.tq-kpis-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.tq-kpi {
  padding: 12px 14px;
  border-right: 1px solid var(--rule);
  min-width: 0;
}
.tq-kpi:last-child {
  border-right: 0;
}
.tq-kv {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-top: 6px;
  font-size: 20px;
  font-weight: 600;
}
.tq-ks {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}
.tq-split {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 28px;
}
.tq-split-main {
  flex: 3 1 560px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tq-split-side {
  flex: 2 1 320px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.tq-tlhead {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
}
.tq-tlhead .lbl {
  margin-right: 4px;
}
.tq-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tq-chipbtn {
  font-size: 11px;
  letter-spacing: 0.04em;
  padding: 5px 10px;
  min-height: 30px;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--muted);
}
.tq-chipbtn.is-on {
  background: var(--ink);
  color: #ffffff;
}
.tq-tl {
  border: 1px solid var(--rule);
  background: var(--panel);
  padding: 12px 14px 8px;
}
.tq-tlrow {
  display: flex;
  align-items: center;
  gap: 12px;
}
.tq-tlname {
  width: 76px;
  flex: none;
  font-size: 11px;
  color: var(--soft);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tq-tltrack {
  position: relative;
  flex: 1;
  height: 34px;
  border-bottom: 1px solid #e1e3de;
}
.tq-tick {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: #e7e8e4;
}
.tq-mk {
  position: absolute;
  top: 5px;
  width: 24px;
  height: 24px;
  margin-left: -12px;
  padding: 0;
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tq-mk > span,
.tq-tllegend span > span {
  display: block;
  border: 1px solid var(--ink);
  background: var(--panel);
}
.k-sig {
  width: 11px;
  height: 11px;
  transform: rotate(45deg);
}
.k-odoo {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.k-adsk {
  width: 12px;
  height: 12px;
}
.tq-mk.is-on > span {
  background: var(--blue);
  width: 15px;
  height: 15px;
}
.tq-mk:hover > span {
  background: #cfe0f7;
}
.tq-mk.is-on:hover > span {
  background: var(--blue);
}
.tq-tlaxis {
  position: relative;
  flex: 1;
  height: 16px;
  margin-top: 4px;
}
.tq-tlaxis span {
  position: absolute;
  font-size: 10px;
  color: var(--muted);
  transform: translateX(-50%);
  white-space: nowrap;
}
.tq-tllegend {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 12px;
  color: var(--soft);
}
.tq-tllegend > span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.tq-tllegend .k-sig {
  width: 9px;
  height: 9px;
}
.tq-tllegend .k-odoo,
.tq-tllegend .k-adsk {
  width: 10px;
  height: 10px;
}
.tq-tllegend .k-sel {
  width: 10px;
  height: 10px;
  background: var(--blue);
}
.tq-evpanel {
  border-top: 2px solid var(--ink);
  padding-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: baseline;
}
.tq-evpanel > .mono:first-child {
  width: 96px;
  font-size: 12px;
}
.tl-body {
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.tl-title {
  font-size: 15px;
}
.tl-desc {
  font-size: 13px;
  color: var(--soft);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tq-seatrow {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) 60px;
  gap: 10px;
  align-items: center;
  font-size: 13px;
}
.tq-seatrow > span:first-child {
  overflow-wrap: anywhere;
}
.tq-seatrow > .mono {
  font-size: 12px;
  text-align: right;
}
.tq-seats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 3px;
}
.tq-seat {
  width: 16px;
  height: 16px;
  border: 1px solid var(--warn);
  background: transparent;
}
.tq-seat.is-used {
  background: var(--ink);
  border-color: var(--ink);
}
.tq-seat.is-unk {
  border: 1px dashed #8d939a;
}
.tq-warnbox {
  font-size: 12px;
  color: var(--soft);
  border: 1px dashed var(--warn);
  padding: 8px 10px;
  line-height: 1.5;
}
.tq-warnbox .mono {
  margin-right: 4px;
}
.tq-chartbox {
  background: var(--panel);
  border: 1px solid var(--rule);
}
.fx-grid {
  stroke: var(--rule2);
  stroke-width: 1;
}
.fx-ax {
  stroke: #8d939a;
  stroke-width: 1;
}
.fx-act {
  fill: none;
  stroke: var(--ink);
  stroke-width: 2.5;
}
.fx-prj {
  fill: none;
  stroke: var(--link);
  stroke-width: 2;
  stroke-dasharray: 6 4;
}
.fx-band {
  fill: var(--blue);
  fill-opacity: 0.16;
}
.fx-end {
  stroke: var(--warn);
  stroke-width: 1.5;
  stroke-dasharray: 3 3;
}
.fx-dim {
  stroke: var(--ink);
  stroke-width: 1;
}
.fx-gap {
  fill: var(--warn);
  fill-opacity: 0.1;
}
.fx-dot {
  fill: var(--ink);
}
.fx-t {
  font-family: var(--mono);
  font-size: 10px;
  fill: var(--muted);
}
.fx-k {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  fill: var(--ink);
}
.fx-w {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  fill: var(--warn);
}

/* ── Renouvellements ──────────────────────────────────────────────────── */
.tq-tablewrap {
  border: 1px solid var(--rule);
  background: var(--panel);
  overflow-x: auto;
}
.tq-rtable {
  width: 100%;
  min-width: 1040px;
  border-collapse: collapse;
  table-layout: fixed;
}
.tq-rtable th,
.tq-rtable td {
  padding: 11px 8px;
  text-align: left;
  vertical-align: middle;
  border-bottom: 1px solid var(--rule2);
  font-weight: 400;
}
.tq-rtable th:first-child,
.tq-rtable td:first-child {
  padding-left: 16px;
}
.tq-rtable thead th {
  vertical-align: bottom;
  border-bottom: 2px solid var(--ink);
  padding-top: 10px;
  padding-bottom: 10px;
}
.tq-rtable thead th:nth-child(1) {
  width: 19%;
}
.tq-rtable thead th:nth-child(2) {
  width: 13%;
}
.tq-rtable thead th:nth-child(3) {
  width: 15%;
}
.tq-rtable thead th:nth-child(4) {
  width: 9%;
}
.tq-rtable thead th:nth-child(5) {
  width: 22%;
}
.tq-rtable thead th:nth-child(6) {
  width: 10%;
}
.tq-rtable thead th:nth-child(7) {
  width: 12%;
}
.tq-rtable thead button {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  border: 0;
  background: transparent;
  padding: 4px 0;
  color: var(--ink);
  text-align: left;
  min-height: 28px;
}
.tq-rtable thead button:hover {
  text-decoration: underline;
}
.tq-rtable tbody tr.is-under {
  background: #fbf3e8;
}
.tq-rtable tbody th {
  display: table-cell;
}
.tq-rname {
  display: block;
  color: var(--text) !important;
  font-weight: 600;
  text-decoration: none;
}
.tq-rname:hover {
  text-decoration: underline;
}
.tq-rtable tbody th .mono {
  display: block;
  margin-top: 2px;
}
.tq-months {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  margin-top: 4px;
}
.tq-months span {
  font-family: var(--mono);
  font-size: 9px;
  color: var(--muted);
  border-left: 1px solid var(--rule);
  padding-left: 2px;
  overflow: hidden;
  white-space: nowrap;
}
.tq-ratebar {
  display: flex;
  align-items: center;
  gap: 8px;
}
.tq-ratebar .tq-bar {
  flex: 1;
}
.tq-ratebar .mono {
  font-size: 12px;
  width: 44px;
  text-align: right;
}
.tq-spark {
  width: 100%;
  height: 24px;
  display: block;
}
.tq-due {
  position: relative;
  height: 22px;
}
.tq-due-line {
  position: absolute;
  left: 0;
  top: 10px;
  height: 2px;
  background: var(--ink);
}
.tq-due-dia {
  position: absolute;
  top: 5px;
  width: 10px;
  height: 10px;
  margin-left: -5px;
  border: 1px solid var(--ink);
  background: var(--panel);
  transform: rotate(45deg);
}
.tq-due-dia.is-soon {
  background: var(--ink);
}
.tq-due-j {
  position: absolute;
  top: 2px;
  margin-left: 10px;
  font-size: 11px;
  white-space: nowrap;
}
.tq-st {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.04em;
  padding: 2px 6px;
  white-space: nowrap;
}
.tq-st.st-ok {
  border: 1px solid #6b7177;
  color: var(--soft);
}
.tq-st.st-unk {
  border: 1px dashed #6b7177;
  color: var(--muted);
}
.tq-st.st-under {
  border: 1px solid var(--warn);
  color: var(--warn);
  font-weight: 600;
}
.tq-st.st-flex {
  background: var(--link);
  border: 1px solid var(--link);
  color: #ffffff;
}
.tq-st.st-full {
  background: var(--ink);
  border: 1px solid var(--ink);
  color: #ffffff;
}
.tq-act {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 8px;
  font-size: 12px;
  border: 1px solid var(--ink);
  color: var(--ink) !important;
  text-decoration: none;
  line-height: 1.2;
}
.tq-act:hover {
  background: #e9eae5;
}
.tq-act.is-dark {
  background: var(--ink);
  color: #ffffff !important;
}
.tq-act.is-dark:hover {
  background: #2a2f34;
}
.tq-legend-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  font-size: 12px;
  color: var(--soft);
}
.tq-legend-line > span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.tq-legend-line > a {
  margin-left: auto;
}
.tq-lg-thr {
  width: 2px;
  height: 12px;
  background: var(--warn);
}
.tq-lg-dia {
  width: 9px;
  height: 9px;
  border: 1px solid var(--ink);
  background: var(--ink);
  transform: rotate(45deg);
}

/* ── Explorateur d'usage ──────────────────────────────────────────────── */
.hm-tq {
  gap: 3px;
}
.hm-tq .hm-row {
  gap: 3px;
}
.t-technique .hm-wk {
  font-family: var(--mono);
  color: var(--muted);
}
.hm-tq .hm-name {
  font-size: 11px;
  color: var(--soft);
}
.hm-tq .hm-cell {
  height: 26px;
  padding: 0;
  border: 1px solid transparent;
}
.hm-tq .hm-cell.is-zero {
  border-color: #d3d6d0;
}
.hm-tq .hm-cell.is-on {
  border: 2px solid var(--ink);
}
.hm-tq .hm-cell:hover {
  border-color: var(--ink);
}
.hm-tq .hm-act {
  border-top: 1px solid var(--ink);
  padding-top: 6px;
  margin-top: 3px;
}
.hm-tq .hm-act .hm-c {
  font-size: 11px;
}
.hm-totbar {
  width: 40px;
  height: 6px;
  background: #e3e5e0;
}
.hm-totbar span {
  display: block;
  height: 6px;
}
.hm-tq .hm-tot .mono {
  font-size: 11px;
  width: 24px;
  text-align: right;
}
.t-technique .hm-sw {
  width: 18px;
  height: 12px;
}
.tq-readout {
  flex: 1 1 300px;
  border: 1px solid var(--ink);
  background: var(--panel);
  padding: 7px 12px;
  display: flex;
  gap: 14px;
  align-items: baseline;
  font-size: 13px;
}
.tq-readout .mono {
  font-size: 11px;
}
.tq-bullet {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.tq-bullet.is-sel {
  background: var(--sel);
}
.tq-waffle {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(22px, 1fr));
  gap: 4px;
}
.tq-waf {
  aspect-ratio: 1;
  border: 1px solid var(--warn);
}
.tq-waf.is-used {
  background: var(--ink);
  border-color: var(--ink);
}
.tq-waf.is-unk {
  border: 1px dashed #8d939a;
}
.tq-fxrow {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
}
.tq-fxchart {
  flex: 3 1 520px;
  min-width: 0;
}
.tq-fxstats {
  flex: 1 1 240px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-left: 2px solid var(--ink);
  padding-left: 16px;
}
.tq-fxv {
  font-size: 22px;
  font-weight: 600;
  margin-top: 4px;
}

/* ── Cockpit ──────────────────────────────────────────────────────────── */
.tq-dark {
  background: var(--ink);
  color: #e9ece8;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.tq-dark a {
  color: #9cc2f7;
}
.tq-dark :focus-visible {
  outline-color: var(--lime);
}
.tq-dark-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 18px;
}
.tq-dark-head h1 {
  font-size: 20px;
  font-weight: 600;
  color: #ffffff;
}
.tq-dim {
  color: #aab1b7;
  font-size: 12px;
}
.tq-white {
  color: #ffffff;
  font-size: 13px;
}
.tq-light2 {
  color: #c9d1d8;
  font-size: 13px;
}
.tq-grow {
  flex: 1 1 260px;
}
.tq-row8 {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tq-runs-scroll {
  overflow-x: auto;
  padding: 4px 2px;
}
.tq-runs {
  display: grid;
  gap: 4px;
}
.tq-run {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
  border: 0;
  background: transparent;
  padding: 0;
  color: inherit;
}
.tq-run-bar {
  height: 44px;
  background: var(--blue);
}
.tq-run.st-error .tq-run-bar {
  background: repeating-linear-gradient(135deg, #ffb35c 0 2px, var(--ink) 2px 5px);
  box-shadow: inset 0 0 0 1px #ffb35c;
}
.tq-run.st-running .tq-run-bar {
  background: transparent;
  box-shadow: inset 0 0 0 2px var(--lime);
}
.tq-run.is-on .tq-run-bar {
  outline: 2px solid var(--lime);
  outline-offset: 2px;
}
.tq-run-code {
  font-size: 10px;
  text-align: center;
  color: #e9ece8;
}
.tq-run.st-error .tq-run-code {
  color: #ffb35c;
}
.tq-run-d {
  font-size: 9px;
  text-align: center;
  color: #8d959c;
}
.tq-dark-sel {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: baseline;
  border-top: 1px solid #343a40;
  padding-top: 12px;
}
.tq-runbadge {
  font-size: 11px;
  padding: 2px 7px;
}
.tq-runbadge.st-ok {
  background: var(--blue);
  color: var(--ink);
}
.tq-runbadge.st-error {
  border: 1px solid #ffb35c;
  color: #ffb35c;
}
.tq-runbadge.st-running {
  border: 1px solid var(--lime);
  color: var(--lime);
}
.tq-dark-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 12px;
  color: #aab1b7;
}
.tq-dark-legend span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.tq-dark-legend i {
  width: 12px;
  height: 12px;
  display: inline-block;
}
.lg-ok {
  background: var(--blue);
}
.lg-err {
  background: repeating-linear-gradient(135deg, #ffb35c 0 2px, var(--ink) 2px 5px);
  border: 1px solid #ffb35c;
}
.lg-run {
  border: 2px solid var(--lime);
}
.tq-srclist {
  display: flex;
  flex-direction: column;
}
.tq-src {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr) 70px;
  gap: 10px;
  align-items: center;
  padding: 5px 0;
  border-bottom: 1px solid var(--rule2);
}
.tq-src > .mono:first-child {
  font-size: 12px;
  padding-left: 6px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tq-src-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 22px;
}
.tq-src-bars span {
  flex: 1;
  background: var(--ink);
  min-height: 1px;
}
.tq-src-st {
  font-size: 11px;
  text-align: right;
  padding-right: 6px;
}
.tq-src.is-dead {
  background: #fbf3e8;
}
.tq-src.is-dead .mono {
  color: var(--warn);
  font-weight: 600;
}
.tq-src.is-dead .tq-src-bars span {
  background: var(--warn);
}
.tq-alert {
  border: 1px solid var(--warn);
  background: #fbf3e8;
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.5;
}
.tq-alert .mono {
  font-size: 11px;
  font-weight: 600;
  color: var(--warn);
}

/* ── Sign-in and toast ────────────────────────────────────────────────── */
.t-technique .login {
  background: rgba(20, 23, 26, 0.72);
}
.t-technique .login-card {
  background: var(--panel);
  border: 1px solid var(--ink);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.25);
}
.t-technique .login-logo {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.t-technique .login-word {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.t-technique .login-word span {
  color: var(--link);
}
.t-technique .login-hub {
  font-family: var(--mono);
  font-size: 11px;
  background: var(--ink);
  color: var(--lime);
  padding: 1px 5px;
}
.t-technique .login-card h1 {
  font-size: 22px;
  font-weight: 600;
}
.t-technique .login-lead,
.t-technique .login-note {
  color: var(--soft);
}
.t-technique .login-ms,
.t-technique .login-submit {
  background: var(--ink);
  color: #ffffff;
  border-radius: 2px;
}
.t-technique .login-ms:hover,
.t-technique .login-submit:hover {
  background: #2a2f34;
}
.t-technique .login-toggle {
  color: var(--muted);
}
.t-technique .login-pwd label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.t-technique .login-pwd input {
  border: 1px solid var(--ink);
  border-radius: 0;
  background: #ffffff;
}
.t-technique .login-err {
  color: #9b2c1f;
}
.t-technique .toast {
  background: var(--ink);
  color: #ffffff;
  padding: 10px 14px;
  left: calc(50% + 114px);
}
.t-technique .toast.err {
  box-shadow: inset 3px 0 0 #ffb35c;
}
.t-technique .toast-ic {
  width: 18px;
  height: 18px;
  background: var(--lime);
  color: var(--ink);
}
.t-technique .toast.err .toast-ic {
  background: #ffb35c;
}
.t-technique .toast-undo {
  background: transparent;
  color: var(--lime);
  padding: 4px 6px;
}
.t-technique .toast-undo:focus-visible {
  outline-color: var(--lime);
}

/* ── Narrow screens ───────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .tq-kpis-5 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .tq-kpis-5 .tq-kpi {
    border-bottom: 1px solid var(--rule);
  }
}
@media (max-width: 760px) {
  .tq-nav {
    flex: 1 1 100%;
    max-width: none;
    height: auto;
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
    padding: 12px 14px;
  }
  .tq-search {
    flex: 1 1 200px;
  }
  .tq-links {
    flex: 1 1 100%;
    flex-direction: row;
    flex-wrap: wrap;
    overflow: visible;
  }
  .tq-link {
    padding: 6px 8px;
  }
  .tq-userbox {
    border-top: 0;
    padding-top: 0;
    margin-left: auto;
  }
  .t-technique .umenu {
    bottom: auto;
    top: calc(100% + 8px);
    left: auto;
    right: 0;
    width: 240px;
  }
  .tq-top,
  .tq-filters {
    padding-left: 16px;
    padding-right: 16px;
  }
  .tq-page,
  .tq-detail {
    padding: 18px 16px 24px;
  }
  .tq-queue {
    max-width: none;
    border-right: 0;
    border-bottom: 1px solid var(--rule);
  }
  .tq-kpis-5,
  .tq-kpis-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .tq-kpi {
    border-bottom: 1px solid var(--rule);
  }
  .tq-split-main,
  .tq-fxchart {
    flex-basis: 100%;
  }
  .tq-fxstats {
    border-left: 0;
    padding-left: 0;
    border-top: 2px solid var(--ink);
    padding-top: 12px;
  }
  .t-technique .toast {
    left: 50%;
  }
  .tq-tlaxis span:nth-child(even) {
    display: none;
  }
}

/* ── Switch, link button, "envoi bientôt" tag ─────────────────────────── */
.tq-tagsoon {
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--warn);
  border: 1px dashed var(--warn);
  padding: 1px 6px;
  white-space: nowrap;
}
.tq-switch {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  padding: 8px 12px;
  min-height: 44px;
  text-align: left;
}
.tq-switch:not(.is-off):hover {
  background: #e9eae5;
}
.tq-switch-box {
  flex: none;
  width: 34px;
  height: 18px;
  border: 1px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 1px;
}
.tq-switch-box span {
  width: 14px;
  height: 14px;
  background: var(--ink);
}
.tq-switch.is-on .tq-switch-box {
  background: var(--ink);
  justify-content: flex-end;
}
.tq-switch.is-on .tq-switch-box span {
  background: var(--lime);
}
.tq-switch.is-off {
  cursor: default;
  color: var(--soft);
  border-style: dashed;
}
.tq-switch.is-off .tq-switch-box {
  border-color: #8d939a;
}
.tq-switch.is-off .tq-switch-box span {
  background: #8d939a;
}
.tq-switch.is-off.is-on .tq-switch-box {
  background: #8d939a;
}
.tq-switch.is-off.is-on .tq-switch-box span {
  background: var(--panel);
}
.tq-switch-l {
  flex: 1 1 auto;
}
.tq-linkbtn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: transparent;
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 2px;
  padding: 0 4px;
  min-height: 36px;
  font-size: 13px;
}
.tq-linkbtn:hover {
  color: #0f3f86;
}

/* ── Boîte de tri: Reporter ───────────────────────────────────────────── */
.snz {
  position: relative;
  display: inline-flex;
}
.tq-pop {
  position: absolute;
  z-index: 30;
  top: calc(100% + 6px);
  right: 0;
  min-width: 240px;
  display: flex;
  flex-direction: column;
  padding: 6px;
  background: var(--panel);
  border: 1px solid var(--ink);
  box-shadow: 4px 4px 0 rgba(20, 23, 26, 0.12);
}
.tq-pop-h {
  padding: 4px 8px 6px;
}
.tq-pop button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 0;
  background: transparent;
  color: var(--ink);
  padding: 8px;
  min-height: 40px;
  text-align: left;
}
.tq-pop button:hover {
  background: var(--sel);
}
.tq-pop .mono {
  font-size: 11px;
}

/* ── Ma journée ───────────────────────────────────────────────────────── */
.tq-jhead {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 16px 24px;
}
.tq-jhello {
  flex: 1 1 420px;
  min-width: 0;
}
.tq-jhello .tq-h1 {
  font-size: 32px;
}
.tq-jprog {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
}
.tq-jsegs {
  display: flex;
  gap: 3px;
  flex: 0 1 420px;
}
.tq-jsegs span {
  flex: 1;
  height: 10px;
  border: 1px solid var(--ink);
}
.tq-jsegs span.is-on {
  background: var(--ink);
}
.tq-jprog .mono {
  font-size: 13px;
}
.tq-jside {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
.tq-mail {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}
.tq-jcols {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: flex-start;
}
.tq-jtasks {
  flex: 3 1 520px;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.tq-jfilters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-bottom: 10px;
}
.tq-jlist {
  border-top: 2px solid var(--ink);
}
.tq-task {
  display: grid;
  grid-template-columns: 24px 74px minmax(0, 1fr) 64px 32px;
  gap: 12px;
  align-items: center;
  padding: 11px 4px;
  border-bottom: 1px solid #d9dbd6;
}
.tq-task input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--ink);
  cursor: pointer;
}
.tq-cat {
  font-size: 10px;
  letter-spacing: 0.06em;
  padding: 2px 5px;
  border: 1px solid var(--ink);
  text-align: center;
  white-space: nowrap;
}
.tq-jtxt {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  cursor: pointer;
}
.tq-jtxt strong {
  font-weight: 600;
}
.tq-jtxt > span:not(.sr-only) {
  color: var(--soft);
}
.tq-jdue {
  font-size: 12px;
  text-align: right;
  color: var(--muted);
  white-space: nowrap;
}
.tq-jdue.is-today {
  color: var(--ink);
  font-weight: 600;
}
.tq-jgo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid transparent;
  color: var(--ink) !important;
}
.tq-jgo:hover {
  border-color: var(--ink);
}
.tq-task.is-done .tq-cat,
.tq-task.is-done .tq-jtxt,
.tq-task.is-done .tq-jdue {
  opacity: 0.5;
}
.tq-task.is-done .tq-jtxt {
  text-decoration: line-through;
}
.tq-jaside {
  flex: 2 1 360px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.tq-ruler {
  position: relative;
  height: 92px;
  margin: 8px 8px 30px;
  border-bottom: 1px solid var(--ink);
}
.tq-rtick {
  position: absolute;
  bottom: -6px;
  width: 1px;
  height: 11px;
  background: var(--ink);
}
.tq-rtl {
  position: absolute;
  bottom: -24px;
  font-size: 10px;
  color: var(--muted);
  transform: translateX(-50%);
  white-space: nowrap;
}
.tq-stem {
  position: absolute;
  bottom: 0;
  width: 1px;
  background: var(--ink);
}
.tq-stem > span,
.tq-callout {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 3px;
  font-size: 10px;
  background: var(--ink);
  color: #ffffff;
}
.tq-stem > span {
  position: absolute;
  top: -9px;
  left: 0;
  transform: translateX(-50%);
}
.tq-stem.is-warn,
.tq-stem.is-warn > span,
.tq-callout.is-warn {
  background: var(--warn);
}
.tq-rlist {
  display: flex;
  flex-direction: column;
  padding-left: 0;
}
.tq-rlist li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 2px 10px;
  align-items: center;
  padding: 6px 0;
  border-top: 1px dashed #d3d6d0;
  font-size: 13px;
}
.tq-rlist li > .mono:last-child {
  grid-column: 2;
  font-size: 11px;
}
.tq-rlist a {
  color: var(--text) !important;
  font-weight: 600;
  text-decoration: none;
}
.tq-rlist a:hover {
  text-decoration: underline;
}
.tq-fun {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr) 52px;
  gap: 10px;
  align-items: center;
  font-size: 13px;
}
.tq-funbar {
  height: 22px;
  background: #e3e5e0;
}
.tq-funbar span {
  display: block;
  height: 22px;
}
.tq-fun .mono {
  text-align: right;
}
.tq-funconv {
  font-size: 10px;
  color: var(--muted);
  padding-left: 140px;
  margin-top: -6px;
}
.tq-flexbox {
  background: var(--ink);
  color: #e9ece8;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tq-flexbox :focus-visible {
  outline-color: var(--lime);
}
.tq-flexh {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--lime);
}
.tq-flexit {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tq-flexit + .tq-flexit {
  border-top: 1px solid #343a40;
  padding-top: 12px;
}
.t-technique a.tq-flexname {
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
}
.t-technique a.tq-flexname:hover {
  text-decoration: underline;
}
.tq-flexbar {
  height: 8px;
  background: #343a40;
}
.tq-flexbar span {
  display: block;
  height: 8px;
  background: var(--blue);
}

/* ── Suivi ────────────────────────────────────────────────────────────── */
.tq-conv {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.tq-convbar {
  display: flex;
  height: 30px;
  border: 1px solid var(--ink);
}
.tq-convbar > div {
  display: flex;
  align-items: center;
  padding-left: 8px;
  border-right: 1px solid var(--paper);
  overflow: hidden;
  min-width: 0;
}
.tq-convbar > div:last-child {
  border-right: 0;
}
.tq-convbar .mono {
  font-size: 12px;
  font-weight: 600;
}
.tq-convlbl {
  display: flex;
}
.tq-convlbl span {
  font-size: 10px;
  color: var(--muted);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  padding-right: 4px;
}
.tq-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--rule);
  background: var(--panel);
}
.tq-kcol {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 460px;
  border-right: 1px solid var(--rule);
}
.tq-kcol:last-child {
  border-right: 0;
  background: repeating-linear-gradient(135deg, transparent 0 6px, rgba(20, 23, 26, 0.035) 6px 7px);
}
.tq-kcolh {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  padding: 12px 12px 10px;
  border-bottom: 2px solid var(--ink);
}
.t-technique .tq-kcolh .lbl {
  color: var(--ink);
}
.tq-kcards {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px;
}
.tq-kempty {
  padding: 4px 2px;
}
.tq-knote {
  margin-top: auto;
  padding: 0 12px 12px;
}
.tq-kcard {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 10px;
  background: #ffffff;
  border: 1px solid var(--rule);
}
.tq-kmeta {
  display: flex;
  align-items: center;
  gap: 6px;
}
.t-technique a.tq-kname {
  font-weight: 600;
  font-size: 13px;
  line-height: 1.3;
  color: var(--text);
  text-decoration: none;
}
.t-technique a.tq-kname:hover {
  text-decoration: underline;
}
.tq-kwhy {
  font-size: 12px;
  line-height: 1.35;
  color: var(--soft);
}
.tq-kfoot {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
}
.tq-krep {
  min-width: 22px;
  height: 22px;
  padding: 0 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  background: var(--ink);
  color: #ffffff;
}
.tq-mv {
  width: 32px;
  height: 32px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  background: transparent;
  font-size: 16px;
  line-height: 1;
  text-decoration: none;
}
.t-technique .tq-mv {
  color: var(--ink);
}
.tq-mv:hover:not(:disabled) {
  background: #e9eae5;
}
.t-technique .tq-mv-fwd,
.t-technique .tq-mv-fwd:hover {
  background: var(--ink);
  color: #ffffff;
}
.t-technique .tq-mv-drop {
  border: 1px dashed #6b7177;
  color: var(--muted);
  font-size: 14px;
}
.tq-mv:disabled {
  opacity: 0.3;
}
.tq-dropform {
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-top: 1px dashed #d3d6d0;
  padding-top: 8px;
}
.tq-dropform input {
  min-height: 36px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: #ffffff;
  padding: 0 8px;
  font-size: 13px;
}
.tq-ferr {
  color: #9b2c1f;
  font-size: 12px;
  font-weight: 600;
}
.tq-dropped {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border: 1px dashed #6b7177;
  padding: 10px 14px;
}
.tq-droppedh {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}
.tq-droplist li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  padding: 6px 0;
  border-top: 1px dashed #d3d6d0;
  font-size: 13px;
}
.t-technique .tq-droplist a {
  color: var(--text);
}
.tq-dropwhy {
  flex: 1 1 200px;
  color: var(--soft);
}

/* ── Demander ─────────────────────────────────────────────────────────── */
.tq-askpage {
  max-width: 1180px;
}
.tq-askbox {
  display: flex;
  align-items: stretch;
  border: 2px solid var(--ink);
  background: var(--panel);
}
.tq-askbox:focus-within {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}
.tq-askq {
  display: flex;
  align-items: center;
  padding: 0 14px;
  font-size: 12px;
  color: var(--lime);
  background: var(--ink);
}
.tq-askbox input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 17px;
  padding: 14px;
  outline: none;
}
.tq-askbox input:focus-visible {
  outline: none;
}
.tq-askgo {
  border: 0;
  background: var(--ink);
  color: #ffffff;
  font-weight: 600;
  padding: 0 20px;
  min-height: 48px;
}
.tq-askgo:hover {
  background: #2a2f34;
}
.tq-asksug {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tq-sg {
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  padding: 6px 12px;
  min-height: 36px;
  font-size: 13px;
  text-align: left;
}
.tq-sg.is-on {
  background: var(--ink);
  color: #ffffff;
}
.tq-sg:not(.is-on):hover {
  background: #e9eae5;
}
.tq-askparams {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 10px 16px;
  padding: 10px 12px;
  border: 1px solid var(--rule);
  background: var(--panel);
}
.tq-pfield input,
.tq-pfield select {
  min-height: 34px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: #ffffff;
  color: var(--text);
  padding: 0 8px;
  font-size: 13px;
}
.tq-askintro {
  color: var(--soft);
  border: 1px dashed #b8bcb6;
  padding: 16px 18px;
  line-height: 1.55;
}
.tq-answer {
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-top: 2px solid var(--ink);
  padding-top: 16px;
}
.tq-anssent {
  font-size: 18px;
  line-height: 1.5;
  max-width: 860px;
}
.tq-ansgrid {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
}
.tq-anschart {
  flex: 2 1 420px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tq-anstab {
  flex: 3 1 420px;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.tq-anstab .tq-tablewrap {
  border: 0;
  background: transparent;
}
.tq-abar {
  display: grid;
  grid-template-columns: minmax(90px, 170px) minmax(0, 1fr) 64px;
  gap: 10px;
  align-items: center;
}
.tq-abar-l {
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tq-abar-t {
  position: relative;
  height: 18px;
  background: #e3e5e0;
}
.tq-abar-t span {
  display: block;
  height: 18px;
}
.tq-abar-t i {
  position: absolute;
  top: -3px;
  bottom: -3px;
  width: 2px;
  margin-left: -1px;
  background: var(--warn);
}
.tq-abar > .mono {
  font-size: 12px;
  text-align: right;
}
.tq-atable {
  width: 100%;
  min-width: 420px;
  border-collapse: collapse;
}
.tq-atable th,
.tq-atable td {
  padding: 8px 6px;
  text-align: left;
  font-size: 13px;
  font-weight: 400;
  border-bottom: 1px solid var(--rule2);
}
.tq-atable thead th {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.tq-atable tbody th {
  font-weight: 500;
}
.tq-ansacts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.tq-how {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 18px;
  background: var(--ink);
  color: #e9ece8;
}
.tq-howh {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--lime);
}
.tq-how p {
  line-height: 1.55;
}
.tq-how pre {
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
  color: #c9d1d8;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.tq-oos {
  border: 1px dashed #6b7177;
  padding: 18px;
  line-height: 1.55;
}

/* ── Cockpit: alert switches ──────────────────────────────────────────── */
.tq-switchgrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--ink);
}
.tq-switchgrid .tq-switch,
.tq-switchgrid .tq-switch.is-off {
  border: 0;
  border-right: 1px solid var(--rule);
  background: var(--panel);
  min-height: 56px;
  padding: 12px;
  font-size: 13px;
}
.tq-switchgrid .tq-switch:last-child {
  border-right: 0;
}
.tq-would {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
}

/* ── E-mail preview dialog ────────────────────────────────────────────── */
.t-technique .mail-dlg {
  background: var(--panel);
  color: var(--text);
  border: 1px solid var(--ink);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.25);
}
.t-technique .mail-head {
  border-bottom: 1px solid var(--ink);
}
.t-technique .mail-head h2 {
  font-weight: 600;
}
.t-technique .mail-note {
  font-family: var(--mono);
  color: var(--muted);
  border-top: 1px solid var(--rule);
}
.t-technique .mail-x:hover {
  background: #e9eae5;
}

@media (max-width: 1100px) {
  .tq-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .tq-kcol:nth-child(2) {
    border-right: 0;
  }
  .tq-kcol:nth-child(-n + 2) {
    border-bottom: 1px solid var(--rule);
  }
  .tq-switchgrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .tq-switchgrid .tq-switch:nth-child(-n + 2) {
    border-bottom: 1px solid var(--rule);
  }
}
@media (max-width: 760px) {
  .tq-jhello .tq-h1 {
    font-size: 26px;
  }
  .tq-jside,
  .tq-mail {
    align-items: flex-start;
  }
  .tq-task {
    grid-template-columns: 24px minmax(0, 1fr) auto 32px;
    grid-template-areas: "ck cat due go" "ck txt txt go";
    row-gap: 4px;
  }
  .tq-task input {
    grid-area: ck;
  }
  .tq-cat {
    grid-area: cat;
    justify-self: start;
  }
  .tq-jtxt {
    grid-area: txt;
  }
  .tq-jdue {
    grid-area: due;
  }
  .tq-jgo {
    grid-area: go;
  }
  .tq-fun {
    grid-template-columns: 104px minmax(0, 1fr) 46px;
  }
  .tq-funconv {
    padding-left: 114px;
  }
  .tq-board,
  .tq-switchgrid {
    grid-template-columns: 1fr;
  }
  .tq-kcol {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--rule);
  }
  .tq-kcol:last-child {
    border-bottom: 0;
  }
  .tq-switchgrid .tq-switch {
    border-right: 0;
    border-bottom: 1px solid var(--rule);
  }
  .tq-switchgrid .tq-switch:last-child {
    border-bottom: 0;
  }
  .tq-convlbl {
    display: none;
  }
  .tq-askbox input {
    font-size: 16px;
    padding: 12px 10px;
  }
  .tq-askgo {
    padding: 0 14px;
  }
  .tq-abar {
    grid-template-columns: minmax(80px, 120px) minmax(0, 1fr) 52px;
  }
}
