
.tasks-sheet-body[data-v-91c7f9e6] {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 8px 0;
}
.tasks-sheet-field[data-v-91c7f9e6] {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.tasks-sheet-label[data-v-91c7f9e6] {
  font-size: 12px;
  font-weight: 600;
  color: #374151;
}
.tasks-sheet-row[data-v-91c7f9e6] {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.tasks-sheet-footer[data-v-91c7f9e6] {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 12px 0;
}
@media (max-width: 768px) {
.tasks-sheet-row[data-v-91c7f9e6] {
    grid-template-columns: 1fr;
}
}

.tasks-view-list[data-v-8ebbddc6] {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tasks-list-card[data-v-8ebbddc6] {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.tasks-list-pagination[data-v-8ebbddc6] {
  padding: 12px 16px;
  border-top: 1px solid #e5e7eb;
  display: flex;
  justify-content: center;
}
.tasks-dots-btn[data-v-8ebbddc6] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  border-radius: 6px;
  cursor: pointer;
  color: #6b7280;
  transition: background 0.15s, color 0.15s;
}
.tasks-dots-btn[data-v-8ebbddc6]:hover {
  background: #f3f4f6;
  color: #111827;
}
.tasks-dropdown-sep[data-v-8ebbddc6] {
  height: 1px;
  background: #e5e7eb;
  margin: 4px 0;
  width: 100%;
  pointer-events: none;
}
.tasks-cell-truncate[data-v-8ebbddc6] {
  display: block;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tasks-type-tag[data-v-8ebbddc6] {
  display: inline-block;
  background: #eef2ff;
  color: #3730a3;
  border-radius: 999px;
  padding: 2px 10px;
  font-size: 12px;
  font-weight: 500;
}
.tasks-status-badge[data-v-8ebbddc6] {
  display: inline-block;
  border-radius: 999px;
  padding: 2px 10px;
  font-size: 12px;
  font-weight: 600;
}
.tasks-priority-badge[data-v-8ebbddc6] {
  display: inline-block;
  border-radius: 999px;
  padding: 2px 10px;
  font-size: 12px;
  font-weight: 600;
}
.tasks-status-badge--pending[data-v-8ebbddc6] { background: rgba(255, 193, 7, 0.12); color: #FFC107;
}
.tasks-status-badge--done[data-v-8ebbddc6] { background: rgba(76, 175, 80, 0.12); color: #4CAF50;
}
.tasks-status-badge--cancelled[data-v-8ebbddc6] { background: rgba(255, 152, 0, 0.12); color: #FF9800;
}
.tasks-status-badge--expired[data-v-8ebbddc6] { background: rgba(244, 67, 54, 0.12); color: #F44336;
}
.tasks-priority-badge--low[data-v-8ebbddc6] { background: #E8F5E9; color: #2E7D32;
}
.tasks-priority-badge--medium[data-v-8ebbddc6] { background: #FFF8E1; color: #F9A825;
}
.tasks-priority-badge--high[data-v-8ebbddc6] { background: #FFF3E0; color: #E65100;
}
.tasks-priority-badge--critical[data-v-8ebbddc6] { background: #FFEBEE; color: #C62828;
}
.tasks-row-actions[data-v-8ebbddc6] {
  display: flex;
  align-items: center;
}
.tasks-dots-spinner[data-v-8ebbddc6] {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid #d1d5db;
  border-top-color: #6b7280;
  border-radius: 50%;
  animation: tasks-spin-8ebbddc6 0.6s linear infinite;
}
@keyframes tasks-spin-8ebbddc6 {
to { transform: rotate(360deg);
}
}

/* ── Variables ── */
.task-calendar[data-v-91e67de8] {
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --text-primary: #1e293b;
  --text-secondary: #64748b;
  --text-muted: #94a3b8;
  --border-color: #e2e8f0;
  --priority-low: #4CAF50;
  --priority-medium: #FFC107;
  --priority-high: #FF9800;
  --priority-critical: #F44336;
  --accent-blue: #3b82f6;
  --accent-blue-light: #dbeafe;
  --accent-red: #ef4444;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  --radius: 8px;

  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text-primary);
  line-height: 1.5;

  /* padding-inner(48) + título(32) + header-row(72) + gap(12) */
  height: calc(100vh - 100px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* ── Month Navigation ── */
.month-nav[data-v-91e67de8] {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-bottom: none;
  border-radius: var(--radius) var(--radius) 0 0;
}
.nav-btn[data-v-91e67de8] {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  color: var(--text-secondary);
  transition: background 0.2s ease, color 0.2s ease;
}
.nav-btn[data-v-91e67de8]:hover {
  background: var(--bg-secondary);
  color: var(--text-primary);
}
.nav-btn[data-v-91e67de8]:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.current-month[data-v-91e67de8] {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
}
.calendar-loading[data-v-91e67de8] {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
  color: var(--text-secondary);
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-top: none;
  border-radius: 0 0 var(--radius) var(--radius);
}

/* ── Calendar Container ── */
.calendar-container[data-v-91e67de8] {
  display: flex;
  flex: 1;
  min-height: 0;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 0 0 var(--radius) var(--radius);
  overflow: hidden;
}
.calendar-main[data-v-91e67de8] {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* ── Calendar Grid ── */
.calendar-grid[data-v-91e67de8] {
  display: grid;
  flex: 1;
  min-height: 0;
  grid-template-columns: repeat(7, 1fr);
  grid-template-rows: repeat(6, 1fr);
}
.calendar-cell[data-v-91e67de8] {
  padding: 10px 8px 38px;
  border-right: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-primary);
  position: relative;
  cursor: pointer;
  overflow: hidden;
  transition: background 0.15s ease;
}
.calendar-cell[data-v-91e67de8]:hover {
  background: var(--bg-secondary);
}
.calendar-cell.has-expired[data-v-91e67de8] {
  border-color: #fecaca;
  background: #fef2f2;
}
.calendar-cell[data-v-91e67de8]:nth-child(7n) {
  border-right: none;
}
.calendar-cell.other-month[data-v-91e67de8] {
  background: var(--bg-secondary);
}
.calendar-cell.other-month .day-number[data-v-91e67de8] {
  color: var(--text-muted);
}
.calendar-cell.today[data-v-91e67de8] {
  background: var(--accent-blue-light);
}
.calendar-cell.drag-over[data-v-91e67de8] {
  background: var(--accent-blue-light);
  box-shadow: inset 0 0 0 2px var(--accent-blue);
}

/* ── Weekday Name ── */
.weekday-name[data-v-91e67de8] {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 4px;
}
.weekday-name .short[data-v-91e67de8] {
  display: none;
}
.weekday-name .full[data-v-91e67de8] {
  display: inline;
}

/* ── Day Number ── */
.day-number[data-v-91e67de8] {
  position: absolute;
  bottom: 8px;
  right: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
}

/* ── Tasks Container ── */
.tasks-container[data-v-91e67de8] {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-height: 120px;
  overflow: hidden;
}

/* ── Task Cards ── */
.task-card[data-v-91e67de8] {
  padding: 5px 8px;
  border-radius: 8px;
  cursor: grab;
  transition: background-color 0.12s ease, transform 0.1s ease, box-shadow 0.1s ease;
}
.task-card[data-v-91e67de8]:active {
  cursor: grabbing;
}
.task-card[data-v-91e67de8]:hover {
  background-color: rgba(66, 133, 244, 0.12);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}
.task-card-content[data-v-91e67de8] {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
}
.task-priority-dot[data-v-91e67de8] {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.task-time[data-v-91e67de8] {
  font-size: 11px;
  color: var(--text-secondary);
  flex-shrink: 0;
}
.task-title[data-v-91e67de8] {
  font-size: 12px;
  color: #111827;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.task-time.is-completed[data-v-91e67de8],
.task-title.is-completed[data-v-91e67de8] {
  color: var(--text-muted);
  opacity: 0.55;
}
.view-more[data-v-91e67de8] {
  font-size: 12px;
  color: var(--accent-blue);
  cursor: pointer;
  padding: 2px 0;
}
.view-more[data-v-91e67de8]:hover {
  text-decoration: underline;
}


/* ── Day Tasks Modal (DTM) ── */
.dtm-fade-enter-active[data-v-91e67de8],
.dtm-fade-leave-active[data-v-91e67de8] {
  transition: opacity 0.2s ease;
}
.dtm-fade-enter[data-v-91e67de8],
.dtm-fade-leave-to[data-v-91e67de8] {
  opacity: 0;
}
.dtm-overlay[data-v-91e67de8] {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1rem;
}
.dtm-container[data-v-91e67de8] {
  width: 100%;
  display: flex;
  flex-direction: column;
}
@keyframes dtm-slide-in-91e67de8 {
from { transform: translateY(-12px) scale(0.97); opacity: 0;
}
to   { transform: translateY(0) scale(1); opacity: 1;
}
}
.dtm-summary[data-v-91e67de8] {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 4px 0 16px;
}
.dtm-badge[data-v-91e67de8] {
  flex-shrink: 0;
}
.dtm-badge-icon-circle[data-v-91e67de8] {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb, #4f46e5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.4);
}
.dtm-badge-count[data-v-91e67de8] {
  margin-top: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #e5edff;
  color: #1d4ed8;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-align: left;
  display: inline-block;
}
.dtm-header-text[data-v-91e67de8] {
  flex: 1;
  min-width: 0;
}
.dtm-subtitle[data-v-91e67de8] {
  font-size: 13px;
  color: #6b7280;
  margin-top: 0;
}
.dtm-close[data-v-91e67de8] {
  flex-shrink: 0;
  background: none;
  border: none;
  padding: 6px;
  border-radius: 6px;
  cursor: pointer;
  color: #9ca3af;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, color 0.15s;
}
.dtm-close[data-v-91e67de8]:hover {
  background: #f3f4f6;
  color: #111827;
}
.dtm-divider[data-v-91e67de8] {
  height: 1px;
  background: #e5e7eb;
  margin: 0;
}
.dtm-list[data-v-91e67de8] {
  flex: 1;
  overflow-y: auto;
  max-height: min(420px, 55vh);
  padding: 12px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.dtm-list[data-v-91e67de8]::-webkit-scrollbar { width: 5px;
}
.dtm-list[data-v-91e67de8]::-webkit-scrollbar-track { background: transparent;
}
.dtm-list[data-v-91e67de8]::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 3px;
}
.dtm-item[data-v-91e67de8] {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 12px 14px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.dtm-item[data-v-91e67de8]:hover {
  background: #f0f4ff;
  border-color: #c7d7fd;
}
.dtm-item-dot[data-v-91e67de8] {
  flex-shrink: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  margin-top: 5px;
}
.dtm-item-body[data-v-91e67de8] {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.dtm-item-title[data-v-91e67de8] {
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dtm-item-meta[data-v-91e67de8] {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: #6b7280;
  font-weight: 500;
}
.dtm-item-title.is-completed[data-v-91e67de8],
.dtm-item-meta.is-completed[data-v-91e67de8] {
  color: var(--text-muted);
  opacity: 0.55;
}
.dtm-meta-icon[data-v-91e67de8] {
  display: inline-flex;
  align-items: center;
  color: #9ca3af;
}
.dtm-meta-icon--tag[data-v-91e67de8] {
  margin-left: 6px;
}
.dtm-meta-time[data-v-91e67de8] {
  letter-spacing: 0.01em;
}
.dtm-meta-type[data-v-91e67de8] {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 11px;
  font-weight: 600;
  color: #6b7280;
}
.dtm-empty[data-v-91e67de8] {
  font-size: 13px;
  color: #9ca3af;
  text-align: center;
  padding: 32px 0;
}
.dtm-overflow-notice[data-v-91e67de8] {
  margin-top: 12px;
  padding: 8px 12px;
  border-radius: 8px;
  background: #fefce8;
  border: 1px solid #fde68a;
  font-size: 12px;
  color: #92400e;
  text-align: center;
}

/* ── Priority Legend ── */
.priority-legend[data-v-91e67de8] {
  width: 52px;
  border-left: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  padding: 16px 8px;
  gap: 16px;
}
.legend-item[data-v-91e67de8] {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.legend-color[data-v-91e67de8] {
  width: 12px;
  height: 12px;
  border-radius: 2px;
  flex-shrink: 0;
}
.legend-color.critical[data-v-91e67de8],
.task-priority-dot.priority-critical[data-v-91e67de8],
.dtm-item-dot.priority-critical[data-v-91e67de8] {
  background: var(--priority-critical);
}
.legend-color.high[data-v-91e67de8],
.task-priority-dot.priority-high[data-v-91e67de8],
.dtm-item-dot.priority-high[data-v-91e67de8] {
  background: var(--priority-high);
}
.legend-color.medium[data-v-91e67de8],
.task-priority-dot.priority-medium[data-v-91e67de8],
.dtm-item-dot.priority-medium[data-v-91e67de8] {
  background: var(--priority-medium);
}
.legend-color.low[data-v-91e67de8],
.task-priority-dot.priority-low[data-v-91e67de8],
.dtm-item-dot.priority-low[data-v-91e67de8] {
  background: var(--priority-low);
}
.legend-text[data-v-91e67de8] {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 11px;
  color: var(--text-muted);
  white-space: nowrap;
}

/* ── Responsive ── */
@media (max-width: 900px) {
.calendar-cell[data-v-91e67de8] {
    padding: 6px;
}
.weekday-name[data-v-91e67de8] {
    font-size: 11px;
}
.task-card[data-v-91e67de8] {
    font-size: 11px;
    padding: 4px 6px;
}
.priority-legend[data-v-91e67de8] {
    display: none;
}
}
@media (max-width: 600px) {
.weekday-name .full[data-v-91e67de8] {
    display: none;
}
.weekday-name .short[data-v-91e67de8] {
    display: inline;
}
.weekday-name[data-v-91e67de8] {
    font-size: 9px;
}
.calendar-cell[data-v-91e67de8] {
    padding: 4px;
}
.day-number[data-v-91e67de8] {
    font-size: 11px;
    bottom: 3px;
    right: 4px;
}
.tasks-container[data-v-91e67de8] {
    max-height: 35px;
}
.task-card[data-v-91e67de8] {
    font-size: 9px;
    padding: 2px 4px;
}
.view-more[data-v-91e67de8] {
    font-size: 9px;
}
}

/* ============================= */
/* WRAPPER                       */
/* ============================= */
.th-wrapper[data-v-e9ac375c] {
  background: white;
  border-bottom: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 0;
}
.th-board-title[data-v-e9ac375c] {
  color: #000000;
  font-size: 18px;
  font-weight: 600;
  padding: 10px 20px 0;
}

/* ============================= */
/* HEADER ROW                    */
/* ============================= */
.th-header-row[data-v-e9ac375c] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  gap: 16px;
  min-height: 52px;
}
.th-header-left[data-v-e9ac375c] {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
}
.th-header-right[data-v-e9ac375c] {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* ============================= */
/* SEPARATOR                     */
/* ============================= */
.th-separator[data-v-e9ac375c] {
  width: 1px;
  height: 22px;
  background: #e5e7eb;
  flex-shrink: 0;
  margin: 0 4px;
}

/* ============================= */
/* FILTER BUTTON ACTIVE STATE    */
/* ============================= */
.th-filter-active[data-v-e9ac375c] {
  background: #3b82f6 !important;
  border-color: #2563eb !important;
  color: white !important;
}
.th-filter-active[data-v-e9ac375c]:hover {
  background: #2563eb !important;
}

/* ============================= */
/* VIEW MODE TOGGLE              */
/* ============================= */
.th-view-toggle[data-v-e9ac375c] {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 12px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: white;
  color: #475569;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.th-view-toggle[data-v-e9ac375c]:hover {
  background: #f8fafc;
  border-color: #d1d5db;
}
.th-view-toggle.open[data-v-e9ac375c] {
  border-color: #3b82f6;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
}
.th-chevron[data-v-e9ac375c] {
  transition: transform 0.2s ease;
  color: #94a3b8;
}
.th-chevron.rotated[data-v-e9ac375c] {
  transform: rotate(180deg);
}

/* ============================= */
/* STAGE TABS (DUE FILTERS)      */
/* ============================= */
.th-stage-tabs[data-v-e9ac375c] {
  display: flex;
  align-items: center;
  gap: 6px;
}
.th-stage-tab[data-v-e9ac375c] {
  padding: 6px 14px;
  border: none;
  background: transparent;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  color: #64748b;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.th-stage-tab[data-v-e9ac375c]:hover {
  background: #f1f5f9;
  color: #334155;
}
.th-stage-tab.active[data-v-e9ac375c] {
  background: #2563eb;
  color: white;
}
.th-stage-tab.active[data-v-e9ac375c]:hover {
  background: #1d4ed8;
}

/* ============================= */
/* RECORDS COUNT BADGE           */
/* ============================= */
.th-records-count[data-v-e9ac375c] {
  display: inline-block;
  background-color: #e9ecef;
  color: #6c757d;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 8px;
  font-weight: 500;
}

/* ============================= */
/* SEARCH CONTAINER              */
/* ============================= */
.th-search-container[data-v-e9ac375c] {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 180px;
  max-width: 240px;
}

/* ============================= */
/* RESPONSIVE                    */
/* ============================= */
@media (max-width: 1024px) {
.th-header-row[data-v-e9ac375c] {
    flex-wrap: wrap;
    gap: 10px;
}
.th-header-left[data-v-e9ac375c] {
    flex-wrap: wrap;
    gap: 6px;
}
.th-stage-tabs[data-v-e9ac375c] {
    flex-wrap: wrap;
}
}
@media (max-width: 768px) {
.th-header-row[data-v-e9ac375c] {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 12px 16px;
}
.th-header-left[data-v-e9ac375c] {
    flex-wrap: wrap;
    justify-content: flex-start;
}
.th-header-right[data-v-e9ac375c] {
    width: 100%;
}
.th-search-container[data-v-e9ac375c] {
    flex: 1;
    max-width: none;
}
.th-separator[data-v-e9ac375c] {
    display: none;
}
.th-stage-tabs[data-v-e9ac375c] {
    flex-wrap: wrap;
    gap: 4px;
}
.th-stage-tab[data-v-e9ac375c] {
    padding: 5px 10px;
    font-size: 12px;
}
}
@media (max-width: 480px) {
.th-view-toggle span[data-v-e9ac375c] {
    display: none;
}
}

.tasks-page[data-v-d5a1c915] {
  padding: 0 8px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
