/* ============================================================
 *  TAREFAS 10X ENHANCEMENTS — CSS dos quick wins
 * ============================================================ */

/* ============================================================
 *  MOBILE KANBAN — scroll horizontal abaixo de 900px
 * ============================================================ */
@media (max-width: 900px) {
  .k10-board {
    grid-template-columns: none !important;
    display: flex !important;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 12px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }
  .k10-col {
    flex: 0 0 84vw;
    max-width: 340px;
    scroll-snap-align: start;
    max-height: calc(100vh - 200px);
  }
  .k10-board::-webkit-scrollbar { height: 6px; }
  .k10-board::-webkit-scrollbar-thumb {
    background: oklch(0.88 0.008 260);
    border-radius: 3px;
  }
}

@media (max-width: 600px) {
  .k10-col { flex: 0 0 88vw; }
}

/* ============================================================
 *  ÍCONE "BLOQUEADA" — badge sutil
 * ============================================================ */
.k10-blocked {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 6px 2px 4px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: oklch(0.44 0.15 30);
  background: oklch(0.96 0.04 30);
  border: 1px solid oklch(0.88 0.06 30);
  border-radius: 4px;
  line-height: 1.2;
  align-self: flex-start;
  text-transform: uppercase;
}
.k10-blocked svg {
  width: 10px; height: 10px;
  flex-shrink: 0;
}

/* ============================================================
 *  EMPTY STATE GLOBAL DO BOARD
 * ============================================================ */
.k10-global-empty {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
  text-align: center;
  color: oklch(0.40 0.012 260);
  gap: 14px;
  background: #ffffff;
  border: 1px dashed oklch(0.90 0.008 260);
  border-radius: 16px;
  margin: 0;
  animation: t10FadeIn 220ms ease-out;
}
@keyframes t10FadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.k10-global-empty__ico {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  background: oklch(0.97 0.005 260);
  border-radius: 50%;
  color: oklch(0.60 0.012 260);
}
.k10-global-empty__ico svg { width: 26px; height: 26px; }
.k10-global-empty h3 {
  margin: 0;
  font-family: "Inter Tight", "Inter", sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: oklch(0.22 0.012 260);
  letter-spacing: -0.01em;
}
.k10-global-empty p {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  max-width: 360px;
  line-height: 1.5;
  color: oklch(0.50 0.012 260);
}
.k10-global-empty__acts {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  flex-wrap: wrap;
  justify-content: center;
}
.k10-global-empty__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 500;
  border-radius: 8px;
  border: 1px solid oklch(0.90 0.008 260);
  background: #fff;
  color: oklch(0.30 0.012 260);
  cursor: pointer;
  transition: all 120ms;
}
.k10-global-empty__btn:hover {
  background: oklch(0.98 0.005 260);
  border-color: oklch(0.75 0.012 260);
}
.k10-global-empty__btn--primary {
  background: oklch(0.22 0.02 260);
  color: #fff;
  border-color: oklch(0.22 0.02 260);
}
.k10-global-empty__btn--primary:hover {
  background: oklch(0.30 0.02 260);
  border-color: oklch(0.30 0.02 260);
}

/* ============================================================
 *  SHORTCUT HELP OVERLAY (? para abrir)
 * ============================================================ */
.t10-shhelp {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(15, 18, 25, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: t10FadeIn 160ms ease-out;
}
.t10-shhelp__box {
  width: min(440px, 94vw);
  background: #fff;
  border-radius: 16px;
  border: 1px solid oklch(0.92 0.005 260);
  box-shadow: 0 28px 72px rgba(10, 15, 30, 0.35);
  padding: 0;
  overflow: hidden;
  animation: t10SlideUp 200ms cubic-bezier(0.2, 0.8, 0.2, 1);
  font-family: "Inter", -apple-system, sans-serif;
}
@keyframes t10SlideUp { from { transform: translateY(8px) scale(0.985); opacity: 0; } to { transform: translateY(0) scale(1); opacity: 1; } }
.t10-shhelp__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid oklch(0.95 0.005 260);
}
.t10-shhelp__head h3 {
  margin: 0;
  font-family: "Inter Tight", sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: oklch(0.22 0.012 260);
  letter-spacing: -0.01em;
}
.t10-shhelp__close {
  width: 28px; height: 28px;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  color: oklch(0.55 0.012 260);
  transition: all 120ms;
}
.t10-shhelp__close:hover {
  background: oklch(0.96 0.005 260);
  color: oklch(0.22 0.012 260);
}
.t10-shhelp__grid {
  padding: 16px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.t10-shhelp__grid > div {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: oklch(0.35 0.012 260);
}
.t10-shhelp__grid > div span {
  margin-left: auto;
  color: oklch(0.30 0.012 260);
}
.t10-shhelp__grid kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  padding: 2px 7px;
  background: oklch(0.98 0.005 260);
  border: 1px solid oklch(0.90 0.008 260);
  border-bottom-width: 2px;
  border-radius: 5px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 600;
  color: oklch(0.24 0.012 260);
  line-height: 1.3;
}
.t10-shhelp__sep {
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid oklch(0.95 0.005 260);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 9.5px;
  font-weight: 600;
  color: oklch(0.55 0.012 260);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  justify-content: flex-start !important;
}
