:root {
  --ft-bg: #0f0f0f;
  --ft-surface: #1b1b1b;
  --ft-surface-2: #242424;
  --ft-border: #2f2f2f;
  --ft-text: #f4f4f4;
  --ft-text-muted: #c6c6c6;
  --ft-accent: #0f62fe;
  --ft-accent-2: #3d70b2;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--ft-bg);
  color: var(--ft-text);
}

.app-shell {
  min-height: 100vh;
  background: var(--ft-bg);
  color: var(--ft-text);
}

.bx--modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  background: rgba(0, 0, 0, 0.6);
}

.bx--modal.is-visible {
  display: flex;
}

.bx--modal-container {
  width: min(48rem, 100%);
  max-height: calc(100vh - 4rem);
  overflow: auto;
  background: var(--ft-surface);
  border: 1px solid var(--ft-border);
  border-radius: 2px;
  color: var(--ft-text);
}

body .bx--tile {
  background: var(--ft-surface) !important;
  border: 1px solid var(--ft-border) !important;
  color: var(--ft-text) !important;
}

body .bx--tile * {
  color: inherit;
}

body .bx--data-table,
body .bx--data-table thead,
body .bx--data-table tbody,
body .bx--data-table tr,
body .bx--data-table th,
body .bx--data-table td {
  background: var(--ft-surface) !important;
  color: var(--ft-text) !important;
  border-color: var(--ft-border) !important;
}

body .bx--data-table th {
  color: var(--ft-text-muted) !important;
}

/* Carbon data table consistency */
body .bx--data-table {
  width: 100% !important;
  table-layout: fixed;
  border-collapse: collapse;
}

body .bx--data-table th,
body .bx--data-table td {
  padding: 0.75rem 1rem;
  vertical-align: middle;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body .bx--data-table td {
  max-width: 0;
}

body .bx--inline-notification {
  background: var(--ft-surface-2) !important;
  border-color: var(--ft-border) !important;
  color: var(--ft-text) !important;
}

body .bx--label,
body .bx--type-body-short-01,
body .bx--type-body-long-01,
body .bx--type-productive-heading-03,
body .bx--type-expressive-heading-04 {
  color: var(--ft-text) !important;
}

body .bx--text-input,
body .bx--select-input,
body .bx--text-area {
  background: #141414 !important;
  color: var(--ft-text) !important;
  border-color: var(--ft-border) !important;
}

body .bx--text-input::placeholder,
body .bx--text-area::placeholder {
  color: #8d8d8d !important;
}

body .bx--btn--primary {
  background: var(--ft-accent) !important;
  border-color: var(--ft-accent) !important;
  color: #ffffff !important;
}

body .bx--btn--secondary {
  background: transparent !important;
  border-color: #6f6f6f !important;
  color: var(--ft-text) !important;
}

body .bx--btn--tertiary,
body .bx--btn--ghost {
  color: var(--ft-text) !important;
}

body .bx--tabs {
  border-bottom: 1px solid var(--ft-border) !important;
}

body .bx--tabs__nav-link {
  color: var(--ft-text-muted) !important;
  background: transparent !important;
  border: none !important;
  padding: 0.5rem 0.75rem !important;
  font-weight: 500;
  white-space: nowrap;
}

/* Global page headings */
body h1.bx--type-expressive-heading-04 {
  font-size: 26px !important;
}

/* Left nav */
.ft-nav-link {
  display: block;
  color: var(--ft-text-muted) !important;
  text-decoration: none;
  padding: 0.75rem 1.25rem;
}

.ft-nav-link[aria-current="page"] {
  color: var(--ft-text) !important;
  background: #2b2b2b;
}

.ft-nav-link:focus,
.ft-nav-link:focus-visible {
  outline: none;
}
body .bx--tabs__nav-item--selected .bx--tabs__nav-link {
  color: var(--ft-text) !important;
  border-bottom: 2px solid var(--ft-accent) !important;
}

body .bx--tabs__nav {
  background: transparent !important;
  border-bottom: 1px solid var(--ft-border) !important;
}

body .bx--tabs__nav-item {
  background: transparent !important;
  border: none !important;
  margin-right: 0.25rem;
}

body .bx--tabs__nav-link:focus {
  outline: 2px solid var(--ft-accent) !important;
  outline-offset: 2px;
}

/* Reusable app tab wrapper */
.ft-tabs {
  margin-bottom: 1rem;
}

.ft-tabs .bx--tabs__nav-link {
  text-decoration: none;
}

/* Header top menu for requirements */
.ft-topmenu {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin-left: 0.5rem;
}

.ft-topmenu__link {
  color: var(--ft-text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  padding: 0.25rem 0.5rem;
  border-bottom: 2px solid transparent;
}

.ft-topmenu__link.is-active {
  color: var(--ft-text);
  border-bottom-color: var(--ft-accent);
}

body .bx--tag {
  border-color: var(--ft-border) !important;
}

body a {
  color: #78a9ff !important;
}

body p,
body span,
body label,
body h1,
body h2,
body h3,
body h4,
body h5,
body h6,
body li,
body td,
body th {
  color: var(--ft-text) !important;
}

body input,
body select,
body textarea {
  color: var(--ft-text) !important;
  background-color: #141414 !important;
  border-color: var(--ft-border) !important;
}

body input:disabled,
body select:disabled,
body textarea:disabled {
  color: #8d8d8d !important;
}

body table,
body thead,
body tbody {
  background-color: var(--ft-surface) !important;
}

body .bx--data-table tbody tr:hover {
  background-color: #2b2b2b !important;
}

body .bx--modal-header,
body .bx--modal-content,
body .bx--modal-footer {
  background: var(--ft-surface);
  color: var(--ft-text);
}

/* Override common inline light styles */
body [style*="background: #ffffff"],
body [style*="background: #fff"],
body [style*="background: #f4f4f4"],
body [style*="background: #e0e0e0"],
body [style*="background: #edf5ff"] {
  background: var(--ft-surface) !important;
  color: var(--ft-text) !important;
  border-color: var(--ft-border) !important;
}

body [style*="color: #000"],
body [style*="color: #161616"],
body [style*="color: #525252"],
body [style*="color: #6f6f6f"] {
  color: var(--ft-text-muted) !important;
}

/* Dashboard layout */
.ft-dashboard {
  display: grid;
  gap: 1rem;
}

.ft-dashboard__kpis {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

.ft-kpi-card {
  padding: 0.9rem 1rem;
  display: grid;
  gap: 0.35rem;
  min-height: 96px;
}

.ft-kpi-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ft-text-muted);
}

.ft-kpi-value {
  font-size: 1.6rem;
  font-weight: 600;
}

.ft-kpi-trend {
  font-size: 0.75rem;
  color: var(--ft-text-muted);
}

.ft-kpi-status {
  font-size: 1.15rem;
  font-weight: 600;
}

.ft-kpi-status--healthy {
  color: #24a148;
}

.ft-kpi-status--warning {
  color: #f1c21b;
}

.ft-kpi-status--critical {
  color: #da1e28;
}

.ft-kpi-value--critical {
  color: #da1e28;
}

.ft-kpi-value--warning {
  color: #f1c21b;
}

.ft-dashboard__row {
  display: grid;
  grid-template-columns: 60% 40%;
  gap: 1rem;
}

.ft-dashboard__row--compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ft-section-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.ft-heatmap {
  padding: 1rem;
}

.ft-heatmap-months {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0.3rem;
  font-size: 0.7rem;
  color: var(--ft-text-muted);
  margin-bottom: 0.35rem;
}

.ft-heatmap-month {
  text-align: left;
}

.ft-heatmap-grid {
  display: grid;
  gap: 0.2rem;
  margin-bottom: 0.75rem;
}

.ft-heatmap-row {
  display: grid;
  grid-template-columns: repeat(52, minmax(0, 1fr));
  gap: 0.2rem;
}

.ft-heatmap-cell {
  display: inline-block;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 4px;
  background: #1f1f1f;
}

.ft-heatmap-cell.level-0 {
  background: #1f1f1f;
}

.ft-heatmap-cell.level-1 {
  background: #243047;
}

.ft-heatmap-cell.level-2 {
  background: #2b4c8a;
}

.ft-heatmap-cell.level-3 {
  background: #0f62fe;
}

.ft-heatmap-legend {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--ft-text-muted);
  font-size: 0.75rem;
  margin-top: 0.5rem;
}

.ft-heatmap-legend .ft-heatmap-cell {
  display: inline-block;
  width: 12px !important;
  height: 12px !important;
  min-width: 12px !important;
  min-height: 12px !important;
  max-width: 12px !important;
  max-height: 12px !important;
  aspect-ratio: unset !important;
  border-radius: 3px;
  flex-shrink: 0;
}

.ft-donut {
  padding: 1rem;
}

.ft-donut-chart {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 1rem;
  align-items: center;
}

.ft-donut-ring {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: conic-gradient(
    #24a148 0 120deg,
    #0f62fe 120deg 210deg,
    #f1c21b 210deg 260deg,
    #da1e28 260deg 300deg,
    #6f6f6f 300deg 360deg
  );
  display: grid;
  place-items: center;
}

.ft-donut-hole {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--ft-surface);
  display: grid;
  place-items: center;
  text-align: center;
}

.ft-donut-total {
  font-size: 1.3rem;
  font-weight: 600;
}

.ft-donut-label {
  font-size: 0.75rem;
  color: var(--ft-text-muted);
}

.ft-donut-legend {
  display: grid;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--ft-text);
}

.dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  margin-right: 0.35rem;
}

.dot-green { background: #24a148; }
.dot-blue { background: #0f62fe; }
.dot-amber { background: #f1c21b; }
.dot-red { background: #da1e28; }
.dot-gray { background: #6f6f6f; }

.ft-panel {
  padding: 1rem;
  min-height: 180px;
}

.ft-workload-list {
  display: grid;
  gap: 0.6rem;
}

.ft-workload-item {
  display: grid;
  gap: 0.35rem;
}

.ft-workload-name {
  font-size: 0.85rem;
  color: var(--ft-text-muted);
}

.ft-workload-bar {
  background: #2b2b2b;
  height: 8px;
  border-radius: 999px;
  overflow: hidden;
}

.ft-workload-bar span {
  display: block;
  height: 100%;
  background: #0f62fe;
}

.ft-timeline {
  display: grid;
  gap: 0.6rem;
}

.ft-timeline-item {
  display: grid;
  grid-template-columns: 12px 1fr;
  gap: 0.6rem;
  align-items: center;
}

.ft-timeline-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
}

.ft-timeline-title {
  font-size: 0.9rem;
  font-weight: 600;
}

.ft-timeline-sub {
  font-size: 0.75rem;
  color: var(--ft-text-muted);
}

.ft-activity-list {
  display: grid;
  gap: 0.6rem;
}

.ft-activity-item {
  border-left: 2px solid #2f2f2f;
  padding-left: 0.6rem;
}

.ft-activity-text {
  font-size: 0.85rem;
}

.ft-activity-meta {
  font-size: 0.72rem;
  color: var(--ft-text-muted);
}

.ft-empty {
  font-size: 0.85rem;
  color: var(--ft-text-muted);
}

/* Searchable select */
.ft-select {
  position: relative;
}

.ft-select__dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  max-height: 200px;
  overflow-y: auto;
  background: var(--ft-surface);
  border: 1px solid var(--ft-border);
  border-radius: 6px;
  z-index: 20;
}

.ft-select__option {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.5rem 0.75rem;
  background: transparent;
  border: none;
  color: var(--ft-text);
  cursor: pointer;
}

.ft-select__option:hover {
  background: #2b2b2b;
}

.ft-select__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.5rem;
}

.ft-select__chip {
  background: #2b2b2b;
  border: 1px solid #3a3a3a;
  border-radius: 999px;
  padding: 0.2rem 0.5rem;
  font-size: 0.75rem;
  color: var(--ft-text);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.ft-select__chip-remove {
  background: transparent;
  border: none;
  color: var(--ft-text-muted);
  cursor: pointer;
  font-size: 0.85rem;
  line-height: 1;
}

/* Inline assignee editor */
.ft-inline-assign {
  position: relative;
}

.ft-inline-assign__display {
  cursor: pointer;
  padding: 0.2rem 0.35rem;
  border-radius: 4px;
  display: block;
  width: 100%;
}

.ft-inline-assign__display:hover {
  background: #2b2b2b;
}

.ft-inline-assign__editor {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--ft-surface);
  border: 1px solid var(--ft-border);
  border-radius: 6px;
  padding: 0.4rem;
  z-index: 20;
}

.ft-inline-assign__editor.is-open {
  display: block;
}

.ft-inline-assign__search {
  width: 100%;
  margin-bottom: 0.4rem;
}

.ft-inline-assign__dropdown {
  max-height: 180px;
  overflow-y: auto;
}

.ft-inline-assign__option {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.4rem 0.5rem;
  background: transparent;
  border: none;
  color: var(--ft-text);
  cursor: pointer;
}

.ft-inline-assign__option:hover {
  background: #2b2b2b;
}


/* Kanban */
.ft-kanban {
  display: grid;
  grid-template-columns: repeat(6, minmax(280px, 1fr));
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}

.ft-kanban--full {
  flex: 1;
  height: auto;
  min-height: 0;
}

.ft-kanban__col {
  padding: 0.75rem;
  min-height: 480px;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 0.75rem;
  height: 100%;
}

.ft-kanban__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
}

.ft-kanban__title {
  font-size: 0.9rem;
}

.ft-kanban__count {
  font-size: 0.75rem;
  color: var(--ft-text-muted);
}
/* ============================================================
   FULL KANBAN + STATUS DROPDOWN CSS
   ============================================================ */

:root {
  --ft-bg: #0f0f0f;
  --ft-surface: #1b1b1b;
  --ft-surface-2: #242424;
  --ft-border: #2f2f2f;
  --ft-text: #f4f4f4;
  --ft-text-muted: #c6c6c6;
  --ft-accent: #0f62fe;
  --ft-accent-2: #3d70b2;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--ft-bg);
  color: var(--ft-text);
}

.app-shell {
  min-height: 100vh;
  background: var(--ft-bg);
  color: var(--ft-text);
}

.bx--modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  background: rgba(0, 0, 0, 0.6);
}

.bx--modal.is-visible {
  display: flex;
}

.bx--modal-container {
  width: min(48rem, 100%);
  max-height: calc(100vh - 4rem);
  overflow: auto;
  background: var(--ft-surface);
  border: 1px solid var(--ft-border);
  border-radius: 2px;
  color: var(--ft-text);
}

body .bx--tile {
  background: var(--ft-surface) !important;
  border: 1px solid var(--ft-border) !important;
  color: var(--ft-text) !important;
}

body .bx--tile * {
  color: inherit;
}

body .bx--data-table,
body .bx--data-table thead,
body .bx--data-table tbody,
body .bx--data-table tr,
body .bx--data-table th,
body .bx--data-table td {
  background: var(--ft-surface) !important;
  color: var(--ft-text) !important;
  border-color: var(--ft-border) !important;
}

body .bx--data-table th {
  color: var(--ft-text-muted) !important;
}

body .bx--data-table {
  width: 100% !important;
  table-layout: fixed;
  border-collapse: collapse;
}

body .bx--data-table th,
body .bx--data-table td {
  padding: 0.75rem 1rem;
  vertical-align: middle;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body .bx--data-table td {
  max-width: 0;
}

body .bx--inline-notification {
  background: var(--ft-surface-2) !important;
  border-color: var(--ft-border) !important;
  color: var(--ft-text) !important;
}

body .bx--label,
body .bx--type-body-short-01,
body .bx--type-body-long-01,
body .bx--type-productive-heading-03,
body .bx--type-expressive-heading-04 {
  color: var(--ft-text) !important;
}

body .bx--text-input,
body .bx--select-input,
body .bx--text-area {
  background: #141414 !important;
  color: var(--ft-text) !important;
  border-color: var(--ft-border) !important;
}

body .bx--text-input::placeholder,
body .bx--text-area::placeholder {
  color: #8d8d8d !important;
}

body .bx--btn--primary {
  background: var(--ft-accent) !important;
  border-color: var(--ft-accent) !important;
  color: #ffffff !important;
}

body .bx--btn--secondary {
  background: transparent !important;
  border-color: #6f6f6f !important;
  color: var(--ft-text) !important;
}

body .bx--btn--tertiary,
body .bx--btn--ghost {
  color: var(--ft-text) !important;
}

body .bx--tabs {
  border-bottom: 1px solid var(--ft-border) !important;
}

body .bx--tabs__nav-link {
  color: var(--ft-text-muted) !important;
  background: transparent !important;
  border: none !important;
  padding: 0.5rem 0.75rem !important;
  font-weight: 500;
  white-space: nowrap;
}

body h1.bx--type-expressive-heading-04 {
  font-size: 26px !important;
}

.ft-nav-link {
  display: block;
  color: var(--ft-text-muted) !important;
  text-decoration: none;
  padding: 0.75rem 1.25rem;
}

.ft-nav-link[aria-current="page"] {
  color: var(--ft-text) !important;
  background: #2b2b2b;
}

.ft-nav-link:focus,
.ft-nav-link:focus-visible {
  outline: none;
}

body .bx--tabs__nav-item--selected .bx--tabs__nav-link {
  color: var(--ft-text) !important;
  border-bottom: 2px solid var(--ft-accent) !important;
}

body .bx--tabs__nav {
  background: transparent !important;
  border-bottom: 1px solid var(--ft-border) !important;
}

body .bx--tabs__nav-item {
  background: transparent !important;
  border: none !important;
  margin-right: 0.25rem;
}

body .bx--tabs__nav-link:focus {
  outline: 2px solid var(--ft-accent) !important;
  outline-offset: 2px;
}

.ft-tabs {
  margin-bottom: 1rem;
}

.ft-tabs .bx--tabs__nav-link {
  text-decoration: none;
}

.ft-topmenu {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin-left: 0.5rem;
}

.ft-topmenu__link {
  color: var(--ft-text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  padding: 0.25rem 0.5rem;
  border-bottom: 2px solid transparent;
}

.ft-topmenu__link.is-active {
  color: var(--ft-text);
  border-bottom-color: var(--ft-accent);
}

body .bx--tag {
  border-color: var(--ft-border) !important;
}

body a {
  color: #78a9ff !important;
}

body p,
body span,
body label,
body h1,
body h2,
body h3,
body h4,
body h5,
body h6,
body li,
body td,
body th {
  color: var(--ft-text) !important;
}

body input,
body select,
body textarea {
  color: var(--ft-text) !important;
  background-color: #141414 !important;
  border-color: var(--ft-border) !important;
}

body input:disabled,
body select:disabled,
body textarea:disabled {
  color: #8d8d8d !important;
}

body table,
body thead,
body tbody {
  background-color: var(--ft-surface) !important;
}

body .bx--data-table tbody tr:hover {
  background-color: #2b2b2b !important;
}

body .bx--modal-header,
body .bx--modal-content,
body .bx--modal-footer {
  background: var(--ft-surface);
  color: var(--ft-text);
}

body [style*="background: #ffffff"],
body [style*="background: #fff"],
body [style*="background: #f4f4f4"],
body [style*="background: #e0e0e0"],
body [style*="background: #edf5ff"] {
  background: var(--ft-surface) !important;
  color: var(--ft-text) !important;
  border-color: var(--ft-border) !important;
}

body [style*="color: #000"],
body [style*="color: #161616"],
body [style*="color: #525252"],
body [style*="color: #6f6f6f"] {
  color: var(--ft-text-muted) !important;
}

/* ── Dashboard ── */
.ft-dashboard {
  display: grid;
  gap: 1rem;
}

.ft-dashboard__kpis {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

.ft-kpi-card {
  padding: 0.9rem 1rem;
  display: grid;
  gap: 0.35rem;
  min-height: 96px;
}

.ft-kpi-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ft-text-muted);
}

.ft-kpi-value {
  font-size: 1.6rem;
  font-weight: 600;
}

.ft-kpi-trend {
  font-size: 0.75rem;
  color: var(--ft-text-muted);
}

.ft-kpi-status {
  font-size: 1.15rem;
  font-weight: 600;
}

.ft-kpi-status--healthy { color: #24a148; }
.ft-kpi-status--warning { color: #f1c21b; }
.ft-kpi-status--critical { color: #da1e28; }
.ft-kpi-value--critical { color: #da1e28; }
.ft-kpi-value--warning { color: #f1c21b; }

.ft-dashboard__row {
  display: grid;
  grid-template-columns: 60% 40%;
  gap: 1rem;
}

.ft-dashboard__row--compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ft-section-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

/* ── Sidebar ── */
.ft-sidebar {
  width: 10vw;
  min-width: 220px;
  max-width: 360px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.ft-sidebar::-webkit-scrollbar { display: none; }

.ft-content {
  left: min(max(220px, 10vw), 360px);
}

@media (max-width: 960px) {
  .ft-sidebar { width: 240px; max-width: 240px; }
  .ft-content { left: 240px; }
}

@media (max-width: 720px) {
  .ft-sidebar { width: 200px; max-width: 200px; }
  .ft-content { left: 200px; }
}

/* ── Filter panel ── */
.ft-filter-section {
  border-bottom: 1px solid #2f2f2f;
}

.ft-filter-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.65rem 1rem;
  font-size: 0.8rem;
  color: var(--ft-text-muted);
  cursor: pointer;
  user-select: none;
}

.ft-filter-section-header:hover { background: #242424; }

.ft-filter-chevron {
  font-size: 0.75rem;
  transition: transform 0.2s;
}

.ft-filter-section.is-collapsed .ft-filter-chevron {
  transform: rotate(180deg);
}

.ft-filter-section-body {
  padding: 0.25rem 0 0.5rem;
}

.ft-filter-section.is-collapsed .ft-filter-section-body {
  display: none;
}

.ft-filter-option {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
  color: var(--ft-text);
  cursor: pointer;
}

.ft-filter-option:hover { background: #242424; }

.ft-filter-option input[type="checkbox"] {
  width: 14px;
  height: 14px;
  accent-color: var(--ft-accent);
  background: transparent !important;
  border: 1px solid #6f6f6f !important;
  border-radius: 3px;
  cursor: pointer;
  flex-shrink: 0;
}

/* ── Requirements page ── */
.ft-requirements-page {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}

body .ft-requirements-page form .bx--text-input {
  background: #141414 !important;
  border: 1px solid #2a2a2a !important;
  border-radius: 6px !important;
  color: #c6c6c6 !important;
  font-size: 0.85rem !important;
  height: 34px !important;
  padding: 0 0.75rem !important;
}

body .ft-requirements-page form .bx--text-input::placeholder {
  color: #444 !important;
}

body .ft-requirements-page .bx--btn--secondary {
  background: transparent !important;
  border: 1px solid #2f2f2f !important;
  color: #c6c6c6 !important;
  border-radius: 6px !important;
  font-size: 0.82rem !important;
  height: 34px !important;
  padding: 0 0.85rem !important;
  min-height: unset !important;
}

body .ft-requirements-page .bx--btn--primary {
  border-radius: 6px !important;
  font-size: 0.82rem !important;
  height: 34px !important;
  padding: 0 0.85rem !important;
  min-height: unset !important;
}

/* ============================================================
   KANBAN BOARD
   ============================================================ */

.ft-kanban {
  display: grid;
  grid-template-columns: repeat(6, minmax(340px, 1fr));
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scrollbar-width: thin;
  scrollbar-color: #3a3a3a #151515;
}

.ft-kanban::-webkit-scrollbar { height: 8px; }
.ft-kanban::-webkit-scrollbar-track { background: #151515; border-radius: 8px; }
.ft-kanban::-webkit-scrollbar-thumb { background: #3a3a3a; border-radius: 8px; }
.ft-kanban::-webkit-scrollbar-thumb:hover { background: #4a4a4a; }

.ft-kanban--full {
  flex: 1;
  height: auto;
  min-height: 0;
}

/* ── Column ── */
body .ft-kanban__col {
  background: #111 !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  min-height: 480px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
}

/* ── Column header ── */
body .ft-kanban__header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 0.5rem 0.75rem !important;
  background: #111 !important;
  border-bottom: 1px solid #1e1e1e !important;
  gap: 0.5rem !important;
}

body .ft-kanban__header-left {
  display: flex !important;
  align-items: center !important;
  gap: 0.45rem !important;
  min-width: 0 !important;
}

body .ft-kanban__header-right {
  display: flex !important;
  align-items: center !important;
  gap: 0.3rem !important;
  flex-shrink: 0 !important;
}

body .ft-kanban__title {
  font-size: 0.83rem !important;
  font-weight: 500 !important;
  color: #c0c0c0 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

body .ft-kanban__count {
  font-size: 0.75rem !important;
  color: #555 !important;
  flex-shrink: 0 !important;
}

/* ── Status icon in column header ── */
body .ft-kanban__status-icon {
  width: 15px !important;
  height: 15px !important;
  border-radius: 50% !important;
  flex-shrink: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 0 !important;
}

body .ft-kanban__status-icon--inprogress,
body .ft-kanban__status-icon--intesting,
body .ft-kanban__status-icon--inqc,
body .ft-kanban__status-icon--rework,
body .ft-kanban__status-icon--open {
  border: 2px solid #e8a020 !important;
  background: transparent !important;
  position: relative !important;
}

body .ft-kanban__status-icon--intesting::after,
body .ft-kanban__status-icon--inprogress::after {
  content: '' !important;
  position: absolute !important;
  width: 7px !important;
  height: 7px !important;
  border-radius: 50% !important;
  background: #e8a020 !important;
  top: 2px !important;
  left: 2px !important;
}

body .ft-kanban__status-icon--done {
  background: #1e8a3e !important;
  border: none !important;
}

body .ft-kanban__status-icon--done::after {
  content: '✓' !important;
  font-size: 9px !important;
  color: #fff !important;
  font-weight: 700 !important;
  line-height: 1 !important;
}

body .ft-kanban__status-icon--cancelled {
  background: #b91c1c !important;
  border: none !important;
}

body .ft-kanban__status-icon--cancelled::after {
  content: '×' !important;
  font-size: 11px !important;
  color: #fff !important;
  font-weight: 700 !important;
  line-height: 1 !important;
}

body .ft-kanban__status-icon--draft,
body .ft-kanban__status-icon--backlog,
body .ft-kanban__status-icon--todo {
  border: 2px solid #555 !important;
  background: transparent !important;
}

/* ── Header icon buttons ── */
body .ft-kanban .ft-kanban__header-icon-btn,
body .ft-kanban__hdr-btn {
  width: 22px !important;
  height: 22px !important;
  background: transparent !important;
  border: 1px solid #2b2b2b !important;
  border-radius: 4px !important;
  color: #555 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  padding: 0 !important;
  flex-shrink: 0 !important;
  transition: background 0.12s, color 0.12s !important;
  box-shadow: none !important;
  outline: none !important;
  min-height: unset !important;
  min-width: unset !important;
}

body .ft-kanban .ft-kanban__header-icon-btn:hover,
body .ft-kanban__hdr-btn:hover {
  background: #242424 !important;
  border-color: #3a3a3a !important;
  color: #aaa !important;
}

/* ── Card list ── */
body .ft-kanban .ft-kanban__list {
  flex: 1 !important;
  overflow-y: auto !important;
  padding: 0.5rem 0 0 !important;
  gap: 0 !important;
  border: none !important;
  background: transparent !important;
  border-radius: 0 !important;
  min-height: 60px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  scrollbar-width: thin;
  scrollbar-color: #3a3a3a #151515;
}

body .ft-kanban .ft-kanban__list::-webkit-scrollbar { width: 8px; }
body .ft-kanban .ft-kanban__list::-webkit-scrollbar-track { background: #151515; border-radius: 8px; }
body .ft-kanban .ft-kanban__list::-webkit-scrollbar-thumb { background: #3a3a3a; border-radius: 8px; }

body .ft-kanban .ft-kanban__list.is-over {
  background: rgba(15, 98, 254, 0.06) !important;
}

/* ── Card ── */
body .ft-kanban .ft-kanban__card {
  background: #181818 !important;
  border: 1px solid #242424 !important;
  border-radius: 8px !important;
  padding: 0.7rem 0.85rem 0.6rem !important;
  margin: 0 0.55rem 0.45rem !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0.28rem !important;
  cursor: pointer !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.3) !important;
  transition: background 0.12s, border-color 0.12s !important;
}

body .ft-kanban .ft-kanban__card:hover {
  background: #1f1f1f !important;
  border-color: #333 !important;
}

body .ft-kanban .ft-kanban__card.is-dragging {
  opacity: 0.5 !important;
  cursor: grabbing !important;
}

/* Card code */
body .ft-kanban .ft-kanban__card-code {
  font-size: 0.67rem !important;
  color: #4a4a4a !important;
  font-weight: 400 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  line-height: 1 !important;
  margin-bottom: 0.15rem !important;
}

/* Card title */
body .ft-kanban .ft-kanban__card .ft-kanban__card-title,
body .ft-kanban .ft-kanban__card .ft-kanban__card-title a,
body .ft-kanban .ft-kanban__card .ft-kanban__card-title a:link,
body .ft-kanban .ft-kanban__card .ft-kanban__card-title a:visited,
body .ft-kanban .ft-kanban__card .ft-kanban__card-title a:hover,
body .ft-kanban .ft-kanban__card .ft-kanban__card-title a:active {
  color: #dcdcdc !important;
  font-size: 0.88rem !important;
  font-weight: 500 !important;
  line-height: 1.45 !important;
  text-decoration: none !important;
}

/* ── Meta row ── */
body .ft-kanban .ft-kanban__card-meta {
  display: flex !important;
  align-items: center !important;
  gap: 0.35rem !important;
  flex-wrap: wrap !important;
  margin-top: 0.4rem !important;
}

/* ── Status pill (clickable) ── */
body .ft-kanban .ft-bw-status {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.3rem !important;
  font-size: 0.72rem !important;
  color: #c0c0c0 !important;
  background: #212121 !important;
  border: 1px solid #2a2a2a !important;
  border-radius: 3px !important;
  padding: 0.15rem 0.5rem 0.15rem 0.35rem !important;
  white-space: nowrap !important;
  cursor: pointer !important;
  user-select: none !important;
  transition: border-color .12s, background .12s !important;
}

body .ft-kanban .ft-bw-status:hover {
  border-color: #3a3a3a !important;
  background: #262626 !important;
}

body .ft-kanban .ft-bw-status__icon {
  width: 10px !important;
  height: 10px !important;
  border-radius: 50% !important;
  display: inline-block !important;
  flex-shrink: 0 !important;
}

/* Status icon colors */
body .ft-kanban .ft-bw-status--backlog .ft-bw-status__icon    { background: transparent !important; border: 1.5px dashed #555 !important; }
body .ft-kanban .ft-bw-status--todo .ft-bw-status__icon       { background: transparent !important; border: 1.5px solid #555 !important; }
body .ft-kanban .ft-bw-status--open .ft-bw-status__icon       { background: transparent !important; border: 1.5px solid #555 !important; }
body .ft-kanban .ft-bw-status--draft .ft-bw-status__icon      { background: transparent !important; border: 1.5px solid #555 !important; }
body .ft-kanban .ft-bw-status--inprogress .ft-bw-status__icon { background: transparent !important; border: 1.5px solid #e8a020 !important; }
body .ft-kanban .ft-bw-status--intesting .ft-bw-status__icon  { background: transparent !important; border: 1.5px solid #e8a020 !important; }
body .ft-kanban .ft-bw-status--inqc .ft-bw-status__icon       { background: transparent !important; border: 1.5px solid #3b82f6 !important; }
body .ft-kanban .ft-bw-status--issue .ft-bw-status__icon      { background: transparent !important; border: 1.5px solid #e8a020 !important; }
body .ft-kanban .ft-bw-status--rework .ft-bw-status__icon     { background: transparent !important; border: 1.5px solid #e8a020 !important; }
body .ft-kanban .ft-bw-status--done .ft-bw-status__icon       { background: #1e8a3e !important; border: none !important; }
body .ft-kanban .ft-bw-status--cancelled .ft-bw-status__icon  { background: #b91c1c !important; border: none !important; }

/* ── Priority icon ── */
body .ft-kanban .ft-bw-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 22px !important;
  height: 22px !important;
  border-radius: 4px !important;
  background: #1c1c1c !important;
  border: 1px solid #252525 !important;
  color: #555 !important;
  cursor: pointer !important;
  flex-shrink: 0 !important;
}

body .ft-kanban .ft-bw-icon:hover { background: #262626 !important; border-color: #333 !important; }
body .ft-kanban .ft-bw-icon--ghost { background: transparent !important; border: 1px solid transparent !important; }
body .ft-kanban .ft-bw-icon--ghost:hover { background: #1e1e1e !important; border-color: #2b2b2b !important; }

/* ── Date badge ── */
body .ft-kanban .ft-bw-date {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.25rem !important;
  font-size: 0.71rem !important;
  color: #aaa !important;
  background: #1c1c1c !important;
  border: 1px solid #252525 !important;
  border-radius: 999px !important;
  padding: 0.15rem 0.5rem !important;
  white-space: nowrap !important;
  cursor: pointer !important;
}

body .ft-kanban .ft-bw-date--overdue {
  color: #ef4444 !important;
  border-color: #3a1212 !important;
  background: #1a0a0a !important;
}

body .ft-kanban .ft-bw-date__x {
  color: #555 !important;
  font-size: 0.8rem !important;
  cursor: pointer !important;
  line-height: 1 !important;
  margin-left: 1px !important;
}

body .ft-kanban .ft-bw-date__x:hover { color: #aaa !important; }

/* ── Assignee avatar ── */
body .ft-kanban .ft-bw-avatar {
  width: 22px !important;
  height: 22px !important;
  border-radius: 50% !important;
  background: #1b4332 !important;
  border: 1.5px solid #166534 !important;
  color: #4ade80 !important;
  font-size: 0.62rem !important;
  font-weight: 700 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  cursor: pointer !important;
  text-transform: uppercase !important;
}

body .ft-kanban .ft-bw-avatar--empty {
  background: #1c1c1c !important;
  border-color: #2f2f2f !important;
  border-style: dashed !important;
  color: #555 !important;
}

/* ── Action buttons row ── */
body .ft-kanban .ft-kanban__card-actions {
  display: flex !important;
  align-items: center !important;
  gap: 0.3rem !important;
  margin-top: 0.3rem !important;
}

body .ft-kanban .ft-bw-action-btn {
  width: 26px !important;
  height: 22px !important;
  background: #161616 !important;
  border: 1px solid #222 !important;
  border-radius: 5px !important;
  color: #3a3a3a !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  padding: 0 !important;
  transition: border-color 0.12s, color 0.12s, background 0.12s !important;
}

body .ft-kanban .ft-bw-action-btn:hover {
  background: #1e1e1e !important;
  border-color: #303030 !important;
  color: #666 !important;
}

body .ft-kanban .ft-bw-action-btn--count {
  padding: 0 0.4rem !important;
  width: auto !important;
  gap: 0.25rem !important;
  font-size: 0.68rem !important;
  color: #555 !important;
}

/* ── New Work Item footer ── */
body .ft-kanban a.ft-kanban__new-item,
body .ft-kanban a.ft-kanban__new-item:link,
body .ft-kanban a.ft-kanban__new-item:visited {
  display: flex !important;
  align-items: center !important;
  gap: 0.45rem !important;
  padding: 0.55rem 0.85rem !important;
  font-size: 0.78rem !important;
  color: #3a3a3a !important;
  text-decoration: none !important;
  border-top: 1px solid #181818 !important;
  background: transparent !important;
  transition: color 0.15s, background 0.15s !important;
  cursor: pointer !important;
  margin-top: auto !important;
}

body .ft-kanban a.ft-kanban__new-item:hover {
  color: #888 !important;
  background: #161616 !important;
}

/* ── Collapsed column ── */
body .ft-kanban__col.is-collapsed .ft-kanban__list,
body .ft-kanban__col.is-collapsed .ft-kanban__quickadd,
body .ft-kanban__col.is-collapsed a.ft-kanban__new-item {
  display: none !important;
}

/* ── Quick-add form ── */
.ft-kanban__quickadd {
  display: none;
  padding: .55rem .65rem;
  background: #111;
  border-bottom: 1px solid #1a1a1a;
  animation: qa-slide-in .12s ease;
}

.ft-kanban__quickadd.is-open { display: block; }

@keyframes qa-slide-in {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

.ft-quickadd-input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: #f4f4f4;
  font-size: .85rem;
  padding: .25rem 0;
  caret-color: var(--ft-accent);
}

.ft-quickadd-input::placeholder { color: #3a3a3a; }

.ft-quickadd-hint {
  font-size: .68rem;
  color: #3a3a3a;
  margin-top: .35rem;
  display: flex;
  align-items: center;
  gap: .4rem;
  flex-wrap: wrap;
}

.ft-quickadd-hint kbd {
  background: #1e1e1e;
  border: 1px solid #333;
  border-radius: 3px;
  padding: .05rem .3rem;
  font-size: .65rem;
  color: #666;
  font-family: inherit;
}

.ft-quickadd-cancel {
  background: none;
  border: none;
  color: #444;
  cursor: pointer;
  font-size: .68rem;
  padding: 0;
}

.ft-quickadd-cancel:hover { color: #888; }

/* ── Save toast ── */
.ft-kanban-toast {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background: #1e1e1e;
  border: 1px solid #2f2f2f;
  border-radius: 8px;
  padding: .55rem 1rem;
  font-size: .8rem;
  color: #f4f4f4;
  display: flex;
  align-items: center;
  gap: .5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,.5);
  z-index: 9999;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .2s, transform .2s;
  pointer-events: none;
}

.ft-kanban-toast.show {
  opacity: 1;
  transform: translateY(0);
}

.ft-kanban-toast__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #24a148;
  flex-shrink: 0;
}

/* ============================================================
   STATUS PICKER DROPDOWN
   ============================================================ */

.ft-status-dropdown {
  position: fixed;
  z-index: 9999;
  background: #1b1b1b;
  border: 1px solid #2f2f2f;
  border-radius: 10px;
  width: 200px;
  box-shadow: 0 8px 28px rgba(0,0,0,.6);
  overflow: hidden;
  display: none;
}

.ft-status-dropdown.is-open { display: block; }

.ft-status-dropdown__search-wrap {
  padding: 8px 10px 6px;
  border-bottom: 1px solid #252525;
}

.ft-status-dropdown__search {
  width: 100%;
  box-sizing: border-box;
  background: #141414;
  border: 1px solid #2a2a2a;
  border-radius: 6px;
  padding: 5px 9px;
  font-size: 12px;
  color: #f4f4f4;
  outline: none;
}

.ft-status-dropdown__search::placeholder { color: #444; }

.ft-status-dropdown__list { padding: 4px 0; }

.ft-status-dropdown__item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  font-size: 12.5px;
  color: #c6c6c6;
  cursor: pointer;
  transition: background .1s;
}

.ft-status-dropdown__item:hover { background: #262626; }

.ft-status-dropdown__item.is-active { color: #f4f4f4; }

.ft-status-dropdown__item.is-active::after {
  content: '✓';
  margin-left: auto;
  color: #f4f4f4;
  font-size: 11px;
}

/* Dot icons in dropdown list */
.ft-status-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
}

.ft-status-dot--backlog    { border: 1.5px dashed #555; }
.ft-status-dot--todo       { border: 1.5px solid #555; }
.ft-status-dot--open       { border: 1.5px solid #555; }
.ft-status-dot--draft      { border: 1.5px solid #555; }
.ft-status-dot--inprogress { border: 1.5px solid #e8a020; }
.ft-status-dot--intesting  { border: 1.5px solid #e8a020; }
.ft-status-dot--inqc       { border: 1.5px solid #3b82f6; }
.ft-status-dot--issue      { border: 1.5px solid #e8a020; }
.ft-status-dot--rework     { border: 1.5px solid #e8a020; }

.ft-status-dot--done {
  background: #1e8a3e;
}
.ft-status-dot--done::after {
  content: '✓';
  font-size: 9px;
  color: #fff;
  font-weight: 700;
  line-height: 1;
}

.ft-status-dot--cancelled {
  background: #b91c1c;
}
.ft-status-dot--cancelled::after {
  content: '×';
  font-size: 11px;
  color: #fff;
  font-weight: 700;
  line-height: 1;
}

/* ── Responsive ── */
@media (max-width: 1200px) {
  .ft-kanban {
    grid-template-columns: repeat(3, minmax(220px, 1fr));
  }
  .ft-dashboard__kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ft-dashboard__row,
  .ft-dashboard__row--compact {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .ft-content { padding-left: 0; }
}
.ft-kanban__header-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.ft-kanban__add {
  padding: 0 0.4rem;
  min-width: auto;
  height: 22px;
  line-height: 20px;
  border-radius: 6px;
}

.ft-kanban__list {
  display: grid;
  gap: 0.6rem;
  min-height: 200px;
  border: 1px dashed #2b2b2b;
  border-radius: 8px;
  padding: 0.5rem;
  background: rgba(0, 0, 0, 0.15);
  overflow-y: auto;
  align-content: start;
}

.ft-kanban__list.is-over {
  border-color: var(--ft-accent);
  background: rgba(15, 98, 254, 0.08);
}

.ft-kanban__card {
  background: #1b1b1b;
  border: 1px solid #2b2b2b;
  border-radius: 8px;
  padding: 0.75rem;
  display: grid;
  gap: 0.5rem;
  cursor: grab;
  height: auto;
}

.ft-kanban__card.is-dragging {
  opacity: 0.6;
  cursor: grabbing;
}

.ft-kanban__card-title a {
  color: var(--ft-text);
  text-decoration: none;
  font-weight: 600;
  display: block;
}

.ft-kanban__card-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--ft-text-muted);
}

.ft-kanban__card-footer {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.ft-kanban__chip {
  font-size: 0.7rem;
  color: var(--ft-text-muted);
  border: 1px solid #2f2f2f;
  border-radius: 999px;
  padding: 0.1rem 0.45rem;
}

@media (max-width: 1200px) {
  .ft-kanban {
    grid-template-columns: repeat(3, minmax(220px, 1fr));
  }
}

.ft-requirements-page {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}
/* ============================================================
   KANBAN — Targeted fixes (load AFTER kanban_updated.css)
   ============================================================ */

/* ── 1. Fix blue title links — override body a !important ── */
body .ft-kanban .ft-kanban__card .ft-kanban__card-title,
body .ft-kanban .ft-kanban__card .ft-kanban__card-title a,
body .ft-kanban .ft-kanban__card .ft-kanban__card-title a:link,
body .ft-kanban .ft-kanban__card .ft-kanban__card-title a:visited,
body .ft-kanban .ft-kanban__card .ft-kanban__card-title a:hover,
body .ft-kanban .ft-kanban__card .ft-kanban__card-title a:active {
  color: #dcdcdc !important;
  text-decoration: none !important;
  font-weight: 500 !important;
  font-size: 0.85rem !important;
  line-height: 1.4 !important;
}

/* ── 2. Fix New Work Item — override blue link ── */
body .ft-kanban a.ft-kanban__new-item,
body .ft-kanban a.ft-kanban__new-item:link,
body .ft-kanban a.ft-kanban__new-item:visited {
  color: #3a3a3a !important;
  text-decoration: none !important;
  font-size: 0.78rem !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.4rem !important;
  padding: 0.6rem 0.75rem !important;
  border-top: 1px solid #1e1e1e !important;
  transition: color 0.15s, background 0.15s !important;
}

body .ft-kanban a.ft-kanban__new-item:hover {
  color: #888 !important;
  background: #181818 !important;
}

/* ── 3. Column header icon buttons — fully ghost, no border ── */
body .ft-kanban .ft-kanban__header-icon-btn {
  width: 20px !important;
  height: 20px !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border: 1px solid #2b2b2b !important;
  border-radius: 4px !important;
  color: #555 !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
  box-shadow: none !important;
  outline: none !important;
  min-height: unset !important;
  min-width: unset !important;
}

body .ft-kanban .ft-kanban__header-icon-btn:hover {
  background: #242424 !important;
  border-color: #3a3a3a !important;
  color: #a0a0a0 !important;
}

body .ft-kanban .ft-kanban__header-icon-btn svg {
  pointer-events: none;
  flex-shrink: 0;
}

/* ── 4. Card — flat flush style, no bg, just hairline bottom ── */
body .ft-kanban .ft-kanban__card {
  background: #181818 !important;
  border: 1px solid #242424 !important;
  border-radius: 3px !important;
  padding: 0.7rem 0.85rem 0.6rem !important;
  margin: 0 0.5rem 0.4rem !important;
  gap: 0.28rem !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.3) !important;
  cursor: pointer !important;
}

body .ft-kanban .ft-kanban__card:hover {
  background: #1f1f1f !important;
  border-color: #303030 !important;
}

/* ── 5. Card code — REQ-XXXXX ── */
body .ft-kanban .ft-kanban__card-code {
  font-size: 0.68rem !important;
  color: #4a4a4a !important;
  font-weight: 400 !important;
  letter-spacing: 0.03em !important;
  line-height: 1 !important;
  margin-bottom: 0.15rem !important;
}

/* ── 6. Meta row ── */
body .ft-kanban .ft-kanban__card-meta {
  display: flex !important;
  align-items: center !important;
  gap: 0.3rem !important;
  flex-wrap: wrap !important;
  margin-top: 0.3rem !important;
}

/* ── 7. Status badge text color ── */
body .ft-kanban .ft-badge--status,
body .ft-kanban .ft-badge--status span {
  color: #888 !important;
  font-size: 0.7rem !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
}

/* Draft/Open/etc text  */
body .ft-kanban .ft-badge--status {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.3rem !important;
}

/* ── 8. Date badge ── */
body .ft-kanban .ft-date-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.25rem !important;
  font-size: 0.7rem !important;
  color: #aaa !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  white-space: nowrap !important;
}

body .ft-kanban .ft-date-badge svg {
  color: #666 !important;
}

body .ft-kanban .ft-date-badge__remove {
  color: #444 !important;
  font-size: 0.65rem !important;
  cursor: pointer !important;
  margin-left: 2px !important;
}

body .ft-kanban .ft-date-badge__remove:hover {
  color: #888 !important;
}

/* ── 9. Priority button ── */
body .ft-kanban .ft-priority-btn {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  width: 16px !important;
  height: 16px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  cursor: default !important;
}

/* ── 10. Action buttons row (sub-task, watch, tag) ── */
body .ft-kanban .ft-kanban__card-actions {
  display: flex !important;
  align-items: center !important;
  gap: 0.3rem !important;
  margin-top: 0.35rem !important;
}

body .ft-kanban .ft-action-btn {
  width: 24px !important;
  height: 22px !important;
  border: 1px solid #252525 !important;
  background: #161616 !important;
  color: #4a4a4a !important;
  border-radius: 5px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: border-color 0.15s, color 0.15s !important;
  box-shadow: none !important;
  min-height: unset !important;
  min-width: unset !important;
  padding: 0 !important;
}

body .ft-kanban .ft-action-btn:hover {
  border-color: #363636 !important;
  color: #888 !important;
  background: #1e1e1e !important;
}

/* ── 11. Column header layout ── */
body .ft-kanban .ft-kanban__header {
  padding: 0.5rem 0.75rem !important;
  background: #111 !important;
  border-bottom: 1px solid #1e1e1e !important;
}

body .ft-kanban .ft-kanban__title {
  font-size: 0.83rem !important;
  font-weight: 500 !important;
  color: #c0c0c0 !important;
}

body .ft-kanban .ft-kanban__count {
  font-size: 0.75rem !important;
  color: #555 !important;
}

/* ── 12. Card list padding so cards have breathing room ── */
body .ft-kanban .ft-kanban__list {
  padding: 0.5rem 0 0 !important;
  gap: 0 !important;
  border: none !important;
  background: transparent !important;
}

/* ── 13. Assignee avatar ── */
body .ft-kanban .ft-avatar {
  width: 20px !important;
  height: 20px !important;
  border-radius: 50% !important;
  background: #0a4a2a !important;
  border: 1.5px solid #1a6a3a !important;
  color: #5cda8a !important;
  font-size: 0.6rem !important;
  font-weight: 700 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  margin-left: auto !important;
}

/* ── 14. Toolbar overrides ── */
body .ft-requirements-page form .bx--text-input {
  background: #141414 !important;
  border: 1px solid #2a2a2a !important;
  border-radius: 3px !important;
  color: #c6c6c6 !important;
  font-size: 0.85rem !important;
  height: 34px !important;
  padding: 0 0.75rem !important;
}

body .ft-requirements-page form .bx--text-input::placeholder {
  color: #444 !important;
}

/* Filter / Import buttons */
body .ft-requirements-page .bx--btn--secondary {
  background: transparent !important;
  border: 1px solid #2f2f2f !important;
  color: #c6c6c6 !important;
  border-radius: 6px !important;
  font-size: 0.82rem !important;
  height: 34px !important;
  padding: 0 0.85rem !important;
  min-height: unset !important;
}

/* Add button */
body .ft-requirements-page .bx--btn--primary {
  border-radius: 3px !important;
  font-size: 0.82rem !important;
  height: 34px !important;
  padding: 0 0.85rem !important;
  min-height: unset !important;
}
/* Layout split */
.ft-sidebar {
  width: 10vw;
  min-width: 220px;
  max-width: 360px;
}

.ft-sidebar {
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}

.ft-sidebar::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.ft-content {
  left: min(max(220px, 10vw), 360px);
}

@media (max-width: 960px) {
  .ft-sidebar {
    width: 240px;
    max-width: 240px;
  }

  .ft-content {
    left: 240px;
  }
}

@media (max-width: 720px) {
  .ft-sidebar {
    width: 200px;
    max-width: 200px;
  }

  .ft-content {
    left: 200px;
  }
}

/* Scrollbar (dark) */
.ft-kanban,
.ft-kanban__list {
  scrollbar-width: thin;
  scrollbar-color: #3a3a3a #151515;
}

.ft-kanban::-webkit-scrollbar,
.ft-kanban__list::-webkit-scrollbar {
  height: 8px;
  width: 8px;
}

.ft-kanban::-webkit-scrollbar-track,
.ft-kanban__list::-webkit-scrollbar-track {
  background: #151515;
  border-radius: 8px;
}

.ft-kanban::-webkit-scrollbar-thumb,
.ft-kanban__list::-webkit-scrollbar-thumb {
  background: #3a3a3a;
  border-radius: 8px;
}

.ft-kanban::-webkit-scrollbar-thumb:hover,
.ft-kanban__list::-webkit-scrollbar-thumb:hover {
  background: #4a4a4a;
}

@media (max-width: 1200px) {
  .ft-dashboard__kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ft-dashboard__row,
  .ft-dashboard__row--compact {
    grid-template-columns: 1fr;
  }
}

/* Files manager */
.ft-files {
  display: grid;
  gap: 1.25rem;
  padding: 1.5rem;
}

.ft-files__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.ft-files__subtitle {
  color: var(--ft-text-muted);
  margin-top: 0.35rem;
}

.ft-files__actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.ft-files__toolbar {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.ft-files__search {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex: 1 1 360px;
  min-width: 260px;
}

.ft-files__filters {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: flex-start;
  flex: 1 1 320px;
}

.ft-files__layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 1.5rem;
  min-height: 420px;
}

.ft-files__sidebar {
  background: var(--ft-surface-2);
  border: 1px solid var(--ft-border);
  border-radius: 8px;
  padding: 1rem;
  display: grid;
  gap: 1rem;
  height: fit-content;
}

.ft-files__section-title {
  font-size: 0.8rem;
  color: var(--ft-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.ft-files__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.ft-files__list-item {
  padding: 0.5rem 0.6rem;
  border-radius: 6px;
  color: var(--ft-text-muted);
  cursor: pointer;
}

.ft-files__list-item.is-active,
.ft-files__list-item:hover {
  background: #2b2b2b;
  color: var(--ft-text);
}

.ft-files__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.ft-files__content {
  display: grid;
  gap: 1rem;
}

.ft-files__breadcrumbs {
  font-size: 0.8rem;
  color: var(--ft-text-muted);
}

.ft-files__grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.ft-files__folder {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  background: var(--ft-surface-2);
  border: 1px solid var(--ft-border);
  border-radius: 8px;
  padding: 0.75rem 0.9rem;
}

.ft-files__folder-icon {
  font-size: 1.3rem;
}

.ft-files__folder-name {
  font-weight: 600;
}

.ft-files__folder-meta {
  font-size: 0.75rem;
  color: var(--ft-text-muted);
}

.ft-files__table-wrap {
  background: var(--ft-surface-2);
  border: 1px solid var(--ft-border);
  border-radius: 8px;
  padding: 0.25rem;
  overflow-x: auto;
}

.ft-files__table th,
.ft-files__table td {
  white-space: nowrap;
}

@media (max-width: 1100px) {
  .ft-files__layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .ft-files__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .ft-files__search {
    flex-direction: column;
    align-items: stretch;
  }
}

.ft-files__folder-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #2b2b2b;
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--ft-text-muted);
}

/* Knowledgebase */
.ft-kb {
  display: grid;
  gap: 1.25rem;
  padding: 1.5rem;
}

.ft-kb__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.ft-kb__subtitle {
  color: var(--ft-text-muted);
  margin-top: 0.35rem;
}

.ft-kb__actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.ft-kb__search {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.ft-kb__layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 1.5rem;
}

.ft-kb__sidebar {
  background: var(--ft-surface-2);
  border: 1px solid var(--ft-border);
  border-radius: 8px;
  padding: 1rem;
  display: grid;
  gap: 1rem;
  height: fit-content;
}

.ft-kb__section-title {
  font-size: 0.8rem;
  color: var(--ft-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.ft-kb__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.ft-kb__list-item {
  padding: 0.5rem 0.6rem;
  border-radius: 6px;
  color: var(--ft-text-muted);
  cursor: pointer;
}

.ft-kb__list-item.is-active,
.ft-kb__list-item:hover {
  background: #2b2b2b;
  color: var(--ft-text);
}

.ft-kb__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.ft-kb__content {
  display: grid;
  gap: 1rem;
}

.ft-kb__cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.75rem;
}

.ft-kb__card {
  padding: 1rem;
  display: grid;
  gap: 0.6rem;
}

.ft-kb__card-title {
  font-size: 1rem;
  margin: 0;
}

.ft-kb__card-text {
  font-size: 0.85rem;
  color: var(--ft-text-muted);
}

.ft-kb__card-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--ft-text-muted);
}

.ft-kb__table-wrap {
  background: var(--ft-surface-2);
  border: 1px solid var(--ft-border);
  border-radius: 8px;
  padding: 0.25rem;
  overflow-x: auto;
}

/* Settings */
.ft-settings {
  display: grid;
  gap: 1.5rem;
  padding: 1.5rem;
}

.ft-settings__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.ft-settings__subtitle {
  color: var(--ft-text-muted);
  margin-top: 0.35rem;
}

.ft-settings__actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.ft-settings__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.ft-settings__card {
  padding: 1rem;
  display: grid;
  gap: 0.75rem;
}

.ft-settings__card-title {
  margin: 0;
  font-size: 1rem;
}

.ft-settings__row {
  display: grid;
  gap: 0.35rem;
}

.ft-settings__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--ft-border);
  border-radius: 8px;
  background: var(--ft-surface-2);
}

/* Responsive layout helpers */
@media (max-width: 1200px) {
  .ft-kb__layout,
  .ft-files__layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .ft-content {
    padding-left: 0;
  }

  .ft-files,
  .ft-kb,
  .ft-settings {
    padding: 1.25rem;
  }
}

@media (max-width: 720px) {
  .ft-kb__header,
  .ft-settings__header,
  .ft-files__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .ft-kb__search,
  .ft-files__search {
    flex-direction: column;
    align-items: stretch;
  }

  .ft-settings__footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

.ft-filter-section {
  border-bottom: 1px solid #2f2f2f;
}

.ft-filter-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.65rem 1rem;
  font-size: 0.8rem;
  color: var(--ft-text-muted);
  cursor: pointer;
  user-select: none;
}

.ft-filter-section-header:hover {
  background: #242424;
}

.ft-filter-chevron {
  font-size: 0.75rem;
  transition: transform 0.2s;
}

.ft-filter-section.is-collapsed .ft-filter-chevron {
  transform: rotate(180deg);
}

.ft-filter-section-body {
  padding: 0.25rem 0 0.5rem;
}

.ft-filter-section.is-collapsed .ft-filter-section-body {
  display: none;
}

.ft-filter-option {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
  color: var(--ft-text);
  cursor: pointer;
}

.ft-filter-option:hover {
  background: #242424;
}

.ft-filter-option input[type="checkbox"] {
  width: 14px;
  height: 14px;
  accent-color: var(--ft-accent);
  background: transparent !important;
  border: 1px solid #6f6f6f !important;
  border-radius: 3px;
  cursor: pointer;
  flex-shrink: 0;
}

.ft-assignee-form {
  position: relative;
}

.bx--data-table td:has(.ft-assignee-form) {
  overflow: visible !important;
}

.bx--data-table tbody:has(.ft-assignee-form) {
  overflow: visible !important;
}

.bx--data-table:has(.ft-assignee-form) {
  overflow: visible !important;
}

.ft-assignee-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  padding: 0.1rem 0;
}

.ft-assignee-chip {
  display: inline-flex;
  align-items: center;
  background: #2b2b2b;
  border: 1px solid #3a3a3a;
  border-radius: 999px;
  padding: 0.15rem 0.55rem;
  font-size: 0.72rem;
  color: #c6c6c6;
  white-space: nowrap;
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Assignee cell */
.ft-assignee-cell { position: relative; }

.ft-assignee-trigger {
  cursor: pointer;
  min-height: 28px;
  padding: 0.2rem 0.35rem;
  border-radius: 6px;
  border: 1px solid transparent;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  align-items: center;
  transition: border-color 0.15s, background 0.15s;
}
.ft-assignee-trigger:hover { border-color: #3a3a3a; background: #1e1e1e; }
.ft-assignee-trigger.is-open { border-color: #0f62fe; background: #111; }

/* Chips */
.ft-assignee-chip {
  display: inline-flex;
  align-items: center;
  background: #2b2b2b;
  border: 1px solid #3a3a3a;
  border-radius: 999px;
  padding: 0.15rem 0.55rem;
  font-size: 0.72rem;
  color: #c6c6c6;
  white-space: nowrap;
  max-width: 130px;
  overflow: hidden;
  text-overflow: ellipsis;
  pointer-events: none;
}
.ft-assignee-chip--empty { color: #6f6f6f; border-style: dashed; background: transparent; }

/* Dropdown panel */
.ft-assignee-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 260px;
  z-index: 500;
  background: #1b1b1b;
  border: 1px solid #3a3a3a;
  border-radius: 10px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.55);
  overflow: hidden;
}

.ft-assignee-dropdown__search-wrap {
  padding: 0.6rem 0.75rem 0.4rem;
  border-bottom: 1px solid #2b2b2b;
}
.ft-assignee-dropdown__search { width: 100%; font-size: 0.82rem; }

.ft-assignee-dropdown__list { max-height: 200px; overflow-y: auto; padding: 0.4rem 0; }

.ft-assignee-dropdown__option {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 0.75rem;
  cursor: pointer;
  user-select: none;
  transition: background 0.1s;
}
.ft-assignee-dropdown__option:hover { background: #2b2b2b; }

/* Custom checkbox */
.ft-assignee-dropdown__check {
  appearance: none;
  -webkit-appearance: none;
  width: 15px; height: 15px;
  border: 1.5px solid #6f6f6f !important;
  border-radius: 3px;
  background: transparent !important;
  flex-shrink: 0;
  position: relative;
  cursor: pointer;
}
.ft-assignee-dropdown__check:checked {
  background: #0f62fe !important;
  border-color: #0f62fe !important;
}
.ft-assignee-dropdown__check:checked::after {
  content: '';
  position: absolute;
  left: 3px; top: 0;
  width: 5px; height: 9px;
  border: 2px solid #fff;
  border-top: none; border-left: none;
  transform: rotate(45deg);
}

/* Avatar circle */
.ft-assignee-dropdown__avatar {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: #0f62fe33;
  border: 1px solid #0f62fe66;
  color: #78a9ff;
  font-size: 0.7rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.ft-assignee-dropdown__label {
  font-size: 0.82rem; color: #f4f4f4;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* Footer */
.ft-assignee-dropdown__footer {
  display: flex; justify-content: flex-end; gap: 0.5rem;
  padding: 0.6rem 0.75rem;
  border-top: 1px solid #2b2b2b;
}
.ft-assignee-dropdown__cancel {
  padding: 0.3rem 0.75rem; border-radius: 6px;
  border: 1px solid #3a3a3a; background: transparent;
  color: #c6c6c6; font-size: 0.8rem; cursor: pointer;
}
.ft-assignee-dropdown__cancel:hover { background: #2b2b2b; }
.ft-assignee-dropdown__save {
  padding: 0.3rem 0.85rem; border-radius: 6px;
  border: 1px solid #0f62fe; background: #0f62fe;
  color: #fff; font-size: 0.8rem; font-weight: 600; cursor: pointer;
}
.ft-assignee-dropdown__save:hover { background: #0353e9; }

/* Make table cells not clip the dropdown */
.bx--data-table td { overflow: visible !important; position: relative; }
.bx--data-table tbody { overflow: visible !important; }
.bx--data-table { overflow: visible !important; }
.bx--data-table thead { position: relative; z-index: 1; }

/* Use fixed positioning for the dropdown so table clipping can't affect it */
.ft-assignee-dropdown {
  position: fixed !important;
  z-index: 9999 !important;
}

/* ── Quick-add form ── */
.ft-kanban__quickadd {
  display: none;
  padding: .55rem .65rem;
  background: #111;
  border-bottom: 1px solid #1a1a1a;
  animation: qa-slide-in .12s ease;
}
.ft-kanban__quickadd.is-open { display: block; }

@keyframes qa-slide-in {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

.ft-quickadd-input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: #f4f4f4;
  font-size: .85rem;
  padding: .25rem 0;
  caret-color: var(--ft-accent);
}
.ft-quickadd-input::placeholder { color: #3a3a3a; }

.ft-quickadd-hint {
  font-size: .68rem;
  color: #3a3a3a;
  margin-top: .35rem;
  display: flex;
  align-items: center;
  gap: .4rem;
  flex-wrap: wrap;
}
.ft-quickadd-hint kbd {
  background: #1e1e1e;
  border: 1px solid #333;
  border-radius: 3px;
  padding: .05rem .3rem;
  font-size: .65rem;
  color: #666;
  font-family: inherit;
}
.ft-quickadd-cancel {
  background: none;
  border: none;
  color: #444;
  cursor: pointer;
  font-size: .68rem;
  padding: 0;
}
.ft-quickadd-cancel:hover { color: #888; }

/* ── Save toast ── */
.ft-kanban-toast {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background: #1e1e1e;
  border: 1px solid #2f2f2f;
  border-radius: 8px;
  padding: .55rem 1rem;
  font-size: .8rem;
  color: #f4f4f4;
  display: flex;
  align-items: center;
  gap: .5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,.5);
  z-index: 9999;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .2s, transform .2s;
  pointer-events: none;
}
.ft-kanban-toast.show {
  opacity: 1;
  transform: translateY(0);
}
.ft-kanban-toast__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #24a148;
  flex-shrink: 0;
}