.library-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.library-heading-actions { display: flex; align-items: center; gap: 7px; }


.library-heading h2 { margin: 3px 0 0; font-size: 22px; }

.task-count { background: #e8edf3; color: #435066; white-space: nowrap; }

.qualification-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin-top: 16px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #e8edf3;
}

.qualification-switch button {
  min-height: 44px;
  padding: 0 10px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #526075;
  font-size: 12px;
  font-weight: 900;
}

.qualification-switch button.active {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.18);
}

.task-search { display: block; margin: 10px 0 12px; }

.task-search input {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
}

.lane-list { display: grid; gap: 4px; }

.lane-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 38px;
  padding: 0 10px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #3f4c60;
  font-weight: 780;
  text-align: left;
}

.lane-button strong { color: #78869a; font-size: 12px; }
.lane-button.active { background: var(--teal-soft); color: #0b6358; }
.lane-button.active strong { color: #0b6358; }
.lane-button.existing { margin-top: 5px; border-top: 1px solid var(--line); border-radius: 0 0 7px 7px; }

.task-list { display: grid; gap: 7px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }

.task-button {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: start;
  gap: 9px;
  width: 100%;
  padding: 10px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  color: var(--ink);
  text-align: left;
}

.task-button.active { border-color: #a8d8cf; background: var(--surface); box-shadow: 0 5px 14px rgba(15, 23, 42, 0.06); }
.task-button strong { display: block; font-size: 13px; line-height: 1.25; }
.task-button small { display: block; margin-top: 3px; color: var(--muted); font-size: 11px; }
.task-code { display: grid; place-items: center; min-height: 32px; border-radius: 7px; background: #e9eef4; color: #334155; font-size: 12px; font-weight: 900; }
.task-button.active .task-code { background: var(--teal); color: white; }


.lane-icon {
  display: block;
  width: 24px;
  height: 24px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lane-label { display: flex; align-items: center; gap: 9px; min-width: 0; }
.lane-label .lane-icon { width: 19px; height: 19px; color: #718096; }
.lane-button { min-height: 44px; }
.lane-button.active .lane-icon { color: var(--teal); }

.task-button { min-height: 58px; }
.task-button small { line-height: 1.3; }
.task-button { text-decoration: none; min-height: 58px; }
