/* ============================================================
   TareasApp - Planificación / Carta Gantt
   Complementa css/custom2.css sin reemplazar el estilo principal.
   ============================================================ */

.planner-main{
  max-width: none;
}

:root{
  --gantt-label-width: 360px;
  --gantt-day-width: 38px;
  --gantt-head-height: 58px;
  --gantt-row-height: 42px;
}

.planner-header{
  align-items: center;
}

.planner-toolbar-grid{
  display: grid;
  grid-template-columns: minmax(320px, 1fr) 220px 230px;
  gap: 12px;
  align-items: end;
}

.task-context-card{
  padding-bottom: 14px;
}

.task-context-actions{
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.context-pill{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #eef6ff;
  border: 1px solid #bfdbfe;
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.context-pill-soft{
  background: #f8fafc;
  border-color: var(--line);
  color: var(--text-2);
}

.task-context-description{
  margin: 12px 0 0;
  color: var(--text-2);
  line-height: 1.5;
}

.empty-plan-state{
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px;
}

.empty-plan-icon{
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  font-size: 24px;
  box-shadow: 0 14px 30px rgba(37,99,235,.22);
  flex: 0 0 auto;
}

.empty-plan-state h3{
  margin: 0;
  font-size: 17px;
  font-weight: 800;
}

.empty-plan-state p{
  margin: 5px 0 0;
  color: var(--text-2);
}

.empty-plan-state .btn{
  margin-left: auto;
  white-space: nowrap;
}

.plan-summary-section .form-label,
.planner-edit-section .form-label{
  font-size: 12px;
  font-weight: 800;
  color: var(--text);
}

.planner-layout{
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: stretch;
}

.planner-left-column,
.planner-right-column{
  min-width: 0;
}

.planner-edit-section{
  padding-bottom: 14px;
}

.compact-table-wrap{
  border: 1px solid var(--line-2);
  border-radius: 14px;
  overflow-x: auto;
}

.planner-table{
  min-width: 840px;
}

.planner-table textarea,
.planner-table input,
.planner-table select{
  font-size: 12px;
}

.planner-table textarea{
  min-height: 36px;
  resize: vertical;
}

.planner-table .row-title-input{
  font-weight: 800;
}

.planner-table .row-description-input{
  margin-top: 6px;
}

.row-number-badge{
  width: 26px;
  height: 26px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: #f1f5f9;
  color: var(--text-2);
  font-size: 11px;
  font-weight: 800;
}

.btn-icon-sm{
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
}

.gantt-section{
  position: relative;
  top: auto;
  padding-bottom: 14px;
}

.gantt-tools{
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.gantt-legend{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 9px 10px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: #f8fafc;
  margin-bottom: 10px;
  color: var(--text-2);
  font-size: 12px;
  font-weight: 700;
}

.legend-dot{
  width: 10px;
  height: 10px;
  display: inline-block;
  border-radius: 50%;
  margin-right: 5px;
  vertical-align: -1px;
}

.legend-process{
  background: #2563eb;
}

.legend-hito{
  background: #16a34a;
}

.legend-line{
  display: inline-block;
  width: 18px;
  height: 2px;
  margin-right: 5px;
  background: #ef4444;
  vertical-align: 3px;
}

.gantt-shell-box{
  display: grid;
  grid-template-columns: var(--gantt-label-width) minmax(0, 1fr);
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
}

.gantt-label-column{
  border-right: 1px solid var(--line);
  background: #f8fafc;
  min-height: 0;
}

.gantt-label-head{
  height: var(--gantt-head-height);
  display: flex;
  align-items: center;
  padding: 0 12px;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-2);
  font-weight: 800;
}

.gantt-label-row{
  height: var(--gantt-row-height);
  padding: 7px 10px;
  border-bottom: 1px solid var(--line-2);
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.gantt-label-row.is-process{
  background: #eef6ff;
}

.gantt-label-row.is-hito{
  background: #fff;
}

.gantt-label-type{
  width: 22px;
  height: 22px;
  border-radius: 7px;
  display: inline-grid;
  place-items: center;
  font-size: 12px;
  flex: 0 0 auto;
}

.gantt-label-row.is-process .gantt-label-type{
  background: #dbeafe;
  color: #1d4ed8;
}

.gantt-label-row.is-hito .gantt-label-type{
  background: #dcfce7;
  color: #15803d;
}

.gantt-label-text{
  font-size: 12px;
  font-weight: 800;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gantt-scroll-area{
  overflow-x: auto;
  overflow-y: hidden;
  position: relative;
  min-height: 0;
  background: #fff;
}

.gantt-canvas{
  position: relative;
  min-width: 100%;
  min-height: 100%;
}

.gantt-scale{
  height: var(--gantt-head-height);
  display: flex;
  position: sticky;
  top: 0;
  z-index: 3;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.gantt-day{
  width: var(--gantt-day-width);
  flex: 0 0 var(--gantt-day-width);
  border-right: 1px solid var(--line-2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: var(--text-2);
  font-weight: 800;
  font-size: 11px;
}

.gantt-day.is-weekend{
  background: #f8fafc;
}

.gantt-day.is-today{
  background: #fff1f2;
  color: #be123c;
}

.gantt-day .day-week{
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-3);
}

.gantt-day .day-month{
  font-size: 10px;
  color: var(--text-3);
}

.gantt-body{
  position: relative;
}

.gantt-row{
  position: relative;
  height: var(--gantt-row-height);
  border-bottom: 1px solid var(--line-2);
  background-image: linear-gradient(to right, transparent calc(var(--gantt-day-width) - 1px), var(--line-2) var(--gantt-day-width));
  background-size: var(--gantt-day-width) 100%;
}

.gantt-row.is-process{
  background-color: #fbfdff;
}

.gantt-row.is-hito{
  background-color: #fff;
}

.gantt-row.is-empty::after{
  content: "Sin fechas";
  position: absolute;
  left: 12px;
  top: 10px;
  color: var(--text-3);
  font-size: 12px;
  font-weight: 700;
}

.gantt-today-line{
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #ef4444;
  z-index: 2;
  pointer-events: none;
  opacity: .85;
}

.gantt-bar{
  position: absolute;
  top: max(5px, calc((var(--gantt-row-height) - 26px) / 2));
  height: min(28px, calc(var(--gantt-row-height) - 12px));
  border-radius: 999px;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  padding: 0 10px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  box-shadow: 0 8px 18px rgba(15,23,42,.16);
  cursor: grab;
  z-index: 4;
}

.gantt-bar:active{
  cursor: grabbing;
}

.gantt-bar.is-process{
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

.gantt-bar.is-hito{
  background: linear-gradient(135deg, #16a34a, #15803d);
}

.gantt-bar.ui-resizable-resizing,
.gantt-bar.ui-draggable-dragging{
  opacity: .88;
  z-index: 10;
}

.gantt-bar .ui-resizable-e{
  right: 2px;
  width: 10px;
  cursor: ew-resize;
}

.gantt-bar .ui-resizable-e::after{
  content: "";
  position: absolute;
  top: 6px;
  right: 3px;
  width: 2px;
  height: 14px;
  border-radius: 99px;
  background: rgba(255,255,255,.75);
}


/* La línea de tiempo crece con todos los procesos e hitos.
   Solo queda scroll horizontal; el scroll vertical lo maneja la página. */
.gantt-section .gantt-shell-box,
.gantt-section .gantt-label-column,
.gantt-section .gantt-scroll-area,
.gantt-section .gantt-canvas{
  box-sizing: border-box;
}

.source-choice-box{
  padding: 14px;
  background: #f8fafc;
  border: 1px solid var(--line-2);
  border-radius: 16px;
}

.source-choice-head h6{
  margin: 0;
  font-size: 15px;
  font-weight: 800;
}

.source-choice-head p{
  margin: 4px 0 12px;
  color: var(--text-2);
  font-size: 12px;
}

.source-card{
  min-height: 112px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  cursor: pointer;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.source-card:hover{
  border-color: #bfdbfe;
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}

.source-card .form-check-input{
  margin-top: 3px;
}

.source-card-icon{
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #eef6ff;
  color: #1d4ed8;
  font-size: 17px;
  flex: 0 0 auto;
}

.source-card strong{
  display: block;
  margin-bottom: 4px;
  color: var(--text);
  font-size: 13px;
}

.source-card small{
  display: block;
  color: var(--text-2);
  line-height: 1.35;
}

.dirty-indicator{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #c2410c;
  font-size: 11px;
  font-weight: 800;
}


/* ============================================================
   Ajustes v4: sidebar colapsable, secciones encogibles y zoom Gantt
   ============================================================ */

.sidebar-collapse-btn{
  width: 100%;
  min-height: 38px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 11px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.07);
  color: rgba(255,255,255,.86);
  font-size: 12px;
  font-weight: 800;
  transition: .18s ease;
}

.sidebar-collapse-btn:hover{
  background: rgba(255,255,255,.12);
  color: #fff;
}

.sidebar-collapse-btn i{
  font-size: 16px;
}

body.sidebar-collapsed .workspace-sidebar{
  width: 88px;
  padding-left: 12px;
  padding-right: 12px;
}

body.sidebar-collapsed .brand-block{
  justify-content: center;
  padding-left: 0;
  padding-right: 0;
}

body.sidebar-collapsed .brand-copy,
body.sidebar-collapsed .nav-link-side span,
body.sidebar-collapsed .sidebar-collapse-btn span,
body.sidebar-collapsed .user-card-copy,
body.sidebar-collapsed .btn-logout-side{
  display: none;
}

body.sidebar-collapsed .nav-link-side{
  justify-content: center;
  padding: 12px;
}

body.sidebar-collapsed .nav-link-side i{
  font-size: 17px;
}

body.sidebar-collapsed .sidebar-collapse-btn{
  justify-content: center;
  padding: 9px;
}

body.sidebar-collapsed .sidebar-bottom{
  display: flex;
  flex-direction: column;
  align-items: center;
}

body.sidebar-collapsed .user-card-side{
  margin-bottom: 12px;
}

.section-actions{
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.collapsible-head{
  margin-bottom: 12px;
}

.planner-edit-section.is-collapsed{
  padding-bottom: 10px;
}

.planner-edit-section.is-collapsed .section-body{
  display: none;
}

.planner-edit-section.is-collapsed .section-head{
  margin-bottom: 0;
}

.planner-edit-section.is-collapsed .btn-toggle-section i{
  transform: rotate(180deg);
}

.btn-toggle-section{
  border-color: var(--line);
  color: var(--text-2);
  font-weight: 800;
}

.btn-toggle-section:hover{
  border-color: #bfdbfe;
  color: #1d4ed8;
  background: #eef6ff;
}

.drag-row-handle{
  width: 24px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 4px;
  border-radius: 8px;
  color: var(--text-3);
  cursor: grab;
}

.drag-row-handle:hover{
  background: #eef6ff;
  color: #1d4ed8;
}

.ui-sortable-helper{
  display: table;
  background: #fff;
  box-shadow: var(--shadow-lg);
}

.sortable-placeholder{
  height: 46px;
  background: #eff6ff !important;
  border: 1px dashed #93c5fd;
}

.gantt-zoom-control{
  height: 32px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.gantt-zoom-control .btn-zoom{
  width: 28px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 9px;
}

.gantt-zoom-control input{
  width: 62px;
  height: 26px;
  padding: 2px 6px;
  text-align: center;
  border: 0;
  box-shadow: none;
  font-size: 12px;
  font-weight: 800;
  color: var(--text);
}

.gantt-zoom-control input:focus{
  box-shadow: none;
  background: #f8fafc;
}

.zoom-percent{
  padding-right: 4px;
  color: var(--text-2);
  font-size: 12px;
  font-weight: 800;
}

.gantt-shell-box{
  width: 100%;
}

.gantt-canvas{
  --gantt-current-day-width: var(--gantt-day-width);
}

@media (max-width: 1320px){
  .gantt-section{
    position: relative;
    top: auto;
  }
}

@media (max-width: 920px){
  .planner-toolbar-grid{
    grid-template-columns: 1fr;
  }

  .empty-plan-state{
    align-items: flex-start;
    flex-direction: column;
  }

  .empty-plan-state .btn{
    margin-left: 0;
  }

  :root{
    --gantt-label-width: 240px;
  }
}

/* ============================================================
   Ajustes v5: doble click en hitos sin fecha, fines de semana,
   avance automático/manual y guardado rápido junto al Gantt
   ============================================================ */

.gantt-title-block{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.btn-gantt-save-inline{
  font-weight: 800;
  border-radius: 11px;
  box-shadow: 0 8px 18px rgba(37,99,235,.18);
}

.gantt-day.is-weekend{
  background:
    repeating-linear-gradient(to bottom, rgba(14,165,233,.10) 0, rgba(14,165,233,.10) 2px, rgba(224,242,254,.42) 2px, rgba(224,242,254,.42) 8px),
    #eff9ff;
  color: #0369a1;
}

.gantt-weekend-band{
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 1;
  pointer-events: none;
  background:
    repeating-linear-gradient(to bottom, rgba(14,165,233,.11) 0, rgba(14,165,233,.11) 1px, rgba(224,242,254,.24) 1px, rgba(224,242,254,.24) 8px),
    rgba(224,242,254,.34);
  border-left: 1px solid rgba(125,211,252,.20);
  border-right: 1px solid rgba(125,211,252,.20);
}

.gantt-row.is-hito.is-empty{
  cursor: crosshair;
}

.gantt-row.is-hito.is-empty::after{
  content: "Sin fechas · doble click en un día";
  color: #64748b;
}

.gantt-row.is-process.is-empty::after{
  content: "Sin fechas";
}

.gantt-today-line{
  z-index: 3;
}

.gantt-bar{
  z-index: 5;
}

.avance-cell{
  display: grid;
  grid-template-columns: 1fr 78px;
  gap: 6px;
  align-items: center;
}

.avance-mode-select,
.avance-number-input{
  font-weight: 800;
}

.avance-input-wrap{
  display: flex;
  align-items: center;
  gap: 4px;
}

.avance-input-wrap span{
  font-size: 12px;
  color: var(--text-2);
  font-weight: 800;
}

.avance-number-input[readonly]{
  background: #eef6ff;
  color: #1d4ed8;
  cursor: not-allowed;
}

@media (max-width: 920px){
  .gantt-title-block{
    width: 100%;
  }

  .btn-gantt-save-inline{
    width: 100%;
  }

  .avance-cell{
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   Ajustes v6: ordenamiento de hitos en línea de tiempo,
   fechas automáticas de procesos y edición rápida de avance
   ============================================================ */

.gantt-label-row.is-proceso,
.gantt-label-row.is-process{
  background: #eef6ff;
}

.gantt-label-row.is-proceso .gantt-label-type,
.gantt-label-row.is-process .gantt-label-type{
  background: #dbeafe;
  color: #1d4ed8;
}

.gantt-row.is-proceso,
.gantt-row.is-process{
  background-color: #fbfdff;
}

.gantt-bar.is-proceso,
.gantt-bar.is-process{
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

.gantt-process-group,
.gantt-hito-list{
  min-width: 0;
}

.gantt-label-drag-handle{
  width: 18px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  color: #94a3b8;
  cursor: grab;
  flex: 0 0 auto;
}

.gantt-label-drag-handle:hover{
  color: #1d4ed8;
  background: #dbeafe;
}

.gantt-label-progress{
  margin-left: auto;
  padding: 2px 7px;
  border-radius: 999px;
  border: 1px solid #bbf7d0;
  background: #f0fdf4;
  color: #15803d;
  font-size: 10px;
  font-weight: 900;
  flex: 0 0 auto;
}

.gantt-sortable-placeholder{
  height: var(--gantt-row-height);
  background: #eff6ff !important;
  border: 1px dashed #60a5fa;
  border-radius: 10px;
}

.gantt-bar{
  gap: 8px;
}

.gantt-bar-title{
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gantt-avance-chip{
  margin-left: auto;
  border: 1px solid rgba(255,255,255,.55);
  background: rgba(255,255,255,.18);
  color: #fff;
  border-radius: 999px;
  padding: 2px 7px;
  font-size: 10px;
  line-height: 1.2;
  font-weight: 900;
  cursor: pointer;
  flex: 0 0 auto;
}

.gantt-avance-chip:hover{
  background: rgba(255,255,255,.32);
}

.gantt-bar.is-auto-process{
  cursor: default;
}

.auto-date-input[readonly]{
  background: #f8fafc;
  color: #475569;
  cursor: not-allowed;
}

.auto-date-caption{
  display: block;
  margin-top: 3px;
  color: #64748b;
  font-size: 10px;
  font-weight: 800;
}


/* v10 - alineación visual de barras Gantt */
.gantt-bar.is-hito{
  justify-content: center;
  padding: 0 6px;
}

.gantt-bar.is-process,
.gantt-bar.is-proceso{
  justify-content: center;
  padding: 0 14px;
}

.gantt-bar.is-process .gantt-bar-title,
.gantt-bar.is-proceso .gantt-bar-title{
  display: block;
  width: 100%;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gantt-avance-chip{
  margin-left: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  max-width: calc(100% - 8px);
  padding: 3px 9px;
  text-align: center;
}

.gantt-bar.is-hito .gantt-avance-chip{
  position: relative;
  left: 0;
  transform: none;
}


/* v14 - selector de usuario para planificación compartida */
.planner-user-panel{
  gap: 14px;
}

.planner-user-current{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--border-color, #d7e3f4);
  border-radius: 999px;
  background: #f8fbff;
  color: #0f2a56;
  font-size: 0.88rem;
  font-weight: 700;
}

.user-current-label{
  color: #5b6f91;
  font-weight: 600;
}

.user-current-email{
  color: #2563eb;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.planner-user-list{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px;
  margin-top: 4px;
}

.usuario-planificacion-card{
  border: 1px solid #d7e3f4;
  border-radius: 18px;
  padding: 12px 14px;
  background: #ffffff;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  transition: all 0.18s ease;
  min-height: 66px;
}

.usuario-planificacion-card:hover{
  border-color: #8db4ff;
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(37, 99, 235, 0.10);
}

.usuario-planificacion-card.active{
  border-color: #2563eb;
  background: linear-gradient(135deg, #eff6ff 0%, #ffffff 72%);
  box-shadow: 0 18px 38px rgba(37, 99, 235, 0.16);
}

.usuario-planificacion-main{
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.usuario-planificacion-icon{
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eaf1ff;
  color: #2563eb;
  font-size: 1rem;
}

.usuario-planificacion-card.active .usuario-planificacion-icon{
  background: #2563eb;
  color: #ffffff;
}

.usuario-planificacion-email{
  color: #061b3f;
  font-weight: 800;
  font-size: 0.94rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.usuario-planificacion-meta{
  color: #6b7d99;
  font-size: 0.78rem;
  margin-top: 2px;
}

.usuario-planificacion-check{
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #2563eb;
  background: #eff6ff;
  border: 1px solid #bfd3ff;
}

.usuario-planificacion-card:not(.active) .usuario-planificacion-check{
  opacity: 0;
}


/* v15 - selector de usuario por perfil */
.planner-user-panel{
  align-items: flex-start;
  gap: 16px;
}

.planner-user-select-wrap{
  width: 100%;
  display: grid;
  grid-template-columns: minmax(280px, 560px) minmax(260px, 1fr);
  gap: 14px;
  align-items: end;
}

.planner-user-select-field{
  min-width: 0;
}

.planner-user-select-field .field-with-icon{
  position: relative;
}

.planner-user-select-field .field-with-icon > i{
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #2563eb;
  z-index: 2;
}

.planner-user-select-field .form-select{
  min-height: 48px;
  border-radius: 16px;
  border-color: #d7e3f4;
  padding-left: 44px;
  font-weight: 700;
  color: #0f2a56;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.04);
}

.planner-user-select-field .form-select:disabled{
  background-color: #f3f7fd;
  color: #64748b;
  cursor: not-allowed;
}

.planner-user-select-field .form-select.is-admin-enabled{
  border-color: #9bbcff;
  background-color: #ffffff;
}

.planner-user-current{
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid var(--border-color, #d7e3f4);
  border-radius: 16px;
  background: #f8fbff;
  color: #0f2a56;
  font-size: 0.88rem;
  font-weight: 700;
}

.user-current-separator{
  color: #9aa9bd;
  font-weight: 900;
}

@media (max-width: 992px){
  .planner-user-select-wrap{
    grid-template-columns: 1fr;
  }
}

/* v16 - hitos Gantt sin porcentaje interno: la barra verde queda libre para arrastrar/redimensionar */
.gantt-bar.is-hito{
  padding-left: 8px;
  padding-right: 8px;
}
