body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  margin: 0;
  color: #1f2933;
  background: #f8fafc;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: #1f2933;
  color: #fff;
}

.topbar h1 {
  font-size: 18px;
  margin: 0;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

main {
  padding: 20px;
}

.panel {
  max-width: 960px;
  margin: 0 auto;
}

#login-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 320px;
}

#login-form label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 14px;
}

.toolbar {
  display: flex;
  gap: 20px;
  margin-bottom: 12px;
}

.toolbar label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 14px;
}

.status {
  min-height: 20px;
  font-size: 14px;
  color: #52606d;
}

.status.error,
.error {
  color: #c0362c;
}

#gantt-target {
  overflow-x: auto;
  background: #fff;
  border: 1px solid #e4e7eb;
  border-radius: 4px;
}

.task-list-section {
  max-width: 960px;
  margin: 0 auto 20px;
}

.task-list-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.task-list-header h2 {
  font-size: 16px;
  margin: 0;
}

.manager-actions {
  display: flex;
  gap: 8px;
}

.task-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid #e4e7eb;
  border-radius: 4px;
  font-size: 14px;
}

.task-table th,
.task-table td {
  text-align: left;
  padding: 8px 10px;
  border-bottom: 1px solid #e4e7eb;
}

.task-table th {
  background: #f8fafc;
  color: #52606d;
  font-weight: 600;
}

.task-form-panel {
  background: #fff;
  border: 1px solid #e4e7eb;
  border-radius: 4px;
  padding: 16px 20px;
  margin-bottom: 20px;
}

.task-form-panel h2 {
  font-size: 16px;
  margin-top: 0;
}

#task-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 400px;
}

#task-form label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 14px;
}

.task-form-actions {
  display: flex;
  gap: 8px;
}
