:root {
  --bg: #f2f5f9;
  --panel: #ffffff;
  --ink: #1c2331;
  --muted: #6c7a90;
  --accent: #1c7ed6;
  --accent-strong: #0b5fa8;
  --line: #e2e9f2;
  --nav: #f7fbff;
  --nav-border: #d8e6f7;
  --shadow: 0 18px 45px rgba(25, 46, 88, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Calibri", "Tahoma", sans-serif;
  background: linear-gradient(180deg, #edf4ff 0%, var(--bg) 50%, #f6f8fb 100%);
  color: var(--ink);
}

.topbar {
  background: #0a63b4;
  color: white;
  padding: 12px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 12px 30px rgba(10, 99, 180, 0.25);
  position: relative;
  z-index: 2000;
  overflow: visible;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 18px;
  height: 38px;
  background: #ffffff;
  border-radius: 9px;
}

.brand-title {
  font-size: 20px;
  font-weight: 700;
}

.brand-subtitle {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.top-search {
  border-radius: 999px;
  border: none;
  padding: 8px 16px;
  width: 240px;
  font-size: 13px;
}

.top-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ffffff;
  color: #0a63b4;
  display: grid;
  place-items: center;
  justify-items: center;
  align-items: center;
  font-weight: 700;
  font-size: 12px;
  line-height: 1;
  text-align: center;
  border: none;
  padding: 0;
  cursor: pointer;
}

.top-avatar:hover,
.top-avatar:focus,
.top-avatar:focus-visible,
.top-avatar:active {
  background: #ffffff;
  color: #0a63b4;
  box-shadow: none;
  outline: none;
}

.user-menu {
  position: relative;
  z-index: 2100;
}

.user-dropdown {
  position: absolute;
  right: 0;
  top: 40px;
  background: white;
  border: 1px solid #d8e6f7;
  border-radius: 10px;
  padding: 8px;
  min-width: 160px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  display: none;
  z-index: 2200;
}

.user-dropdown a {
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  text-decoration: none;
  color: #0c355d;
}

.user-dropdown-name {
  padding: 8px 10px;
  font-size: 12px;
  color: #6c7a90;
  border-bottom: 1px solid #e5edf7;
  margin-bottom: 6px;
}

.user-dropdown a:hover {
  background: #eef5ff;
}

.user-dropdown.is-open {
  display: block;
}

.user-logout-form {
  margin: 0;
}

.user-logout-button {
  width: 100%;
  text-align: left;
  padding: 8px 10px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: #0c355d;
  font: inherit;
  cursor: pointer;
}

.user-logout-button:hover {
  background: #eef5ff;
}

.shell {
  display: grid;
  grid-template-columns: 160px 1fr;
  min-height: calc(100vh - 64px);
}

.plan-fullscreen .shell {
  grid-template-columns: 1fr;
  min-height: 100vh;
}

.plan-fullscreen .sidebar {
  display: none;
}

.plan-fullscreen .topbar {
  display: none;
}

.sidebar {
  background: var(--nav);
  border-right: 1px solid var(--nav-border);
  padding: 18px 10px;
}

.side-nav {
  display: grid;
  gap: 8px;
}

.side-nav a {
  text-decoration: none;
  color: #0c355d;
  padding: 8px 6px;
  border-radius: 10px;
  font-size: 14px;
}

.side-nav a:hover {
  background: #e2f0ff;
  color: var(--accent-strong);
}

.page {
  padding: 26px 32px 60px;
  max-width: 1200px;
}

.page.page-wide {
  max-width: none;
}

.page.plan-fullscreen {
  padding: 16px 20px 24px;
}

.page.plan-fullscreen .card {
  margin-bottom: 0;
}

.settings-card {
  max-width: 30%;
}

.login-wrap {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.login-card {
  width: min(420px, 100%);
}

@media (max-width: 980px) {
  .settings-card {
    max-width: 100%;
  }
}

.page-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.page-title {
  font-size: 22px;
  font-weight: 600;
}

.page-subtitle {
  color: var(--muted);
  font-size: 13px;
}

.page-actions button {
  background: #6cb33f;
}

.page-actions button:hover {
  background: #57992f;
}

.page-actions {
  margin-left: auto;
}

.kpi-card {
  background: #f7fbff;
  border: 1px solid #d6e6f8;
}

.kpi-header {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
}

.kpi {
  background: white;
  border-radius: 12px;
  border: 1px solid var(--line);
  padding: 12px 14px;
}

.kpi-label {
  font-size: 12px;
  color: var(--muted);
}

.kpi-value {
  font-size: 20px;
  font-weight: 600;
  margin-top: 4px;
}

.tab-card {
  padding: 0;
  margin-bottom: 18px;
}

.tab-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  border-bottom: 1px solid var(--line);
}

.tab {
  padding: 14px 18px;
  font-size: 14px;
  color: var(--muted);
  border-right: 1px solid var(--line);
  background: #f7fbff;
  text-decoration: none;
}

.tab:last-child {
  border-right: none;
}

.tab.active {
  background: #0a63b4;
  color: white;
  font-weight: 600;
}

.tab-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #bb1e1e;
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
}

.tab-kpis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  padding: 18px;
  background: #f7fbff;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.card {
  background: var(--panel);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 18px 20px;
  border: 1px solid var(--line);
  margin-bottom: 18px;
}

.card.has-plus {
  position: relative;
  padding-bottom: 64px;
}

.card-plus {
  position: absolute;
  right: 16px;
  bottom: 16px;
  box-shadow: none;
}

.card h2 {
  margin-top: 0;
  font-size: 20px;
}

.section-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 12px;
}


.section-title.plan-header-row {
  align-items: center;
}

.plan-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.plan-header-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.plan-unlinked-link {
  color: #bb1e1e;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.plan-unlinked-link:hover {
  text-decoration: underline;
}

.plan-unlinked-link.is-hidden {
  display: none;
}













































































































































.gantt-canvas .vis-panel.vis-center {
  z-index: 20;
}

















































.alert.is-hidden {
  display: none;
}























.pill-danger {
  background: #ffe7e7;
  color: #b62525;
  border: 1px solid #f2b9b9;
}







#wbBulkBar {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  width: min(900px, calc(100% - 32px));
  z-index: 200;
  box-shadow: 0 10px 24px rgba(19, 37, 66, 0.15);
}





































.btn-danger {
  background: #b62525;
  color: #ffffff;
}

.btn-danger:hover {
  background: #9b1e1e;
}
























.section-left {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.project-member-summary {
  display: none;
}

#projectMemberModal.is-plan .project-member-summary {
  display: block;
}

.project-member-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 160px;
  overflow: auto;
  padding: 6px 8px;
  border: 1px solid #e3eaf5;
  border-radius: 8px;
  background: #f8fbff;
}

.project-member-item {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  color: #2c3a4b;
}

.project-member-role {
  color: var(--muted);
}

.member-alloc-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}

.member-alloc-item {
  padding: 8px 10px;
  border: 1px solid #e3eaf5;
  border-radius: 8px;
  background: #f8fbff;
}

.member-alloc-range {
  font-size: 12px;
  color: #2c3a4b;
}

.section-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.table th,
.table td {
  text-align: left;
  padding: 10px;
  border-bottom: 1px solid var(--line);
}

.table th {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--muted);
  background: #f5f8fc;
}

.table-group-row td {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--muted);
  background: #f8fafc;
  border-top: 1px solid var(--line);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.form-grid.form-grid-stack {
  grid-template-columns: 1fr;
}

.project-settings-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 1100px) {
  .project-settings-grid {
    grid-template-columns: 1fr;
  }
}

.card-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  background: #fff7ef;
  border-radius: 12px;
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
  font-size: 14px;
}

.card-link:hover {
  border-color: var(--accent);
  color: var(--accent-strong);
}

label {
  font-size: 13px;
  color: var(--muted);
}

input,
select,
textarea {
  width: 100%;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid var(--line);
  font-family: inherit;
  font-size: 14px;
}

#wbImportText {
  resize: vertical;
}

button {
  background: var(--accent);
  color: white;
  border: none;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 14px;
  cursor: pointer;
}

button:hover {
  background: var(--accent-strong);
}

.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--accent);
  color: white;
  text-decoration: none;
  font-size: 14px;
}

.button-link:hover {
  background: var(--accent-strong);
}

.alert {
  margin-top: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  background: #eef5ff;
  border: 1px solid #bfd8f4;
  color: #1b4d7a;
  font-size: 13px;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(16, 27, 40, 0.35);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
}

.modal-backdrop.is-open {
  display: flex;
}

.modal {
  background: white;
  border-radius: 14px;
  width: min(520px, 92vw);
  box-shadow: 0 20px 40px rgba(16, 27, 40, 0.25);
  border: 1px solid #dce7f5;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-wide {
  width: min(960px, 96vw);
  max-width: 960px;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}

.modal-title {
  font-size: 16px;
  font-weight: 600;
}

.modal-close {
  background: transparent;
  border: none;
  font-size: 16px;
  cursor: pointer;
  color: var(--muted);
}

.modal-body {
  padding: 16px 18px 18px;
  display: grid;
  gap: 12px;
}

.modal-row {
  display: grid;
  gap: 6px;
}

.checkbox-row {
  display: grid;
  grid-template-columns: 140px auto;
  align-items: center;
  gap: 12px;
}

.modal-label {
  font-size: 12px;
  color: var(--muted);
}

.modal-checklist {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 2px 0;
}

.modal-checklist label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #1f2a37;
}

.modal-checklist input[type="checkbox"],
.modal-checklist input[type="radio"] {
  width: 14px;
  min-width: 14px;
  height: 14px;
  margin: 0;
  padding: 0;
  flex: 0 0 14px;
}

.modal-checklist .helper {
  font-size: 11px;
  color: var(--muted);
}

.modal-section {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  background: #f7fbff;
}

.modal-section summary {
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: #0c355d;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 8px;
}

.btn-secondary {
  background: #eef2f7;
  color: #2b3a4b;
}

.btn-secondary:hover {
  background: #dce6f3;
}

.helper {
  font-size: 13px;
  color: var(--muted);
}

.table-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.search-input {
  width: 240px;
}

.filter-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.search-left {
  width: 220px;
}

.filter-select {
  width: 110px;
}

.select-search {
  position: relative;
}

.select-hidden {
  display: none;
}

.select-list {
  position: absolute;
  top: 38px;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #d8e6f7;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  max-height: 220px;
  overflow: auto;
  display: none;
  z-index: 20;
}

.select-list.is-open {
  display: block;
}

.select-item {
  width: 100%;
  text-align: left;
  padding: 8px 10px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 14px;
  color: #0c355d;
}

.select-item:hover {
  background: #eef5ff;
}

.pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 12px;
  background: #eef5ff;
  color: #1b4d7a;
  font-size: 12px;
}

.split {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 18px;
}

.wide-split {
  grid-template-columns: 2.5fr 1fr;
}

.inline-form .form-grid {
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.stack {
  display: grid;
  gap: 16px;
}

@media (max-width: 980px) {
  .shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: sticky;
    top: 0;
    z-index: 10;
  }
}

@media (max-width: 720px) {
  .top-actions {
    width: 100%;
    justify-content: space-between;
  }

  .top-search {
    width: 100%;
    max-width: 220px;
  }

  .split {
    grid-template-columns: 1fr;
  }
}
.table-actions-col {
  width: 90px;
  text-align: right;
}

.icon-button {
  border: 1px solid #c9d8ea;
  background: #f2f6fb;
  color: #1d2e46;
  width: 30px;
  height: 30px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin-left: 6px;
  cursor: pointer;
}

.icon-button svg {
  width: 16px;
  height: 16px;
  fill: currentColor !important;
  stroke: currentColor !important;
  display: block;
}

.icon-button.danger {
  border-color: #e08f8f;
  background: #fff1f1;
  color: #b62525;
}

.icon-button-plain {
  border-color: transparent;
  background: transparent;
}

.icon-button.danger.icon-button-plain {
  border-color: transparent;
  background: transparent;
}

.inline-actions {
  display: inline-flex;
  align-items: center;
}

.subtabs {
  display: inline-flex;
  gap: 8px;
  margin: 12px 0;
  background: #f3f7fd;
  border-radius: 999px;
  padding: 4px;
}

.subtab {
  border: none;
  background: transparent;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  color: #28527a;
  cursor: pointer;
}

.subtab.is-active {
  background: #0a63b4;
  color: white;
  font-weight: 600;
}

.subtab-panel {
  display: none;
}

.subtab-panel.is-active {
  display: block;
}
.is-hidden {
  display: none;
}

.is-visible {
  display: grid;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  margin-top: 14px;
}

.page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid #d6e2f0;
  background: #f7fbff;
  color: #0c355d;
  text-decoration: none;
  font-size: 13px;
}

.page-btn.is-active {
  background: #0a63b4;
  color: white;
  border-color: #0a63b4;
}

.draggable-row {
  cursor: grab;
}

.draggable-row.is-dragging {
  opacity: 0.6;
}

.draggable-row.drag-over {
  outline: 2px dashed #a4c2f4;
  outline-offset: -4px;
}

.drag-handle {
  cursor: grab;
}

.table-total td {
  font-weight: 600;
  background: #f7fbff;
}

.timeline {
  display: grid;
  gap: 12px;
}

.timeline-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.timeline-title {
  font-weight: 600;
  font-size: 14px;
  color: #0c355d;
}

.timeline-controls {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.timeline-zoom {
  display: inline-flex;
  background: #eef5ff;
  border-radius: 999px;
  padding: 4px;
  gap: 4px;
}




.zoom-btn {
  border: none;
  background: transparent;
  color: #0c355d;
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
}

.zoom-btn.is-active {
  background: #0a63b4;
  color: white;
}

.timeline-body {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.timeline-left {
  background: #f7fbff;
  border-right: 1px solid var(--line);
}

.timeline-left-header {
  padding: 10px 12px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

.timeline-left-row {
  padding: 0 12px;
  height: 44px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.timeline-left-row.is-allocation {
  color: #1d2e46;
}

.timeline-right {
  position: relative;
}

.timeline-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  position: relative;
  padding-bottom: 8px;
}

.timeline-months {
  display: flex;
  position: sticky;
  top: 0;
  background: #f5f8fc;
  z-index: 2;
  border-bottom: 1px solid var(--line);
}

.timeline-month {
  font-size: 12px;
  color: var(--muted);
  padding: 8px 10px;
  border-right: 1px solid var(--line);
  text-transform: capitalize;
}

.timeline-grid {
  position: relative;
  min-width: calc(var(--day-width) * var(--day-count));
  background-image: linear-gradient(to right, rgba(214, 226, 240, 0.6) 1px, transparent 1px);
  background-size: calc(var(--day-width) * 7) 100%;
}

.timeline-row {
  position: relative;
  height: 44px;
  border-bottom: 1px solid var(--line);
}

.timeline-block {
  position: absolute;
  top: 8px;
  height: 28px;
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.timeline-block.is-phase {
  background: #d06464;
  color: white;
}

.timeline-block.is-allocation {
  background: #1c7ed6;
  color: white;
  height: 18px;
  top: 12px;
  font-size: 11px;
}

.gantt-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.gantt-title {
  font-weight: 600;
  font-size: 14px;
  color: #0c355d;
}

.gantt-controls {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.gantt-canvas {
  --plan-row-height: 46px;
  --axis-height: 69px;
  --axis-day-top: 46px;
  --phase-bar-height: clamp(26px, calc(var(--plan-row-height) - 10px), 120px);
  --allocation-bar-height: clamp(14px, calc(var(--plan-row-height) - 14px), 110px);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  height: calc(var(--rows, 6) * var(--plan-row-height) + var(--axis-height) + 18px);
  position: relative;
}

.gantt-canvas .vis-timeline {
  border: none;
  font-family: inherit;
}

.gantt-canvas .vis-labelset {
  display: none;
}

.gantt-canvas .vis-panel.vis-left {
  width: 0 !important;
}

.gantt-canvas .vis-panel.vis-center {
  left: 0 !important;
  top: var(--axis-height) !important;
  height: calc(var(--rows, 1) * var(--plan-row-height, 46px) + 18px) !important;
  z-index: 1;
  overflow: visible;
}


.gantt-canvas .vis-grid {
  z-index: 1;
}

.gantt-canvas .vis-background {
  z-index: 0;
}

.gantt-canvas .vis-foreground {
  z-index: 1;
}

.gantt-canvas .vis-itemset {
  z-index: 2;
  position: relative;
}

.gantt-canvas .vis-item {
  z-index: 3;
  position: absolute;
}

.gantt-canvas .vis-time-axis {
  z-index: 6;
}

.gantt-canvas .vis-content {
  top: 0;
}

.gantt-canvas .vis-panel.vis-center .vis-content,
.gantt-canvas .vis-itemset {
  overflow: hidden;
}

.gantt-canvas .vis-labelset .vis-label {
  background: #f7fbff;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: #1d2e46;
}

.gantt-canvas .vis-labelset .vis-inner {
  padding: 10px 12px;
}

.gantt-canvas .vis-time-axis .vis-grid.vis-minor {
  border-color: rgba(170, 182, 196, 0.6);
}

.gantt-canvas .vis-time-axis .vis-grid.vis-major {
  border-color: transparent;
  border-left-width: 0;
}

.gantt-canvas .vis-time-axis {
  position: relative;
  height: var(--axis-height);
  padding-top: 49px;
  overflow: visible;
}

.gantt-canvas .vis-time-axis.vis-foreground {
  height: var(--axis-height) !important;
}

.gantt-canvas .vis-current-time {
  z-index: 2;
  pointer-events: none;
}

.gantt-canvas .vis-panel.vis-background .vis-current-time {
  z-index: 3;
}

.gantt-canvas .vis-time-axis .vis-text.vis-major {
  display: none;
}

.gantt-canvas .vis-time-axis .vis-text.vis-minor {
  display: none;
}

.gantt-canvas .vis-item.item-phase {
    background: #5f6b7a;
    border-color: #4c5562;
    color: #ffffff;
  border-radius: 6px;
  height: var(--phase-bar-height) !important;
  top: calc((var(--plan-row-height, 46px) - var(--phase-bar-height)) / 2) !important;
  font-size: 12px;
}

.gantt-canvas .vis-item.item-phase .vis-item-content {
  position: relative;
  padding: 0 !important;
  height: 100%;
  display: flex;
  align-items: center;
}

.gantt-canvas .vis-item.item-phase .phase-label {
  position: relative;
  z-index: 2;
  padding: 0 6px;
  line-height: 1;
  pointer-events: none;
}

.gantt-canvas .vis-item.item-phase .phase-fill {
  position: absolute;
  inset: 0 auto 0 0;
  height: 100%;
  background: #3f4854;
  border-radius: 6px;
  z-index: 1;
  pointer-events: none;
}

.gantt-canvas .vis-item.item-phase .phase-over {
  position: absolute;
  inset: 0 0 0 auto;
  height: 100%;
  background: rgb(199, 40, 40);
  border-radius: 6px;
  z-index: 1;
  pointer-events: none;
}

.gantt-canvas .vis-item.item-allocation {
  background: #1c7ed6;
  border-color: #0b5fa8;
  color: #ffffff;
  border-radius: 6px;
  height: var(--allocation-bar-height) !important;
  top: calc((var(--plan-row-height, 46px) - var(--allocation-bar-height)) / 2) !important;
  font-size: 11px;
  overflow: visible;
}

.gantt-canvas .vis-item.item-allocation .vis-item-content {
  position: relative;
  padding: 0 !important;
  height: 100%;
  display: flex;
  align-items: center;
  overflow: hidden;
  width: 100%;
}

#projectTimeline .alloc-label {
  padding: 0 6px;
}

.gantt-canvas .vis-item.item-allocation .alloc-fill {
  position: absolute;
  inset: 0 auto 0 0;
  height: 100%;
  background: #07497f;
  border-radius: 6px;
  z-index: 1;
  pointer-events: none;
}

.gantt-canvas .vis-item.item-allocation .alloc-over {
  position: absolute;
  inset: 0 0 0 auto;
  height: 100%;
  background: rgb(199, 40, 40);
  border-radius: 6px;
  z-index: 1;
  pointer-events: none;
}

.gantt-canvas .vis-group {
    box-sizing: border-box;
    border-bottom: 1px solid var(--line);
    height: var(--plan-row-height, 44px) !important;
  }

.gantt-canvas .vis-itemset {
  position: relative;
}

.gantt-canvas .vis-item {
  margin: 0;
}

.gantt-canvas .vis-item {
  overflow: visible;
}

.gantt-canvas .vis-item.item-allocation .vis-item-content {
  position: relative;
  z-index: 3;
}

.gantt-canvas .vis-item.item-allocation .vis-drag-center,
.gantt-canvas .vis-item.item-allocation .vis-drag-left,
.gantt-canvas .vis-item.item-allocation .vis-drag-right {
  z-index: 6;
}

.gantt-canvas .vis-item.vis-selected {
  z-index: 10;
}

.gantt-canvas .vis-item .vis-delete {
  z-index: 20;
}

.gantt-canvas .vis-item .vis-delete,
.gantt-canvas .vis-item .vis-delete * {
  pointer-events: auto;
}

.gantt-canvas .vis-itemset,
.gantt-canvas .vis-content {
  min-height: calc(var(--rows, 1) * var(--plan-row-height, 46px) + 18px);
}

.gantt-canvas .vis-item-content {
  padding: 0 6px !important;
  line-height: 1 !important;
}

.plan-layout {
  --plan-row-height: 46px;
  --axis-height: 69px;
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 12px;
}

.plan-left {
  --plan-row-height: 46px;
  --axis-height: 69px;
  --plan-metrics-width: 56px;
  --plan-actions-width: 36px;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #f7fbff;
}

.plan-right {
  position: relative;
}

.plan-scale {
  position: absolute;
  top: 0;
  right: -26px;
  bottom: 0;
  height: 100%;
  width: 26px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: calc(var(--axis-height) + 24px);
  padding-bottom: 12px;
  box-sizing: border-box;
  pointer-events: auto;
  z-index: 5;
}

.plan-scale-input {
  width: 220px;
  height: 18px;
  transform: rotate(-90deg);
  transform-origin: top center;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  cursor: ns-resize;
  touch-action: none;
}

.plan-scale-input::-webkit-slider-runnable-track {
  width: 100%;
  height: 8px;
  background: #d7e2ef;
  border-radius: 999px;
}

.plan-scale-input::-moz-range-track {
  width: 100%;
  height: 8px;
  background: #d7e2ef;
  border-radius: 999px;
}

.plan-scale-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #0a63b4;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 6px rgba(12, 34, 64, 0.2);
  cursor: pointer;
}

.plan-scale-input::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #0a63b4;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 6px rgba(12, 34, 64, 0.2);
  cursor: pointer;
}

.plan-header {
  height: calc(var(--axis-height) + 1px);
  padding: 0 12px;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

.plan-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.plan-left .plan-header-row {
  display: grid;
  grid-template-columns: 18px 1fr var(--plan-metrics-width) var(--plan-actions-width);
  justify-content: initial;
  column-gap: 10px;
  align-items: center;
}

.plan-header-metrics {
  font-size: 11px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.plan-add-all {
  border: none;
  background: transparent;
  color: #0a63b4;
  border-radius: 0;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  justify-self: start;
  align-self: center;
  margin-left: 0;
}

.plan-add-all:hover {
  background: transparent;
}

.plan-add-all svg {
  width: 16px;
  height: 16px;
  display: block;
  transform: translateX(-4px);
}

.plan-header-adds {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0;
  width: var(--plan-actions-width);
  overflow: visible;
}

.plan-add-member {
  border: none;
  background: transparent;
  color: #f08c24;
  border-radius: 0;
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
}

.plan-add-member:hover {
  background: transparent;
}

.plan-add-member svg {
  width: 16px;
  height: 16px;
  display: block;
  transform: translateX(-3px);
}

.plan-rows {
  display: flex;
  flex-direction: column;
}

.plan-row {
  display: grid;
  grid-template-columns: 18px 1fr var(--plan-metrics-width) var(--plan-actions-width);
  align-items: center;
  column-gap: 10px;
  padding: 0 12px;
  height: var(--plan-row-height, 44px);
  box-sizing: border-box;
  border-bottom: 1px solid var(--line);
  background: #ffffff;
  font-size: 13px;
}

.plan-row.plan-phase {
  font-weight: 600;
  background: #eef5ff;
  cursor: grab;
}

.plan-row.plan-phase.is-dragging {
  opacity: 0.6;
}

.plan-row.plan-member {
  padding-left: 0;
  font-weight: 500;
}

.plan-row.plan-member .plan-label {
  padding-left: 0;
}

.plan-toggle-spacer {
  width: 18px;
  height: 18px;
  display: inline-block;
}

.plan-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1px;
  width: var(--plan-actions-width);
  position: relative;
  overflow: visible;
}

.plan-actions .inline-form {
  margin-left: 0;
  display: inline-flex;
  align-items: center;
}

.plan-metrics {
  font-size: 11px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  text-align: right;
  white-space: nowrap;
  width: 100%;
  display: block;
  justify-self: end;
}

.plan-metrics-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  position: relative;
  padding-left: 14px;
  margin-right: 6px;
  padding-right: 0;
  width: 100%;
  box-sizing: border-box;
}

.plan-metrics.is-over,
.plan-header-metrics.is-over {
  color: #c0392b;
  font-weight: 600;
}

.overview-metrics.is-over,
.overview-total-metrics.is-over {
  color: #c0392b;
  font-weight: 600;
}

.plan-action-spacer {
  width: 22px;
  height: 22px;
}

.plan-actions .plan-remove {
  margin-left: 0;
}

.plan-phase.is-closed .plan-label {
  color: #8f2d2d;
}

.plan-closed-badge {
  padding: 2px 6px;
  border-radius: 999px;
  background: #bb1e1e;
  color: #ffffff;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.2;
  display: inline-flex;
  align-items: center;
  position: absolute;
  top: -18px;
  left: 0;
  pointer-events: none;
}

.plan-phase:not(.is-closed) .plan-closed-badge {
  display: none;
}

.plan-more {
  position: absolute;
  right: -18px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  padding: 0;
  width: 20px;
  height: 20px;
  color: #2c3a4b;
  cursor: pointer;
}

.plan-more svg {
  width: 16px;
  height: 16px;
  display: block;
}

.plan-menu {
  position: absolute;
  right: -6px;
  top: calc(100% + 6px);
  min-width: 220px;
  background: #ffffff;
  border: 1px solid #d8e6f7;
  border-radius: 10px;
  box-shadow: 0 8px 18px rgba(12, 34, 64, 0.18);
  padding: 6px;
  display: none;
  z-index: 20;
}

.plan-menu.is-open {
  display: block;
}

.plan-menu-item {
  width: 100%;
  text-align: left;
  border: none;
  background: transparent;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 13px;
  color: #1d2e46;
  cursor: pointer;
}

.plan-menu-item:hover {
  background: #eef5ff;
  color: #0a63b4;
}

.plan-edit {
  background: transparent;
  border: none;
  width: 20px;
  height: 20px;
  padding: 0;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #2c3a4b;
}

.plan-edit svg {
  width: 16px;
  height: 16px;
  display: block;
}

.plan-remove {
  margin-left: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #bb1e1e;
  padding: 0;
}

.plan-edit:hover,
.plan-remove:hover {
  color: #0a63b4;
}

.plan-remove:hover,
.plan-remove:focus {
  background: transparent;
  box-shadow: none;
  outline: none;
}

.plan-remove svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  stroke: currentColor;
  display: block;
}

.gantt-canvas .vis-item.item-placeholder,
.gantt-canvas .vis-item.vis-background.item-placeholder,
.gantt-canvas .vis-item.item-placeholder .vis-item-content {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.gantt-canvas .vis-item.item-weekend {
  background: #eef1f4 !important;
  border: none !important;
}

.gantt-canvas .vis-item.item-holiday {
  background: transparent !important;
  border: none !important;
}

.gantt-canvas .weekend-overlay,
.gantt-canvas .holiday-overlay {
  position: absolute;
  top: var(--axis-height);
  left: 0;
  right: 0;
  height: calc(100% - var(--axis-height));
  pointer-events: none;
  z-index: 1;
}

.gantt-canvas .weekend-stripe {
  position: absolute;
  top: 0;
  bottom: 0;
  background: #eef1f4;
  border: none;
  box-sizing: border-box;
}

.gantt-canvas .holiday-stripe {
  position: absolute;
  top: 0;
  bottom: 0;
  background: repeating-linear-gradient(
    45deg,
    rgba(190, 198, 210, 0.55),
    rgba(190, 198, 210, 0.55) 6px,
    rgba(255, 255, 255, 0) 6px,
    rgba(255, 255, 255, 0) 12px
  );
}

.gantt-canvas .timeline-month-row {
  position: absolute;
  top: 4px;
  left: 0;
  right: 0;
  height: 22px;
  display: block;
  pointer-events: none;
  z-index: 7;
}

.gantt-canvas .timeline-month-block {
  position: absolute;
  top: 0;
  height: 20px;
  background: transparent;
  color: #2c3a4b;
  border-radius: 0;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gantt-canvas .timeline-week-row {
  position: absolute;
  top: 26px;
  left: 0;
  right: 0;
  height: 22px;
  display: block;
  pointer-events: none;
  z-index: 7;
}

.gantt-canvas .timeline-week-block {
  position: absolute;
  top: 0;
  height: 20px;
  background: #6f7784;
  color: #ffffff;
  border-radius: 0;
  padding: 2px 6px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gantt-canvas .vis-time-axis {
  position: relative;
}

.gantt-canvas .timeline-day-row {
  position: absolute;
  top: var(--axis-day-top);
  left: 0;
  right: 0;
  height: calc(var(--axis-height) - var(--axis-day-top));
  display: block;
  pointer-events: none;
  z-index: 5;
  background: transparent;
  overflow: visible;
}

.gantt-canvas .vis-panel.vis-top,
.gantt-canvas .vis-panel.vis-top .vis-content {
  overflow: visible;
}

.gantt-canvas .timeline-day-block {
  position: absolute;
  top: 0;
  height: 100%;
  background: transparent;
  color: #2c3a4b;
  border-radius: 0;
  padding: 0;
  font-size: 9px;
  font-weight: 600;
  white-space: nowrap;
  text-align: center;
  line-height: normal;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  font-variant-numeric: tabular-nums;
}

.gantt-canvas .timeline-day-block.is-weekend {
  background: #eef1f4;
}

.gantt-canvas .timeline-day-block.is-holiday {
  background: repeating-linear-gradient(
    45deg,
    rgba(190, 198, 210, 0.55),
    rgba(190, 198, 210, 0.55) 6px,
    rgba(255, 255, 255, 0) 6px,
    rgba(255, 255, 255, 0) 12px
  );
}

.gantt-canvas .timeline-month-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.gantt-canvas .timeline-month-overlay-grid {
  z-index: 0;
}

.gantt-canvas .timeline-month-overlay-axis {
  top: 0;
  left: 0;
  right: 0;
  height: var(--axis-height);
  z-index: 6;
}

.gantt-canvas .timeline-month-overlay-line {
  position: absolute;
  top: 0;
  width: 1px;
  height: 100%;
  background: rgba(90, 100, 115, 0.85);
  z-index: 0;
}

.gantt-canvas .vis-panel.vis-top .vis-content,
.gantt-canvas .vis-panel.vis-center .vis-content,
.gantt-canvas .vis-panel.vis-background .vis-background,
.gantt-canvas .vis-panel.vis-top .vis-background {
  position: relative;
}

.plan-row.plan-member-form {
  padding-left: 28px;
  background: #ffffff;
}

.plan-inline-form {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
}

.plan-input {
  height: 32px;
  padding: 6px 8px;
  font-size: 12px;
}

.plan-user {
  min-width: 130px;
}

.plan-date {
  width: 110px;
}

.plan-hours {
  width: 70px;
}

.plan-save {
  padding: 6px 12px;
  font-size: 12px;
}

.plan-label {
  flex: 1;
  min-width: 0;
}

.plan-phase-label {
  cursor: text;
  position: relative;
}

.plan-label-text {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  white-space: normal;
  width: 100%;
  max-width: 100%;
}

.plan-phase-label.is-editing {
  background: #fff6d4;
  border-radius: 4px;
  padding: 2px 4px;
  outline: 1px solid #f0c56d;
}

.plan-toggle {
  background: transparent;
  border: none;
  width: 24px;
  height: 24px;
  padding: 0;
  border-radius: 6px;
  cursor: pointer;
  color: #0c355d;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
  line-height: 0;
  text-indent: -9999px;
  overflow: hidden;
  position: relative;
}

#splitPhaseMemberButton {
  display: none;
}

.plan-toggle:hover {
  background: #dbe9fb;
}

.plan-toggle::before {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  display: block;
  transition: transform 0.15s ease-in-out;
}

.plan-toggle svg {
  display: none;
}

.plan-toggle.is-collapsed svg {
  transform: rotate(-90deg);
}

.plan-toggle.is-collapsed::before {
  transform: rotate(-45deg);
}

.plan-add {
  background: transparent;
  color: #0a63b4;
  border: none;
  border-radius: 0;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
}

.plan-add svg {
  width: 16px;
  height: 16px;
  display: block;
}

.plan-alert {
  position: absolute;
  left: -8px;
  top: -19px;
  border: none;
  background: transparent;
  color: #bb1e1e;
  width: 22px;
  height: 22px;
  padding: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex: 0 0 auto;
}

.plan-alert:hover {
  background: transparent;
}

.plan-alert svg {
  width: 16px;
  height: 16px;
  display: block;
  fill: currentColor;
  stroke: none;
}

.plan-alert-count {
  position: absolute;
  top: -4px;
  right: -6px;
  min-width: 14px;
  height: 14px;
  border-radius: 999px;
  background: transparent;
  color: #bb1e1e;
  font-size: 9px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

.plan-alert.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.plan-add:hover,
.plan-add:focus {
  background: transparent;
  box-shadow: none;
  outline: none;
}

.plan-footer {
  padding: 12px;
  border-top: 1px solid var(--line);
  background: #ffffff;
}

.plan-member.is-hidden {
  display: none;
}

.phase-add {
  position: relative;
}

.phase-add summary {
  list-style: none;
  cursor: pointer;
}

.phase-add summary::-webkit-details-marker {
  display: none;
}

.phase-form {
  margin-top: 10px;
  background: #f7fbff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  display: grid;
  gap: 10px;
  min-width: 260px;
}

.phase-actions {
  display: flex;
  justify-content: flex-end;
}

.field-error {
  color: #a83a3a;
  font-size: 12px;
}

.phase-list {
  margin-top: 16px;
  display: grid;
  gap: 10px;
}

.phase-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px 12px;
  background: #f9fbff;
}

.phase-item summary {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  list-style: none;
  font-weight: 600;
}

.phase-item summary::-webkit-details-marker {
  display: none;
}

.phase-name {
  font-size: 14px;
  color: #0c355d;
}

.phase-range {
  font-size: 12px;
  color: var(--muted);
}

.phase-content {
  margin-top: 12px;
  display: grid;
  gap: 14px;
}

.phase-members-title {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
}

.phase-member-form {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px;
}

.pill-warning {
  background: #fff3cd;
  color: #7a4a00;
  border: 1px solid #f0d8a8;
}















.flatpickr-calendar {
  z-index: 3000;
}





.gantt-canvas .vis-item.item-allocation .alloc-more {
  display: none;
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-size: 0;
  padding: 0;
  width: 14px;
  height: 18px;
  border-radius: 7px;
  cursor: pointer;
  z-index: 3;
  pointer-events: auto;
  place-content: center;
  gap: 2px;
}

.gantt-canvas .vis-item.item-allocation .alloc-more * {
  pointer-events: none;
}

.gantt-canvas .vis-item.item-allocation .alloc-more span {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #ffffff;
  display: block;
}

.gantt-canvas[data-range="year"] .alloc-more,
.gantt-canvas[data-range="month"] .alloc-more {
  display: none;
}

.gantt-canvas.range-wide .alloc-more {
  display: none !important;
}

.gantt-canvas .vis-item.item-allocation .vis-item-overflow {
  overflow: hidden;
}


.gantt-canvas .alloc-more-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 4;
}

.gantt-canvas .alloc-more-layer .alloc-more {
  display: grid;
  position: absolute;
  width: 14px;
  height: 18px;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border-radius: 7px;
  cursor: pointer;
  place-content: center;
  gap: 2px;
  pointer-events: auto;
  padding: 0;
}

.gantt-canvas .alloc-more-layer .alloc-more span {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #ffffff;
  display: block;
}

.gantt-canvas .vis-item.item-allocation .alloc-popup {
  position: absolute;
  right: 6px;
  top: calc(100% + 6px);
  min-width: 220px;
  max-width: 300px;
  max-height: 60vh;
  overflow-y: auto;
  background: #ffffff;
  border: 1px solid #d8e6f7;
  border-radius: 10px;
  box-shadow: 0 8px 18px rgba(12, 34, 64, 0.18);
  padding: 8px;
  z-index: 999;
  display: none;
  color: #1d2e46;
}

.gantt-canvas .alloc-popup-float {
  position: absolute;
  right: auto;
  top: auto;
  left: 0;
  z-index: 9999;
}

.gantt-canvas .vis-item.item-allocation .alloc-popup.is-open {
  display: block;
}

.alloc-popup-title {
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 6px;
}

.alloc-task {
  display: grid;
  gap: 2px;
  padding: 6px 8px;
  border-radius: 8px;
  border: 1px solid #eef2f7;
  background: #f8fbff;
  margin-bottom: 6px;
}

.alloc-task:last-child {
  margin-bottom: 0;
}

.alloc-task.is-done {
  opacity: 0.7;
}

.alloc-task-title {
  font-size: 12px;
  font-weight: 600;
}

.alloc-task-range {
  font-size: 11px;
  color: var(--muted);
}










.schedule-preview {
  display: grid;
  gap: 16px;
}

.schedule-preview-week {
  border: 1px solid #e5e9f0;
  border-radius: 12px;
  padding: 12px;
  background: #fff;
}

.schedule-preview-title {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 8px;
}

.schedule-preview-range {
  color: #6b7280;
  font-weight: 500;
}

.schedule-preview-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}

.schedule-preview-day {
  background: #f3f5f8;
  border-radius: 8px;
  padding: 6px 4px;
  text-align: center;
  font-size: 11px;
  color: #374151;
}

.schedule-preview-day.is-override {
  background: #dbeafe;
  color: #0f2f66;
  font-weight: 600;
}

.schedule-preview-day-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #6b7280;
}

.schedule-preview-day-value {
  margin-top: 2px;
  font-size: 12px;
}

.schedule-preview-overrides {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.schedule-preview-badge {
  background: #eef2ff;
  color: #3730a3;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 999px;
}

.schedule-preview-empty {
  margin-top: 8px;
  font-size: 11px;
  color: #6b7280;
}

.modal-list {
  margin: 10px 0 0;
  padding-left: 18px;
  color: #1f2937;
  font-size: 13px;
}

.profile-actions {
  text-align: right;
}


/* prj clone of wb styles */
